@danxbot/plugin-sdk 0.2.32 → 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 +33 -2
- package/package.json +2 -2
package/dist/card-kit.d.ts
CHANGED
|
@@ -240,6 +240,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
240
240
|
recommended: boolean;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
interface DocsProposalPromotionV2 {
|
|
244
|
+
plan_id: number;
|
|
245
|
+
attempt: number;
|
|
246
|
+
}
|
|
247
|
+
|
|
243
248
|
interface V2CopyComment {
|
|
244
249
|
author: string;
|
|
245
250
|
text: string;
|
|
@@ -307,6 +312,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
307
312
|
title: string;
|
|
308
313
|
created_by: string;
|
|
309
314
|
created_at: string;
|
|
315
|
+
archived_at: string | null;
|
|
310
316
|
revisions: V2CopyDesignRevision[];
|
|
311
317
|
decisions: V2CopyDesignDecision[];
|
|
312
318
|
}
|
|
@@ -323,6 +329,16 @@ declare module "@danxbot/card-kit@1" {
|
|
|
323
329
|
created_at: string;
|
|
324
330
|
updated_at: string;
|
|
325
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
|
+
}
|
|
326
342
|
interface V2CopyAc {
|
|
327
343
|
title: string;
|
|
328
344
|
checked: boolean;
|
|
@@ -430,6 +446,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
430
446
|
checklists: V2CopyChecklist[];
|
|
431
447
|
comments: V2CopyComment[];
|
|
432
448
|
agent_notes: V2CopyAgentNote[];
|
|
449
|
+
docs_proposals: V2CopyDocsProposal[];
|
|
433
450
|
dependencies: V2CopyDependency[];
|
|
434
451
|
retro: V2CopyRetro | null;
|
|
435
452
|
mirrors: V2CopyMirror[];
|
|
@@ -870,6 +887,19 @@ declare module "@danxbot/card-kit@1" {
|
|
|
870
887
|
updated_at: string;
|
|
871
888
|
text: string;
|
|
872
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;
|
|
873
903
|
}>);
|
|
874
904
|
designs?: undefined | (Array<{
|
|
875
905
|
id: number;
|
|
@@ -877,6 +907,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
877
907
|
title: string;
|
|
878
908
|
created_by: string;
|
|
879
909
|
created_at: string;
|
|
910
|
+
archived_at: null | string;
|
|
880
911
|
review_state: "rejected" | "awaiting_review" | "changes_requested" | "approved";
|
|
881
912
|
revision_count: number;
|
|
882
913
|
latest_revision_no: number;
|
|
@@ -930,6 +961,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
930
961
|
id: string;
|
|
931
962
|
name: string;
|
|
932
963
|
status: "Cancelled" | "Review" | "ToDo" | "In Progress" | "Backlog" | "Done";
|
|
964
|
+
board_id: string;
|
|
933
965
|
type?: undefined | string;
|
|
934
966
|
priority?: undefined | number;
|
|
935
967
|
summary?: undefined | null | string;
|
|
@@ -1076,6 +1108,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1076
1108
|
title: string;
|
|
1077
1109
|
created_by: string;
|
|
1078
1110
|
created_at: string;
|
|
1111
|
+
archived_at: null | string;
|
|
1079
1112
|
review_state: "rejected" | "awaiting_review" | "changes_requested" | "approved";
|
|
1080
1113
|
revision_count: number;
|
|
1081
1114
|
latest_revision_no: number;
|
|
@@ -1243,14 +1276,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1243
1276
|
mutation: CardMutation;
|
|
1244
1277
|
}): react.JSX.Element;
|
|
1245
1278
|
|
|
1246
|
-
type CardTone = "success" | "warning" | "danger" | "info" | "neutral" | "accent" | "brand" | "muted";
|
|
1247
1279
|
interface ChildProgress {
|
|
1248
1280
|
done: number;
|
|
1249
1281
|
total: number;
|
|
1250
1282
|
}
|
|
1251
1283
|
interface CardStatusPresentation {
|
|
1252
1284
|
label: string;
|
|
1253
|
-
tone: CardTone;
|
|
1254
1285
|
icon: string;
|
|
1255
1286
|
reason: string | null;
|
|
1256
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",
|