@danxbot/plugin-sdk 0.1.1 → 0.1.3
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/README.md +1 -1
- package/dist/card-kit.d.ts +14 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ The build refuses to bundle a copy of React, React DOM, `@danxbot/ui` or `react-
|
|
|
43
43
|
|
|
44
44
|
## The card kit is a contract
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
A runtime export of `@danxbot/card-kit@1`, and its parameters, is never removed or changed in place; the keys of the exported data types follow the Versioning section below. A breaking change is `@danxbot/card-kit@2`, served beside `@1` until no approved plugin revision needs it. A plugin's manifest records the majors it was built against, and the app refuses to run a revision built for a major it no longer serves.
|
|
47
47
|
|
|
48
48
|
## `danx-plugin publish`
|
|
49
49
|
|
package/dist/card-kit.d.ts
CHANGED
|
@@ -615,7 +615,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
615
615
|
summary?: undefined | null | string;
|
|
616
616
|
pull_request_url?: undefined | null | string;
|
|
617
617
|
problem_total?: undefined | number;
|
|
618
|
-
|
|
618
|
+
design_count?: undefined | number;
|
|
619
619
|
open_action_count?: undefined | number;
|
|
620
620
|
open_problem_count?: undefined | number;
|
|
621
621
|
ac?: undefined | Array<AcItemViewV2>;
|
|
@@ -665,7 +665,15 @@ declare module "@danxbot/card-kit@1" {
|
|
|
665
665
|
dispatchable_explain?: undefined | DispatchableExplainView;
|
|
666
666
|
copy_payload?: undefined | V2CopyPayload;
|
|
667
667
|
copy_issue?: undefined | V2CopyIssue;
|
|
668
|
-
|
|
668
|
+
designs?: undefined | (Array<{
|
|
669
|
+
design_no: number;
|
|
670
|
+
title: string;
|
|
671
|
+
created_by: string;
|
|
672
|
+
created_at: string;
|
|
673
|
+
review_state: "rejected" | "awaiting_review" | "changes_requested" | "approved";
|
|
674
|
+
revision_count: number;
|
|
675
|
+
latest_revision_no: number;
|
|
676
|
+
revisions?: undefined | (Array<{
|
|
669
677
|
revision_no: number;
|
|
670
678
|
target: string;
|
|
671
679
|
entry: string;
|
|
@@ -678,19 +686,20 @@ declare module "@danxbot/card-kit@1" {
|
|
|
678
686
|
screenshot_available: boolean;
|
|
679
687
|
source_files?: undefined | Array<DesignSourceFile>;
|
|
680
688
|
}>);
|
|
681
|
-
|
|
689
|
+
decisions?: undefined | (Array<{
|
|
682
690
|
decision_id: number;
|
|
683
691
|
revision_no: number;
|
|
684
|
-
outcome: "rejected" | "
|
|
692
|
+
outcome: "rejected" | "changes_requested" | "approved";
|
|
685
693
|
note: null | string;
|
|
686
694
|
decided_by: string;
|
|
687
695
|
created_at: string;
|
|
696
|
+
}>);
|
|
688
697
|
}>);
|
|
689
698
|
pull_request_reviews?: undefined | (Array<{
|
|
690
699
|
id: number;
|
|
691
700
|
kind: "review" | "comment" | "thread";
|
|
692
701
|
author_login: string;
|
|
693
|
-
state: null | "
|
|
702
|
+
state: null | "changes_requested" | "approved" | "commented" | "dismissed";
|
|
694
703
|
body: string;
|
|
695
704
|
html_url: string;
|
|
696
705
|
path: null | string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danxbot/plugin-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"test": "vitest run"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@danxbot/ui": "26.
|
|
45
|
+
"@danxbot/ui": "26.7.1",
|
|
46
46
|
"@types/node": "^22.0.0",
|
|
47
47
|
"@types/react": "^19.2.2",
|
|
48
48
|
"esbuild": "^0.25.0",
|