From 7624e1deaf2c6e981610418f994478d794cdeaa9 Mon Sep 17 00:00:00 2001 From: Kelson Warner Date: Mon, 10 Jul 2023 11:34:02 -0700 Subject: [PATCH] feat: support groups and group properties on skylab user (#20) --- packages/node/src/types/user.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/node/src/types/user.ts b/packages/node/src/types/user.ts index 769ba7b..4b7d916 100644 --- a/packages/node/src/types/user.ts +++ b/packages/node/src/types/user.ts @@ -91,4 +91,20 @@ export type ExperimentUser = { | boolean | Array; }; + + groups?: { + [groupType: string]: string[]; + }; + + group_properties?: { + [groupType: string]: { + [groupName: string]: { + [propertyName: string]: + | string + | number + | boolean + | Array; + }; + }; + }; };