@pairdraw/cloud 0.21.1 → 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/index.d.ts +1 -1
- package/dist/server.d.ts +33 -33
- package/package.json +2 -2
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/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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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.
|
|
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.
|
|
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",
|