@cat-factory/node-server 0.6.0 → 0.7.3
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/LICENSE +21 -21
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +53 -2
- package/dist/config.js.map +1 -1
- package/dist/container.d.ts +10 -1
- package/dist/container.d.ts.map +1 -1
- package/dist/container.js +133 -26
- package/dist/container.js.map +1 -1
- package/dist/db/schema.d.ts +362 -18
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +55 -14
- package/dist/db/schema.js.map +1 -1
- package/dist/execution/config.d.ts +0 -2
- package/dist/execution/config.d.ts.map +1 -1
- package/dist/execution/config.js +1 -2
- package/dist/execution/config.js.map +1 -1
- package/dist/execution/pgBossRunner.d.ts +0 -11
- package/dist/execution/pgBossRunner.d.ts.map +1 -1
- package/dist/execution/pgBossRunner.js +5 -45
- package/dist/execution/pgBossRunner.js.map +1 -1
- package/dist/notifications.d.ts +11 -0
- package/dist/notifications.d.ts.map +1 -0
- package/dist/notifications.js +32 -0
- package/dist/notifications.js.map +1 -0
- package/dist/repositories/drizzle.d.ts +35 -13
- package/dist/repositories/drizzle.d.ts.map +1 -1
- package/dist/repositories/drizzle.js +177 -46
- package/dist/repositories/drizzle.js.map +1 -1
- package/dist/repositories/notifications.d.ts.map +1 -1
- package/dist/repositories/notifications.js +3 -0
- package/dist/repositories/notifications.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +8 -5
- package/dist/server.js.map +1 -1
- package/drizzle/20260624145108_volatile_the_renegades/migration.sql +4 -0
- package/drizzle/20260624145108_volatile_the_renegades/snapshot.json +9178 -0
- package/package.json +19 -14
- package/dist/tasks/JiraProvider.d.ts +0 -27
- package/dist/tasks/JiraProvider.d.ts.map +0 -1
- package/dist/tasks/JiraProvider.js +0 -79
- package/dist/tasks/JiraProvider.js.map +0 -1
package/dist/db/schema.d.ts
CHANGED
|
@@ -1191,6 +1191,66 @@ export declare const blocks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
1191
1191
|
identity: undefined;
|
|
1192
1192
|
generated: undefined;
|
|
1193
1193
|
}>;
|
|
1194
|
+
task_type: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1195
|
+
name: string;
|
|
1196
|
+
tableName: "blocks";
|
|
1197
|
+
dataType: "string";
|
|
1198
|
+
data: string;
|
|
1199
|
+
driverParam: string;
|
|
1200
|
+
notNull: false;
|
|
1201
|
+
hasDefault: false;
|
|
1202
|
+
isPrimaryKey: false;
|
|
1203
|
+
isAutoincrement: false;
|
|
1204
|
+
hasRuntimeDefault: false;
|
|
1205
|
+
enumValues: undefined;
|
|
1206
|
+
identity: undefined;
|
|
1207
|
+
generated: undefined;
|
|
1208
|
+
}>;
|
|
1209
|
+
task_type_fields: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1210
|
+
name: string;
|
|
1211
|
+
tableName: "blocks";
|
|
1212
|
+
dataType: "string";
|
|
1213
|
+
data: string;
|
|
1214
|
+
driverParam: string;
|
|
1215
|
+
notNull: false;
|
|
1216
|
+
hasDefault: false;
|
|
1217
|
+
isPrimaryKey: false;
|
|
1218
|
+
isAutoincrement: false;
|
|
1219
|
+
hasRuntimeDefault: false;
|
|
1220
|
+
enumValues: undefined;
|
|
1221
|
+
identity: undefined;
|
|
1222
|
+
generated: undefined;
|
|
1223
|
+
}>;
|
|
1224
|
+
tracker_comment_on_pr_open: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1225
|
+
name: string;
|
|
1226
|
+
tableName: "blocks";
|
|
1227
|
+
dataType: "string";
|
|
1228
|
+
data: string;
|
|
1229
|
+
driverParam: string;
|
|
1230
|
+
notNull: false;
|
|
1231
|
+
hasDefault: false;
|
|
1232
|
+
isPrimaryKey: false;
|
|
1233
|
+
isAutoincrement: false;
|
|
1234
|
+
hasRuntimeDefault: false;
|
|
1235
|
+
enumValues: undefined;
|
|
1236
|
+
identity: undefined;
|
|
1237
|
+
generated: undefined;
|
|
1238
|
+
}>;
|
|
1239
|
+
tracker_resolve_on_merge: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1240
|
+
name: string;
|
|
1241
|
+
tableName: "blocks";
|
|
1242
|
+
dataType: "string";
|
|
1243
|
+
data: string;
|
|
1244
|
+
driverParam: string;
|
|
1245
|
+
notNull: false;
|
|
1246
|
+
hasDefault: false;
|
|
1247
|
+
isPrimaryKey: false;
|
|
1248
|
+
isAutoincrement: false;
|
|
1249
|
+
hasRuntimeDefault: false;
|
|
1250
|
+
enumValues: undefined;
|
|
1251
|
+
identity: undefined;
|
|
1252
|
+
generated: undefined;
|
|
1253
|
+
}>;
|
|
1194
1254
|
};
|
|
1195
1255
|
dialect: 'pg';
|
|
1196
1256
|
}>;
|
|
@@ -1557,6 +1617,51 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
1557
1617
|
identity: undefined;
|
|
1558
1618
|
generated: undefined;
|
|
1559
1619
|
}>;
|
|
1620
|
+
gating: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1621
|
+
name: string;
|
|
1622
|
+
tableName: "pipelines";
|
|
1623
|
+
dataType: "string";
|
|
1624
|
+
data: string;
|
|
1625
|
+
driverParam: string;
|
|
1626
|
+
notNull: false;
|
|
1627
|
+
hasDefault: false;
|
|
1628
|
+
isPrimaryKey: false;
|
|
1629
|
+
isAutoincrement: false;
|
|
1630
|
+
hasRuntimeDefault: false;
|
|
1631
|
+
enumValues: undefined;
|
|
1632
|
+
identity: undefined;
|
|
1633
|
+
generated: undefined;
|
|
1634
|
+
}>;
|
|
1635
|
+
labels: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1636
|
+
name: string;
|
|
1637
|
+
tableName: "pipelines";
|
|
1638
|
+
dataType: "string";
|
|
1639
|
+
data: string;
|
|
1640
|
+
driverParam: string;
|
|
1641
|
+
notNull: false;
|
|
1642
|
+
hasDefault: false;
|
|
1643
|
+
isPrimaryKey: false;
|
|
1644
|
+
isAutoincrement: false;
|
|
1645
|
+
hasRuntimeDefault: false;
|
|
1646
|
+
enumValues: undefined;
|
|
1647
|
+
identity: undefined;
|
|
1648
|
+
generated: undefined;
|
|
1649
|
+
}>;
|
|
1650
|
+
archived: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").PgIntegerBuilder, {
|
|
1651
|
+
name: string;
|
|
1652
|
+
tableName: "pipelines";
|
|
1653
|
+
dataType: "number int32";
|
|
1654
|
+
data: number;
|
|
1655
|
+
driverParam: string | number;
|
|
1656
|
+
notNull: false;
|
|
1657
|
+
hasDefault: false;
|
|
1658
|
+
isPrimaryKey: false;
|
|
1659
|
+
isAutoincrement: false;
|
|
1660
|
+
hasRuntimeDefault: false;
|
|
1661
|
+
enumValues: undefined;
|
|
1662
|
+
identity: undefined;
|
|
1663
|
+
generated: undefined;
|
|
1664
|
+
}>;
|
|
1560
1665
|
seq: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgSerialBuilder>, {
|
|
1561
1666
|
name: string;
|
|
1562
1667
|
tableName: "pipelines";
|
|
@@ -3913,6 +4018,36 @@ export declare const trackerSettings: import("drizzle-orm/pg-core").PgTableWithC
|
|
|
3913
4018
|
identity: undefined;
|
|
3914
4019
|
generated: undefined;
|
|
3915
4020
|
}>;
|
|
4021
|
+
writeback_comment_on_pr_open: import("drizzle-orm/pg-core").PgBuildColumn<"tracker_settings", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
|
|
4022
|
+
name: string;
|
|
4023
|
+
tableName: "tracker_settings";
|
|
4024
|
+
dataType: "number int32";
|
|
4025
|
+
data: number;
|
|
4026
|
+
driverParam: string | number;
|
|
4027
|
+
notNull: true;
|
|
4028
|
+
hasDefault: true;
|
|
4029
|
+
isPrimaryKey: false;
|
|
4030
|
+
isAutoincrement: false;
|
|
4031
|
+
hasRuntimeDefault: false;
|
|
4032
|
+
enumValues: undefined;
|
|
4033
|
+
identity: undefined;
|
|
4034
|
+
generated: undefined;
|
|
4035
|
+
}>;
|
|
4036
|
+
writeback_resolve_on_merge: import("drizzle-orm/pg-core").PgBuildColumn<"tracker_settings", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
|
|
4037
|
+
name: string;
|
|
4038
|
+
tableName: "tracker_settings";
|
|
4039
|
+
dataType: "number int32";
|
|
4040
|
+
data: number;
|
|
4041
|
+
driverParam: string | number;
|
|
4042
|
+
notNull: true;
|
|
4043
|
+
hasDefault: true;
|
|
4044
|
+
isPrimaryKey: false;
|
|
4045
|
+
isAutoincrement: false;
|
|
4046
|
+
hasRuntimeDefault: false;
|
|
4047
|
+
enumValues: undefined;
|
|
4048
|
+
identity: undefined;
|
|
4049
|
+
generated: undefined;
|
|
4050
|
+
}>;
|
|
3916
4051
|
updated_at: import("drizzle-orm/pg-core").PgBuildColumn<"tracker_settings", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
3917
4052
|
name: string;
|
|
3918
4053
|
tableName: "tracker_settings";
|
|
@@ -4541,6 +4676,21 @@ export declare const notifications: import("drizzle-orm/pg-core").PgTableWithCol
|
|
|
4541
4676
|
identity: undefined;
|
|
4542
4677
|
generated: undefined;
|
|
4543
4678
|
}>;
|
|
4679
|
+
severity: import("drizzle-orm/pg-core").PgBuildColumn<"notifications", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
4680
|
+
name: string;
|
|
4681
|
+
tableName: "notifications";
|
|
4682
|
+
dataType: "string";
|
|
4683
|
+
data: string;
|
|
4684
|
+
driverParam: string;
|
|
4685
|
+
notNull: false;
|
|
4686
|
+
hasDefault: false;
|
|
4687
|
+
isPrimaryKey: false;
|
|
4688
|
+
isAutoincrement: false;
|
|
4689
|
+
hasRuntimeDefault: false;
|
|
4690
|
+
enumValues: undefined;
|
|
4691
|
+
identity: undefined;
|
|
4692
|
+
generated: undefined;
|
|
4693
|
+
}>;
|
|
4544
4694
|
created_at: import("drizzle-orm/pg-core").PgBuildColumn<"notifications", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
4545
4695
|
name: string;
|
|
4546
4696
|
tableName: "notifications";
|
|
@@ -4574,6 +4724,88 @@ export declare const notifications: import("drizzle-orm/pg-core").PgTableWithCol
|
|
|
4574
4724
|
};
|
|
4575
4725
|
dialect: 'pg';
|
|
4576
4726
|
}>;
|
|
4727
|
+
export declare const workspaceSettings: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4728
|
+
name: "workspace_settings";
|
|
4729
|
+
schema: undefined;
|
|
4730
|
+
columns: {
|
|
4731
|
+
workspace_id: import("drizzle-orm/pg-core").PgBuildColumn<"workspace_settings", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, {
|
|
4732
|
+
name: string;
|
|
4733
|
+
tableName: "workspace_settings";
|
|
4734
|
+
dataType: "string";
|
|
4735
|
+
data: string;
|
|
4736
|
+
driverParam: string;
|
|
4737
|
+
notNull: true;
|
|
4738
|
+
hasDefault: false;
|
|
4739
|
+
isPrimaryKey: false;
|
|
4740
|
+
isAutoincrement: false;
|
|
4741
|
+
hasRuntimeDefault: false;
|
|
4742
|
+
enumValues: undefined;
|
|
4743
|
+
identity: undefined;
|
|
4744
|
+
generated: undefined;
|
|
4745
|
+
}>;
|
|
4746
|
+
waiting_escalation_minutes: import("drizzle-orm/pg-core").PgBuildColumn<"workspace_settings", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
|
|
4747
|
+
name: string;
|
|
4748
|
+
tableName: "workspace_settings";
|
|
4749
|
+
dataType: "number int32";
|
|
4750
|
+
data: number;
|
|
4751
|
+
driverParam: string | number;
|
|
4752
|
+
notNull: true;
|
|
4753
|
+
hasDefault: true;
|
|
4754
|
+
isPrimaryKey: false;
|
|
4755
|
+
isAutoincrement: false;
|
|
4756
|
+
hasRuntimeDefault: false;
|
|
4757
|
+
enumValues: undefined;
|
|
4758
|
+
identity: undefined;
|
|
4759
|
+
generated: undefined;
|
|
4760
|
+
}>;
|
|
4761
|
+
task_limit_mode: import("drizzle-orm/pg-core").PgBuildColumn<"workspace_settings", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, {
|
|
4762
|
+
name: string;
|
|
4763
|
+
tableName: "workspace_settings";
|
|
4764
|
+
dataType: "string";
|
|
4765
|
+
data: string;
|
|
4766
|
+
driverParam: string;
|
|
4767
|
+
notNull: true;
|
|
4768
|
+
hasDefault: true;
|
|
4769
|
+
isPrimaryKey: false;
|
|
4770
|
+
isAutoincrement: false;
|
|
4771
|
+
hasRuntimeDefault: false;
|
|
4772
|
+
enumValues: undefined;
|
|
4773
|
+
identity: undefined;
|
|
4774
|
+
generated: undefined;
|
|
4775
|
+
}>;
|
|
4776
|
+
task_limit_shared: import("drizzle-orm/pg-core").PgBuildColumn<"workspace_settings", import("drizzle-orm/pg-core").PgIntegerBuilder, {
|
|
4777
|
+
name: string;
|
|
4778
|
+
tableName: "workspace_settings";
|
|
4779
|
+
dataType: "number int32";
|
|
4780
|
+
data: number;
|
|
4781
|
+
driverParam: string | number;
|
|
4782
|
+
notNull: false;
|
|
4783
|
+
hasDefault: false;
|
|
4784
|
+
isPrimaryKey: false;
|
|
4785
|
+
isAutoincrement: false;
|
|
4786
|
+
hasRuntimeDefault: false;
|
|
4787
|
+
enumValues: undefined;
|
|
4788
|
+
identity: undefined;
|
|
4789
|
+
generated: undefined;
|
|
4790
|
+
}>;
|
|
4791
|
+
task_limit_per_type: import("drizzle-orm/pg-core").PgBuildColumn<"workspace_settings", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
4792
|
+
name: string;
|
|
4793
|
+
tableName: "workspace_settings";
|
|
4794
|
+
dataType: "string";
|
|
4795
|
+
data: string;
|
|
4796
|
+
driverParam: string;
|
|
4797
|
+
notNull: false;
|
|
4798
|
+
hasDefault: false;
|
|
4799
|
+
isPrimaryKey: false;
|
|
4800
|
+
isAutoincrement: false;
|
|
4801
|
+
hasRuntimeDefault: false;
|
|
4802
|
+
enumValues: undefined;
|
|
4803
|
+
identity: undefined;
|
|
4804
|
+
generated: undefined;
|
|
4805
|
+
}>;
|
|
4806
|
+
};
|
|
4807
|
+
dialect: 'pg';
|
|
4808
|
+
}>;
|
|
4577
4809
|
export declare const mergeThresholdPresets: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4578
4810
|
name: "merge_threshold_presets";
|
|
4579
4811
|
schema: undefined;
|
|
@@ -4713,6 +4945,36 @@ export declare const mergeThresholdPresets: import("drizzle-orm/pg-core").PgTabl
|
|
|
4713
4945
|
identity: undefined;
|
|
4714
4946
|
generated: undefined;
|
|
4715
4947
|
}>;
|
|
4948
|
+
release_watch_window_minutes: import("drizzle-orm/pg-core").PgBuildColumn<"merge_threshold_presets", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
|
|
4949
|
+
name: string;
|
|
4950
|
+
tableName: "merge_threshold_presets";
|
|
4951
|
+
dataType: "number int32";
|
|
4952
|
+
data: number;
|
|
4953
|
+
driverParam: string | number;
|
|
4954
|
+
notNull: true;
|
|
4955
|
+
hasDefault: true;
|
|
4956
|
+
isPrimaryKey: false;
|
|
4957
|
+
isAutoincrement: false;
|
|
4958
|
+
hasRuntimeDefault: false;
|
|
4959
|
+
enumValues: undefined;
|
|
4960
|
+
identity: undefined;
|
|
4961
|
+
generated: undefined;
|
|
4962
|
+
}>;
|
|
4963
|
+
release_max_attempts: import("drizzle-orm/pg-core").PgBuildColumn<"merge_threshold_presets", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
|
|
4964
|
+
name: string;
|
|
4965
|
+
tableName: "merge_threshold_presets";
|
|
4966
|
+
dataType: "number int32";
|
|
4967
|
+
data: number;
|
|
4968
|
+
driverParam: string | number;
|
|
4969
|
+
notNull: true;
|
|
4970
|
+
hasDefault: true;
|
|
4971
|
+
isPrimaryKey: false;
|
|
4972
|
+
isAutoincrement: false;
|
|
4973
|
+
hasRuntimeDefault: false;
|
|
4974
|
+
enumValues: undefined;
|
|
4975
|
+
identity: undefined;
|
|
4976
|
+
generated: undefined;
|
|
4977
|
+
}>;
|
|
4716
4978
|
is_default: import("drizzle-orm/pg-core").PgBuildColumn<"merge_threshold_presets", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
|
|
4717
4979
|
name: string;
|
|
4718
4980
|
tableName: "merge_threshold_presets";
|
|
@@ -4746,13 +5008,13 @@ export declare const mergeThresholdPresets: import("drizzle-orm/pg-core").PgTabl
|
|
|
4746
5008
|
};
|
|
4747
5009
|
dialect: 'pg';
|
|
4748
5010
|
}>;
|
|
4749
|
-
export declare const
|
|
4750
|
-
name: "
|
|
5011
|
+
export declare const datadogConnections: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
5012
|
+
name: "datadog_connections";
|
|
4751
5013
|
schema: undefined;
|
|
4752
5014
|
columns: {
|
|
4753
|
-
|
|
5015
|
+
workspace_id: import("drizzle-orm/pg-core").PgBuildColumn<"datadog_connections", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
4754
5016
|
name: string;
|
|
4755
|
-
tableName: "
|
|
5017
|
+
tableName: "datadog_connections";
|
|
4756
5018
|
dataType: "string";
|
|
4757
5019
|
data: string;
|
|
4758
5020
|
driverParam: string;
|
|
@@ -4765,9 +5027,9 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4765
5027
|
identity: undefined;
|
|
4766
5028
|
generated: undefined;
|
|
4767
5029
|
}>;
|
|
4768
|
-
|
|
5030
|
+
site: import("drizzle-orm/pg-core").PgBuildColumn<"datadog_connections", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
4769
5031
|
name: string;
|
|
4770
|
-
tableName: "
|
|
5032
|
+
tableName: "datadog_connections";
|
|
4771
5033
|
dataType: "string";
|
|
4772
5034
|
data: string;
|
|
4773
5035
|
driverParam: string;
|
|
@@ -4780,9 +5042,9 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4780
5042
|
identity: undefined;
|
|
4781
5043
|
generated: undefined;
|
|
4782
5044
|
}>;
|
|
4783
|
-
|
|
5045
|
+
api_key: import("drizzle-orm/pg-core").PgBuildColumn<"datadog_connections", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
4784
5046
|
name: string;
|
|
4785
|
-
tableName: "
|
|
5047
|
+
tableName: "datadog_connections";
|
|
4786
5048
|
dataType: "string";
|
|
4787
5049
|
data: string;
|
|
4788
5050
|
driverParam: string;
|
|
@@ -4795,9 +5057,9 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4795
5057
|
identity: undefined;
|
|
4796
5058
|
generated: undefined;
|
|
4797
5059
|
}>;
|
|
4798
|
-
|
|
5060
|
+
app_key: import("drizzle-orm/pg-core").PgBuildColumn<"datadog_connections", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
4799
5061
|
name: string;
|
|
4800
|
-
tableName: "
|
|
5062
|
+
tableName: "datadog_connections";
|
|
4801
5063
|
dataType: "string";
|
|
4802
5064
|
data: string;
|
|
4803
5065
|
driverParam: string;
|
|
@@ -4810,9 +5072,46 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4810
5072
|
identity: undefined;
|
|
4811
5073
|
generated: undefined;
|
|
4812
5074
|
}>;
|
|
4813
|
-
|
|
5075
|
+
created_at: import("drizzle-orm/pg-core").PgBuildColumn<"datadog_connections", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
5076
|
+
name: string;
|
|
5077
|
+
tableName: "datadog_connections";
|
|
5078
|
+
dataType: "number int53";
|
|
5079
|
+
data: number;
|
|
5080
|
+
driverParam: string | number;
|
|
5081
|
+
notNull: true;
|
|
5082
|
+
hasDefault: false;
|
|
5083
|
+
isPrimaryKey: false;
|
|
5084
|
+
isAutoincrement: false;
|
|
5085
|
+
hasRuntimeDefault: false;
|
|
5086
|
+
enumValues: undefined;
|
|
5087
|
+
identity: undefined;
|
|
5088
|
+
generated: undefined;
|
|
5089
|
+
}>;
|
|
5090
|
+
updated_at: import("drizzle-orm/pg-core").PgBuildColumn<"datadog_connections", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
4814
5091
|
name: string;
|
|
4815
|
-
tableName: "
|
|
5092
|
+
tableName: "datadog_connections";
|
|
5093
|
+
dataType: "number int53";
|
|
5094
|
+
data: number;
|
|
5095
|
+
driverParam: string | number;
|
|
5096
|
+
notNull: true;
|
|
5097
|
+
hasDefault: false;
|
|
5098
|
+
isPrimaryKey: false;
|
|
5099
|
+
isAutoincrement: false;
|
|
5100
|
+
hasRuntimeDefault: false;
|
|
5101
|
+
enumValues: undefined;
|
|
5102
|
+
identity: undefined;
|
|
5103
|
+
generated: undefined;
|
|
5104
|
+
}>;
|
|
5105
|
+
};
|
|
5106
|
+
dialect: 'pg';
|
|
5107
|
+
}>;
|
|
5108
|
+
export declare const releaseHealthConfigs: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
5109
|
+
name: "release_health_configs";
|
|
5110
|
+
schema: undefined;
|
|
5111
|
+
columns: {
|
|
5112
|
+
workspace_id: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5113
|
+
name: string;
|
|
5114
|
+
tableName: "release_health_configs";
|
|
4816
5115
|
dataType: "string";
|
|
4817
5116
|
data: string;
|
|
4818
5117
|
driverParam: string;
|
|
@@ -4825,9 +5124,9 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4825
5124
|
identity: undefined;
|
|
4826
5125
|
generated: undefined;
|
|
4827
5126
|
}>;
|
|
4828
|
-
|
|
5127
|
+
block_id: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
4829
5128
|
name: string;
|
|
4830
|
-
tableName: "
|
|
5129
|
+
tableName: "release_health_configs";
|
|
4831
5130
|
dataType: "string";
|
|
4832
5131
|
data: string;
|
|
4833
5132
|
driverParam: string;
|
|
@@ -4840,9 +5139,54 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4840
5139
|
identity: undefined;
|
|
4841
5140
|
generated: undefined;
|
|
4842
5141
|
}>;
|
|
4843
|
-
|
|
5142
|
+
monitor_ids: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, {
|
|
5143
|
+
name: string;
|
|
5144
|
+
tableName: "release_health_configs";
|
|
5145
|
+
dataType: "string";
|
|
5146
|
+
data: string;
|
|
5147
|
+
driverParam: string;
|
|
5148
|
+
notNull: true;
|
|
5149
|
+
hasDefault: true;
|
|
5150
|
+
isPrimaryKey: false;
|
|
5151
|
+
isAutoincrement: false;
|
|
5152
|
+
hasRuntimeDefault: false;
|
|
5153
|
+
enumValues: undefined;
|
|
5154
|
+
identity: undefined;
|
|
5155
|
+
generated: undefined;
|
|
5156
|
+
}>;
|
|
5157
|
+
slo_ids: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>>, {
|
|
5158
|
+
name: string;
|
|
5159
|
+
tableName: "release_health_configs";
|
|
5160
|
+
dataType: "string";
|
|
5161
|
+
data: string;
|
|
5162
|
+
driverParam: string;
|
|
5163
|
+
notNull: true;
|
|
5164
|
+
hasDefault: true;
|
|
5165
|
+
isPrimaryKey: false;
|
|
5166
|
+
isAutoincrement: false;
|
|
5167
|
+
hasRuntimeDefault: false;
|
|
5168
|
+
enumValues: undefined;
|
|
5169
|
+
identity: undefined;
|
|
5170
|
+
generated: undefined;
|
|
5171
|
+
}>;
|
|
5172
|
+
env_tag: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
5173
|
+
name: string;
|
|
5174
|
+
tableName: "release_health_configs";
|
|
5175
|
+
dataType: "string";
|
|
5176
|
+
data: string;
|
|
5177
|
+
driverParam: string;
|
|
5178
|
+
notNull: false;
|
|
5179
|
+
hasDefault: false;
|
|
5180
|
+
isPrimaryKey: false;
|
|
5181
|
+
isAutoincrement: false;
|
|
5182
|
+
hasRuntimeDefault: false;
|
|
5183
|
+
enumValues: undefined;
|
|
5184
|
+
identity: undefined;
|
|
5185
|
+
generated: undefined;
|
|
5186
|
+
}>;
|
|
5187
|
+
created_at: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
4844
5188
|
name: string;
|
|
4845
|
-
tableName: "
|
|
5189
|
+
tableName: "release_health_configs";
|
|
4846
5190
|
dataType: "number int53";
|
|
4847
5191
|
data: number;
|
|
4848
5192
|
driverParam: string | number;
|
|
@@ -4855,9 +5199,9 @@ export declare const repoBlueprints: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
4855
5199
|
identity: undefined;
|
|
4856
5200
|
generated: undefined;
|
|
4857
5201
|
}>;
|
|
4858
|
-
updated_at: import("drizzle-orm/pg-core").PgBuildColumn<"
|
|
5202
|
+
updated_at: import("drizzle-orm/pg-core").PgBuildColumn<"release_health_configs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
4859
5203
|
name: string;
|
|
4860
|
-
tableName: "
|
|
5204
|
+
tableName: "release_health_configs";
|
|
4861
5205
|
dataType: "number int53";
|
|
4862
5206
|
data: number;
|
|
4863
5207
|
driverParam: string | number;
|
package/dist/db/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/db/schema.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAA;AAGD,eAAO,MAAM,K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AAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB3B,CAAA;AAID,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW7B,CAAA"}
|
package/dist/db/schema.js
CHANGED
|
@@ -143,6 +143,14 @@ export const blocks = pgTable('blocks', {
|
|
|
143
143
|
// Task-level: the task-estimator's triage (complexity/risk/impact + rationale) as
|
|
144
144
|
// JSON; persisted on the block for gating consensus steps + UI ratings.
|
|
145
145
|
estimate: text('estimate'),
|
|
146
|
+
// Task-level: the kind of work (feature/bug/document/spike/recurring); absent ⇒ feature.
|
|
147
|
+
task_type: text('task_type'),
|
|
148
|
+
// Task-level: small per-type form fields (bug severity, spike timebox…) as JSON.
|
|
149
|
+
task_type_fields: text('task_type_fields'),
|
|
150
|
+
// Task-level: per-task issue-tracker writeback overrides ('on'/'off'; null ⇒ inherit
|
|
151
|
+
// the workspace's writeback_* settings). Comment-on-PR-open and resolve-on-merge.
|
|
152
|
+
tracker_comment_on_pr_open: text('tracker_comment_on_pr_open'),
|
|
153
|
+
tracker_resolve_on_merge: text('tracker_resolve_on_merge'),
|
|
146
154
|
}, (t) => [
|
|
147
155
|
primaryKey({ columns: [t.workspace_id, t.id] }),
|
|
148
156
|
index('idx_blocks_parent').on(t.workspace_id, t.parent_id),
|
|
@@ -201,6 +209,13 @@ export const pipelines = pgTable('pipelines', {
|
|
|
201
209
|
// Nullable JSON array of per-step consensus configs, parallel to agent_kinds (set in
|
|
202
210
|
// the pipeline builder for steps whose kind carries a consensus capability trait).
|
|
203
211
|
consensus: text('consensus'),
|
|
212
|
+
// Nullable JSON array of per-step StepGating, parallel to agent_kinds: an enabled entry
|
|
213
|
+
// makes the step run only when the task estimate meets the threshold (mirror of D1 0003).
|
|
214
|
+
gating: text('gating'),
|
|
215
|
+
// Nullable JSON array of free-form organizational labels; `archived` (truthy) hides the
|
|
216
|
+
// pipeline from the default library view (mirror of D1 0003).
|
|
217
|
+
labels: text('labels'),
|
|
218
|
+
archived: integer('archived'),
|
|
204
219
|
// Monotonic insert sequence (Postgres has no SQLite rowid): a workspace's pipelines
|
|
205
220
|
// are read back in the order they were seeded — the curated `seedPipelines()` order
|
|
206
221
|
// — so the catalog order (and the UI's default `pipelines[0]`) is deterministic and
|
|
@@ -468,6 +483,10 @@ export const trackerSettings = pgTable('tracker_settings', {
|
|
|
468
483
|
workspace_id: text('workspace_id').primaryKey(),
|
|
469
484
|
tracker: text('tracker'),
|
|
470
485
|
jira_project_key: text('jira_project_key'),
|
|
486
|
+
// Issue-tracker writeback toggles (0/1): comment on a task's linked issue when its
|
|
487
|
+
// PR opens, and comment + close as resolved when it merges. Per-task overridable.
|
|
488
|
+
writeback_comment_on_pr_open: integer('writeback_comment_on_pr_open').notNull().default(0),
|
|
489
|
+
writeback_resolve_on_merge: integer('writeback_resolve_on_merge').notNull().default(0),
|
|
471
490
|
updated_at: bigint('updated_at', { mode: 'number' }).notNull(),
|
|
472
491
|
});
|
|
473
492
|
// Task-source integration (mirror of D1 migration 0014): a workspace's connections
|
|
@@ -539,6 +558,8 @@ export const notifications = pgTable('notifications', {
|
|
|
539
558
|
title: text('title').notNull(),
|
|
540
559
|
body: text('body').notNull(),
|
|
541
560
|
payload: text('payload'),
|
|
561
|
+
// Render severity: 'normal' (yellow) or 'urgent' (red, escalated by the sweep). NULL = normal.
|
|
562
|
+
severity: text('severity'),
|
|
542
563
|
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
543
564
|
resolved_at: bigint('resolved_at', { mode: 'number' }),
|
|
544
565
|
}, (t) => [
|
|
@@ -546,6 +567,19 @@ export const notifications = pgTable('notifications', {
|
|
|
546
567
|
index('idx_notifications_open').on(t.workspace_id, t.status, t.created_at),
|
|
547
568
|
index('idx_notifications_block').on(t.workspace_id, t.block_id, t.type, t.status),
|
|
548
569
|
]);
|
|
570
|
+
// Per-workspace runtime settings (mirror of D1 migration 0004's `workspace_settings`):
|
|
571
|
+
// the human-wait escalation threshold + the per-service running-task limit policy. One
|
|
572
|
+
// row per workspace; the service lazily seeds DEFAULT_WORKSPACE_SETTINGS on first read.
|
|
573
|
+
export const workspaceSettings = pgTable('workspace_settings', {
|
|
574
|
+
workspace_id: text('workspace_id').notNull().primaryKey(),
|
|
575
|
+
waiting_escalation_minutes: integer('waiting_escalation_minutes').notNull().default(120),
|
|
576
|
+
// 'off' | 'shared' | 'per_type'
|
|
577
|
+
task_limit_mode: text('task_limit_mode').notNull().default('off'),
|
|
578
|
+
// The shared cap when task_limit_mode = 'shared'; null otherwise.
|
|
579
|
+
task_limit_shared: integer('task_limit_shared'),
|
|
580
|
+
// JSON object of per-type caps when task_limit_mode = 'per_type'; null otherwise.
|
|
581
|
+
task_limit_per_type: text('task_limit_per_type'),
|
|
582
|
+
});
|
|
549
583
|
// Per-workspace merge threshold presets (mirror of D1 migration 0024's
|
|
550
584
|
// `merge_threshold_presets`). A task selects one via `blocks.merge_preset_id`; none →
|
|
551
585
|
// the workspace default (`is_default`, exactly one per workspace — the repository
|
|
@@ -563,6 +597,8 @@ export const mergeThresholdPresets = pgTable('merge_threshold_presets', {
|
|
|
563
597
|
max_requirement_concern_allowed: text('max_requirement_concern_allowed')
|
|
564
598
|
.notNull()
|
|
565
599
|
.default('none'),
|
|
600
|
+
release_watch_window_minutes: integer('release_watch_window_minutes').notNull().default(30),
|
|
601
|
+
release_max_attempts: integer('release_max_attempts').notNull().default(1),
|
|
566
602
|
is_default: integer('is_default').notNull().default(0),
|
|
567
603
|
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
568
604
|
}, (t) => [
|
|
@@ -570,23 +606,28 @@ export const mergeThresholdPresets = pgTable('merge_threshold_presets', {
|
|
|
570
606
|
// Fast lookup of a workspace's default preset (mirrors idx_merge_presets_default).
|
|
571
607
|
index('idx_merge_presets_default').on(t.workspace_id, t.is_default),
|
|
572
608
|
]);
|
|
573
|
-
//
|
|
574
|
-
//
|
|
575
|
-
//
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
609
|
+
// Post-release-health gate (Datadog). One connection per workspace (mirror of D1
|
|
610
|
+
// migration 0003's `datadog_connections`). `api_key`/`app_key` are sealed at rest by
|
|
611
|
+
// the facade's SecretCipher (domain tag 'cat-factory:datadog'); plaintext only in memory.
|
|
612
|
+
export const datadogConnections = pgTable('datadog_connections', {
|
|
613
|
+
workspace_id: text('workspace_id').primaryKey(),
|
|
614
|
+
site: text('site').notNull(),
|
|
615
|
+
api_key: text('api_key').notNull(),
|
|
616
|
+
app_key: text('app_key').notNull(),
|
|
617
|
+
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
618
|
+
updated_at: bigint('updated_at', { mode: 'number' }).notNull(),
|
|
619
|
+
});
|
|
620
|
+
// Per-block (service frame) monitor/SLO mapping the gate reads (mirror of D1
|
|
621
|
+
// `release_health_configs`). `monitor_ids`/`slo_ids` are JSON arrays as `text`.
|
|
622
|
+
export const releaseHealthConfigs = pgTable('release_health_configs', {
|
|
579
623
|
workspace_id: text('workspace_id').notNull(),
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
624
|
+
block_id: text('block_id').notNull(),
|
|
625
|
+
monitor_ids: text('monitor_ids').notNull().default('[]'),
|
|
626
|
+
slo_ids: text('slo_ids').notNull().default('[]'),
|
|
627
|
+
env_tag: text('env_tag'),
|
|
584
628
|
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
585
629
|
updated_at: bigint('updated_at', { mode: 'number' }).notNull(),
|
|
586
|
-
}, (t) => [
|
|
587
|
-
uniqueIndex('idx_repo_blueprints_repo').on(t.workspace_id, t.repo_owner, t.repo_name),
|
|
588
|
-
index('idx_repo_blueprints_workspace').on(t.workspace_id, t.updated_at),
|
|
589
|
-
]);
|
|
630
|
+
}, (t) => [primaryKey({ columns: [t.workspace_id, t.block_id] })]);
|
|
590
631
|
// Document-source integration (mirror of D1 migration 0012). A `source`
|
|
591
632
|
// discriminator tags every row so one pair of tables serves every provider. The
|
|
592
633
|
// credential bag is encrypted at rest (a WebCryptoSecretCipher envelope), never sent
|