@prisma-next/extension-supabase 0.13.0-dev.9 → 0.14.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,6 @@ import type {
23
23
  } from '@prisma-next/sql-contract/types';
24
24
  import type {
25
25
  Contract as ContractType,
26
- ContractModelDefinitions,
27
26
  ExecutionHashBase,
28
27
  NamespaceId,
29
28
  ProfileHashBase,
@@ -31,7 +30,7 @@ import type {
31
30
  } from '@prisma-next/contract/types';
32
31
 
33
32
  export type StorageHash =
34
- StorageHashBase<'sha256:a92ac18f82eb73f747fa9512351caec3e42df1a1a897bce787966af84371638c'>;
33
+ StorageHashBase<'sha256:61dac13aa56bcb5b7f1c5441c2bd8fc07d88f6c870c80b4c1640fd0d180fb423'>;
35
34
  export type ExecutionHash = ExecutionHashBase<string>;
36
35
  export type ProfileHash =
37
36
  ProfileHashBase<'sha256:9c8aa3114e84ed3b7ea2bd57526d9c2e1bf7c5292be694e9d3801f566fda7ccb'>;
@@ -44,59 +43,67 @@ type DefaultLiteralValue<CodecId extends string, _Encoded> = CodecId extends key
44
43
  : _Encoded;
45
44
 
46
45
  export type FieldOutputTypes = {
47
- readonly AuthIdentity: {
48
- readonly id: CodecTypes['pg/text@1']['output'];
49
- readonly user_id: CodecTypes['pg/text@1']['output'];
50
- readonly provider: CodecTypes['pg/text@1']['output'];
51
- readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
52
- readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
53
- };
54
- readonly AuthUser: {
55
- readonly id: CodecTypes['pg/text@1']['output'];
56
- readonly email: CodecTypes['pg/text@1']['output'];
57
- readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
58
- readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
59
- };
60
- readonly StorageBucket: {
61
- readonly id: CodecTypes['pg/text@1']['output'];
62
- readonly name: CodecTypes['pg/text@1']['output'];
63
- readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
64
- readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
46
+ readonly auth: {
47
+ readonly AuthIdentity: {
48
+ readonly id: CodecTypes['pg/uuid@1']['output'];
49
+ readonly user_id: CodecTypes['pg/uuid@1']['output'];
50
+ readonly provider: CodecTypes['pg/text@1']['output'];
51
+ readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
52
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
53
+ };
54
+ readonly AuthUser: {
55
+ readonly id: CodecTypes['pg/uuid@1']['output'];
56
+ readonly email: CodecTypes['pg/text@1']['output'];
57
+ readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
58
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
59
+ };
65
60
  };
66
- readonly StorageObject: {
67
- readonly id: CodecTypes['pg/text@1']['output'];
68
- readonly bucket_id: CodecTypes['pg/text@1']['output'];
69
- readonly name: CodecTypes['pg/text@1']['output'];
70
- readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
71
- readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
61
+ readonly storage: {
62
+ readonly StorageBucket: {
63
+ readonly id: CodecTypes['pg/text@1']['output'];
64
+ readonly name: CodecTypes['pg/text@1']['output'];
65
+ readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
66
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
67
+ };
68
+ readonly StorageObject: {
69
+ readonly id: CodecTypes['pg/uuid@1']['output'];
70
+ readonly bucket_id: CodecTypes['pg/text@1']['output'];
71
+ readonly name: CodecTypes['pg/text@1']['output'];
72
+ readonly created_at: CodecTypes['pg/timestamptz@1']['output'];
73
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['output'];
74
+ };
72
75
  };
73
76
  };
74
77
  export type FieldInputTypes = {
75
- readonly AuthIdentity: {
76
- readonly id: CodecTypes['pg/text@1']['input'];
77
- readonly user_id: CodecTypes['pg/text@1']['input'];
78
- readonly provider: CodecTypes['pg/text@1']['input'];
79
- readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
80
- readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
81
- };
82
- readonly AuthUser: {
83
- readonly id: CodecTypes['pg/text@1']['input'];
84
- readonly email: CodecTypes['pg/text@1']['input'];
85
- readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
86
- readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
87
- };
88
- readonly StorageBucket: {
89
- readonly id: CodecTypes['pg/text@1']['input'];
90
- readonly name: CodecTypes['pg/text@1']['input'];
91
- readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
92
- readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
78
+ readonly auth: {
79
+ readonly AuthIdentity: {
80
+ readonly id: CodecTypes['pg/uuid@1']['input'];
81
+ readonly user_id: CodecTypes['pg/uuid@1']['input'];
82
+ readonly provider: CodecTypes['pg/text@1']['input'];
83
+ readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
84
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
85
+ };
86
+ readonly AuthUser: {
87
+ readonly id: CodecTypes['pg/uuid@1']['input'];
88
+ readonly email: CodecTypes['pg/text@1']['input'];
89
+ readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
90
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
91
+ };
93
92
  };
94
- readonly StorageObject: {
95
- readonly id: CodecTypes['pg/text@1']['input'];
96
- readonly bucket_id: CodecTypes['pg/text@1']['input'];
97
- readonly name: CodecTypes['pg/text@1']['input'];
98
- readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
99
- readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
93
+ readonly storage: {
94
+ readonly StorageBucket: {
95
+ readonly id: CodecTypes['pg/text@1']['input'];
96
+ readonly name: CodecTypes['pg/text@1']['input'];
97
+ readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
98
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
99
+ };
100
+ readonly StorageObject: {
101
+ readonly id: CodecTypes['pg/uuid@1']['input'];
102
+ readonly bucket_id: CodecTypes['pg/text@1']['input'];
103
+ readonly name: CodecTypes['pg/text@1']['input'];
104
+ readonly created_at: CodecTypes['pg/timestamptz@1']['input'];
105
+ readonly updated_at: CodecTypes['pg/timestamptz@1']['input'];
106
+ };
100
107
  };
101
108
  };
102
109
  export type TypeMaps = TypeMapsType<
@@ -107,323 +114,180 @@ export type TypeMaps = TypeMapsType<
107
114
  >;
108
115
 
109
116
  type ContractBase = Omit<
110
- ContractType<
111
- {
112
- readonly namespaces: {
113
- readonly __unbound__: {
114
- readonly id: '__unbound__';
115
- readonly kind: 'sql-namespace';
116
- readonly entries: { readonly table: {} };
117
- };
118
- readonly auth: {
119
- readonly id: 'auth';
120
- readonly kind: 'sql-namespace';
121
- readonly entries: {
122
- readonly table: {
123
- readonly identities: {
124
- columns: {
125
- readonly id: {
126
- readonly nativeType: 'uuid';
127
- readonly codecId: 'pg/text@1';
128
- readonly nullable: false;
129
- readonly typeRef: 'Uuid';
130
- };
131
- readonly user_id: {
132
- readonly nativeType: 'uuid';
133
- readonly codecId: 'pg/text@1';
134
- readonly nullable: false;
135
- readonly typeRef: 'Uuid';
136
- };
137
- readonly provider: {
138
- readonly nativeType: 'text';
139
- readonly codecId: 'pg/text@1';
140
- readonly nullable: false;
141
- };
142
- readonly created_at: {
143
- readonly nativeType: 'timestamptz';
144
- readonly codecId: 'pg/timestamptz@1';
145
- readonly nullable: false;
146
- readonly typeRef: 'Timestamptz';
147
- };
148
- readonly updated_at: {
149
- readonly nativeType: 'timestamptz';
150
- readonly codecId: 'pg/timestamptz@1';
151
- readonly nullable: false;
152
- readonly typeRef: 'Timestamptz';
153
- };
117
+ ContractType<{
118
+ readonly namespaces: {
119
+ readonly auth: {
120
+ readonly id: 'auth';
121
+ readonly kind: 'sql-namespace';
122
+ readonly entries: {
123
+ readonly table: {
124
+ readonly identities: {
125
+ columns: {
126
+ readonly id: {
127
+ readonly nativeType: 'uuid';
128
+ readonly codecId: 'pg/uuid@1';
129
+ readonly nullable: false;
130
+ readonly typeRef: 'Uuid';
154
131
  };
155
- primaryKey: { readonly columns: readonly ['id'] };
156
- uniques: readonly [];
157
- indexes: readonly [];
158
- foreignKeys: readonly [];
159
- };
160
- readonly users: {
161
- columns: {
162
- readonly id: {
163
- readonly nativeType: 'uuid';
164
- readonly codecId: 'pg/text@1';
165
- readonly nullable: false;
166
- readonly typeRef: 'Uuid';
167
- };
168
- readonly email: {
169
- readonly nativeType: 'text';
170
- readonly codecId: 'pg/text@1';
171
- readonly nullable: false;
172
- };
173
- readonly created_at: {
174
- readonly nativeType: 'timestamptz';
175
- readonly codecId: 'pg/timestamptz@1';
176
- readonly nullable: false;
177
- readonly typeRef: 'Timestamptz';
178
- };
179
- readonly updated_at: {
180
- readonly nativeType: 'timestamptz';
181
- readonly codecId: 'pg/timestamptz@1';
182
- readonly nullable: false;
183
- readonly typeRef: 'Timestamptz';
184
- };
132
+ readonly user_id: {
133
+ readonly nativeType: 'uuid';
134
+ readonly codecId: 'pg/uuid@1';
135
+ readonly nullable: false;
136
+ readonly typeRef: 'Uuid';
137
+ };
138
+ readonly provider: {
139
+ readonly nativeType: 'text';
140
+ readonly codecId: 'pg/text@1';
141
+ readonly nullable: false;
142
+ };
143
+ readonly created_at: {
144
+ readonly nativeType: 'timestamptz';
145
+ readonly codecId: 'pg/timestamptz@1';
146
+ readonly nullable: false;
147
+ readonly typeRef: 'Timestamptz';
148
+ };
149
+ readonly updated_at: {
150
+ readonly nativeType: 'timestamptz';
151
+ readonly codecId: 'pg/timestamptz@1';
152
+ readonly nullable: false;
153
+ readonly typeRef: 'Timestamptz';
185
154
  };
186
- primaryKey: { readonly columns: readonly ['id'] };
187
- uniques: readonly [];
188
- indexes: readonly [];
189
- foreignKeys: readonly [];
190
155
  };
156
+ primaryKey: { readonly columns: readonly ['id'] };
157
+ uniques: readonly [];
158
+ indexes: readonly [];
159
+ foreignKeys: readonly [];
191
160
  };
192
- };
193
- };
194
- readonly public: {
195
- readonly id: 'public';
196
- readonly kind: 'sql-namespace';
197
- readonly entries: { readonly table: {} };
198
- };
199
- readonly storage: {
200
- readonly id: 'storage';
201
- readonly kind: 'sql-namespace';
202
- readonly entries: {
203
- readonly table: {
204
- readonly buckets: {
205
- columns: {
206
- readonly id: {
207
- readonly nativeType: 'text';
208
- readonly codecId: 'pg/text@1';
209
- readonly nullable: false;
210
- };
211
- readonly name: {
212
- readonly nativeType: 'text';
213
- readonly codecId: 'pg/text@1';
214
- readonly nullable: false;
215
- };
216
- readonly created_at: {
217
- readonly nativeType: 'timestamptz';
218
- readonly codecId: 'pg/timestamptz@1';
219
- readonly nullable: false;
220
- readonly typeRef: 'Timestamptz';
221
- };
222
- readonly updated_at: {
223
- readonly nativeType: 'timestamptz';
224
- readonly codecId: 'pg/timestamptz@1';
225
- readonly nullable: false;
226
- readonly typeRef: 'Timestamptz';
227
- };
161
+ readonly users: {
162
+ columns: {
163
+ readonly id: {
164
+ readonly nativeType: 'uuid';
165
+ readonly codecId: 'pg/uuid@1';
166
+ readonly nullable: false;
167
+ readonly typeRef: 'Uuid';
228
168
  };
229
- primaryKey: { readonly columns: readonly ['id'] };
230
- uniques: readonly [];
231
- indexes: readonly [];
232
- foreignKeys: readonly [];
233
- };
234
- readonly objects: {
235
- columns: {
236
- readonly id: {
237
- readonly nativeType: 'uuid';
238
- readonly codecId: 'pg/text@1';
239
- readonly nullable: false;
240
- readonly typeRef: 'Uuid';
241
- };
242
- readonly bucket_id: {
243
- readonly nativeType: 'text';
244
- readonly codecId: 'pg/text@1';
245
- readonly nullable: false;
246
- };
247
- readonly name: {
248
- readonly nativeType: 'text';
249
- readonly codecId: 'pg/text@1';
250
- readonly nullable: false;
251
- };
252
- readonly created_at: {
253
- readonly nativeType: 'timestamptz';
254
- readonly codecId: 'pg/timestamptz@1';
255
- readonly nullable: false;
256
- readonly typeRef: 'Timestamptz';
257
- };
258
- readonly updated_at: {
259
- readonly nativeType: 'timestamptz';
260
- readonly codecId: 'pg/timestamptz@1';
261
- readonly nullable: false;
262
- readonly typeRef: 'Timestamptz';
263
- };
169
+ readonly email: {
170
+ readonly nativeType: 'text';
171
+ readonly codecId: 'pg/text@1';
172
+ readonly nullable: false;
173
+ };
174
+ readonly created_at: {
175
+ readonly nativeType: 'timestamptz';
176
+ readonly codecId: 'pg/timestamptz@1';
177
+ readonly nullable: false;
178
+ readonly typeRef: 'Timestamptz';
179
+ };
180
+ readonly updated_at: {
181
+ readonly nativeType: 'timestamptz';
182
+ readonly codecId: 'pg/timestamptz@1';
183
+ readonly nullable: false;
184
+ readonly typeRef: 'Timestamptz';
264
185
  };
265
- primaryKey: { readonly columns: readonly ['id'] };
266
- uniques: readonly [];
267
- indexes: readonly [];
268
- foreignKeys: readonly [];
269
186
  };
187
+ primaryKey: { readonly columns: readonly ['id'] };
188
+ uniques: readonly [];
189
+ indexes: readonly [];
190
+ foreignKeys: readonly [];
270
191
  };
271
192
  };
272
193
  };
273
194
  };
274
- readonly types: {
275
- readonly Uuid: {
276
- readonly kind: 'codec-instance';
277
- readonly codecId: 'pg/text@1';
278
- readonly nativeType: 'uuid';
279
- readonly typeParams: Record<string, never>;
280
- };
281
- readonly Timestamptz: {
282
- readonly kind: 'codec-instance';
283
- readonly codecId: 'pg/timestamptz@1';
284
- readonly nativeType: 'timestamptz';
285
- readonly typeParams: Record<string, never>;
286
- };
195
+ readonly public: {
196
+ readonly id: 'public';
197
+ readonly kind: 'sql-namespace';
198
+ readonly entries: { readonly table: {} };
287
199
  };
288
- readonly storageHash: StorageHash;
289
- },
290
- {
291
- readonly AuthIdentity: {
292
- readonly fields: {
293
- readonly id: {
294
- readonly nullable: false;
295
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
296
- };
297
- readonly user_id: {
298
- readonly nullable: false;
299
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
300
- };
301
- readonly provider: {
302
- readonly nullable: false;
303
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
304
- };
305
- readonly created_at: {
306
- readonly nullable: false;
307
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
308
- };
309
- readonly updated_at: {
310
- readonly nullable: false;
311
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
312
- };
313
- };
314
- readonly relations: Record<string, never>;
315
- readonly storage: {
316
- readonly table: 'identities';
317
- readonly namespaceId: 'auth';
318
- readonly fields: {
319
- readonly id: { readonly column: 'id' };
320
- readonly user_id: { readonly column: 'user_id' };
321
- readonly provider: { readonly column: 'provider' };
322
- readonly created_at: { readonly column: 'created_at' };
323
- readonly updated_at: { readonly column: 'updated_at' };
324
- };
325
- };
326
- };
327
- readonly AuthUser: {
328
- readonly fields: {
329
- readonly id: {
330
- readonly nullable: false;
331
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
332
- };
333
- readonly email: {
334
- readonly nullable: false;
335
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
336
- };
337
- readonly created_at: {
338
- readonly nullable: false;
339
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
340
- };
341
- readonly updated_at: {
342
- readonly nullable: false;
343
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
344
- };
345
- };
346
- readonly relations: Record<string, never>;
347
- readonly storage: {
348
- readonly table: 'users';
349
- readonly namespaceId: 'auth';
350
- readonly fields: {
351
- readonly id: { readonly column: 'id' };
352
- readonly email: { readonly column: 'email' };
353
- readonly created_at: { readonly column: 'created_at' };
354
- readonly updated_at: { readonly column: 'updated_at' };
200
+ readonly storage: {
201
+ readonly id: 'storage';
202
+ readonly kind: 'sql-namespace';
203
+ readonly entries: {
204
+ readonly table: {
205
+ readonly buckets: {
206
+ columns: {
207
+ readonly id: {
208
+ readonly nativeType: 'text';
209
+ readonly codecId: 'pg/text@1';
210
+ readonly nullable: false;
211
+ };
212
+ readonly name: {
213
+ readonly nativeType: 'text';
214
+ readonly codecId: 'pg/text@1';
215
+ readonly nullable: false;
216
+ };
217
+ readonly created_at: {
218
+ readonly nativeType: 'timestamptz';
219
+ readonly codecId: 'pg/timestamptz@1';
220
+ readonly nullable: false;
221
+ readonly typeRef: 'Timestamptz';
222
+ };
223
+ readonly updated_at: {
224
+ readonly nativeType: 'timestamptz';
225
+ readonly codecId: 'pg/timestamptz@1';
226
+ readonly nullable: false;
227
+ readonly typeRef: 'Timestamptz';
228
+ };
229
+ };
230
+ primaryKey: { readonly columns: readonly ['id'] };
231
+ uniques: readonly [];
232
+ indexes: readonly [];
233
+ foreignKeys: readonly [];
234
+ };
235
+ readonly objects: {
236
+ columns: {
237
+ readonly id: {
238
+ readonly nativeType: 'uuid';
239
+ readonly codecId: 'pg/uuid@1';
240
+ readonly nullable: false;
241
+ readonly typeRef: 'Uuid';
242
+ };
243
+ readonly bucket_id: {
244
+ readonly nativeType: 'text';
245
+ readonly codecId: 'pg/text@1';
246
+ readonly nullable: false;
247
+ };
248
+ readonly name: {
249
+ readonly nativeType: 'text';
250
+ readonly codecId: 'pg/text@1';
251
+ readonly nullable: false;
252
+ };
253
+ readonly created_at: {
254
+ readonly nativeType: 'timestamptz';
255
+ readonly codecId: 'pg/timestamptz@1';
256
+ readonly nullable: false;
257
+ readonly typeRef: 'Timestamptz';
258
+ };
259
+ readonly updated_at: {
260
+ readonly nativeType: 'timestamptz';
261
+ readonly codecId: 'pg/timestamptz@1';
262
+ readonly nullable: false;
263
+ readonly typeRef: 'Timestamptz';
264
+ };
265
+ };
266
+ primaryKey: { readonly columns: readonly ['id'] };
267
+ uniques: readonly [];
268
+ indexes: readonly [];
269
+ foreignKeys: readonly [];
270
+ };
355
271
  };
356
272
  };
357
273
  };
358
- readonly StorageBucket: {
359
- readonly fields: {
360
- readonly id: {
361
- readonly nullable: false;
362
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
363
- };
364
- readonly name: {
365
- readonly nullable: false;
366
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
367
- };
368
- readonly created_at: {
369
- readonly nullable: false;
370
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
371
- };
372
- readonly updated_at: {
373
- readonly nullable: false;
374
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
375
- };
376
- };
377
- readonly relations: Record<string, never>;
378
- readonly storage: {
379
- readonly table: 'buckets';
380
- readonly namespaceId: 'storage';
381
- readonly fields: {
382
- readonly id: { readonly column: 'id' };
383
- readonly name: { readonly column: 'name' };
384
- readonly created_at: { readonly column: 'created_at' };
385
- readonly updated_at: { readonly column: 'updated_at' };
386
- };
387
- };
274
+ };
275
+ readonly types: {
276
+ readonly Uuid: {
277
+ readonly kind: 'codec-instance';
278
+ readonly codecId: 'pg/uuid@1';
279
+ readonly nativeType: 'uuid';
280
+ readonly typeParams: Record<string, never>;
388
281
  };
389
- readonly StorageObject: {
390
- readonly fields: {
391
- readonly id: {
392
- readonly nullable: false;
393
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
394
- };
395
- readonly bucket_id: {
396
- readonly nullable: false;
397
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
398
- };
399
- readonly name: {
400
- readonly nullable: false;
401
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
402
- };
403
- readonly created_at: {
404
- readonly nullable: false;
405
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
406
- };
407
- readonly updated_at: {
408
- readonly nullable: false;
409
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' };
410
- };
411
- };
412
- readonly relations: Record<string, never>;
413
- readonly storage: {
414
- readonly table: 'objects';
415
- readonly namespaceId: 'storage';
416
- readonly fields: {
417
- readonly id: { readonly column: 'id' };
418
- readonly bucket_id: { readonly column: 'bucket_id' };
419
- readonly name: { readonly column: 'name' };
420
- readonly created_at: { readonly column: 'created_at' };
421
- readonly updated_at: { readonly column: 'updated_at' };
422
- };
423
- };
282
+ readonly Timestamptz: {
283
+ readonly kind: 'codec-instance';
284
+ readonly codecId: 'pg/timestamptz@1';
285
+ readonly nativeType: 'timestamptz';
286
+ readonly typeParams: Record<string, never>;
424
287
  };
425
- }
426
- >,
288
+ };
289
+ readonly storageHash: StorageHash;
290
+ }>,
427
291
  'roots' | 'domain'
428
292
  > & {
429
293
  readonly target: 'postgres';
@@ -451,11 +315,11 @@ type ContractBase = Omit<
451
315
  readonly fields: {
452
316
  readonly id: {
453
317
  readonly nullable: false;
454
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
318
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
455
319
  };
456
320
  readonly user_id: {
457
321
  readonly nullable: false;
458
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
322
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
459
323
  };
460
324
  readonly provider: {
461
325
  readonly nullable: false;
@@ -487,7 +351,7 @@ type ContractBase = Omit<
487
351
  readonly fields: {
488
352
  readonly id: {
489
353
  readonly nullable: false;
490
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
354
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
491
355
  };
492
356
  readonly email: {
493
357
  readonly nullable: false;
@@ -553,7 +417,7 @@ type ContractBase = Omit<
553
417
  readonly fields: {
554
418
  readonly id: {
555
419
  readonly nullable: false;
556
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' };
420
+ readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' };
557
421
  };
558
422
  readonly bucket_id: {
559
423
  readonly nullable: false;
@@ -611,8 +475,6 @@ type ContractBase = Omit<
611
475
  readonly profileHash: ProfileHash;
612
476
  };
613
477
 
614
- export type Models = ContractModelDefinitions<Contract>;
615
-
616
478
  export type Contract = ContractWithTypeMaps<ContractBase, TypeMaps>;
617
479
 
618
480
  export type Namespaces = Contract['storage']['namespaces'];