@50arms/plugin-sdk 0.2.64 → 0.2.65
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 +17 -0
- package/package.json +1 -1
package/dist/card-kit.d.ts
CHANGED
|
@@ -852,6 +852,13 @@ declare module "@danxbot/card-kit@1" {
|
|
|
852
852
|
before_tokens: number | null;
|
|
853
853
|
after_tokens: number | null;
|
|
854
854
|
}
|
|
855
|
+
type ReleasingRegistrationState = "waiting" | "registered" | "batched" | "landed";
|
|
856
|
+
interface DependencyLanding {
|
|
857
|
+
readonly registration_id: number;
|
|
858
|
+
readonly state: ReleasingRegistrationState;
|
|
859
|
+
readonly sha: string;
|
|
860
|
+
readonly branch: string;
|
|
861
|
+
}
|
|
855
862
|
|
|
856
863
|
type PreGateHold = {
|
|
857
864
|
kind: "awaiting_person";
|
|
@@ -961,15 +968,24 @@ declare module "@danxbot/card-kit@1" {
|
|
|
961
968
|
orchestrator_profile: string | null;
|
|
962
969
|
}
|
|
963
970
|
|
|
971
|
+
interface StackedOnWire {
|
|
972
|
+
card: string;
|
|
973
|
+
state: PartnerState;
|
|
974
|
+
shas: string[];
|
|
975
|
+
}
|
|
976
|
+
type PartnerState = "live" | "cancelled" | "deleted";
|
|
977
|
+
|
|
964
978
|
interface LandingAheadRegistration {
|
|
965
979
|
readonly card: CardRef;
|
|
966
980
|
readonly sha: string;
|
|
967
981
|
readonly state: "landing" | "queued";
|
|
968
982
|
readonly docs_root: string | null;
|
|
983
|
+
readonly stacked_on: readonly StackedOnWire[];
|
|
969
984
|
}
|
|
970
985
|
interface LandingAheadView {
|
|
971
986
|
readonly target_branch: string;
|
|
972
987
|
readonly docs_root: string | null;
|
|
988
|
+
readonly stacked_on: readonly StackedOnWire[];
|
|
973
989
|
readonly ahead: readonly LandingAheadRegistration[];
|
|
974
990
|
}
|
|
975
991
|
type CardContextCategoryKey = "comments" | "checklists" | "content" | "agent_notes" | "problems" | "decisions" | "designs";
|
|
@@ -1276,6 +1292,7 @@ declare module "@danxbot/card-kit@1" {
|
|
|
1276
1292
|
waiting_on_gate?: undefined | null | WaitingOnViewV2;
|
|
1277
1293
|
waiting_on_dep_ids?: undefined | Record<string, number>;
|
|
1278
1294
|
dependency_pull_requests?: undefined | Record<string, DependencyPullRequestViewV2>;
|
|
1295
|
+
dependency_landings?: undefined | Record<string, DependencyLanding>;
|
|
1279
1296
|
conflict_on?: undefined | Array<ConflictEntryViewV2>;
|
|
1280
1297
|
conflict_on_reverse?: undefined | Array<ConflictEntryViewV2>;
|
|
1281
1298
|
conflict_on_partners?: undefined | Record<string, { status: IssueStatus; title: 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.65",
|
|
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",
|