@danxbot/plugin-sdk 0.2.31 → 0.2.33
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 +34 -7
- package/package.json +2 -2
package/dist/card-kit.d.ts
CHANGED
|
@@ -69,8 +69,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
69
69
|
start_commit_error_detail: string | null;
|
|
70
70
|
parent_id: string | null;
|
|
71
71
|
effort_level: EffortLevelName;
|
|
72
|
-
escalation_rung: EffortLevelName | null;
|
|
73
|
-
escalation_attempts: number;
|
|
74
72
|
downward_rung: EffortLevelName | null;
|
|
75
73
|
source_type: string;
|
|
76
74
|
list_name: string | null;
|
|
@@ -242,6 +240,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
242
240
|
recommended: boolean;
|
|
243
241
|
}
|
|
244
242
|
|
|
243
|
+
interface DocsProposalPromotionV2 {
|
|
244
|
+
plan_id: number;
|
|
245
|
+
attempt: number;
|
|
246
|
+
}
|
|
247
|
+
|
|
245
248
|
interface V2CopyComment {
|
|
246
249
|
author: string;
|
|
247
250
|
text: string;
|
|
@@ -309,6 +312,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
309
312
|
title: string;
|
|
310
313
|
created_by: string;
|
|
311
314
|
created_at: string;
|
|
315
|
+
archived_at: string | null;
|
|
312
316
|
revisions: V2CopyDesignRevision[];
|
|
313
317
|
decisions: V2CopyDesignDecision[];
|
|
314
318
|
}
|
|
@@ -325,6 +329,16 @@ declare module "@danxbot/card-kit@1" {
|
|
|
325
329
|
created_at: string;
|
|
326
330
|
updated_at: string;
|
|
327
331
|
}
|
|
332
|
+
interface V2CopyDocsProposal {
|
|
333
|
+
repo: string;
|
|
334
|
+
page_id: string;
|
|
335
|
+
new_page_title: string | null;
|
|
336
|
+
change: string;
|
|
337
|
+
author: string;
|
|
338
|
+
team_agent: string | null;
|
|
339
|
+
created_at: string;
|
|
340
|
+
updated_at: string;
|
|
341
|
+
}
|
|
328
342
|
interface V2CopyAc {
|
|
329
343
|
title: string;
|
|
330
344
|
checked: boolean;
|
|
@@ -432,6 +446,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
432
446
|
checklists: V2CopyChecklist[];
|
|
433
447
|
comments: V2CopyComment[];
|
|
434
448
|
agent_notes: V2CopyAgentNote[];
|
|
449
|
+
docs_proposals: V2CopyDocsProposal[];
|
|
435
450
|
dependencies: V2CopyDependency[];
|
|
436
451
|
retro: V2CopyRetro | null;
|
|
437
452
|
mirrors: V2CopyMirror[];
|
|
@@ -827,8 +842,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
827
842
|
latest_work_dispatch?: undefined | null | LatestWorkDispatchViewV2;
|
|
828
843
|
usage?: undefined | null | UsageSummary | UsageError;
|
|
829
844
|
effort_level?: undefined | "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
830
|
-
escalation_rung?: undefined | null | "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
831
|
-
escalation_attempts?: undefined | number;
|
|
832
845
|
downward_rung?: undefined | null | "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
833
846
|
waiting_on_gate?: undefined | null | WaitingOnViewV2;
|
|
834
847
|
waiting_on_dep_ids?: undefined | Record<string, number>;
|
|
@@ -874,6 +887,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
874
887
|
updated_at: string;
|
|
875
888
|
text: string;
|
|
876
889
|
metadata: unknown;
|
|
890
|
+
}>);
|
|
891
|
+
docs_proposals?: undefined | (Array<{
|
|
892
|
+
id: number;
|
|
893
|
+
repo: string;
|
|
894
|
+
page_id: string;
|
|
895
|
+
new_page_title: null | string;
|
|
896
|
+
change: string;
|
|
897
|
+
author: string;
|
|
898
|
+
by: AuthorV2;
|
|
899
|
+
via_key: null | ViaKey;
|
|
900
|
+
promotion: null | DocsProposalPromotionV2;
|
|
901
|
+
created_at: string;
|
|
902
|
+
updated_at: string;
|
|
877
903
|
}>);
|
|
878
904
|
designs?: undefined | (Array<{
|
|
879
905
|
id: number;
|
|
@@ -881,6 +907,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
881
907
|
title: string;
|
|
882
908
|
created_by: string;
|
|
883
909
|
created_at: string;
|
|
910
|
+
archived_at: null | string;
|
|
884
911
|
review_state: "rejected" | "awaiting_review" | "changes_requested" | "approved";
|
|
885
912
|
revision_count: number;
|
|
886
913
|
latest_revision_no: number;
|
|
@@ -934,6 +961,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
934
961
|
id: string;
|
|
935
962
|
name: string;
|
|
936
963
|
status: "Cancelled" | "Review" | "ToDo" | "In Progress" | "Backlog" | "Done";
|
|
964
|
+
board_id: string;
|
|
937
965
|
type?: undefined | string;
|
|
938
966
|
priority?: undefined | number;
|
|
939
967
|
summary?: undefined | null | string;
|
|
@@ -1080,6 +1108,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1080
1108
|
title: string;
|
|
1081
1109
|
created_by: string;
|
|
1082
1110
|
created_at: string;
|
|
1111
|
+
archived_at: null | string;
|
|
1083
1112
|
review_state: "rejected" | "awaiting_review" | "changes_requested" | "approved";
|
|
1084
1113
|
revision_count: number;
|
|
1085
1114
|
latest_revision_no: number;
|
|
@@ -1144,7 +1173,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1144
1173
|
url: string;
|
|
1145
1174
|
}
|
|
1146
1175
|
|
|
1147
|
-
type TransitionAction = "ready" | "unready" | "pickup" | "rollback_pickup" | "
|
|
1176
|
+
type TransitionAction = "ready" | "unready" | "pickup" | "rollback_pickup" | "gate_release" | "gate_repin" | "claim_repin" | "landing_hold" | "complete" | "cancel" | "block" | "unblock" | "archive" | "snooze" | "coerce" | "reopen";
|
|
1148
1177
|
|
|
1149
1178
|
type LifecycleAction = Extract<TransitionAction, "ready" | "unready" | "complete" | "cancel" | "reopen">;
|
|
1150
1179
|
|
|
@@ -1247,14 +1276,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1247
1276
|
mutation: CardMutation;
|
|
1248
1277
|
}): react.JSX.Element;
|
|
1249
1278
|
|
|
1250
|
-
type CardTone = "success" | "warning" | "danger" | "info" | "neutral" | "accent" | "brand" | "muted";
|
|
1251
1279
|
interface ChildProgress {
|
|
1252
1280
|
done: number;
|
|
1253
1281
|
total: number;
|
|
1254
1282
|
}
|
|
1255
1283
|
interface CardStatusPresentation {
|
|
1256
1284
|
label: string;
|
|
1257
|
-
tone: CardTone;
|
|
1258
1285
|
icon: string;
|
|
1259
1286
|
reason: string | null;
|
|
1260
1287
|
live: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danxbot/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"description": "SDK for building 50 Arms card-type plugins (DX-5170): the card kit's type declarations, 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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test": "vitest run"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@danxbot/ui": "28.
|
|
49
|
+
"@danxbot/ui": "28.4.0",
|
|
50
50
|
"@types/node": "^22.0.0",
|
|
51
51
|
"@types/react": "^19.2.2",
|
|
52
52
|
"esbuild": "^0.25.0",
|