@pairdraw/cloud 0.19.0-beta.1 → 0.19.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 +24 -24
- 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" | "rejected" | "revoked" | "approved", 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/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" | "rejected" | "revoked" | "approved", 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,8 +742,8 @@ declare function createAdminEmailService(database: Kysely<CloudDatabase>, email?
|
|
|
742
742
|
regeneratable: boolean;
|
|
743
743
|
kind: TransactionalEmailKind;
|
|
744
744
|
id: string;
|
|
745
|
-
status: TransactionalEmailStatus;
|
|
746
745
|
createdAt: Date;
|
|
746
|
+
status: TransactionalEmailStatus;
|
|
747
747
|
recipientEmailNormalized: string;
|
|
748
748
|
attemptCount: number;
|
|
749
749
|
transport: string | null;
|
|
@@ -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: "credential" | "google" | "apple";
|
|
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" | "rejected" | "revoked" | "approved", 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>;
|
|
@@ -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" | "rejected" | "revoked" | "approved" | 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" | "rejected" | "revoked" | "approved" | 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;
|
|
9421
9420
|
rejected: number;
|
|
9422
9421
|
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: "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;
|
|
@@ -9939,8 +9939,8 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
|
|
|
9939
9939
|
regeneratable: boolean;
|
|
9940
9940
|
kind: TransactionalEmailKind;
|
|
9941
9941
|
id: string;
|
|
9942
|
-
status: TransactionalEmailStatus;
|
|
9943
9942
|
createdAt: string;
|
|
9943
|
+
status: TransactionalEmailStatus;
|
|
9944
9944
|
recipientEmailNormalized: string;
|
|
9945
9945
|
attemptCount: number;
|
|
9946
9946
|
transport: string | null;
|
|
@@ -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: "active" | "pending" | "rejected" | "revoked";
|
|
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: "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;
|
|
@@ -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;
|
|
@@ -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: "credential" | "google" | "apple";
|
|
11068
11068
|
createdAt: string;
|
|
11069
11069
|
canUnlink: boolean;
|
|
11070
11070
|
}[];
|
|
@@ -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>;
|
|
@@ -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" | "rejected" | "revoked" | "approved" | 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" | "rejected" | "revoked" | "approved" | 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;
|
|
11894
11893
|
rejected: number;
|
|
11895
11894
|
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: "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;
|
|
@@ -12412,8 +12412,8 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
|
|
|
12412
12412
|
regeneratable: boolean;
|
|
12413
12413
|
kind: TransactionalEmailKind;
|
|
12414
12414
|
id: string;
|
|
12415
|
-
status: TransactionalEmailStatus;
|
|
12416
12415
|
createdAt: string;
|
|
12416
|
+
status: TransactionalEmailStatus;
|
|
12417
12417
|
recipientEmailNormalized: string;
|
|
12418
12418
|
attemptCount: number;
|
|
12419
12419
|
transport: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairdraw/cloud",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.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.19.
|
|
26
|
+
"@pairdraw/scene-graph": "^0.19.1",
|
|
27
27
|
"@vue-email/components": "^0.0.21",
|
|
28
28
|
"@vue-email/render": "^0.0.9",
|
|
29
29
|
"better-auth": "1.7.7",
|