@prisma-next/extension-supabase 0.13.0-dev.32 → 0.13.0-dev.33

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-159br12P.mjs";
1
+ import { t as version } from "./package-BiD3sw9Q.mjs";
2
2
  import { blindCast } from "@prisma-next/utils/casts";
3
3
  //#region src/contract/contract.json
4
4
  var contract_default = {
@@ -0,0 +1,6 @@
1
+ //#region package.json
2
+ var version = "0.13.0-dev.33";
3
+ //#endregion
4
+ export { version as t };
5
+
6
+ //# sourceMappingURL=package-BiD3sw9Q.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-BiD3sw9Q.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
package/dist/runtime.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as version } from "./package-159br12P.mjs";
1
+ import { t as version } from "./package-BiD3sw9Q.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.32",
3
+ "version": "0.13.0-dev.33",
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.32",
9
- "@prisma-next/contract": "0.13.0-dev.32",
10
- "@prisma-next/driver-postgres": "0.13.0-dev.32",
11
- "@prisma-next/postgres": "0.13.0-dev.32",
12
- "@prisma-next/sql-builder": "0.13.0-dev.32",
13
- "@prisma-next/sql-orm-client": "0.13.0-dev.32",
14
- "@prisma-next/target-postgres": "0.13.0-dev.32",
8
+ "@prisma-next/adapter-postgres": "0.13.0-dev.33",
9
+ "@prisma-next/contract": "0.13.0-dev.33",
10
+ "@prisma-next/driver-postgres": "0.13.0-dev.33",
11
+ "@prisma-next/postgres": "0.13.0-dev.33",
12
+ "@prisma-next/sql-builder": "0.13.0-dev.33",
13
+ "@prisma-next/sql-orm-client": "0.13.0-dev.33",
14
+ "@prisma-next/target-postgres": "0.13.0-dev.33",
15
15
  "jose": "^6",
16
16
  "pg": "8.21.0",
17
- "@prisma-next/contract-authoring": "0.13.0-dev.32",
18
- "@prisma-next/family-sql": "0.13.0-dev.32",
19
- "@prisma-next/framework-components": "0.13.0-dev.32",
20
- "@prisma-next/migration-tools": "0.13.0-dev.32",
21
- "@prisma-next/sql-contract": "0.13.0-dev.32",
22
- "@prisma-next/sql-contract-ts": "0.13.0-dev.32",
23
- "@prisma-next/sql-operations": "0.13.0-dev.32",
24
- "@prisma-next/sql-relational-core": "0.13.0-dev.32",
25
- "@prisma-next/sql-runtime": "0.13.0-dev.32",
26
- "@prisma-next/sql-schema-ir": "0.13.0-dev.32",
27
- "@prisma-next/utils": "0.13.0-dev.32",
17
+ "@prisma-next/contract-authoring": "0.13.0-dev.33",
18
+ "@prisma-next/family-sql": "0.13.0-dev.33",
19
+ "@prisma-next/framework-components": "0.13.0-dev.33",
20
+ "@prisma-next/migration-tools": "0.13.0-dev.33",
21
+ "@prisma-next/sql-contract": "0.13.0-dev.33",
22
+ "@prisma-next/sql-contract-ts": "0.13.0-dev.33",
23
+ "@prisma-next/sql-operations": "0.13.0-dev.33",
24
+ "@prisma-next/sql-relational-core": "0.13.0-dev.33",
25
+ "@prisma-next/sql-runtime": "0.13.0-dev.33",
26
+ "@prisma-next/sql-schema-ir": "0.13.0-dev.33",
27
+ "@prisma-next/utils": "0.13.0-dev.33",
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.32",
33
- "@prisma-next/operations": "0.13.0-dev.32",
34
- "@prisma-next/sql-contract-psl": "0.13.0-dev.32",
35
- "@prisma-next/test-utils": "0.13.0-dev.32",
36
- "@prisma-next/tsconfig": "0.13.0-dev.32",
37
- "@prisma-next/tsdown": "0.13.0-dev.32",
32
+ "@prisma-next/cli": "0.13.0-dev.33",
33
+ "@prisma-next/operations": "0.13.0-dev.33",
34
+ "@prisma-next/sql-contract-psl": "0.13.0-dev.33",
35
+ "@prisma-next/test-utils": "0.13.0-dev.33",
36
+ "@prisma-next/tsconfig": "0.13.0-dev.33",
37
+ "@prisma-next/tsdown": "0.13.0-dev.33",
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.32",
44
+ "@prisma-next/adapter-postgres": "0.13.0-dev.33",
45
45
  "typescript": ">=5.9"
