@software-dlc/cli 0.178.0 → 0.181.0
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/CHANGELOG.md +16 -0
- package/dist/cli-snapshot.d.ts +19 -19
- package/dist/local/app-contract-readers.d.ts +214 -51
- package/dist/local/app-contract-readers.d.ts.map +1 -1
- package/dist/local/app-contract-readers.js +488 -78
- package/dist/local/app-contract-readers.js.map +1 -1
- package/dist/local/app-releases.d.ts +533 -0
- package/dist/local/app-releases.d.ts.map +1 -0
- package/dist/local/app-releases.js +504 -0
- package/dist/local/app-releases.js.map +1 -0
- package/dist/local/app-shell-readers.d.ts.map +1 -1
- package/dist/local/app-shell-readers.js +25 -1
- package/dist/local/app-shell-readers.js.map +1 -1
- package/dist/local/app-tasks-read.d.ts +5 -0
- package/dist/local/app-tasks-read.d.ts.map +1 -1
- package/dist/local/app-tasks-read.js +2 -1
- package/dist/local/app-tasks-read.js.map +1 -1
- package/dist/local/source-evidence/schema.d.ts +4 -4
- package/dist/local/task-context-observations.d.ts +18 -18
- package/dist/local/task-context-schema.d.ts +1 -1
- package/dist/local/workspace-viewer-server.d.ts.map +1 -1
- package/dist/local/workspace-viewer-server.js +7 -4
- package/dist/local/workspace-viewer-server.js.map +1 -1
- package/package.json +1 -1
- package/viewer/assets/index-Cn3EA1u8.js +394 -0
- package/viewer/assets/index-Pl5uLvHj.css +1 -0
- package/viewer/index.html +2 -2
- package/viewer/assets/index-Bzt2JRIb.js +0 -352
- package/viewer/assets/index-CH4QYLOL.css +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @software-dlc/cli
|
|
2
2
|
|
|
3
|
+
## 0.181.0
|
|
4
|
+
|
|
5
|
+
## 0.180.1
|
|
6
|
+
|
|
7
|
+
## 0.180.0
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- 7fa6b30: Graph: the Releases section of `sdlc viewer` is now the hosted app's Releases page, drawn on this checkout's Release records at `proj/<project>/releases`, and no longer opens the classic page. The list holds the candidate, the open Planned Releases and every Release by its label. A Release that did not change the app reads App unchanged, a withdrawn one names what replaced it, and a record that cannot be read is listed as such. The candidate shows its release batch, as `sdlc view` words it. A Release shows its Known issues, its release tracks with each package that moved, its Planned Releases delivery, and its Related threads, tasks, issues and tests. A Planned Release shows its order, members and serving threads. The selected item is the address's query (`?release=`, `?planned=`), and `releases`, `org/<org>/releases` and saved `#release=`, `#releases` and `#planned` links land there. `sdlc viewer` answers these reads under `api/app/releases`: `candidate/batch`, `<label>/related` and `planned/<id>`. A busy store answers 503 with a retry time.
|
|
12
|
+
|
|
13
|
+
## 0.179.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 0059c53: Graph: in `sdlc viewer`, a project's Issues open at `proj/<project>/issues`, the app's Support Issues page on this repository's issue store. The table is grouped by the board's groups (Not placed yet, Unowned, Routed, Being fixed, Resolved in the last 7 days), with search, Owner, Label, Urgent and Seen on filters and the collections. Each issue opens on a page of its own at `proj/<project>/issues/<id>` with what happens, placement, routing, labels and collections, anchors, sightings, history and related work, linked both ways with the Task page. The pages only read issues. Older `#issue=<id>`, `?section=issues` and `org/<org>/issues` links open the same pages.
|
|
18
|
+
|
|
3
19
|
## 0.178.0
|
|
4
20
|
|
|
5
21
|
## 0.177.0
|
package/dist/cli-snapshot.d.ts
CHANGED
|
@@ -130,9 +130,9 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
130
130
|
kind: "semantic_annotation";
|
|
131
131
|
data: {
|
|
132
132
|
source_evidence: {
|
|
133
|
-
status?: "candidate" | "accepted" | "
|
|
133
|
+
status?: "candidate" | "accepted" | "superseded" | "provisional" | "stale" | undefined;
|
|
134
134
|
symbolic_ref?: {
|
|
135
|
-
ref_type: "
|
|
135
|
+
ref_type: "route" | "table" | "external" | "patch_local" | "source_symbol" | "ui" | "concept";
|
|
136
136
|
name: string;
|
|
137
137
|
kind?: string | undefined;
|
|
138
138
|
file_path?: string | undefined;
|
|
@@ -154,7 +154,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
154
154
|
kind?: "tests" | "calls" | "renders" | "imports" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | undefined;
|
|
155
155
|
summary?: string | undefined;
|
|
156
156
|
confidence?: number | undefined;
|
|
157
|
-
status?: "candidate" | "accepted" | "
|
|
157
|
+
status?: "candidate" | "accepted" | "superseded" | "provisional" | "stale" | undefined;
|
|
158
158
|
} | undefined;
|
|
159
159
|
references?: {
|
|
160
160
|
path: string;
|
|
@@ -169,7 +169,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
169
169
|
kind?: "tests" | "calls" | "renders" | "imports" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | undefined;
|
|
170
170
|
summary?: string | undefined;
|
|
171
171
|
confidence?: number | undefined;
|
|
172
|
-
status?: "candidate" | "accepted" | "
|
|
172
|
+
status?: "candidate" | "accepted" | "superseded" | "provisional" | "stale" | undefined;
|
|
173
173
|
}[] | undefined;
|
|
174
174
|
confidence?: number | undefined;
|
|
175
175
|
summary?: string | undefined;
|
|
@@ -183,7 +183,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
183
183
|
contract_version: "evidence-reference-v1";
|
|
184
184
|
references: {
|
|
185
185
|
reference_id: string;
|
|
186
|
-
source_class: "
|
|
186
|
+
source_class: "file" | "message" | "document" | "design" | "source_code" | "work_item" | "comment" | "runtime" | "external_record";
|
|
187
187
|
provider_key: string;
|
|
188
188
|
profile_version: number;
|
|
189
189
|
resource: {
|
|
@@ -191,7 +191,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
191
191
|
id: string;
|
|
192
192
|
display_key?: string | undefined;
|
|
193
193
|
};
|
|
194
|
-
relations: ("tests" | "calls" | "renders" | "implements" | "imports" | "verifies" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | "supports" | "contradicts" | "decides" | "approves" | "discusses" | "illustrates"
|
|
194
|
+
relations: ("tests" | "tracks" | "calls" | "renders" | "implements" | "imports" | "verifies" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | "supports" | "contradicts" | "decides" | "approves" | "discusses" | "illustrates")[];
|
|
195
195
|
provider_instance_id?: string | undefined;
|
|
196
196
|
tenant_id?: string | undefined;
|
|
197
197
|
ancestors?: {
|
|
@@ -213,17 +213,17 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
213
213
|
origin?: "legacy_v1" | undefined;
|
|
214
214
|
canonical_url?: string | undefined;
|
|
215
215
|
content_digest?: string | undefined;
|
|
216
|
-
review_status?: "candidate" | "accepted" | "
|
|
216
|
+
review_status?: "candidate" | "accepted" | "superseded" | "provisional" | undefined;
|
|
217
217
|
summary?: string | undefined;
|
|
218
218
|
confidence?: number | undefined;
|
|
219
219
|
claim_object_hash?: `sha256:${string}` | undefined;
|
|
220
220
|
}[];
|
|
221
221
|
primary_reference_id?: string | undefined;
|
|
222
|
-
review_status?: "candidate" | "accepted" | "
|
|
222
|
+
review_status?: "candidate" | "accepted" | "superseded" | "provisional" | undefined;
|
|
223
223
|
summary?: string | undefined;
|
|
224
224
|
confidence?: number | undefined;
|
|
225
225
|
symbolic_ref?: {
|
|
226
|
-
ref_type: "
|
|
226
|
+
ref_type: "route" | "table" | "external" | "patch_local" | "source_symbol" | "ui" | "concept";
|
|
227
227
|
name: string;
|
|
228
228
|
kind?: string | undefined;
|
|
229
229
|
file_path?: string | undefined;
|
|
@@ -242,7 +242,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
242
242
|
contract_version: "evidence-reference-v1";
|
|
243
243
|
references: {
|
|
244
244
|
reference_id: string;
|
|
245
|
-
source_class: "
|
|
245
|
+
source_class: "file" | "message" | "document" | "design" | "source_code" | "work_item" | "comment" | "runtime" | "external_record";
|
|
246
246
|
provider_key: string;
|
|
247
247
|
profile_version: number;
|
|
248
248
|
resource: {
|
|
@@ -250,7 +250,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
250
250
|
id: string;
|
|
251
251
|
display_key?: string | undefined;
|
|
252
252
|
};
|
|
253
|
-
relations: ("tests" | "calls" | "renders" | "implements" | "imports" | "verifies" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | "supports" | "contradicts" | "decides" | "approves" | "discusses" | "illustrates"
|
|
253
|
+
relations: ("tests" | "tracks" | "calls" | "renders" | "implements" | "imports" | "verifies" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | "supports" | "contradicts" | "decides" | "approves" | "discusses" | "illustrates")[];
|
|
254
254
|
provider_instance_id?: string | undefined;
|
|
255
255
|
tenant_id?: string | undefined;
|
|
256
256
|
ancestors?: {
|
|
@@ -272,17 +272,17 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
272
272
|
origin?: "legacy_v1" | undefined;
|
|
273
273
|
canonical_url?: string | undefined;
|
|
274
274
|
content_digest?: string | undefined;
|
|
275
|
-
review_status?: "candidate" | "accepted" | "
|
|
275
|
+
review_status?: "candidate" | "accepted" | "superseded" | "provisional" | undefined;
|
|
276
276
|
summary?: string | undefined;
|
|
277
277
|
confidence?: number | undefined;
|
|
278
278
|
claim_object_hash?: `sha256:${string}` | undefined;
|
|
279
279
|
}[];
|
|
280
280
|
primary_reference_id?: string | undefined;
|
|
281
|
-
review_status?: "candidate" | "accepted" | "
|
|
281
|
+
review_status?: "candidate" | "accepted" | "superseded" | "provisional" | undefined;
|
|
282
282
|
summary?: string | undefined;
|
|
283
283
|
confidence?: number | undefined;
|
|
284
284
|
symbolic_ref?: {
|
|
285
|
-
ref_type: "
|
|
285
|
+
ref_type: "route" | "table" | "external" | "patch_local" | "source_symbol" | "ui" | "concept";
|
|
286
286
|
name: string;
|
|
287
287
|
kind?: string | undefined;
|
|
288
288
|
file_path?: string | undefined;
|
|
@@ -301,7 +301,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
301
301
|
contract_version: "evidence-reference-v1";
|
|
302
302
|
references: {
|
|
303
303
|
reference_id: string;
|
|
304
|
-
source_class: "
|
|
304
|
+
source_class: "file" | "message" | "document" | "design" | "source_code" | "work_item" | "comment" | "runtime" | "external_record";
|
|
305
305
|
provider_key: string;
|
|
306
306
|
profile_version: number;
|
|
307
307
|
resource: {
|
|
@@ -309,7 +309,7 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
309
309
|
id: string;
|
|
310
310
|
display_key?: string | undefined;
|
|
311
311
|
};
|
|
312
|
-
relations: ("tests" | "calls" | "renders" | "implements" | "imports" | "verifies" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | "supports" | "contradicts" | "decides" | "approves" | "discusses" | "illustrates"
|
|
312
|
+
relations: ("tests" | "tracks" | "calls" | "renders" | "implements" | "imports" | "verifies" | "references" | "defines" | "configures" | "migrates" | "persists" | "infers" | "supports" | "contradicts" | "decides" | "approves" | "discusses" | "illustrates")[];
|
|
313
313
|
provider_instance_id?: string | undefined;
|
|
314
314
|
tenant_id?: string | undefined;
|
|
315
315
|
ancestors?: {
|
|
@@ -331,17 +331,17 @@ export declare function inspectSnapshotCommand(input: {
|
|
|
331
331
|
origin?: "legacy_v1" | undefined;
|
|
332
332
|
canonical_url?: string | undefined;
|
|
333
333
|
content_digest?: string | undefined;
|
|
334
|
-
review_status?: "candidate" | "accepted" | "
|
|
334
|
+
review_status?: "candidate" | "accepted" | "superseded" | "provisional" | undefined;
|
|
335
335
|
summary?: string | undefined;
|
|
336
336
|
confidence?: number | undefined;
|
|
337
337
|
claim_object_hash?: `sha256:${string}` | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
primary_reference_id?: string | undefined;
|
|
340
|
-
review_status?: "candidate" | "accepted" | "
|
|
340
|
+
review_status?: "candidate" | "accepted" | "superseded" | "provisional" | undefined;
|
|
341
341
|
summary?: string | undefined;
|
|
342
342
|
confidence?: number | undefined;
|
|
343
343
|
symbolic_ref?: {
|
|
344
|
-
ref_type: "
|
|
344
|
+
ref_type: "route" | "table" | "external" | "patch_local" | "source_symbol" | "ui" | "concept";
|
|
345
345
|
name: string;
|
|
346
346
|
kind?: string | undefined;
|
|
347
347
|
file_path?: string | undefined;
|
|
@@ -10,7 +10,10 @@ import { type TaskModel } from './app-tasks-read.js';
|
|
|
10
10
|
* sections after Holds (tasks/<id>/sections, the same page read) and its Related
|
|
11
11
|
* (tasks/<id>/related, release_links.py trace);
|
|
12
12
|
* - issues: the local issue command (`issue list --all`, `issue show`);
|
|
13
|
-
* - releases: release_history.py, the Releases view's read of every Release and the candidate
|
|
13
|
+
* - releases: release_history.py, the Releases view's read of every Release and the candidate;
|
|
14
|
+
* release_plan.py list, the open Planned Releases; release_links.py view, a Release's Related and a
|
|
15
|
+
* Planned Release (with release_links.py threads for the threads serving it); and the board read's
|
|
16
|
+
* release batch for the candidate's card (la-releases, app-releases.ts maps them).
|
|
14
17
|
*
|
|
15
18
|
* A store a writer holds locked, or one that kept changing during the read, answers 503 with
|
|
16
19
|
* retry: the page may read again in a moment. Any other failure is said on the viewer's terminal and
|
|
@@ -54,6 +57,8 @@ export type AppContractReaderInput = {
|
|
|
54
57
|
model?: TaskModel;
|
|
55
58
|
run?: EngineRun;
|
|
56
59
|
now?: () => number;
|
|
60
|
+
/** Whether the engine has a script; absent, the file system answers. Older view code lacks release_links.py. */
|
|
61
|
+
exists?: (script: string) => boolean;
|
|
57
62
|
};
|
|
58
63
|
/** The reader, and what drops its kept Tasks reads after a write (a Done) changed them. */
|
|
59
64
|
export type AppContractReader = ((route: AppContractRoute) => Promise<AppContractAnswer>) & {
|
|
@@ -165,8 +170,214 @@ export declare function localIssue(row: Record<string, unknown>): {
|
|
|
165
170
|
resolved_at: string | null;
|
|
166
171
|
closed_at: null;
|
|
167
172
|
};
|
|
173
|
+
/** The parts of tools/vscode-threads/model.js the Issues list reads (la-issues). */
|
|
174
|
+
export type IssueModel = {
|
|
175
|
+
ISSUE_GROUPS: [string, string][];
|
|
176
|
+
issueBoard: (input: {
|
|
177
|
+
issues: unknown[];
|
|
178
|
+
backlog: unknown[] | null;
|
|
179
|
+
threads: {
|
|
180
|
+
key: string;
|
|
181
|
+
title: string;
|
|
182
|
+
}[];
|
|
183
|
+
now: number;
|
|
184
|
+
}) => {
|
|
185
|
+
groups: {
|
|
186
|
+
key: string;
|
|
187
|
+
label: string;
|
|
188
|
+
rows: Record<string, unknown>[];
|
|
189
|
+
}[];
|
|
190
|
+
collections?: Record<string, unknown>[];
|
|
191
|
+
counted?: Record<string, string>;
|
|
192
|
+
};
|
|
193
|
+
issueMatches: (row: Record<string, unknown>, filter: Record<string, unknown>) => boolean;
|
|
194
|
+
issueBadgeWord: (issue: unknown, listed: Map<string, unknown> | null) => {
|
|
195
|
+
word: string;
|
|
196
|
+
settled: boolean;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
declare const SEEN_ENVS: readonly ["local", "staging", "production"];
|
|
200
|
+
/** The list's local filters, as the route's query gives them; unknown values are refused. */
|
|
201
|
+
export declare function issueQuery(query: URLSearchParams): {
|
|
202
|
+
collection?: string | undefined;
|
|
203
|
+
labels?: string[] | undefined;
|
|
204
|
+
seen?: string[] | undefined;
|
|
205
|
+
urgent?: boolean | undefined;
|
|
206
|
+
owner?: string | undefined;
|
|
207
|
+
search?: string | undefined;
|
|
208
|
+
};
|
|
209
|
+
/** What the list's issues read keeps of `issue list --all`, as core.js keepIssues does. */
|
|
210
|
+
export declare function recentIssues(rows: Record<string, unknown>[], nowSec: number): Record<string, unknown>[];
|
|
211
|
+
/**
|
|
212
|
+
* An issue's board group without the backlog read, as model.js issueGroup words it with `listed`
|
|
213
|
+
* null: an escalated issue no handoff or release batch took counts as unowned.
|
|
214
|
+
*/
|
|
215
|
+
export declare function issueGroupOf(row: Record<string, unknown>): string;
|
|
216
|
+
export type IssueListInput = {
|
|
217
|
+
/** `issue list --all`'s issues. */
|
|
218
|
+
issues: Record<string, unknown>[];
|
|
219
|
+
/** `issue backlog`'s backlog. */
|
|
220
|
+
backlog: Record<string, unknown>[];
|
|
221
|
+
/** The threads the board names ({key, title}), for owner names. */
|
|
222
|
+
threads: {
|
|
223
|
+
key: string;
|
|
224
|
+
title: string;
|
|
225
|
+
}[];
|
|
226
|
+
filter: ReturnType<typeof issueQuery> & {
|
|
227
|
+
status?: string | null;
|
|
228
|
+
};
|
|
229
|
+
model: IssueModel;
|
|
230
|
+
/** Epoch seconds. */
|
|
231
|
+
now: number;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* The local Issues list (la-issues): the issues the VS Code Issues tab lists (model.js issueBoard
|
|
235
|
+
* over core.js keepIssues' read), in board order, narrowed by model.js issueMatches, with the
|
|
236
|
+
* groups the narrowing kept, the toolbar's counts over every listed issue and the collections.
|
|
237
|
+
* The owner narrows exactly, as the page's Owner select names it ('none': no owner), not by
|
|
238
|
+
* issueMatches' part of a title, so it keeps what the owner facet counts.
|
|
239
|
+
*/
|
|
240
|
+
export declare function localIssueList({ issues, backlog, threads, filter, model, now }: IssueListInput): {
|
|
241
|
+
issues: {
|
|
242
|
+
group: string;
|
|
243
|
+
status_word: string;
|
|
244
|
+
urgent: boolean;
|
|
245
|
+
owner_title: string | null;
|
|
246
|
+
labels: string[];
|
|
247
|
+
collections: {
|
|
248
|
+
collection: string;
|
|
249
|
+
title: string;
|
|
250
|
+
ref: string | null;
|
|
251
|
+
}[];
|
|
252
|
+
seen: string | null;
|
|
253
|
+
placement: string | null;
|
|
254
|
+
occurrences?: number | undefined;
|
|
255
|
+
id: string;
|
|
256
|
+
project_id: string;
|
|
257
|
+
title: string;
|
|
258
|
+
description: string;
|
|
259
|
+
external_reference: string | null;
|
|
260
|
+
status: string;
|
|
261
|
+
resolution_reason: string | null;
|
|
262
|
+
priority: null;
|
|
263
|
+
assignee_id: null;
|
|
264
|
+
assignee_username: string | null;
|
|
265
|
+
assignee_can_act: null;
|
|
266
|
+
created_by: string | null;
|
|
267
|
+
created_by_username: string | null;
|
|
268
|
+
revision: number;
|
|
269
|
+
created_at: string;
|
|
270
|
+
updated_at: string;
|
|
271
|
+
resolved_at: string | null;
|
|
272
|
+
closed_at: null;
|
|
273
|
+
}[];
|
|
274
|
+
total: number;
|
|
275
|
+
local: {
|
|
276
|
+
read_at: string;
|
|
277
|
+
scope: "project" | "folder";
|
|
278
|
+
folder: string | null;
|
|
279
|
+
groups: {
|
|
280
|
+
key: string;
|
|
281
|
+
label: string;
|
|
282
|
+
count: number;
|
|
283
|
+
}[];
|
|
284
|
+
facets: {
|
|
285
|
+
owners: {
|
|
286
|
+
key: string;
|
|
287
|
+
title: string;
|
|
288
|
+
count: number;
|
|
289
|
+
}[];
|
|
290
|
+
labels: {
|
|
291
|
+
label: string;
|
|
292
|
+
count: number;
|
|
293
|
+
}[];
|
|
294
|
+
urgent: number;
|
|
295
|
+
seen: Record<(typeof SEEN_ENVS)[number], number>;
|
|
296
|
+
};
|
|
297
|
+
listed: number;
|
|
298
|
+
collections: {
|
|
299
|
+
collection: string;
|
|
300
|
+
title: string;
|
|
301
|
+
resolved: number;
|
|
302
|
+
total: number;
|
|
303
|
+
updated_at: string;
|
|
304
|
+
}[];
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
/** A thread key, execution or tool as the issue page names it (model.js issueNamer). */
|
|
308
|
+
export declare function issueNamer(threads: {
|
|
309
|
+
key: string;
|
|
310
|
+
title: string;
|
|
311
|
+
}[]): (key: string) => string;
|
|
312
|
+
/**
|
|
313
|
+
* `issue show`'s issue as the local issue page's sections: placement, what happens, routing, its
|
|
314
|
+
* anchors, the latest sightings, its labels and collections (counted as the board counts them),
|
|
315
|
+
* and what it duplicates.
|
|
316
|
+
*/
|
|
317
|
+
export declare function localIssueSections(shown: Record<string, unknown>, { nameOf, counted }: {
|
|
318
|
+
nameOf: (key: string) => string;
|
|
319
|
+
counted: Map<string, {
|
|
320
|
+
resolved: number;
|
|
321
|
+
total: number;
|
|
322
|
+
}>;
|
|
323
|
+
}): {
|
|
324
|
+
placement: {
|
|
325
|
+
placed: string | null;
|
|
326
|
+
unplaced_why: string | null;
|
|
327
|
+
};
|
|
328
|
+
report: {
|
|
329
|
+
actual: string | null;
|
|
330
|
+
expected: string | null;
|
|
331
|
+
steps: string[];
|
|
332
|
+
where: {
|
|
333
|
+
env: string | null;
|
|
334
|
+
sha: string | null;
|
|
335
|
+
} | null;
|
|
336
|
+
};
|
|
337
|
+
routing: {
|
|
338
|
+
route: string | null;
|
|
339
|
+
owner: string | null;
|
|
340
|
+
none: boolean;
|
|
341
|
+
};
|
|
342
|
+
anchors: {
|
|
343
|
+
kind: string;
|
|
344
|
+
value: string;
|
|
345
|
+
by: string | null;
|
|
346
|
+
}[];
|
|
347
|
+
seen: {
|
|
348
|
+
at: string;
|
|
349
|
+
env: string | null;
|
|
350
|
+
sha: string | null;
|
|
351
|
+
who: string | null;
|
|
352
|
+
note: string | null;
|
|
353
|
+
}[];
|
|
354
|
+
labels: string[];
|
|
355
|
+
collections: {
|
|
356
|
+
resolved: number;
|
|
357
|
+
total: number;
|
|
358
|
+
collection: string;
|
|
359
|
+
title: string;
|
|
360
|
+
ref: string | null;
|
|
361
|
+
}[];
|
|
362
|
+
duplicate_of: string | null;
|
|
363
|
+
reporter: string | null;
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* release_links.py view --issue's answer as the Related table's rows: the threads, the fix tasks,
|
|
367
|
+
* the issue it duplicates and those duplicating it, the releases that fixed, are fixing or plan to
|
|
368
|
+
* fix it, and what found it and the checks that ran on its fix's landings. The view prints the
|
|
369
|
+
* threads' titles inside its issue (issue_threads), and `duplicate_of` names the issue the shown
|
|
370
|
+
* one duplicates (issue show's), since its issue rows carry no relation of their own.
|
|
371
|
+
*/
|
|
372
|
+
export declare function localIssueRelated(view: Record<string, unknown>, duplicate_of?: string | null): {
|
|
373
|
+
kind: "thread" | "task" | "issue" | "release" | "test";
|
|
374
|
+
id: string;
|
|
375
|
+
label: string;
|
|
376
|
+
relation: string;
|
|
377
|
+
planned?: boolean;
|
|
378
|
+
}[];
|
|
168
379
|
/** A local issue's history as the Maintain issue's events. */
|
|
169
|
-
export declare function localIssueEvents(history: unknown[]): {
|
|
380
|
+
export declare function localIssueEvents(history: unknown[], nameOf?: (key: string) => string): {
|
|
170
381
|
id: number;
|
|
171
382
|
kind: string;
|
|
172
383
|
fields: never[];
|
|
@@ -181,55 +392,7 @@ export declare function localIssueEvents(history: unknown[]): {
|
|
|
181
392
|
created_at: string;
|
|
182
393
|
note: string;
|
|
183
394
|
}[];
|
|
184
|
-
|
|
185
|
-
* One of release_history.py's Releases in the hosted Release's shape. Its version is its label (the
|
|
186
|
-
* app version, or its batch when it has no app section, so two Releases never share one); the
|
|
187
|
-
* previous Release is the next older one listed, given by the caller.
|
|
188
|
-
*/
|
|
189
|
-
export declare function localRelease(entry: Record<string, unknown>, previous: Record<string, unknown> | undefined): {
|
|
190
|
-
landings?: number | undefined;
|
|
191
|
-
id: string;
|
|
192
|
-
version: string;
|
|
193
|
-
computed_bump: string | null;
|
|
194
|
-
bump: string | null;
|
|
195
|
-
declared_reason: string | null;
|
|
196
|
-
declared_by_name: string | null;
|
|
197
|
-
source_judged: boolean;
|
|
198
|
-
marks_approximate: boolean;
|
|
199
|
-
written_by_name: null;
|
|
200
|
-
written_at: string;
|
|
201
|
-
previous_release_id: string | null;
|
|
202
|
-
breaking: boolean;
|
|
203
|
-
commit: string | null;
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
206
|
-
* release_history.py's candidate as the hosted candidate. Its previous Release is the newest one
|
|
207
|
-
* listed, given by the caller and named by its label as the list names it (the candidate's own
|
|
208
|
-
* `previous` is that Release's app version, which a Release with no app section shares).
|
|
209
|
-
*/
|
|
210
|
-
export declare function localCandidate(entry: Record<string, unknown>, newest: Record<string, unknown> | undefined): {
|
|
211
|
-
head_commit_id: string;
|
|
212
|
-
previous_release: {
|
|
213
|
-
id: string;
|
|
214
|
-
version: string;
|
|
215
|
-
} | null;
|
|
216
|
-
next_version: string;
|
|
217
|
-
version: string;
|
|
218
|
-
commits_since: number | null;
|
|
219
|
-
classification: {
|
|
220
|
-
bump: "patch" | "minor" | "major";
|
|
221
|
-
marks_approximate: boolean;
|
|
222
|
-
} | null;
|
|
223
|
-
changes: {
|
|
224
|
-
node_id: string;
|
|
225
|
-
node_type: string;
|
|
226
|
-
label: string;
|
|
227
|
-
change: string;
|
|
228
|
-
bump: null;
|
|
229
|
-
why: string | null;
|
|
230
|
-
modeling_only: boolean;
|
|
231
|
-
}[];
|
|
232
|
-
};
|
|
395
|
+
export { localCandidate, localRelease } from './app-releases.js';
|
|
233
396
|
/** The read behind sdlc viewer's api/app/ routes. */
|
|
234
397
|
export declare function appContractReader(input: AppContractReaderInput): AppContractReader;
|
|
235
398
|
//# sourceMappingURL=app-contract-readers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-contract-readers.d.ts","sourceRoot":"","sources":["../../src/local/app-contract-readers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-contract-readers.d.ts","sourceRoot":"","sources":["../../src/local/app-contract-readers.ts"],"names":[],"mappings":"AAMA,OAAO,EASL,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAY7B;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,kGAAkG;AAClG,MAAM,MAAM,gBAAgB,GAAG;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,eAAe,CAAA;CAAE,CAAC;AAE9E,wFAAwF;AACxF,MAAM,MAAM,iBAAiB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAElE,sGAAsG;AACtG,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE5E,+CAA+C;AAC/C,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACh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