kitcn 0.32.2 → 0.33.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.
- package/CHANGELOG.md +109 -0
- package/dist/aggregate/index.d.ts +2 -2
- package/dist/auth/generated/index.d.ts +1 -1
- package/dist/auth/index.d.ts +16 -16
- package/dist/auth/index.js +1 -1
- package/dist/auth/nextjs/index.d.ts +2 -2
- package/dist/auth/start/server/index.d.ts +2 -2
- package/dist/{builder-Cyd5nCxZ.js → builder-DDYTlmTB.js} +12 -3
- package/dist/caller-factory-C3pcbzo0.d.ts +140 -0
- package/dist/{capabilities-BJm_VSDT.d.ts → capabilities-Bxzoofl4.d.ts} +149 -9
- package/dist/crpc/index.d.ts +3 -2
- package/dist/{generated-contract-disabled-BRm1dNQE.d.ts → generated-contract-disabled-B_EaHGCP.d.ts} +33 -33
- package/dist/{http-types-BhhPZtwa.d.ts → http-types-8FBr10yl.d.ts} +3 -79
- package/dist/{middleware-BBS7oLtT.d.ts → middleware-D2hKJuSZ.d.ts} +1 -1
- package/dist/{middleware-D61Nm-iB.js → middleware-LvZov-hA.js} +1 -1
- package/dist/orm/aggregate-index/index.d.ts +1 -1
- package/dist/orm/aggregate-index/index.js +226 -96
- package/dist/orm/index.d.ts +2 -2
- package/dist/orm/index.js +364 -108
- package/dist/orm/migrations/index.d.ts +2 -2
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/{procedure-caller-DgMiD0-a.js → procedure-caller-DgGF_hA8.js} +1 -1
- package/dist/{procedure-name-DPYyLiVS.d.ts → procedure-name-kn-awLk1.d.ts} +12 -142
- package/dist/{query-context-D4z1CnDH.js → query-context-DQLv58LH.js} +34 -1
- package/dist/ratelimit/index.d.ts +2 -2
- package/dist/ratelimit/index.js +2 -2
- package/dist/react/index.d.ts +5 -6
- package/dist/react/index.js +24 -69
- package/dist/rsc/index.d.ts +4 -3
- package/dist/{schema-Bh7AmJwY.js → schema-BF4P0ZjS.js} +322 -1
- package/dist/server/index.d.ts +5 -4
- package/dist/server/index.js +2 -2
- package/dist/solid/index.d.ts +5 -6
- package/dist/solid/index.js +20 -66
- package/dist/transformer-BEkxlnss.d.ts +78 -0
- package/dist/{types-BXpu7xIU.d.ts → types-Cl0utsTL.d.ts} +4 -3
- package/dist/{where-clause-compiler-Dgf4lrO-.d.ts → where-clause-compiler-CoPVAVDO.d.ts} +136 -136
- package/package.json +1 -1
- package/skills/kitcn/SKILL.md +2 -1
- package/skills/kitcn/references/features/aggregates.md +13 -0
- package/skills/kitcn/references/features/auth-admin.md +1 -0
- package/skills/kitcn/references/features/orm.md +24 -4
- package/skills/kitcn/references/features/react.md +4 -5
- /package/dist/{context-utils-Cbv4r0AA.d.ts → context-utils-ax351iFc.d.ts} +0 -0
- /package/dist/{token-tlbNKQS0.d.ts → token-CZpDQUHd.d.ts} +0 -0
- /package/dist/{types-Bkeicpo6.d.ts → types-CzGsrLrY.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as OrmLifecycleChange, A as CreateDatabaseOptions, Ar as $Type, B as getUniqueIndexes, Ct as OrderByClause, F as CascadeMode, Ft as ExtractTablesFromSchema, Gn as Columns, Gt as TablesRelationalConfig, Ht as RelationsBuilderConfigValue, I as DeleteMode, Kn as OrmRuntimeDefaults, L as SerializedFilterExpression, Mr as ColumnBuilder, Mt as VectorSearchProvider, N as OrmReader, Nr as ColumnBuilderBaseConfig, Or as SystemFieldAliases, P as OrmWriter, Pt as AnyRelationsBuilderConfig, Qn as OrmSchemaTriggers, R as getChecks, U as EdgeMetadata, Un as ConvexColumnBuilder, Ur as entityKind, Ut as RelationsConfigWithSchema, Vn as ConvexTextBuilderInitial, Wt as TableRelationalConfig, Xt as ConvexTable, Yn as OrmSchemaExtensionTriggers, Zn as OrmSchemaRelations, Zt as ConvexTableWithColumns, an as RlsPolicy, dt as InferInsertModel, kr as SystemFields, pt as InferSelectModel, qn as OrmSchemaExtensionRelations, r as OrmCapability, rr as FilterExpression$1, x as MigrationSet, z as getForeignKeys, zr as HasDefault, zt as RelationsBuilder } from "./capabilities-
|
|
1
|
+
import { $t as OrmLifecycleChange, A as CreateDatabaseOptions, Ar as $Type, B as getUniqueIndexes, Ct as OrderByClause, F as CascadeMode, Ft as ExtractTablesFromSchema, Gn as Columns, Gt as TablesRelationalConfig, Ht as RelationsBuilderConfigValue, I as DeleteMode, Kn as OrmRuntimeDefaults, L as SerializedFilterExpression, Mr as ColumnBuilder, Mt as VectorSearchProvider, N as OrmReader, Nr as ColumnBuilderBaseConfig, Or as SystemFieldAliases, P as OrmWriter, Pt as AnyRelationsBuilderConfig, Qn as OrmSchemaTriggers, R as getChecks, U as EdgeMetadata, Un as ConvexColumnBuilder, Ur as entityKind, Ut as RelationsConfigWithSchema, Vn as ConvexTextBuilderInitial, Wt as TableRelationalConfig, Xt as ConvexTable, Yn as OrmSchemaExtensionTriggers, Zn as OrmSchemaRelations, Zt as ConvexTableWithColumns, an as RlsPolicy, dt as InferInsertModel, kr as SystemFields, pt as InferSelectModel, qn as OrmSchemaExtensionRelations, r as OrmCapability, rr as FilterExpression$1, x as MigrationSet, z as getForeignKeys, zr as HasDefault, zt as RelationsBuilder } from "./capabilities-Bxzoofl4.js";
|
|
2
2
|
import * as convex_values0 from "convex/values";
|
|
3
3
|
import { GenericId, Validator, Value } from "convex/values";
|
|
4
4
|
import { DefineSchemaOptions, GenericDatabaseReader, GenericDatabaseWriter, GenericSchema, SchedulableFunctionReference, Scheduler, SchemaDefinition, internalActionGeneric, internalMutationGeneric, internalQueryGeneric } from "convex/server";
|
|
@@ -89,7 +89,7 @@ declare const migrationStorageTables: {
|
|
|
89
89
|
readonly migration_state: ConvexTableWithColumns<{
|
|
90
90
|
name: "migration_state";
|
|
91
91
|
columns: {
|
|
92
|
-
|
|
92
|
+
migrationId: ConvexTextBuilderInitial<""> & {
|
|
93
93
|
_: {
|
|
94
94
|
notNull: true;
|
|
95
95
|
};
|
|
@@ -99,28 +99,23 @@ declare const migrationStorageTables: {
|
|
|
99
99
|
};
|
|
100
100
|
} & {
|
|
101
101
|
_: {
|
|
102
|
-
fieldName: "
|
|
102
|
+
fieldName: "migrationId";
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
-
|
|
105
|
+
checksum: ConvexTextBuilderInitial<""> & {
|
|
106
106
|
_: {
|
|
107
|
-
|
|
107
|
+
notNull: true;
|
|
108
108
|
};
|
|
109
109
|
} & {
|
|
110
|
-
_: {
|
|
111
|
-
fieldName: "direction";
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
cursor: ConvexTextBuilderInitial<""> & {
|
|
115
110
|
_: {
|
|
116
111
|
tableName: "migration_state";
|
|
117
112
|
};
|
|
118
113
|
} & {
|
|
119
114
|
_: {
|
|
120
|
-
fieldName: "
|
|
115
|
+
fieldName: "checksum";
|
|
121
116
|
};
|
|
122
117
|
};
|
|
123
|
-
|
|
118
|
+
applied: ConvexBooleanBuilderInitial<""> & {
|
|
124
119
|
_: {
|
|
125
120
|
notNull: true;
|
|
126
121
|
};
|
|
@@ -130,10 +125,10 @@ declare const migrationStorageTables: {
|
|
|
130
125
|
};
|
|
131
126
|
} & {
|
|
132
127
|
_: {
|
|
133
|
-
fieldName: "
|
|
128
|
+
fieldName: "applied";
|
|
134
129
|
};
|
|
135
130
|
};
|
|
136
|
-
|
|
131
|
+
status: ConvexTextBuilderInitial<""> & {
|
|
137
132
|
_: {
|
|
138
133
|
notNull: true;
|
|
139
134
|
};
|
|
@@ -143,37 +138,37 @@ declare const migrationStorageTables: {
|
|
|
143
138
|
};
|
|
144
139
|
} & {
|
|
145
140
|
_: {
|
|
146
|
-
fieldName: "
|
|
141
|
+
fieldName: "status";
|
|
147
142
|
};
|
|
148
143
|
};
|
|
149
|
-
|
|
144
|
+
direction: ConvexTextBuilderInitial<""> & {
|
|
150
145
|
_: {
|
|
151
146
|
tableName: "migration_state";
|
|
152
147
|
};
|
|
153
148
|
} & {
|
|
154
149
|
_: {
|
|
155
|
-
fieldName: "
|
|
150
|
+
fieldName: "direction";
|
|
156
151
|
};
|
|
157
152
|
};
|
|
158
|
-
|
|
153
|
+
runId: ConvexTextBuilderInitial<""> & {
|
|
159
154
|
_: {
|
|
160
155
|
tableName: "migration_state";
|
|
161
156
|
};
|
|
162
157
|
} & {
|
|
163
158
|
_: {
|
|
164
|
-
fieldName: "
|
|
159
|
+
fieldName: "runId";
|
|
165
160
|
};
|
|
166
161
|
};
|
|
167
|
-
|
|
162
|
+
cursor: ConvexTextBuilderInitial<""> & {
|
|
168
163
|
_: {
|
|
169
164
|
tableName: "migration_state";
|
|
170
165
|
};
|
|
171
166
|
} & {
|
|
172
167
|
_: {
|
|
173
|
-
fieldName: "
|
|
168
|
+
fieldName: "cursor";
|
|
174
169
|
};
|
|
175
170
|
};
|
|
176
|
-
|
|
171
|
+
processed: ConvexNumberBuilderInitial<""> & {
|
|
177
172
|
_: {
|
|
178
173
|
notNull: true;
|
|
179
174
|
};
|
|
@@ -183,23 +178,19 @@ declare const migrationStorageTables: {
|
|
|
183
178
|
};
|
|
184
179
|
} & {
|
|
185
180
|
_: {
|
|
186
|
-
fieldName: "
|
|
181
|
+
fieldName: "processed";
|
|
187
182
|
};
|
|
188
183
|
};
|
|
189
|
-
|
|
190
|
-
_: {
|
|
191
|
-
notNull: true;
|
|
192
|
-
};
|
|
193
|
-
} & {
|
|
184
|
+
startedAt: ConvexNumberBuilderInitial<""> & {
|
|
194
185
|
_: {
|
|
195
186
|
tableName: "migration_state";
|
|
196
187
|
};
|
|
197
188
|
} & {
|
|
198
189
|
_: {
|
|
199
|
-
fieldName: "
|
|
190
|
+
fieldName: "startedAt";
|
|
200
191
|
};
|
|
201
192
|
};
|
|
202
|
-
|
|
193
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
203
194
|
_: {
|
|
204
195
|
notNull: true;
|
|
205
196
|
};
|
|
@@ -209,16 +200,25 @@ declare const migrationStorageTables: {
|
|
|
209
200
|
};
|
|
210
201
|
} & {
|
|
211
202
|
_: {
|
|
212
|
-
fieldName: "
|
|
203
|
+
fieldName: "updatedAt";
|
|
213
204
|
};
|
|
214
205
|
};
|
|
215
|
-
|
|
206
|
+
completedAt: ConvexNumberBuilderInitial<""> & {
|
|
216
207
|
_: {
|
|
217
208
|
tableName: "migration_state";
|
|
218
209
|
};
|
|
219
210
|
} & {
|
|
220
211
|
_: {
|
|
221
|
-
fieldName: "
|
|
212
|
+
fieldName: "completedAt";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
lastError: ConvexTextBuilderInitial<""> & {
|
|
216
|
+
_: {
|
|
217
|
+
tableName: "migration_state";
|
|
218
|
+
};
|
|
219
|
+
} & {
|
|
220
|
+
_: {
|
|
221
|
+
fieldName: "lastError";
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
224
|
writeMode: ConvexTextBuilderInitial<""> & {
|
|
@@ -269,7 +269,7 @@ declare const migrationStorageTables: {
|
|
|
269
269
|
fieldName: "direction";
|
|
270
270
|
};
|
|
271
271
|
};
|
|
272
|
-
|
|
272
|
+
runId: ConvexTextBuilderInitial<""> & {
|
|
273
273
|
_: {
|
|
274
274
|
notNull: true;
|
|
275
275
|
};
|
|
@@ -279,7 +279,7 @@ declare const migrationStorageTables: {
|
|
|
279
279
|
};
|
|
280
280
|
} & {
|
|
281
281
|
_: {
|
|
282
|
-
fieldName: "
|
|
282
|
+
fieldName: "runId";
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
285
|
startedAt: ConvexNumberBuilderInitial<""> & {
|
|
@@ -295,35 +295,35 @@ declare const migrationStorageTables: {
|
|
|
295
295
|
fieldName: "startedAt";
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
|
|
298
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
299
|
+
_: {
|
|
300
|
+
notNull: true;
|
|
301
|
+
};
|
|
302
|
+
} & {
|
|
299
303
|
_: {
|
|
300
304
|
tableName: "migration_run";
|
|
301
305
|
};
|
|
302
306
|
} & {
|
|
303
307
|
_: {
|
|
304
|
-
fieldName: "
|
|
308
|
+
fieldName: "updatedAt";
|
|
305
309
|
};
|
|
306
310
|
};
|
|
307
|
-
|
|
311
|
+
completedAt: ConvexNumberBuilderInitial<""> & {
|
|
308
312
|
_: {
|
|
309
313
|
tableName: "migration_run";
|
|
310
314
|
};
|
|
311
315
|
} & {
|
|
312
316
|
_: {
|
|
313
|
-
fieldName: "
|
|
317
|
+
fieldName: "completedAt";
|
|
314
318
|
};
|
|
315
319
|
};
|
|
316
|
-
|
|
317
|
-
_: {
|
|
318
|
-
notNull: true;
|
|
319
|
-
};
|
|
320
|
-
} & {
|
|
320
|
+
lastError: ConvexTextBuilderInitial<""> & {
|
|
321
321
|
_: {
|
|
322
322
|
tableName: "migration_run";
|
|
323
323
|
};
|
|
324
324
|
} & {
|
|
325
325
|
_: {
|
|
326
|
-
fieldName: "
|
|
326
|
+
fieldName: "lastError";
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
329
|
dryRun: ConvexBooleanBuilderInitial<""> & {
|
|
@@ -1011,7 +1011,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1011
1011
|
readonly aggregate_bucket: ConvexTableWithColumns<{
|
|
1012
1012
|
name: "aggregate_bucket";
|
|
1013
1013
|
columns: {
|
|
1014
|
-
|
|
1014
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
1015
1015
|
_: {
|
|
1016
1016
|
notNull: true;
|
|
1017
1017
|
};
|
|
@@ -1021,10 +1021,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1021
1021
|
};
|
|
1022
1022
|
} & {
|
|
1023
1023
|
_: {
|
|
1024
|
-
fieldName: "
|
|
1024
|
+
fieldName: "updatedAt";
|
|
1025
1025
|
};
|
|
1026
1026
|
};
|
|
1027
|
-
|
|
1027
|
+
count: ConvexNumberBuilderInitial<""> & {
|
|
1028
1028
|
_: {
|
|
1029
1029
|
notNull: true;
|
|
1030
1030
|
};
|
|
@@ -1034,7 +1034,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1034
1034
|
};
|
|
1035
1035
|
} & {
|
|
1036
1036
|
_: {
|
|
1037
|
-
fieldName: "
|
|
1037
|
+
fieldName: "count";
|
|
1038
1038
|
};
|
|
1039
1039
|
};
|
|
1040
1040
|
indexName: ConvexTextBuilderInitial<""> & {
|
|
@@ -1136,7 +1136,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1136
1136
|
readonly aggregate_member: ConvexTableWithColumns<{
|
|
1137
1137
|
name: "aggregate_member";
|
|
1138
1138
|
columns: {
|
|
1139
|
-
|
|
1139
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
1140
1140
|
_: {
|
|
1141
1141
|
notNull: true;
|
|
1142
1142
|
};
|
|
@@ -1146,10 +1146,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1146
1146
|
};
|
|
1147
1147
|
} & {
|
|
1148
1148
|
_: {
|
|
1149
|
-
fieldName: "
|
|
1149
|
+
fieldName: "updatedAt";
|
|
1150
1150
|
};
|
|
1151
1151
|
};
|
|
1152
|
-
|
|
1152
|
+
kind: ConvexTextBuilderInitial<""> & {
|
|
1153
1153
|
_: {
|
|
1154
1154
|
notNull: true;
|
|
1155
1155
|
};
|
|
@@ -1159,7 +1159,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1159
1159
|
};
|
|
1160
1160
|
} & {
|
|
1161
1161
|
_: {
|
|
1162
|
-
fieldName: "
|
|
1162
|
+
fieldName: "kind";
|
|
1163
1163
|
};
|
|
1164
1164
|
};
|
|
1165
1165
|
indexName: ConvexTextBuilderInitial<""> & {
|
|
@@ -1326,11 +1326,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1326
1326
|
readonly aggregate_extrema: ConvexTableWithColumns<{
|
|
1327
1327
|
name: "aggregate_extrema";
|
|
1328
1328
|
columns: {
|
|
1329
|
-
|
|
1330
|
-
_: {
|
|
1331
|
-
$type: convex_values0.Value;
|
|
1332
|
-
};
|
|
1333
|
-
} & {
|
|
1329
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
1334
1330
|
_: {
|
|
1335
1331
|
notNull: true;
|
|
1336
1332
|
};
|
|
@@ -1340,10 +1336,14 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1340
1336
|
};
|
|
1341
1337
|
} & {
|
|
1342
1338
|
_: {
|
|
1343
|
-
fieldName: "
|
|
1339
|
+
fieldName: "updatedAt";
|
|
1344
1340
|
};
|
|
1345
1341
|
};
|
|
1346
|
-
|
|
1342
|
+
value: ConvexCustomBuilderInitial<"", convex_values0.VAny<any, "required", string>> & {
|
|
1343
|
+
_: {
|
|
1344
|
+
$type: convex_values0.Value;
|
|
1345
|
+
};
|
|
1346
|
+
} & {
|
|
1347
1347
|
_: {
|
|
1348
1348
|
notNull: true;
|
|
1349
1349
|
};
|
|
@@ -1353,10 +1353,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1353
1353
|
};
|
|
1354
1354
|
} & {
|
|
1355
1355
|
_: {
|
|
1356
|
-
fieldName: "
|
|
1356
|
+
fieldName: "value";
|
|
1357
1357
|
};
|
|
1358
1358
|
};
|
|
1359
|
-
|
|
1359
|
+
count: ConvexNumberBuilderInitial<""> & {
|
|
1360
1360
|
_: {
|
|
1361
1361
|
notNull: true;
|
|
1362
1362
|
};
|
|
@@ -1366,7 +1366,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1366
1366
|
};
|
|
1367
1367
|
} & {
|
|
1368
1368
|
_: {
|
|
1369
|
-
fieldName: "
|
|
1369
|
+
fieldName: "count";
|
|
1370
1370
|
};
|
|
1371
1371
|
};
|
|
1372
1372
|
indexName: ConvexTextBuilderInitial<""> & {
|
|
@@ -1596,29 +1596,29 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1596
1596
|
fieldName: "status";
|
|
1597
1597
|
};
|
|
1598
1598
|
};
|
|
1599
|
-
|
|
1600
|
-
_: {
|
|
1601
|
-
notNull: true;
|
|
1602
|
-
};
|
|
1603
|
-
} & {
|
|
1599
|
+
cursor: ConvexTextBuilderInitial<""> & {
|
|
1604
1600
|
_: {
|
|
1605
1601
|
tableName: "aggregate_state";
|
|
1606
1602
|
};
|
|
1607
1603
|
} & {
|
|
1608
1604
|
_: {
|
|
1609
|
-
fieldName: "
|
|
1605
|
+
fieldName: "cursor";
|
|
1610
1606
|
};
|
|
1611
1607
|
};
|
|
1612
|
-
|
|
1608
|
+
processed: ConvexNumberBuilderInitial<""> & {
|
|
1609
|
+
_: {
|
|
1610
|
+
notNull: true;
|
|
1611
|
+
};
|
|
1612
|
+
} & {
|
|
1613
1613
|
_: {
|
|
1614
1614
|
tableName: "aggregate_state";
|
|
1615
1615
|
};
|
|
1616
1616
|
} & {
|
|
1617
1617
|
_: {
|
|
1618
|
-
fieldName: "
|
|
1618
|
+
fieldName: "processed";
|
|
1619
1619
|
};
|
|
1620
1620
|
};
|
|
1621
|
-
|
|
1621
|
+
startedAt: ConvexNumberBuilderInitial<""> & {
|
|
1622
1622
|
_: {
|
|
1623
1623
|
notNull: true;
|
|
1624
1624
|
};
|
|
@@ -1628,10 +1628,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1628
1628
|
};
|
|
1629
1629
|
} & {
|
|
1630
1630
|
_: {
|
|
1631
|
-
fieldName: "
|
|
1631
|
+
fieldName: "startedAt";
|
|
1632
1632
|
};
|
|
1633
1633
|
};
|
|
1634
|
-
|
|
1634
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
1635
1635
|
_: {
|
|
1636
1636
|
notNull: true;
|
|
1637
1637
|
};
|
|
@@ -1641,23 +1641,28 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1641
1641
|
};
|
|
1642
1642
|
} & {
|
|
1643
1643
|
_: {
|
|
1644
|
-
fieldName: "
|
|
1644
|
+
fieldName: "updatedAt";
|
|
1645
1645
|
};
|
|
1646
1646
|
};
|
|
1647
|
-
|
|
1647
|
+
completedAt: ConvexNumberBuilderInitial<""> & {
|
|
1648
1648
|
_: {
|
|
1649
|
-
|
|
1649
|
+
tableName: "aggregate_state";
|
|
1650
1650
|
};
|
|
1651
1651
|
} & {
|
|
1652
|
+
_: {
|
|
1653
|
+
fieldName: "completedAt";
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
lastError: ConvexTextBuilderInitial<""> & {
|
|
1652
1657
|
_: {
|
|
1653
1658
|
tableName: "aggregate_state";
|
|
1654
1659
|
};
|
|
1655
1660
|
} & {
|
|
1656
1661
|
_: {
|
|
1657
|
-
fieldName: "
|
|
1662
|
+
fieldName: "lastError";
|
|
1658
1663
|
};
|
|
1659
1664
|
};
|
|
1660
|
-
|
|
1665
|
+
kind: ConvexTextBuilderInitial<""> & {
|
|
1661
1666
|
_: {
|
|
1662
1667
|
notNull: true;
|
|
1663
1668
|
};
|
|
@@ -1667,10 +1672,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1667
1672
|
};
|
|
1668
1673
|
} & {
|
|
1669
1674
|
_: {
|
|
1670
|
-
fieldName: "
|
|
1675
|
+
fieldName: "kind";
|
|
1671
1676
|
};
|
|
1672
1677
|
};
|
|
1673
|
-
|
|
1678
|
+
indexName: ConvexTextBuilderInitial<""> & {
|
|
1674
1679
|
_: {
|
|
1675
1680
|
notNull: true;
|
|
1676
1681
|
};
|
|
@@ -1680,10 +1685,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1680
1685
|
};
|
|
1681
1686
|
} & {
|
|
1682
1687
|
_: {
|
|
1683
|
-
fieldName: "
|
|
1688
|
+
fieldName: "indexName";
|
|
1684
1689
|
};
|
|
1685
1690
|
};
|
|
1686
|
-
|
|
1691
|
+
keyDefinitionHash: ConvexTextBuilderInitial<""> & {
|
|
1687
1692
|
_: {
|
|
1688
1693
|
notNull: true;
|
|
1689
1694
|
};
|
|
@@ -1693,25 +1698,20 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1693
1698
|
};
|
|
1694
1699
|
} & {
|
|
1695
1700
|
_: {
|
|
1696
|
-
fieldName: "
|
|
1701
|
+
fieldName: "keyDefinitionHash";
|
|
1697
1702
|
};
|
|
1698
1703
|
};
|
|
1699
|
-
|
|
1704
|
+
metricDefinitionHash: ConvexTextBuilderInitial<""> & {
|
|
1700
1705
|
_: {
|
|
1701
|
-
|
|
1706
|
+
notNull: true;
|
|
1702
1707
|
};
|
|
1703
1708
|
} & {
|
|
1704
|
-
_: {
|
|
1705
|
-
fieldName: "completedAt";
|
|
1706
|
-
};
|
|
1707
|
-
};
|
|
1708
|
-
lastError: ConvexTextBuilderInitial<""> & {
|
|
1709
1709
|
_: {
|
|
1710
1710
|
tableName: "aggregate_state";
|
|
1711
1711
|
};
|
|
1712
1712
|
} & {
|
|
1713
1713
|
_: {
|
|
1714
|
-
fieldName: "
|
|
1714
|
+
fieldName: "metricDefinitionHash";
|
|
1715
1715
|
};
|
|
1716
1716
|
};
|
|
1717
1717
|
tableKey: ConvexTextBuilderInitial<""> & {
|
|
@@ -1738,7 +1738,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1738
1738
|
readonly migration_state: ConvexTableWithColumns<{
|
|
1739
1739
|
name: "migration_state";
|
|
1740
1740
|
columns: {
|
|
1741
|
-
|
|
1741
|
+
migrationId: ConvexTextBuilderInitial<""> & {
|
|
1742
1742
|
_: {
|
|
1743
1743
|
notNull: true;
|
|
1744
1744
|
};
|
|
@@ -1748,28 +1748,23 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1748
1748
|
};
|
|
1749
1749
|
} & {
|
|
1750
1750
|
_: {
|
|
1751
|
-
fieldName: "
|
|
1751
|
+
fieldName: "migrationId";
|
|
1752
1752
|
};
|
|
1753
1753
|
};
|
|
1754
|
-
|
|
1754
|
+
checksum: ConvexTextBuilderInitial<""> & {
|
|
1755
1755
|
_: {
|
|
1756
|
-
|
|
1756
|
+
notNull: true;
|
|
1757
1757
|
};
|
|
1758
1758
|
} & {
|
|
1759
|
-
_: {
|
|
1760
|
-
fieldName: "direction";
|
|
1761
|
-
};
|
|
1762
|
-
};
|
|
1763
|
-
cursor: ConvexTextBuilderInitial<""> & {
|
|
1764
1759
|
_: {
|
|
1765
1760
|
tableName: "migration_state";
|
|
1766
1761
|
};
|
|
1767
1762
|
} & {
|
|
1768
1763
|
_: {
|
|
1769
|
-
fieldName: "
|
|
1764
|
+
fieldName: "checksum";
|
|
1770
1765
|
};
|
|
1771
1766
|
};
|
|
1772
|
-
|
|
1767
|
+
applied: ConvexBooleanBuilderInitial<""> & {
|
|
1773
1768
|
_: {
|
|
1774
1769
|
notNull: true;
|
|
1775
1770
|
};
|
|
@@ -1779,10 +1774,10 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1779
1774
|
};
|
|
1780
1775
|
} & {
|
|
1781
1776
|
_: {
|
|
1782
|
-
fieldName: "
|
|
1777
|
+
fieldName: "applied";
|
|
1783
1778
|
};
|
|
1784
1779
|
};
|
|
1785
|
-
|
|
1780
|
+
status: ConvexTextBuilderInitial<""> & {
|
|
1786
1781
|
_: {
|
|
1787
1782
|
notNull: true;
|
|
1788
1783
|
};
|
|
@@ -1792,37 +1787,37 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1792
1787
|
};
|
|
1793
1788
|
} & {
|
|
1794
1789
|
_: {
|
|
1795
|
-
fieldName: "
|
|
1790
|
+
fieldName: "status";
|
|
1796
1791
|
};
|
|
1797
1792
|
};
|
|
1798
|
-
|
|
1793
|
+
direction: ConvexTextBuilderInitial<""> & {
|
|
1799
1794
|
_: {
|
|
1800
1795
|
tableName: "migration_state";
|
|
1801
1796
|
};
|
|
1802
1797
|
} & {
|
|
1803
1798
|
_: {
|
|
1804
|
-
fieldName: "
|
|
1799
|
+
fieldName: "direction";
|
|
1805
1800
|
};
|
|
1806
1801
|
};
|
|
1807
|
-
|
|
1802
|
+
runId: ConvexTextBuilderInitial<""> & {
|
|
1808
1803
|
_: {
|
|
1809
1804
|
tableName: "migration_state";
|
|
1810
1805
|
};
|
|
1811
1806
|
} & {
|
|
1812
1807
|
_: {
|
|
1813
|
-
fieldName: "
|
|
1808
|
+
fieldName: "runId";
|
|
1814
1809
|
};
|
|
1815
1810
|
};
|
|
1816
|
-
|
|
1811
|
+
cursor: ConvexTextBuilderInitial<""> & {
|
|
1817
1812
|
_: {
|
|
1818
1813
|
tableName: "migration_state";
|
|
1819
1814
|
};
|
|
1820
1815
|
} & {
|
|
1821
1816
|
_: {
|
|
1822
|
-
fieldName: "
|
|
1817
|
+
fieldName: "cursor";
|
|
1823
1818
|
};
|
|
1824
1819
|
};
|
|
1825
|
-
|
|
1820
|
+
processed: ConvexNumberBuilderInitial<""> & {
|
|
1826
1821
|
_: {
|
|
1827
1822
|
notNull: true;
|
|
1828
1823
|
};
|
|
@@ -1832,23 +1827,19 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1832
1827
|
};
|
|
1833
1828
|
} & {
|
|
1834
1829
|
_: {
|
|
1835
|
-
fieldName: "
|
|
1830
|
+
fieldName: "processed";
|
|
1836
1831
|
};
|
|
1837
1832
|
};
|
|
1838
|
-
|
|
1839
|
-
_: {
|
|
1840
|
-
notNull: true;
|
|
1841
|
-
};
|
|
1842
|
-
} & {
|
|
1833
|
+
startedAt: ConvexNumberBuilderInitial<""> & {
|
|
1843
1834
|
_: {
|
|
1844
1835
|
tableName: "migration_state";
|
|
1845
1836
|
};
|
|
1846
1837
|
} & {
|
|
1847
1838
|
_: {
|
|
1848
|
-
fieldName: "
|
|
1839
|
+
fieldName: "startedAt";
|
|
1849
1840
|
};
|
|
1850
1841
|
};
|
|
1851
|
-
|
|
1842
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
1852
1843
|
_: {
|
|
1853
1844
|
notNull: true;
|
|
1854
1845
|
};
|
|
@@ -1858,16 +1849,25 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1858
1849
|
};
|
|
1859
1850
|
} & {
|
|
1860
1851
|
_: {
|
|
1861
|
-
fieldName: "
|
|
1852
|
+
fieldName: "updatedAt";
|
|
1862
1853
|
};
|
|
1863
1854
|
};
|
|
1864
|
-
|
|
1855
|
+
completedAt: ConvexNumberBuilderInitial<""> & {
|
|
1865
1856
|
_: {
|
|
1866
1857
|
tableName: "migration_state";
|
|
1867
1858
|
};
|
|
1868
1859
|
} & {
|
|
1869
1860
|
_: {
|
|
1870
|
-
fieldName: "
|
|
1861
|
+
fieldName: "completedAt";
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
lastError: ConvexTextBuilderInitial<""> & {
|
|
1865
|
+
_: {
|
|
1866
|
+
tableName: "migration_state";
|
|
1867
|
+
};
|
|
1868
|
+
} & {
|
|
1869
|
+
_: {
|
|
1870
|
+
fieldName: "lastError";
|
|
1871
1871
|
};
|
|
1872
1872
|
};
|
|
1873
1873
|
writeMode: ConvexTextBuilderInitial<""> & {
|
|
@@ -1918,7 +1918,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1918
1918
|
fieldName: "direction";
|
|
1919
1919
|
};
|
|
1920
1920
|
};
|
|
1921
|
-
|
|
1921
|
+
runId: ConvexTextBuilderInitial<""> & {
|
|
1922
1922
|
_: {
|
|
1923
1923
|
notNull: true;
|
|
1924
1924
|
};
|
|
@@ -1928,7 +1928,7 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1928
1928
|
};
|
|
1929
1929
|
} & {
|
|
1930
1930
|
_: {
|
|
1931
|
-
fieldName: "
|
|
1931
|
+
fieldName: "runId";
|
|
1932
1932
|
};
|
|
1933
1933
|
};
|
|
1934
1934
|
startedAt: ConvexNumberBuilderInitial<""> & {
|
|
@@ -1944,35 +1944,35 @@ declare const BUILTIN_SCHEMA_EXTENSIONS: readonly [SchemaExtension<{
|
|
|
1944
1944
|
fieldName: "startedAt";
|
|
1945
1945
|
};
|
|
1946
1946
|
};
|
|
1947
|
-
|
|
1947
|
+
updatedAt: ConvexNumberBuilderInitial<""> & {
|
|
1948
|
+
_: {
|
|
1949
|
+
notNull: true;
|
|
1950
|
+
};
|
|
1951
|
+
} & {
|
|
1948
1952
|
_: {
|
|
1949
1953
|
tableName: "migration_run";
|
|
1950
1954
|
};
|
|
1951
1955
|
} & {
|
|
1952
1956
|
_: {
|
|
1953
|
-
fieldName: "
|
|
1957
|
+
fieldName: "updatedAt";
|
|
1954
1958
|
};
|
|
1955
1959
|
};
|
|
1956
|
-
|
|
1960
|
+
completedAt: ConvexNumberBuilderInitial<""> & {
|
|
1957
1961
|
_: {
|
|
1958
1962
|
tableName: "migration_run";
|
|
1959
1963
|
};
|
|
1960
1964
|
} & {
|
|
1961
1965
|
_: {
|
|
1962
|
-
fieldName: "
|
|
1966
|
+
fieldName: "completedAt";
|
|
1963
1967
|
};
|
|
1964
1968
|
};
|
|
1965
|
-
|
|
1966
|
-
_: {
|
|
1967
|
-
notNull: true;
|
|
1968
|
-
};
|
|
1969
|
-
} & {
|
|
1969
|
+
lastError: ConvexTextBuilderInitial<""> & {
|
|
1970
1970
|
_: {
|
|
1971
1971
|
tableName: "migration_run";
|
|
1972
1972
|
};
|
|
1973
1973
|
} & {
|
|
1974
1974
|
_: {
|
|
1975
|
-
fieldName: "
|
|
1975
|
+
fieldName: "lastError";
|
|
1976
1976
|
};
|
|
1977
1977
|
};
|
|
1978
1978
|
dryRun: ConvexBooleanBuilderInitial<""> & {
|