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