@prisma/orm-extension-supabase 8.0.0-rc.14-dev.13 → 8.0.0-rc.14-dev.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{contract-DQz_cOBl-KeTb1Bgz.mjs → contract-CpeOruuf-Q9JVr-Yj.mjs} +12 -12
- package/dist/contract-CpeOruuf-Q9JVr-Yj.mjs.map +1 -0
- package/dist/contract.d.mts +18 -18
- package/dist/pack.mjs +1 -1
- package/dist/pack.mjs.map +1 -1
- package/dist/runtime.d.mts +345 -5
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/runtime.mjs.map +1 -1
- package/package.json +10 -10
- package/dist/contract-DQz_cOBl-KeTb1Bgz.mjs.map +0 -1
package/dist/contract.d.mts
CHANGED
|
@@ -15,7 +15,7 @@ declare const AuthUser: import("@prisma/orm-family-sql/contract-ts/contract-buil
|
|
|
15
15
|
readonly columnName?: undefined;
|
|
16
16
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
17
17
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
18
|
-
readonly many
|
|
18
|
+
readonly many: false;
|
|
19
19
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
20
20
|
} & {
|
|
21
21
|
readonly id: {
|
|
@@ -37,7 +37,7 @@ declare const AuthUser: import("@prisma/orm-family-sql/contract-ts/contract-buil
|
|
|
37
37
|
readonly columnName?: undefined;
|
|
38
38
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
39
39
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
40
|
-
readonly many
|
|
40
|
+
readonly many: false;
|
|
41
41
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
readonly id?: undefined;
|
|
@@ -57,7 +57,7 @@ declare const AuthUser: import("@prisma/orm-family-sql/contract-ts/contract-buil
|
|
|
57
57
|
readonly columnName?: undefined;
|
|
58
58
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
59
59
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
60
|
-
readonly many
|
|
60
|
+
readonly many: false;
|
|
61
61
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
62
62
|
} & {
|
|
63
63
|
readonly id?: undefined;
|
|
@@ -77,7 +77,7 @@ declare const AuthUser: import("@prisma/orm-family-sql/contract-ts/contract-buil
|
|
|
77
77
|
readonly columnName?: undefined;
|
|
78
78
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
79
79
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
80
|
-
readonly many
|
|
80
|
+
readonly many: false;
|
|
81
81
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
82
82
|
} & {
|
|
83
83
|
readonly id?: undefined;
|
|
@@ -99,7 +99,7 @@ declare const AuthIdentity: import("@prisma/orm-family-sql/contract-ts/contract-
|
|
|
99
99
|
readonly columnName?: undefined;
|
|
100
100
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
101
101
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
102
|
-
readonly many
|
|
102
|
+
readonly many: false;
|
|
103
103
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
104
104
|
} & {
|
|
105
105
|
readonly id: {
|
|
@@ -121,7 +121,7 @@ declare const AuthIdentity: import("@prisma/orm-family-sql/contract-ts/contract-
|
|
|
121
121
|
readonly columnName?: undefined;
|
|
122
122
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
123
123
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
124
|
-
readonly many
|
|
124
|
+
readonly many: false;
|
|
125
125
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
126
126
|
} & {
|
|
127
127
|
readonly id?: undefined;
|
|
@@ -141,7 +141,7 @@ declare const AuthIdentity: import("@prisma/orm-family-sql/contract-ts/contract-
|
|
|
141
141
|
readonly columnName?: undefined;
|
|
142
142
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
143
143
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
144
|
-
readonly many
|
|
144
|
+
readonly many: false;
|
|
145
145
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
146
146
|
} & {
|
|
147
147
|
readonly id?: undefined;
|
|
@@ -161,7 +161,7 @@ declare const AuthIdentity: import("@prisma/orm-family-sql/contract-ts/contract-
|
|
|
161
161
|
readonly columnName?: undefined;
|
|
162
162
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
163
163
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
164
|
-
readonly many
|
|
164
|
+
readonly many: false;
|
|
165
165
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
166
166
|
} & {
|
|
167
167
|
readonly id?: undefined;
|
|
@@ -181,7 +181,7 @@ declare const AuthIdentity: import("@prisma/orm-family-sql/contract-ts/contract-
|
|
|
181
181
|
readonly columnName?: undefined;
|
|
182
182
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
183
183
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
184
|
-
readonly many
|
|
184
|
+
readonly many: false;
|
|
185
185
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
186
186
|
} & {
|
|
187
187
|
readonly id?: undefined;
|
|
@@ -203,7 +203,7 @@ declare const StorageBucket: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
203
203
|
readonly columnName?: undefined;
|
|
204
204
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
205
205
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
206
|
-
readonly many
|
|
206
|
+
readonly many: false;
|
|
207
207
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
208
208
|
} & {
|
|
209
209
|
readonly id: {
|
|
@@ -225,7 +225,7 @@ declare const StorageBucket: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
225
225
|
readonly columnName?: undefined;
|
|
226
226
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
227
227
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
228
|
-
readonly many
|
|
228
|
+
readonly many: false;
|
|
229
229
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
230
230
|
} & {
|
|
231
231
|
readonly id?: undefined;
|
|
@@ -245,7 +245,7 @@ declare const StorageBucket: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
245
245
|
readonly columnName?: undefined;
|
|
246
246
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
247
247
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
248
|
-
readonly many
|
|
248
|
+
readonly many: false;
|
|
249
249
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
250
250
|
} & {
|
|
251
251
|
readonly id?: undefined;
|
|
@@ -265,7 +265,7 @@ declare const StorageBucket: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
265
265
|
readonly columnName?: undefined;
|
|
266
266
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
267
267
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
268
|
-
readonly many
|
|
268
|
+
readonly many: false;
|
|
269
269
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
270
270
|
} & {
|
|
271
271
|
readonly id?: undefined;
|
|
@@ -287,7 +287,7 @@ declare const StorageObject: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
287
287
|
readonly columnName?: undefined;
|
|
288
288
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
289
289
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
290
|
-
readonly many
|
|
290
|
+
readonly many: false;
|
|
291
291
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
292
292
|
} & {
|
|
293
293
|
readonly id: {
|
|
@@ -309,7 +309,7 @@ declare const StorageObject: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
309
309
|
readonly columnName?: undefined;
|
|
310
310
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
311
311
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
312
|
-
readonly many
|
|
312
|
+
readonly many: false;
|
|
313
313
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
314
314
|
} & {
|
|
315
315
|
readonly id?: undefined;
|
|
@@ -329,7 +329,7 @@ declare const StorageObject: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
329
329
|
readonly columnName?: undefined;
|
|
330
330
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
331
331
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
332
|
-
readonly many
|
|
332
|
+
readonly many: false;
|
|
333
333
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
334
334
|
} & {
|
|
335
335
|
readonly id?: undefined;
|
|
@@ -349,7 +349,7 @@ declare const StorageObject: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
349
349
|
readonly columnName?: undefined;
|
|
350
350
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
351
351
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
352
|
-
readonly many
|
|
352
|
+
readonly many: false;
|
|
353
353
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
354
354
|
} & {
|
|
355
355
|
readonly id?: undefined;
|
|
@@ -369,7 +369,7 @@ declare const StorageObject: import("@prisma/orm-family-sql/contract-ts/contract
|
|
|
369
369
|
readonly columnName?: undefined;
|
|
370
370
|
readonly default?: import("@prisma/orm-family-sql/contract-ts/contract-builder").AuthoredColumnDefault | undefined;
|
|
371
371
|
readonly executionDefaults?: import("@prisma/orm-framework/contract/types").ExecutionMutationDefaultPhases | undefined;
|
|
372
|
-
readonly many
|
|
372
|
+
readonly many: false;
|
|
373
373
|
readonly noCheck?: readonly import("@prisma/orm-family-sql/schema-ir/naming").CheckKind[] | undefined;
|
|
374
374
|
} & {
|
|
375
375
|
readonly id?: undefined;
|
package/dist/pack.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as version, t as contract_default } from "./contract-
|
|
1
|
+
import { n as version, t as contract_default } from "./contract-CpeOruuf-Q9JVr-Yj.mjs";
|
|
2
2
|
import { blindCast } from "@prisma/orm-framework/utils/casts";
|
|
3
3
|
//#region ../../../3-extensions/supabase/dist/pack.mjs
|
|
4
4
|
const SUPABASE_SPACE_ID = "supabase";
|
package/dist/pack.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack.mjs","names":[],"sources":["../../../../3-extensions/supabase/dist/pack.mjs"],"sourcesContent":["import { n as version, t as contract_default } from \"./contract-
|
|
1
|
+
{"version":3,"file":"pack.mjs","names":[],"sources":["../../../../3-extensions/supabase/dist/pack.mjs"],"sourcesContent":["import { n as version, t as contract_default } from \"./contract-CpeOruuf.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\n//#region src/pack/index.ts\nconst SUPABASE_SPACE_ID = \"supabase\";\nfunction buildContractSpace(contractOverride) {\n\tconst contract = blindCast(contractOverride ?? contract_default);\n\treturn {\n\t\tcontractJson: contract,\n\t\tmigrations: [],\n\t\theadRef: {\n\t\t\thash: contract.storage.storageHash,\n\t\t\tinvariants: []\n\t\t}\n\t};\n}\nconst supabasePackBase = {\n\tkind: \"extension\",\n\tid: SUPABASE_SPACE_ID,\n\tfamilyId: \"sql\",\n\ttargetId: \"postgres\",\n\tversion,\n\tcontractSpace: buildContractSpace(),\n\tcreate: () => ({\n\t\tfamilyId: \"sql\",\n\t\ttargetId: \"postgres\"\n\t})\n};\nconst supabasePack = supabasePackBase;\n/**\n* Returns a pack using `contractOverride` in place of the shipped\n* `contract.json` when provided, otherwise returns the default pack.\n*\n* Intended for tests that need to drive the framework with a synthetic\n* contract while still exercising the full descriptor wiring.\n*/\nfunction supabasePackWith(options) {\n\tif (options?.contractOverride === void 0) return supabasePack;\n\treturn {\n\t\t...supabasePackBase,\n\t\tcontractSpace: buildContractSpace(options.contractOverride)\n\t};\n}\n//#endregion\nexport { supabasePack as default, supabasePackWith };\n\n//# sourceMappingURL=pack.mjs.map"],"mappings":";;;AAGA,MAAM,oBAAoB;AAC1B,SAAS,mBAAmB,kBAAkB;CAC7C,MAAM,WAAW,UAAU,oBAAoB,gBAAgB;CAC/D,OAAO;EACN,cAAc;EACd,YAAY,CAAC;EACb,SAAS;GACR,MAAM,SAAS,QAAQ;GACvB,YAAY,CAAC;EACd;CACD;AACD;AACA,MAAM,mBAAmB;CACxB,MAAM;CACN,IAAI;CACJ,UAAU;CACV,UAAU;CACV;CACA,eAAe,mBAAmB;CAClC,eAAe;EACd,UAAU;EACV,UAAU;CACX;AACD;AACA,MAAM,eAAe;;;;;;;;AAQrB,SAAS,iBAAiB,SAAS;CAClC,IAAI,SAAS,qBAAqB,KAAK,GAAG,OAAO;CACjD,OAAO;EACN,GAAG;EACH,eAAe,mBAAmB,QAAQ,gBAAgB;CAC3D;AACD"}
|