@danxbot/plugin-sdk 0.2.25 → 0.2.26

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.
Files changed (2) hide show
  1. package/dist/card-kit.d.ts +16 -1
  2. package/package.json +1 -1
@@ -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.25",
3
+ "version": "0.2.26",
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",