@pairdraw/cloud 0.22.0 → 0.22.1
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/client.d.ts +5 -5
- package/dist/runtime-node.d.mts +8 -8
- package/dist/server.d.ts +9 -9
- package/package.json +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -1358,7 +1358,7 @@ declare function createCloudPortalClient(options?: CloudPortalClientOptions): {
|
|
|
1358
1358
|
sessions: {
|
|
1359
1359
|
id: string;
|
|
1360
1360
|
current: boolean;
|
|
1361
|
-
method: "
|
|
1361
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
1362
1362
|
ipAddress: string | null;
|
|
1363
1363
|
browser: string | null;
|
|
1364
1364
|
system: string | null;
|
|
@@ -1368,7 +1368,7 @@ declare function createCloudPortalClient(options?: CloudPortalClientOptions): {
|
|
|
1368
1368
|
}[];
|
|
1369
1369
|
signIns: {
|
|
1370
1370
|
id: string;
|
|
1371
|
-
method: "
|
|
1371
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
1372
1372
|
ipAddress: string | null;
|
|
1373
1373
|
browser: string | null;
|
|
1374
1374
|
system: string | null;
|
|
@@ -1377,7 +1377,7 @@ declare function createCloudPortalClient(options?: CloudPortalClientOptions): {
|
|
|
1377
1377
|
workspaces: {
|
|
1378
1378
|
id: string;
|
|
1379
1379
|
name: string;
|
|
1380
|
-
role: "
|
|
1380
|
+
role: "admin" | "viewer" | "editor";
|
|
1381
1381
|
memberCount: number;
|
|
1382
1382
|
joinedAt: string;
|
|
1383
1383
|
}[];
|
|
@@ -1538,7 +1538,7 @@ declare function createCloudPortalClient(options?: CloudPortalClientOptions): {
|
|
|
1538
1538
|
sessions: {
|
|
1539
1539
|
id: string;
|
|
1540
1540
|
current: boolean;
|
|
1541
|
-
method: "
|
|
1541
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
1542
1542
|
ipAddress: string | null;
|
|
1543
1543
|
browser: string | null;
|
|
1544
1544
|
system: string | null;
|
|
@@ -1556,7 +1556,7 @@ declare function createCloudPortalClient(options?: CloudPortalClientOptions): {
|
|
|
1556
1556
|
signIns(signal?: AbortSignal): Promise<{
|
|
1557
1557
|
signIns: {
|
|
1558
1558
|
id: string;
|
|
1559
|
-
method: "
|
|
1559
|
+
method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
1560
1560
|
ipAddress: string | null;
|
|
1561
1561
|
browser: string | null;
|
|
1562
1562
|
system: string | null;
|
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
|
@@ -743,7 +743,6 @@ declare function createAdminEmailService(database: Kysely<CloudDatabase>, email?
|
|
|
743
743
|
kind: TransactionalEmailKind;
|
|
744
744
|
id: string;
|
|
745
745
|
createdAt: Date;
|
|
746
|
-
acceptedAt: Date | null;
|
|
747
746
|
status: TransactionalEmailStatus;
|
|
748
747
|
recipientEmailNormalized: string;
|
|
749
748
|
attemptCount: number;
|
|
@@ -751,6 +750,7 @@ declare function createAdminEmailService(database: Kysely<CloudDatabase>, email?
|
|
|
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>;
|
|
@@ -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;
|
|
@@ -9940,7 +9940,6 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9940
9940
|
kind: TransactionalEmailKind;
|
|
9941
9941
|
id: string;
|
|
9942
9942
|
createdAt: string;
|
|
9943
|
-
acceptedAt: string | null;
|
|
9944
9943
|
status: TransactionalEmailStatus;
|
|
9945
9944
|
recipientEmailNormalized: string;
|
|
9946
9945
|
attemptCount: number;
|
|
@@ -9948,6 +9947,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
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: {
|
|
@@ -11079,9 +11079,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11079
11079
|
$get: {
|
|
11080
11080
|
input: {
|
|
11081
11081
|
param: {
|
|
11082
|
-
userId: string;
|
|
11083
|
-
} & {
|
|
11084
11082
|
version: string;
|
|
11083
|
+
} & {
|
|
11084
|
+
userId: string;
|
|
11085
11085
|
};
|
|
11086
11086
|
};
|
|
11087
11087
|
output: {
|
|
@@ -11094,9 +11094,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11094
11094
|
} | {
|
|
11095
11095
|
input: {
|
|
11096
11096
|
param: {
|
|
11097
|
-
userId: string;
|
|
11098
|
-
} & {
|
|
11099
11097
|
version: string;
|
|
11098
|
+
} & {
|
|
11099
|
+
userId: string;
|
|
11100
11100
|
};
|
|
11101
11101
|
};
|
|
11102
11102
|
output: Uint8Array<ArrayBuffer>;
|
|
@@ -12413,7 +12413,6 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12413
12413
|
kind: TransactionalEmailKind;
|
|
12414
12414
|
id: string;
|
|
12415
12415
|
createdAt: string;
|
|
12416
|
-
acceptedAt: string | null;
|
|
12417
12416
|
status: TransactionalEmailStatus;
|
|
12418
12417
|
recipientEmailNormalized: string;
|
|
12419
12418
|
attemptCount: number;
|
|
@@ -12421,6 +12420,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
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: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/cloud",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.1",
|
|
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.1",
|
|
27
27
|
"@vue-email/components": "^0.0.21",
|
|
28
28
|
"@vue-email/render": "^0.0.9",
|
|
29
29
|
"better-auth": "1.7.7",
|