@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.
@@ -541,7 +541,7 @@ export type EntityInvocationContext = Readonly<{
541
541
  resourceId: string;
542
542
  roles: readonly string[];
543
543
  scopes: readonly string[];
544
- teamIds: readonly string[];
544
+ groupIds: readonly string[];
545
545
  user: ApplicationUserIdentity;
546
546
  }>;
547
547
  export type ApplicationUserAuth = Readonly<{
@@ -550,7 +550,7 @@ export type ApplicationUserAuth = Readonly<{
550
550
  /** Returns null only when the request has no valid application session. */
551
551
  getSession: (request: Request) => Promise<ApplicationUserSession | null>;
552
552
  /** Server-only current CI authority. The host still owns resource/operation policy.
553
- * Null means no valid CI session or no current role/team policy supplied by CI.
553
+ * Null means no valid CI session or no current role/group policy supplied by CI.
554
554
  */
555
555
  getEntityContext: (request: Request, resourceId: string) => Promise<EntityInvocationContext | null>;
556
556
  /** Server-only Delegated access token. Absent for local application login. */