@50arms/plugin-sdk 0.2.73 → 0.2.74
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 +34 -6
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
108
108
|
}
|
|
109
109
|
type BehaviorSignoffStatus = "compliant" | "incompliant" | "rejected" | "not_applicable";
|
|
110
110
|
type SlotStatus = BehaviorSignoffStatus | "unverified";
|
|
111
|
-
type BehaviorRuleKind = "
|
|
111
|
+
type BehaviorRuleKind = "journey" | "destination";
|
|
112
112
|
type BehaviorSlotProblemState = "waiting_on_person" | "waiting_on_agent" | "accepted";
|
|
113
113
|
|
|
114
114
|
interface ReportedSlot {
|
|
@@ -132,6 +132,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
132
132
|
}
|
|
133
133
|
type EvidenceBlockType = "note" | "steps" | "command" | "table" | "code" | "diff" | "log" | "samples";
|
|
134
134
|
type EvidenceMadeBy = "human" | "agent";
|
|
135
|
+
interface EvidenceImplications {
|
|
136
|
+
change: string;
|
|
137
|
+
card_and_plan: string;
|
|
138
|
+
actions: string;
|
|
139
|
+
}
|
|
135
140
|
type EvidenceColumnType = "number" | "boolean" | "text" | "date";
|
|
136
141
|
type EvidenceChartKind = "line" | "time_series" | "bar";
|
|
137
142
|
type EvidenceAttachmentRole = "samples" | "file" | "csv";
|
|
@@ -296,6 +301,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
296
301
|
unverified: string[];
|
|
297
302
|
method: string | null;
|
|
298
303
|
reproduced_failure: boolean;
|
|
304
|
+
implications: EvidenceImplications;
|
|
299
305
|
}
|
|
300
306
|
interface EvidenceRaisedProblemView {
|
|
301
307
|
card_id: string;
|
|
@@ -329,6 +335,11 @@ declare module "@danxbot/card-kit@1" {
|
|
|
329
335
|
block_count: number;
|
|
330
336
|
gathered: boolean;
|
|
331
337
|
}
|
|
338
|
+
interface EvidenceArchivedView {
|
|
339
|
+
at: string;
|
|
340
|
+
by_user_id: number | null;
|
|
341
|
+
by_name: string;
|
|
342
|
+
}
|
|
332
343
|
interface DecisionRecordPage {
|
|
333
344
|
offset: number;
|
|
334
345
|
target_found: boolean | null;
|
|
@@ -382,7 +393,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
382
393
|
con: string;
|
|
383
394
|
recommended: boolean;
|
|
384
395
|
}
|
|
385
|
-
type
|
|
396
|
+
type ReviewChoiceKind = "reject" | "accept" | "revert" | "restore" | "inconclusive" | "archive";
|
|
386
397
|
type EvidenceReviewReason = "threshold" | "rejected_before" | "refreshed";
|
|
387
398
|
|
|
388
399
|
interface V2CopyComment {
|
|
@@ -574,6 +585,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
574
585
|
unverified: string[];
|
|
575
586
|
method: string | null;
|
|
576
587
|
reproduced_failure: boolean;
|
|
588
|
+
implications: EvidenceImplications;
|
|
577
589
|
approvals: V2CopyEvidenceApproval[];
|
|
578
590
|
}
|
|
579
591
|
interface V2CopyEvidenceBlockAttachment {
|
|
@@ -599,10 +611,16 @@ declare module "@danxbot/card-kit@1" {
|
|
|
599
611
|
created_at: string;
|
|
600
612
|
blocks: V2CopyEvidenceBlock[];
|
|
601
613
|
}
|
|
614
|
+
interface V2CopyEvidenceArchived {
|
|
615
|
+
at: string;
|
|
616
|
+
by_email: string | null;
|
|
617
|
+
by_name: string;
|
|
618
|
+
}
|
|
602
619
|
interface V2CopyEvidenceRecord {
|
|
603
620
|
ref_num: number;
|
|
604
621
|
last_exhibit_no: number;
|
|
605
622
|
created_at: string;
|
|
623
|
+
archived: V2CopyEvidenceArchived | null;
|
|
606
624
|
hypothesis_versions: V2CopyEvidenceHypothesisVersion[];
|
|
607
625
|
rounds: V2CopyEvidenceRound[];
|
|
608
626
|
verdict_versions: V2CopyEvidenceVerdictVersion[];
|
|
@@ -723,7 +741,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
723
741
|
steps: V2CopyStep[];
|
|
724
742
|
}
|
|
725
743
|
interface V2CopyDecisionChoice {
|
|
726
|
-
kind:
|
|
744
|
+
kind: ReviewChoiceKind;
|
|
727
745
|
version_no: number;
|
|
728
746
|
}
|
|
729
747
|
interface V2CopyDecisionReview {
|
|
@@ -1273,6 +1291,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1273
1291
|
readonly problems: readonly {
|
|
1274
1292
|
readonly ref_num: number;
|
|
1275
1293
|
readonly type: IssueProblemType;
|
|
1294
|
+
readonly shown_type: ShownProblemType;
|
|
1276
1295
|
readonly statement: string;
|
|
1277
1296
|
readonly created_at: string;
|
|
1278
1297
|
}[];
|
|
@@ -1790,6 +1809,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1790
1809
|
evidence_records?: undefined | (Array<{
|
|
1791
1810
|
hypothesis: EvidenceHypothesisVersionView;
|
|
1792
1811
|
verdict: null | EvidenceVerdictVersionView;
|
|
1812
|
+
archived: null | EvidenceArchivedView;
|
|
1793
1813
|
rev: number;
|
|
1794
1814
|
created_at: string;
|
|
1795
1815
|
updated_at: string;
|
|
@@ -1848,6 +1868,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1848
1868
|
unverified: Array<string>;
|
|
1849
1869
|
method: null | string;
|
|
1850
1870
|
reproduced_failure: boolean;
|
|
1871
|
+
implications: EvidenceImplications;
|
|
1851
1872
|
author: string;
|
|
1852
1873
|
by: AuthorV2;
|
|
1853
1874
|
via_key: null | ViaKey;
|
|
@@ -2033,6 +2054,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2033
2054
|
comment_count: number;
|
|
2034
2055
|
unread_comment_count: number;
|
|
2035
2056
|
issue_id: string;
|
|
2057
|
+
shown_type: "design" | "question" | "action" | "decision_review" | "behavior_rules" | "hypothesis_review" | "verdict_review";
|
|
2036
2058
|
feedback_consent: boolean;
|
|
2037
2059
|
choice_locked: boolean;
|
|
2038
2060
|
docs_land: boolean;
|
|
@@ -2047,7 +2069,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2047
2069
|
problem_ref_num: number;
|
|
2048
2070
|
record_ref: string;
|
|
2049
2071
|
answered_version_no: null | number;
|
|
2050
|
-
choices: Array<{ solution_id: number; kind:
|
|
2072
|
+
choices: Array<{ solution_id: number; kind: ReviewChoiceKind; version_no: number; title: string; }>;
|
|
2051
2073
|
versions?: undefined | (Array<{
|
|
2052
2074
|
text: string;
|
|
2053
2075
|
made_by: "human" | "agent";
|
|
@@ -2072,11 +2094,12 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2072
2094
|
}>);
|
|
2073
2095
|
}>);
|
|
2074
2096
|
evidence_review?: undefined | (Array<{
|
|
2097
|
+
title: string;
|
|
2075
2098
|
version_no: null | number;
|
|
2076
2099
|
problem_ref_num: number;
|
|
2077
2100
|
record_ref: string;
|
|
2078
2101
|
answered_version_no: null | number;
|
|
2079
|
-
choices: Array<{ solution_id: number; kind:
|
|
2102
|
+
choices: Array<{ solution_id: number; kind: ReviewChoiceKind; version_no: number; title: string; }>;
|
|
2080
2103
|
part: "hypothesis" | "verdict";
|
|
2081
2104
|
asked_because: null | "threshold" | "rejected_before" | "refreshed";
|
|
2082
2105
|
hypothesis_versions?: undefined | (Array<{
|
|
@@ -2114,6 +2137,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2114
2137
|
unverified: Array<string>;
|
|
2115
2138
|
method: null | string;
|
|
2116
2139
|
reproduced_failure: boolean;
|
|
2140
|
+
implications: EvidenceImplications;
|
|
2117
2141
|
author: string;
|
|
2118
2142
|
by: AuthorV2;
|
|
2119
2143
|
via_key: null | ViaKey;
|
|
@@ -2233,6 +2257,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2233
2257
|
type IssueStatus = "Review" | "ToDo" | "In Progress" | "Backlog" | "Done" | "Cancelled";
|
|
2234
2258
|
type EffortLevelName = "min" | "very_low" | "low" | "medium" | "high" | "very_high" | "max";
|
|
2235
2259
|
type IssueProblemType = "design" | "question" | "action" | "decision_review" | "evidence_review" | "behavior_rules";
|
|
2260
|
+
type ShownProblemType = "design" | "question" | "action" | "decision_review" | "behavior_rules" | "hypothesis_review" | "verdict_review";
|
|
2236
2261
|
type DecisionOutcome = "rejected" | "answered";
|
|
2237
2262
|
type GatingDependencyKind = "conflict_on" | "depends_on";
|
|
2238
2263
|
type IssueDependencyKind = GatingDependencyKind | "depends_on_landing";
|
|
@@ -2309,6 +2334,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2309
2334
|
triage_last_status: string;
|
|
2310
2335
|
triage_last_explain: string;
|
|
2311
2336
|
terminal_derived: boolean;
|
|
2337
|
+
cancelled_derived: boolean;
|
|
2312
2338
|
in_progress_derived: boolean;
|
|
2313
2339
|
dispatchable_derived: boolean;
|
|
2314
2340
|
triage_enabled: boolean;
|
|
@@ -2475,6 +2501,8 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2475
2501
|
quote: string | null;
|
|
2476
2502
|
quote_verified: boolean;
|
|
2477
2503
|
label: string;
|
|
2504
|
+
printed_ref: string;
|
|
2505
|
+
title: string | null;
|
|
2478
2506
|
url: string | null;
|
|
2479
2507
|
external: boolean;
|
|
2480
2508
|
author: AuthorV2 | null;
|
|
@@ -2538,7 +2566,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
2538
2566
|
dispatchId: string;
|
|
2539
2567
|
stop: "requested" | "unreachable";
|
|
2540
2568
|
}
|
|
2541
|
-
type ProblemCard = Pick<IssueViewV2, "id"> & Partial<Pick<IssueViewV2, "problems" | "open_problem_count">>;
|
|
2569
|
+
type ProblemCard = Pick<IssueViewV2, "id"> & Partial<Pick<IssueViewV2, "problems" | "open_problem_count" | "board_id">>;
|
|
2542
2570
|
|
|
2543
2571
|
interface LaneMoveRequest {
|
|
2544
2572
|
issueId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/plugin-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.74",
|
|
4
4
|
"description": "SDK for building 50 Arms plugins (DX-5170): the card kit's type declarations, the Widget declaration kit, 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",
|