@danxbot/plugin-sdk 0.2.23 → 0.2.25
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 +1 -16
- package/package.json +2 -2
package/dist/card-kit.d.ts
CHANGED
|
@@ -257,18 +257,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
257
257
|
content: string;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
type PreGateHold = {
|
|
261
|
-
kind: "awaiting_person";
|
|
262
|
-
} | {
|
|
263
|
-
kind: "repo_designs_setting_up";
|
|
264
|
-
plan: {
|
|
265
|
-
id: number;
|
|
266
|
-
name: string;
|
|
267
|
-
};
|
|
268
|
-
} | {
|
|
269
|
-
kind: "repo_designs_off";
|
|
270
|
-
};
|
|
271
|
-
|
|
272
260
|
interface CodeGateStatus {
|
|
273
261
|
gate: string;
|
|
274
262
|
status: QualityGateStatus;
|
|
@@ -328,8 +316,6 @@ declare module "@danxbot/card-kit@1" {
|
|
|
328
316
|
ancestor_blocked: boolean;
|
|
329
317
|
next_pre_gate: string | null;
|
|
330
318
|
next_code_gate: string | null;
|
|
331
|
-
pre_gate_hold: PreGateHold | null;
|
|
332
|
-
pre_gate_hold_reason: StatusReason | null;
|
|
333
319
|
blocking_gates: {
|
|
334
320
|
gate: string;
|
|
335
321
|
detail: string;
|
|
@@ -1127,11 +1113,10 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1127
1113
|
choiceLocked: boolean;
|
|
1128
1114
|
}
|
|
1129
1115
|
|
|
1130
|
-
function ProblemsSection({ cardId, problems, canAnswer,
|
|
1116
|
+
function ProblemsSection({ cardId, problems, canAnswer, mutation, }: {
|
|
1131
1117
|
cardId: string;
|
|
1132
1118
|
problems: ProblemAttention[];
|
|
1133
1119
|
canAnswer: boolean;
|
|
1134
|
-
designGatePending: boolean;
|
|
1135
1120
|
mutation: CardMutation;
|
|
1136
1121
|
}): react.JSX.Element;
|
|
1137
1122
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danxbot/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
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.
|
|
49
|
+
"@danxbot/ui": "27.44.1",
|
|
50
50
|
"@types/node": "^22.0.0",
|
|
51
51
|
"@types/react": "^19.2.2",
|
|
52
52
|
"esbuild": "^0.25.0",
|