From d2f305dd98573c594492a25f2b377db62afc5e27 Mon Sep 17 00:00:00 2001 From: willbot Date: Fri, 30 Oct 2026 15:54:22 +0100 Subject: [PATCH 1/3] chore(deps): move Composer to Prisma ORM 8.0.0-rc.22 and management-api-sdk 1.89.0 Every @prisma/orm-* pin moves to 8.0.0-rc.22. A root override runs the published prisma host on toolchain rc.22. Contracts are re-emitted (storage hashes unchanged), the TypeScript fixtures drop the removed field presets, and the lease call handles the SDK's new 400 response body. Signed-off-by: willbot Signed-off-by: Will Madden --- examples/auth/contract.d.ts | 46 +- examples/auth/contract.json | 2 +- .../contract.d.ts | 123 ++- .../contract.json | 13 +- .../contract.d.ts | 44 +- examples/auth/package.json | 2 +- examples/orm-demo/contract.d.ts | 44 +- .../contract.d.ts | 153 ++-- .../contract.json | 139 +++- examples/orm-demo/package.json | 4 +- examples/store/modules/catalog/contract.d.ts | 44 +- .../contract.d.ts | 191 +++-- .../contract.json | 204 ++++- examples/store/modules/catalog/package.json | 2 +- examples/store/modules/orders/contract.d.ts | 44 +- .../contract.d.ts | 203 ++--- .../contract.json | 201 ++++- examples/store/modules/orders/package.json | 2 +- package.json | 3 +- .../0-lowering/lowering/package.json | 2 +- .../0-lowering/lowering/src/state/lease.ts | 16 +- .../1-extensions/target/package.json | 4 +- .../packed-contract/source/contract.ts | 8 +- .../widget-contract/source/contract.ts | 8 +- .../2-shared-modules/auth/package.json | 4 +- .../auth/src/pack/contract.d.ts | 44 +- packages/9-public/composer-cli/package.json | 2 +- .../composer-prisma-cloud/package.json | 8 +- packages/9-public/composer/package.json | 2 +- pnpm-lock.yaml | 740 +++++++++++++++--- website/package.json | 2 +- 31 files changed, 1883 insertions(+), 421 deletions(-) diff --git a/examples/auth/contract.d.ts b/examples/auth/contract.d.ts index 3b937392b..97965cfeb 100644 --- a/examples/auth/contract.d.ts +++ b/examples/auth/contract.d.ts @@ -42,6 +42,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -91,8 +95,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -100,6 +110,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -151,8 +169,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -160,6 +184,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -203,7 +235,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -243,14 +280,16 @@ export type FieldOutputTypes = FieldTypesFromDomain< CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'output' + 'output', + ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'input' + 'input', + ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = {}; export type StorageColumnTypes = ColumnTypesFromStorage< @@ -340,11 +379,10 @@ type ContractBase = Omit< readonly id: 'auth'; readonly kind: 'extension'; readonly targetId: 'postgres'; - readonly version: '0.33.0'; + readonly version: '0.36.0'; }; }; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/auth/contract.json b/examples/auth/contract.json index 22959a5cc..2acde082b 100644 --- a/examples/auth/contract.json +++ b/examples/auth/contract.json @@ -56,7 +56,7 @@ "id": "auth", "kind": "extension", "targetId": "postgres", - "version": "0.33.0" + "version": "0.36.0" } }, "meta": {}, diff --git a/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.d.ts b/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.d.ts index 259f24170..97965cfeb 100644 --- a/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.d.ts +++ b/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.d.ts @@ -1,32 +1,22 @@ // ⚠️ GENERATED FILE - DO NOT EDIT // This file is automatically generated by 'prisma contract emit'. // To regenerate, run: prisma contract emit -import type { QueryOperationTypes as PgAdapterQueryOps } from '@prisma/orm-postgres/adapter/operation-types'; import type { - Bit, - Char, CodecTypes as PgTypes, - Interval, - JsonValue, - Numeric, - Time, - TimeString, - Timestamp, - TimestampString, - Timestamptz, - TimestamptzString, - Timetz, - VarBit, - Varchar, + ParameterizedOutputTypesForTypeParams as PgParameterizedOutputTypes, } from '@prisma/orm-postgres/target/codec-types'; +import type { QueryOperationTypes as PgTargetQueryOps } from '@prisma/orm-postgres/target/operation-types'; import type { + ColumnTypesFromStorage, ContractWithTypeMaps, + RelationKeys, TypeMaps as TypeMapsType, } from '@prisma/orm-postgres/family-contract/types'; import type { Contract as ContractType, ExecutionHashBase, + FieldTypesFromDomain, NamespaceId, ProfileHashBase, StorageHashBase, @@ -40,7 +30,7 @@ export type ProfileHash = export type CodecTypes = PgTypes; export type LaneCodecTypes = CodecTypes; -export type QueryOperationTypes = PgAdapterQueryOps; +export type QueryOperationTypes = PgTargetQueryOps; export type AggregateTypes = { readonly avg: { readonly byCodec: { @@ -52,6 +42,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -101,8 +95,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -110,6 +110,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -118,6 +126,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -157,8 +169,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -166,6 +184,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -174,6 +200,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -205,7 +235,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -237,11 +272,47 @@ type DefaultLiteralValue = CodecId extends keyo ? Encoded : CodecTypes[CodecId]['json'] : Encoded; +type ParameterizedOutputTypeFunctions = PgParameterizedOutputTypes; + +type FieldTypeOverrides = {}; +export type FieldOutputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'output', + ContractBase['storage']['namespaces'] +>; +export type FieldInputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'input', + ContractBase['storage']['namespaces'] +>; +type ColumnTypeOverrides = {}; +export type StorageColumnTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'output' +>; +export type StorageColumnInputTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'input' +>; + +export namespace Models {} + +export declare const models: { + public: {}; +}; -export type FieldOutputTypes = { readonly public: Record }; -export type FieldInputTypes = { readonly public: Record }; -export type StorageColumnTypes = { readonly public: {} }; -export type StorageColumnInputTypes = { readonly public: {} }; export type TypeMaps = TypeMapsType< CodecTypes, QueryOperationTypes, @@ -278,6 +349,8 @@ type ContractBase = Omit< readonly capabilities: { readonly postgres: { readonly distinctOn: true; + readonly forKeyShare: true; + readonly forNoKeyUpdate: true; readonly jsonAgg: true; readonly lateral: true; readonly limit: true; @@ -288,7 +361,14 @@ type ContractBase = Omit< readonly checkConstraint: true; readonly defaultInInsert: true; readonly enums: true; + readonly forShare: true; + readonly forUpdate: true; + readonly insertOnConflictSkip: true; + readonly insertOnConflictWithoutTarget: true; readonly lateral: true; + readonly lockNowait: true; + readonly lockOf: true; + readonly lockSkipLocked: true; readonly returning: true; readonly scalarList: true; }; @@ -299,11 +379,10 @@ type ContractBase = Omit< readonly id: 'auth'; readonly kind: 'extension'; readonly targetId: 'postgres'; - readonly version: '0.14.0'; + readonly version: '0.36.0'; }; }; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.json b/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.json index 5e5346305..2acde082b 100644 --- a/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.json +++ b/examples/auth/migrations/snapshots/0c0734babd6eeb868fee1f281ca96963022475611560e9f170f465daa35f8599/contract.json @@ -26,6 +26,8 @@ "capabilities": { "postgres": { "distinctOn": true, + "forKeyShare": true, + "forNoKeyUpdate": true, "jsonAgg": true, "lateral": true, "limit": true, @@ -36,7 +38,14 @@ "checkConstraint": true, "defaultInInsert": true, "enums": true, + "forShare": true, + "forUpdate": true, + "insertOnConflictSkip": true, + "insertOnConflictWithoutTarget": true, "lateral": true, + "lockNowait": true, + "lockOf": true, + "lockSkipLocked": true, "returning": true, "scalarList": true } @@ -47,7 +56,7 @@ "id": "auth", "kind": "extension", "targetId": "postgres", - "version": "0.14.0" + "version": "0.36.0" } }, "meta": {}, @@ -56,4 +65,4 @@ "message": "This file is automatically generated by \"prisma contract emit\".", "regenerate": "To regenerate, run: prisma contract emit" } -} \ No newline at end of file +} diff --git a/examples/auth/migrations/snapshots/24a0762cac2c89426d118c9a9a81876ebcf32eba11789722d7c907ba710dc60d/contract.d.ts b/examples/auth/migrations/snapshots/24a0762cac2c89426d118c9a9a81876ebcf32eba11789722d7c907ba710dc60d/contract.d.ts index c67e5e6ad..0c7e11486 100644 --- a/examples/auth/migrations/snapshots/24a0762cac2c89426d118c9a9a81876ebcf32eba11789722d7c907ba710dc60d/contract.d.ts +++ b/examples/auth/migrations/snapshots/24a0762cac2c89426d118c9a9a81876ebcf32eba11789722d7c907ba710dc60d/contract.d.ts @@ -42,6 +42,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -91,8 +95,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -100,6 +110,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -151,8 +169,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -160,6 +184,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -203,7 +235,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -243,14 +280,16 @@ export type FieldOutputTypes = FieldTypesFromDomain< CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'output' + 'output', + ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'input' + 'input', + ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = {}; export type StorageColumnTypes = ColumnTypesFromStorage< @@ -1141,7 +1180,6 @@ type ContractBase = Omit< }; readonly extensions: {}; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/auth/package.json b/examples/auth/package.json index c5fcde9d6..78bb3f71d 100644 --- a/examples/auth/package.json +++ b/examples/auth/package.json @@ -15,7 +15,7 @@ "@prisma/composer": "workspace:0.36.0", "@prisma/composer-cli": "workspace:0.36.0", "@prisma/composer-prisma-cloud": "workspace:0.36.0", - "@prisma/orm-postgres": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", "arktype": "^2.2.3", "hono": "^4.12.31" }, diff --git a/examples/orm-demo/contract.d.ts b/examples/orm-demo/contract.d.ts index b00cc079d..5ead3262e 100644 --- a/examples/orm-demo/contract.d.ts +++ b/examples/orm-demo/contract.d.ts @@ -43,6 +43,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -92,8 +96,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -101,6 +111,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -152,8 +170,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -161,6 +185,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -204,7 +236,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -244,14 +281,16 @@ export type FieldOutputTypes = FieldTypesFromDomain< CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'output' + 'output', + ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'input' + 'input', + ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = {}; export type StorageColumnTypes = ColumnTypesFromStorage< @@ -407,7 +446,6 @@ type ContractBase = Omit< }; }; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.d.ts b/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.d.ts index 1bafffa68..5ead3262e 100644 --- a/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.d.ts +++ b/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.d.ts @@ -1,26 +1,14 @@ // ⚠️ GENERATED FILE - DO NOT EDIT // This file is automatically generated by 'prisma contract emit'. // To regenerate, run: prisma contract emit -import type { QueryOperationTypes as PgAdapterQueryOps } from '@prisma/orm-postgres/adapter/operation-types'; import type { - Bit, - Char, CodecTypes as PgTypes, - Interval, - JsonValue, - Numeric, - Time, - TimeString, - Timestamp, - TimestampString, - Timestamptz, - TimestamptzString, - Timetz, - VarBit, - Varchar, + ParameterizedOutputTypesForTypeParams as PgParameterizedOutputTypes, } from '@prisma/orm-postgres/target/codec-types'; +import type { QueryOperationTypes as PgTargetQueryOps } from '@prisma/orm-postgres/target/operation-types'; import type { + ColumnTypesFromStorage, ContractWithTypeMaps, RelationKeys, TypeMaps as TypeMapsType, @@ -28,6 +16,7 @@ import type { import type { Contract as ContractType, ExecutionHashBase, + FieldTypesFromDomain, NamespaceId, ProfileHashBase, StorageHashBase, @@ -36,13 +25,13 @@ import type { export type StorageHash = StorageHashBase<'175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee'>; export type ExecutionHash = - ExecutionHashBase<'eeaf1f4046a71ed6f02d863393397a283adf15b8666139245223083206542e82'>; + ExecutionHashBase<'135e2930e315fc22e070649b3dfc0bbbea85c31b9956875c3ec4fba757dd1d88'>; export type ProfileHash = ProfileHashBase<'3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2'>; export type CodecTypes = PgTypes; export type LaneCodecTypes = CodecTypes; -export type QueryOperationTypes = PgAdapterQueryOps; +export type QueryOperationTypes = PgTargetQueryOps; export type AggregateTypes = { readonly avg: { readonly byCodec: { @@ -54,6 +43,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -103,8 +96,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -112,6 +111,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -120,6 +127,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -159,8 +170,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -168,6 +185,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -176,6 +201,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -207,7 +236,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -239,44 +273,45 @@ type DefaultLiteralValue = CodecId extends keyo ? Encoded : CodecTypes[CodecId]['json'] : Encoded; +type ParameterizedOutputTypeFunctions = PgParameterizedOutputTypes; -export type FieldOutputTypes = { - readonly public: { - readonly Widget: { - readonly id: CodecTypes['pg/text@1']['output']; - readonly label: CodecTypes['pg/text@1']['output']; - }; - }; -}; -export type FieldInputTypes = { - readonly public: { - readonly Widget: { - readonly id: CodecTypes['pg/text@1']['input']; - readonly label: CodecTypes['pg/text@1']['input']; - }; - }; -}; -export type StorageColumnTypes = { - readonly public: { - readonly Widget: { - readonly id: CodecTypes['pg/text@1']['output']; - readonly label: CodecTypes['pg/text@1']['output']; - }; - }; -}; -export type StorageColumnInputTypes = { - readonly public: { - readonly Widget: { - readonly id: CodecTypes['pg/text@1']['input']; - readonly label: CodecTypes['pg/text@1']['input']; - }; - }; -}; +type FieldTypeOverrides = {}; +export type FieldOutputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'output', + ContractBase['storage']['namespaces'] +>; +export type FieldInputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'input', + ContractBase['storage']['namespaces'] +>; +type ColumnTypeOverrides = {}; +export type StorageColumnTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'output' +>; +export type StorageColumnInputTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'input' +>; export namespace Models { export type public_Widget = { - id: CodecTypes['pg/text@1']['output']; - label: CodecTypes['pg/text@1']['output']; + id: FieldOutputTypes['public']['Widget']['id']; + label: FieldOutputTypes['public']['Widget']['label']; readonly [RelationKeys]?: never; }; } @@ -370,6 +405,8 @@ type ContractBase = Omit< readonly capabilities: { readonly postgres: { readonly distinctOn: true; + readonly forKeyShare: true; + readonly forNoKeyUpdate: true; readonly jsonAgg: true; readonly lateral: true; readonly limit: true; @@ -380,7 +417,14 @@ type ContractBase = Omit< readonly checkConstraint: true; readonly defaultInInsert: true; readonly enums: true; + readonly forShare: true; + readonly forUpdate: true; + readonly insertOnConflictSkip: true; + readonly insertOnConflictWithoutTarget: true; readonly lateral: true; + readonly lockNowait: true; + readonly lockOf: true; + readonly lockSkipLocked: true; readonly returning: true; readonly scalarList: true; }; @@ -391,18 +435,17 @@ type ContractBase = Omit< readonly mutations: { readonly defaults: readonly [ { + readonly onCreate: { readonly id: 'uuidv4'; readonly kind: 'generator' }; readonly ref: { + readonly entry: 'Widget'; + readonly field: 'id'; readonly namespace: 'public'; - readonly table: 'Widget'; - readonly column: 'id'; }; - readonly onCreate: { readonly kind: 'generator'; readonly id: 'uuidv4' }; }, ]; }; }; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.json b/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.json index 52cd75c4c..d860662bb 100644 --- a/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.json +++ b/examples/orm-demo/migrations/snapshots/175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee/contract.json @@ -1 +1,138 @@ -{"_generated":{"message":"This file is automatically generated by \"prisma contract emit\".","regenerate":"To regenerate, run: prisma contract emit","warning":"⚠️ GENERATED FILE - DO NOT EDIT"},"capabilities":{"postgres":{"distinctOn":true,"jsonAgg":true,"lateral":true,"limit":true,"orderBy":true,"returning":true},"sql":{"checkConstraint":true,"defaultInInsert":true,"enums":true,"lateral":true,"returning":true,"scalarList":true}},"domain":{"namespaces":{"public":{"models":{"Widget":{"fields":{"id":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"label":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}}},"relations":{},"storage":{"fields":{"id":{"column":"id"},"label":{"column":"label"}},"namespaceId":"public","table":"Widget"}}}}}},"execution":{"executionHash":"eeaf1f4046a71ed6f02d863393397a283adf15b8666139245223083206542e82","mutations":{"defaults":[{"onCreate":{"id":"uuidv4","kind":"generator"},"ref":{"column":"id","namespace":"public","table":"Widget"}}]}},"extensions":{},"meta":{},"profileHash":"3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2","roots":{"Widget":{"model":"Widget","namespace":"public"}},"schemaVersion":"1","storage":{"namespaces":{"public":{"entries":{"table":{"Widget":{"columns":{"id":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"label":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false}},"foreignKeys":[],"indexes":[],"primaryKey":{"columns":["id"]},"uniques":[]}}},"id":"public","kind":"postgres-schema"}},"storageHash":"175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee"},"target":"postgres","targetFamily":"sql"} +{ + "schemaVersion": "1", + "targetFamily": "sql", + "target": "postgres", + "profileHash": "3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2", + "roots": { + "Widget": { + "model": "Widget", + "namespace": "public" + } + }, + "domain": { + "namespaces": { + "public": { + "models": { + "Widget": { + "fields": { + "id": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "label": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + } + }, + "relations": {}, + "storage": { + "fields": { + "id": { + "column": "id" + }, + "label": { + "column": "label" + } + }, + "namespaceId": "public", + "table": "Widget" + } + } + } + } + } + }, + "storage": { + "namespaces": { + "public": { + "entries": { + "table": { + "Widget": { + "columns": { + "id": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "label": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + } + }, + "foreignKeys": [], + "indexes": [], + "primaryKey": { + "columns": [ + "id" + ] + }, + "uniques": [] + } + } + }, + "id": "public", + "kind": "postgres-schema" + } + }, + "storageHash": "175be57590fa5824e15c09338d2e8c3fd18a5d96d8cf804d8e86eff38010e7ee" + }, + "execution": { + "executionHash": "135e2930e315fc22e070649b3dfc0bbbea85c31b9956875c3ec4fba757dd1d88", + "mutations": { + "defaults": [ + { + "onCreate": { + "id": "uuidv4", + "kind": "generator" + }, + "ref": { + "entry": "Widget", + "field": "id", + "namespace": "public" + } + } + ] + } + }, + "capabilities": { + "postgres": { + "distinctOn": true, + "forKeyShare": true, + "forNoKeyUpdate": true, + "jsonAgg": true, + "lateral": true, + "limit": true, + "orderBy": true, + "returning": true + }, + "sql": { + "checkConstraint": true, + "defaultInInsert": true, + "enums": true, + "forShare": true, + "forUpdate": true, + "insertOnConflictSkip": true, + "insertOnConflictWithoutTarget": true, + "lateral": true, + "lockNowait": true, + "lockOf": true, + "lockSkipLocked": true, + "returning": true, + "scalarList": true + } + }, + "extensions": {}, + "meta": {}, + "_generated": { + "warning": "⚠️ GENERATED FILE - DO NOT EDIT", + "message": "This file is automatically generated by \"prisma contract emit\".", + "regenerate": "To regenerate, run: prisma contract emit" + } +} \ No newline at end of file diff --git a/examples/orm-demo/package.json b/examples/orm-demo/package.json index ff360f4ab..5089b736d 100644 --- a/examples/orm-demo/package.json +++ b/examples/orm-demo/package.json @@ -12,14 +12,14 @@ "dependencies": { "@prisma/composer": "workspace:0.36.0", "@prisma/composer-prisma-cloud": "workspace:0.36.0", - "@prisma/orm-postgres": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", "effect": "4.0.3", "pg": "8.22.0" }, "devDependencies": { "@prisma/composer": "workspace:0.36.0", "@prisma/composer-cli": "workspace:0.36.0", - "@prisma/management-api-sdk": "^1.80.0", + "@prisma/management-api-sdk": "^1.89.0", "@types/bun": "^1.3.13", "prisma": "catalog:", "typescript": "^6.0.3" diff --git a/examples/store/modules/catalog/contract.d.ts b/examples/store/modules/catalog/contract.d.ts index 1834caff0..1d2df3c74 100644 --- a/examples/store/modules/catalog/contract.d.ts +++ b/examples/store/modules/catalog/contract.d.ts @@ -42,6 +42,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -91,8 +95,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -100,6 +110,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -151,8 +169,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -160,6 +184,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -203,7 +235,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -243,14 +280,16 @@ export type FieldOutputTypes = FieldTypesFromDomain< CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'output' + 'output', + ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'input' + 'input', + ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = {}; export type StorageColumnTypes = ColumnTypesFromStorage< @@ -463,7 +502,6 @@ type ContractBase = Omit< }; readonly extensions: {}; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.d.ts b/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.d.ts index 07103c93c..1d2df3c74 100644 --- a/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.d.ts +++ b/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.d.ts @@ -1,26 +1,14 @@ // ⚠️ GENERATED FILE - DO NOT EDIT // This file is automatically generated by 'prisma contract emit'. // To regenerate, run: prisma contract emit -import type { QueryOperationTypes as PgAdapterQueryOps } from '@prisma/orm-postgres/adapter/operation-types'; import type { - Bit, - Char, CodecTypes as PgTypes, - Interval, - JsonValue, - Numeric, - Time, - TimeString, - Timestamp, - TimestampString, - Timestamptz, - TimestamptzString, - Timetz, - VarBit, - Varchar, + ParameterizedOutputTypesForTypeParams as PgParameterizedOutputTypes, } from '@prisma/orm-postgres/target/codec-types'; +import type { QueryOperationTypes as PgTargetQueryOps } from '@prisma/orm-postgres/target/operation-types'; import type { + ColumnTypesFromStorage, ContractWithTypeMaps, RelationKeys, TypeMaps as TypeMapsType, @@ -28,6 +16,7 @@ import type { import type { Contract as ContractType, ExecutionHashBase, + FieldTypesFromDomain, NamespaceId, ProfileHashBase, StorageHashBase, @@ -41,7 +30,7 @@ export type ProfileHash = export type CodecTypes = PgTypes; export type LaneCodecTypes = CodecTypes; -export type QueryOperationTypes = PgAdapterQueryOps; +export type QueryOperationTypes = PgTargetQueryOps; export type AggregateTypes = { readonly avg: { readonly byCodec: { @@ -53,6 +42,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -102,8 +95,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -111,6 +110,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -119,6 +126,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -158,8 +169,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -167,6 +184,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -175,6 +200,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -206,7 +235,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -238,75 +272,52 @@ type DefaultLiteralValue = CodecId extends keyo ? Encoded : CodecTypes[CodecId]['json'] : Encoded; +type ParameterizedOutputTypeFunctions = PgParameterizedOutputTypes; -export type FieldOutputTypes = { - readonly public: { - readonly Product: { - readonly id: CodecTypes['pg/text@1']['output']; - readonly name: CodecTypes['pg/text@1']['output']; - readonly description: CodecTypes['pg/text@1']['output']; - readonly priceCents: CodecTypes['pg/int4@1']['output']; - }; - readonly Special: { - readonly id: CodecTypes['pg/int4@1']['output']; - readonly productId: CodecTypes['pg/text@1']['output']; - }; - }; -}; -export type FieldInputTypes = { - readonly public: { - readonly Product: { - readonly id: CodecTypes['pg/text@1']['input']; - readonly name: CodecTypes['pg/text@1']['input']; - readonly description: CodecTypes['pg/text@1']['input']; - readonly priceCents: CodecTypes['pg/int4@1']['input']; - }; - readonly Special: { - readonly id: CodecTypes['pg/int4@1']['input']; - readonly productId: CodecTypes['pg/text@1']['input']; - }; - }; -}; -export type StorageColumnTypes = { - readonly public: { - readonly product: { - readonly description: CodecTypes['pg/text@1']['output']; - readonly id: CodecTypes['pg/text@1']['output']; - readonly name: CodecTypes['pg/text@1']['output']; - readonly priceCents: CodecTypes['pg/int4@1']['output']; - }; - readonly special: { - readonly id: CodecTypes['pg/int4@1']['output']; - readonly productId: CodecTypes['pg/text@1']['output']; - }; - }; -}; -export type StorageColumnInputTypes = { - readonly public: { - readonly product: { - readonly description: CodecTypes['pg/text@1']['input']; - readonly id: CodecTypes['pg/text@1']['input']; - readonly name: CodecTypes['pg/text@1']['input']; - readonly priceCents: CodecTypes['pg/int4@1']['input']; - }; - readonly special: { - readonly id: CodecTypes['pg/int4@1']['input']; - readonly productId: CodecTypes['pg/text@1']['input']; - }; - }; -}; +type FieldTypeOverrides = {}; +export type FieldOutputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'output', + ContractBase['storage']['namespaces'] +>; +export type FieldInputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'input', + ContractBase['storage']['namespaces'] +>; +type ColumnTypeOverrides = {}; +export type StorageColumnTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'output' +>; +export type StorageColumnInputTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'input' +>; export namespace Models { export type public_Product = { - id: CodecTypes['pg/text@1']['output']; - name: CodecTypes['pg/text@1']['output']; - description: CodecTypes['pg/text@1']['output']; - priceCents: CodecTypes['pg/int4@1']['output']; + description: FieldOutputTypes['public']['Product']['description']; + id: FieldOutputTypes['public']['Product']['id']; + name: FieldOutputTypes['public']['Product']['name']; + priceCents: FieldOutputTypes['public']['Product']['priceCents']; readonly [RelationKeys]?: never; }; export type public_Special = { - id: CodecTypes['pg/int4@1']['output']; - productId: CodecTypes['pg/text@1']['output']; + id: FieldOutputTypes['public']['Special']['id']; + productId: FieldOutputTypes['public']['Special']['productId']; readonly [RelationKeys]?: never; }; } @@ -338,19 +349,19 @@ type ContractBase = Omit< readonly table: { readonly product: { columns: { - readonly id: { + readonly description: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; - readonly name: { + readonly id: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; - readonly description: { + readonly name: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; @@ -408,15 +419,15 @@ type ContractBase = Omit< readonly models: { readonly Product: { readonly fields: { - readonly id: { + readonly description: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; - readonly name: { + readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; - readonly description: { + readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; @@ -430,9 +441,9 @@ type ContractBase = Omit< readonly table: 'product'; readonly namespaceId: 'public'; readonly fields: { + readonly description: { readonly column: 'description' }; readonly id: { readonly column: 'id' }; readonly name: { readonly column: 'name' }; - readonly description: { readonly column: 'description' }; readonly priceCents: { readonly column: 'priceCents' }; }; }; @@ -465,6 +476,8 @@ type ContractBase = Omit< readonly capabilities: { readonly postgres: { readonly distinctOn: true; + readonly forKeyShare: true; + readonly forNoKeyUpdate: true; readonly jsonAgg: true; readonly lateral: true; readonly limit: true; @@ -475,14 +488,20 @@ type ContractBase = Omit< readonly checkConstraint: true; readonly defaultInInsert: true; readonly enums: true; + readonly forShare: true; + readonly forUpdate: true; + readonly insertOnConflictSkip: true; + readonly insertOnConflictWithoutTarget: true; readonly lateral: true; + readonly lockNowait: true; + readonly lockOf: true; + readonly lockSkipLocked: true; readonly returning: true; readonly scalarList: true; }; }; readonly extensions: {}; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.json b/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.json index 00427bb2c..e29cfc6be 100644 --- a/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.json +++ b/examples/store/modules/catalog/migrations/snapshots/6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7/contract.json @@ -1 +1,203 @@ -{"_generated":{"message":"This file is automatically generated by \"prisma contract emit\".","regenerate":"To regenerate, run: prisma contract emit","warning":"⚠️ GENERATED FILE - DO NOT EDIT"},"capabilities":{"postgres":{"distinctOn":true,"jsonAgg":true,"lateral":true,"limit":true,"orderBy":true,"returning":true},"sql":{"checkConstraint":true,"defaultInInsert":true,"enums":true,"lateral":true,"returning":true,"scalarList":true}},"domain":{"namespaces":{"public":{"models":{"Product":{"fields":{"description":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"id":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"name":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"priceCents":{"nullable":false,"type":{"codecId":"pg/int4@1","kind":"scalar"}}},"relations":{},"storage":{"fields":{"description":{"column":"description"},"id":{"column":"id"},"name":{"column":"name"},"priceCents":{"column":"priceCents"}},"namespaceId":"public","table":"product"}},"Special":{"fields":{"id":{"nullable":false,"type":{"codecId":"pg/int4@1","kind":"scalar"}},"productId":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}}},"relations":{},"storage":{"fields":{"id":{"column":"id"},"productId":{"column":"productId"}},"namespaceId":"public","table":"special"}}}}}},"extensions":{},"meta":{},"profileHash":"3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2","roots":{"product":{"model":"Product","namespace":"public"},"special":{"model":"Special","namespace":"public"}},"schemaVersion":"1","storage":{"namespaces":{"public":{"entries":{"table":{"product":{"columns":{"description":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"id":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"name":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"priceCents":{"codecId":"pg/int4@1","dataType":"pg/int4","nullable":false}},"foreignKeys":[],"indexes":[],"primaryKey":{"columns":["id"]},"uniques":[]},"special":{"columns":{"id":{"codecId":"pg/int4@1","dataType":"pg/int4","nullable":false},"productId":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false}},"foreignKeys":[],"indexes":[],"primaryKey":{"columns":["id"]},"uniques":[]}}},"id":"public","kind":"postgres-schema"}},"storageHash":"6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7"},"target":"postgres","targetFamily":"sql"} +{ + "schemaVersion": "1", + "targetFamily": "sql", + "target": "postgres", + "profileHash": "3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2", + "roots": { + "product": { + "model": "Product", + "namespace": "public" + }, + "special": { + "model": "Special", + "namespace": "public" + } + }, + "domain": { + "namespaces": { + "public": { + "models": { + "Product": { + "fields": { + "description": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "id": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "name": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "priceCents": { + "nullable": false, + "type": { + "codecId": "pg/int4@1", + "kind": "scalar" + } + } + }, + "relations": {}, + "storage": { + "fields": { + "description": { + "column": "description" + }, + "id": { + "column": "id" + }, + "name": { + "column": "name" + }, + "priceCents": { + "column": "priceCents" + } + }, + "namespaceId": "public", + "table": "product" + } + }, + "Special": { + "fields": { + "id": { + "nullable": false, + "type": { + "codecId": "pg/int4@1", + "kind": "scalar" + } + }, + "productId": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + } + }, + "relations": {}, + "storage": { + "fields": { + "id": { + "column": "id" + }, + "productId": { + "column": "productId" + } + }, + "namespaceId": "public", + "table": "special" + } + } + } + } + } + }, + "storage": { + "namespaces": { + "public": { + "entries": { + "table": { + "product": { + "columns": { + "description": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "id": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "name": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "priceCents": { + "codecId": "pg/int4@1", + "dataType": "pg/int4", + "nullable": false + } + }, + "foreignKeys": [], + "indexes": [], + "primaryKey": { + "columns": ["id"] + }, + "uniques": [] + }, + "special": { + "columns": { + "id": { + "codecId": "pg/int4@1", + "dataType": "pg/int4", + "nullable": false + }, + "productId": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + } + }, + "foreignKeys": [], + "indexes": [], + "primaryKey": { + "columns": ["id"] + }, + "uniques": [] + } + } + }, + "id": "public", + "kind": "postgres-schema" + } + }, + "storageHash": "6db9c25a3e2e1fcaa023871b01a2b5e9180ad55f6c5be50d8f66113b098723f7" + }, + "capabilities": { + "postgres": { + "distinctOn": true, + "forKeyShare": true, + "forNoKeyUpdate": true, + "jsonAgg": true, + "lateral": true, + "limit": true, + "orderBy": true, + "returning": true + }, + "sql": { + "checkConstraint": true, + "defaultInInsert": true, + "enums": true, + "forShare": true, + "forUpdate": true, + "insertOnConflictSkip": true, + "insertOnConflictWithoutTarget": true, + "lateral": true, + "lockNowait": true, + "lockOf": true, + "lockSkipLocked": true, + "returning": true, + "scalarList": true + } + }, + "extensions": {}, + "meta": {}, + "_generated": { + "warning": "⚠️ GENERATED FILE - DO NOT EDIT", + "message": "This file is automatically generated by \"prisma contract emit\".", + "regenerate": "To regenerate, run: prisma contract emit" + } +} diff --git a/examples/store/modules/catalog/package.json b/examples/store/modules/catalog/package.json index d63c57aa3..361cce96d 100644 --- a/examples/store/modules/catalog/package.json +++ b/examples/store/modules/catalog/package.json @@ -14,7 +14,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@prisma/orm-postgres": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", "arktype": "^2.2.3", "pg": "8.22.0" }, diff --git a/examples/store/modules/orders/contract.d.ts b/examples/store/modules/orders/contract.d.ts index a5758904d..718c029b7 100644 --- a/examples/store/modules/orders/contract.d.ts +++ b/examples/store/modules/orders/contract.d.ts @@ -43,6 +43,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -92,8 +96,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -101,6 +111,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -152,8 +170,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -161,6 +185,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -204,7 +236,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -244,14 +281,16 @@ export type FieldOutputTypes = FieldTypesFromDomain< CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'output' + 'output', + ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'input' + 'input', + ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = {}; export type StorageColumnTypes = ColumnTypesFromStorage< @@ -459,7 +498,6 @@ type ContractBase = Omit< }; }; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.d.ts b/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.d.ts index c9a0ac335..718c029b7 100644 --- a/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.d.ts +++ b/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.d.ts @@ -1,26 +1,14 @@ // ⚠️ GENERATED FILE - DO NOT EDIT // This file is automatically generated by 'prisma contract emit'. // To regenerate, run: prisma contract emit -import type { QueryOperationTypes as PgAdapterQueryOps } from '@prisma/orm-postgres/adapter/operation-types'; import type { - Bit, - Char, CodecTypes as PgTypes, - Interval, - JsonValue, - Numeric, - Time, - TimeString, - Timestamp, - TimestampString, - Timestamptz, - TimestamptzString, - Timetz, - VarBit, - Varchar, + ParameterizedOutputTypesForTypeParams as PgParameterizedOutputTypes, } from '@prisma/orm-postgres/target/codec-types'; +import type { QueryOperationTypes as PgTargetQueryOps } from '@prisma/orm-postgres/target/operation-types'; import type { + ColumnTypesFromStorage, ContractWithTypeMaps, RelationKeys, TypeMaps as TypeMapsType, @@ -28,6 +16,7 @@ import type { import type { Contract as ContractType, ExecutionHashBase, + FieldTypesFromDomain, NamespaceId, ProfileHashBase, StorageHashBase, @@ -36,13 +25,13 @@ import type { export type StorageHash = StorageHashBase<'37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633'>; export type ExecutionHash = - ExecutionHashBase<'b5c434581da9e8e337c5f3b6c33380510ec06e99563a75042cc746221f8de695'>; + ExecutionHashBase<'b3b95342eb9df0c6db2d019cc34937725096db72725d4c43f60a59ce851095c6'>; export type ProfileHash = ProfileHashBase<'3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2'>; export type CodecTypes = PgTypes; export type LaneCodecTypes = CodecTypes; -export type QueryOperationTypes = PgAdapterQueryOps; +export type QueryOperationTypes = PgTargetQueryOps; export type AggregateTypes = { readonly avg: { readonly byCodec: { @@ -54,6 +43,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -103,8 +96,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -112,6 +111,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -120,6 +127,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -159,8 +170,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -168,6 +185,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -176,6 +201,10 @@ export type AggregateTypes = { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamptz-date@1': { + readonly output: 'pg/timestamptz-date@1'; + readonly nullable: true; + }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; @@ -207,7 +236,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -239,64 +273,49 @@ type DefaultLiteralValue = CodecId extends keyo ? Encoded : CodecTypes[CodecId]['json'] : Encoded; +type ParameterizedOutputTypeFunctions = PgParameterizedOutputTypes; -export type FieldOutputTypes = { - readonly public: { - readonly Order: { - readonly id: CodecTypes['pg/text@1']['output']; - readonly productId: CodecTypes['pg/text@1']['output']; - readonly productName: CodecTypes['pg/text@1']['output']; - readonly quantity: CodecTypes['pg/int4@1']['output']; - readonly totalCents: CodecTypes['pg/int4@1']['output']; - readonly placedAt: CodecTypes['pg/timestamptz-string@1']['output']; - }; - }; -}; -export type FieldInputTypes = { - readonly public: { - readonly Order: { - readonly id: CodecTypes['pg/text@1']['input']; - readonly productId: CodecTypes['pg/text@1']['input']; - readonly productName: CodecTypes['pg/text@1']['input']; - readonly quantity: CodecTypes['pg/int4@1']['input']; - readonly totalCents: CodecTypes['pg/int4@1']['input']; - readonly placedAt: CodecTypes['pg/timestamptz-string@1']['input']; - }; - }; -}; -export type StorageColumnTypes = { - readonly public: { - readonly order: { - readonly id: CodecTypes['pg/text@1']['output']; - readonly placedAt: CodecTypes['pg/timestamptz-string@1']['output']; - readonly productId: CodecTypes['pg/text@1']['output']; - readonly productName: CodecTypes['pg/text@1']['output']; - readonly quantity: CodecTypes['pg/int4@1']['output']; - readonly totalCents: CodecTypes['pg/int4@1']['output']; - }; - }; -}; -export type StorageColumnInputTypes = { - readonly public: { - readonly order: { - readonly id: CodecTypes['pg/text@1']['input']; - readonly placedAt: CodecTypes['pg/timestamptz-string@1']['input']; - readonly productId: CodecTypes['pg/text@1']['input']; - readonly productName: CodecTypes['pg/text@1']['input']; - readonly quantity: CodecTypes['pg/int4@1']['input']; - readonly totalCents: CodecTypes['pg/int4@1']['input']; - }; - }; -}; +type FieldTypeOverrides = {}; +export type FieldOutputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'output', + ContractBase['storage']['namespaces'] +>; +export type FieldInputTypes = FieldTypesFromDomain< + ContractBase['domain']['namespaces'], + CodecTypes, + ParameterizedOutputTypeFunctions, + FieldTypeOverrides, + 'input', + ContractBase['storage']['namespaces'] +>; +type ColumnTypeOverrides = {}; +export type StorageColumnTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'output' +>; +export type StorageColumnInputTypes = ColumnTypesFromStorage< + ContractBase['storage'], + CodecTypes, + ParameterizedOutputTypeFunctions, + ColumnTypeOverrides, + 'input' +>; export namespace Models { export type public_Order = { - id: CodecTypes['pg/text@1']['output']; - productId: CodecTypes['pg/text@1']['output']; - productName: CodecTypes['pg/text@1']['output']; - quantity: CodecTypes['pg/int4@1']['output']; - totalCents: CodecTypes['pg/int4@1']['output']; - placedAt: CodecTypes['pg/timestamptz-string@1']['output']; + id: FieldOutputTypes['public']['Order']['id']; + placedAt: FieldOutputTypes['public']['Order']['placedAt']; + productId: FieldOutputTypes['public']['Order']['productId']; + productName: FieldOutputTypes['public']['Order']['productName']; + quantity: FieldOutputTypes['public']['Order']['quantity']; + totalCents: FieldOutputTypes['public']['Order']['totalCents']; readonly [RelationKeys]?: never; }; } @@ -333,6 +352,13 @@ type ContractBase = Omit< readonly nullable: false; readonly many: false; }; + readonly placedAt: { + readonly dataType: 'pg/timestamptz'; + readonly codecId: 'pg/timestamptz-string@1'; + readonly nullable: false; + readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; + readonly many: false; + }; readonly productId: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; @@ -357,13 +383,6 @@ type ContractBase = Omit< readonly nullable: false; readonly many: false; }; - readonly placedAt: { - readonly dataType: 'pg/timestamptz'; - readonly codecId: 'pg/timestamptz-string@1'; - readonly nullable: false; - readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; - readonly many: false; - }; }; primaryKey: { readonly columns: readonly ['id'] }; uniques: readonly []; @@ -393,6 +412,13 @@ type ContractBase = Omit< readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; + readonly placedAt: { + readonly nullable: false; + readonly type: { + readonly kind: 'scalar'; + readonly codecId: 'pg/timestamptz-string@1'; + }; + }; readonly productId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; @@ -409,13 +435,6 @@ type ContractBase = Omit< readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; - readonly placedAt: { - readonly nullable: false; - readonly type: { - readonly kind: 'scalar'; - readonly codecId: 'pg/timestamptz-string@1'; - }; - }; }; readonly relations: Record; readonly storage: { @@ -423,11 +442,11 @@ type ContractBase = Omit< readonly namespaceId: 'public'; readonly fields: { readonly id: { readonly column: 'id' }; + readonly placedAt: { readonly column: 'placedAt' }; readonly productId: { readonly column: 'productId' }; readonly productName: { readonly column: 'productName' }; readonly quantity: { readonly column: 'quantity' }; readonly totalCents: { readonly column: 'totalCents' }; - readonly placedAt: { readonly column: 'placedAt' }; }; }; }; @@ -438,6 +457,8 @@ type ContractBase = Omit< readonly capabilities: { readonly postgres: { readonly distinctOn: true; + readonly forKeyShare: true; + readonly forNoKeyUpdate: true; readonly jsonAgg: true; readonly lateral: true; readonly limit: true; @@ -448,7 +469,14 @@ type ContractBase = Omit< readonly checkConstraint: true; readonly defaultInInsert: true; readonly enums: true; + readonly forShare: true; + readonly forUpdate: true; + readonly insertOnConflictSkip: true; + readonly insertOnConflictWithoutTarget: true; readonly lateral: true; + readonly lockNowait: true; + readonly lockOf: true; + readonly lockSkipLocked: true; readonly returning: true; readonly scalarList: true; }; @@ -459,18 +487,17 @@ type ContractBase = Omit< readonly mutations: { readonly defaults: readonly [ { + readonly onCreate: { readonly id: 'uuidv4'; readonly kind: 'generator' }; readonly ref: { readonly entry: 'order'; readonly field: 'id'; readonly namespace: 'public'; }; - readonly onCreate: { readonly kind: 'generator'; readonly id: 'uuidv4' }; }, ]; }; }; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.json b/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.json index ea36a0148..2fdddb16b 100644 --- a/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.json +++ b/examples/store/modules/orders/migrations/snapshots/37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633/contract.json @@ -1 +1,200 @@ -{"_generated":{"message":"This file is automatically generated by \"prisma contract emit\".","regenerate":"To regenerate, run: prisma contract emit","warning":"⚠️ GENERATED FILE - DO NOT EDIT"},"capabilities":{"postgres":{"distinctOn":true,"jsonAgg":true,"lateral":true,"limit":true,"orderBy":true,"returning":true},"sql":{"checkConstraint":true,"defaultInInsert":true,"enums":true,"lateral":true,"returning":true,"scalarList":true}},"domain":{"namespaces":{"public":{"models":{"Order":{"fields":{"id":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"placedAt":{"nullable":false,"type":{"codecId":"pg/timestamptz-string@1","kind":"scalar"}},"productId":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"productName":{"nullable":false,"type":{"codecId":"pg/text@1","kind":"scalar"}},"quantity":{"nullable":false,"type":{"codecId":"pg/int4@1","kind":"scalar"}},"totalCents":{"nullable":false,"type":{"codecId":"pg/int4@1","kind":"scalar"}}},"relations":{},"storage":{"fields":{"id":{"column":"id"},"placedAt":{"column":"placedAt"},"productId":{"column":"productId"},"productName":{"column":"productName"},"quantity":{"column":"quantity"},"totalCents":{"column":"totalCents"}},"namespaceId":"public","table":"order"}}}}}},"execution":{"executionHash":"b5c434581da9e8e337c5f3b6c33380510ec06e99563a75042cc746221f8de695","mutations":{"defaults":[{"onCreate":{"id":"uuidv4","kind":"generator"},"ref":{"entry":"order","field":"id","namespace":"public"}}]}},"extensions":{},"meta":{},"profileHash":"3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2","roots":{"order":{"model":"Order","namespace":"public"}},"schemaVersion":"1","storage":{"namespaces":{"public":{"entries":{"table":{"order":{"columns":{"id":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"placedAt":{"codecId":"pg/timestamptz-string@1","dataType":"pg/timestamptz","default":{"expression":"now()","kind":"function"},"nullable":false},"productId":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"productName":{"codecId":"pg/text@1","dataType":"pg/text","nullable":false},"quantity":{"codecId":"pg/int4@1","dataType":"pg/int4","nullable":false},"totalCents":{"codecId":"pg/int4@1","dataType":"pg/int4","nullable":false}},"foreignKeys":[],"indexes":[],"primaryKey":{"columns":["id"]},"uniques":[]}}},"id":"public","kind":"postgres-schema"}},"storageHash":"37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633"},"target":"postgres","targetFamily":"sql"} +{ + "schemaVersion": "1", + "targetFamily": "sql", + "target": "postgres", + "profileHash": "3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2", + "roots": { + "order": { + "model": "Order", + "namespace": "public" + } + }, + "domain": { + "namespaces": { + "public": { + "models": { + "Order": { + "fields": { + "id": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "placedAt": { + "nullable": false, + "type": { + "codecId": "pg/timestamptz-string@1", + "kind": "scalar" + } + }, + "productId": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "productName": { + "nullable": false, + "type": { + "codecId": "pg/text@1", + "kind": "scalar" + } + }, + "quantity": { + "nullable": false, + "type": { + "codecId": "pg/int4@1", + "kind": "scalar" + } + }, + "totalCents": { + "nullable": false, + "type": { + "codecId": "pg/int4@1", + "kind": "scalar" + } + } + }, + "relations": {}, + "storage": { + "fields": { + "id": { + "column": "id" + }, + "placedAt": { + "column": "placedAt" + }, + "productId": { + "column": "productId" + }, + "productName": { + "column": "productName" + }, + "quantity": { + "column": "quantity" + }, + "totalCents": { + "column": "totalCents" + } + }, + "namespaceId": "public", + "table": "order" + } + } + } + } + } + }, + "storage": { + "namespaces": { + "public": { + "entries": { + "table": { + "order": { + "columns": { + "id": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "placedAt": { + "codecId": "pg/timestamptz-string@1", + "dataType": "pg/timestamptz", + "default": { + "expression": "now()", + "kind": "function" + }, + "nullable": false + }, + "productId": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "productName": { + "codecId": "pg/text@1", + "dataType": "pg/text", + "nullable": false + }, + "quantity": { + "codecId": "pg/int4@1", + "dataType": "pg/int4", + "nullable": false + }, + "totalCents": { + "codecId": "pg/int4@1", + "dataType": "pg/int4", + "nullable": false + } + }, + "foreignKeys": [], + "indexes": [], + "primaryKey": { + "columns": ["id"] + }, + "uniques": [] + } + } + }, + "id": "public", + "kind": "postgres-schema" + } + }, + "storageHash": "37a51f5613ada855a5cfabe9b5b25d154acf46e13ffd472c047817d8e42e3633" + }, + "execution": { + "executionHash": "b3b95342eb9df0c6db2d019cc34937725096db72725d4c43f60a59ce851095c6", + "mutations": { + "defaults": [ + { + "onCreate": { + "id": "uuidv4", + "kind": "generator" + }, + "ref": { + "entry": "order", + "field": "id", + "namespace": "public" + } + } + ] + } + }, + "capabilities": { + "postgres": { + "distinctOn": true, + "forKeyShare": true, + "forNoKeyUpdate": true, + "jsonAgg": true, + "lateral": true, + "limit": true, + "orderBy": true, + "returning": true + }, + "sql": { + "checkConstraint": true, + "defaultInInsert": true, + "enums": true, + "forShare": true, + "forUpdate": true, + "insertOnConflictSkip": true, + "insertOnConflictWithoutTarget": true, + "lateral": true, + "lockNowait": true, + "lockOf": true, + "lockSkipLocked": true, + "returning": true, + "scalarList": true + } + }, + "extensions": {}, + "meta": {}, + "_generated": { + "warning": "⚠️ GENERATED FILE - DO NOT EDIT", + "message": "This file is automatically generated by \"prisma contract emit\".", + "regenerate": "To regenerate, run: prisma contract emit" + } +} diff --git a/examples/store/modules/orders/package.json b/examples/store/modules/orders/package.json index b7ae9efd6..2bdecee3f 100644 --- a/examples/store/modules/orders/package.json +++ b/examples/store/modules/orders/package.json @@ -14,7 +14,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@prisma/orm-postgres": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", "@store/catalog": "workspace:0.36.0", "arktype": "^2.2.3", "pg": "8.22.0" diff --git a/package.json b/package.json index 9a9c3e80b..62ac36581 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,8 @@ "pnpm": { "overrides": { "@prisma/composer-cli": "workspace:*", - "@prisma/cli-engine": "0.9.0" + "@prisma/cli-engine": "0.9.0", + "@prisma/orm-toolchain": "8.0.0-rc.22" }, "onlyBuiltDependencies": [ "prisma", diff --git a/packages/1-prisma-cloud/0-lowering/lowering/package.json b/packages/1-prisma-cloud/0-lowering/lowering/package.json index 8a81d8e95..37800053f 100644 --- a/packages/1-prisma-cloud/0-lowering/lowering/package.json +++ b/packages/1-prisma-cloud/0-lowering/lowering/package.json @@ -22,7 +22,7 @@ "@internal/bundle-paths": "workspace:0.36.0", "@internal/core": "workspace:0.36.0", "@internal/foundation": "workspace:0.36.0", - "@prisma/management-api-sdk": "^1.80.0", + "@prisma/management-api-sdk": "^1.89.0", "alchemy": "2.0.0-beta.83", "effect": "4.0.3" }, diff --git a/packages/1-prisma-cloud/0-lowering/lowering/src/state/lease.ts b/packages/1-prisma-cloud/0-lowering/lowering/src/state/lease.ts index deef48e12..a4c9264e7 100644 --- a/packages/1-prisma-cloud/0-lowering/lowering/src/state/lease.ts +++ b/packages/1-prisma-cloud/0-lowering/lowering/src/state/lease.ts @@ -37,11 +37,19 @@ export interface DeployLease { readonly expiresAt: string; } +type LeaseErrorBody = + | { readonly error: { readonly message: string; readonly hint?: string } } + | { readonly success: false; readonly error: readonly unknown[] }; + /** The server names the current holder in its 409 message; pass it through verbatim, hint appended. */ -const serverErrorText = (error: { error: { message: string; hint?: string } }): string => - error.error.hint === undefined - ? error.error.message - : `${error.error.message} ${error.error.hint}`; +const serverErrorText = (body: LeaseErrorBody): string => { + if ('success' in body) { + return `the server rejected the lease request: ${JSON.stringify(body.error)}`; + } + return body.error.hint === undefined + ? body.error.message + : `${body.error.message} ${body.error.hint}`; +}; const transportError = (cause: unknown): PrismaApiError => new PrismaApiError({ status: 0, message: String(cause) }); diff --git a/packages/1-prisma-cloud/1-extensions/target/package.json b/packages/1-prisma-cloud/1-extensions/target/package.json index 3cf4278c7..e00b9bfc0 100644 --- a/packages/1-prisma-cloud/1-extensions/target/package.json +++ b/packages/1-prisma-cloud/1-extensions/target/package.json @@ -29,8 +29,8 @@ "@internal/node": "workspace:0.36.0", "@internal/s3-protocol": "workspace:0.36.0", "@internal/service-rpc": "workspace:0.36.0", - "@prisma/orm-postgres": "8.0.0-rc.20", - "@prisma/orm-toolchain": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", + "@prisma/orm-toolchain": "8.0.0-rc.22", "@standard-schema/spec": "^1.1.0", "alchemy": "2.0.0-beta.83", "arktype": "^2.2.3", diff --git a/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/packed-contract/source/contract.ts b/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/packed-contract/source/contract.ts index dc129d7a6..3135fe01e 100644 --- a/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/packed-contract/source/contract.ts +++ b/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/packed-contract/source/contract.ts @@ -1,14 +1,14 @@ // TS-authored fixture contract — the packed-contract fixture only exercises // config loading (resolveOrmConfig / the pack preflight), so the contract is // the widget shape verbatim; it is never emitted or migrated. -import { defineContract } from '@prisma/orm-postgres/contract-builder'; +import { defineContract, gen } from '@prisma/orm-postgres/contract-builder'; -export const contract = defineContract({ extensions: {} }, ({ field: f, model: m }) => ({ +export const contract = defineContract({ extensions: {} }, ({ field: f, model: m, type: t }) => ({ models: { Widget: m('Widget', { fields: { - id: f.id.uuidv4String(), - name: f.text(), + id: f.column(t.UuidString()).id().onCreate(gen.uuid()), + name: f.column(t.String()), }, }), }, diff --git a/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/widget-contract/source/contract.ts b/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/widget-contract/source/contract.ts index 22813dc74..55e83f5a1 100644 --- a/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/widget-contract/source/contract.ts +++ b/packages/1-prisma-cloud/1-extensions/target/src/__tests__/fixtures/widget-contract/source/contract.ts @@ -1,14 +1,14 @@ // TS-authored fixture: the widget contract covers Prisma ORM's TS no-emit // `defineContract()` authoring mode (the gadget fixture covers the PSL-first // mode), so the two together exercise both modes ADR-0022 says to support. -import { defineContract } from '@prisma/orm-postgres/contract-builder'; +import { defineContract, gen } from '@prisma/orm-postgres/contract-builder'; -export const contract = defineContract({ extensions: {} }, ({ field: f, model: m }) => ({ +export const contract = defineContract({ extensions: {} }, ({ field: f, model: m, type: t }) => ({ models: { Widget: m('Widget', { fields: { - id: f.id.uuidv4String(), - name: f.text(), + id: f.column(t.UuidString()).id().onCreate(gen.uuid()), + name: f.column(t.String()), }, }), }, diff --git a/packages/1-prisma-cloud/2-shared-modules/auth/package.json b/packages/1-prisma-cloud/2-shared-modules/auth/package.json index 3cff61992..65ab651c2 100644 --- a/packages/1-prisma-cloud/2-shared-modules/auth/package.json +++ b/packages/1-prisma-cloud/2-shared-modules/auth/package.json @@ -44,8 +44,8 @@ "arktype": "^2.2.3", "jose": "^6.1.3", "pg": "8.22.0", - "@prisma/orm-postgres": "8.0.0-rc.20", - "@prisma/orm-toolchain": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", + "@prisma/orm-toolchain": "8.0.0-rc.22", "better-auth": "1.6.24" }, "devDependencies": { diff --git a/packages/1-prisma-cloud/2-shared-modules/auth/src/pack/contract.d.ts b/packages/1-prisma-cloud/2-shared-modules/auth/src/pack/contract.d.ts index c67e5e6ad..0c7e11486 100644 --- a/packages/1-prisma-cloud/2-shared-modules/auth/src/pack/contract.d.ts +++ b/packages/1-prisma-cloud/2-shared-modules/auth/src/pack/contract.d.ts @@ -42,6 +42,10 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -91,8 +95,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -100,6 +110,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -151,8 +169,14 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; + readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; @@ -160,6 +184,14 @@ export type AggregateTypes = { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; + readonly 'pg/timestamp-date@1': { + readonly output: 'pg/timestamp-date@1'; + readonly nullable: true; + }; + readonly 'pg/timestamp-instant@1': { + readonly output: 'pg/timestamp-instant@1'; + readonly nullable: true; + }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; @@ -203,7 +235,12 @@ export type AggregateTypes = { readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; + readonly 'pg/interval-string@1': { + readonly output: 'pg/interval-string@1'; + readonly nullable: true; + }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; + readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; @@ -243,14 +280,16 @@ export type FieldOutputTypes = FieldTypesFromDomain< CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'output' + 'output', + ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, - 'input' + 'input', + ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = {}; export type StorageColumnTypes = ColumnTypesFromStorage< @@ -1141,7 +1180,6 @@ type ContractBase = Omit< }; readonly extensions: {}; readonly meta: {}; - readonly profileHash: ProfileHash; }; diff --git a/packages/9-public/composer-cli/package.json b/packages/9-public/composer-cli/package.json index 436c34015..26c7c34fd 100644 --- a/packages/9-public/composer-cli/package.json +++ b/packages/9-public/composer-cli/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@prisma/composer": "workspace:0.36.0", - "@prisma/management-api-sdk": "^1.80.0", + "@prisma/management-api-sdk": "^1.89.0", "alchemy": "2.0.0-beta.83", "cross-spawn": "^7.0.6", "effect": "4.0.3", diff --git a/packages/9-public/composer-prisma-cloud/package.json b/packages/9-public/composer-prisma-cloud/package.json index f4bc000c5..dd44be628 100644 --- a/packages/9-public/composer-prisma-cloud/package.json +++ b/packages/9-public/composer-prisma-cloud/package.json @@ -45,8 +45,8 @@ "@effect/platform-node-shared": "4.0.3", "@prisma/composer": "workspace:0.36.0", "@prisma/dev": "^0.25.2", - "@prisma/management-api-sdk": "^1.80.0", - "@prisma/orm-toolchain": "8.0.0-rc.20", + "@prisma/management-api-sdk": "^1.89.0", + "@prisma/orm-toolchain": "8.0.0-rc.22", "@standard-schema/spec": "^1.1.0", "alchemy": "2.0.0-beta.83", "arktype": "^2.2.3", @@ -57,7 +57,7 @@ "tsdown": "^0.22.7" }, "peerDependencies": { - "@prisma/orm-postgres": "8.0.0-rc.20" + "@prisma/orm-postgres": "8.0.0-rc.22" }, "devDependencies": { "@internal/auth": "workspace:0.36.0", @@ -77,7 +77,7 @@ "@internal/storage": "workspace:0.36.0", "@internal/streams": "workspace:0.36.0", "@internal/tsdown-config": "workspace:0.36.0", - "@prisma/orm-postgres": "8.0.0-rc.20", + "@prisma/orm-postgres": "8.0.0-rc.22", "@types/node": "^26.0.1", "typescript": "^6.0.3" }, diff --git a/packages/9-public/composer/package.json b/packages/9-public/composer/package.json index fe0231b64..3bb6db9e4 100644 --- a/packages/9-public/composer/package.json +++ b/packages/9-public/composer/package.json @@ -43,7 +43,7 @@ "cross-spawn": "^7.0.6", "effect": "4.0.3", "esbuild": "^0.28.1", - "@prisma/management-api-sdk": "^1.80.0" + "@prisma/management-api-sdk": "^1.89.0" }, "devDependencies": { "@internal/assemble": "workspace:0.36.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f687777a..74e429361 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,6 +13,7 @@ catalogs: overrides: '@prisma/composer-cli': workspace:* '@prisma/cli-engine': 0.9.0 + '@prisma/orm-toolchain': 8.0.0-rc.22 importers: @@ -67,8 +68,8 @@ importers: specifier: workspace:0.36.0 version: link:../../packages/9-public/composer-prisma-cloud '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -84,7 +85,7 @@ importers: version: 17.4.2 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -105,7 +106,7 @@ importers: version: link:../../packages/9-public/composer-prisma-cloud alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.11.4)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.11.4)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) effect: specifier: 4.0.3 version: 4.0.3 @@ -115,7 +116,7 @@ importers: version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -133,7 +134,7 @@ importers: version: link:../../packages/9-public/composer-prisma-cloud alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -149,7 +150,7 @@ importers: version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -234,8 +235,8 @@ importers: specifier: workspace:0.36.0 version: link:../../packages/9-public/composer-prisma-cloud '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) effect: specifier: 4.0.3 version: 4.0.3 @@ -247,14 +248,14 @@ importers: specifier: workspace:* version: link:../../packages/9-public/composer-cli '@prisma/management-api-sdk': - specifier: ^1.80.0 - version: 1.80.0 + specifier: ^1.89.0 + version: 1.89.0 '@types/bun': specifier: ^1.3.13 version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -272,7 +273,7 @@ importers: version: link:../../packages/9-public/composer-prisma-cloud alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) effect: specifier: 4.0.3 version: 4.0.3 @@ -285,7 +286,7 @@ importers: version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -318,7 +319,7 @@ importers: version: link:modules/storefront alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -331,7 +332,7 @@ importers: version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -339,8 +340,8 @@ importers: examples/store/modules/catalog: dependencies: '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -359,7 +360,7 @@ importers: version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -367,8 +368,8 @@ importers: examples/store/modules/orders: dependencies: '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@store/catalog': specifier: workspace:0.36.0 version: link:../catalog @@ -390,7 +391,7 @@ importers: version: 1.3.14 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -482,7 +483,7 @@ importers: version: link:modules/storefront alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -501,7 +502,7 @@ importers: version: 17.4.2 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -628,7 +629,7 @@ importers: version: 1.1.0 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) effect: specifier: 4.0.3 version: 4.0.3 @@ -814,7 +815,7 @@ importers: version: link:../../0-foundation/foundation '@prisma/cli-engine': specifier: 0.9.0 - version: 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) + version: 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) chokidar: specifier: ^4.0.3 version: 4.0.3 @@ -836,7 +837,7 @@ importers: version: 26.1.1 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) tsdown: specifier: ^0.22.7 version: 0.22.12(typescript@6.0.3) @@ -915,7 +916,7 @@ importers: version: 0.25.2(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) effect: specifier: 4.0.3 version: 4.0.3 @@ -969,11 +970,11 @@ importers: specifier: workspace:0.36.0 version: link:../../../0-framework/0-foundation/foundation '@prisma/management-api-sdk': - specifier: ^1.80.0 - version: 1.80.0 + specifier: ^1.89.0 + version: 1.89.0 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) effect: specifier: 4.0.3 version: 4.0.3 @@ -1048,17 +1049,17 @@ importers: specifier: workspace:0.36.0 version: link:../../../0-framework/2-authoring/service-rpc '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@prisma/orm-toolchain': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@standard-schema/spec': specifier: ^1.1.0 version: 1.1.0 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -1083,7 +1084,7 @@ importers: version: link:../../../0-framework/0-foundation/tsdown-config '@prisma/cli-engine': specifier: 0.9.0 - version: 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) + version: 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) '@types/bun': specifier: ^1.3.13 version: 1.3.14 @@ -1121,11 +1122,11 @@ importers: specifier: workspace:0.36.0 version: link:../../../0-framework/2-authoring/service-rpc '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@prisma/orm-toolchain': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -1339,14 +1340,14 @@ importers: specifier: 4.0.3 version: 4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))) '@prisma/management-api-sdk': - specifier: ^1.80.0 - version: 1.80.0 + specifier: ^1.89.0 + version: 1.89.0 '@standard-schema/spec': specifier: ^1.1.0 version: 1.1.0 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -1406,11 +1407,11 @@ importers: specifier: workspace:0.36.0 version: link:../composer '@prisma/management-api-sdk': - specifier: ^1.80.0 - version: 1.80.0 + specifier: ^1.89.0 + version: 1.89.0 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) cross-spawn: specifier: ^7.0.6 version: 7.0.6 @@ -1438,7 +1439,7 @@ importers: version: link:../../0-framework/0-foundation/tsdown-config '@prisma/cli-engine': specifier: 0.9.0 - version: 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) + version: 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) '@types/bun': specifier: ^1.3.13 version: 1.3.14 @@ -1473,17 +1474,17 @@ importers: specifier: ^0.25.2 version: 0.25.2(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@prisma/management-api-sdk': - specifier: ^1.80.0 - version: 1.80.0 + specifier: ^1.89.0 + version: 1.89.0 '@prisma/orm-toolchain': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@standard-schema/spec': specifier: ^1.1.0 version: 1.1.0 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) arktype: specifier: ^2.2.3 version: 2.2.7 @@ -1555,8 +1556,8 @@ importers: specifier: workspace:0.36.0 version: link:../../0-framework/0-foundation/tsdown-config '@prisma/orm-postgres': - specifier: 8.0.0-rc.20 - version: 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + specifier: 8.0.0-rc.22 + version: 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@types/node': specifier: ^26.0.1 version: 26.1.1 @@ -1592,13 +1593,13 @@ importers: version: 26.1.1 alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) cross-spawn: specifier: ^7.0.6 version: 7.0.6 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) typescript: specifier: ^6.0.3 version: 6.0.3 @@ -1613,14 +1614,14 @@ importers: version: link:../packages/9-public/composer-prisma-cloud alchemy: specifier: 2.0.0-beta.83 - version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) + version: 2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0) devDependencies: '@prisma/composer-cli': specifier: workspace:* version: link:../packages/9-public/composer-cli '@prisma/management-api-sdk': - specifier: ^1.80.0 - version: 1.80.0 + specifier: ^1.89.0 + version: 1.89.0 '@types/bun': specifier: ^1.3.13 version: 1.3.14 @@ -1632,7 +1633,7 @@ importers: version: 14.3.0 prisma: specifier: 'catalog:' - version: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + version: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) shiki: specifier: ^4.2.0 version: 4.3.1 @@ -2924,24 +2925,27 @@ packages: '@prisma/management-api-sdk@1.80.0': resolution: {integrity: sha512-pQN6hBqR2pgaF3S5sMCe3iZIlThIOgUXoDcinB6/AxXO3qM6oWnirSUAJlhFQ/Hr5A2PmdxScOuCB1dJYHZ4KQ==} - '@prisma/orm-family-sql@8.0.0-rc.20': - resolution: {integrity: sha512-DkfzI4FZnIrbsbk0yWrlSZZnAj73MenOxgxsSzADy4ThBTAtg1lZ3RbiBFDTMgBHiZUTELdnVjsIf2YloHXh9g==} + '@prisma/management-api-sdk@1.89.0': + resolution: {integrity: sha512-xYSFp1wtHUI1/w255bZtUQai/ROXmK1Tt6sBcrj5Q2XCtqQxu1cCjhCS9K1vqse5kuP/PfkBLwaIhUw8MIccFQ==} + + '@prisma/orm-family-sql@8.0.0-rc.22': + resolution: {integrity: sha512-odUcc7ywa1VnY4wVtcroGdcp8GqG76eWB0X0jYYYZWgIovxFnZnEl0oYPH1HXfSIBKmCtLmQ2QJXlUUF/M0ryw==} peerDependencies: typescript: '>=5.9' peerDependenciesMeta: typescript: optional: true - '@prisma/orm-framework@8.0.0-rc.20': - resolution: {integrity: sha512-yxeW/KdIRLj9lmxLr2PhvaDPTRpO9B6blGyW39W3SALPaFJ5riimvixbgQco7jyfTotqwTRIStCSUzJdsaDnCg==} + '@prisma/orm-framework@8.0.0-rc.22': + resolution: {integrity: sha512-Av51rTKY/spAirW9FQvpNkqwKZ6EbHb2E1jo1zLhCLwTYeZ4l1aPvbeAy24i1D59nG0xzEcfFUUXPJofc/TVvA==} peerDependencies: typescript: '>=5.9' peerDependenciesMeta: typescript: optional: true - '@prisma/orm-postgres@8.0.0-rc.20': - resolution: {integrity: sha512-axn65mmR6RQDWCn8ScgEdKZi8ib1dZdPm0WH2VmwgtAw9jTijgsX+7qX4C+NPPHZ58DenIbrPza+1I1bFCF+iw==} + '@prisma/orm-postgres@8.0.0-rc.22': + resolution: {integrity: sha512-z5yqcLLTIo4eMU+mAn2ojJZYk4LdOgyY35KEicFjOgxddQaf32yE1d5HuWDDZ3QomYsmz1tLX+8P7trAARuu7Q==} peerDependencies: temporal-polyfill: ^1.0.4 typescript: '>=5.9' @@ -2949,8 +2953,8 @@ packages: typescript: optional: true - '@prisma/orm-target-postgres@8.0.0-rc.20': - resolution: {integrity: sha512-7ixyhfbn6SCEtC8jmVN/jSsIXBlp/gGvIDOkTLXxjM9XXWa334HYDy/l4J3BuDGLJHle5f4MXceEdVlJTCXj3w==} + '@prisma/orm-target-postgres@8.0.0-rc.22': + resolution: {integrity: sha512-gn5uEib8Ovonv5p2IHzZRCcKPvceiPIZQjA9b1ozjtaoVwYCeKM9z+aoThMWoA9h/DEBuwf2HHnfkSoE/rVwfA==} peerDependencies: temporal-polyfill: ^1.0.4 typescript: '>=5.9' @@ -2958,8 +2962,8 @@ packages: typescript: optional: true - '@prisma/orm-toolchain@8.0.0-rc.20': - resolution: {integrity: sha512-MQnUgGmzOYDE4QJiyY8p612cRLFjQmV8fl7HL+rCxSK02Sm4HhTRIG6UFIKWcvfh5hAeR9rkJiOS/WLApZOTHA==} + '@prisma/orm-toolchain@8.0.0-rc.22': + resolution: {integrity: sha512-gVGP5KFb3ZoOSglvpJ+MEjQQUJgqKXY1+z6RAiRLTXvOxypfSz/qNOSh4YjwOsJaBEy/Nb+n4yMs5IhWfl04rg==} peerDependencies: '@prisma/cli-engine': 0.9.0 typescript: '>=5.9' @@ -7421,6 +7425,19 @@ snapshots: '@oxc-project/types@0.146.0': {} + '@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)': + dependencies: + '@clack/prompts': 1.5.0 + '@prisma/management-api-sdk': 1.80.0 + '@stricli/core': 1.3.0 + arktype: 2.2.7 + c12: 3.3.4(magicast@0.5.5) + colorette: 2.0.20 + package-manager-detector: 1.8.0 + string-width: 8.2.2 + transitivePeerDependencies: + - magicast + '@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5)': dependencies: '@clack/prompts': 1.5.0 @@ -7434,6 +7451,19 @@ snapshots: transitivePeerDependencies: - magicast + '@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5)': + dependencies: + '@clack/prompts': 1.5.0 + '@prisma/management-api-sdk': 1.89.0 + '@stricli/core': 1.3.0 + arktype: 2.2.7 + c12: 3.3.4(magicast@0.5.5) + colorette: 2.0.20 + package-manager-detector: 1.8.0 + string-width: 8.2.2 + transitivePeerDependencies: + - magicast + '@prisma/compute-sdk@0.43.0(@prisma/management-api-sdk@1.80.0)': dependencies: '@prisma/management-api-sdk': 1.80.0 @@ -7591,10 +7621,14 @@ snapshots: dependencies: openapi-fetch: 0.14.0 - '@prisma/orm-family-sql@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/management-api-sdk@1.89.0': dependencies: - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + openapi-fetch: 0.14.0 + + '@prisma/orm-family-sql@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@standard-schema/spec': 1.1.0 arktype: 2.2.7 pathe: 2.0.3 @@ -7609,10 +7643,10 @@ snapshots: - typanion - vite - '@prisma/orm-family-sql@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-family-sql@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@standard-schema/spec': 1.1.0 arktype: 2.2.7 pathe: 2.0.3 @@ -7627,7 +7661,62 @@ snapshots: - typanion - vite - '@prisma/orm-framework@8.0.0-rc.20(typescript@6.0.3)': + '@prisma/orm-family-sql@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@standard-schema/spec': 1.1.0 + arktype: 2.2.7 + pathe: 2.0.3 + pluralize: 8.0.0 + tinyglobby: 0.2.17 + ts-toolbelt: 9.6.0 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - typanion + - vite + + '@prisma/orm-family-sql@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@standard-schema/spec': 1.1.0 + arktype: 2.2.7 + pathe: 2.0.3 + pluralize: 8.0.0 + tinyglobby: 0.2.17 + ts-toolbelt: 9.6.0 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - typanion + - vite + optional: true + + '@prisma/orm-family-sql@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@standard-schema/spec': 1.1.0 + arktype: 2.2.7 + pathe: 2.0.3 + pluralize: 8.0.0 + tinyglobby: 0.2.17 + ts-toolbelt: 9.6.0 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - typanion + - vite + + '@prisma/orm-framework@8.0.0-rc.22(typescript@6.0.3)': dependencies: '@standard-schema/spec': 1.1.0 arktype: 2.2.7 @@ -7637,18 +7726,88 @@ snapshots: optionalDependencies: typescript: 6.0.3 - '@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-target-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@types/node': 26.1.2 + '@types/pg': 8.20.4 + arktype: 2.2.7 + pathe: 2.0.3 + pg: 8.22.0 + temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 + tinyglobby: 0.2.17 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - pg-native + - typanion + - vite + + '@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-target-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@types/node': 26.1.2 + '@types/pg': 8.20.4 + arktype: 2.2.7 + pathe: 2.0.3 + pg: 8.22.0 + temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 + tinyglobby: 0.2.17 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - pg-native + - typanion + - vite + + '@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-target-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@types/node': 26.1.2 + '@types/pg': 8.20.4 + arktype: 2.2.7 + pathe: 2.0.3 + pg: 8.22.0 + temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 + tinyglobby: 0.2.17 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - pg-native + - typanion + - vite + + '@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/orm-family-sql': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) - '@prisma/orm-target-postgres': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-target-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@types/node': 26.1.2 '@types/pg': 8.20.4 arktype: 2.2.7 pathe: 2.0.3 pg: 8.22.0 temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 tinyglobby: 0.2.17 optionalDependencies: typescript: 6.0.3 @@ -7658,19 +7817,21 @@ snapshots: - pg-native - typanion - vite + optional: true - '@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/orm-family-sql': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) - '@prisma/orm-target-postgres': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-target-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@types/node': 26.1.2 '@types/pg': 8.20.4 arktype: 2.2.7 pathe: 2.0.3 pg: 8.22.0 temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 tinyglobby: 0.2.17 optionalDependencies: typescript: 6.0.3 @@ -7681,20 +7842,22 @@ snapshots: - typanion - vite - '@prisma/orm-target-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-target-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/orm-family-sql': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@standard-schema/spec': 1.1.0 '@types/node': 26.1.2 '@types/pg': 8.20.4 arktype: 2.2.7 pathe: 2.0.3 pg: 8.22.0 + pg-connection-string: 2.14.0 pg-cursor: 2.21.0(pg@8.22.0) postgres-array: 2.0.0 temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 optionalDependencies: typescript: 6.0.3 transitivePeerDependencies: @@ -7704,20 +7867,22 @@ snapshots: - typanion - vite - '@prisma/orm-target-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-target-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/orm-family-sql': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@standard-schema/spec': 1.1.0 '@types/node': 26.1.2 '@types/pg': 8.20.4 arktype: 2.2.7 pathe: 2.0.3 pg: 8.22.0 + pg-connection-string: 2.14.0 pg-cursor: 2.21.0(pg@8.22.0) postgres-array: 2.0.0 temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 optionalDependencies: typescript: 6.0.3 transitivePeerDependencies: @@ -7727,10 +7892,144 @@ snapshots: - typanion - vite - '@prisma/orm-toolchain@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-target-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@standard-schema/spec': 1.1.0 + '@types/node': 26.1.2 + '@types/pg': 8.20.4 + arktype: 2.2.7 + pathe: 2.0.3 + pg: 8.22.0 + pg-connection-string: 2.14.0 + pg-cursor: 2.21.0(pg@8.22.0) + postgres-array: 2.0.0 + temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - pg-native + - typanion + - vite + + '@prisma/orm-target-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@standard-schema/spec': 1.1.0 + '@types/node': 26.1.2 + '@types/pg': 8.20.4 + arktype: 2.2.7 + pathe: 2.0.3 + pg: 8.22.0 + pg-connection-string: 2.14.0 + pg-cursor: 2.21.0(pg@8.22.0) + postgres-array: 2.0.0 + temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - pg-native + - typanion + - vite + optional: true + + '@prisma/orm-target-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/orm-family-sql': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@standard-schema/spec': 1.1.0 + '@types/node': 26.1.2 + '@types/pg': 8.20.4 + arktype: 2.2.7 + pathe: 2.0.3 + pg: 8.22.0 + pg-connection-string: 2.14.0 + pg-cursor: 2.21.0(pg@8.22.0) + postgres-array: 2.0.0 + temporal-polyfill: 1.0.5 + temporal-spec: 1.0.1 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - '@prisma/cli-engine' + - magicast + - pg-native + - typanion + - vite + + '@prisma/orm-toolchain@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@vercel/detect-agent': 1.2.5 + arktype: 2.2.7 + c12: 3.3.4(magicast@0.5.5) + ci-info: 4.4.0 + clipanion: 4.0.0-rc.4(typanion@3.14.0) + closest-match: 1.3.3 + colorette: 2.0.20 + esbuild: 0.28.2 + jsonc-parser: 3.3.1 + package-manager-detector: 1.8.0 + pathe: 2.0.3 + prettier: 3.9.6 + string-width: 8.2.2 + strip-ansi: 7.2.0 + tinyglobby: 0.2.17 + vscode-languageserver: 10.1.0 + vscode-languageserver-textdocument: 1.0.12 + wrap-ansi: 10.0.0 + optionalDependencies: + typescript: 6.0.3 + vite: 8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + transitivePeerDependencies: + - magicast + - typanion + + '@prisma/orm-toolchain@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@vercel/detect-agent': 1.2.5 + arktype: 2.2.7 + c12: 3.3.4(magicast@0.5.5) + ci-info: 4.4.0 + clipanion: 4.0.0-rc.4(typanion@3.14.0) + closest-match: 1.3.3 + colorette: 2.0.20 + esbuild: 0.28.2 + jsonc-parser: 3.3.1 + package-manager-detector: 1.8.0 + pathe: 2.0.3 + prettier: 3.9.6 + string-width: 8.2.2 + strip-ansi: 7.2.0 + tinyglobby: 0.2.17 + vscode-languageserver: 10.1.0 + vscode-languageserver-textdocument: 1.0.12 + wrap-ansi: 10.0.0 + optionalDependencies: + typescript: 6.0.3 + vite: 8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + transitivePeerDependencies: + - magicast + - typanion + + '@prisma/orm-toolchain@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) '@vercel/detect-agent': 1.2.5 arktype: 2.2.7 c12: 3.3.4(magicast@0.5.5) @@ -7756,10 +8055,10 @@ snapshots: - magicast - typanion - '@prisma/orm-toolchain@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-toolchain@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) '@vercel/detect-agent': 1.2.5 arktype: 2.2.7 c12: 3.3.4(magicast@0.5.5) @@ -7785,10 +8084,39 @@ snapshots: - magicast - typanion - '@prisma/orm-toolchain@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + '@prisma/orm-toolchain@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) - '@prisma/orm-framework': 8.0.0-rc.20(typescript@6.0.3) + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) + '@vercel/detect-agent': 1.2.5 + arktype: 2.2.7 + c12: 3.3.4(magicast@0.5.5) + ci-info: 4.4.0 + clipanion: 4.0.0-rc.4(typanion@3.14.0) + closest-match: 1.3.3 + colorette: 2.0.20 + esbuild: 0.28.2 + jsonc-parser: 3.3.1 + package-manager-detector: 1.8.0 + pathe: 2.0.3 + prettier: 3.9.6 + string-width: 8.2.2 + strip-ansi: 7.2.0 + tinyglobby: 0.2.17 + vscode-languageserver: 10.1.0 + vscode-languageserver-textdocument: 1.0.12 + wrap-ansi: 10.0.0 + optionalDependencies: + typescript: 6.0.3 + vite: 8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + transitivePeerDependencies: + - magicast + - typanion + + '@prisma/orm-toolchain@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))': + dependencies: + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5) + '@prisma/orm-framework': 8.0.0-rc.22(typescript@6.0.3) '@vercel/detect-agent': 1.2.5 arktype: 2.2.7 c12: 3.3.4(magicast@0.5.5) @@ -8756,7 +9084,7 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): + alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): dependencies: '@alchemy.run/cloudflare-runtime': 2.0.0-beta.83(@distilled.cloud/cloudflare@1.0.0-rc.15(effect@4.0.3))(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@types/node@26.1.1)(effect@4.0.3)(rolldown@1.2.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@alchemy.run/floci': 2.0.0-beta.83(effect@4.0.3) @@ -8801,7 +9129,7 @@ snapshots: '@effect/platform-bun': 4.0.3(effect@4.0.3) '@effect/platform-node': 4.0.3(effect@4.0.3)(redis@6.2.1) '@effect/vitest': 4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))) - '@prisma/orm-postgres': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@vercel/nft': 1.10.2 mongodb: 6.21.0(@aws-sdk/credential-providers@3.1077.0) pg: 8.22.0 @@ -8818,7 +9146,69 @@ snapshots: - typescript - utf-8-validate - alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): + alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.1)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): + dependencies: + '@alchemy.run/cloudflare-runtime': 2.0.0-beta.83(@distilled.cloud/cloudflare@1.0.0-rc.15(effect@4.0.3))(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@types/node@26.1.1)(effect@4.0.3)(rolldown@1.2.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@alchemy.run/floci': 2.0.0-beta.83(effect@4.0.3) + '@alchemy.run/node-utils': 2.0.0-beta.83 + '@alchemy.run/sigil': 0.1.0-alpha.1(@types/react@19.2.17) + '@distilled.cloud/acme': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/aws': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/axiom': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/cloudflare': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/core': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/doppler': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/fly-io': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/gcp': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/hetzner': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/iceberg': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/infisical': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/neon': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/planetscale': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/prisma': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/railway': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/stripe': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/turso': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/zerossl': 1.0.0-rc.15(effect@4.0.3) + '@effect/sql-d1': 4.0.3(effect@4.0.3) + '@effect/sql-sqlite-do': 4.0.3(effect@4.0.3) + '@libsql/client': 0.17.4 + '@neon/functions': 0.11.0(hono@4.12.31) + '@octokit/rest': 22.0.1 + '@octokit/webhooks': 14.2.0 + '@prisma/dev': 0.20.0(typescript@6.0.3) + '@types/aws-lambda': 8.10.162 + capnweb: 0.12.0 + effect: 4.0.3 + fflate: 0.8.3 + libsodium-wrappers: 0.8.4 + pathe: 2.0.3 + picomatch: 4.0.5 + rolldown: 1.2.5 + tinyglobby: 0.2.17 + yaml: 2.9.0 + optionalDependencies: + '@effect/platform-bun': 4.0.3(effect@4.0.3) + '@effect/platform-node': 4.0.3(effect@4.0.3)(redis@6.2.1) + '@effect/vitest': 4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.1)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))) + '@prisma/orm-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@vercel/nft': 1.10.2 + mongodb: 6.21.0(@aws-sdk/credential-providers@3.1077.0) + pg: 8.22.0 + prisma: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + vite: 8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + ws: 8.22.0 + transitivePeerDependencies: + - '@types/node' + - '@types/react' + - bufferutil + - hono + - proxy-agent + - react-devtools-core + - typescript + - utf-8-validate + + alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): dependencies: '@alchemy.run/cloudflare-runtime': 2.0.0-beta.83(@distilled.cloud/cloudflare@1.0.0-rc.15(effect@4.0.3))(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@types/node@26.1.2)(effect@4.0.3)(rolldown@1.2.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@alchemy.run/floci': 2.0.0-beta.83(effect@4.0.3) @@ -8863,7 +9253,7 @@ snapshots: '@effect/platform-bun': 4.0.3(effect@4.0.3) '@effect/platform-node': 4.0.3(effect@4.0.3)(redis@6.2.1) '@effect/vitest': 4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))) - '@prisma/orm-postgres': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@vercel/nft': 1.10.2 mongodb: 6.21.0(@aws-sdk/credential-providers@3.1077.0) pg: 8.22.0 @@ -8880,7 +9270,7 @@ snapshots: - typescript - utf-8-validate - alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.11.4)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): + alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.11.4)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): dependencies: '@alchemy.run/cloudflare-runtime': 2.0.0-beta.83(@distilled.cloud/cloudflare@1.0.0-rc.15(effect@4.0.3))(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@types/node@26.1.2)(effect@4.0.3)(rolldown@1.2.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@alchemy.run/floci': 2.0.0-beta.83(effect@4.0.3) @@ -8925,11 +9315,73 @@ snapshots: '@effect/platform-bun': 4.0.3(effect@4.0.3) '@effect/platform-node': 4.0.3(effect@4.0.3)(redis@6.2.1) '@effect/vitest': 4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))) - '@prisma/orm-postgres': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@vercel/nft': 1.10.2 mongodb: 6.21.0(@aws-sdk/credential-providers@3.1077.0) pg: 8.22.0 - prisma: 8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + prisma: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + vite: 8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) + ws: 8.22.0 + transitivePeerDependencies: + - '@types/node' + - '@types/react' + - bufferutil + - hono + - proxy-agent + - react-devtools-core + - typescript + - utf-8-validate + + alchemy@2.0.0-beta.83(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@effect/vitest@4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))))(@prisma/orm-postgres@8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(@types/node@26.1.2)(@types/react@19.2.17)(@vercel/nft@1.10.2)(effect@4.0.3)(hono@4.12.31)(mongodb@6.21.0(@aws-sdk/credential-providers@3.1077.0))(pg@8.22.0)(prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))(ws@8.22.0): + dependencies: + '@alchemy.run/cloudflare-runtime': 2.0.0-beta.83(@distilled.cloud/cloudflare@1.0.0-rc.15(effect@4.0.3))(@effect/platform-bun@4.0.3(effect@4.0.3))(@effect/platform-node@4.0.3(effect@4.0.3)(redis@6.2.1))(@types/node@26.1.2)(effect@4.0.3)(rolldown@1.2.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@alchemy.run/floci': 2.0.0-beta.83(effect@4.0.3) + '@alchemy.run/node-utils': 2.0.0-beta.83 + '@alchemy.run/sigil': 0.1.0-alpha.1(@types/react@19.2.17) + '@distilled.cloud/acme': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/aws': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/axiom': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/cloudflare': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/core': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/doppler': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/fly-io': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/gcp': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/hetzner': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/iceberg': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/infisical': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/neon': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/planetscale': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/prisma': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/railway': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/stripe': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/turso': 1.0.0-rc.15(effect@4.0.3) + '@distilled.cloud/zerossl': 1.0.0-rc.15(effect@4.0.3) + '@effect/sql-d1': 4.0.3(effect@4.0.3) + '@effect/sql-sqlite-do': 4.0.3(effect@4.0.3) + '@libsql/client': 0.17.4 + '@neon/functions': 0.11.0(hono@4.12.31) + '@octokit/rest': 22.0.1 + '@octokit/webhooks': 14.2.0 + '@prisma/dev': 0.20.0(typescript@6.0.3) + '@types/aws-lambda': 8.10.162 + capnweb: 0.12.0 + effect: 4.0.3 + fflate: 0.8.3 + libsodium-wrappers: 0.8.4 + pathe: 2.0.3 + picomatch: 4.0.5 + rolldown: 1.2.5 + tinyglobby: 0.2.17 + yaml: 2.9.0 + optionalDependencies: + '@effect/platform-bun': 4.0.3(effect@4.0.3) + '@effect/platform-node': 4.0.3(effect@4.0.3)(redis@6.2.1) + '@effect/vitest': 4.0.3(effect@4.0.3)(vitest@5.0.4(@types/node@26.1.2)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0))) + '@prisma/orm-postgres': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(temporal-polyfill@1.0.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@vercel/nft': 1.10.2 + mongodb: 6.21.0(@aws-sdk/credential-providers@3.1077.0) + pg: 8.22.0 + prisma: 8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) vite: 8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0) ws: 8.22.0 transitivePeerDependencies: @@ -10168,7 +10620,7 @@ snapshots: '@prisma/composer-cli': link:packages/9-public/composer-cli '@prisma/compute-sdk': 0.43.0(@prisma/management-api-sdk@1.80.0) '@prisma/management-api-sdk': 1.80.0 - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@vercel/detect-agent': 1.2.5 better-result: 2.9.2 cross-spawn: 7.0.6 @@ -10188,6 +10640,7 @@ snapshots: - typescript - utf-8-validate - vite + optional: true prisma@8.0.0-rc.26(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): dependencies: @@ -10196,7 +10649,7 @@ snapshots: '@prisma/composer-cli': link:packages/9-public/composer-cli '@prisma/compute-sdk': 0.43.0(@prisma/management-api-sdk@1.80.0) '@prisma/management-api-sdk': 1.80.0 - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typanion@3.14.0)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@vercel/detect-agent': 1.2.5 better-result: 2.9.2 cross-spawn: 7.0.6 @@ -10216,15 +10669,72 @@ snapshots: - typescript - utf-8-validate - vite + optional: true - prisma@8.0.0-rc.26(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): + prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): + dependencies: + '@manypkg/tools': 2.1.2 + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) + '@prisma/composer-cli': link:packages/9-public/composer-cli + '@prisma/compute-sdk': 0.43.0(@prisma/management-api-sdk@1.80.0) + '@prisma/management-api-sdk': 1.80.0 + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.89.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.1)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@vercel/detect-agent': 1.2.5 + better-result: 2.9.2 + cross-spawn: 7.0.6 + dotenv: 17.4.2 + execa: 9.6.1 + open: 11.0.4 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - bufferutil + - encoding + - magicast + - react-native-b4a + - rollup + - supports-color + - typanion + - typescript + - utf-8-validate + - vite + + prisma@8.0.0-rc.26(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): dependencies: '@manypkg/tools': 2.1.2 '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5) '@prisma/composer-cli': link:packages/9-public/composer-cli '@prisma/compute-sdk': 0.43.0(@prisma/management-api-sdk@1.80.0) '@prisma/management-api-sdk': 1.80.0 - '@prisma/orm-toolchain': 8.0.0-rc.20(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0)(magicast@0.5.5))(magicast@0.5.5)(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) + '@vercel/detect-agent': 1.2.5 + better-result: 2.9.2 + cross-spawn: 7.0.6 + dotenv: 17.4.2 + execa: 9.6.1 + open: 11.0.4 + transitivePeerDependencies: + - bare-abort-controller + - bare-buffer + - bufferutil + - encoding + - magicast + - react-native-b4a + - rollup + - supports-color + - typanion + - typescript + - utf-8-validate + - vite + + prisma@8.0.0-rc.26(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)): + dependencies: + '@manypkg/tools': 2.1.2 + '@prisma/cli-engine': 0.9.0(@prisma/management-api-sdk@1.80.0) + '@prisma/composer-cli': link:packages/9-public/composer-cli + '@prisma/compute-sdk': 0.43.0(@prisma/management-api-sdk@1.80.0) + '@prisma/management-api-sdk': 1.80.0 + '@prisma/orm-toolchain': 8.0.0-rc.22(@prisma/cli-engine@0.9.0(@prisma/management-api-sdk@1.80.0))(typescript@6.0.3)(vite@8.1.2(@types/node@26.1.2)(esbuild@0.28.2)(jiti@2.7.0)(yaml@2.9.0)) '@vercel/detect-agent': 1.2.5 better-result: 2.9.2 cross-spawn: 7.0.6 diff --git a/website/package.json b/website/package.json index 4a879262e..b86b63eb8 100644 --- a/website/package.json +++ b/website/package.json @@ -22,7 +22,7 @@ "@prisma/composer": "workspace:0.36.0", "@prisma/composer-cli": "workspace:0.36.0", "@prisma/composer-prisma-cloud": "workspace:0.36.0", - "@prisma/management-api-sdk": "^1.80.0", + "@prisma/management-api-sdk": "^1.89.0", "@types/bun": "^1.3.13", "@types/markdown-it": "^14.1.2", "markdown-it": "^14.1.0", From dd9eb78fb914b4d37bb157ed349c94386e1cfe90 Mon Sep 17 00:00:00 2001 From: Kristof Siket Date: Wed, 4 Nov 2026 14:28:39 +0100 Subject: [PATCH 2/3] fix(assemble): keep Prisma ORM out of the boot wrapper The boot wrapper bundles the service module, so a service with a postgres(contract) dependency carried a full copy of Prisma ORM in main.mjs, beside the copy in the app's own runnable. Prisma ORM 8.0.0-rc.22 refuses to run from two copies in one process (RUNTIME.MULTIPLE_ORM_COPIES), so every such service crashed at startup. The wrapper only declares dependencies and hands off to the app through process.env; it never builds a client. buildBootWrapper now replaces every @prisma/orm-* import in the wrapper with a stub whose exports throw when called, and the Node and Next.js builds share it. The examples/store integration run passes again, and the wrapper shrinks from 1.85 MB to 0.33 MB. Signed-off-by: Kristof Siket --- .../2-authoring/bundle-paths/package.json | 5 +- .../bundle-paths/src/boot-wrapper.test.ts | 55 +++++++++++++++++++ .../bundle-paths/src/boot-wrapper.ts | 53 ++++++++++++++++++ .../bundle-paths/src/exports/index.ts | 3 +- .../2-authoring/nextjs/package.json | 3 +- .../2-authoring/nextjs/src/control/build.ts | 12 +--- .../0-framework/2-authoring/node/package.json | 3 +- .../2-authoring/node/src/control/build.ts | 15 ++--- pnpm-lock.yaml | 10 ++-- 9 files changed, 126 insertions(+), 33 deletions(-) create mode 100644 packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.test.ts create mode 100644 packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.ts diff --git a/packages/0-framework/2-authoring/bundle-paths/package.json b/packages/0-framework/2-authoring/bundle-paths/package.json index 55da46839..75189141b 100644 --- a/packages/0-framework/2-authoring/bundle-paths/package.json +++ b/packages/0-framework/2-authoring/bundle-paths/package.json @@ -3,7 +3,7 @@ "version": "0.36.0", "private": true, "type": "module", - "description": "The path-containment predicate and bundle symlink validation shared by assembly and packaging (ADR-0047's boundary, defined once).", + "description": "The path-containment predicate, bundle symlink validation and boot-wrapper build shared by assembly and packaging (ADR-0047's boundary, defined once).", "exports": { ".": "./dist/index.mjs", "./package.json": "./package.json" @@ -14,6 +14,9 @@ "clean": "rm -rf dist", "test": "bun test" }, + "dependencies": { + "esbuild": "^0.28.1" + }, "devDependencies": { "typescript": "^6.0.3", "tsdown": "^0.22.7", diff --git a/packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.test.ts b/packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.test.ts new file mode 100644 index 000000000..a1bd3c684 --- /dev/null +++ b/packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.test.ts @@ -0,0 +1,55 @@ +import { afterAll, describe, expect, test } from 'bun:test'; +import fs from 'node:fs'; +import os from 'node:os'; +import path from 'node:path'; +import { pathToFileURL } from 'node:url'; +import { buildBootWrapper } from './boot-wrapper.ts'; + +const dirs: string[] = []; +afterAll(() => { + for (const dir of dirs) fs.rmSync(dir, { recursive: true, force: true }); +}); + +async function wrapperFor(source: string): Promise { + const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'boot-wrapper-')); + dirs.push(dir); + const serviceModule = path.join(dir, 'service.mjs'); + fs.writeFileSync(serviceModule, source); + const workDir = path.join(dir, 'out'); + await buildBootWrapper(serviceModule, workDir); + return path.join(workDir, 'main.mjs'); +} + +const serviceUsingTheOrm = [ + "import ormPostgresRuntime from '@prisma/orm-postgres/runtime';", + "import { contractFromJson } from '@prisma/orm-postgres/static';", + 'export const declared = "the service node";', + 'export const buildClient = () => ormPostgresRuntime({ contract: contractFromJson({}) });', +].join('\n'); + +describe('buildBootWrapper', () => { + test('writes main.mjs without a copy of Prisma ORM, so the app runnable holds the only one', async () => { + const main = await wrapperFor(serviceUsingTheOrm); + + const code = fs.readFileSync(main, 'utf8'); + expect(code).not.toContain('node_modules/@prisma/orm-'); + expect(code).not.toContain('MULTIPLE_ORM_COPIES'); + }); + + test('the wrapper loads and reads its declarations without running any ORM code', async () => { + const main = await wrapperFor(serviceUsingTheOrm); + + const wrapper = await import(pathToFileURL(main).href); + + expect(wrapper.declared).toBe('the service node'); + }); + + test('calling Prisma ORM from the wrapper fails with an error that names the import', async () => { + const main = await wrapperFor(serviceUsingTheOrm); + const wrapper = await import(pathToFileURL(main).href); + + expect(() => wrapper.buildClient()).toThrow( + "Composer's boot wrapper does not load Prisma ORM, but it called an export of @prisma/orm-postgres/static: contractFromJson", + ); + }); +}); diff --git a/packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.ts b/packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.ts new file mode 100644 index 000000000..c5014a87d --- /dev/null +++ b/packages/0-framework/2-authoring/bundle-paths/src/boot-wrapper.ts @@ -0,0 +1,53 @@ +import { build, type Plugin } from 'esbuild'; + +const ORM_STUB_NAMESPACE = 'composer-wrapper-orm-stub'; + +/** + * Replaces every `@prisma/orm-*` import in the wrapper with a module whose exports throw when + * called. The app's runnable carries its own Prisma ORM, and the ORM refuses to run from two + * copies in one process (`RUNTIME.MULTIPLE_ORM_COPIES`). The wrapper only declares the service's + * dependencies and never builds a client, so it needs no ORM of its own. + */ +const ormStub: Plugin = { + name: 'composer-wrapper-orm-stub', + setup(builder) { + builder.onResolve({ filter: /^@prisma\/orm-/ }, (args) => ({ + path: args.path, + namespace: ORM_STUB_NAMESPACE, + })); + builder.onLoad({ filter: /.*/, namespace: ORM_STUB_NAMESPACE }, (args) => { + const message = JSON.stringify( + `Composer's boot wrapper does not load Prisma ORM, but it called an export of ${args.path}`, + ); + // esbuild reads a CommonJS module's named exports through its prototype, so every name + // resolves on a proxy prototype; the module itself is callable for a default import. + return { + loader: 'js', + contents: [ + `const fail = (key) => () => { throw new Error(${message} + ': ' + String(key)); };`, + "const names = new Proxy({}, { get: (_, key) => typeof key === 'symbol' || key === 'then' || key === '__esModule' ? undefined : fail(key) });", + "const stub = function () { fail('default')(); };", + 'Object.setPrototypeOf(stub, names);', + 'module.exports = stub;', + ].join('\n'), + }; + }); + }, +}; + +/** + * Bundles the service module into the boot wrapper `/main.mjs` (ADR-0008). `@prisma/*` + * is inlined except Prisma ORM, which the app's runnable brings; `bun` is a Compute built-in. + */ +export async function buildBootWrapper(serviceModule: string, workDir: string): Promise { + await build({ + entryPoints: { main: serviceModule }, + outdir: workDir, + bundle: true, + format: 'esm', + platform: 'node', + external: ['bun', 'bun:*'], + outExtension: { '.js': '.mjs' }, + plugins: [ormStub], + }); +} diff --git a/packages/0-framework/2-authoring/bundle-paths/src/exports/index.ts b/packages/0-framework/2-authoring/bundle-paths/src/exports/index.ts index 70e220c64..4d37ac6a0 100644 --- a/packages/0-framework/2-authoring/bundle-paths/src/exports/index.ts +++ b/packages/0-framework/2-authoring/bundle-paths/src/exports/index.ts @@ -1,4 +1,5 @@ -/** Public surface. Implementation lives in `../bundle-paths.ts`. */ +/** Public surface. Implementation lives in `../bundle-paths.ts` and `../boot-wrapper.ts`. */ +export { buildBootWrapper } from '../boot-wrapper.ts'; export { assertBundleSymlinksStayInside, bundleLinkStrategy, diff --git a/packages/0-framework/2-authoring/nextjs/package.json b/packages/0-framework/2-authoring/nextjs/package.json index cf33c3f3c..5479e43e9 100644 --- a/packages/0-framework/2-authoring/nextjs/package.json +++ b/packages/0-framework/2-authoring/nextjs/package.json @@ -15,8 +15,7 @@ }, "dependencies": { "@internal/bundle-paths": "workspace:0.36.0", - "@internal/core": "workspace:0.36.0", - "esbuild": "^0.28.1" + "@internal/core": "workspace:0.36.0" }, "devDependencies": { "@internal/tsdown-config": "workspace:0.36.0", diff --git a/packages/0-framework/2-authoring/nextjs/src/control/build.ts b/packages/0-framework/2-authoring/nextjs/src/control/build.ts index ca446b27b..8a404244d 100644 --- a/packages/0-framework/2-authoring/nextjs/src/control/build.ts +++ b/packages/0-framework/2-authoring/nextjs/src/control/build.ts @@ -31,6 +31,7 @@ import * as path from 'node:path'; import { fileURLToPath } from 'node:url'; import { assertBundleSymlinksStayInside, + buildBootWrapper, copyTreeVerbatim, createBundleLink, isWithin, @@ -39,7 +40,6 @@ import { import type { BuildAdapter } from '@internal/core'; import type { ExtensionDescriptor } from '@internal/core/config'; import type { AssembleInput, Bundle, DevServer, ServeInput } from '@internal/core/deploy'; -import { build } from 'esbuild'; import type { NextjsBuildAdapter } from '../nextjs.ts'; export type { AssembleInput, Bundle } from '@internal/core/deploy'; @@ -317,15 +317,7 @@ export async function assemble(input: AssembleInput): Promise { // Our wrapper, bundled to main.mjs at the working-dir root (unambiguously // ESM). run()'s `import("./bundle/")` resolves from here. const serviceModule = fileURLToPath(buildDescriptor.module); - await build({ - entryPoints: { main: serviceModule }, - outdir: workDir, - bundle: true, - format: 'esm', - platform: 'node', - external: ['bun', 'bun:*'], - outExtension: { '.js': '.mjs' }, - }); + await buildBootWrapper(serviceModule, workDir); if (!fs.existsSync(path.join(workDir, 'main.mjs'))) { throw new Error(`esbuild produced no main.mjs in ${workDir}`); } diff --git a/packages/0-framework/2-authoring/node/package.json b/packages/0-framework/2-authoring/node/package.json index b48575807..b03a416a6 100644 --- a/packages/0-framework/2-authoring/node/package.json +++ b/packages/0-framework/2-authoring/node/package.json @@ -16,8 +16,7 @@ "dependencies": { "@internal/bundle-paths": "workspace:0.36.0", "@internal/core": "workspace:0.36.0", - "@vercel/nft": "^1.10.2", - "esbuild": "^0.28.1" + "@vercel/nft": "^1.10.2" }, "devDependencies": { "@internal/tsdown-config": "workspace:0.36.0", diff --git a/packages/0-framework/2-authoring/node/src/control/build.ts b/packages/0-framework/2-authoring/node/src/control/build.ts index 8c7143bac..d2cfe5e05 100644 --- a/packages/0-framework/2-authoring/node/src/control/build.ts +++ b/packages/0-framework/2-authoring/node/src/control/build.ts @@ -22,7 +22,8 @@ * working-dir root — a dictated name (object entry `{ main }`), not a * discovered one. run() and the app entry must be independent module instances * that hand off through process.env, so the wrapper is its own self-contained - * build; `@prisma/*` is inlined, `bun` is a Compute built-in. + * build (`buildBootWrapper`); `@prisma/*` is inlined except Prisma ORM, which + * the app's runnable brings, and `bun` is a Compute built-in. * * Artifact layout: `/.prisma-composer/artifacts/
/` (deploy-owned, * ADR-0005) holds `main.mjs` at the root and the app's built runnable under @@ -33,6 +34,7 @@ import * as path from 'node:path'; import { fileURLToPath } from 'node:url'; import { assertBundleSymlinksStayInside, + buildBootWrapper, copyTreeVerbatim, createBundleLink, isWithin, @@ -41,7 +43,6 @@ import type { BuildAdapter } from '@internal/core'; import type { ExtensionDescriptor } from '@internal/core/config'; import type { AssembleInput, Bundle, DevServer, ServeInput } from '@internal/core/deploy'; import { nodeFileTrace } from '@vercel/nft'; -import { build } from 'esbuild'; import type { NodeBuildAdapter } from '../node.ts'; export type { AssembleInput, Bundle } from '@internal/core/deploy'; @@ -420,15 +421,7 @@ export async function assemble(input: AssembleInput): Promise { await fs.promises.rm(workDir, { recursive: true, force: true }); await fs.promises.mkdir(workDir, { recursive: true }); - await build({ - entryPoints: { main: serviceModule }, - outdir: workDir, - bundle: true, - format: 'esm', - platform: 'node', - external: ['bun', 'bun:*'], - outExtension: { '.js': '.mjs' }, - }); + await buildBootWrapper(serviceModule, workDir); if (!fs.existsSync(path.join(workDir, 'main.mjs'))) { throw new Error(`esbuild produced no main.mjs in ${workDir}`); } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ad16d1e85..18bddfc48 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -656,6 +656,10 @@ importers: version: 4.4.3 packages/0-framework/2-authoring/bundle-paths: + dependencies: + esbuild: + specifier: ^0.28.1 + version: 0.28.2 devDependencies: '@internal/tsdown-config': specifier: workspace:0.36.0 @@ -697,9 +701,6 @@ importers: '@internal/core': specifier: workspace:0.36.0 version: link:../../1-core/core - esbuild: - specifier: ^0.28.1 - version: 0.28.2 devDependencies: '@internal/tsdown-config': specifier: workspace:0.36.0 @@ -728,9 +729,6 @@ importers: '@vercel/nft': specifier: ^1.10.2 version: 1.10.2 - esbuild: - specifier: ^0.28.1 - version: 0.28.2 devDependencies: '@internal/tsdown-config': specifier: workspace:0.36.0 From abffe0b12032dcf439867451787f0f6becd5e028 Mon Sep 17 00:00:00 2001 From: Kristof Siket Date: Wed, 4 Nov 2026 14:28:42 +0100 Subject: [PATCH 3/3] docs: a second Prisma ORM copy now stops with RUNTIME.MULTIPLE_ORM_COPIES Signed-off-by: Kristof Siket --- docs/guides/building-an-app.md | 5 ++--- skills/prisma-composer-core-concepts/SKILL.md | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/guides/building-an-app.md b/docs/guides/building-an-app.md index 67ab30bf6..450ec2c29 100644 --- a/docs/guides/building-an-app.md +++ b/docs/guides/building-an-app.md @@ -299,9 +299,8 @@ needs no extensions. The exact version matters. The pack depends on the ORM's shared packages (`@prisma/orm-framework`, `@prisma/orm-family-sql`) at its own exact version, so a pack version different from the facade's installs a second -copy of them. The runtime extension then comes from one copy and the client -from the other, and the client rejects or mishandles it without a clear -error. +copy of them. Prisma ORM then refuses to start, with +`RUNTIME.MULTIPLE_ORM_COPIES` naming each copy and where it is installed. ## Reusable Modules diff --git a/skills/prisma-composer-core-concepts/SKILL.md b/skills/prisma-composer-core-concepts/SKILL.md index 74bd647a2..3bbea2062 100644 --- a/skills/prisma-composer-core-concepts/SKILL.md +++ b/skills/prisma-composer-core-concepts/SKILL.md @@ -371,8 +371,8 @@ Two kinds of Postgres dependency: `@prisma/orm-extension-pgvector/runtime`; other runtime options, such as `middleware`, go in the same object. Install the pack at exactly the `@prisma/orm-postgres` version: the pack pins the ORM's shared packages - to its own version, so a mismatch installs two copies that silently - reject each other's values. Composer never looks extensions up itself; + to its own version, so a mismatch installs two copies and Prisma ORM + refuses to start with `RUNTIME.MULTIPLE_ORM_COPIES`. Composer never looks extensions up itself; with `binding.client` instead, the first access throws "Contract requires extension pack(s) 'pgvector'".