@pipeline-builder/pipeline-data 6.2.8 → 6.3.0
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 +6 -0
- package/lib/api/managed-toolchain.js +4 -2
- package/lib/api/org-data-ownership.js +4 -1
- package/lib/api/reporting/delivery.d.ts +1 -1
- package/lib/database/drizzle-schema.d.ts +548 -4
- package/lib/database/drizzle-schema.js +4 -2
- package/lib/database/index.d.ts +1 -1
- package/lib/database/index.js +2 -2
- package/lib/database/schema/runner.d.ts +554 -4
- package/lib/database/schema/runner.js +64 -1
- package/lib/database/schema/toolchain.d.ts +24 -0
- package/lib/database/schema/toolchain.js +11 -2
- package/package.json +2 -2
|
@@ -313,6 +313,110 @@ export declare const pipelineRunner: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
313
313
|
identity: undefined;
|
|
314
314
|
generated: undefined;
|
|
315
315
|
}, {}, {}>;
|
|
316
|
+
capabilities: import("drizzle-orm/pg-core").PgColumn<{
|
|
317
|
+
name: "capabilities";
|
|
318
|
+
tableName: "pipeline_runners";
|
|
319
|
+
dataType: "array";
|
|
320
|
+
columnType: "PgArray";
|
|
321
|
+
data: "deploy:1"[];
|
|
322
|
+
driverParam: string | string[];
|
|
323
|
+
notNull: true;
|
|
324
|
+
hasDefault: true;
|
|
325
|
+
isPrimaryKey: false;
|
|
326
|
+
isAutoincrement: false;
|
|
327
|
+
hasRuntimeDefault: false;
|
|
328
|
+
enumValues: [string, ...string[]];
|
|
329
|
+
baseColumn: import("drizzle-orm").Column<{
|
|
330
|
+
name: "capabilities";
|
|
331
|
+
tableName: "pipeline_runners";
|
|
332
|
+
dataType: "string";
|
|
333
|
+
columnType: "PgText";
|
|
334
|
+
data: string;
|
|
335
|
+
driverParam: string;
|
|
336
|
+
notNull: false;
|
|
337
|
+
hasDefault: false;
|
|
338
|
+
isPrimaryKey: false;
|
|
339
|
+
isAutoincrement: false;
|
|
340
|
+
hasRuntimeDefault: false;
|
|
341
|
+
enumValues: [string, ...string[]];
|
|
342
|
+
baseColumn: never;
|
|
343
|
+
identity: undefined;
|
|
344
|
+
generated: undefined;
|
|
345
|
+
}, {}, {}>;
|
|
346
|
+
identity: undefined;
|
|
347
|
+
generated: undefined;
|
|
348
|
+
}, {}, {
|
|
349
|
+
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
350
|
+
name: "capabilities";
|
|
351
|
+
dataType: 'string';
|
|
352
|
+
columnType: 'PgText';
|
|
353
|
+
data: string;
|
|
354
|
+
enumValues: [string, ...string[]];
|
|
355
|
+
driverParam: string;
|
|
356
|
+
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
357
|
+
size: undefined;
|
|
358
|
+
$type: "deploy:1"[];
|
|
359
|
+
}>;
|
|
360
|
+
pipelinePrefixes: import("drizzle-orm/pg-core").PgColumn<{
|
|
361
|
+
name: "pipeline_prefixes";
|
|
362
|
+
tableName: "pipeline_runners";
|
|
363
|
+
dataType: "array";
|
|
364
|
+
columnType: "PgArray";
|
|
365
|
+
data: string[];
|
|
366
|
+
driverParam: string | string[];
|
|
367
|
+
notNull: true;
|
|
368
|
+
hasDefault: true;
|
|
369
|
+
isPrimaryKey: false;
|
|
370
|
+
isAutoincrement: false;
|
|
371
|
+
hasRuntimeDefault: false;
|
|
372
|
+
enumValues: [string, ...string[]];
|
|
373
|
+
baseColumn: import("drizzle-orm").Column<{
|
|
374
|
+
name: "pipeline_prefixes";
|
|
375
|
+
tableName: "pipeline_runners";
|
|
376
|
+
dataType: "string";
|
|
377
|
+
columnType: "PgText";
|
|
378
|
+
data: string;
|
|
379
|
+
driverParam: string;
|
|
380
|
+
notNull: false;
|
|
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
|
+
identity: undefined;
|
|
391
|
+
generated: undefined;
|
|
392
|
+
}, {}, {
|
|
393
|
+
baseBuilder: import("drizzle-orm/pg-core").PgColumnBuilder<{
|
|
394
|
+
name: "pipeline_prefixes";
|
|
395
|
+
dataType: 'string';
|
|
396
|
+
columnType: 'PgText';
|
|
397
|
+
data: string;
|
|
398
|
+
enumValues: [string, ...string[]];
|
|
399
|
+
driverParam: string;
|
|
400
|
+
}, {}, {}, import("drizzle-orm").ColumnBuilderExtraConfig>;
|
|
401
|
+
size: undefined;
|
|
402
|
+
}>;
|
|
403
|
+
shareDeploysWithTeams: import("drizzle-orm/pg-core").PgColumn<{
|
|
404
|
+
name: "share_deploys_with_teams";
|
|
405
|
+
tableName: "pipeline_runners";
|
|
406
|
+
dataType: "boolean";
|
|
407
|
+
columnType: "PgBoolean";
|
|
408
|
+
data: boolean;
|
|
409
|
+
driverParam: boolean;
|
|
410
|
+
notNull: true;
|
|
411
|
+
hasDefault: true;
|
|
412
|
+
isPrimaryKey: false;
|
|
413
|
+
isAutoincrement: false;
|
|
414
|
+
hasRuntimeDefault: false;
|
|
415
|
+
enumValues: undefined;
|
|
416
|
+
baseColumn: never;
|
|
417
|
+
identity: undefined;
|
|
418
|
+
generated: undefined;
|
|
419
|
+
}, {}, {}>;
|
|
316
420
|
};
|
|
317
421
|
dialect: 'pg';
|
|
318
422
|
}>;
|
|
@@ -386,7 +490,7 @@ export declare const pipelineRunRequest: import("drizzle-orm/pg-core").PgTableWi
|
|
|
386
490
|
tableName: "pipeline_run_requests";
|
|
387
491
|
dataType: "string";
|
|
388
492
|
columnType: "PgVarchar";
|
|
389
|
-
data: "probe" | "start" | "stop";
|
|
493
|
+
data: "deploy" | "probe" | "start" | "stop" | "undeploy";
|
|
390
494
|
driverParam: string;
|
|
391
495
|
notNull: true;
|
|
392
496
|
hasDefault: false;
|
|
@@ -399,7 +503,7 @@ export declare const pipelineRunRequest: import("drizzle-orm/pg-core").PgTableWi
|
|
|
399
503
|
generated: undefined;
|
|
400
504
|
}, {}, {
|
|
401
505
|
length: 10;
|
|
402
|
-
$type: "probe" | "start" | "stop";
|
|
506
|
+
$type: "deploy" | "probe" | "start" | "stop" | "undeploy";
|
|
403
507
|
}>;
|
|
404
508
|
executionId: import("drizzle-orm/pg-core").PgColumn<{
|
|
405
509
|
name: "execution_id";
|
|
@@ -495,7 +599,7 @@ export declare const pipelineRunRequest: import("drizzle-orm/pg-core").PgTableWi
|
|
|
495
599
|
tableName: "pipeline_run_requests";
|
|
496
600
|
dataType: "string";
|
|
497
601
|
columnType: "PgVarchar";
|
|
498
|
-
data: "delivering" | "expired" | "failed" | "queued" | "started" | "stopped";
|
|
602
|
+
data: "cancelled" | "delivering" | "deployed" | "deploying" | "expired" | "failed" | "queued" | "started" | "stopped" | "undeployed" | "undeploying";
|
|
499
603
|
driverParam: string;
|
|
500
604
|
notNull: true;
|
|
501
605
|
hasDefault: true;
|
|
@@ -508,7 +612,7 @@ export declare const pipelineRunRequest: import("drizzle-orm/pg-core").PgTableWi
|
|
|
508
612
|
generated: undefined;
|
|
509
613
|
}, {}, {
|
|
510
614
|
length: 16;
|
|
511
|
-
$type: "delivering" | "expired" | "failed" | "queued" | "started" | "stopped";
|
|
615
|
+
$type: "cancelled" | "delivering" | "deployed" | "deploying" | "expired" | "failed" | "queued" | "started" | "stopped" | "undeployed" | "undeploying";
|
|
512
616
|
}>;
|
|
513
617
|
runnerId: import("drizzle-orm/pg-core").PgColumn<{
|
|
514
618
|
name: "runner_id";
|
|
@@ -638,6 +742,450 @@ export declare const pipelineRunRequest: import("drizzle-orm/pg-core").PgTableWi
|
|
|
638
742
|
};
|
|
639
743
|
dialect: 'pg';
|
|
640
744
|
}>;
|
|
745
|
+
/**
|
|
746
|
+
* The deploy half of a `deploy` / `undeploy` run request: what the runner's
|
|
747
|
+
* CodeBuild job runs, where it is, and the job's credentials.
|
|
748
|
+
*
|
|
749
|
+
* - `grant_hash` — sha256 (hex) of the single-use job grant (`pb_dg_…`), the
|
|
750
|
+
* only form the grant is kept in clear; `grant_enc` — the grant encrypted
|
|
751
|
+
* with the org's `encryptSecret` (re-signed on a redelivery), wiped at the
|
|
752
|
+
* exchange and at any terminal status; `grant_expires_at` — the exchange
|
|
753
|
+
* deadline (api-core `deployGrantTtlMs`); `grant_used_at` — the exchange.
|
|
754
|
+
* - `session_hash` / `session_expires_at` — the session token (`pb_ds_…`)
|
|
755
|
+
* the exchange issued, sha256 only; nulled at any terminal status.
|
|
756
|
+
* - `build_id` — the runner's CodeBuild build (`<project>:<uuid>`, no
|
|
757
|
+
* account id); `deadline_at` — RUNNER_DEPLOY_DEADLINE_MINUTES after the
|
|
758
|
+
* runner accepted; `next_poll_at` — the sweep's next signed deploy_status.
|
|
759
|
+
* - `stage` — the job's last reported stage; `result_code` — its result.
|
|
760
|
+
*
|
|
761
|
+
* NO route, log, audit entry or export ever carries `grant_enc`, `grant_hash`
|
|
762
|
+
* or `session_hash`. Own org only under RLS (no system-org read).
|
|
763
|
+
*
|
|
764
|
+
* @table pipeline_runner_deploys
|
|
765
|
+
*/
|
|
766
|
+
export declare const pipelineRunnerDeploy: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
767
|
+
name: "pipeline_runner_deploys";
|
|
768
|
+
schema: undefined;
|
|
769
|
+
columns: {
|
|
770
|
+
requestId: import("drizzle-orm/pg-core").PgColumn<{
|
|
771
|
+
name: "request_id";
|
|
772
|
+
tableName: "pipeline_runner_deploys";
|
|
773
|
+
dataType: "string";
|
|
774
|
+
columnType: "PgUUID";
|
|
775
|
+
data: string;
|
|
776
|
+
driverParam: string;
|
|
777
|
+
notNull: true;
|
|
778
|
+
hasDefault: false;
|
|
779
|
+
isPrimaryKey: true;
|
|
780
|
+
isAutoincrement: false;
|
|
781
|
+
hasRuntimeDefault: false;
|
|
782
|
+
enumValues: undefined;
|
|
783
|
+
baseColumn: never;
|
|
784
|
+
identity: undefined;
|
|
785
|
+
generated: undefined;
|
|
786
|
+
}, {}, {}>;
|
|
787
|
+
orgId: import("drizzle-orm/pg-core").PgColumn<{
|
|
788
|
+
name: "org_id";
|
|
789
|
+
tableName: "pipeline_runner_deploys";
|
|
790
|
+
dataType: "string";
|
|
791
|
+
columnType: "PgVarchar";
|
|
792
|
+
data: string;
|
|
793
|
+
driverParam: string;
|
|
794
|
+
notNull: true;
|
|
795
|
+
hasDefault: false;
|
|
796
|
+
isPrimaryKey: false;
|
|
797
|
+
isAutoincrement: false;
|
|
798
|
+
hasRuntimeDefault: false;
|
|
799
|
+
enumValues: [string, ...string[]];
|
|
800
|
+
baseColumn: never;
|
|
801
|
+
identity: undefined;
|
|
802
|
+
generated: undefined;
|
|
803
|
+
}, {}, {
|
|
804
|
+
length: 255;
|
|
805
|
+
}>;
|
|
806
|
+
pipelineId: import("drizzle-orm/pg-core").PgColumn<{
|
|
807
|
+
name: "pipeline_id";
|
|
808
|
+
tableName: "pipeline_runner_deploys";
|
|
809
|
+
dataType: "string";
|
|
810
|
+
columnType: "PgUUID";
|
|
811
|
+
data: string;
|
|
812
|
+
driverParam: string;
|
|
813
|
+
notNull: true;
|
|
814
|
+
hasDefault: false;
|
|
815
|
+
isPrimaryKey: false;
|
|
816
|
+
isAutoincrement: false;
|
|
817
|
+
hasRuntimeDefault: false;
|
|
818
|
+
enumValues: undefined;
|
|
819
|
+
baseColumn: never;
|
|
820
|
+
identity: undefined;
|
|
821
|
+
generated: undefined;
|
|
822
|
+
}, {}, {}>;
|
|
823
|
+
region: import("drizzle-orm/pg-core").PgColumn<{
|
|
824
|
+
name: "region";
|
|
825
|
+
tableName: "pipeline_runner_deploys";
|
|
826
|
+
dataType: "string";
|
|
827
|
+
columnType: "PgVarchar";
|
|
828
|
+
data: string;
|
|
829
|
+
driverParam: string;
|
|
830
|
+
notNull: true;
|
|
831
|
+
hasDefault: false;
|
|
832
|
+
isPrimaryKey: false;
|
|
833
|
+
isAutoincrement: false;
|
|
834
|
+
hasRuntimeDefault: false;
|
|
835
|
+
enumValues: [string, ...string[]];
|
|
836
|
+
baseColumn: never;
|
|
837
|
+
identity: undefined;
|
|
838
|
+
generated: undefined;
|
|
839
|
+
}, {}, {
|
|
840
|
+
length: 30;
|
|
841
|
+
}>;
|
|
842
|
+
pipelineName: import("drizzle-orm/pg-core").PgColumn<{
|
|
843
|
+
name: "pipeline_name";
|
|
844
|
+
tableName: "pipeline_runner_deploys";
|
|
845
|
+
dataType: "string";
|
|
846
|
+
columnType: "PgVarchar";
|
|
847
|
+
data: string;
|
|
848
|
+
driverParam: string;
|
|
849
|
+
notNull: true;
|
|
850
|
+
hasDefault: false;
|
|
851
|
+
isPrimaryKey: false;
|
|
852
|
+
isAutoincrement: false;
|
|
853
|
+
hasRuntimeDefault: false;
|
|
854
|
+
enumValues: [string, ...string[]];
|
|
855
|
+
baseColumn: never;
|
|
856
|
+
identity: undefined;
|
|
857
|
+
generated: undefined;
|
|
858
|
+
}, {}, {
|
|
859
|
+
length: 255;
|
|
860
|
+
}>;
|
|
861
|
+
stackName: import("drizzle-orm/pg-core").PgColumn<{
|
|
862
|
+
name: "stack_name";
|
|
863
|
+
tableName: "pipeline_runner_deploys";
|
|
864
|
+
dataType: "string";
|
|
865
|
+
columnType: "PgVarchar";
|
|
866
|
+
data: string;
|
|
867
|
+
driverParam: string;
|
|
868
|
+
notNull: true;
|
|
869
|
+
hasDefault: false;
|
|
870
|
+
isPrimaryKey: false;
|
|
871
|
+
isAutoincrement: false;
|
|
872
|
+
hasRuntimeDefault: false;
|
|
873
|
+
enumValues: [string, ...string[]];
|
|
874
|
+
baseColumn: never;
|
|
875
|
+
identity: undefined;
|
|
876
|
+
generated: undefined;
|
|
877
|
+
}, {}, {
|
|
878
|
+
length: 255;
|
|
879
|
+
}>;
|
|
880
|
+
imageDigest: import("drizzle-orm/pg-core").PgColumn<{
|
|
881
|
+
name: "image_digest";
|
|
882
|
+
tableName: "pipeline_runner_deploys";
|
|
883
|
+
dataType: "string";
|
|
884
|
+
columnType: "PgVarchar";
|
|
885
|
+
data: string;
|
|
886
|
+
driverParam: string;
|
|
887
|
+
notNull: true;
|
|
888
|
+
hasDefault: false;
|
|
889
|
+
isPrimaryKey: false;
|
|
890
|
+
isAutoincrement: false;
|
|
891
|
+
hasRuntimeDefault: false;
|
|
892
|
+
enumValues: [string, ...string[]];
|
|
893
|
+
baseColumn: never;
|
|
894
|
+
identity: undefined;
|
|
895
|
+
generated: undefined;
|
|
896
|
+
}, {}, {
|
|
897
|
+
length: 80;
|
|
898
|
+
}>;
|
|
899
|
+
toolchainRelease: import("drizzle-orm/pg-core").PgColumn<{
|
|
900
|
+
name: "toolchain_release";
|
|
901
|
+
tableName: "pipeline_runner_deploys";
|
|
902
|
+
dataType: "string";
|
|
903
|
+
columnType: "PgVarchar";
|
|
904
|
+
data: string;
|
|
905
|
+
driverParam: string;
|
|
906
|
+
notNull: true;
|
|
907
|
+
hasDefault: false;
|
|
908
|
+
isPrimaryKey: false;
|
|
909
|
+
isAutoincrement: false;
|
|
910
|
+
hasRuntimeDefault: false;
|
|
911
|
+
enumValues: [string, ...string[]];
|
|
912
|
+
baseColumn: never;
|
|
913
|
+
identity: undefined;
|
|
914
|
+
generated: undefined;
|
|
915
|
+
}, {}, {
|
|
916
|
+
length: 50;
|
|
917
|
+
}>;
|
|
918
|
+
buildId: import("drizzle-orm/pg-core").PgColumn<{
|
|
919
|
+
name: "build_id";
|
|
920
|
+
tableName: "pipeline_runner_deploys";
|
|
921
|
+
dataType: "string";
|
|
922
|
+
columnType: "PgVarchar";
|
|
923
|
+
data: string;
|
|
924
|
+
driverParam: string;
|
|
925
|
+
notNull: false;
|
|
926
|
+
hasDefault: false;
|
|
927
|
+
isPrimaryKey: false;
|
|
928
|
+
isAutoincrement: false;
|
|
929
|
+
hasRuntimeDefault: false;
|
|
930
|
+
enumValues: [string, ...string[]];
|
|
931
|
+
baseColumn: never;
|
|
932
|
+
identity: undefined;
|
|
933
|
+
generated: undefined;
|
|
934
|
+
}, {}, {
|
|
935
|
+
length: 255;
|
|
936
|
+
}>;
|
|
937
|
+
stage: import("drizzle-orm/pg-core").PgColumn<{
|
|
938
|
+
name: "stage";
|
|
939
|
+
tableName: "pipeline_runner_deploys";
|
|
940
|
+
dataType: "string";
|
|
941
|
+
columnType: "PgVarchar";
|
|
942
|
+
data: "authenticating" | "cleaning" | "deploying" | "done" | "fetching" | "prechecking" | "queued" | "registering" | "removing" | "starting" | "synthesizing";
|
|
943
|
+
driverParam: string;
|
|
944
|
+
notNull: true;
|
|
945
|
+
hasDefault: true;
|
|
946
|
+
isPrimaryKey: false;
|
|
947
|
+
isAutoincrement: false;
|
|
948
|
+
hasRuntimeDefault: false;
|
|
949
|
+
enumValues: [string, ...string[]];
|
|
950
|
+
baseColumn: never;
|
|
951
|
+
identity: undefined;
|
|
952
|
+
generated: undefined;
|
|
953
|
+
}, {}, {
|
|
954
|
+
length: 16;
|
|
955
|
+
$type: "authenticating" | "cleaning" | "deploying" | "done" | "fetching" | "prechecking" | "queued" | "registering" | "removing" | "starting" | "synthesizing";
|
|
956
|
+
}>;
|
|
957
|
+
deadlineAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
958
|
+
name: "deadline_at";
|
|
959
|
+
tableName: "pipeline_runner_deploys";
|
|
960
|
+
dataType: "date";
|
|
961
|
+
columnType: "PgTimestamp";
|
|
962
|
+
data: Date;
|
|
963
|
+
driverParam: string;
|
|
964
|
+
notNull: false;
|
|
965
|
+
hasDefault: false;
|
|
966
|
+
isPrimaryKey: false;
|
|
967
|
+
isAutoincrement: false;
|
|
968
|
+
hasRuntimeDefault: false;
|
|
969
|
+
enumValues: undefined;
|
|
970
|
+
baseColumn: never;
|
|
971
|
+
identity: undefined;
|
|
972
|
+
generated: undefined;
|
|
973
|
+
}, {}, {}>;
|
|
974
|
+
nextPollAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
975
|
+
name: "next_poll_at";
|
|
976
|
+
tableName: "pipeline_runner_deploys";
|
|
977
|
+
dataType: "date";
|
|
978
|
+
columnType: "PgTimestamp";
|
|
979
|
+
data: Date;
|
|
980
|
+
driverParam: string;
|
|
981
|
+
notNull: false;
|
|
982
|
+
hasDefault: false;
|
|
983
|
+
isPrimaryKey: false;
|
|
984
|
+
isAutoincrement: false;
|
|
985
|
+
hasRuntimeDefault: false;
|
|
986
|
+
enumValues: undefined;
|
|
987
|
+
baseColumn: never;
|
|
988
|
+
identity: undefined;
|
|
989
|
+
generated: undefined;
|
|
990
|
+
}, {}, {}>;
|
|
991
|
+
grantHash: import("drizzle-orm/pg-core").PgColumn<{
|
|
992
|
+
name: "grant_hash";
|
|
993
|
+
tableName: "pipeline_runner_deploys";
|
|
994
|
+
dataType: "string";
|
|
995
|
+
columnType: "PgVarchar";
|
|
996
|
+
data: string;
|
|
997
|
+
driverParam: string;
|
|
998
|
+
notNull: false;
|
|
999
|
+
hasDefault: false;
|
|
1000
|
+
isPrimaryKey: false;
|
|
1001
|
+
isAutoincrement: false;
|
|
1002
|
+
hasRuntimeDefault: false;
|
|
1003
|
+
enumValues: [string, ...string[]];
|
|
1004
|
+
baseColumn: never;
|
|
1005
|
+
identity: undefined;
|
|
1006
|
+
generated: undefined;
|
|
1007
|
+
}, {}, {
|
|
1008
|
+
length: 64;
|
|
1009
|
+
}>;
|
|
1010
|
+
grantEnc: import("drizzle-orm/pg-core").PgColumn<{
|
|
1011
|
+
name: "grant_enc";
|
|
1012
|
+
tableName: "pipeline_runner_deploys";
|
|
1013
|
+
dataType: "string";
|
|
1014
|
+
columnType: "PgText";
|
|
1015
|
+
data: string;
|
|
1016
|
+
driverParam: string;
|
|
1017
|
+
notNull: false;
|
|
1018
|
+
hasDefault: false;
|
|
1019
|
+
isPrimaryKey: false;
|
|
1020
|
+
isAutoincrement: false;
|
|
1021
|
+
hasRuntimeDefault: false;
|
|
1022
|
+
enumValues: [string, ...string[]];
|
|
1023
|
+
baseColumn: never;
|
|
1024
|
+
identity: undefined;
|
|
1025
|
+
generated: undefined;
|
|
1026
|
+
}, {}, {}>;
|
|
1027
|
+
grantExpiresAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1028
|
+
name: "grant_expires_at";
|
|
1029
|
+
tableName: "pipeline_runner_deploys";
|
|
1030
|
+
dataType: "date";
|
|
1031
|
+
columnType: "PgTimestamp";
|
|
1032
|
+
data: Date;
|
|
1033
|
+
driverParam: string;
|
|
1034
|
+
notNull: true;
|
|
1035
|
+
hasDefault: false;
|
|
1036
|
+
isPrimaryKey: false;
|
|
1037
|
+
isAutoincrement: false;
|
|
1038
|
+
hasRuntimeDefault: false;
|
|
1039
|
+
enumValues: undefined;
|
|
1040
|
+
baseColumn: never;
|
|
1041
|
+
identity: undefined;
|
|
1042
|
+
generated: undefined;
|
|
1043
|
+
}, {}, {}>;
|
|
1044
|
+
grantUsedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1045
|
+
name: "grant_used_at";
|
|
1046
|
+
tableName: "pipeline_runner_deploys";
|
|
1047
|
+
dataType: "date";
|
|
1048
|
+
columnType: "PgTimestamp";
|
|
1049
|
+
data: Date;
|
|
1050
|
+
driverParam: string;
|
|
1051
|
+
notNull: false;
|
|
1052
|
+
hasDefault: false;
|
|
1053
|
+
isPrimaryKey: false;
|
|
1054
|
+
isAutoincrement: false;
|
|
1055
|
+
hasRuntimeDefault: false;
|
|
1056
|
+
enumValues: undefined;
|
|
1057
|
+
baseColumn: never;
|
|
1058
|
+
identity: undefined;
|
|
1059
|
+
generated: undefined;
|
|
1060
|
+
}, {}, {}>;
|
|
1061
|
+
sessionHash: import("drizzle-orm/pg-core").PgColumn<{
|
|
1062
|
+
name: "session_hash";
|
|
1063
|
+
tableName: "pipeline_runner_deploys";
|
|
1064
|
+
dataType: "string";
|
|
1065
|
+
columnType: "PgVarchar";
|
|
1066
|
+
data: string;
|
|
1067
|
+
driverParam: string;
|
|
1068
|
+
notNull: false;
|
|
1069
|
+
hasDefault: false;
|
|
1070
|
+
isPrimaryKey: false;
|
|
1071
|
+
isAutoincrement: false;
|
|
1072
|
+
hasRuntimeDefault: false;
|
|
1073
|
+
enumValues: [string, ...string[]];
|
|
1074
|
+
baseColumn: never;
|
|
1075
|
+
identity: undefined;
|
|
1076
|
+
generated: undefined;
|
|
1077
|
+
}, {}, {
|
|
1078
|
+
length: 64;
|
|
1079
|
+
}>;
|
|
1080
|
+
sessionExpiresAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1081
|
+
name: "session_expires_at";
|
|
1082
|
+
tableName: "pipeline_runner_deploys";
|
|
1083
|
+
dataType: "date";
|
|
1084
|
+
columnType: "PgTimestamp";
|
|
1085
|
+
data: Date;
|
|
1086
|
+
driverParam: string;
|
|
1087
|
+
notNull: false;
|
|
1088
|
+
hasDefault: false;
|
|
1089
|
+
isPrimaryKey: false;
|
|
1090
|
+
isAutoincrement: false;
|
|
1091
|
+
hasRuntimeDefault: false;
|
|
1092
|
+
enumValues: undefined;
|
|
1093
|
+
baseColumn: never;
|
|
1094
|
+
identity: undefined;
|
|
1095
|
+
generated: undefined;
|
|
1096
|
+
}, {}, {}>;
|
|
1097
|
+
cancelRequestedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1098
|
+
name: "cancel_requested_at";
|
|
1099
|
+
tableName: "pipeline_runner_deploys";
|
|
1100
|
+
dataType: "date";
|
|
1101
|
+
columnType: "PgTimestamp";
|
|
1102
|
+
data: Date;
|
|
1103
|
+
driverParam: string;
|
|
1104
|
+
notNull: false;
|
|
1105
|
+
hasDefault: false;
|
|
1106
|
+
isPrimaryKey: false;
|
|
1107
|
+
isAutoincrement: false;
|
|
1108
|
+
hasRuntimeDefault: false;
|
|
1109
|
+
enumValues: undefined;
|
|
1110
|
+
baseColumn: never;
|
|
1111
|
+
identity: undefined;
|
|
1112
|
+
generated: undefined;
|
|
1113
|
+
}, {}, {}>;
|
|
1114
|
+
cancelledBy: import("drizzle-orm/pg-core").PgColumn<{
|
|
1115
|
+
name: "cancelled_by";
|
|
1116
|
+
tableName: "pipeline_runner_deploys";
|
|
1117
|
+
dataType: "string";
|
|
1118
|
+
columnType: "PgVarchar";
|
|
1119
|
+
data: string;
|
|
1120
|
+
driverParam: string;
|
|
1121
|
+
notNull: false;
|
|
1122
|
+
hasDefault: false;
|
|
1123
|
+
isPrimaryKey: false;
|
|
1124
|
+
isAutoincrement: false;
|
|
1125
|
+
hasRuntimeDefault: false;
|
|
1126
|
+
enumValues: [string, ...string[]];
|
|
1127
|
+
baseColumn: never;
|
|
1128
|
+
identity: undefined;
|
|
1129
|
+
generated: undefined;
|
|
1130
|
+
}, {}, {
|
|
1131
|
+
length: 255;
|
|
1132
|
+
}>;
|
|
1133
|
+
resultCode: import("drizzle-orm/pg-core").PgColumn<{
|
|
1134
|
+
name: "result_code";
|
|
1135
|
+
tableName: "pipeline_runner_deploys";
|
|
1136
|
+
dataType: "string";
|
|
1137
|
+
columnType: "PgVarchar";
|
|
1138
|
+
data: string;
|
|
1139
|
+
driverParam: string;
|
|
1140
|
+
notNull: false;
|
|
1141
|
+
hasDefault: false;
|
|
1142
|
+
isPrimaryKey: false;
|
|
1143
|
+
isAutoincrement: false;
|
|
1144
|
+
hasRuntimeDefault: false;
|
|
1145
|
+
enumValues: [string, ...string[]];
|
|
1146
|
+
baseColumn: never;
|
|
1147
|
+
identity: undefined;
|
|
1148
|
+
generated: undefined;
|
|
1149
|
+
}, {}, {
|
|
1150
|
+
length: 64;
|
|
1151
|
+
}>;
|
|
1152
|
+
finishedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1153
|
+
name: "finished_at";
|
|
1154
|
+
tableName: "pipeline_runner_deploys";
|
|
1155
|
+
dataType: "date";
|
|
1156
|
+
columnType: "PgTimestamp";
|
|
1157
|
+
data: Date;
|
|
1158
|
+
driverParam: string;
|
|
1159
|
+
notNull: false;
|
|
1160
|
+
hasDefault: false;
|
|
1161
|
+
isPrimaryKey: false;
|
|
1162
|
+
isAutoincrement: false;
|
|
1163
|
+
hasRuntimeDefault: false;
|
|
1164
|
+
enumValues: undefined;
|
|
1165
|
+
baseColumn: never;
|
|
1166
|
+
identity: undefined;
|
|
1167
|
+
generated: undefined;
|
|
1168
|
+
}, {}, {}>;
|
|
1169
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
1170
|
+
name: "created_at";
|
|
1171
|
+
tableName: "pipeline_runner_deploys";
|
|
1172
|
+
dataType: "date";
|
|
1173
|
+
columnType: "PgTimestamp";
|
|
1174
|
+
data: Date;
|
|
1175
|
+
driverParam: string;
|
|
1176
|
+
notNull: true;
|
|
1177
|
+
hasDefault: true;
|
|
1178
|
+
isPrimaryKey: false;
|
|
1179
|
+
isAutoincrement: false;
|
|
1180
|
+
hasRuntimeDefault: false;
|
|
1181
|
+
enumValues: undefined;
|
|
1182
|
+
baseColumn: never;
|
|
1183
|
+
identity: undefined;
|
|
1184
|
+
generated: undefined;
|
|
1185
|
+
}, {}, {}>;
|
|
1186
|
+
};
|
|
1187
|
+
dialect: 'pg';
|
|
1188
|
+
}>;
|
|
641
1189
|
/**
|
|
642
1190
|
* The runner-link VIEW of `pipeline_registry`: the same table, mapped with only
|
|
643
1191
|
* the columns runner routing reads plus the link columns:
|
|
@@ -1487,6 +2035,8 @@ export declare const pipelineRunnerPlatformSettings: import("drizzle-orm/pg-core
|
|
|
1487
2035
|
};
|
|
1488
2036
|
dialect: 'pg';
|
|
1489
2037
|
}>;
|
|
2038
|
+
export type PipelineRunnerDeployRow = typeof pipelineRunnerDeploy.$inferSelect;
|
|
2039
|
+
export type PipelineRunnerDeployInsert = typeof pipelineRunnerDeploy.$inferInsert;
|
|
1490
2040
|
export type PipelineRunnerSigningKeyRow = typeof pipelineRunnerSigningKey.$inferSelect;
|
|
1491
2041
|
export type PipelineRunnerSigningKeyInsert = typeof pipelineRunnerSigningKey.$inferInsert;
|
|
1492
2042
|
export type PipelineRunnerKeySettingsRow = typeof pipelineRunnerKeySettings.$inferSelect;
|