@50arms/plugin-sdk 0.2.82 → 0.2.83
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/card-kit.d.ts +18 -4
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -1261,7 +1261,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1261
1261
|
readonly sha: string;
|
|
1262
1262
|
readonly branch: string;
|
|
1263
1263
|
}
|
|
1264
|
-
type DeliveryFlowStep = "card_branch_pushed" | "pull_request_open" | "merged_or_landed";
|
|
1264
|
+
type DeliveryFlowStep = "card_branch_pushed" | "pull_request_open" | "merged_or_landed" | "deployed";
|
|
1265
|
+
|
|
1266
|
+
interface DeployedEnvironment {
|
|
1267
|
+
readonly id: number;
|
|
1268
|
+
readonly name: string;
|
|
1269
|
+
readonly commit: string;
|
|
1270
|
+
readonly deployed_at: string;
|
|
1271
|
+
}
|
|
1272
|
+
interface ChosenEnvironment {
|
|
1273
|
+
readonly id: number;
|
|
1274
|
+
readonly name: string;
|
|
1275
|
+
readonly deploy_target: string;
|
|
1276
|
+
}
|
|
1265
1277
|
|
|
1266
1278
|
type CodeCompleteConditionKey = "step" | "tests" | "gates";
|
|
1267
1279
|
interface CodeCompleteCondition {
|
|
@@ -1737,7 +1749,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1737
1749
|
created_by: string;
|
|
1738
1750
|
created_at: string;
|
|
1739
1751
|
archived_at: null | string;
|
|
1740
|
-
review_state: "rejected" | "approved" | "
|
|
1752
|
+
review_state: "rejected" | "approved" | "changes_requested" | "awaiting_review";
|
|
1741
1753
|
revision_count: number;
|
|
1742
1754
|
latest_revision_no: number;
|
|
1743
1755
|
chosen_options: null | OptionSelection;
|
|
@@ -1865,6 +1877,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1865
1877
|
depends_on_landing_dep_ids?: undefined | Record<string, number>;
|
|
1866
1878
|
conflict_on_active_count?: undefined | number;
|
|
1867
1879
|
code_complete?: undefined | null | CodeCompleteState;
|
|
1880
|
+
deployed_environments?: undefined | Array<DeployedEnvironment>;
|
|
1881
|
+
code_complete_environments?: undefined | Array<ChosenEnvironment>;
|
|
1868
1882
|
children?: undefined | Array<string>;
|
|
1869
1883
|
descendant_ids?: undefined | Array<string>;
|
|
1870
1884
|
descendant_needs_you?: undefined | Array<DescendantNeedsYouView>;
|
|
@@ -1907,9 +1921,9 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1907
1921
|
decision_records?: undefined | (Array<{
|
|
1908
1922
|
provenance: null | ProvenanceRecordV2;
|
|
1909
1923
|
text: string;
|
|
1924
|
+
approved: boolean;
|
|
1910
1925
|
made_by: "human" | "agent";
|
|
1911
1926
|
kind: "business_rule" | "architecture" | "design" | "other";
|
|
1912
|
-
approved: boolean;
|
|
1913
1927
|
impact: number;
|
|
1914
1928
|
confidence: number;
|
|
1915
1929
|
title: string;
|
|
@@ -2345,7 +2359,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2345
2359
|
created_by: string;
|
|
2346
2360
|
created_at: string;
|
|
2347
2361
|
archived_at: null | string;
|
|
2348
|
-
review_state: "rejected" | "approved" | "
|
|
2362
|
+
review_state: "rejected" | "approved" | "changes_requested" | "awaiting_review";
|
|
2349
2363
|
revision_count: number;
|
|
2350
2364
|
latest_revision_no: number;
|
|
2351
2365
|
chosen_options: null | OptionSelection;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.83",
|
|
4
4
|
"description": "SDK for building 50 Arms plugins (DX-5170): the card kit's type declarations, the Widget declaration kit, a Vite preset that builds a plugin against the app's shared runtime and writes its manifest, and the danx-plugin CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|