46
46
  },
47
47
  "peerDependenciesMeta": {
@@ -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,
@@ -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/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
- };
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/uuid@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/uuid@1']['input'];
77
- readonly user_id: CodecTypes['pg/uuid@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/uuid@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/uuid@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,185 @@ 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/uuid@1';
128
- readonly nullable: false;
129
- readonly typeRef: 'Uuid';
130
- };
131
- readonly user_id: {
132
- readonly nativeType: 'uuid';
133
- readonly codecId: 'pg/uuid@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 __unbound__: {
120
+ readonly id: '__unbound__';
121
+ readonly kind: 'sql-namespace';
122
+ readonly entries: { readonly table: {} };
123
+ };
124
+ readonly auth: {
125
+ readonly id: 'auth';
126
+ readonly kind: 'sql-namespace';
127
+ readonly entries: {
128
+ readonly table: {
129
+ readonly identities: {
130
+ columns: {
131
+ readonly id: {
132
+ readonly nativeType: 'uuid';
133
+ readonly codecId: 'pg/uuid@1';
134
+ readonly nullable: false;
135
+ readonly typeRef: 'Uuid';
154
136
  };
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/uuid@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
- };
137
+ readonly user_id: {
138
+ readonly nativeType: 'uuid';
139
+ readonly codecId: 'pg/uuid@1';
140
+ readonly nullable: false;
141
+ readonly typeRef: 'Uuid';
142
+ };
143
+ readonly provider: {
144
+ readonly nativeType: 'text';
145
+ readonly codecId: 'pg/text@1';
146
+ readonly nullable: false;
147
+ };
148
+ readonly created_at: {
149
+ readonly nativeType: 'timestamptz';
150
+ readonly codecId: 'pg/timestamptz@1';
151
+ readonly nullable: false;
152
+ readonly typeRef: 'Timestamptz';
153
+ };
154
+ readonly updated_at: {
155
+ readonly nativeType: 'timestamptz';
156
+ readonly codecId: 'pg/timestamptz@1';
157
+ readonly nullable: false;
158
+ readonly typeRef: 'Timestamptz';
185
159
  };
186
- primaryKey: { readonly columns: readonly ['id'] };
187
- uniques: readonly [];
188
- indexes: readonly [];
189
- foreignKeys: readonly [];
190
160
  };
161
+ primaryKey: { readonly columns: readonly ['id'] };
162
+ uniques: readonly [];
163
+ indexes: readonly [];
164
+ foreignKeys: readonly [];
191
165
  };
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
- };
166
+ readonly users: {
167
+ columns: {
168
+ readonly id: {
169
+ readonly nativeType: 'uuid';
170
+ readonly codecId: 'pg/uuid@1';
171
+ readonly nullable: false;
172
+ readonly typeRef: 'Uuid';
228
173
  };
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/uuid@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
- };
174
+ readonly email: {
175
+ readonly nativeType: 'text';
176
+ readonly codecId: 'pg/text@1';
177
+ readonly nullable: false;
178
+ };
179
+ readonly created_at: {
180
+ readonly nativeType: 'timestamptz';
181
+ readonly codecId: 'pg/timestamptz@1';
182
+ readonly nullable: false;
183
+ readonly typeRef: 'Timestamptz';
184
+ };
185
+ readonly updated_at: {
186
+ readonly nativeType: 'timestamptz';
187
+ readonly codecId: 'pg/timestamptz@1';
188
+ readonly nullable: false;
189
+ readonly typeRef: 'Timestamptz';
264
190
  };
265
- primaryKey: { readonly columns: readonly ['id'] };
266
- uniques: readonly [];
267
- indexes: readonly [];
268
- foreignKeys: readonly [];
269
191
  };
192
+ primaryKey: { readonly columns: readonly ['id'] };
193
+ uniques: readonly [];
194
+ indexes: readonly [];
195
+ foreignKeys: readonly [];
270
196
  };
271
197
  };
272
198
  };
273
199
  };
274
- readonly types: {
275
- readonly Uuid: {
276
- readonly kind: 'codec-instance';
277
- readonly codecId: 'pg/uuid@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
- };
287
- };
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/uuid@1' };
296
- };
297
- readonly user_id: {
298
- readonly nullable: false;
299
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@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
- };
200
+ readonly public: {
201
+ readonly id: 'public';
202
+ readonly kind: 'sql-namespace';
203
+ readonly entries: { readonly table: {} };
326
204
  };
