UNPKG

@grouparoo/core

Version:
39 lines (36 loc) 741 B
module.exports = async function getConfig() { return [ { id: "mod_profiles", class: "Model", name: "Profiles", type: "profile", }, { id: "group_exists", name: "People that exist", class: "Group", modelId: "mod_profiles", rules: [ { propertyId: "grouparooId", op: "exists", }, ], }, { id: "group_recent", name: "People that have been recently added", class: "Group", modelId: "mod_profiles", rules: [ { propertyId: "grouparooCreatedAt", op: "relative_gt", relativeMatchNumber: "8", relativeMatchUnit: "days", }, ], }, ]; };