@prisma-next/extension-supabase 0.14.0-dev.28 → 0.14.0-dev.29
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-ikg3juR7.mjs +419 -0
- package/dist/contract-ikg3juR7.mjs.map +1 -0
- package/dist/pack.mjs +1 -414
- package/dist/pack.mjs.map +1 -1
- package/dist/runtime.d.mts +639 -4
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +58 -12
- package/dist/runtime.mjs.map +1 -1
- package/package.json +26 -26
- package/src/exports/runtime.ts +2 -0
- package/src/runtime/ext-contract-type.ts +9 -0
- package/src/runtime/supabase.ts +103 -13
- package/dist/package-BLmWYNvr.mjs +0 -6
- package/dist/package-BLmWYNvr.mjs.map +0 -1
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
//#region package.json
|
|
2
|
+
var version = "0.14.0-dev.29";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/contract/contract.json
|
|
5
|
+
var contract_default = {
|
|
6
|
+
schemaVersion: "1",
|
|
7
|
+
targetFamily: "sql",
|
|
8
|
+
target: "postgres",
|
|
9
|
+
profileHash: "sha256:9c8aa3114e84ed3b7ea2bd57526d9c2e1bf7c5292be694e9d3801f566fda7ccb",
|
|
10
|
+
roots: {
|
|
11
|
+
"buckets": {
|
|
12
|
+
"model": "StorageBucket",
|
|
13
|
+
"namespace": "storage"
|
|
14
|
+
},
|
|
15
|
+
"identities": {
|
|
16
|
+
"model": "AuthIdentity",
|
|
17
|
+
"namespace": "auth"
|
|
18
|
+
},
|
|
19
|
+
"objects": {
|
|
20
|
+
"model": "StorageObject",
|
|
21
|
+
"namespace": "storage"
|
|
22
|
+
},
|
|
23
|
+
"users": {
|
|
24
|
+
"model": "AuthUser",
|
|
25
|
+
"namespace": "auth"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
domain: { "namespaces": {
|
|
29
|
+
"auth": { "models": {
|
|
30
|
+
"AuthIdentity": {
|
|
31
|
+
"fields": {
|
|
32
|
+
"created_at": {
|
|
33
|
+
"nullable": false,
|
|
34
|
+
"type": {
|
|
35
|
+
"codecId": "pg/timestamptz@1",
|
|
36
|
+
"kind": "scalar"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"id": {
|
|
40
|
+
"nullable": false,
|
|
41
|
+
"type": {
|
|
42
|
+
"codecId": "pg/uuid@1",
|
|
43
|
+
"kind": "scalar"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"provider": {
|
|
47
|
+
"nullable": false,
|
|
48
|
+
"type": {
|
|
49
|
+
"codecId": "pg/text@1",
|
|
50
|
+
"kind": "scalar"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"updated_at": {
|
|
54
|
+
"nullable": false,
|
|
55
|
+
"type": {
|
|
56
|
+
"codecId": "pg/timestamptz@1",
|
|
57
|
+
"kind": "scalar"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"user_id": {
|
|
61
|
+
"nullable": false,
|
|
62
|
+
"type": {
|
|
63
|
+
"codecId": "pg/uuid@1",
|
|
64
|
+
"kind": "scalar"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"relations": {},
|
|
69
|
+
"storage": {
|
|
70
|
+
"fields": {
|
|
71
|
+
"created_at": { "column": "created_at" },
|
|
72
|
+
"id": { "column": "id" },
|
|
73
|
+
"provider": { "column": "provider" },
|
|
74
|
+
"updated_at": { "column": "updated_at" },
|
|
75
|
+
"user_id": { "column": "user_id" }
|
|
76
|
+
},
|
|
77
|
+
"namespaceId": "auth",
|
|
78
|
+
"table": "identities"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"AuthUser": {
|
|
82
|
+
"fields": {
|
|
83
|
+
"created_at": {
|
|
84
|
+
"nullable": false,
|
|
85
|
+
"type": {
|
|
86
|
+
"codecId": "pg/timestamptz@1",
|
|
87
|
+
"kind": "scalar"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"email": {
|
|
91
|
+
"nullable": false,
|
|
92
|
+
"type": {
|
|
93
|
+
"codecId": "pg/text@1",
|
|
94
|
+
"kind": "scalar"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"id": {
|
|
98
|
+
"nullable": false,
|
|
99
|
+
"type": {
|
|
100
|
+
"codecId": "pg/uuid@1",
|
|
101
|
+
"kind": "scalar"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"updated_at": {
|
|
105
|
+
"nullable": false,
|
|
106
|
+
"type": {
|
|
107
|
+
"codecId": "pg/timestamptz@1",
|
|
108
|
+
"kind": "scalar"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"relations": {},
|
|
113
|
+
"storage": {
|
|
114
|
+
"fields": {
|
|
115
|
+
"created_at": { "column": "created_at" },
|
|
116
|
+
"email": { "column": "email" },
|
|
117
|
+
"id": { "column": "id" },
|
|
118
|
+
"updated_at": { "column": "updated_at" }
|
|
119
|
+
},
|
|
120
|
+
"namespaceId": "auth",
|
|
121
|
+
"table": "users"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
} },
|
|
125
|
+
"storage": { "models": {
|
|
126
|
+
"StorageBucket": {
|
|
127
|
+
"fields": {
|
|
128
|
+
"created_at": {
|
|
129
|
+
"nullable": false,
|
|
130
|
+
"type": {
|
|
131
|
+
"codecId": "pg/timestamptz@1",
|
|
132
|
+
"kind": "scalar"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"id": {
|
|
136
|
+
"nullable": false,
|
|
137
|
+
"type": {
|
|
138
|
+
"codecId": "pg/text@1",
|
|
139
|
+
"kind": "scalar"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"name": {
|
|
143
|
+
"nullable": false,
|
|
144
|
+
"type": {
|
|
145
|
+
"codecId": "pg/text@1",
|
|
146
|
+
"kind": "scalar"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"updated_at": {
|
|
150
|
+
"nullable": false,
|
|
151
|
+
"type": {
|
|
152
|
+
"codecId": "pg/timestamptz@1",
|
|
153
|
+
"kind": "scalar"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"relations": {},
|
|
158
|
+
"storage": {
|
|
159
|
+
"fields": {
|
|
160
|
+
"created_at": { "column": "created_at" },
|
|
161
|
+
"id": { "column": "id" },
|
|
162
|
+
"name": { "column": "name" },
|
|
163
|
+
"updated_at": { "column": "updated_at" }
|
|
164
|
+
},
|
|
165
|
+
"namespaceId": "storage",
|
|
166
|
+
"table": "buckets"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"StorageObject": {
|
|
170
|
+
"fields": {
|
|
171
|
+
"bucket_id": {
|
|
172
|
+
"nullable": false,
|
|
173
|
+
"type": {
|
|
174
|
+
"codecId": "pg/text@1",
|
|
175
|
+
"kind": "scalar"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"created_at": {
|
|
179
|
+
"nullable": false,
|
|
180
|
+
"type": {
|
|
181
|
+
"codecId": "pg/timestamptz@1",
|
|
182
|
+
"kind": "scalar"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"id": {
|
|
186
|
+
"nullable": false,
|
|
187
|
+
"type": {
|
|
188
|
+
"codecId": "pg/uuid@1",
|
|
189
|
+
"kind": "scalar"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"name": {
|
|
193
|
+
"nullable": false,
|
|
194
|
+
"type": {
|
|
195
|
+
"codecId": "pg/text@1",
|
|
196
|
+
"kind": "scalar"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"updated_at": {
|
|
200
|
+
"nullable": false,
|
|
201
|
+
"type": {
|
|
202
|
+
"codecId": "pg/timestamptz@1",
|
|
203
|
+
"kind": "scalar"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"relations": {},
|
|
208
|
+
"storage": {
|
|
209
|
+
"fields": {
|
|
210
|
+
"bucket_id": { "column": "bucket_id" },
|
|
211
|
+
"created_at": { "column": "created_at" },
|
|
212
|
+
"id": { "column": "id" },
|
|
213
|
+
"name": { "column": "name" },
|
|
214
|
+
"updated_at": { "column": "updated_at" }
|
|
215
|
+
},
|
|
216
|
+
"namespaceId": "storage",
|
|
217
|
+
"table": "objects"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
} }
|
|
221
|
+
} },
|
|
222
|
+
storage: {
|
|
223
|
+
"namespaces": {
|
|
224
|
+
"auth": {
|
|
225
|
+
"entries": { "table": {
|
|
226
|
+
"identities": {
|
|
227
|
+
"columns": {
|
|
228
|
+
"created_at": {
|
|
229
|
+
"codecId": "pg/timestamptz@1",
|
|
230
|
+
"nativeType": "timestamptz",
|
|
231
|
+
"nullable": false,
|
|
232
|
+
"typeRef": "Timestamptz"
|
|
233
|
+
},
|
|
234
|
+
"id": {
|
|
235
|
+
"codecId": "pg/uuid@1",
|
|
236
|
+
"nativeType": "uuid",
|
|
237
|
+
"nullable": false,
|
|
238
|
+
"typeRef": "Uuid"
|
|
239
|
+
},
|
|
240
|
+
"provider": {
|
|
241
|
+
"codecId": "pg/text@1",
|
|
242
|
+
"nativeType": "text",
|
|
243
|
+
"nullable": false
|
|
244
|
+
},
|
|
245
|
+
"updated_at": {
|
|
246
|
+
"codecId": "pg/timestamptz@1",
|
|
247
|
+
"nativeType": "timestamptz",
|
|
248
|
+
"nullable": false,
|
|
249
|
+
"typeRef": "Timestamptz"
|
|
250
|
+
},
|
|
251
|
+
"user_id": {
|
|
252
|
+
"codecId": "pg/uuid@1",
|
|
253
|
+
"nativeType": "uuid",
|
|
254
|
+
"nullable": false,
|
|
255
|
+
"typeRef": "Uuid"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"foreignKeys": [],
|
|
259
|
+
"indexes": [],
|
|
260
|
+
"primaryKey": { "columns": ["id"] },
|
|
261
|
+
"uniques": []
|
|
262
|
+
},
|
|
263
|
+
"users": {
|
|
264
|
+
"columns": {
|
|
265
|
+
"created_at": {
|
|
266
|
+
"codecId": "pg/timestamptz@1",
|
|
267
|
+
"nativeType": "timestamptz",
|
|
268
|
+
"nullable": false,
|
|
269
|
+
"typeRef": "Timestamptz"
|
|
270
|
+
},
|
|
271
|
+
"email": {
|
|
272
|
+
"codecId": "pg/text@1",
|
|
273
|
+
"nativeType": "text",
|
|
274
|
+
"nullable": false
|
|
275
|
+
},
|
|
276
|
+
"id": {
|
|
277
|
+
"codecId": "pg/uuid@1",
|
|
278
|
+
"nativeType": "uuid",
|
|
279
|
+
"nullable": false,
|
|
280
|
+
"typeRef": "Uuid"
|
|
281
|
+
},
|
|
282
|
+
"updated_at": {
|
|
283
|
+
"codecId": "pg/timestamptz@1",
|
|
284
|
+
"nativeType": "timestamptz",
|
|
285
|
+
"nullable": false,
|
|
286
|
+
"typeRef": "Timestamptz"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"foreignKeys": [],
|
|
290
|
+
"indexes": [],
|
|
291
|
+
"primaryKey": { "columns": ["id"] },
|
|
292
|
+
"uniques": []
|
|
293
|
+
}
|
|
294
|
+
} },
|
|
295
|
+
"id": "auth",
|
|
296
|
+
"kind": "postgres-schema"
|
|
297
|
+
},
|
|
298
|
+
"public": {
|
|
299
|
+
"entries": { "table": {} },
|
|
300
|
+
"id": "public",
|
|
301
|
+
"kind": "postgres-schema"
|
|
302
|
+
},
|
|
303
|
+
"storage": {
|
|
304
|
+
"entries": { "table": {
|
|
305
|
+
"buckets": {
|
|
306
|
+
"columns": {
|
|
307
|
+
"created_at": {
|
|
308
|
+
"codecId": "pg/timestamptz@1",
|
|
309
|
+
"nativeType": "timestamptz",
|
|
310
|
+
"nullable": false,
|
|
311
|
+
"typeRef": "Timestamptz"
|
|
312
|
+
},
|
|
313
|
+
"id": {
|
|
314
|
+
"codecId": "pg/text@1",
|
|
315
|
+
"nativeType": "text",
|
|
316
|
+
"nullable": false
|
|
317
|
+
},
|
|
318
|
+
"name": {
|
|
319
|
+
"codecId": "pg/text@1",
|
|
320
|
+
"nativeType": "text",
|
|
321
|
+
"nullable": false
|
|
322
|
+
},
|
|
323
|
+
"updated_at": {
|
|
324
|
+
"codecId": "pg/timestamptz@1",
|
|
325
|
+
"nativeType": "timestamptz",
|
|
326
|
+
"nullable": false,
|
|
327
|
+
"typeRef": "Timestamptz"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"foreignKeys": [],
|
|
331
|
+
"indexes": [],
|
|
332
|
+
"primaryKey": { "columns": ["id"] },
|
|
333
|
+
"uniques": []
|
|
334
|
+
},
|
|
335
|
+
"objects": {
|
|
336
|
+
"columns": {
|
|
337
|
+
"bucket_id": {
|
|
338
|
+
"codecId": "pg/text@1",
|
|
339
|
+
"nativeType": "text",
|
|
340
|
+
"nullable": false
|
|
341
|
+
},
|
|
342
|
+
"created_at": {
|
|
343
|
+
"codecId": "pg/timestamptz@1",
|
|
344
|
+
"nativeType": "timestamptz",
|
|
345
|
+
"nullable": false,
|
|
346
|
+
"typeRef": "Timestamptz"
|
|
347
|
+
},
|
|
348
|
+
"id": {
|
|
349
|
+
"codecId": "pg/uuid@1",
|
|
350
|
+
"nativeType": "uuid",
|
|
351
|
+
"nullable": false,
|
|
352
|
+
"typeRef": "Uuid"
|
|
353
|
+
},
|
|
354
|
+
"name": {
|
|
355
|
+
"codecId": "pg/text@1",
|
|
356
|
+
"nativeType": "text",
|
|
357
|
+
"nullable": false
|
|
358
|
+
},
|
|
359
|
+
"updated_at": {
|
|
360
|
+
"codecId": "pg/timestamptz@1",
|
|
361
|
+
"nativeType": "timestamptz",
|
|
362
|
+
"nullable": false,
|
|
363
|
+
"typeRef": "Timestamptz"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"foreignKeys": [],
|
|
367
|
+
"indexes": [],
|
|
368
|
+
"primaryKey": { "columns": ["id"] },
|
|
369
|
+
"uniques": []
|
|
370
|
+
}
|
|
371
|
+
} },
|
|
372
|
+
"id": "storage",
|
|
373
|
+
"kind": "postgres-schema"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"storageHash": "sha256:61dac13aa56bcb5b7f1c5441c2bd8fc07d88f6c870c80b4c1640fd0d180fb423",
|
|
377
|
+
"types": {
|
|
378
|
+
"Timestamptz": {
|
|
379
|
+
"codecId": "pg/timestamptz@1",
|
|
380
|
+
"kind": "codec-instance",
|
|
381
|
+
"nativeType": "timestamptz"
|
|
382
|
+
},
|
|
383
|
+
"Uuid": {
|
|
384
|
+
"codecId": "pg/uuid@1",
|
|
385
|
+
"kind": "codec-instance",
|
|
386
|
+
"nativeType": "uuid"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
capabilities: {
|
|
391
|
+
"postgres": {
|
|
392
|
+
"distinctOn": true,
|
|
393
|
+
"jsonAgg": true,
|
|
394
|
+
"lateral": true,
|
|
395
|
+
"limit": true,
|
|
396
|
+
"orderBy": true,
|
|
397
|
+
"returning": true
|
|
398
|
+
},
|
|
399
|
+
"sql": {
|
|
400
|
+
"defaultInInsert": true,
|
|
401
|
+
"enums": true,
|
|
402
|
+
"lateral": true,
|
|
403
|
+
"returning": true,
|
|
404
|
+
"scalarList": true
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
extensionPacks: {},
|
|
408
|
+
defaultControlPolicy: "external",
|
|
409
|
+
meta: {},
|
|
410
|
+
_generated: {
|
|
411
|
+
"warning": "⚠️ GENERATED FILE - DO NOT EDIT",
|
|
412
|
+
"message": "This file is automatically generated by \"prisma-next contract emit\".",
|
|
413
|
+
"regenerate": "To regenerate, run: prisma-next contract emit"
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
//#endregion
|
|
417
|
+
export { version as n, contract_default as t };
|
|
418
|
+
|
|
419
|
+
//# sourceMappingURL=contract-ikg3juR7.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract-ikg3juR7.mjs","names":[],"sources":["../package.json","../src/contract/contract.json"],"sourcesContent":["",""],"mappings":""}
|