weave-typescript 0.35.0 → 0.37.0
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/dist/weaveapi/auth/v1/auth.pb.d.ts +54 -0
- package/dist/weaveapi/auth/v1/auth.pb.js +963 -97
- package/dist/weaveapi/auth/v1/service.pb.d.ts +173 -1
- package/dist/weaveapi/auth/v1/service.pb.js +3029 -1493
- package/dist/weavesql/weavedb/auth_identity_sql.d.ts +207 -0
- package/dist/weavesql/weavedb/auth_identity_sql.js +448 -1
- package/package.json +1 -1
|
@@ -126,6 +126,17 @@ export interface AuthUser {
|
|
|
126
126
|
avatarUrl: string;
|
|
127
127
|
jobTitle: string;
|
|
128
128
|
theme: string;
|
|
129
|
+
defaultOrganizationId: string;
|
|
130
|
+
defaultOrganizationSlug: string;
|
|
131
|
+
lastOrganizationId: string;
|
|
132
|
+
lastOrganizationSlug: string;
|
|
133
|
+
organizationPagePositions: {
|
|
134
|
+
[key: string]: string;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
export interface AuthUser_OrganizationPagePositionsEntry {
|
|
138
|
+
key: string;
|
|
139
|
+
value: string;
|
|
129
140
|
}
|
|
130
141
|
export interface AuthOrganization {
|
|
131
142
|
id: string;
|
|
@@ -180,6 +191,24 @@ export interface UserProfile {
|
|
|
180
191
|
createdAt: Date | undefined;
|
|
181
192
|
updatedAt: Date | undefined;
|
|
182
193
|
}
|
|
194
|
+
export interface UserOrganizationPagePosition {
|
|
195
|
+
organizationSlug: string;
|
|
196
|
+
href: string;
|
|
197
|
+
}
|
|
198
|
+
export interface UserPreferences {
|
|
199
|
+
theme: string;
|
|
200
|
+
defaultOrganizationId: string;
|
|
201
|
+
defaultOrganizationSlug: string;
|
|
202
|
+
lastOrganizationId: string;
|
|
203
|
+
lastOrganizationSlug: string;
|
|
204
|
+
organizationPagePositions: {
|
|
205
|
+
[key: string]: string;
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
export interface UserPreferences_OrganizationPagePositionsEntry {
|
|
209
|
+
key: string;
|
|
210
|
+
value: string;
|
|
211
|
+
}
|
|
183
212
|
export interface OrganizationAuthSettings {
|
|
184
213
|
organizationId: string;
|
|
185
214
|
organizationSlug: string;
|
|
@@ -212,6 +241,25 @@ export interface OrganizationMember {
|
|
|
212
241
|
createdAt: Date | undefined;
|
|
213
242
|
updatedAt: Date | undefined;
|
|
214
243
|
}
|
|
244
|
+
export interface OrganizationTeam {
|
|
245
|
+
id: string;
|
|
246
|
+
organizationId: string;
|
|
247
|
+
slug: string;
|
|
248
|
+
name: string;
|
|
249
|
+
description: string;
|
|
250
|
+
roleIds: string[];
|
|
251
|
+
members: OrganizationTeamMember[];
|
|
252
|
+
createdAt: Date | undefined;
|
|
253
|
+
updatedAt: Date | undefined;
|
|
254
|
+
}
|
|
255
|
+
export interface OrganizationTeamMember {
|
|
256
|
+
organizationMembershipId: string;
|
|
257
|
+
userId: string;
|
|
258
|
+
email: string;
|
|
259
|
+
displayName: string;
|
|
260
|
+
avatarUrl: string;
|
|
261
|
+
status: MembershipStatus;
|
|
262
|
+
}
|
|
215
263
|
export interface RbacPolicySummary {
|
|
216
264
|
resources: RbacResource[];
|
|
217
265
|
roles: RbacRole[];
|
|
@@ -280,12 +328,18 @@ export interface SupportAccessSession {
|
|
|
280
328
|
}
|
|
281
329
|
export declare const AuthSession: MessageFns<AuthSession>;
|
|
282
330
|
export declare const AuthUser: MessageFns<AuthUser>;
|
|
331
|
+
export declare const AuthUser_OrganizationPagePositionsEntry: MessageFns<AuthUser_OrganizationPagePositionsEntry>;
|
|
283
332
|
export declare const AuthOrganization: MessageFns<AuthOrganization>;
|
|
284
333
|
export declare const DiscoveryOrganization: MessageFns<DiscoveryOrganization>;
|
|
285
334
|
export declare const InviteOnboardingState: MessageFns<InviteOnboardingState>;
|
|
286
335
|
export declare const UserProfile: MessageFns<UserProfile>;
|
|
336
|
+
export declare const UserOrganizationPagePosition: MessageFns<UserOrganizationPagePosition>;
|
|
337
|
+
export declare const UserPreferences: MessageFns<UserPreferences>;
|
|
338
|
+
export declare const UserPreferences_OrganizationPagePositionsEntry: MessageFns<UserPreferences_OrganizationPagePositionsEntry>;
|
|
287
339
|
export declare const OrganizationAuthSettings: MessageFns<OrganizationAuthSettings>;
|
|
288
340
|
export declare const OrganizationMember: MessageFns<OrganizationMember>;
|
|
341
|
+
export declare const OrganizationTeam: MessageFns<OrganizationTeam>;
|
|
342
|
+
export declare const OrganizationTeamMember: MessageFns<OrganizationTeamMember>;
|
|
289
343
|
export declare const RbacPolicySummary: MessageFns<RbacPolicySummary>;
|
|
290
344
|
export declare const RbacResource: MessageFns<RbacResource>;
|
|
291
345
|
export declare const RbacRole: MessageFns<RbacRole>;
|