@prisma-next/extension-supabase 0.13.0-dev.31 → 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 +1 -1
- package/dist/package-BiD3sw9Q.mjs +6 -0
- package/dist/package-BiD3sw9Q.mjs.map +1 -0
- package/dist/runtime.mjs +1 -1
- package/package.json +26 -26
- package/src/contract/contract.d.ts +218 -351
- package/dist/package-MK3uiajk.mjs +0 -6
- package/dist/package-MK3uiajk.mjs.map +0 -1
package/dist/pack.mjs
CHANGED
|
@@ -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-
|
|
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.
|
|
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.
|
|
9
|
-
"@prisma-next/contract": "0.13.0-dev.
|
|
10
|
-
"@prisma-next/driver-postgres": "0.13.0-dev.
|
|
11
|
-
"@prisma-next/postgres": "0.13.0-dev.
|
|
12
|
-
"@prisma-next/sql-builder": "0.13.0-dev.
|
|
13
|
-
"@prisma-next/sql-orm-client": "0.13.0-dev.
|
|
14
|
-
"@prisma-next/target-postgres": "0.13.0-dev.
|
|
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.
|
|
18
|
-
"@prisma-next/family-sql": "0.13.0-dev.
|
|
19
|
-
"@prisma-next/framework-components": "0.13.0-dev.
|
|
20
|
-
"@prisma-next/migration-tools": "0.13.0-dev.
|
|
21
|
-
"@prisma-next/sql-contract": "0.13.0-dev.
|
|
22
|
-
"@prisma-next/sql-contract-ts": "0.13.0-dev.
|
|
23
|
-
"@prisma-next/sql-operations": "0.13.0-dev.
|
|
24
|
-
"@prisma-next/sql-relational-core": "0.13.0-dev.
|
|
25
|
-
"@prisma-next/sql-runtime": "0.13.0-dev.
|
|
26
|
-
"@prisma-next/sql-schema-ir": "0.13.0-dev.
|
|
27
|
-
"@prisma-next/utils": "0.13.0-dev.
|
|
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.
|
|
33
|
-
"@prisma-next/operations": "0.13.0-dev.
|
|
34
|
-
"@prisma-next/sql-contract-psl": "0.13.0-dev.
|
|
35
|
-
"@prisma-next/test-utils": "0.13.0-dev.
|
|
36
|
-
"@prisma-next/tsconfig": "0.13.0-dev.
|
|
37
|
-
"@prisma-next/tsdown": "0.13.0-dev.
|
|
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.
|
|
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
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
readonly
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
|
67
|
-
readonly
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
|
76
|
-
readonly
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
readonly
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
95
|
-
readonly
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
|
113
|
-
readonly
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
readonly
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
readonly
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
readonly
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
readonly
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
readonly
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
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
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
readonly
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
readonly
|
|
243
|
-
|
|
244
|
-
|
|
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
|
|
275
|
-
readonly
|
|
276
|
-
|
|
277
|
-
|
|
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
|
|
328
|
-
readonly
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
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
|
|
390
|
-
readonly
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-MK3uiajk.mjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|