@collective-intelligence/external-apps-server-sdk 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ export type EntityInvocationContext = Readonly<{
29
29
  resourceId: string;
30
30
  roles: readonly string[];
31
31
  scopes: readonly string[];
32
- teamIds: readonly string[];
32
+ groupIds: readonly string[];
33
33
  user: ApplicationUserIdentity;
34
34
  }>;
35
35
  export type ApplicationUserAuth = Readonly<{
@@ -38,7 +38,7 @@ export type ApplicationUserAuth = Readonly<{
38
38
  /** Returns null only when the request has no valid application session. */
39
39
  getSession: (request: Request) => Promise<ApplicationUserSession | null>;
40
40
  /** Server-only current CI authority. The host still owns resource/operation policy.
41
- * Null means no valid CI session or no current role/team policy supplied by CI.
41
+ * Null means no valid CI session or no current role/group policy supplied by CI.
42
42
  */
43
43
  getEntityContext: (request: Request, resourceId: string) => Promise<EntityInvocationContext | null>;
44
44
  /** Server-only Delegated access token. Absent for local application login. */