@goodbones/core 0.1.0-beta.10 → 0.1.0-beta.11
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/build/dts/core/structure.d.ts.map +1 -1
- package/build/dts/domain/architecture-config.d.ts +3 -310
- package/build/dts/domain/architecture-config.d.ts.map +1 -1
- package/build/dts/domain/snapshot.d.ts +150 -18
- package/build/dts/domain/snapshot.d.ts.map +1 -1
- package/build/dts/index.d.ts +11 -14
- package/build/dts/index.d.ts.map +1 -1
- package/build/dts/infrastructure/file-system-fake.d.ts.map +1 -1
- package/build/dts/infrastructure/file-system-live.d.ts.map +1 -1
- package/build/dts/infrastructure/walk.d.ts +6 -1
- package/build/dts/infrastructure/walk.d.ts.map +1 -1
- package/build/dts/load/extension.d.ts +33 -0
- package/build/dts/load/extension.d.ts.map +1 -0
- package/build/dts/load/policy.d.ts +4 -10
- package/build/dts/load/policy.d.ts.map +1 -1
- package/build/dts/manifest/compile.d.ts +7 -2
- package/build/dts/manifest/compile.d.ts.map +1 -1
- package/build/dts/manifest/extension.d.ts +8 -0
- package/build/dts/manifest/extension.d.ts.map +1 -0
- package/build/dts/manifest/glob.d.ts +1 -0
- package/build/dts/manifest/glob.d.ts.map +1 -1
- package/build/dts/manifest/json-schema.d.ts +6 -2
- package/build/dts/manifest/json-schema.d.ts.map +1 -1
- package/build/dts/manifest/manifest.d.ts +7 -362
- package/build/dts/manifest/manifest.d.ts.map +1 -1
- package/build/dts/ports/file-system.d.ts +1 -0
- package/build/dts/ports/file-system.d.ts.map +1 -1
- package/build/dts/testing.d.ts +0 -1
- package/build/dts/testing.d.ts.map +1 -1
- package/build/esm/core/structure.js +1 -1
- package/build/esm/core/structure.js.map +1 -1
- package/build/esm/domain/architecture-config.js +3 -136
- package/build/esm/domain/architecture-config.js.map +1 -1
- package/build/esm/domain/snapshot.js +55 -15
- package/build/esm/domain/snapshot.js.map +1 -1
- package/build/esm/index.js +16 -10
- package/build/esm/index.js.map +1 -1
- package/build/esm/infrastructure/file-system-fake.js +10 -0
- package/build/esm/infrastructure/file-system-fake.js.map +1 -1
- package/build/esm/infrastructure/file-system-live.js +9 -1
- package/build/esm/infrastructure/file-system-live.js.map +1 -1
- package/build/esm/infrastructure/walk.js +50 -4
- package/build/esm/infrastructure/walk.js.map +1 -1
- package/build/esm/load/extension.js +2 -0
- package/build/esm/load/extension.js.map +1 -0
- package/build/esm/load/policy.js +43 -116
- package/build/esm/load/policy.js.map +1 -1
- package/build/esm/manifest/compile.js +3 -182
- package/build/esm/manifest/compile.js.map +1 -1
- package/build/esm/manifest/extension.js +2 -0
- package/build/esm/manifest/extension.js.map +1 -0
- package/build/esm/manifest/glob.js +3 -0
- package/build/esm/manifest/glob.js.map +1 -1
- package/build/esm/manifest/json-schema.js +45 -11
- package/build/esm/manifest/json-schema.js.map +1 -1
- package/build/esm/manifest/manifest.js +56 -172
- package/build/esm/manifest/manifest.js.map +1 -1
- package/build/esm/testing.js +0 -1
- package/build/esm/testing.js.map +1 -1
- package/package.json +1 -1
- package/schema/architecture-node.schema.json +0 -887
- package/schema/architecture.schema.json +3264 -1591
- package/schema/conformance.schema.json +291 -47
- package/src/core/structure.ts +5 -3
- package/src/domain/architecture-config.ts +3 -180
- package/src/domain/snapshot.ts +125 -25
- package/src/index.ts +51 -78
- package/src/infrastructure/file-system-fake.ts +12 -0
- package/src/infrastructure/file-system-live.ts +8 -1
- package/src/infrastructure/walk.ts +58 -3
- package/src/load/extension.ts +66 -0
- package/src/load/policy.ts +60 -175
- package/src/manifest/compile.ts +2 -213
- package/src/manifest/extension.ts +41 -0
- package/src/manifest/glob.ts +5 -0
- package/src/manifest/json-schema.ts +53 -11
- package/src/manifest/manifest.ts +82 -214
- package/src/ports/file-system.ts +3 -0
- package/src/testing.ts +0 -1
- package/build/dts/core/campaigns.d.ts +0 -141
- package/build/dts/core/campaigns.d.ts.map +0 -1
- package/build/dts/core/ledger.d.ts +0 -61
- package/build/dts/core/ledger.d.ts.map +0 -1
- package/build/dts/domain/report.d.ts +0 -16
- package/build/dts/domain/report.d.ts.map +0 -1
- package/build/dts/infrastructure/campaign-functions.d.ts +0 -7
- package/build/dts/infrastructure/campaign-functions.d.ts.map +0 -1
- package/build/dts/infrastructure/report-source-fake.d.ts +0 -4
- package/build/dts/infrastructure/report-source-fake.d.ts.map +0 -1
- package/build/dts/infrastructure/report-source-live.d.ts +0 -3
- package/build/dts/infrastructure/report-source-live.d.ts.map +0 -1
- package/build/dts/ports/campaign-predicate.d.ts +0 -24
- package/build/dts/ports/campaign-predicate.d.ts.map +0 -1
- package/build/dts/ports/report-source.d.ts +0 -14
- package/build/dts/ports/report-source.d.ts.map +0 -1
- package/build/esm/core/campaigns.js +0 -778
- package/build/esm/core/campaigns.js.map +0 -1
- package/build/esm/core/ledger.js +0 -171
- package/build/esm/core/ledger.js.map +0 -1
- package/build/esm/domain/report.js +0 -168
- package/build/esm/domain/report.js.map +0 -1
- package/build/esm/infrastructure/campaign-functions.js +0 -67
- package/build/esm/infrastructure/campaign-functions.js.map +0 -1
- package/build/esm/infrastructure/report-source-fake.js +0 -6
- package/build/esm/infrastructure/report-source-fake.js.map +0 -1
- package/build/esm/infrastructure/report-source-live.js +0 -165
- package/build/esm/infrastructure/report-source-live.js.map +0 -1
- package/build/esm/ports/campaign-predicate.js +0 -2
- package/build/esm/ports/campaign-predicate.js.map +0 -1
- package/build/esm/ports/report-source.js +0 -7
- package/build/esm/ports/report-source.js.map +0 -1
- package/src/core/campaigns.ts +0 -1056
- package/src/core/ledger.ts +0 -242
- package/src/domain/report.ts +0 -203
- package/src/infrastructure/campaign-functions.ts +0 -98
- package/src/infrastructure/report-source-fake.ts +0 -10
- package/src/infrastructure/report-source-live.ts +0 -192
- package/src/ports/campaign-predicate.ts +0 -30
- package/src/ports/report-source.ts +0 -35
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structure.d.ts","sourceRoot":"","sources":["../../../src/core/structure.ts"],"names":[],"mappings":"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,iBAAiB,KAC3B,aAAa,CAAC,MAAM,CAsCtB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const PatternList: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
2
3
|
export declare const ImportProbeTarget: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
3
4
|
readonly external: Schema.String;
|
|
4
5
|
}>, Schema.Struct<{
|
|
@@ -59,7 +60,7 @@ export declare const ResolveConfig: Schema.Struct<{
|
|
|
59
60
|
readonly ignoreUnresolved: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
60
61
|
}>;
|
|
61
62
|
export declare const ExportFix: Schema.Literals<readonly ["subpath-namespace-import"]>;
|
|
62
|
-
declare const BindingKind: Schema.Literals<readonly ["named", "default", "namespace"]>;
|
|
63
|
+
export declare const BindingKind: Schema.Literals<readonly ["named", "default", "namespace"]>;
|
|
63
64
|
declare const ExportProbe: Schema.Struct<{
|
|
64
65
|
readonly from: Schema.String;
|
|
65
66
|
readonly to: Schema.String;
|
|
@@ -86,7 +87,7 @@ export declare const ExportRule: Schema.Struct<{
|
|
|
86
87
|
readonly fix: Schema.optionalKey<Schema.Literals<readonly ["subpath-namespace-import"]>>;
|
|
87
88
|
}>;
|
|
88
89
|
export declare const DeclarationKind: Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>;
|
|
89
|
-
declare const MemberSubject: Schema.Literals<readonly ["members", "calls"]>;
|
|
90
|
+
export declare const MemberSubject: Schema.Literals<readonly ["members", "calls"]>;
|
|
90
91
|
declare const MemberProbe: Schema.Struct<{
|
|
91
92
|
readonly from: Schema.String;
|
|
92
93
|
readonly name: Schema.String;
|
|
@@ -225,308 +226,6 @@ export declare const GraphConfig: Schema.Struct<{
|
|
|
225
226
|
readonly via: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
226
227
|
}>>>;
|
|
227
228
|
}>;
|
|
228
|
-
export declare const CampaignUnit: Schema.Literals<readonly ["file", "declaration", "match"]>;
|
|
229
|
-
declare const PathTerm: Schema.Struct<{
|
|
230
|
-
readonly file: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
231
|
-
readonly fileNot: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
232
|
-
readonly subject: Schema.optionalKey<Schema.Finite>;
|
|
233
|
-
readonly convention: Schema.optionalKey<Schema.String>;
|
|
234
|
-
}>;
|
|
235
|
-
export type PathTerm = (typeof PathTerm)["Type"];
|
|
236
|
-
declare const ImportsTerm: Schema.Struct<{
|
|
237
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
238
|
-
readonly external: Schema.String;
|
|
239
|
-
}>, Schema.Struct<{
|
|
240
|
-
readonly builtin: Schema.String;
|
|
241
|
-
}>]>;
|
|
242
|
-
readonly symbols: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
243
|
-
}>;
|
|
244
|
-
export type ImportsTerm = (typeof ImportsTerm)["Type"];
|
|
245
|
-
declare const ExportsTerm: Schema.Struct<{
|
|
246
|
-
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
247
|
-
readonly kinds: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["named", "default", "namespace"]>>>;
|
|
248
|
-
readonly declares: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>>>;
|
|
249
|
-
readonly reexport: Schema.optionalKey<Schema.Boolean>;
|
|
250
|
-
}>;
|
|
251
|
-
export type ExportsTerm = (typeof ExportsTerm)["Type"];
|
|
252
|
-
declare const MembersTerm: Schema.Struct<{
|
|
253
|
-
readonly subject: Schema.Literals<readonly ["members", "calls"]>;
|
|
254
|
-
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
255
|
-
readonly in: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
256
|
-
readonly declares: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>>>;
|
|
257
|
-
}>;
|
|
258
|
-
export type MembersTerm = (typeof MembersTerm)["Type"];
|
|
259
|
-
declare const ContentTerm: Schema.Struct<{
|
|
260
|
-
readonly regex: Schema.String;
|
|
261
|
-
}>;
|
|
262
|
-
type ContentTerm = (typeof ContentTerm)["Type"];
|
|
263
|
-
declare const CaptureNarrowing: Schema.Struct<{
|
|
264
|
-
readonly regex: Schema.optionalKey<Schema.String>;
|
|
265
|
-
readonly binding: Schema.optionalKey<Schema.Struct<{
|
|
266
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
267
|
-
readonly external: Schema.String;
|
|
268
|
-
}>, Schema.Struct<{
|
|
269
|
-
readonly builtin: Schema.String;
|
|
270
|
-
}>]>;
|
|
271
|
-
readonly member: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
272
|
-
}>>;
|
|
273
|
-
}>;
|
|
274
|
-
declare const SyntaxTerm: Schema.Struct<{
|
|
275
|
-
readonly rule: Schema.Unknown;
|
|
276
|
-
readonly where: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
277
|
-
readonly regex: Schema.optionalKey<Schema.String>;
|
|
278
|
-
readonly binding: Schema.optionalKey<Schema.Struct<{
|
|
279
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
280
|
-
readonly external: Schema.String;
|
|
281
|
-
}>, Schema.Struct<{
|
|
282
|
-
readonly builtin: Schema.String;
|
|
283
|
-
}>]>;
|
|
284
|
-
readonly member: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
285
|
-
}>>;
|
|
286
|
-
}>>>;
|
|
287
|
-
}>;
|
|
288
|
-
export type SyntaxTerm = (typeof SyntaxTerm)["Type"];
|
|
289
|
-
export declare const ReportFormat: Schema.Literals<readonly ["tsc", "eslint", "oxlint", "regex"]>;
|
|
290
|
-
declare const ReportTerm: Schema.Struct<{
|
|
291
|
-
readonly command: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
292
|
-
readonly file: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
293
|
-
readonly format: Schema.Literals<readonly ["tsc", "eslint", "oxlint", "regex"]>;
|
|
294
|
-
readonly pattern: Schema.optionalKey<Schema.String>;
|
|
295
|
-
readonly codes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
296
|
-
readonly codesNot: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
297
|
-
}>;
|
|
298
|
-
export type ReportTerm = (typeof ReportTerm)["Type"];
|
|
299
|
-
export type Detector = {
|
|
300
|
-
readonly all: ReadonlyArray<Detector>;
|
|
301
|
-
} | {
|
|
302
|
-
readonly any: ReadonlyArray<Detector>;
|
|
303
|
-
} | {
|
|
304
|
-
readonly not: Detector;
|
|
305
|
-
} | {
|
|
306
|
-
readonly path: PathTerm;
|
|
307
|
-
} | {
|
|
308
|
-
readonly imports: ImportsTerm;
|
|
309
|
-
} | {
|
|
310
|
-
readonly exports: ExportsTerm;
|
|
311
|
-
} | {
|
|
312
|
-
readonly members: MembersTerm;
|
|
313
|
-
} | {
|
|
314
|
-
readonly requires: ReadonlyArray<string>;
|
|
315
|
-
} | {
|
|
316
|
-
readonly content: ContentTerm;
|
|
317
|
-
} | {
|
|
318
|
-
readonly syntax: SyntaxTerm;
|
|
319
|
-
} | {
|
|
320
|
-
readonly report: ReportTerm;
|
|
321
|
-
} | {
|
|
322
|
-
readonly fn: string;
|
|
323
|
-
};
|
|
324
|
-
export declare const Detector: Schema.Union<readonly [Schema.Struct<{
|
|
325
|
-
readonly all: Schema.$Array<Schema.suspend<Schema.Codec<Detector, Detector, never, never>>>;
|
|
326
|
-
}>, Schema.Struct<{
|
|
327
|
-
readonly any: Schema.$Array<Schema.suspend<Schema.Codec<Detector, Detector, never, never>>>;
|
|
328
|
-
}>, Schema.Struct<{
|
|
329
|
-
readonly not: Schema.suspend<Schema.Codec<Detector, Detector, never, never>>;
|
|
330
|
-
}>, Schema.Struct<{
|
|
331
|
-
readonly path: Schema.Struct<{
|
|
332
|
-
readonly file: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
333
|
-
readonly fileNot: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
334
|
-
readonly subject: Schema.optionalKey<Schema.Finite>;
|
|
335
|
-
readonly convention: Schema.optionalKey<Schema.String>;
|
|
336
|
-
}>;
|
|
337
|
-
}>, Schema.Struct<{
|
|
338
|
-
readonly imports: Schema.Struct<{
|
|
339
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
340
|
-
readonly external: Schema.String;
|
|
341
|
-
}>, Schema.Struct<{
|
|
342
|
-
readonly builtin: Schema.String;
|
|
343
|
-
}>]>;
|
|
344
|
-
readonly symbols: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
345
|
-
}>;
|
|
346
|
-
}>, Schema.Struct<{
|
|
347
|
-
readonly exports: Schema.Struct<{
|
|
348
|
-
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
349
|
-
readonly kinds: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["named", "default", "namespace"]>>>;
|
|
350
|
-
readonly declares: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>>>;
|
|
351
|
-
readonly reexport: Schema.optionalKey<Schema.Boolean>;
|
|
352
|
-
}>;
|
|
353
|
-
}>, Schema.Struct<{
|
|
354
|
-
readonly members: Schema.Struct<{
|
|
355
|
-
readonly subject: Schema.Literals<readonly ["members", "calls"]>;
|
|
356
|
-
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
357
|
-
readonly in: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
358
|
-
readonly declares: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>>>;
|
|
359
|
-
}>;
|
|
360
|
-
}>, Schema.Struct<{
|
|
361
|
-
readonly requires: Schema.$Array<Schema.String>;
|
|
362
|
-
}>, Schema.Struct<{
|
|
363
|
-
readonly content: Schema.Struct<{
|
|
364
|
-
readonly regex: Schema.String;
|
|
365
|
-
}>;
|
|
366
|
-
}>, Schema.Struct<{
|
|
367
|
-
readonly syntax: Schema.Struct<{
|
|
368
|
-
readonly rule: Schema.Unknown;
|
|
369
|
-
readonly where: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
370
|
-
readonly regex: Schema.optionalKey<Schema.String>;
|
|
371
|
-
readonly binding: Schema.optionalKey<Schema.Struct<{
|
|
372
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
373
|
-
readonly external: Schema.String;
|
|
374
|
-
}>, Schema.Struct<{
|
|
375
|
-
readonly builtin: Schema.String;
|
|
376
|
-
}>]>;
|
|
377
|
-
readonly member: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
378
|
-
}>>;
|
|
379
|
-
}>>>;
|
|
380
|
-
}>;
|
|
381
|
-
}>, Schema.Struct<{
|
|
382
|
-
readonly report: Schema.Struct<{
|
|
383
|
-
readonly command: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
384
|
-
readonly file: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
385
|
-
readonly format: Schema.Literals<readonly ["tsc", "eslint", "oxlint", "regex"]>;
|
|
386
|
-
readonly pattern: Schema.optionalKey<Schema.String>;
|
|
387
|
-
readonly codes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
388
|
-
readonly codesNot: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
389
|
-
}>;
|
|
390
|
-
}>, Schema.Struct<{
|
|
391
|
-
readonly fn: Schema.String;
|
|
392
|
-
}>]>;
|
|
393
|
-
export declare const ProbeDiagnostic: Schema.Struct<{
|
|
394
|
-
readonly line: Schema.Finite;
|
|
395
|
-
readonly column: Schema.optionalKey<Schema.Finite>;
|
|
396
|
-
readonly code: Schema.optionalKey<Schema.String>;
|
|
397
|
-
readonly message: Schema.optionalKey<Schema.String>;
|
|
398
|
-
}>;
|
|
399
|
-
export declare const CampaignProbe: Schema.Struct<{
|
|
400
|
-
readonly path: Schema.String;
|
|
401
|
-
readonly source: Schema.optionalKey<Schema.String>;
|
|
402
|
-
readonly edges: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
403
|
-
readonly external: Schema.String;
|
|
404
|
-
}>, Schema.Struct<{
|
|
405
|
-
readonly builtin: Schema.String;
|
|
406
|
-
}>]>>>;
|
|
407
|
-
readonly files: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
408
|
-
readonly report: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
409
|
-
readonly line: Schema.Finite;
|
|
410
|
-
readonly column: Schema.optionalKey<Schema.Finite>;
|
|
411
|
-
readonly code: Schema.optionalKey<Schema.String>;
|
|
412
|
-
readonly message: Schema.optionalKey<Schema.String>;
|
|
413
|
-
}>>>;
|
|
414
|
-
}>;
|
|
415
|
-
export declare const CampaignRule: Schema.Struct<{
|
|
416
|
-
readonly name: Schema.String;
|
|
417
|
-
readonly id: Schema.String;
|
|
418
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
419
|
-
readonly message: Schema.String;
|
|
420
|
-
readonly why: Schema.String;
|
|
421
|
-
readonly owner: Schema.optionalKey<Schema.String>;
|
|
422
|
-
readonly scope: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
423
|
-
readonly unit: Schema.Literals<readonly ["file", "declaration", "match"]>;
|
|
424
|
-
readonly detect: Schema.Union<readonly [Schema.Struct<{
|
|
425
|
-
readonly all: Schema.$Array<Schema.suspend<Schema.Codec<Detector, Detector, never, never>>>;
|
|
426
|
-
}>, Schema.Struct<{
|
|
427
|
-
readonly any: Schema.$Array<Schema.suspend<Schema.Codec<Detector, Detector, never, never>>>;
|
|
428
|
-
}>, Schema.Struct<{
|
|
429
|
-
readonly not: Schema.suspend<Schema.Codec<Detector, Detector, never, never>>;
|
|
430
|
-
}>, Schema.Struct<{
|
|
431
|
-
readonly path: Schema.Struct<{
|
|
432
|
-
readonly file: Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>;
|
|
433
|
-
readonly fileNot: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
434
|
-
readonly subject: Schema.optionalKey<Schema.Finite>;
|
|
435
|
-
readonly convention: Schema.optionalKey<Schema.String>;
|
|
436
|
-
}>;
|
|
437
|
-
}>, Schema.Struct<{
|
|
438
|
-
readonly imports: Schema.Struct<{
|
|
439
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
440
|
-
readonly external: Schema.String;
|
|
441
|
-
}>, Schema.Struct<{
|
|
442
|
-
readonly builtin: Schema.String;
|
|
443
|
-
}>]>;
|
|
444
|
-
readonly symbols: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
445
|
-
}>;
|
|
446
|
-
}>, Schema.Struct<{
|
|
447
|
-
readonly exports: Schema.Struct<{
|
|
448
|
-
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
449
|
-
readonly kinds: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["named", "default", "namespace"]>>>;
|
|
450
|
-
readonly declares: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>>>;
|
|
451
|
-
readonly reexport: Schema.optionalKey<Schema.Boolean>;
|
|
452
|
-
}>;
|
|
453
|
-
}>, Schema.Struct<{
|
|
454
|
-
readonly members: Schema.Struct<{
|
|
455
|
-
readonly subject: Schema.Literals<readonly ["members", "calls"]>;
|
|
456
|
-
readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
457
|
-
readonly in: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.$Array<Schema.String>]>>;
|
|
458
|
-
readonly declares: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["function", "class", "variable", "type", "interface", "enum", "expression", "other"]>>>;
|
|
459
|
-
}>;
|
|
460
|
-
}>, Schema.Struct<{
|
|
461
|
-
readonly requires: Schema.$Array<Schema.String>;
|
|
462
|
-
}>, Schema.Struct<{
|
|
463
|
-
readonly content: Schema.Struct<{
|
|
464
|
-
readonly regex: Schema.String;
|
|
465
|
-
}>;
|
|
466
|
-
}>, Schema.Struct<{
|
|
467
|
-
readonly syntax: Schema.Struct<{
|
|
468
|
-
readonly rule: Schema.Unknown;
|
|
469
|
-
readonly where: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
470
|
-
readonly regex: Schema.optionalKey<Schema.String>;
|
|
471
|
-
readonly binding: Schema.optionalKey<Schema.Struct<{
|
|
472
|
-
readonly resolves: Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
473
|
-
readonly external: Schema.String;
|
|
474
|
-
}>, Schema.Struct<{
|
|
475
|
-
readonly builtin: Schema.String;
|
|
476
|
-
}>]>;
|
|
477
|
-
readonly member: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
478
|
-
}>>;
|
|
479
|
-
}>>>;
|
|
480
|
-
}>;
|
|
481
|
-
}>, Schema.Struct<{
|
|
482
|
-
readonly report: Schema.Struct<{
|
|
483
|
-
readonly command: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
484
|
-
readonly file: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
485
|
-
readonly format: Schema.Literals<readonly ["tsc", "eslint", "oxlint", "regex"]>;
|
|
486
|
-
readonly pattern: Schema.optionalKey<Schema.String>;
|
|
487
|
-
readonly codes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
488
|
-
readonly codesNot: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
489
|
-
}>;
|
|
490
|
-
}>, Schema.Struct<{
|
|
491
|
-
readonly fn: Schema.String;
|
|
492
|
-
}>]>;
|
|
493
|
-
readonly probes: Schema.Struct<{
|
|
494
|
-
readonly fires: Schema.$Array<Schema.Struct<{
|
|
495
|
-
readonly path: Schema.String;
|
|
496
|
-
readonly source: Schema.optionalKey<Schema.String>;
|
|
497
|
-
readonly edges: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
498
|
-
readonly external: Schema.String;
|
|
499
|
-
}>, Schema.Struct<{
|
|
500
|
-
readonly builtin: Schema.String;
|
|
501
|
-
}>]>>>;
|
|
502
|
-
readonly files: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
503
|
-
readonly report: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
504
|
-
readonly line: Schema.Finite;
|
|
505
|
-
readonly column: Schema.optionalKey<Schema.Finite>;
|
|
506
|
-
readonly code: Schema.optionalKey<Schema.String>;
|
|
507
|
-
readonly message: Schema.optionalKey<Schema.String>;
|
|
508
|
-
}>>>;
|
|
509
|
-
}>>;
|
|
510
|
-
readonly ignores: Schema.$Array<Schema.Struct<{
|
|
511
|
-
readonly path: Schema.String;
|
|
512
|
-
readonly source: Schema.optionalKey<Schema.String>;
|
|
513
|
-
readonly edges: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Struct<{
|
|
514
|
-
readonly external: Schema.String;
|
|
515
|
-
}>, Schema.Struct<{
|
|
516
|
-
readonly builtin: Schema.String;
|
|
517
|
-
}>]>>>;
|
|
518
|
-
readonly files: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
519
|
-
readonly report: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
520
|
-
readonly line: Schema.Finite;
|
|
521
|
-
readonly column: Schema.optionalKey<Schema.Finite>;
|
|
522
|
-
readonly code: Schema.optionalKey<Schema.String>;
|
|
523
|
-
readonly message: Schema.optionalKey<Schema.String>;
|
|
524
|
-
}>>>;
|
|
525
|
-
}>>;
|
|
526
|
-
}>;
|
|
527
|
-
readonly staleAfter: Schema.Finite;
|
|
528
|
-
readonly onComplete: Schema.Literals<readonly ["keep", "remove"]>;
|
|
529
|
-
}>;
|
|
530
229
|
declare const StructureRoot: Schema.Struct<{
|
|
531
230
|
readonly name: Schema.String;
|
|
532
231
|
readonly message: Schema.String;
|
|
@@ -633,12 +332,6 @@ export type StructureRoot = (typeof StructureRoot)["Type"];
|
|
|
633
332
|
export type StructureFolder = (typeof StructureFolder)["Type"];
|
|
634
333
|
export type StructureParity = (typeof StructureParity)["Type"];
|
|
635
334
|
export type StructureNaming = (typeof StructureNaming)["Type"];
|
|
636
|
-
export type CampaignUnit = (typeof CampaignUnit)["Type"];
|
|
637
|
-
export type CampaignProbe = (typeof CampaignProbe)["Type"];
|
|
638
|
-
export type ProbeDiagnostic = (typeof ProbeDiagnostic)["Type"];
|
|
639
|
-
export type ReportFormat = (typeof ReportFormat)["Type"];
|
|
640
|
-
export type CampaignRule = (typeof CampaignRule)["Type"];
|
|
641
|
-
export type CaptureNarrowing = (typeof CaptureNarrowing)["Type"];
|
|
642
335
|
export declare const OPEN_LAYOUT = "^.*$";
|
|
643
336
|
export declare const patternsOf: (patterns: string | ReadonlyArray<string>) => ReadonlyArray<string>;
|
|
644
337
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture-config.d.ts","sourceRoot":"","sources":["../../../src/domain/architecture-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"architecture-config.d.ts","sourceRoot":"","sources":["../../../src/domain/architecture-config.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bones/schema/conformance.schema.json";
|
|
3
|
-
export declare const SNAPSHOT_VERSION =
|
|
3
|
+
export declare const SNAPSHOT_VERSION = 2;
|
|
4
4
|
export declare const CONFORMANCE_MEASURES: readonly ["residue", "vacant", "slack", "concentration"];
|
|
5
5
|
export type ConformanceMeasure = (typeof CONFORMANCE_MEASURES)[number];
|
|
6
6
|
export declare const SnapshotViolation: Schema.Struct<{
|
|
@@ -12,6 +12,9 @@ export declare const SnapshotViolation: Schema.Struct<{
|
|
|
12
12
|
readonly message: Schema.String;
|
|
13
13
|
readonly baselined: Schema.Boolean;
|
|
14
14
|
readonly ledgered: Schema.Boolean;
|
|
15
|
+
readonly objective: Schema.optionalKey<Schema.String>;
|
|
16
|
+
readonly sector: Schema.optionalKey<Schema.String>;
|
|
17
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
15
18
|
}>;
|
|
16
19
|
export declare const SnapshotSlack: Schema.Struct<{
|
|
17
20
|
readonly node: Schema.String;
|
|
@@ -31,24 +34,82 @@ export declare const SnapshotVacancy: Schema.Struct<{
|
|
|
31
34
|
readonly node: Schema.String;
|
|
32
35
|
readonly allowances: Schema.Finite;
|
|
33
36
|
}>;
|
|
37
|
+
export declare const SnapshotObjective: Schema.Struct<{
|
|
38
|
+
readonly id: Schema.String;
|
|
39
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
40
|
+
readonly initial: Schema.Finite;
|
|
41
|
+
readonly allowed: Schema.Finite;
|
|
42
|
+
readonly count: Schema.Finite;
|
|
43
|
+
readonly cleared: Schema.Finite;
|
|
44
|
+
readonly closed: Schema.Finite;
|
|
45
|
+
readonly progress: Schema.Finite;
|
|
46
|
+
readonly lastCleared: Schema.NullOr<Schema.String>;
|
|
47
|
+
readonly concessions: Schema.Finite;
|
|
48
|
+
readonly complete: Schema.Boolean;
|
|
49
|
+
readonly ledgered: Schema.Boolean;
|
|
50
|
+
}>;
|
|
51
|
+
export declare const SnapshotPhase: Schema.Struct<{
|
|
52
|
+
readonly id: Schema.String;
|
|
53
|
+
readonly defined: Schema.Boolean;
|
|
54
|
+
readonly sectors: Schema.Finite;
|
|
55
|
+
}>;
|
|
56
|
+
export declare const SnapshotSector: Schema.Struct<{
|
|
57
|
+
readonly name: Schema.String;
|
|
58
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
59
|
+
readonly reached: Schema.NullOr<Schema.String>;
|
|
60
|
+
readonly files: Schema.Finite;
|
|
61
|
+
readonly residue: Schema.$Record<Schema.String, Schema.Finite>;
|
|
62
|
+
readonly stalled: Schema.Boolean;
|
|
63
|
+
}>;
|
|
34
64
|
export declare const SnapshotCampaign: Schema.Struct<{
|
|
35
65
|
readonly id: Schema.String;
|
|
36
66
|
readonly title: Schema.optionalKey<Schema.String>;
|
|
37
67
|
readonly owner: Schema.optionalKey<Schema.String>;
|
|
38
|
-
readonly initial: Schema.Finite;
|
|
39
|
-
readonly allowed: Schema.Finite;
|
|
40
68
|
readonly count: Schema.Finite;
|
|
41
|
-
readonly fixed: Schema.Finite;
|
|
42
69
|
readonly progress: Schema.Finite;
|
|
43
|
-
readonly
|
|
44
|
-
|
|
70
|
+
readonly objectives: Schema.$Array<Schema.Struct<{
|
|
71
|
+
readonly id: Schema.String;
|
|
72
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
73
|
+
readonly initial: Schema.Finite;
|
|
74
|
+
readonly allowed: Schema.Finite;
|
|
75
|
+
readonly count: Schema.Finite;
|
|
76
|
+
readonly cleared: Schema.Finite;
|
|
77
|
+
readonly closed: Schema.Finite;
|
|
78
|
+
readonly progress: Schema.Finite;
|
|
79
|
+
readonly lastCleared: Schema.NullOr<Schema.String>;
|
|
80
|
+
readonly concessions: Schema.Finite;
|
|
81
|
+
readonly complete: Schema.Boolean;
|
|
82
|
+
readonly ledgered: Schema.Boolean;
|
|
83
|
+
}>>;
|
|
84
|
+
readonly phases: Schema.$Array<Schema.Struct<{
|
|
85
|
+
readonly id: Schema.String;
|
|
86
|
+
readonly defined: Schema.Boolean;
|
|
87
|
+
readonly sectors: Schema.Finite;
|
|
88
|
+
}>>;
|
|
89
|
+
readonly sectors: Schema.$Array<Schema.Struct<{
|
|
90
|
+
readonly name: Schema.String;
|
|
91
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
92
|
+
readonly reached: Schema.NullOr<Schema.String>;
|
|
93
|
+
readonly files: Schema.Finite;
|
|
94
|
+
readonly residue: Schema.$Record<Schema.String, Schema.Finite>;
|
|
95
|
+
readonly stalled: Schema.Boolean;
|
|
96
|
+
}>>;
|
|
97
|
+
readonly legacy: Schema.Struct<{
|
|
98
|
+
readonly files: Schema.Finite;
|
|
99
|
+
readonly holdouts: Schema.Finite;
|
|
100
|
+
}>;
|
|
101
|
+
readonly plan: Schema.Struct<{
|
|
102
|
+
readonly refined: Schema.$Array<Schema.String>;
|
|
103
|
+
readonly changed: Schema.$Array<Schema.String>;
|
|
104
|
+
readonly unreceipted: Schema.$Array<Schema.String>;
|
|
105
|
+
}>;
|
|
45
106
|
readonly stalled: Schema.Boolean;
|
|
46
107
|
readonly complete: Schema.Boolean;
|
|
47
108
|
readonly onComplete: Schema.Literals<readonly ["keep", "remove"]>;
|
|
48
109
|
readonly ledgered: Schema.Boolean;
|
|
49
110
|
}>;
|
|
50
111
|
export declare const Snapshot: Schema.Struct<{
|
|
51
|
-
readonly version: Schema.Literal<
|
|
112
|
+
readonly version: Schema.Literal<2>;
|
|
52
113
|
readonly manifest: Schema.Struct<{
|
|
53
114
|
readonly path: Schema.String;
|
|
54
115
|
readonly sha256: Schema.String;
|
|
@@ -82,6 +143,9 @@ export declare const Snapshot: Schema.Struct<{
|
|
|
82
143
|
readonly message: Schema.String;
|
|
83
144
|
readonly baselined: Schema.Boolean;
|
|
84
145
|
readonly ledgered: Schema.Boolean;
|
|
146
|
+
readonly objective: Schema.optionalKey<Schema.String>;
|
|
147
|
+
readonly sector: Schema.optionalKey<Schema.String>;
|
|
148
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
85
149
|
}>>;
|
|
86
150
|
readonly unresolved: Schema.$Array<Schema.Struct<{
|
|
87
151
|
readonly file: Schema.String;
|
|
@@ -115,13 +179,44 @@ export declare const Snapshot: Schema.Struct<{
|
|
|
115
179
|
readonly id: Schema.String;
|
|
116
180
|
readonly title: Schema.optionalKey<Schema.String>;
|
|
117
181
|
readonly owner: Schema.optionalKey<Schema.String>;
|
|
118
|
-
readonly initial: Schema.Finite;
|
|
119
|
-
readonly allowed: Schema.Finite;
|
|
120
182
|
readonly count: Schema.Finite;
|
|
121
|
-
readonly fixed: Schema.Finite;
|
|
122
183
|
readonly progress: Schema.Finite;
|
|
123
|
-
readonly
|
|
124
|
-
|
|
184
|
+
readonly objectives: Schema.$Array<Schema.Struct<{
|
|
185
|
+
readonly id: Schema.String;
|
|
186
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
187
|
+
readonly initial: Schema.Finite;
|
|
188
|
+
readonly allowed: Schema.Finite;
|
|
189
|
+
readonly count: Schema.Finite;
|
|
190
|
+
readonly cleared: Schema.Finite;
|
|
191
|
+
readonly closed: Schema.Finite;
|
|
192
|
+
readonly progress: Schema.Finite;
|
|
193
|
+
readonly lastCleared: Schema.NullOr<Schema.String>;
|
|
194
|
+
readonly concessions: Schema.Finite;
|
|
195
|
+
readonly complete: Schema.Boolean;
|
|
196
|
+
readonly ledgered: Schema.Boolean;
|
|
197
|
+
}>>;
|
|
198
|
+
readonly phases: Schema.$Array<Schema.Struct<{
|
|
199
|
+
readonly id: Schema.String;
|
|
200
|
+
readonly defined: Schema.Boolean;
|
|
201
|
+
readonly sectors: Schema.Finite;
|
|
202
|
+
}>>;
|
|
203
|
+
readonly sectors: Schema.$Array<Schema.Struct<{
|
|
204
|
+
readonly name: Schema.String;
|
|
205
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
206
|
+
readonly reached: Schema.NullOr<Schema.String>;
|
|
207
|
+
readonly files: Schema.Finite;
|
|
208
|
+
readonly residue: Schema.$Record<Schema.String, Schema.Finite>;
|
|
209
|
+
readonly stalled: Schema.Boolean;
|
|
210
|
+
}>>;
|
|
211
|
+
readonly legacy: Schema.Struct<{
|
|
212
|
+
readonly files: Schema.Finite;
|
|
213
|
+
readonly holdouts: Schema.Finite;
|
|
214
|
+
}>;
|
|
215
|
+
readonly plan: Schema.Struct<{
|
|
216
|
+
readonly refined: Schema.$Array<Schema.String>;
|
|
217
|
+
readonly changed: Schema.$Array<Schema.String>;
|
|
218
|
+
readonly unreceipted: Schema.$Array<Schema.String>;
|
|
219
|
+
}>;
|
|
125
220
|
readonly stalled: Schema.Boolean;
|
|
126
221
|
readonly complete: Schema.Boolean;
|
|
127
222
|
readonly onComplete: Schema.Literals<readonly ["keep", "remove"]>;
|
|
@@ -134,8 +229,11 @@ export type SnapshotSlack = typeof SnapshotSlack.Type;
|
|
|
134
229
|
export type SnapshotConcentration = typeof SnapshotConcentration.Type;
|
|
135
230
|
export type SnapshotVacancy = typeof SnapshotVacancy.Type;
|
|
136
231
|
export type SnapshotCampaign = typeof SnapshotCampaign.Type;
|
|
232
|
+
export type SnapshotObjective = typeof SnapshotObjective.Type;
|
|
233
|
+
export type SnapshotPhase = typeof SnapshotPhase.Type;
|
|
234
|
+
export type SnapshotSector = typeof SnapshotSector.Type;
|
|
137
235
|
export declare const decodeSnapshot: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Result").Result<Schema.Struct.ReadonlySide<{
|
|
138
|
-
readonly version: Schema.Literal<
|
|
236
|
+
readonly version: Schema.Literal<2>;
|
|
139
237
|
readonly manifest: Schema.Struct<{
|
|
140
238
|
readonly path: Schema.String;
|
|
141
239
|
readonly sha256: Schema.String;
|
|
@@ -169,6 +267,9 @@ export declare const decodeSnapshot: (input: unknown, options?: import("effect/S
|
|
|
169
267
|
readonly message: Schema.String;
|
|
170
268
|
readonly baselined: Schema.Boolean;
|
|
171
269
|
readonly ledgered: Schema.Boolean;
|
|
270
|
+
readonly objective: Schema.optionalKey<Schema.String>;
|
|
271
|
+
readonly sector: Schema.optionalKey<Schema.String>;
|
|
272
|
+
readonly entry: Schema.optionalKey<Schema.String>;
|
|
172
273
|
}>>;
|
|
173
274
|
readonly unresolved: Schema.$Array<Schema.Struct<{
|
|
174
275
|
readonly file: Schema.String;
|
|
@@ -202,13 +303,44 @@ export declare const decodeSnapshot: (input: unknown, options?: import("effect/S
|
|
|
202
303
|
readonly id: Schema.String;
|
|
203
304
|
readonly title: Schema.optionalKey<Schema.String>;
|
|
204
305
|
readonly owner: Schema.optionalKey<Schema.String>;
|
|
205
|
-
readonly initial: Schema.Finite;
|
|
206
|
-
readonly allowed: Schema.Finite;
|
|
207
306
|
readonly count: Schema.Finite;
|
|
208
|
-
readonly fixed: Schema.Finite;
|
|
209
307
|
readonly progress: Schema.Finite;
|
|
210
|
-
readonly
|
|
211
|
-
|
|
308
|
+
readonly objectives: Schema.$Array<Schema.Struct<{
|
|
309
|
+
readonly id: Schema.String;
|
|
310
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
311
|
+
readonly initial: Schema.Finite;
|
|
312
|
+
readonly allowed: Schema.Finite;
|
|
313
|
+
readonly count: Schema.Finite;
|
|
314
|
+
readonly cleared: Schema.Finite;
|
|
315
|
+
readonly closed: Schema.Finite;
|
|
316
|
+
readonly progress: Schema.Finite;
|
|
317
|
+
readonly lastCleared: Schema.NullOr<Schema.String>;
|
|
318
|
+
readonly concessions: Schema.Finite;
|
|
319
|
+
readonly complete: Schema.Boolean;
|
|
320
|
+
readonly ledgered: Schema.Boolean;
|
|
321
|
+
}>>;
|
|
322
|
+
readonly phases: Schema.$Array<Schema.Struct<{
|
|
323
|
+
readonly id: Schema.String;
|
|
324
|
+
readonly defined: Schema.Boolean;
|
|
325
|
+
readonly sectors: Schema.Finite;
|
|
326
|
+
}>>;
|
|
327
|
+
readonly sectors: Schema.$Array<Schema.Struct<{
|
|
328
|
+
readonly name: Schema.String;
|
|
329
|
+
readonly phase: Schema.NullOr<Schema.String>;
|
|
330
|
+
readonly reached: Schema.NullOr<Schema.String>;
|
|
331
|
+
readonly files: Schema.Finite;
|
|
332
|
+
readonly residue: Schema.$Record<Schema.String, Schema.Finite>;
|
|
333
|
+
readonly stalled: Schema.Boolean;
|
|
334
|
+
}>>;
|
|
335
|
+
readonly legacy: Schema.Struct<{
|
|
336
|
+
readonly files: Schema.Finite;
|
|
337
|
+
readonly holdouts: Schema.Finite;
|
|
338
|
+
}>;
|
|
339
|
+
readonly plan: Schema.Struct<{
|
|
340
|
+
readonly refined: Schema.$Array<Schema.String>;
|
|
341
|
+
readonly changed: Schema.$Array<Schema.String>;
|
|
342
|
+
readonly unreceipted: Schema.$Array<Schema.String>;
|
|
343
|
+
}>;
|
|
212
344
|
readonly stalled: Schema.Boolean;
|
|
213
345
|
readonly complete: Schema.Boolean;
|
|
214
346
|
readonly onComplete: Schema.Literals<readonly ["keep", "remove"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../src/domain/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAiBxC,eAAO,MAAM,kBAAkB,yEACyC,CAAC;AAEzE,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAgClC,eAAO,MAAM,oBAAoB,YAAI,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,CAAU,CAAC;AAE7F,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAcvE,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../src/domain/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAiBxC,eAAO,MAAM,kBAAkB,yEACyC,CAAC;AAEzE,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAgClC,eAAO,MAAM,oBAAoB,YAAI,SAAS,EAAE,QAA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