@danxbot/plugin-sdk 0.2.20 → 0.2.21

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.
@@ -106,10 +106,6 @@ declare module "@danxbot/card-kit@1" {
106
106
  triage_enabled: boolean;
107
107
  content_hash: string;
108
108
  }
109
- type CommentTagV2 = {
110
- kind: "problem";
111
- ref: number;
112
- };
113
109
  interface AuthorV2 {
114
110
  name: string;
115
111
  kind: "agent" | "person";
@@ -585,7 +581,7 @@ declare module "@danxbot/card-kit@1" {
585
581
  via_key?: undefined | null | ViaKey;
586
582
  metadata?: unknown;
587
583
  answers_decision_id?: undefined | null | number;
588
- tags: Array<CommentTagV2>;
584
+ tags: Array<{ kind: "problem"; ref: number; } | { kind: "design"; ref: number; }>;
589
585
  responding: null | CommentRespondingV2;
590
586
  }>);
591
587
  checklists?: undefined | Array<ChecklistView>;
@@ -709,6 +705,7 @@ declare module "@danxbot/card-kit@1" {
709
705
  metadata: unknown;
710
706
  }>);
711
707
  designs?: undefined | (Array<{
708
+ id: number;
712
709
  design_no: number;
713
710
  title: string;
714
711
  created_by: string;
@@ -901,6 +898,7 @@ declare module "@danxbot/card-kit@1" {
901
898
  con: string;
902
899
  recommended: boolean;
903
900
  design?: undefined | (Array<{
901
+ id: number;
904
902
  design_no: number;
905
903
  title: string;
906
904
  created_by: string;
@@ -1030,9 +1028,11 @@ declare module "@danxbot/card-kit@1" {
1030
1028
  readonly boards: readonly string[];
1031
1029
  };
1032
1030
  type BoardLaneWindows = Readonly<Record<IssueStatus$1, PagedWindow<IssueViewV2>>>;
1031
+ type LaneLeafTotals = Readonly<Record<IssueStatus$1, number | null>>;
1033
1032
  interface BoardLaneState {
1034
1033
  readonly scope: BoardScope;
1035
1034
  readonly windows: BoardLaneWindows;
1035
+ readonly leafTotals: LaneLeafTotals;
1036
1036
  readonly visibility: LaneVisibility;
1037
1037
  readonly sorts: LaneSorts;
1038
1038
  readonly setSort: LaneSortState["setSort"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/plugin-sdk",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
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": "27.36.4",
49
+ "@danxbot/ui": "27.40.0",
50
50
  "@types/node": "^22.0.0",
51
51
  "@types/react": "^19.2.2",
52
52
  "esbuild": "^0.25.0",