@bigfootai/bigfoot-types 4.7.33 → 4.7.35
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.
- package/model.ts +6 -0
- package/package.json +1 -1
package/model.ts
CHANGED
@@ -1096,6 +1096,11 @@ export class Recommendation extends SharedPrimitive implements BaseTask {
|
|
1096
1096
|
}
|
1097
1097
|
}
|
1098
1098
|
|
1099
|
+
export interface AccessTokenPair {
|
1100
|
+
accessToken: string;
|
1101
|
+
clientId?: string;
|
1102
|
+
}
|
1103
|
+
|
1099
1104
|
export const TenantQL = `
|
1100
1105
|
type Tenant {${PrimitiveFields}
|
1101
1106
|
domainMemberships: [String]!
|
@@ -1119,6 +1124,7 @@ export class Tenant extends Primitive {
|
|
1119
1124
|
accessToken?: string;
|
1120
1125
|
allowed: boolean; // Used to indicate if this user is allowed to access the application TODO take this out after private beta
|
1121
1126
|
access?: AccessType; // Optional flag to indicate the access level to a note - used currently for the Yjs integration
|
1127
|
+
accessTokens?: AccessTokenPair[];
|
1122
1128
|
|
1123
1129
|
constructor(
|
1124
1130
|
domainMemberships: string[],
|