@prisma-next/extension-supabase 0.13.0-dev.19 → 0.13.0-dev.20

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/pack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-DtYgYVAZ.mjs";
1
+ import { t as version } from "./package-4XSdICyq.mjs";
2
2
  import { blindCast } from "@prisma-next/utils/casts";
3
3
  //#region src/contract/contract.json
4
4
  var contract_default = {
@@ -38,7 +38,7 @@ var contract_default = {
38
38
  "id": {
39
39
  "nullable": false,
40
40
  "type": {
41
- "codecId": "pg/text@1",
41
+ "codecId": "pg/uuid@1",
42
42
  "kind": "scalar"
43
43
  }
44
44
  },
@@ -59,7 +59,7 @@ var contract_default = {
59
59
  "user_id": {
60
60
  "nullable": false,
61
61
  "type": {
62
- "codecId": "pg/text@1",
62
+ "codecId": "pg/uuid@1",
63
63
  "kind": "scalar"
64
64
  }
65
65
  }
@@ -96,7 +96,7 @@ var contract_default = {
96
96
  "id": {
97
97
  "nullable": false,
98
98
  "type": {
99
- "codecId": "pg/text@1",
99
+ "codecId": "pg/uuid@1",
100
100
  "kind": "scalar"
101
101
  }
102
102
  },
@@ -184,7 +184,7 @@ var contract_default = {
184
184
  "id": {
185
185
  "nullable": false,
186
186
  "type": {
187
- "codecId": "pg/text@1",
187
+ "codecId": "pg/uuid@1",
188
188
  "kind": "scalar"
189
189
  }
190
190
  },
@@ -236,7 +236,7 @@ var contract_default = {
236
236
  "typeRef": "Timestamptz"
237
237
  },
238
238
  "id": {
239
- "codecId": "pg/text@1",
239
+ "codecId": "pg/uuid@1",
240
240
  "nativeType": "uuid",
241
241
  "nullable": false,
242
242
  "typeRef": "Uuid"
@@ -253,7 +253,7 @@ var contract_default = {
253
253
  "typeRef": "Timestamptz"
254
254
  },
255
255
  "user_id": {
256
- "codecId": "pg/text@1",
256
+ "codecId": "pg/uuid@1",
257
257
  "nativeType": "uuid",
258
258
  "nullable": false,
259
259
  "typeRef": "Uuid"
@@ -278,7 +278,7 @@ var contract_default = {
278
278
  "nullable": false
279
279
  },
280
280
  "id": {
281
- "codecId": "pg/text@1",
281
+ "codecId": "pg/uuid@1",
282
282
  "nativeType": "uuid",
283
283
  "nullable": false,
284
284
  "typeRef": "Uuid"
@@ -350,7 +350,7 @@ var contract_default = {
350
350
  "typeRef": "Timestamptz"
351
351
  },
352
352
  "id": {
353
- "codecId": "pg/text@1",
353
+ "codecId": "pg/uuid@1",
354
354
  "nativeType": "uuid",
355
355
  "nullable": false,
356
356
  "typeRef": "Uuid"
@@ -377,7 +377,7 @@ var contract_default = {
377
377
  "kind": "postgres-schema"
378
378
  }
379
379
  },
380
- "storageHash": "sha256:a92ac18f82eb73f747fa9512351caec3e42df1a1a897bce787966af84371638c",
380
+ "storageHash": "sha256:27dcfcb121eec1827ff7464f6262582a413af76d4d86627d93db97bb2108410a",
381
381
  "types": {
382
382
  "Timestamptz": {
383
383
  "codecId": "pg/timestamptz@1",
@@ -385,7 +385,7 @@ var contract_default = {
385
385
  "nativeType": "timestamptz"
386
386
  },
387
387
  "Uuid": {
388
- "codecId": "pg/text@1",
388
+ "codecId": "pg/uuid@1",
389
389
  "kind": "codec-instance",
390
390
  "nativeType": "uuid"
391
391
  }
@@ -0,0 +1,6 @@
1
+ //#region package.json
2
+ var version = "0.13.0-dev.20";
3
+ //#endregion
4
+ export { version as t };
5
+
6
+ //# sourceMappingURL=package-4XSdICyq.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-4XSdICyq.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
package/dist/runtime.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-DtYgYVAZ.mjs";
1
+ import { t as version } from "./package-4XSdICyq.mjs";
2
2
  import { blindCast } from "@prisma-next/utils/casts";
3
3
  import postgresAdapter from "@prisma-next/adapter-postgres/runtime";
4
4
  import postgresDriver from "@prisma-next/driver-postgres/runtime";
package/package.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
2
  "name": "@prisma-next/extension-supabase",
3
- "version": "0.13.0-dev.19",
3
+ "version": "0.13.0-dev.20",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "dependencies": {
8
- "@prisma-next/adapter-postgres": "0.13.0-dev.19",
9
- "@prisma-next/contract": "0.13.0-dev.19",
10
- "@prisma-next/driver-postgres": "0.13.0-dev.19",
11
- "@prisma-next/postgres": "0.13.0-dev.19",
12
- "@prisma-next/sql-builder": "0.13.0-dev.19",
13
- "@prisma-next/sql-orm-client": "0.13.0-dev.19",
14
- "@prisma-next/target-postgres": "0.13.0-dev.19",
8
+ "@prisma-next/adapter-postgres": "0.13.0-dev.20",
9
+ "@prisma-next/contract": "0.13.0-dev.20",
10
+ "@prisma-next/driver-postgres": "0.13.0-dev.20",
11
+ "@prisma-next/postgres": "0.13.0-dev.20",
12
+ "@prisma-next/sql-builder": "0.13.0-dev.20",
13
+ "@prisma-next/sql-orm-client": "0.13.0-dev.20",
14
+ "@prisma-next/target-postgres": "0.13.0-dev.20",
15
15
  "jose": "^5",
16
16
  "pg": "8.21.0",
17
- "@prisma-next/contract-authoring": "0.13.0-dev.19",
18
- "@prisma-next/family-sql": "0.13.0-dev.19",
19
- "@prisma-next/framework-components": "0.13.0-dev.19",
20
- "@prisma-next/migration-tools": "0.13.0-dev.19",
21
- "@prisma-next/sql-contract": "0.13.0-dev.19",
22
- "@prisma-next/sql-contract-ts": "0.13.0-dev.19",
23
- "@prisma-next/sql-operations": "0.13.0-dev.19",
24
- "@prisma-next/sql-relational-core": "0.13.0-dev.19",
25
- "@prisma-next/sql-runtime": "0.13.0-dev.19",
26
- "@prisma-next/sql-schema-ir": "0.13.0-dev.19",
27
- "@prisma-next/utils": "0.13.0-dev.19",
17
+ "@prisma-next/contract-authoring": "0.13.0-dev.20",
18
+ "@prisma-next/family-sql": "0.13.0-dev.20",
19
+ "@prisma-next/framework-components": "0.13.0-dev.20",
20
+ "@prisma-next/migration-tools": "0.13.0-dev.20",
21
+ "@prisma-next/sql-contract": "0.13.0-dev.20",
22
+ "@prisma-next/sql-contract-ts": "0.13.0-dev.20",
23
+ "@prisma-next/sql-operations": "0.13.0-dev.20",
24
+ "@prisma-next/sql-relational-core": "0.13.0-dev.20",
25
+ "@prisma-next/sql-runtime": "0.13.0-dev.20",
26
+ "@prisma-next/sql-schema-ir": "0.13.0-dev.20",
27
+ "@prisma-next/utils": "0.13.0-dev.20",
28
28
  "@standard-schema/spec": "^1.1.0",
29
29
  "arktype": "^2.2.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@prisma-next/cli": "0.13.0-dev.19",
33
- "@prisma-next/operations": "0.13.0-dev.19",
34
- "@prisma-next/sql-contract-psl": "0.13.0-dev.19",
35
- "@prisma-next/test-utils": "0.13.0-dev.19",
36
- "@prisma-next/tsconfig": "0.13.0-dev.19",
37
- "@prisma-next/tsdown": "0.13.0-dev.19",
32
+ "@prisma-next/cli": "0.13.0-dev.20",
33
+ "@prisma-next/operations": "0.13.0-dev.20",
34
+ "@prisma-next/sql-contract-psl": "0.13.0-dev.20",
35
+ "@prisma-next/test-utils": "0.13.0-dev.20",
36
+ "@prisma-next/tsconfig": "0.13.0-dev.20",
37
+ "@prisma-next/tsdown": "0.13.0-dev.20",
38
38
  "@types/pg": "8.20.0",
39
39
  "tsdown": "0.22.1",
40
40
  "typescript": "5.9.3",
41
41
  "vitest": "4.1.8"
42
42
  },
43
43
  "peerDependencies": {
44
- "@prisma-next/adapter-postgres": "0.13.0-dev.19",
44
+ "@prisma-next/adapter-postgres": "0.13.0-dev.20",
45
45
  "typescript": ">=5.9"
46
46
  },
47
47
  "peerDependenciesMeta": {
@@ -31,7 +31,7 @@ import type {
31
31
  } from '@prisma-next/contract/types';
32
32
 
33
33
  export type StorageHash =
34
- StorageHashBase<'sha256:a92ac18f82eb73f747fa9512351caec3e42df1a1a897bce787966af84371638c'>;
34
+ StorageHashBase<'sha256:27dcfcb121eec1827ff7464f6262582a413af76d4d86627d93db97bb2108410a'>;
35
35
  export type ExecutionHash = ExecutionHashBase<string>;
36
36
  export type ProfileHash =
37
37
  ProfileHashBase<'sha256:9c8aa3114e84ed3b7ea2bd57526d9c2e1bf7c5292be694e9d3801f566fda7ccb'>;
@@ -45,14 +45,14 @@ type DefaultLiteralValue<CodecId extends string, _Encoded> = CodecId extends key
45
45
 
46
46
  export type FieldOutputTypes = {
47
47
  readonly AuthIdentity: {
48
- readonly id: CodecTypes['pg/text@1']['output'];
49
- readonly user_id: CodecTypes['pg/text@1']['output'];
48
+ readonly id: CodecTypes['pg/uuid@1']['output'];
49
+ readonly user_id: CodecTypes['pg/uuid@1']['output'];
50
50
  readonly provider: CodecTypes['pg/text@1']['output'];
51
51
  readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
52
52
  readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
53
53
  };
54
54
  readonly AuthUser: {
55
- readonly id: CodecTypes['pg/text@1']['output'];
55
+ readonly id: CodecTypes['pg/uuid@1']['output'];
56
56
  readonly email: CodecTypes['pg/text@1']['output'];
57
57
  readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
58
58
  readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
@@ -64,7 +64,7 @@ export type FieldOutputTypes = {
64
64
  readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
65
65
  };
66
66
  readonly StorageObject: {
67
- readonly id: CodecTypes['pg/text@1']['output'];
67
+ readonly id: CodecTypes['pg/uuid@1']['output'];
68
68
  readonly bucket_id: CodecTypes['pg/text@1']['output'];
69
69
  readonly name: CodecTypes['pg/text@1']['output'];
70
70
  readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
@@ -73,14 +73,14 @@ export type FieldOutputTypes = {
73
73
  };
74
74
  export type FieldInputTypes = {
75
75
  readonly AuthIdentity: {
76
- readonly id: CodecTypes['pg/text@1']['input'];
77
- readonly user_id: CodecTypes['pg/text@1']['input'];
76
+ readonly id: CodecTypes['pg/uuid@1']['input'];
77
+ readonly user_id: CodecTypes['pg/uuid@1']['input'];
78
78
  readonly provider: CodecTypes['pg/text@1']['input'];
79
79
  readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
80
80
  readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
81
81
  };
82
82
  readonly AuthUser: {
83
- readonly id: CodecTypes['pg/text@1']['input'];
83
+ readonly id: CodecTypes['pg/uuid@1']['input'];
84
84
  readonly email: CodecTypes['pg/text@1']['input'];
85
85
  readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
86
86
  readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
@@ -92,7 +92,7 @@ export type FieldInputTypes = {
92
92
  readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
93
93
  };
94
94
  readonly StorageObject: {
95
- readonly id: CodecTypes['pg/text@1']['input'];
95
+ readonly id: CodecTypes['pg/uuid@1']['input'];
96
96
  readonly bucket_id: CodecTypes['pg/text@1']['input'];
97
97
  readonly name: CodecTypes['pg/text@1']['input'];
98
98
  readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
@@ -124,13 +124,13 @@ type ContractBase = Omit<
124
124
  columns: {
125
125
  readonly id: {
126
126
  readonly nativeType: 'uuid';
127
- readonly codecId: 'pg/text@1';
127
+ readonly codecId: 'pg/uuid@1';
128
128
  readonly nullable: false;
129
129
  readonly typeRef: 'Uuid';
130
130
  };
131
131
  readonly user_id: {
132
132
  readonly nativeType: 'uuid';
133
- readonly codecId: 'pg/text@1';
133
+ readonly codecId: 'pg/uuid@1';
134
134
  readonly nullable: false;
135
135
  readonly typeRef: 'Uuid';
136
136
  };
@@ -161,7 +161,7 @@ type ContractBase = Omit<
161
161
  columns: {
162
162
  readonly id: {
163
163
  readonly nativeType: 'uuid';
164
- readonly codecId: 'pg/text@1';
164
+ readonly codecId: 'pg/uuid@1';
165
165
  readonly nullable: false;
166
166
  readonly typeRef: 'Uuid';
167
167
  };
@@ -235,7 +235,7 @@ type ContractBase = Omit<
235
235
  columns: {
236
236
  readonly id: {
237
237
  readonly nativeType: 'uuid';
238
- readonly codecId: 'pg/text@1';
238
+ readonly codecId: 'pg/uuid@1';
239
239
  readonly nullable: false;
240
240
  readonly typeRef: 'Uuid';
241
241
  };
@@ -274,7 +274,7 @@ type ContractBase = Omit<
274
274
  readonly types: {
275
275
  readonly Uuid: {
276
276
  readonly kind: 'codec-instance';
277
- readonly codecId: 'pg/text@1';
277
+ readonly codecId: 'pg/uuid@1';
278
278
  readonly nativeType: 'uuid';
279
279
  readonly typeParams: Record<string, never>;
280
280
  };
@@ -292,11 +292,11 @@ type ContractBase = Omit<
292
292
  readonly fields: {
293
293
  readonly id: {
294
294
  readonly nullable: false;
295
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
295
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
296
296
  };
297
297
  readonly user_id: {
298
298
  readonly nullable: false;
299
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
299
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
300
300
  };
301
301
  readonly provider: {
302
302
  readonly nullable: false;
@@ -328,7 +328,7 @@ type ContractBase = Omit<
328
328
  readonly fields: {
329
329
  readonly id: {
330
330
  readonly nullable: false;
331
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
331
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
332
332
  };
333
333
  readonly email: {
334
334
  readonly nullable: false;
@@ -390,7 +390,7 @@ type ContractBase = Omit<
390
390
  readonly fields: {
391
391
  readonly id: {
392
392
  readonly nullable: false;
393
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
393
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
394
394
  };
395
395
  readonly bucket_id: {
396
396
  readonly nullable: false;
@@ -451,11 +451,11 @@ type ContractBase = Omit<
451
451
  readonly fields: {
452
452
  readonly id: {
453
453
  readonly nullable: false;
454
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
454
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
455
455
  };
456
456
  readonly user_id: {
457
457
  readonly nullable: false;
458
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
458
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
459
459
  };
460
460
  readonly provider: {
461
461
  readonly nullable: false;
@@ -487,7 +487,7 @@ type ContractBase = Omit<
487
487
  readonly fields: {
488
488
  readonly id: {
489
489
  readonly nullable: false;
490
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
490
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
491
491
  };
492
492
  readonly email: {
493
493
  readonly nullable: false;
@@ -553,7 +553,7 @@ type ContractBase = Omit<
553
553
  readonly fields: {
554
554
  readonly id: {
555
555
  readonly nullable: false;
556
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
556
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
557
557
  };
558
558
  readonly bucket_id: {
559
559
  readonly nullable: false;
@@ -37,7 +37,7 @@
37
37
  "id": {
38
38
  "nullable": false,
39
39
  "type": {
40
- "codecId": "pg/text@1",
40
+ "codecId": "pg/uuid@1",
41
41
  "kind": "scalar"
42
42
  }
43
43
  },
@@ -58,7 +58,7 @@
58
58
  "user_id": {
59
59
  "nullable": false,
60
60
  "type": {
61
- "codecId": "pg/text@1",
61
+ "codecId": "pg/uuid@1",
62
62
  "kind": "scalar"
63
63
  }
64
64
  }
@@ -105,7 +105,7 @@
105
105
  "id": {
106
106
  "nullable": false,
107
107
  "type": {
108
- "codecId": "pg/text@1",
108
+ "codecId": "pg/uuid@1",
109
109
  "kind": "scalar"
110
110
  }
111
111
  },
@@ -211,7 +211,7 @@
211
211
  "id": {
212
212
  "nullable": false,
213
213
  "type": {
214
- "codecId": "pg/text@1",
214
+ "codecId": "pg/uuid@1",
215
215
  "kind": "scalar"
216
216
  }
217
217
  },
@@ -278,7 +278,7 @@
278
278
  "typeRef": "Timestamptz"
279
279
  },
280
280
  "id": {
281
- "codecId": "pg/text@1",
281
+ "codecId": "pg/uuid@1",
282
282
  "nativeType": "uuid",
283
283
  "nullable": false,
284
284
  "typeRef": "Uuid"
@@ -295,7 +295,7 @@
295
295
  "typeRef": "Timestamptz"
296
296
  },
297
297
  "user_id": {
298
- "codecId": "pg/text@1",
298
+ "codecId": "pg/uuid@1",
299
299
  "nativeType": "uuid",
300
300
  "nullable": false,
301
301
  "typeRef": "Uuid"
@@ -324,7 +324,7 @@
324
324
  "nullable": false
325
325
  },
326
326
  "id": {
327
- "codecId": "pg/text@1",
327
+ "codecId": "pg/uuid@1",
328
328
  "nativeType": "uuid",
329
329
  "nullable": false,
330
330
  "typeRef": "Uuid"
@@ -408,7 +408,7 @@
408
408
  "typeRef": "Timestamptz"
409
409
  },
410
410
  "id": {
411
- "codecId": "pg/text@1",
411
+ "codecId": "pg/uuid@1",
412
412
  "nativeType": "uuid",
413
413
  "nullable": false,
414
414
  "typeRef": "Uuid"
@@ -440,7 +440,7 @@
440
440
  "kind": "postgres-schema"
441
441
  }
442
442
  },
443
- "storageHash": "sha256:a92ac18f82eb73f747fa9512351caec3e42df1a1a897bce787966af84371638c",
443
+ "storageHash": "sha256:27dcfcb121eec1827ff7464f6262582a413af76d4d86627d93db97bb2108410a",
444
444
  "types": {
445
445
  "Timestamptz": {
446
446
  "codecId": "pg/timestamptz@1",
@@ -448,7 +448,7 @@
448
448
  "nativeType": "timestamptz"
449
449
  },
450
450
  "Uuid": {
451
- "codecId": "pg/text@1",
451
+ "codecId": "pg/uuid@1",
452
452
  "kind": "codec-instance",
453
453
  "nativeType": "uuid"
454
454
  }
@@ -1,6 +0,0 @@
1
- //#region package.json
2
- var version = "0.13.0-dev.19";
3
- //#endregion
4
- export { version as t };
5
-
6
- //# sourceMappingURL=package-DtYgYVAZ.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-DtYgYVAZ.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}