Skip to content

Commit

Permalink
feat: support groups and group properties on skylab user (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsonpw authored Jul 10, 2023
1 parent b56a8c6 commit 7624e1d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/node/src/types/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,20 @@ export type ExperimentUser = {
| boolean
| Array<string | number | boolean>;
};

groups?: {
[groupType: string]: string[];
};

group_properties?: {
[groupType: string]: {
[groupName: string]: {
[propertyName: string]:
| string
| number
| boolean
| Array<string | number | boolean>;
};
};
};
};

0 comments on commit 7624e1d

Please sign in to comment.