@pipeline-builder/pipeline-data 4.3.10 → 4.3.12
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/lib/api/managed-toolchain.d.ts +199 -0
- package/lib/api/managed-toolchain.js +445 -0
- package/lib/api/reporting/ingest.js +52 -12
- package/lib/api/reporting/toolchain-runs.d.ts +162 -0
- package/lib/api/reporting/toolchain-runs.js +268 -0
- package/lib/api/reporting/types.d.ts +17 -1
- package/lib/api/reporting/types.js +1 -1
- package/lib/api/version-references.d.ts +2 -24
- package/lib/api/version-references.js +46 -7
- package/lib/database/drizzle-schema.d.ts +650 -0
- package/lib/database/drizzle-schema.js +11 -1
- package/lib/database/index.d.ts +1 -1
- package/lib/database/index.js +2 -2
- package/lib/database/schema/ecosystem.d.ts +55 -0
- package/lib/database/schema/ecosystem.js +13 -2
- package/lib/database/schema/pipeline.d.ts +19 -0
- package/lib/database/schema/pipeline.js +17 -1
- package/lib/database/schema/toolchain.d.ts +643 -0
- package/lib/database/schema/toolchain.js +102 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -1
- package/lib/testing/exports.json +39 -0
- package/package.json +3 -3
|
@@ -0,0 +1,643 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Managed toolchain releases (docs/plans/bootstrap-image-versioning.md §1, §5).
|
|
3
|
+
*
|
|
4
|
+
* `pipeline-bootstrap@V` and `cdk-synth@V` are two system-org plugin rows that
|
|
5
|
+
* share ONE release version `V`. These tables hold the release-level state the
|
|
6
|
+
* plugin rows don't: which releases exist, THE platform default, the canary
|
|
7
|
+
* cohort, each org's override, and the history of every change. Managed plugin
|
|
8
|
+
* rows never use `plugins.is_default`.
|
|
9
|
+
*
|
|
10
|
+
* RLS (postgres-init.sql, dedicated policies — NOT the generic org loop): the
|
|
11
|
+
* first four are system-org only (sysadmin scope or the system org's own scope)
|
|
12
|
+
* for reads AND writes; `org_toolchain_default` is own-org read/write with a
|
|
13
|
+
* system-org read; its history is own-org read + insert (append-only), system-org
|
|
14
|
+
* read. Resolution reads them elevated (`runWithTenantContext({ isSuperAdmin: true })`).
|
|
15
|
+
*/
|
|
16
|
+
/** How a platform-default change came about: a console `set`, the install-time
|
|
17
|
+
* `initial` (D14), or a `restore` of the previous default on a yank. */
|
|
18
|
+
export type ToolchainDefaultKind = 'set' | 'initial' | 'restore';
|
|
19
|
+
/**
|
|
20
|
+
* One row per release. Release versions are plain `X.Y.Z` — a managed name
|
|
21
|
+
* refuses prerelease uploads, so a dev build can never become a release.
|
|
22
|
+
*
|
|
23
|
+
* @table toolchain_release
|
|
24
|
+
*/
|
|
25
|
+
export declare const toolchainRelease: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
26
|
+
name: "toolchain_release";
|
|
27
|
+
schema: undefined;
|
|
28
|
+
columns: {
|
|
29
|
+
releaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
30
|
+
name: "release_version";
|
|
31
|
+
tableName: "toolchain_release";
|
|
32
|
+
dataType: "string";
|
|
33
|
+
columnType: "PgVarchar";
|
|
34
|
+
data: string;
|
|
35
|
+
driverParam: string;
|
|
36
|
+
notNull: true;
|
|
37
|
+
hasDefault: false;
|
|
38
|
+
isPrimaryKey: true;
|
|
39
|
+
isAutoincrement: false;
|
|
40
|
+
hasRuntimeDefault: false;
|
|
41
|
+
enumValues: [string, ...string[]];
|
|
42
|
+
baseColumn: never;
|
|
43
|
+
identity: undefined;
|
|
44
|
+
generated: undefined;
|
|
45
|
+
}, {}, {
|
|
46
|
+
length: 50;
|
|
47
|
+
}>;
|
|
48
|
+
releaseNotes: import("drizzle-orm/pg-core").PgColumn<{
|
|
49
|
+
name: "release_notes";
|
|
50
|
+
tableName: "toolchain_release";
|
|
51
|
+
dataType: "string";
|
|
52
|
+
columnType: "PgText";
|
|
53
|
+
data: string;
|
|
54
|
+
driverParam: string;
|
|
55
|
+
notNull: false;
|
|
56
|
+
hasDefault: false;
|
|
57
|
+
isPrimaryKey: false;
|
|
58
|
+
isAutoincrement: false;
|
|
59
|
+
hasRuntimeDefault: false;
|
|
60
|
+
enumValues: [string, ...string[]];
|
|
61
|
+
baseColumn: never;
|
|
62
|
+
identity: undefined;
|
|
63
|
+
generated: undefined;
|
|
64
|
+
}, {}, {}>;
|
|
65
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
66
|
+
name: "created_at";
|
|
67
|
+
tableName: "toolchain_release";
|
|
68
|
+
dataType: "date";
|
|
69
|
+
columnType: "PgTimestamp";
|
|
70
|
+
data: Date;
|
|
71
|
+
driverParam: string;
|
|
72
|
+
notNull: true;
|
|
73
|
+
hasDefault: true;
|
|
74
|
+
isPrimaryKey: false;
|
|
75
|
+
isAutoincrement: false;
|
|
76
|
+
hasRuntimeDefault: false;
|
|
77
|
+
enumValues: undefined;
|
|
78
|
+
baseColumn: never;
|
|
79
|
+
identity: undefined;
|
|
80
|
+
generated: undefined;
|
|
81
|
+
}, {}, {}>;
|
|
82
|
+
createdBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
83
|
+
name: "created_by";
|
|
84
|
+
tableName: "toolchain_release";
|
|
85
|
+
dataType: "string";
|
|
86
|
+
columnType: "PgText";
|
|
87
|
+
data: string;
|
|
88
|
+
driverParam: string;
|
|
89
|
+
notNull: true;
|
|
90
|
+
hasDefault: false;
|
|
91
|
+
isPrimaryKey: false;
|
|
92
|
+
isAutoincrement: false;
|
|
93
|
+
hasRuntimeDefault: false;
|
|
94
|
+
enumValues: [string, ...string[]];
|
|
95
|
+
baseColumn: never;
|
|
96
|
+
identity: undefined;
|
|
97
|
+
generated: undefined;
|
|
98
|
+
}, {}, {}>;
|
|
99
|
+
};
|
|
100
|
+
dialect: 'pg';
|
|
101
|
+
}>;
|
|
102
|
+
/**
|
|
103
|
+
* THE platform default — at most one row (the boolean PK can only hold `true`).
|
|
104
|
+
* The referenced release can't be deleted while it is the default.
|
|
105
|
+
*
|
|
106
|
+
* @table toolchain_platform_default
|
|
107
|
+
*/
|
|
108
|
+
export declare const toolchainPlatformDefault: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
109
|
+
name: "toolchain_platform_default";
|
|
110
|
+
schema: undefined;
|
|
111
|
+
columns: {
|
|
112
|
+
singleton: import("drizzle-orm/pg-core").PgColumn<{
|
|
113
|
+
name: "singleton";
|
|
114
|
+
tableName: "toolchain_platform_default";
|
|
115
|
+
dataType: "boolean";
|
|
116
|
+
columnType: "PgBoolean";
|
|
117
|
+
data: boolean;
|
|
118
|
+
driverParam: boolean;
|
|
119
|
+
notNull: true;
|
|
120
|
+
hasDefault: true;
|
|
121
|
+
isPrimaryKey: true;
|
|
122
|
+
isAutoincrement: false;
|
|
123
|
+
hasRuntimeDefault: false;
|
|
124
|
+
enumValues: undefined;
|
|
125
|
+
baseColumn: never;
|
|
126
|
+
identity: undefined;
|
|
127
|
+
generated: undefined;
|
|
128
|
+
}, {}, {}>;
|
|
129
|
+
releaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
130
|
+
name: "release_version";
|
|
131
|
+
tableName: "toolchain_platform_default";
|
|
132
|
+
dataType: "string";
|
|
133
|
+
columnType: "PgVarchar";
|
|
134
|
+
data: string;
|
|
135
|
+
driverParam: string;
|
|
136
|
+
notNull: true;
|
|
137
|
+
hasDefault: false;
|
|
138
|
+
isPrimaryKey: false;
|
|
139
|
+
isAutoincrement: false;
|
|
140
|
+
hasRuntimeDefault: false;
|
|
141
|
+
enumValues: [string, ...string[]];
|
|
142
|
+
baseColumn: never;
|
|
143
|
+
identity: undefined;
|
|
144
|
+
generated: undefined;
|
|
145
|
+
}, {}, {
|
|
146
|
+
length: 50;
|
|
147
|
+
}>;
|
|
148
|
+
setAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
149
|
+
name: "set_at";
|
|
150
|
+
tableName: "toolchain_platform_default";
|
|
151
|
+
dataType: "date";
|
|
152
|
+
columnType: "PgTimestamp";
|
|
153
|
+
data: Date;
|
|
154
|
+
driverParam: string;
|
|
155
|
+
notNull: true;
|
|
156
|
+
hasDefault: true;
|
|
157
|
+
isPrimaryKey: false;
|
|
158
|
+
isAutoincrement: false;
|
|
159
|
+
hasRuntimeDefault: false;
|
|
160
|
+
enumValues: undefined;
|
|
161
|
+
baseColumn: never;
|
|
162
|
+
identity: undefined;
|
|
163
|
+
generated: undefined;
|
|
164
|
+
}, {}, {}>;
|
|
165
|
+
setBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
166
|
+
name: "set_by";
|
|
167
|
+
tableName: "toolchain_platform_default";
|
|
168
|
+
dataType: "string";
|
|
169
|
+
columnType: "PgText";
|
|
170
|
+
data: string;
|
|
171
|
+
driverParam: string;
|
|
172
|
+
notNull: true;
|
|
173
|
+
hasDefault: false;
|
|
174
|
+
isPrimaryKey: false;
|
|
175
|
+
isAutoincrement: false;
|
|
176
|
+
hasRuntimeDefault: false;
|
|
177
|
+
enumValues: [string, ...string[]];
|
|
178
|
+
baseColumn: never;
|
|
179
|
+
identity: undefined;
|
|
180
|
+
generated: undefined;
|
|
181
|
+
}, {}, {}>;
|
|
182
|
+
};
|
|
183
|
+
dialect: 'pg';
|
|
184
|
+
}>;
|
|
185
|
+
/**
|
|
186
|
+
* Every platform-default change. No FK on the versions: history outlives a
|
|
187
|
+
* deleted release.
|
|
188
|
+
*
|
|
189
|
+
* @table toolchain_default_history
|
|
190
|
+
*/
|
|
191
|
+
export declare const toolchainDefaultHistory: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
192
|
+
name: "toolchain_default_history";
|
|
193
|
+
schema: undefined;
|
|
194
|
+
columns: {
|
|
195
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
196
|
+
name: "id";
|
|
197
|
+
tableName: "toolchain_default_history";
|
|
198
|
+
dataType: "string";
|
|
199
|
+
columnType: "PgUUID";
|
|
200
|
+
data: string;
|
|
201
|
+
driverParam: string;
|
|
202
|
+
notNull: true;
|
|
203
|
+
hasDefault: true;
|
|
204
|
+
isPrimaryKey: true;
|
|
205
|
+
isAutoincrement: false;
|
|
206
|
+
hasRuntimeDefault: false;
|
|
207
|
+
enumValues: undefined;
|
|
208
|
+
baseColumn: never;
|
|
209
|
+
identity: undefined;
|
|
210
|
+
generated: undefined;
|
|
211
|
+
}, {}, {}>;
|
|
212
|
+
releaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
213
|
+
name: "release_version";
|
|
214
|
+
tableName: "toolchain_default_history";
|
|
215
|
+
dataType: "string";
|
|
216
|
+
columnType: "PgVarchar";
|
|
217
|
+
data: string;
|
|
218
|
+
driverParam: string;
|
|
219
|
+
notNull: true;
|
|
220
|
+
hasDefault: false;
|
|
221
|
+
isPrimaryKey: false;
|
|
222
|
+
isAutoincrement: false;
|
|
223
|
+
hasRuntimeDefault: false;
|
|
224
|
+
enumValues: [string, ...string[]];
|
|
225
|
+
baseColumn: never;
|
|
226
|
+
identity: undefined;
|
|
227
|
+
generated: undefined;
|
|
228
|
+
}, {}, {
|
|
229
|
+
length: 50;
|
|
230
|
+
}>;
|
|
231
|
+
previousReleaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
232
|
+
name: "previous_release_version";
|
|
233
|
+
tableName: "toolchain_default_history";
|
|
234
|
+
dataType: "string";
|
|
235
|
+
columnType: "PgVarchar";
|
|
236
|
+
data: string;
|
|
237
|
+
driverParam: string;
|
|
238
|
+
notNull: false;
|
|
239
|
+
hasDefault: false;
|
|
240
|
+
isPrimaryKey: false;
|
|
241
|
+
isAutoincrement: false;
|
|
242
|
+
hasRuntimeDefault: false;
|
|
243
|
+
enumValues: [string, ...string[]];
|
|
244
|
+
baseColumn: never;
|
|
245
|
+
identity: undefined;
|
|
246
|
+
generated: undefined;
|
|
247
|
+
}, {}, {
|
|
248
|
+
length: 50;
|
|
249
|
+
}>;
|
|
250
|
+
setBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
251
|
+
name: "set_by";
|
|
252
|
+
tableName: "toolchain_default_history";
|
|
253
|
+
dataType: "string";
|
|
254
|
+
columnType: "PgText";
|
|
255
|
+
data: string;
|
|
256
|
+
driverParam: string;
|
|
257
|
+
notNull: true;
|
|
258
|
+
hasDefault: false;
|
|
259
|
+
isPrimaryKey: false;
|
|
260
|
+
isAutoincrement: false;
|
|
261
|
+
hasRuntimeDefault: false;
|
|
262
|
+
enumValues: [string, ...string[]];
|
|
263
|
+
baseColumn: never;
|
|
264
|
+
identity: undefined;
|
|
265
|
+
generated: undefined;
|
|
266
|
+
}, {}, {}>;
|
|
267
|
+
setAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
268
|
+
name: "set_at";
|
|
269
|
+
tableName: "toolchain_default_history";
|
|
270
|
+
dataType: "date";
|
|
271
|
+
columnType: "PgTimestamp";
|
|
272
|
+
data: Date;
|
|
273
|
+
driverParam: string;
|
|
274
|
+
notNull: true;
|
|
275
|
+
hasDefault: true;
|
|
276
|
+
isPrimaryKey: false;
|
|
277
|
+
isAutoincrement: false;
|
|
278
|
+
hasRuntimeDefault: false;
|
|
279
|
+
enumValues: undefined;
|
|
280
|
+
baseColumn: never;
|
|
281
|
+
identity: undefined;
|
|
282
|
+
generated: undefined;
|
|
283
|
+
}, {}, {}>;
|
|
284
|
+
reason: import("drizzle-orm/pg-core").PgColumn<{
|
|
285
|
+
name: "reason";
|
|
286
|
+
tableName: "toolchain_default_history";
|
|
287
|
+
dataType: "string";
|
|
288
|
+
columnType: "PgText";
|
|
289
|
+
data: string;
|
|
290
|
+
driverParam: string;
|
|
291
|
+
notNull: false;
|
|
292
|
+
hasDefault: false;
|
|
293
|
+
isPrimaryKey: false;
|
|
294
|
+
isAutoincrement: false;
|
|
295
|
+
hasRuntimeDefault: false;
|
|
296
|
+
enumValues: [string, ...string[]];
|
|
297
|
+
baseColumn: never;
|
|
298
|
+
identity: undefined;
|
|
299
|
+
generated: undefined;
|
|
300
|
+
}, {}, {}>;
|
|
301
|
+
kind: import("drizzle-orm/pg-core").PgColumn<{
|
|
302
|
+
name: "kind";
|
|
303
|
+
tableName: "toolchain_default_history";
|
|
304
|
+
dataType: "string";
|
|
305
|
+
columnType: "PgVarchar";
|
|
306
|
+
data: ToolchainDefaultKind;
|
|
307
|
+
driverParam: string;
|
|
308
|
+
notNull: true;
|
|
309
|
+
hasDefault: false;
|
|
310
|
+
isPrimaryKey: false;
|
|
311
|
+
isAutoincrement: false;
|
|
312
|
+
hasRuntimeDefault: false;
|
|
313
|
+
enumValues: [string, ...string[]];
|
|
314
|
+
baseColumn: never;
|
|
315
|
+
identity: undefined;
|
|
316
|
+
generated: undefined;
|
|
317
|
+
}, {}, {
|
|
318
|
+
length: 16;
|
|
319
|
+
$type: ToolchainDefaultKind;
|
|
320
|
+
}>;
|
|
321
|
+
};
|
|
322
|
+
dialect: 'pg';
|
|
323
|
+
}>;
|
|
324
|
+
/**
|
|
325
|
+
* Canary membership: ONE release per org. `orgId` is a MEMBER (the org the
|
|
326
|
+
* canary applies to), not an owner — rows are written by the system org, and a
|
|
327
|
+
* member org can't read them.
|
|
328
|
+
*
|
|
329
|
+
* @table toolchain_rollout
|
|
330
|
+
*/
|
|
331
|
+
export declare const toolchainRollout: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
332
|
+
name: "toolchain_rollout";
|
|
333
|
+
schema: undefined;
|
|
334
|
+
columns: {
|
|
335
|
+
orgId: import("drizzle-orm/pg-core").PgColumn<{
|
|
336
|
+
name: "org_id";
|
|
337
|
+
tableName: "toolchain_rollout";
|
|
338
|
+
dataType: "string";
|
|
339
|
+
columnType: "PgVarchar";
|
|
340
|
+
data: string;
|
|
341
|
+
driverParam: string;
|
|
342
|
+
notNull: true;
|
|
343
|
+
hasDefault: false;
|
|
344
|
+
isPrimaryKey: true;
|
|
345
|
+
isAutoincrement: false;
|
|
346
|
+
hasRuntimeDefault: false;
|
|
347
|
+
enumValues: [string, ...string[]];
|
|
348
|
+
baseColumn: never;
|
|
349
|
+
identity: undefined;
|
|
350
|
+
generated: undefined;
|
|
351
|
+
}, {}, {
|
|
352
|
+
length: 255;
|
|
353
|
+
}>;
|
|
354
|
+
releaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
355
|
+
name: "release_version";
|
|
356
|
+
tableName: "toolchain_rollout";
|
|
357
|
+
dataType: "string";
|
|
358
|
+
columnType: "PgVarchar";
|
|
359
|
+
data: string;
|
|
360
|
+
driverParam: string;
|
|
361
|
+
notNull: true;
|
|
362
|
+
hasDefault: false;
|
|
363
|
+
isPrimaryKey: false;
|
|
364
|
+
isAutoincrement: false;
|
|
365
|
+
hasRuntimeDefault: false;
|
|
366
|
+
enumValues: [string, ...string[]];
|
|
367
|
+
baseColumn: never;
|
|
368
|
+
identity: undefined;
|
|
369
|
+
generated: undefined;
|
|
370
|
+
}, {}, {
|
|
371
|
+
length: 50;
|
|
372
|
+
}>;
|
|
373
|
+
addedBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
374
|
+
name: "added_by";
|
|
375
|
+
tableName: "toolchain_rollout";
|
|
376
|
+
dataType: "string";
|
|
377
|
+
columnType: "PgText";
|
|
378
|
+
data: string;
|
|
379
|
+
driverParam: string;
|
|
380
|
+
notNull: true;
|
|
381
|
+
hasDefault: false;
|
|
382
|
+
isPrimaryKey: false;
|
|
383
|
+
isAutoincrement: false;
|
|
384
|
+
hasRuntimeDefault: false;
|
|
385
|
+
enumValues: [string, ...string[]];
|
|
386
|
+
baseColumn: never;
|
|
387
|
+
identity: undefined;
|
|
388
|
+
generated: undefined;
|
|
389
|
+
}, {}, {}>;
|
|
390
|
+
addedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
391
|
+
name: "added_at";
|
|
392
|
+
tableName: "toolchain_rollout";
|
|
393
|
+
dataType: "date";
|
|
394
|
+
columnType: "PgTimestamp";
|
|
395
|
+
data: Date;
|
|
396
|
+
driverParam: string;
|
|
397
|
+
notNull: true;
|
|
398
|
+
hasDefault: true;
|
|
399
|
+
isPrimaryKey: false;
|
|
400
|
+
isAutoincrement: false;
|
|
401
|
+
hasRuntimeDefault: false;
|
|
402
|
+
enumValues: undefined;
|
|
403
|
+
baseColumn: never;
|
|
404
|
+
identity: undefined;
|
|
405
|
+
generated: undefined;
|
|
406
|
+
}, {}, {}>;
|
|
407
|
+
};
|
|
408
|
+
dialect: 'pg';
|
|
409
|
+
}>;
|
|
410
|
+
/**
|
|
411
|
+
* An org's override of the platform default (one per org). "Follow platform
|
|
412
|
+
* default" deletes the row. Team inheritance is resolved in the resolver, not
|
|
413
|
+
* by RLS.
|
|
414
|
+
*
|
|
415
|
+
* @table org_toolchain_default
|
|
416
|
+
*/
|
|
417
|
+
export declare const orgToolchainDefault: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
418
|
+
name: "org_toolchain_default";
|
|
419
|
+
schema: undefined;
|
|
420
|
+
columns: {
|
|
421
|
+
orgId: import("drizzle-orm/pg-core").PgColumn<{
|
|
422
|
+
name: "org_id";
|
|
423
|
+
tableName: "org_toolchain_default";
|
|
424
|
+
dataType: "string";
|
|
425
|
+
columnType: "PgVarchar";
|
|
426
|
+
data: string;
|
|
427
|
+
driverParam: string;
|
|
428
|
+
notNull: true;
|
|
429
|
+
hasDefault: false;
|
|
430
|
+
isPrimaryKey: true;
|
|
431
|
+
isAutoincrement: false;
|
|
432
|
+
hasRuntimeDefault: false;
|
|
433
|
+
enumValues: [string, ...string[]];
|
|
434
|
+
baseColumn: never;
|
|
435
|
+
identity: undefined;
|
|
436
|
+
generated: undefined;
|
|
437
|
+
}, {}, {
|
|
438
|
+
length: 255;
|
|
439
|
+
}>;
|
|
440
|
+
releaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
441
|
+
name: "release_version";
|
|
442
|
+
tableName: "org_toolchain_default";
|
|
443
|
+
dataType: "string";
|
|
444
|
+
columnType: "PgVarchar";
|
|
445
|
+
data: string;
|
|
446
|
+
driverParam: string;
|
|
447
|
+
notNull: true;
|
|
448
|
+
hasDefault: false;
|
|
449
|
+
isPrimaryKey: false;
|
|
450
|
+
isAutoincrement: false;
|
|
451
|
+
hasRuntimeDefault: false;
|
|
452
|
+
enumValues: [string, ...string[]];
|
|
453
|
+
baseColumn: never;
|
|
454
|
+
identity: undefined;
|
|
455
|
+
generated: undefined;
|
|
456
|
+
}, {}, {
|
|
457
|
+
length: 50;
|
|
458
|
+
}>;
|
|
459
|
+
setBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
460
|
+
name: "set_by";
|
|
461
|
+
tableName: "org_toolchain_default";
|
|
462
|
+
dataType: "string";
|
|
463
|
+
columnType: "PgText";
|
|
464
|
+
data: string;
|
|
465
|
+
driverParam: string;
|
|
466
|
+
notNull: true;
|
|
467
|
+
hasDefault: false;
|
|
468
|
+
isPrimaryKey: false;
|
|
469
|
+
isAutoincrement: false;
|
|
470
|
+
hasRuntimeDefault: false;
|
|
471
|
+
enumValues: [string, ...string[]];
|
|
472
|
+
baseColumn: never;
|
|
473
|
+
identity: undefined;
|
|
474
|
+
generated: undefined;
|
|
475
|
+
}, {}, {}>;
|
|
476
|
+
setAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
477
|
+
name: "set_at";
|
|
478
|
+
tableName: "org_toolchain_default";
|
|
479
|
+
dataType: "date";
|
|
480
|
+
columnType: "PgTimestamp";
|
|
481
|
+
data: Date;
|
|
482
|
+
driverParam: string;
|
|
483
|
+
notNull: true;
|
|
484
|
+
hasDefault: true;
|
|
485
|
+
isPrimaryKey: false;
|
|
486
|
+
isAutoincrement: false;
|
|
487
|
+
hasRuntimeDefault: false;
|
|
488
|
+
enumValues: undefined;
|
|
489
|
+
baseColumn: never;
|
|
490
|
+
identity: undefined;
|
|
491
|
+
generated: undefined;
|
|
492
|
+
}, {}, {}>;
|
|
493
|
+
reason: import("drizzle-orm/pg-core").PgColumn<{
|
|
494
|
+
name: "reason";
|
|
495
|
+
tableName: "org_toolchain_default";
|
|
496
|
+
dataType: "string";
|
|
497
|
+
columnType: "PgText";
|
|
498
|
+
data: string;
|
|
499
|
+
driverParam: string;
|
|
500
|
+
notNull: false;
|
|
501
|
+
hasDefault: false;
|
|
502
|
+
isPrimaryKey: false;
|
|
503
|
+
isAutoincrement: false;
|
|
504
|
+
hasRuntimeDefault: false;
|
|
505
|
+
enumValues: [string, ...string[]];
|
|
506
|
+
baseColumn: never;
|
|
507
|
+
identity: undefined;
|
|
508
|
+
generated: undefined;
|
|
509
|
+
}, {}, {}>;
|
|
510
|
+
};
|
|
511
|
+
dialect: 'pg';
|
|
512
|
+
}>;
|
|
513
|
+
/**
|
|
514
|
+
* An org's override changes, append-only for the org. `releaseVersion` is
|
|
515
|
+
* `null` for a clear (back to the platform default). No FK: history outlives a
|
|
516
|
+
* deleted release.
|
|
517
|
+
*
|
|
518
|
+
* @table org_toolchain_default_history
|
|
519
|
+
*/
|
|
520
|
+
export declare const orgToolchainDefaultHistory: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
521
|
+
name: "org_toolchain_default_history";
|
|
522
|
+
schema: undefined;
|
|
523
|
+
columns: {
|
|
524
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
525
|
+
name: "id";
|
|
526
|
+
tableName: "org_toolchain_default_history";
|
|
527
|
+
dataType: "string";
|
|
528
|
+
columnType: "PgUUID";
|
|
529
|
+
data: string;
|
|
530
|
+
driverParam: string;
|
|
531
|
+
notNull: true;
|
|
532
|
+
hasDefault: true;
|
|
533
|
+
isPrimaryKey: true;
|
|
534
|
+
isAutoincrement: false;
|
|
535
|
+
hasRuntimeDefault: false;
|
|
536
|
+
enumValues: undefined;
|
|
537
|
+
baseColumn: never;
|
|
538
|
+
identity: undefined;
|
|
539
|
+
generated: undefined;
|
|
540
|
+
}, {}, {}>;
|
|
541
|
+
orgId: import("drizzle-orm/pg-core").PgColumn<{
|
|
542
|
+
name: "org_id";
|
|
543
|
+
tableName: "org_toolchain_default_history";
|
|
544
|
+
dataType: "string";
|
|
545
|
+
columnType: "PgVarchar";
|
|
546
|
+
data: string;
|
|
547
|
+
driverParam: string;
|
|
548
|
+
notNull: true;
|
|
549
|
+
hasDefault: false;
|
|
550
|
+
isPrimaryKey: false;
|
|
551
|
+
isAutoincrement: false;
|
|
552
|
+
hasRuntimeDefault: false;
|
|
553
|
+
enumValues: [string, ...string[]];
|
|
554
|
+
baseColumn: never;
|
|
555
|
+
identity: undefined;
|
|
556
|
+
generated: undefined;
|
|
557
|
+
}, {}, {
|
|
558
|
+
length: 255;
|
|
559
|
+
}>;
|
|
560
|
+
releaseVersion: import("drizzle-orm/pg-core").PgColumn<{
|
|
561
|
+
name: "release_version";
|
|
562
|
+
tableName: "org_toolchain_default_history";
|
|
563
|
+
dataType: "string";
|
|
564
|
+
columnType: "PgVarchar";
|
|
565
|
+
data: string;
|
|
566
|
+
driverParam: string;
|
|
567
|
+
notNull: false;
|
|
568
|
+
hasDefault: false;
|
|
569
|
+
isPrimaryKey: false;
|
|
570
|
+
isAutoincrement: false;
|
|
571
|
+
hasRuntimeDefault: false;
|
|
572
|
+
enumValues: [string, ...string[]];
|
|
573
|
+
baseColumn: never;
|
|
574
|
+
identity: undefined;
|
|
575
|
+
generated: undefined;
|
|
576
|
+
}, {}, {
|
|
577
|
+
length: 50;
|
|
578
|
+
}>;
|
|
579
|
+
setBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
580
|
+
name: "set_by";
|
|
581
|
+
tableName: "org_toolchain_default_history";
|
|
582
|
+
dataType: "string";
|
|
583
|
+
columnType: "PgText";
|
|
584
|
+
data: string;
|
|
585
|
+
driverParam: string;
|
|
586
|
+
notNull: true;
|
|
587
|
+
hasDefault: false;
|
|
588
|
+
isPrimaryKey: false;
|
|
589
|
+
isAutoincrement: false;
|
|
590
|
+
hasRuntimeDefault: false;
|
|
591
|
+
enumValues: [string, ...string[]];
|
|
592
|
+
baseColumn: never;
|
|
593
|
+
identity: undefined;
|
|
594
|
+
generated: undefined;
|
|
595
|
+
}, {}, {}>;
|
|
596
|
+
setAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
597
|
+
name: "set_at";
|
|
598
|
+
tableName: "org_toolchain_default_history";
|
|
599
|
+
dataType: "date";
|
|
600
|
+
columnType: "PgTimestamp";
|
|
601
|
+
data: Date;
|
|
602
|
+
driverParam: string;
|
|
603
|
+
notNull: true;
|
|
604
|
+
hasDefault: true;
|
|
605
|
+
isPrimaryKey: false;
|
|
606
|
+
isAutoincrement: false;
|
|
607
|
+
hasRuntimeDefault: false;
|
|
608
|
+
enumValues: undefined;
|
|
609
|
+
baseColumn: never;
|
|
610
|
+
identity: undefined;
|
|
611
|
+
generated: undefined;
|
|
612
|
+
}, {}, {}>;
|
|
613
|
+
reason: import("drizzle-orm/pg-core").PgColumn<{
|
|
614
|
+
name: "reason";
|
|
615
|
+
tableName: "org_toolchain_default_history";
|
|
616
|
+
dataType: "string";
|
|
617
|
+
columnType: "PgText";
|
|
618
|
+
data: string;
|
|
619
|
+
driverParam: string;
|
|
620
|
+
notNull: false;
|
|
621
|
+
hasDefault: false;
|
|
622
|
+
isPrimaryKey: false;
|
|
623
|
+
isAutoincrement: false;
|
|
624
|
+
hasRuntimeDefault: false;
|
|
625
|
+
enumValues: [string, ...string[]];
|
|
626
|
+
baseColumn: never;
|
|
627
|
+
identity: undefined;
|
|
628
|
+
generated: undefined;
|
|
629
|
+
}, {}, {}>;
|
|
630
|
+
};
|
|
631
|
+
dialect: 'pg';
|
|
632
|
+
}>;
|
|
633
|
+
export type ToolchainRelease = typeof toolchainRelease.$inferSelect;
|
|
634
|
+
export type ToolchainReleaseInsert = typeof toolchainRelease.$inferInsert;
|
|
635
|
+
export type ToolchainPlatformDefault = typeof toolchainPlatformDefault.$inferSelect;
|
|
636
|
+
export type ToolchainDefaultHistory = typeof toolchainDefaultHistory.$inferSelect;
|
|
637
|
+
export type ToolchainDefaultHistoryInsert = typeof toolchainDefaultHistory.$inferInsert;
|
|
638
|
+
export type ToolchainRollout = typeof toolchainRollout.$inferSelect;
|
|
639
|
+
export type ToolchainRolloutInsert = typeof toolchainRollout.$inferInsert;
|
|
640
|
+
export type OrgToolchainDefault = typeof orgToolchainDefault.$inferSelect;
|
|
641
|
+
export type OrgToolchainDefaultInsert = typeof orgToolchainDefault.$inferInsert;
|
|
642
|
+
export type OrgToolchainDefaultHistory = typeof orgToolchainDefaultHistory.$inferSelect;
|
|
643
|
+
export type OrgToolchainDefaultHistoryInsert = typeof orgToolchainDefaultHistory.$inferInsert;
|