@cat-factory/node-server 0.62.2 → 0.64.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/dist/container.d.ts.map +1 -1
- package/dist/container.js +27 -1
- package/dist/container.js.map +1 -1
- package/dist/db/schema.d.ts +314 -0
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +48 -0
- package/dist/db/schema.js.map +1 -1
- package/dist/realtime.d.ts +2 -1
- package/dist/realtime.d.ts.map +1 -1
- package/dist/realtime.js +3 -0
- package/dist/realtime.js.map +1 -1
- package/dist/repositories/drizzle.d.ts +19 -1
- package/dist/repositories/drizzle.d.ts.map +1 -1
- package/dist/repositories/drizzle.js +91 -2
- package/dist/repositories/drizzle.js.map +1 -1
- package/dist/repositories/publicApiKey.d.ts +12 -0
- package/dist/repositories/publicApiKey.d.ts.map +1 -0
- package/dist/repositories/publicApiKey.js +55 -0
- package/dist/repositories/publicApiKey.js.map +1 -0
- package/drizzle/20260702152955_purple_rattler/migration.sql +14 -0
- package/drizzle/20260702152955_purple_rattler/snapshot.json +13519 -0
- package/drizzle/20260703042724_nappy_hellcat/migration.sql +17 -0
- package/drizzle/20260703042724_nappy_hellcat/snapshot.json +13602 -0
- package/drizzle/20260703105014_amusing_shiva/migration.sql +1 -0
- package/drizzle/20260703105014_amusing_shiva/snapshot.json +13712 -0
- package/package.json +17 -17
package/dist/db/schema.d.ts
CHANGED
|
@@ -1213,6 +1213,21 @@ export declare const blocks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
1213
1213
|
identity: undefined;
|
|
1214
1214
|
generated: undefined;
|
|
1215
1215
|
}>;
|
|
1216
|
+
initiative_id: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
|
|
1217
|
+
name: string;
|
|
1218
|
+
tableName: "blocks";
|
|
1219
|
+
dataType: "string";
|
|
1220
|
+
data: string;
|
|
1221
|
+
driverParam: string;
|
|
1222
|
+
notNull: false;
|
|
1223
|
+
hasDefault: false;
|
|
1224
|
+
isPrimaryKey: false;
|
|
1225
|
+
isAutoincrement: false;
|
|
1226
|
+
hasRuntimeDefault: false;
|
|
1227
|
+
enumValues: undefined;
|
|
1228
|
+
identity: undefined;
|
|
1229
|
+
generated: undefined;
|
|
1230
|
+
}>;
|
|
1216
1231
|
auto_start_dependents: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgIntegerBuilder, {
|
|
1217
1232
|
name: string;
|
|
1218
1233
|
tableName: "blocks";
|
|
@@ -1603,6 +1618,21 @@ export declare const blocks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
1603
1618
|
identity: undefined;
|
|
1604
1619
|
generated: undefined;
|
|
1605
1620
|
}>;
|
|
1621
|
+
internal: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").PgIntegerBuilder, {
|
|
1622
|
+
name: string;
|
|
1623
|
+
tableName: "blocks";
|
|
1624
|
+
dataType: "number int32";
|
|
1625
|
+
data: number;
|
|
1626
|
+
driverParam: string | number;
|
|
1627
|
+
notNull: false;
|
|
1628
|
+
hasDefault: false;
|
|
1629
|
+
isPrimaryKey: false;
|
|
1630
|
+
isAutoincrement: false;
|
|
1631
|
+
hasRuntimeDefault: false;
|
|
1632
|
+
enumValues: undefined;
|
|
1633
|
+
identity: undefined;
|
|
1634
|
+
generated: undefined;
|
|
1635
|
+
}>;
|
|
1606
1636
|
seq: import("drizzle-orm/pg-core").PgBuildColumn<"blocks", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgSerialBuilder>, {
|
|
1607
1637
|
name: string;
|
|
1608
1638
|
tableName: "blocks";
|
|
@@ -2074,6 +2104,21 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
2074
2104
|
identity: undefined;
|
|
2075
2105
|
generated: undefined;
|
|
2076
2106
|
}>;
|
|
2107
|
+
public: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").PgIntegerBuilder, {
|
|
2108
|
+
name: string;
|
|
2109
|
+
tableName: "pipelines";
|
|
2110
|
+
dataType: "number int32";
|
|
2111
|
+
data: number;
|
|
2112
|
+
driverParam: string | number;
|
|
2113
|
+
notNull: false;
|
|
2114
|
+
hasDefault: false;
|
|
2115
|
+
isPrimaryKey: false;
|
|
2116
|
+
isAutoincrement: false;
|
|
2117
|
+
hasRuntimeDefault: false;
|
|
2118
|
+
enumValues: undefined;
|
|
2119
|
+
identity: undefined;
|
|
2120
|
+
generated: undefined;
|
|
2121
|
+
}>;
|
|
2077
2122
|
seq: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgSerialBuilder>, {
|
|
2078
2123
|
name: string;
|
|
2079
2124
|
tableName: "pipelines";
|
|
@@ -5497,6 +5542,148 @@ export declare const brainstormSessions: import("drizzle-orm/pg-core").PgTableWi
|
|
|
5497
5542
|
};
|
|
5498
5543
|
dialect: 'pg';
|
|
5499
5544
|
}>;
|
|
5545
|
+
export declare const initiatives: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
5546
|
+
name: "initiatives";
|
|
5547
|
+
schema: undefined;
|
|
5548
|
+
columns: {
|
|
5549
|
+
workspace_id: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5550
|
+
name: string;
|
|
5551
|
+
tableName: "initiatives";
|
|
5552
|
+
dataType: "string";
|
|
5553
|
+
data: string;
|
|
5554
|
+
driverParam: string;
|
|
5555
|
+
notNull: true;
|
|
5556
|
+
hasDefault: false;
|
|
5557
|
+
isPrimaryKey: false;
|
|
5558
|
+
isAutoincrement: false;
|
|
5559
|
+
hasRuntimeDefault: false;
|
|
5560
|
+
enumValues: undefined;
|
|
5561
|
+
identity: undefined;
|
|
5562
|
+
generated: undefined;
|
|
5563
|
+
}>;
|
|
5564
|
+
id: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5565
|
+
name: string;
|
|
5566
|
+
tableName: "initiatives";
|
|
5567
|
+
dataType: "string";
|
|
5568
|
+
data: string;
|
|
5569
|
+
driverParam: string;
|
|
5570
|
+
notNull: true;
|
|
5571
|
+
hasDefault: false;
|
|
5572
|
+
isPrimaryKey: false;
|
|
5573
|
+
isAutoincrement: false;
|
|
5574
|
+
hasRuntimeDefault: false;
|
|
5575
|
+
enumValues: undefined;
|
|
5576
|
+
identity: undefined;
|
|
5577
|
+
generated: undefined;
|
|
5578
|
+
}>;
|
|
5579
|
+
block_id: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5580
|
+
name: string;
|
|
5581
|
+
tableName: "initiatives";
|
|
5582
|
+
dataType: "string";
|
|
5583
|
+
data: string;
|
|
5584
|
+
driverParam: string;
|
|
5585
|
+
notNull: true;
|
|
5586
|
+
hasDefault: false;
|
|
5587
|
+
isPrimaryKey: false;
|
|
5588
|
+
isAutoincrement: false;
|
|
5589
|
+
hasRuntimeDefault: false;
|
|
5590
|
+
enumValues: undefined;
|
|
5591
|
+
identity: undefined;
|
|
5592
|
+
generated: undefined;
|
|
5593
|
+
}>;
|
|
5594
|
+
slug: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5595
|
+
name: string;
|
|
5596
|
+
tableName: "initiatives";
|
|
5597
|
+
dataType: "string";
|
|
5598
|
+
data: string;
|
|
5599
|
+
driverParam: string;
|
|
5600
|
+
notNull: true;
|
|
5601
|
+
hasDefault: false;
|
|
5602
|
+
isPrimaryKey: false;
|
|
5603
|
+
isAutoincrement: false;
|
|
5604
|
+
hasRuntimeDefault: false;
|
|
5605
|
+
enumValues: undefined;
|
|
5606
|
+
identity: undefined;
|
|
5607
|
+
generated: undefined;
|
|
5608
|
+
}>;
|
|
5609
|
+
status: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5610
|
+
name: string;
|
|
5611
|
+
tableName: "initiatives";
|
|
5612
|
+
dataType: "string";
|
|
5613
|
+
data: string;
|
|
5614
|
+
driverParam: string;
|
|
5615
|
+
notNull: true;
|
|
5616
|
+
hasDefault: false;
|
|
5617
|
+
isPrimaryKey: false;
|
|
5618
|
+
isAutoincrement: false;
|
|
5619
|
+
hasRuntimeDefault: false;
|
|
5620
|
+
enumValues: undefined;
|
|
5621
|
+
identity: undefined;
|
|
5622
|
+
generated: undefined;
|
|
5623
|
+
}>;
|
|
5624
|
+
rev: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>, {
|
|
5625
|
+
name: string;
|
|
5626
|
+
tableName: "initiatives";
|
|
5627
|
+
dataType: "number int32";
|
|
5628
|
+
data: number;
|
|
5629
|
+
driverParam: string | number;
|
|
5630
|
+
notNull: true;
|
|
5631
|
+
hasDefault: false;
|
|
5632
|
+
isPrimaryKey: false;
|
|
5633
|
+
isAutoincrement: false;
|
|
5634
|
+
hasRuntimeDefault: false;
|
|
5635
|
+
enumValues: undefined;
|
|
5636
|
+
identity: undefined;
|
|
5637
|
+
generated: undefined;
|
|
5638
|
+
}>;
|
|
5639
|
+
doc: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
5640
|
+
name: string;
|
|
5641
|
+
tableName: "initiatives";
|
|
5642
|
+
dataType: "string";
|
|
5643
|
+
data: string;
|
|
5644
|
+
driverParam: string;
|
|
5645
|
+
notNull: true;
|
|
5646
|
+
hasDefault: false;
|
|
5647
|
+
isPrimaryKey: false;
|
|
5648
|
+
isAutoincrement: false;
|
|
5649
|
+
hasRuntimeDefault: false;
|
|
5650
|
+
enumValues: undefined;
|
|
5651
|
+
identity: undefined;
|
|
5652
|
+
generated: undefined;
|
|
5653
|
+
}>;
|
|
5654
|
+
created_at: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
5655
|
+
name: string;
|
|
5656
|
+
tableName: "initiatives";
|
|
5657
|
+
dataType: "number int53";
|
|
5658
|
+
data: number;
|
|
5659
|
+
driverParam: string | number;
|
|
5660
|
+
notNull: true;
|
|
5661
|
+
hasDefault: false;
|
|
5662
|
+
isPrimaryKey: false;
|
|
5663
|
+
isAutoincrement: false;
|
|
5664
|
+
hasRuntimeDefault: false;
|
|
5665
|
+
enumValues: undefined;
|
|
5666
|
+
identity: undefined;
|
|
5667
|
+
generated: undefined;
|
|
5668
|
+
}>;
|
|
5669
|
+
updated_at: import("drizzle-orm/pg-core").PgBuildColumn<"initiatives", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
5670
|
+
name: string;
|
|
5671
|
+
tableName: "initiatives";
|
|
5672
|
+
dataType: "number int53";
|
|
5673
|
+
data: number;
|
|
5674
|
+
driverParam: string | number;
|
|
5675
|
+
notNull: true;
|
|
5676
|
+
hasDefault: false;
|
|
5677
|
+
isPrimaryKey: false;
|
|
5678
|
+
isAutoincrement: false;
|
|
5679
|
+
hasRuntimeDefault: false;
|
|
5680
|
+
enumValues: undefined;
|
|
5681
|
+
identity: undefined;
|
|
5682
|
+
generated: undefined;
|
|
5683
|
+
}>;
|
|
5684
|
+
};
|
|
5685
|
+
dialect: 'pg';
|
|
5686
|
+
}>;
|
|
5500
5687
|
export declare const trackerSettings: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
5501
5688
|
name: "tracker_settings";
|
|
5502
5689
|
schema: undefined;
|
|
@@ -9632,6 +9819,133 @@ export declare const providerApiKeys: import("drizzle-orm/pg-core").PgTableWithC
|
|
|
9632
9819
|
};
|
|
9633
9820
|
dialect: 'pg';
|
|
9634
9821
|
}>;
|
|
9822
|
+
export declare const publicApiKeys: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
9823
|
+
name: "public_api_keys";
|
|
9824
|
+
schema: undefined;
|
|
9825
|
+
columns: {
|
|
9826
|
+
id: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
9827
|
+
name: string;
|
|
9828
|
+
tableName: "public_api_keys";
|
|
9829
|
+
dataType: "string";
|
|
9830
|
+
data: string;
|
|
9831
|
+
driverParam: string;
|
|
9832
|
+
notNull: true;
|
|
9833
|
+
hasDefault: false;
|
|
9834
|
+
isPrimaryKey: false;
|
|
9835
|
+
isAutoincrement: false;
|
|
9836
|
+
hasRuntimeDefault: false;
|
|
9837
|
+
enumValues: undefined;
|
|
9838
|
+
identity: undefined;
|
|
9839
|
+
generated: undefined;
|
|
9840
|
+
}>;
|
|
9841
|
+
account_id: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
9842
|
+
name: string;
|
|
9843
|
+
tableName: "public_api_keys";
|
|
9844
|
+
dataType: "string";
|
|
9845
|
+
data: string;
|
|
9846
|
+
driverParam: string;
|
|
9847
|
+
notNull: true;
|
|
9848
|
+
hasDefault: false;
|
|
9849
|
+
isPrimaryKey: false;
|
|
9850
|
+
isAutoincrement: false;
|
|
9851
|
+
hasRuntimeDefault: false;
|
|
9852
|
+
enumValues: undefined;
|
|
9853
|
+
identity: undefined;
|
|
9854
|
+
generated: undefined;
|
|
9855
|
+
}>;
|
|
9856
|
+
workspace_id: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
9857
|
+
name: string;
|
|
9858
|
+
tableName: "public_api_keys";
|
|
9859
|
+
dataType: "string";
|
|
9860
|
+
data: string;
|
|
9861
|
+
driverParam: string;
|
|
9862
|
+
notNull: true;
|
|
9863
|
+
hasDefault: false;
|
|
9864
|
+
isPrimaryKey: false;
|
|
9865
|
+
isAutoincrement: false;
|
|
9866
|
+
hasRuntimeDefault: false;
|
|
9867
|
+
enumValues: undefined;
|
|
9868
|
+
identity: undefined;
|
|
9869
|
+
generated: undefined;
|
|
9870
|
+
}>;
|
|
9871
|
+
label: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
9872
|
+
name: string;
|
|
9873
|
+
tableName: "public_api_keys";
|
|
9874
|
+
dataType: "string";
|
|
9875
|
+
data: string;
|
|
9876
|
+
driverParam: string;
|
|
9877
|
+
notNull: true;
|
|
9878
|
+
hasDefault: false;
|
|
9879
|
+
isPrimaryKey: false;
|
|
9880
|
+
isAutoincrement: false;
|
|
9881
|
+
hasRuntimeDefault: false;
|
|
9882
|
+
enumValues: undefined;
|
|
9883
|
+
identity: undefined;
|
|
9884
|
+
generated: undefined;
|
|
9885
|
+
}>;
|
|
9886
|
+
secret_hash: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
9887
|
+
name: string;
|
|
9888
|
+
tableName: "public_api_keys";
|
|
9889
|
+
dataType: "string";
|
|
9890
|
+
data: string;
|
|
9891
|
+
driverParam: string;
|
|
9892
|
+
notNull: true;
|
|
9893
|
+
hasDefault: false;
|
|
9894
|
+
isPrimaryKey: false;
|
|
9895
|
+
isAutoincrement: false;
|
|
9896
|
+
hasRuntimeDefault: false;
|
|
9897
|
+
enumValues: undefined;
|
|
9898
|
+
identity: undefined;
|
|
9899
|
+
generated: undefined;
|
|
9900
|
+
}>;
|
|
9901
|
+
created_at: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
9902
|
+
name: string;
|
|
9903
|
+
tableName: "public_api_keys";
|
|
9904
|
+
dataType: "number int53";
|
|
9905
|
+
data: number;
|
|
9906
|
+
driverParam: string | number;
|
|
9907
|
+
notNull: true;
|
|
9908
|
+
hasDefault: false;
|
|
9909
|
+
isPrimaryKey: false;
|
|
9910
|
+
isAutoincrement: false;
|
|
9911
|
+
hasRuntimeDefault: false;
|
|
9912
|
+
enumValues: undefined;
|
|
9913
|
+
identity: undefined;
|
|
9914
|
+
generated: undefined;
|
|
9915
|
+
}>;
|
|
9916
|
+
last_used_at: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").PgBigInt53Builder, {
|
|
9917
|
+
name: string;
|
|
9918
|
+
tableName: "public_api_keys";
|
|
9919
|
+
dataType: "number int53";
|
|
9920
|
+
data: number;
|
|
9921
|
+
driverParam: string | number;
|
|
9922
|
+
notNull: false;
|
|
9923
|
+
hasDefault: false;
|
|
9924
|
+
isPrimaryKey: false;
|
|
9925
|
+
isAutoincrement: false;
|
|
9926
|
+
hasRuntimeDefault: false;
|
|
9927
|
+
enumValues: undefined;
|
|
9928
|
+
identity: undefined;
|
|
9929
|
+
generated: undefined;
|
|
9930
|
+
}>;
|
|
9931
|
+
revoked_at: import("drizzle-orm/pg-core").PgBuildColumn<"public_api_keys", import("drizzle-orm/pg-core").PgBigInt53Builder, {
|
|
9932
|
+
name: string;
|
|
9933
|
+
tableName: "public_api_keys";
|
|
9934
|
+
dataType: "number int53";
|
|
9935
|
+
data: number;
|
|
9936
|
+
driverParam: string | number;
|
|
9937
|
+
notNull: false;
|
|
9938
|
+
hasDefault: false;
|
|
9939
|
+
isPrimaryKey: false;
|
|
9940
|
+
isAutoincrement: false;
|
|
9941
|
+
hasRuntimeDefault: false;
|
|
9942
|
+
enumValues: undefined;
|
|
9943
|
+
identity: undefined;
|
|
9944
|
+
generated: undefined;
|
|
9945
|
+
}>;
|
|
9946
|
+
};
|
|
9947
|
+
dialect: 'pg';
|
|
9948
|
+
}>;
|
|
9635
9949
|
export declare const personalSubscriptions: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
9636
9950
|
name: "personal_subscriptions";
|
|
9637
9951
|
schema: undefined;
|
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":"AAmCA,eAAO,MAAM,SAAS,qDAAwB,CAAA;AAU9C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAetB,CAAA;AAGD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcjB,CAAA;AAGD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc1B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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+175,9 @@ export const blocks = pgTable('blocks', {
|
|
|
175
175
|
// Task-level: membership link to an `epic`-level block, independent of parent_id
|
|
176
176
|
// (the structural container). Deleting an epic clears this, never the member tasks.
|
|
177
177
|
epic_id: text('epic_id'),
|
|
178
|
+
// Task-level: membership link to an `initiative`-level block (a task the
|
|
179
|
+
// initiative's execution loop spawned), independent of parent_id.
|
|
180
|
+
initiative_id: text('initiative_id'),
|
|
178
181
|
// Task-level: preceding-task auto-start toggle (0/1); null ⇒ off. When set, merging
|
|
179
182
|
// this task auto-starts every dependent whose other dependencies are also done.
|
|
180
183
|
auto_start_dependents: integer('auto_start_dependents'),
|
|
@@ -231,6 +234,9 @@ export const blocks = pgTable('blocks', {
|
|
|
231
234
|
// the workspace's writeback_* settings). Comment-on-PR-open and resolve-on-merge.
|
|
232
235
|
tracker_comment_on_pr_open: text('tracker_comment_on_pr_open'),
|
|
233
236
|
tracker_resolve_on_merge: text('tracker_resolve_on_merge'),
|
|
237
|
+
// Headless marker (mirrors the D1 `blocks.internal` column): 1 ⇒ a public-API "initiative"
|
|
238
|
+
// anchor block, excluded from every board projection. Null/absent ⇒ a normal, visible block.
|
|
239
|
+
internal: integer('internal'),
|
|
234
240
|
// Monotonic insert sequence (Postgres has no SQLite rowid): block list reads come
|
|
235
241
|
// back in insertion order — sibling order in the board tree, deterministic
|
|
236
242
|
// snapshots — matching the Cloudflare facade (which orders by `rowid`).
|
|
@@ -240,6 +246,7 @@ export const blocks = pgTable('blocks', {
|
|
|
240
246
|
primaryKey({ columns: [t.workspace_id, t.id] }),
|
|
241
247
|
index('idx_blocks_parent').on(t.workspace_id, t.parent_id),
|
|
242
248
|
index('idx_blocks_epic').on(t.workspace_id, t.epic_id),
|
|
249
|
+
index('idx_blocks_initiative').on(t.workspace_id, t.initiative_id),
|
|
243
250
|
index('idx_blocks_service').on(t.service_id),
|
|
244
251
|
// findById looks a block up by id alone (no workspace_id), so it can't use the
|
|
245
252
|
// (workspace_id, id) PK — index id directly to avoid scanning the largest table.
|
|
@@ -313,6 +320,9 @@ export const pipelines = pgTable('pipelines', {
|
|
|
313
320
|
// custom/cloned pipelines and on legacy rows. Lets a workspace's persisted copy be compared
|
|
314
321
|
// against the current `seedPipelines()` catalog and offered a reseed when it moves ahead.
|
|
315
322
|
version: integer('version'),
|
|
323
|
+
// `public = 1` marks a pipeline callable via the public API (mirror of D1 migration 0034);
|
|
324
|
+
// NULL/absent ⇒ not exposed. Only inline pipelines are honored by the public surface.
|
|
325
|
+
public: integer('public'),
|
|
316
326
|
// Monotonic insert sequence (Postgres has no SQLite rowid): a workspace's pipelines
|
|
317
327
|
// are read back in the order they were seeded — the curated `seedPipelines()` order
|
|
318
328
|
// — so the catalog order (and the UI's default `pipelines[0]`) is deterministic and
|
|
@@ -726,6 +736,31 @@ export const brainstormSessions = pgTable('brainstorm_sessions', {
|
|
|
726
736
|
primaryKey({ columns: [t.workspace_id, t.id] }),
|
|
727
737
|
index('idx_brainstorm_sessions_block_stage').on(t.workspace_id, t.block_id, t.stage),
|
|
728
738
|
]);
|
|
739
|
+
// Initiatives: the long-running multi-task work container (mirror of D1 migration
|
|
740
|
+
// 0035_initiatives). One row per `initiative`-level block; the whole entity lives in
|
|
741
|
+
// the `doc` JSON blob with the loop-relevant keys (status, rev) lifted into columns.
|
|
742
|
+
// `rev` is the optimistic-concurrency token every post-insert write CAS-es on.
|
|
743
|
+
export const initiatives = pgTable('initiatives', {
|
|
744
|
+
workspace_id: text('workspace_id').notNull(),
|
|
745
|
+
id: text('id').notNull(),
|
|
746
|
+
block_id: text('block_id').notNull(),
|
|
747
|
+
slug: text('slug').notNull(),
|
|
748
|
+
status: text('status').notNull(),
|
|
749
|
+
rev: integer('rev').notNull(),
|
|
750
|
+
doc: text('doc').notNull(),
|
|
751
|
+
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
752
|
+
updated_at: bigint('updated_at', { mode: 'number' }).notNull(),
|
|
753
|
+
}, (t) => [
|
|
754
|
+
primaryKey({ columns: [t.workspace_id, t.id] }),
|
|
755
|
+
uniqueIndex('idx_initiatives_block').on(t.workspace_id, t.block_id),
|
|
756
|
+
// The tracker folder `docs/initiatives/<slug>/` is keyed by slug, so a slug must be
|
|
757
|
+
// unique per workspace — this backstops the read-then-insert slug derivation in
|
|
758
|
+
// InitiativeService.create against a concurrent same-title race (the loser's insert
|
|
759
|
+
// fails rather than silently sharing a folder with the winner).
|
|
760
|
+
uniqueIndex('idx_initiatives_slug').on(t.workspace_id, t.slug),
|
|
761
|
+
// The cron sweeper's work list (slice 3): every `executing` initiative.
|
|
762
|
+
index('idx_initiatives_status').on(t.status),
|
|
763
|
+
]);
|
|
729
764
|
// A workspace's issue-tracker selection (mirror of D1 migration 0029).
|
|
730
765
|
export const trackerSettings = pgTable('tracker_settings', {
|
|
731
766
|
workspace_id: text('workspace_id').primaryKey(),
|
|
@@ -1214,6 +1249,19 @@ export const providerApiKeys = pgTable('provider_api_keys', {
|
|
|
1214
1249
|
request_count: integer('request_count').notNull().default(0),
|
|
1215
1250
|
deleted_at: bigint('deleted_at', { mode: 'number' }),
|
|
1216
1251
|
}, (t) => [index('idx_provider_api_keys_pool').on(t.scope, t.scope_id, t.provider, t.deleted_at)]);
|
|
1252
|
+
// Inbound public-API keys: the credentials external systems present to `/api/v1` (mirror of D1
|
|
1253
|
+
// migration 0034). The secret is stored ONLY as a one-way peppered hash — never plaintext, never
|
|
1254
|
+
// recoverable — the opposite of the provider keys above (which are decryptable for outbound use).
|
|
1255
|
+
export const publicApiKeys = pgTable('public_api_keys', {
|
|
1256
|
+
id: text('id').primaryKey(),
|
|
1257
|
+
account_id: text('account_id').notNull(),
|
|
1258
|
+
workspace_id: text('workspace_id').notNull(),
|
|
1259
|
+
label: text('label').notNull(),
|
|
1260
|
+
secret_hash: text('secret_hash').notNull(),
|
|
1261
|
+
created_at: bigint('created_at', { mode: 'number' }).notNull(),
|
|
1262
|
+
last_used_at: bigint('last_used_at', { mode: 'number' }),
|
|
1263
|
+
revoked_at: bigint('revoked_at', { mode: 'number' }),
|
|
1264
|
+
}, (t) => [index('idx_public_api_keys_workspace').on(t.workspace_id)]);
|
|
1217
1265
|
// Individual-usage subscriptions (Claude): per-USER, never pooled (mirror of D1
|
|
1218
1266
|
// migration 0039). The credential is double-encrypted (password layer inside the
|
|
1219
1267
|
// system layer).
|