@pairdraw/cloud 0.21.1 → 0.22.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/client.d.ts +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/runtime-node.d.mts +8 -8
- package/dist/server.d.ts +24 -24
- 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: "passkey" | "password" | "google" | "apple" | "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: "passkey" | "password" | "google" | "apple" | "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: "viewer" | "editor" | "admin";
|
|
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: "passkey" | "password" | "google" | "apple" | "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: "passkey" | "password" | "google" | "apple" | "two-step" | "email-link" | "desktop" | "other";
|
|
1560
1560
|
ipAddress: string | null;
|
|
1561
1561
|
browser: string | null;
|
|
1562
1562
|
system: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ declare function parseCloudPasswordChange(input: unknown): {
|
|
|
123
123
|
newPassword: string;
|
|
124
124
|
};
|
|
125
125
|
declare function parseCloudSocialLink(input: unknown): {
|
|
126
|
-
provider: "
|
|
126
|
+
provider: "google" | "apple";
|
|
127
127
|
callbackURL: string;
|
|
128
128
|
};
|
|
129
129
|
declare function parseCloudUnlinkAuthenticationMethod(input: unknown): {
|
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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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: "password" | "apple" | "google" | "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
|
@@ -1273,11 +1273,11 @@ declare function createAccountAuthenticationService(auth: CloudAuthAdapter, conf
|
|
|
1273
1273
|
methods(headers: Headers): Promise<{
|
|
1274
1274
|
methods: {
|
|
1275
1275
|
id: string;
|
|
1276
|
-
provider: "
|
|
1276
|
+
provider: "credential" | "google" | "apple";
|
|
1277
1277
|
createdAt: string;
|
|
1278
1278
|
canUnlink: boolean;
|
|
1279
1279
|
}[];
|
|
1280
|
-
availableSocialProviders: ("
|
|
1280
|
+
availableSocialProviders: ("google" | "apple")[];
|
|
1281
1281
|
}>;
|
|
1282
1282
|
changePassword(headers: Headers, input: {
|
|
1283
1283
|
currentPassword: string;
|
|
@@ -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: "google" | "apple" | "password" | "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: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
9685
9685
|
ipAddress: string | null;
|
|
9686
9686
|
browser: string | null;
|
|
9687
9687
|
system: string | null;
|
|
@@ -10266,7 +10266,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10266
10266
|
siteKey: string;
|
|
10267
10267
|
} | undefined;
|
|
10268
10268
|
} | undefined;
|
|
10269
|
-
socialProviders: ("
|
|
10269
|
+
socialProviders: ("google" | "apple")[];
|
|
10270
10270
|
enterpriseSSO: boolean;
|
|
10271
10271
|
enrollmentMode: "open" | "approval" | "closed";
|
|
10272
10272
|
mfa?: {
|
|
@@ -10532,7 +10532,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10532
10532
|
};
|
|
10533
10533
|
};
|
|
10534
10534
|
outputFormat: "json";
|
|
10535
|
-
status:
|
|
10535
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10536
10536
|
} | {
|
|
10537
10537
|
input: {
|
|
10538
10538
|
json: {
|
|
@@ -10584,7 +10584,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10584
10584
|
};
|
|
10585
10585
|
};
|
|
10586
10586
|
outputFormat: "json";
|
|
10587
|
-
status:
|
|
10587
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10588
10588
|
} | {
|
|
10589
10589
|
input: {
|
|
10590
10590
|
json: {
|
|
@@ -10652,7 +10652,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10652
10652
|
};
|
|
10653
10653
|
};
|
|
10654
10654
|
outputFormat: "json";
|
|
10655
|
-
status:
|
|
10655
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10656
10656
|
} | {
|
|
10657
10657
|
input: {
|
|
10658
10658
|
json: {
|
|
@@ -10686,7 +10686,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10686
10686
|
$post: {
|
|
10687
10687
|
input: {
|
|
10688
10688
|
json: {
|
|
10689
|
-
provider: "
|
|
10689
|
+
provider: "google" | "apple";
|
|
10690
10690
|
callbackURL: string;
|
|
10691
10691
|
};
|
|
10692
10692
|
};
|
|
@@ -10700,7 +10700,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10700
10700
|
} | {
|
|
10701
10701
|
input: {
|
|
10702
10702
|
json: {
|
|
10703
|
-
provider: "
|
|
10703
|
+
provider: "google" | "apple";
|
|
10704
10704
|
callbackURL: string;
|
|
10705
10705
|
};
|
|
10706
10706
|
};
|
|
@@ -10710,11 +10710,11 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10710
10710
|
};
|
|
10711
10711
|
};
|
|
10712
10712
|
outputFormat: "json";
|
|
10713
|
-
status:
|
|
10713
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10714
10714
|
} | {
|
|
10715
10715
|
input: {
|
|
10716
10716
|
json: {
|
|
10717
|
-
provider: "
|
|
10717
|
+
provider: "google" | "apple";
|
|
10718
10718
|
callbackURL: string;
|
|
10719
10719
|
};
|
|
10720
10720
|
};
|
|
@@ -10739,7 +10739,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10739
10739
|
};
|
|
10740
10740
|
};
|
|
10741
10741
|
outputFormat: "json";
|
|
10742
|
-
status:
|
|
10742
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10743
10743
|
} | {
|
|
10744
10744
|
input: {
|
|
10745
10745
|
json: {
|
|
@@ -10807,7 +10807,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10807
10807
|
};
|
|
10808
10808
|
};
|
|
10809
10809
|
outputFormat: "json";
|
|
10810
|
-
status:
|
|
10810
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10811
10811
|
} | {
|
|
10812
10812
|
input: {
|
|
10813
10813
|
json: {
|
|
@@ -10901,7 +10901,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10901
10901
|
};
|
|
10902
10902
|
};
|
|
10903
10903
|
outputFormat: "json";
|
|
10904
|
-
status:
|
|
10904
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10905
10905
|
} | {
|
|
10906
10906
|
input: {
|
|
10907
10907
|
json: {
|
|
@@ -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: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
|
|
10951
10951
|
ipAddress: string | null;
|
|
10952
10952
|
browser: string | null;
|
|
10953
10953
|
system: string | null;
|
|
@@ -10974,7 +10974,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
10974
10974
|
};
|
|
10975
10975
|
};
|
|
10976
10976
|
outputFormat: "json";
|
|
10977
|
-
status:
|
|
10977
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
10978
10978
|
} | {
|
|
10979
10979
|
input: {
|
|
10980
10980
|
json: {
|
|
@@ -11011,7 +11011,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11011
11011
|
};
|
|
11012
11012
|
};
|
|
11013
11013
|
outputFormat: "json";
|
|
11014
|
-
status:
|
|
11014
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
11015
11015
|
} | {
|
|
11016
11016
|
input: {};
|
|
11017
11017
|
output: {
|
|
@@ -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: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
11041
11041
|
ipAddress: string | null;
|
|
11042
11042
|
browser: string | null;
|
|
11043
11043
|
system: string | null;
|
|
@@ -11058,17 +11058,17 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
11058
11058
|
};
|
|
11059
11059
|
};
|
|
11060
11060
|
outputFormat: "json";
|
|
11061
|
-
status:
|
|
11061
|
+
status: 401 | 403 | 429 | 500 | 400 | 404 | 409 | 422;
|
|
11062
11062
|
} | {
|
|
11063
11063
|
input: {};
|
|
11064
11064
|
output: {
|
|
11065
11065
|
methods: {
|
|
11066
11066
|
id: string;
|
|
11067
|
-
provider: "
|
|
11067
|
+
provider: "credential" | "google" | "apple";
|
|
11068
11068
|
createdAt: string;
|
|
11069
11069
|
canUnlink: boolean;
|
|
11070
11070
|
}[];
|
|
11071
|
-
availableSocialProviders: ("
|
|
11071
|
+
availableSocialProviders: ("google" | "apple")[];
|
|
11072
11072
|
};
|
|
11073
11073
|
outputFormat: "json";
|
|
11074
11074
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -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: "google" | "apple" | "password" | "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: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
|
|
12158
12158
|
ipAddress: string | null;
|
|
12159
12159
|
browser: string | null;
|
|
12160
12160
|
system: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/cloud",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
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.
|
|
26
|
+
"@pairdraw/scene-graph": "^0.22.0",
|
|
27
27
|
"@vue-email/components": "^0.0.21",
|
|
28
28
|
"@vue-email/render": "^0.0.9",
|
|
29
29
|
"better-auth": "1.7.7",
|