327
- readonly AuthUser: {
328
- readonly fields: {
329
- readonly id: {
330
- readonly nullable: false;
331
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@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' };
205
+ readonly storage: {
206
+ readonly id: 'storage';
207
+ readonly kind: 'sql-namespace';
208
+ readonly entries: {
209
+ readonly table: {
210
+ readonly buckets: {
211
+ columns: {
212
+ readonly id: {
213
+ readonly nativeType: 'text';
214
+ readonly codecId: 'pg/text@1';
215
+ readonly nullable: false;
216
+ };
217
+ readonly name: {
218
+ readonly nativeType: 'text';
219
+ readonly codecId: 'pg/text@1';
220
+ readonly nullable: false;
221
+ };
222
+ readonly created_at: {
223
+ readonly nativeType: 'timestamptz';
224
+ readonly codecId: 'pg/timestamptz@1';
225
+ readonly nullable: false;
226
+ readonly typeRef: 'Timestamptz';
227
+ };
228
+ readonly updated_at: {
229
+ readonly nativeType: 'timestamptz';
230
+ readonly codecId: 'pg/timestamptz@1';
231
+ readonly nullable: false;
232
+ readonly typeRef: 'Timestamptz';
233
+ };
234
+ };
235
+ primaryKey: { readonly columns: readonly ['id'] };
236
+ uniques: readonly [];
237
+ indexes: readonly [];
238
+ foreignKeys: readonly [];
239
+ };
240
+ readonly objects: {
241
+ columns: {
242
+ readonly id: {
243
+ readonly nativeType: 'uuid';
244
+ readonly codecId: 'pg/uuid@1';
245
+ readonly nullable: false;
246
+ readonly typeRef: 'Uuid';
247
+ };
248
+ readonly bucket_id: {
249
+ readonly nativeType: 'text';
250
+ readonly codecId: 'pg/text@1';
251
+ readonly nullable: false;
252
+ };
253
+ readonly name: {
254
+ readonly nativeType: 'text';
255
+ readonly codecId: 'pg/text@1';
256
+ readonly nullable: false;
257
+ };
258
+ readonly created_at: {
259
+ readonly nativeType: 'timestamptz';
260
+ readonly codecId: 'pg/timestamptz@1';
261
+ readonly nullable: false;
262
+ readonly typeRef: 'Timestamptz';
263
+ };
264
+ readonly updated_at: {
265
+ readonly nativeType: 'timestamptz';
266
+ readonly codecId: 'pg/timestamptz@1';
267
+ readonly nullable: false;
268
+ readonly typeRef: 'Timestamptz';
269
+ };
270
+ };
271
+ primaryKey: { readonly columns: readonly ['id'] };
272
+ uniques: readonly [];
273
+ indexes: readonly [];
274
+ foreignKeys: readonly [];
275
+ };
355
276
  };
356
277
  };
357
278
  };
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
- };
279
+ };
280
+ readonly types: {
281
+ readonly Uuid: {
282
+ readonly kind: 'codec-instance';
283
+ readonly codecId: 'pg/uuid@1';
284
+ readonly nativeType: 'uuid';
285
+ readonly typeParams: Record<string, never>;
388
286
  };
389
- readonly StorageObject: {
390
- readonly fields: {
391
- readonly id: {
392
- readonly nullable: false;
393
- readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@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
- };
287
+ readonly Timestamptz: {
288
+ readonly kind: 'codec-instance';
289
+ readonly codecId: 'pg/timestamptz@1';
290
+ readonly nativeType: 'timestamptz';
291
+ readonly typeParams: Record<string, never>;
424
292
  };
425
- }
426
- >,
293
+ };
294
+ readonly storageHash: StorageHash;
295
+ }>,
427
296
  'roots' | 'domain'
428
297
  > & {
429
298
  readonly target: 'postgres';
@@ -611,8 +480,6 @@ type ContractBase = Omit<
611
480
  readonly profileHash: ProfileHash;
612
481
  };
613
482
 
614
- export type Models = ContractModelDefinitions<Contract>;
615
-
616
483
  export type Contract = ContractWithTypeMaps<ContractBase, TypeMaps>;
617
484
 
618
485
  export type Namespaces = Contract['storage']['namespaces'];
@@ -1,6 +0,0 @@
1
- //#region package.json
2
- var version = "0.13.0-dev.32";
3
- //#endregion
4
- export { version as t };
5
-
6
- //# sourceMappingURL=package-159br12P.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package-159br12P.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}