@pairdraw/cloud 0.22.0 → 0.22.2
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/index.d.ts +1 -1
- package/dist/runtime-node.d.mts +8 -8
- package/dist/server.d.ts +83 -83
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -434,7 +434,7 @@ declare const enrollmentSchema: v.ObjectSchema<{
|
|
|
434
434
|
}, undefined>;
|
|
435
435
|
declare const enrollmentsResponseSchema: v.ObjectSchema<{
|
|
436
436
|
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
437
|
-
readonly counts: v.ObjectSchema<Record<"pending" | "
|
|
437
|
+
readonly counts: v.ObjectSchema<Record<"pending" | "approved" | "rejected" | "revoked", v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>, undefined>;
|
|
438
438
|
readonly enrollments: v.ArraySchema<v.ObjectSchema<{
|
|
439
439
|
readonly id: v.StringSchema<undefined>;
|
|
440
440
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
package/dist/runtime-node.d.mts
CHANGED
|
@@ -1906,7 +1906,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1906
1906
|
sessions: {
|
|
1907
1907
|
id: string;
|
|
1908
1908
|
current: boolean;
|
|
1909
|
-
method: "
|
|
1909
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
1910
1910
|
ipAddress: string | null;
|
|
1911
1911
|
browser: string | null;
|
|
1912
1912
|
system: string | null;
|
|
@@ -1996,7 +1996,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
1996
1996
|
output: {
|
|
1997
1997
|
signIns: {
|
|
1998
1998
|
id: string;
|
|
1999
|
-
method: "
|
|
1999
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
2000
2000
|
ipAddress: string | null;
|
|
2001
2001
|
browser: string | null;
|
|
2002
2002
|
system: string | null;
|
|
@@ -3103,7 +3103,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3103
3103
|
sessions: {
|
|
3104
3104
|
id: string;
|
|
3105
3105
|
current: boolean;
|
|
3106
|
-
method: "
|
|
3106
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
3107
3107
|
ipAddress: string | null;
|
|
3108
3108
|
browser: string | null;
|
|
3109
3109
|
system: string | null;
|
|
@@ -3113,7 +3113,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
3113
3113
|
}[];
|
|
3114
3114
|
signIns: {
|
|
3115
3115
|
id: string;
|
|
3116
|
-
method: "
|
|
3116
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
3117
3117
|
ipAddress: string | null;
|
|
3118
3118
|
browser: string | null;
|
|
3119
3119
|
system: string | null;
|
|
@@ -7542,7 +7542,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7542
7542
|
sessions: {
|
|
7543
7543
|
id: string;
|
|
7544
7544
|
current: boolean;
|
|
7545
|
-
method: "
|
|
7545
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
7546
7546
|
ipAddress: string | null;
|
|
7547
7547
|
browser: string | null;
|
|
7548
7548
|
system: string | null;
|
|
@@ -7632,7 +7632,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
7632
7632
|
output: {
|
|
7633
7633
|
signIns: {
|
|
7634
7634
|
id: string;
|
|
7635
|
-
method: "
|
|
7635
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
7636
7636
|
ipAddress: string | null;
|
|
7637
7637
|
browser: string | null;
|
|
7638
7638
|
system: string | null;
|
|
@@ -8739,7 +8739,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8739
8739
|
sessions: {
|
|
8740
8740
|
id: string;
|
|
8741
8741
|
current: boolean;
|
|
8742
|
-
method: "
|
|
8742
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
8743
8743
|
ipAddress: string | null;
|
|
8744
8744
|
browser: string | null;
|
|
8745
8745
|
system: string | null;
|
|
@@ -8749,7 +8749,7 @@ declare function startNodeCloudServer(options?: NodeCloudServerOptions): Promise
|
|
|
8749
8749
|
}[];
|
|
8750
8750
|
signIns: {
|
|
8751
8751
|
id: string;
|
|
8752
|
-
method: "
|
|
8752
|
+
method: "apple" | "google" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
8753
8753
|
ipAddress: string | null;
|
|
8754
8754
|
browser: string | null;
|
|
8755
8755
|
system: string | null;
|
package/dist/server.d.ts
CHANGED
|
@@ -690,7 +690,7 @@ declare function createEnrollmentService(database: Kysely<CloudDatabase>, emailO
|
|
|
690
690
|
requestRevision: number;
|
|
691
691
|
}[];
|
|
692
692
|
total: number;
|
|
693
|
-
counts: Record<"pending" | "
|
|
693
|
+
counts: Record<"pending" | "approved" | "rejected" | "revoked", number>;
|
|
694
694
|
}>;
|
|
695
695
|
review(actorId: string, enrollmentId: string, status: Exclude<EnrollmentStatus, "pending">, input: EnrollmentReviewInput): Promise<EnrollmentRecord>;
|
|
696
696
|
bindApprovedUser(email: string, userId: string): Promise<void>;
|
|
@@ -742,15 +742,15 @@ declare function createAdminEmailService(database: Kysely<CloudDatabase>, email?
|
|
|
742
742
|
regeneratable: boolean;
|
|
743
743
|
kind: TransactionalEmailKind;
|
|
744
744
|
id: string;
|
|
745
|
-
createdAt: Date;
|
|
746
|
-
acceptedAt: Date | null;
|
|
747
745
|
status: TransactionalEmailStatus;
|
|
746
|
+
createdAt: Date;
|
|
748
747
|
recipientEmailNormalized: string;
|
|
749
748
|
attemptCount: number;
|
|
750
749
|
transport: string | null;
|
|
751
750
|
transportMessageId: string | null;
|
|
752
751
|
lastErrorCode: string | null;
|
|
753
752
|
nextAttemptAt: Date;
|
|
753
|
+
acceptedAt: Date | null;
|
|
754
754
|
}[];
|
|
755
755
|
total: number;
|
|
756
756
|
counts: Record<"all" | "sent" | "waiting" | "failed", number>;
|
|
@@ -1273,7 +1273,7 @@ declare function createAccountAuthenticationService(auth: CloudAuthAdapter, conf
|
|
|
1273
1273
|
methods(headers: Headers): Promise<{
|
|
1274
1274
|
methods: {
|
|
1275
1275
|
id: string;
|
|
1276
|
-
provider: "
|
|
1276
|
+
provider: "google" | "apple" | "credential";
|
|
1277
1277
|
createdAt: string;
|
|
1278
1278
|
canUnlink: boolean;
|
|
1279
1279
|
}[];
|
|
@@ -1378,7 +1378,7 @@ declare function createCloudAuthenticationRuntime(config: CloudServerConfig, dat
|
|
|
1378
1378
|
requestRevision: number;
|
|
1379
1379
|
}[];
|
|
1380
1380
|
total: number;
|
|
1381
|
-
counts: Record<"pending" | "
|
|
1381
|
+
counts: Record<"pending" | "approved" | "rejected" | "revoked", number>;
|
|
1382
1382
|
}>;
|
|
1383
1383
|
review(actorId: string, enrollmentId: string, status: Exclude<EnrollmentStatus, "pending">, input: EnrollmentReviewInput): Promise<EnrollmentRecord>;
|
|
1384
1384
|
bindApprovedUser(email: string, userId: string): Promise<void>;
|
|
@@ -3606,7 +3606,7 @@ declare function createDocumentSharingRoutes(service: DocumentSharingService, ra
|
|
|
3606
3606
|
} | {
|
|
3607
3607
|
kind: "workspace";
|
|
3608
3608
|
workspaceId: string;
|
|
3609
|
-
role: "
|
|
3609
|
+
role: "admin" | "viewer" | "editor";
|
|
3610
3610
|
};
|
|
3611
3611
|
};
|
|
3612
3612
|
outputFormat: "json";
|
|
@@ -3790,7 +3790,7 @@ declare function createPublicSharingRoutes(service: DocumentSharingService, reso
|
|
|
3790
3790
|
recipientHint: string;
|
|
3791
3791
|
kind: "workspace";
|
|
3792
3792
|
workspaceName: string;
|
|
3793
|
-
role: "
|
|
3793
|
+
role: "admin" | "viewer" | "editor";
|
|
3794
3794
|
};
|
|
3795
3795
|
};
|
|
3796
3796
|
outputFormat: "json";
|
|
@@ -4510,16 +4510,16 @@ declare class DatabaseEntitlementSource implements EntitlementSource {
|
|
|
4510
4510
|
declare function createWorkspaceEntitlementRepository(database: Kysely<CloudDatabase>): {
|
|
4511
4511
|
get(workspaceId: string): Promise<{
|
|
4512
4512
|
values: unknown;
|
|
4513
|
-
updatedAt: Date;
|
|
4514
4513
|
workspaceId: string;
|
|
4514
|
+
updatedAt: Date;
|
|
4515
4515
|
source: string;
|
|
4516
4516
|
externalVersion: number | null;
|
|
4517
4517
|
revision: number;
|
|
4518
4518
|
} | undefined>;
|
|
4519
4519
|
set(workspaceId: string, values: StaticEntitlementsInput, source: string): Promise<{
|
|
4520
4520
|
values: unknown;
|
|
4521
|
-
updatedAt: Date;
|
|
4522
4521
|
workspaceId: string;
|
|
4522
|
+
updatedAt: Date;
|
|
4523
4523
|
source: string;
|
|
4524
4524
|
externalVersion: number | null;
|
|
4525
4525
|
revision: number;
|
|
@@ -4948,7 +4948,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
4948
4948
|
id: string;
|
|
4949
4949
|
name: string;
|
|
4950
4950
|
slug: string;
|
|
4951
|
-
role: "
|
|
4951
|
+
role: "admin" | "viewer" | "editor";
|
|
4952
4952
|
createdAt: string;
|
|
4953
4953
|
updatedAt: string;
|
|
4954
4954
|
}[];
|
|
@@ -4985,7 +4985,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
4985
4985
|
id: string;
|
|
4986
4986
|
name: string;
|
|
4987
4987
|
slug: string;
|
|
4988
|
-
role: "
|
|
4988
|
+
role: "admin" | "viewer" | "editor";
|
|
4989
4989
|
createdAt: string;
|
|
4990
4990
|
updatedAt: string;
|
|
4991
4991
|
};
|
|
@@ -5047,7 +5047,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5047
5047
|
id: string;
|
|
5048
5048
|
name: string;
|
|
5049
5049
|
slug: string;
|
|
5050
|
-
role: "
|
|
5050
|
+
role: "admin" | "viewer" | "editor";
|
|
5051
5051
|
createdAt: string;
|
|
5052
5052
|
updatedAt: string;
|
|
5053
5053
|
};
|
|
@@ -5120,7 +5120,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5120
5120
|
id: string;
|
|
5121
5121
|
name: string;
|
|
5122
5122
|
slug: string;
|
|
5123
|
-
role: "
|
|
5123
|
+
role: "admin" | "viewer" | "editor";
|
|
5124
5124
|
createdAt: string;
|
|
5125
5125
|
updatedAt: string;
|
|
5126
5126
|
};
|
|
@@ -5200,13 +5200,13 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5200
5200
|
name: string;
|
|
5201
5201
|
email: string;
|
|
5202
5202
|
image: string | null;
|
|
5203
|
-
role: "
|
|
5203
|
+
role: "admin" | "viewer" | "editor";
|
|
5204
5204
|
joinedAt: string;
|
|
5205
5205
|
}[];
|
|
5206
5206
|
invitations: {
|
|
5207
5207
|
id: string;
|
|
5208
5208
|
email: string;
|
|
5209
|
-
role: "
|
|
5209
|
+
role: "admin" | "viewer" | "editor";
|
|
5210
5210
|
invitedBy: {
|
|
5211
5211
|
id: string;
|
|
5212
5212
|
name: string | null;
|
|
@@ -5229,7 +5229,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5229
5229
|
} & {
|
|
5230
5230
|
json: {
|
|
5231
5231
|
email: string;
|
|
5232
|
-
role: "
|
|
5232
|
+
role: "admin" | "viewer" | "editor";
|
|
5233
5233
|
};
|
|
5234
5234
|
};
|
|
5235
5235
|
output: {};
|
|
@@ -5243,7 +5243,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5243
5243
|
} & {
|
|
5244
5244
|
json: {
|
|
5245
5245
|
email: string;
|
|
5246
|
-
role: "
|
|
5246
|
+
role: "admin" | "viewer" | "editor";
|
|
5247
5247
|
};
|
|
5248
5248
|
};
|
|
5249
5249
|
output: {
|
|
@@ -5261,7 +5261,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5261
5261
|
} & {
|
|
5262
5262
|
json: {
|
|
5263
5263
|
email: string;
|
|
5264
|
-
role: "
|
|
5264
|
+
role: "admin" | "viewer" | "editor";
|
|
5265
5265
|
};
|
|
5266
5266
|
};
|
|
5267
5267
|
output: {
|
|
@@ -5279,14 +5279,14 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5279
5279
|
} & {
|
|
5280
5280
|
json: {
|
|
5281
5281
|
email: string;
|
|
5282
|
-
role: "
|
|
5282
|
+
role: "admin" | "viewer" | "editor";
|
|
5283
5283
|
};
|
|
5284
5284
|
};
|
|
5285
5285
|
output: {
|
|
5286
5286
|
invitation: {
|
|
5287
5287
|
id: string;
|
|
5288
5288
|
email: string;
|
|
5289
|
-
role: "
|
|
5289
|
+
role: "admin" | "viewer" | "editor";
|
|
5290
5290
|
invitedBy: {
|
|
5291
5291
|
id: string;
|
|
5292
5292
|
name: string | null;
|
|
@@ -5337,7 +5337,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5337
5337
|
invitation: {
|
|
5338
5338
|
id: string;
|
|
5339
5339
|
email: string;
|
|
5340
|
-
role: "
|
|
5340
|
+
role: "admin" | "viewer" | "editor";
|
|
5341
5341
|
invitedBy: {
|
|
5342
5342
|
id: string;
|
|
5343
5343
|
name: string | null;
|
|
@@ -5399,7 +5399,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5399
5399
|
};
|
|
5400
5400
|
} & {
|
|
5401
5401
|
json: {
|
|
5402
|
-
role: "
|
|
5402
|
+
role: "admin" | "viewer" | "editor";
|
|
5403
5403
|
};
|
|
5404
5404
|
};
|
|
5405
5405
|
output: {};
|
|
@@ -5413,7 +5413,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5413
5413
|
};
|
|
5414
5414
|
} & {
|
|
5415
5415
|
json: {
|
|
5416
|
-
role: "
|
|
5416
|
+
role: "admin" | "viewer" | "editor";
|
|
5417
5417
|
};
|
|
5418
5418
|
};
|
|
5419
5419
|
output: null;
|
|
@@ -5427,7 +5427,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5427
5427
|
};
|
|
5428
5428
|
} & {
|
|
5429
5429
|
json: {
|
|
5430
|
-
role: "
|
|
5430
|
+
role: "admin" | "viewer" | "editor";
|
|
5431
5431
|
};
|
|
5432
5432
|
};
|
|
5433
5433
|
output: {
|
|
@@ -5445,7 +5445,7 @@ declare function createWorkspaceRoutes(service: WorkspaceService, members: Works
|
|
|
5445
5445
|
};
|
|
5446
5446
|
} & {
|
|
5447
5447
|
json: {
|
|
5448
|
-
role: "
|
|
5448
|
+
role: "admin" | "viewer" | "editor";
|
|
5449
5449
|
};
|
|
5450
5450
|
};
|
|
5451
5451
|
output: {
|
|
@@ -5763,7 +5763,7 @@ declare function createPublicCloudAPIRouter(services: CloudAPIServices): import(
|
|
|
5763
5763
|
recipientHint: string;
|
|
5764
5764
|
kind: "workspace";
|
|
5765
5765
|
workspaceName: string;
|
|
5766
|
-
role: "
|
|
5766
|
+
role: "admin" | "viewer" | "editor";
|
|
5767
5767
|
};
|
|
5768
5768
|
};
|
|
5769
5769
|
outputFormat: "json";
|
|
@@ -6526,7 +6526,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
6526
6526
|
recipientHint: string;
|
|
6527
6527
|
kind: "workspace";
|
|
6528
6528
|
workspaceName: string;
|
|
6529
|
-
role: "
|
|
6529
|
+
role: "admin" | "viewer" | "editor";
|
|
6530
6530
|
};
|
|
6531
6531
|
};
|
|
6532
6532
|
outputFormat: "json";
|
|
@@ -8754,7 +8754,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
8754
8754
|
} | {
|
|
8755
8755
|
kind: "workspace";
|
|
8756
8756
|
workspaceId: string;
|
|
8757
|
-
role: "
|
|
8757
|
+
role: "admin" | "viewer" | "editor";
|
|
8758
8758
|
};
|
|
8759
8759
|
};
|
|
8760
8760
|
outputFormat: "json";
|
|
@@ -8808,7 +8808,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
8808
8808
|
id: string;
|
|
8809
8809
|
name: string;
|
|
8810
8810
|
slug: string;
|
|
8811
|
-
role: "
|
|
8811
|
+
role: "admin" | "viewer" | "editor";
|
|
8812
8812
|
createdAt: string;
|
|
8813
8813
|
updatedAt: string;
|
|
8814
8814
|
}[];
|
|
@@ -8845,7 +8845,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
8845
8845
|
id: string;
|
|
8846
8846
|
name: string;
|
|
8847
8847
|
slug: string;
|
|
8848
|
-
role: "
|
|
8848
|
+
role: "admin" | "viewer" | "editor";
|
|
8849
8849
|
createdAt: string;
|
|
8850
8850
|
updatedAt: string;
|
|
8851
8851
|
};
|
|
@@ -8907,7 +8907,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
8907
8907
|
id: string;
|
|
8908
8908
|
name: string;
|
|
8909
8909
|
slug: string;
|
|
8910
|
-
role: "
|
|
8910
|
+
role: "admin" | "viewer" | "editor";
|
|
8911
8911
|
createdAt: string;
|
|
8912
8912
|
updatedAt: string;
|
|
8913
8913
|
};
|
|
@@ -8980,7 +8980,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
8980
8980
|
id: string;
|
|
8981
8981
|
name: string;
|
|
8982
8982
|
slug: string;
|
|
8983
|
-
role: "
|
|
8983
|
+
role: "admin" | "viewer" | "editor";
|
|
8984
8984
|
createdAt: string;
|
|
8985
8985
|
updatedAt: string;
|
|
8986
8986
|
};
|
|
@@ -9060,13 +9060,13 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9060
9060
|
name: string;
|
|
9061
9061
|
email: string;
|
|
9062
9062
|
image: string | null;
|
|
9063
|
-
role: "
|
|
9063
|
+
role: "admin" | "viewer" | "editor";
|
|
9064
9064
|
joinedAt: string;
|
|
9065
9065
|
}[];
|
|
9066
9066
|
invitations: {
|
|
9067
9067
|
id: string;
|
|
9068
9068
|
email: string;
|
|
9069
|
-
role: "
|
|
9069
|
+
role: "admin" | "viewer" | "editor";
|
|
9070
9070
|
invitedBy: {
|
|
9071
9071
|
id: string;
|
|
9072
9072
|
name: string | null;
|
|
@@ -9089,7 +9089,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9089
9089
|
} & {
|
|
9090
9090
|
json: {
|
|
9091
9091
|
email: string;
|
|
9092
|
-
role: "
|
|
9092
|
+
role: "admin" | "viewer" | "editor";
|
|
9093
9093
|
};
|
|
9094
9094
|
};
|
|
9095
9095
|
output: {};
|
|
@@ -9103,7 +9103,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9103
9103
|
} & {
|
|
9104
9104
|
json: {
|
|
9105
9105
|
email: string;
|
|
9106
|
-
role: "
|
|
9106
|
+
role: "admin" | "viewer" | "editor";
|
|
9107
9107
|
};
|
|
9108
9108
|
};
|
|
9109
9109
|
output: {
|
|
@@ -9121,7 +9121,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9121
9121
|
} & {
|
|
9122
9122
|
json: {
|
|
9123
9123
|
email: string;
|
|
9124
|
-
role: "
|
|
9124
|
+
role: "admin" | "viewer" | "editor";
|
|
9125
9125
|
};
|
|
9126
9126
|
};
|
|
9127
9127
|
output: {
|
|
@@ -9139,14 +9139,14 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9139
9139
|
} & {
|
|
9140
9140
|
json: {
|
|
9141
9141
|
email: string;
|
|
9142
|
-
role: "
|
|
9142
|
+
role: "admin" | "viewer" | "editor";
|
|
9143
9143
|
};
|
|
9144
9144
|
};
|
|
9145
9145
|
output: {
|
|
9146
9146
|
invitation: {
|
|
9147
9147
|
id: string;
|
|
9148
9148
|
email: string;
|
|
9149
|
-
role: "
|
|
9149
|
+
role: "admin" | "viewer" | "editor";
|
|
9150
9150
|
invitedBy: {
|
|
9151
9151
|
id: string;
|
|
9152
9152
|
name: string | null;
|
|
@@ -9197,7 +9197,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9197
9197
|
invitation: {
|
|
9198
9198
|
id: string;
|
|
9199
9199
|
email: string;
|
|
9200
|
-
role: "
|
|
9200
|
+
role: "admin" | "viewer" | "editor";
|
|
9201
9201
|
invitedBy: {
|
|
9202
9202
|
id: string;
|
|
9203
9203
|
name: string | null;
|
|
@@ -9259,7 +9259,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9259
9259
|
};
|
|
9260
9260
|
} & {
|
|
9261
9261
|
json: {
|
|
9262
|
-
role: "
|
|
9262
|
+
role: "admin" | "viewer" | "editor";
|
|
9263
9263
|
};
|
|
9264
9264
|
};
|
|
9265
9265
|
output: {};
|
|
@@ -9273,7 +9273,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9273
9273
|
};
|
|
9274
9274
|
} & {
|
|
9275
9275
|
json: {
|
|
9276
|
-
role: "
|
|
9276
|
+
role: "admin" | "viewer" | "editor";
|
|
9277
9277
|
};
|
|
9278
9278
|
};
|
|
9279
9279
|
output: null;
|
|
@@ -9287,7 +9287,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9287
9287
|
};
|
|
9288
9288
|
} & {
|
|
9289
9289
|
json: {
|
|
9290
|
-
role: "
|
|
9290
|
+
role: "admin" | "viewer" | "editor";
|
|
9291
9291
|
};
|
|
9292
9292
|
};
|
|
9293
9293
|
output: {
|
|
@@ -9305,7 +9305,7 @@ declare function createCloudAPIRouter(services: CloudAPIServices): import("hono/
|
|
|
9305
9305
|
};
|
|
9306
9306
|
} & {
|
|
9307
9307
|
json: {
|
|
9308
|
-
role: "
|
|
9308
|
+
role: "admin" | "viewer" | "editor";
|
|
9309
9309
|
};
|
|
9310
9310
|
};
|
|
9311
9311
|
output: {
|
|
@@ -9378,7 +9378,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9378
9378
|
input: {
|
|
9379
9379
|
query: {
|
|
9380
9380
|
search?: string | undefined;
|
|
9381
|
-
filter?: "pending" | "
|
|
9381
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
9382
9382
|
limit?: number | undefined;
|
|
9383
9383
|
offset?: number | undefined;
|
|
9384
9384
|
};
|
|
@@ -9394,7 +9394,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9394
9394
|
input: {
|
|
9395
9395
|
query: {
|
|
9396
9396
|
search?: string | undefined;
|
|
9397
|
-
filter?: "pending" | "
|
|
9397
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
9398
9398
|
limit?: number | undefined;
|
|
9399
9399
|
offset?: number | undefined;
|
|
9400
9400
|
};
|
|
@@ -9417,9 +9417,9 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9417
9417
|
total: number;
|
|
9418
9418
|
counts: {
|
|
9419
9419
|
pending: number;
|
|
9420
|
+
approved: number;
|
|
9420
9421
|
rejected: number;
|
|
9421
9422
|
revoked: number;
|
|
9422
|
-
approved: number;
|
|
9423
9423
|
};
|
|
9424
9424
|
};
|
|
9425
9425
|
outputFormat: "json";
|
|
@@ -9671,7 +9671,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9671
9671
|
sessions: {
|
|
9672
9672
|
id: string;
|
|
9673
9673
|
current: boolean;
|
|
9674
|
-
method: "
|
|
9674
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
9675
9675
|
ipAddress: string | null;
|
|
9676
9676
|
browser: string | null;
|
|
9677
9677
|
system: string | null;
|
|
@@ -9681,7 +9681,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9681
9681
|
}[];
|
|
9682
9682
|
signIns: {
|
|
9683
9683
|
id: string;
|
|
9684
|
-
method: "
|
|
9684
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
9685
9685
|
ipAddress: string | null;
|
|
9686
9686
|
browser: string | null;
|
|
9687
9687
|
system: string | null;
|
|
@@ -9690,7 +9690,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9690
9690
|
workspaces: {
|
|
9691
9691
|
id: string;
|
|
9692
9692
|
name: string;
|
|
9693
|
-
role: "
|
|
9693
|
+
role: "admin" | "viewer" | "editor";
|
|
9694
9694
|
memberCount: number;
|
|
9695
9695
|
joinedAt: string;
|
|
9696
9696
|
}[];
|
|
@@ -9939,15 +9939,15 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9939
9939
|
regeneratable: boolean;
|
|
9940
9940
|
kind: TransactionalEmailKind;
|
|
9941
9941
|
id: string;
|
|
9942
|
-
createdAt: string;
|
|
9943
|
-
acceptedAt: string | null;
|
|
9944
9942
|
status: TransactionalEmailStatus;
|
|
9943
|
+
createdAt: string;
|
|
9945
9944
|
recipientEmailNormalized: string;
|
|
9946
9945
|
attemptCount: number;
|
|
9947
9946
|
transport: string | null;
|
|
9948
9947
|
transportMessageId: string | null;
|
|
9949
9948
|
lastErrorCode: string | null;
|
|
9950
9949
|
nextAttemptAt: string;
|
|
9950
|
+
acceptedAt: string | null;
|
|
9951
9951
|
}[];
|
|
9952
9952
|
total: number;
|
|
9953
9953
|
counts: {
|
|
@@ -10341,7 +10341,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10341
10341
|
image?: string | null | undefined;
|
|
10342
10342
|
deploymentRole?: "user" | "admin" | undefined;
|
|
10343
10343
|
};
|
|
10344
|
-
state: "
|
|
10344
|
+
state: "pending" | "rejected" | "revoked" | "active";
|
|
10345
10345
|
};
|
|
10346
10346
|
outputFormat: "json";
|
|
10347
10347
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -10947,7 +10947,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10947
10947
|
sessions: {
|
|
10948
10948
|
id: string;
|
|
10949
10949
|
current: boolean;
|
|
10950
|
-
method: "
|
|
10950
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
10951
10951
|
ipAddress: string | null;
|
|
10952
10952
|
browser: string | null;
|
|
10953
10953
|
system: string | null;
|
|
@@ -11037,7 +11037,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11037
11037
|
output: {
|
|
11038
11038
|
signIns: {
|
|
11039
11039
|
id: string;
|
|
11040
|
-
method: "
|
|
11040
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
11041
11041
|
ipAddress: string | null;
|
|
11042
11042
|
browser: string | null;
|
|
11043
11043
|
system: string | null;
|
|
@@ -11064,7 +11064,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11064
11064
|
output: {
|
|
11065
11065
|
methods: {
|
|
11066
11066
|
id: string;
|
|
11067
|
-
provider: "
|
|
11067
|
+
provider: "google" | "apple" | "credential";
|
|
11068
11068
|
createdAt: string;
|
|
11069
11069
|
canUnlink: boolean;
|
|
11070
11070
|
}[];
|
|
@@ -11353,7 +11353,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11353
11353
|
recipientHint: string;
|
|
11354
11354
|
kind: "workspace";
|
|
11355
11355
|
workspaceName: string;
|
|
11356
|
-
role: "
|
|
11356
|
+
role: "admin" | "viewer" | "editor";
|
|
11357
11357
|
};
|
|
11358
11358
|
};
|
|
11359
11359
|
outputFormat: "json";
|
|
@@ -11851,7 +11851,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11851
11851
|
input: {
|
|
11852
11852
|
query: {
|
|
11853
11853
|
search?: string | undefined;
|
|
11854
|
-
filter?: "pending" | "
|
|
11854
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
11855
11855
|
limit?: number | undefined;
|
|
11856
11856
|
offset?: number | undefined;
|
|
11857
11857
|
};
|
|
@@ -11867,7 +11867,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11867
11867
|
input: {
|
|
11868
11868
|
query: {
|
|
11869
11869
|
search?: string | undefined;
|
|
11870
|
-
filter?: "pending" | "
|
|
11870
|
+
filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
|
|
11871
11871
|
limit?: number | undefined;
|
|
11872
11872
|
offset?: number | undefined;
|
|
11873
11873
|
};
|
|
@@ -11890,9 +11890,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11890
11890
|
total: number;
|
|
11891
11891
|
counts: {
|
|
11892
11892
|
pending: number;
|
|
11893
|
+
approved: number;
|
|
11893
11894
|
rejected: number;
|
|
11894
11895
|
revoked: number;
|
|
11895
|
-
approved: number;
|
|
11896
11896
|
};
|
|
11897
11897
|
};
|
|
11898
11898
|
outputFormat: "json";
|
|
@@ -12144,7 +12144,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12144
12144
|
sessions: {
|
|
12145
12145
|
id: string;
|
|
12146
12146
|
current: boolean;
|
|
12147
|
-
method: "
|
|
12147
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
12148
12148
|
ipAddress: string | null;
|
|
12149
12149
|
browser: string | null;
|
|
12150
12150
|
system: string | null;
|
|
@@ -12154,7 +12154,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12154
12154
|
}[];
|
|
12155
12155
|
signIns: {
|
|
12156
12156
|
id: string;
|
|
12157
|
-
method: "
|
|
12157
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
12158
12158
|
ipAddress: string | null;
|
|
12159
12159
|
browser: string | null;
|
|
12160
12160
|
system: string | null;
|
|
@@ -12163,7 +12163,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12163
12163
|
workspaces: {
|
|
12164
12164
|
id: string;
|
|
12165
12165
|
name: string;
|
|
12166
|
-
role: "
|
|
12166
|
+
role: "admin" | "viewer" | "editor";
|
|
12167
12167
|
memberCount: number;
|
|
12168
12168
|
joinedAt: string;
|
|
12169
12169
|
}[];
|
|
@@ -12412,15 +12412,15 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12412
12412
|
regeneratable: boolean;
|
|
12413
12413
|
kind: TransactionalEmailKind;
|
|
12414
12414
|
id: string;
|
|
12415
|
-
createdAt: string;
|
|
12416
|
-
acceptedAt: string | null;
|
|
12417
12415
|
status: TransactionalEmailStatus;
|
|
12416
|
+
createdAt: string;
|
|
12418
12417
|
recipientEmailNormalized: string;
|
|
12419
12418
|
attemptCount: number;
|
|
12420
12419
|
transport: string | null;
|
|
12421
12420
|
transportMessageId: string | null;
|
|
12422
12421
|
lastErrorCode: string | null;
|
|
12423
12422
|
nextAttemptAt: string;
|
|
12423
|
+
acceptedAt: string | null;
|
|
12424
12424
|
}[];
|
|
12425
12425
|
total: number;
|
|
12426
12426
|
counts: {
|
|
@@ -12919,7 +12919,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12919
12919
|
recipientHint: string;
|
|
12920
12920
|
kind: "workspace";
|
|
12921
12921
|
workspaceName: string;
|
|
12922
|
-
role: "
|
|
12922
|
+
role: "admin" | "viewer" | "editor";
|
|
12923
12923
|
};
|
|
12924
12924
|
};
|
|
12925
12925
|
outputFormat: "json";
|
|
@@ -15147,7 +15147,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15147
15147
|
} | {
|
|
15148
15148
|
kind: "workspace";
|
|
15149
15149
|
workspaceId: string;
|
|
15150
|
-
role: "
|
|
15150
|
+
role: "admin" | "viewer" | "editor";
|
|
15151
15151
|
};
|
|
15152
15152
|
};
|
|
15153
15153
|
outputFormat: "json";
|
|
@@ -15201,7 +15201,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15201
15201
|
id: string;
|
|
15202
15202
|
name: string;
|
|
15203
15203
|
slug: string;
|
|
15204
|
-
role: "
|
|
15204
|
+
role: "admin" | "viewer" | "editor";
|
|
15205
15205
|
createdAt: string;
|
|
15206
15206
|
updatedAt: string;
|
|
15207
15207
|
}[];
|
|
@@ -15238,7 +15238,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15238
15238
|
id: string;
|
|
15239
15239
|
name: string;
|
|
15240
15240
|
slug: string;
|
|
15241
|
-
role: "
|
|
15241
|
+
role: "admin" | "viewer" | "editor";
|
|
15242
15242
|
createdAt: string;
|
|
15243
15243
|
updatedAt: string;
|
|
15244
15244
|
};
|
|
@@ -15300,7 +15300,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15300
15300
|
id: string;
|
|
15301
15301
|
name: string;
|
|
15302
15302
|
slug: string;
|
|
15303
|
-
role: "
|
|
15303
|
+
role: "admin" | "viewer" | "editor";
|
|
15304
15304
|
createdAt: string;
|
|
15305
15305
|
updatedAt: string;
|
|
15306
15306
|
};
|
|
@@ -15373,7 +15373,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15373
15373
|
id: string;
|
|
15374
15374
|
name: string;
|
|
15375
15375
|
slug: string;
|
|
15376
|
-
role: "
|
|
15376
|
+
role: "admin" | "viewer" | "editor";
|
|
15377
15377
|
createdAt: string;
|
|
15378
15378
|
updatedAt: string;
|
|
15379
15379
|
};
|
|
@@ -15453,13 +15453,13 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15453
15453
|
name: string;
|
|
15454
15454
|
email: string;
|
|
15455
15455
|
image: string | null;
|
|
15456
|
-
role: "
|
|
15456
|
+
role: "admin" | "viewer" | "editor";
|
|
15457
15457
|
joinedAt: string;
|
|
15458
15458
|
}[];
|
|
15459
15459
|
invitations: {
|
|
15460
15460
|
id: string;
|
|
15461
15461
|
email: string;
|
|
15462
|
-
role: "
|
|
15462
|
+
role: "admin" | "viewer" | "editor";
|
|
15463
15463
|
invitedBy: {
|
|
15464
15464
|
id: string;
|
|
15465
15465
|
name: string | null;
|
|
@@ -15482,7 +15482,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15482
15482
|
} & {
|
|
15483
15483
|
json: {
|
|
15484
15484
|
email: string;
|
|
15485
|
-
role: "
|
|
15485
|
+
role: "admin" | "viewer" | "editor";
|
|
15486
15486
|
};
|
|
15487
15487
|
};
|
|
15488
15488
|
output: {};
|
|
@@ -15496,7 +15496,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15496
15496
|
} & {
|
|
15497
15497
|
json: {
|
|
15498
15498
|
email: string;
|
|
15499
|
-
role: "
|
|
15499
|
+
role: "admin" | "viewer" | "editor";
|
|
15500
15500
|
};
|
|
15501
15501
|
};
|
|
15502
15502
|
output: {
|
|
@@ -15514,7 +15514,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15514
15514
|
} & {
|
|
15515
15515
|
json: {
|
|
15516
15516
|
email: string;
|
|
15517
|
-
role: "
|
|
15517
|
+
role: "admin" | "viewer" | "editor";
|
|
15518
15518
|
};
|
|
15519
15519
|
};
|
|
15520
15520
|
output: {
|
|
@@ -15532,14 +15532,14 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15532
15532
|
} & {
|
|
15533
15533
|
json: {
|
|
15534
15534
|
email: string;
|
|
15535
|
-
role: "
|
|
15535
|
+
role: "admin" | "viewer" | "editor";
|
|
15536
15536
|
};
|
|
15537
15537
|
};
|
|
15538
15538
|
output: {
|
|
15539
15539
|
invitation: {
|
|
15540
15540
|
id: string;
|
|
15541
15541
|
email: string;
|
|
15542
|
-
role: "
|
|
15542
|
+
role: "admin" | "viewer" | "editor";
|
|
15543
15543
|
invitedBy: {
|
|
15544
15544
|
id: string;
|
|
15545
15545
|
name: string | null;
|
|
@@ -15590,7 +15590,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15590
15590
|
invitation: {
|
|
15591
15591
|
id: string;
|
|
15592
15592
|
email: string;
|
|
15593
|
-
role: "
|
|
15593
|
+
role: "admin" | "viewer" | "editor";
|
|
15594
15594
|
invitedBy: {
|
|
15595
15595
|
id: string;
|
|
15596
15596
|
name: string | null;
|
|
@@ -15652,7 +15652,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15652
15652
|
};
|
|
15653
15653
|
} & {
|
|
15654
15654
|
json: {
|
|
15655
|
-
role: "
|
|
15655
|
+
role: "admin" | "viewer" | "editor";
|
|
15656
15656
|
};
|
|
15657
15657
|
};
|
|
15658
15658
|
output: {};
|
|
@@ -15666,7 +15666,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15666
15666
|
};
|
|
15667
15667
|
} & {
|
|
15668
15668
|
json: {
|
|
15669
|
-
role: "
|
|
15669
|
+
role: "admin" | "viewer" | "editor";
|
|
15670
15670
|
};
|
|
15671
15671
|
};
|
|
15672
15672
|
output: null;
|
|
@@ -15680,7 +15680,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15680
15680
|
};
|
|
15681
15681
|
} & {
|
|
15682
15682
|
json: {
|
|
15683
|
-
role: "
|
|
15683
|
+
role: "admin" | "viewer" | "editor";
|
|
15684
15684
|
};
|
|
15685
15685
|
};
|
|
15686
15686
|
output: {
|
|
@@ -15698,7 +15698,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
15698
15698
|
};
|
|
15699
15699
|
} & {
|
|
15700
15700
|
json: {
|
|
15701
|
-
role: "
|
|
15701
|
+
role: "admin" | "viewer" | "editor";
|
|
15702
15702
|
};
|
|
15703
15703
|
};
|
|
15704
15704
|
output: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/cloud",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"license": "Apache-2.0 AND MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@internationalized/date": "^3.12.3",
|
|
24
24
|
"@noble/hashes": "^2.4.0",
|
|
25
25
|
"@openfeature/server-sdk": "^1.23.0",
|
|
26
|
-
"@pairdraw/scene-graph": "^0.22.
|
|
26
|
+
"@pairdraw/scene-graph": "^0.22.2",
|
|
27
27
|
"@vue-email/components": "^0.0.21",
|
|
28
28
|
"@vue-email/render": "^0.0.9",
|
|
29
29
|
"better-auth": "1.7.7",
|