@open-pencil/cloud 0.16.0 → 0.17.0-beta.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 CHANGED
@@ -433,7 +433,7 @@ declare const enrollmentSchema: v.ObjectSchema<{
433
433
  }, undefined>;
434
434
  declare const enrollmentsResponseSchema: v.ObjectSchema<{
435
435
  readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
436
- 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>;
436
+ 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>;
437
437
  readonly enrollments: v.ArraySchema<v.ObjectSchema<{
438
438
  readonly id: v.StringSchema<undefined>;
439
439
  readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
package/dist/server.d.ts CHANGED
@@ -651,7 +651,7 @@ declare function createEnrollmentService(database: Kysely<CloudDatabase>, emailO
651
651
  requestRevision: number;
652
652
  }[];
653
653
  total: number;
654
- counts: Record<"pending" | "approved" | "rejected" | "revoked", number>;
654
+ counts: Record<"pending" | "rejected" | "revoked" | "approved", number>;
655
655
  }>;
656
656
  review(actorId: string, enrollmentId: string, status: Exclude<EnrollmentStatus, "pending">, input: EnrollmentReviewInput): Promise<EnrollmentRecord>;
657
657
  bindApprovedUser(email: string, userId: string): Promise<void>;
@@ -703,8 +703,8 @@ declare function createAdminEmailService(database: Kysely<CloudDatabase>, email?
703
703
  regeneratable: boolean;
704
704
  kind: TransactionalEmailKind;
705
705
  id: string;
706
- status: TransactionalEmailStatus;
707
706
  createdAt: Date;
707
+ status: TransactionalEmailStatus;
708
708
  recipientEmailNormalized: string;
709
709
  attemptCount: number;
710
710
  transport: string | null;
@@ -1234,7 +1234,7 @@ declare function createAccountAuthenticationService(auth: CloudAuthAdapter, conf
1234
1234
  methods(headers: Headers): Promise<{
1235
1235
  methods: {
1236
1236
  id: string;
1237
- provider: "google" | "apple" | "credential";
1237
+ provider: "credential" | "google" | "apple";
1238
1238
  createdAt: string;
1239
1239
  canUnlink: boolean;
1240
1240
  }[];
@@ -1339,7 +1339,7 @@ declare function createCloudAuthenticationRuntime(config: CloudServerConfig, dat
1339
1339
  requestRevision: number;
1340
1340
  }[];
1341
1341
  total: number;
1342
- counts: Record<"pending" | "approved" | "rejected" | "revoked", number>;
1342
+ counts: Record<"pending" | "rejected" | "revoked" | "approved", number>;
1343
1343
  }>;
1344
1344
  review(actorId: string, enrollmentId: string, status: Exclude<EnrollmentStatus, "pending">, input: EnrollmentReviewInput): Promise<EnrollmentRecord>;
1345
1345
  bindApprovedUser(email: string, userId: string): Promise<void>;
@@ -7203,7 +7203,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
7203
7203
  input: {
7204
7204
  query: {
7205
7205
  search?: string | undefined;
7206
- filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
7206
+ filter?: "pending" | "rejected" | "revoked" | "approved" | undefined;
7207
7207
  limit?: number | undefined;
7208
7208
  offset?: number | undefined;
7209
7209
  };
@@ -7219,7 +7219,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
7219
7219
  input: {
7220
7220
  query: {
7221
7221
  search?: string | undefined;
7222
- filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
7222
+ filter?: "pending" | "rejected" | "revoked" | "approved" | undefined;
7223
7223
  limit?: number | undefined;
7224
7224
  offset?: number | undefined;
7225
7225
  };
@@ -7242,9 +7242,9 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
7242
7242
  total: number;
7243
7243
  counts: {
7244
7244
  pending: number;
7245
- approved: number;
7246
7245
  rejected: number;
7247
7246
  revoked: number;
7247
+ approved: number;
7248
7248
  };
7249
7249
  };
7250
7250
  outputFormat: "json";
@@ -7496,7 +7496,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
7496
7496
  sessions: {
7497
7497
  id: string;
7498
7498
  current: boolean;
7499
- method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
7499
+ method: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
7500
7500
  ipAddress: string | null;
7501
7501
  browser: string | null;
7502
7502
  system: string | null;
@@ -7506,7 +7506,7 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
7506
7506
  }[];
7507
7507
  signIns: {
7508
7508
  id: string;
7509
- method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
7509
+ method: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
7510
7510
  ipAddress: string | null;
7511
7511
  browser: string | null;
7512
7512
  system: string | null;
@@ -7764,8 +7764,8 @@ declare function createCloudAdminRoutes(services: CloudAdminServices, trustedOri
7764
7764
  regeneratable: boolean;
7765
7765
  kind: TransactionalEmailKind;
7766
7766
  id: string;
7767
- status: TransactionalEmailStatus;
7768
7767
  createdAt: string;
7768
+ status: TransactionalEmailStatus;
7769
7769
  recipientEmailNormalized: string;
7770
7770
  attemptCount: number;
7771
7771
  transport: string | null;
@@ -8162,7 +8162,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
8162
8162
  image?: string | null | undefined;
8163
8163
  deploymentRole?: "user" | "admin" | undefined;
8164
8164
  };
8165
- state: "pending" | "rejected" | "revoked" | "active";
8165
+ state: "active" | "pending" | "rejected" | "revoked";
8166
8166
  };
8167
8167
  outputFormat: "json";
8168
8168
  status: import("hono/utils/http-status").ContentfulStatusCode;
@@ -8768,7 +8768,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
8768
8768
  sessions: {
8769
8769
  id: string;
8770
8770
  current: boolean;
8771
- method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
8771
+ method: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
8772
8772
  ipAddress: string | null;
8773
8773
  browser: string | null;
8774
8774
  system: string | null;
@@ -8858,7 +8858,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
8858
8858
  output: {
8859
8859
  signIns: {
8860
8860
  id: string;
8861
- method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
8861
+ method: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
8862
8862
  ipAddress: string | null;
8863
8863
  browser: string | null;
8864
8864
  system: string | null;
@@ -8885,7 +8885,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
8885
8885
  output: {
8886
8886
  methods: {
8887
8887
  id: string;
8888
- provider: "google" | "apple" | "credential";
8888
+ provider: "credential" | "google" | "apple";
8889
8889
  createdAt: string;
8890
8890
  canUnlink: boolean;
8891
8891
  }[];
@@ -8900,9 +8900,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
8900
8900
  $get: {
8901
8901
  input: {
8902
8902
  param: {
8903
- userId: string;
8904
- } & {
8905
8903
  version: string;
8904
+ } & {
8905
+ userId: string;
8906
8906
  };
8907
8907
  };
8908
8908
  output: {
@@ -8915,9 +8915,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
8915
8915
  } | {
8916
8916
  input: {
8917
8917
  param: {
8918
- userId: string;
8919
- } & {
8920
8918
  version: string;
8919
+ } & {
8920
+ userId: string;
8921
8921
  };
8922
8922
  };
8923
8923
  output: Uint8Array<ArrayBuffer>;
@@ -9466,7 +9466,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
9466
9466
  input: {
9467
9467
  query: {
9468
9468
  search?: string | undefined;
9469
- filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
9469
+ filter?: "pending" | "rejected" | "revoked" | "approved" | undefined;
9470
9470
  limit?: number | undefined;
9471
9471
  offset?: number | undefined;
9472
9472
  };
@@ -9482,7 +9482,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
9482
9482
  input: {
9483
9483
  query: {
9484
9484
  search?: string | undefined;
9485
- filter?: "pending" | "approved" | "rejected" | "revoked" | undefined;
9485
+ filter?: "pending" | "rejected" | "revoked" | "approved" | undefined;
9486
9486
  limit?: number | undefined;
9487
9487
  offset?: number | undefined;
9488
9488
  };
@@ -9505,9 +9505,9 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
9505
9505
  total: number;
9506
9506
  counts: {
9507
9507
  pending: number;
9508
- approved: number;
9509
9508
  rejected: number;
9510
9509
  revoked: number;
9510
+ approved: number;
9511
9511
  };
9512
9512
  };
9513
9513
  outputFormat: "json";
@@ -9759,7 +9759,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
9759
9759
  sessions: {
9760
9760
  id: string;
9761
9761
  current: boolean;
9762
- method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
9762
+ method: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other" | null;
9763
9763
  ipAddress: string | null;
9764
9764
  browser: string | null;
9765
9765
  system: string | null;
@@ -9769,7 +9769,7 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
9769
9769
  }[];
9770
9770
  signIns: {
9771
9771
  id: string;
9772
- method: "password" | "google" | "apple" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
9772
+ method: "google" | "apple" | "password" | "passkey" | "two-step" | "email-link" | "desktop" | "other";
9773
9773
  ipAddress: string | null;
9774
9774
  browser: string | null;
9775
9775
  system: string | null;
@@ -10027,8 +10027,8 @@ declare function createCloudApp(services: CloudServices): import("hono/hono-base
10027
10027
  regeneratable: boolean;
10028
10028
  kind: TransactionalEmailKind;
10029
10029
  id: string;
10030
- status: TransactionalEmailStatus;
10031
10030
  createdAt: string;
10031
+ status: TransactionalEmailStatus;
10032
10032
  recipientEmailNormalized: string;
10033
10033
  attemptCount: number;
10034
10034
  transport: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-pencil/cloud",
3
- "version": "0.16.0",
3
+ "version": "0.17.0-beta.1",
4
4
  "license": "Apache-2.0 AND MIT",
5
5
  "files": [
6
6
  "dist",
@@ -22,7 +22,7 @@
22
22
  "@hono/node-server": "^1.19.17",
23
23
  "@internationalized/date": "^3.12.3",
24
24
  "@noble/hashes": "^2.4.0",
25
- "@open-pencil/scene-graph": "^0.16.0",
25
+ "@open-pencil/scene-graph": "^0.17.0-beta.1",
26
26
  "@openfeature/server-sdk": "^1.23.0",
27
27
  "@vue-email/components": "^0.0.21",
28
28
  "@vue-email/render": "^0.0.9",