@cat-factory/contracts 0.125.0 → 0.126.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/dist/config.d.ts +12 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +6 -0
- package/dist/config.js.map +1 -1
- package/dist/entities.d.ts +1 -1
- package/dist/entities.js +1 -1
- package/dist/routes/auth.d.ts +1 -0
- package/dist/routes/auth.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ export declare const configProblemSchema: v.ObjectSchema<{
|
|
|
6
6
|
readonly summary: v.StringSchema<undefined>;
|
|
7
7
|
/** One sentence: how to fill it (the concrete remedy — a command, a format, a URL). */
|
|
8
8
|
readonly remedy: v.StringSchema<undefined>;
|
|
9
|
+
/**
|
|
10
|
+
* Optional link to the documentation that deepens the remedy (a stable in-repo doc URL or a
|
|
11
|
+
* vendor page). The remedy stays self-sufficient without it — the link is supplementary, so
|
|
12
|
+
* the SPA and the operator log render it only when present.
|
|
13
|
+
*/
|
|
14
|
+
readonly docsUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
15
|
}, undefined>;
|
|
10
16
|
export type ConfigProblem = v.InferOutput<typeof configProblemSchema>;
|
|
11
17
|
export declare const backendMisconfiguredSchema: v.ObjectSchema<{
|
|
@@ -16,6 +22,12 @@ export declare const backendMisconfiguredSchema: v.ObjectSchema<{
|
|
|
16
22
|
readonly summary: v.StringSchema<undefined>;
|
|
17
23
|
/** One sentence: how to fill it (the concrete remedy — a command, a format, a URL). */
|
|
18
24
|
readonly remedy: v.StringSchema<undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Optional link to the documentation that deepens the remedy (a stable in-repo doc URL or a
|
|
27
|
+
* vendor page). The remedy stays self-sufficient without it — the link is supplementary, so
|
|
28
|
+
* the SPA and the operator log render it only when present.
|
|
29
|
+
*/
|
|
30
|
+
readonly docsUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
19
31
|
}, undefined>, undefined>;
|
|
20
32
|
}, undefined>;
|
|
21
33
|
export type BackendMisconfigured = v.InferOutput<typeof backendMisconfiguredSchema>;
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,mBAAmB;IAC9B,0EAA0E;;IAE1E,wEAAwE;;IAExE,uFAAuF;;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,mBAAmB;IAC9B,0EAA0E;;IAE1E,wEAAwE;;IAExE,uFAAuF;;IAEvF;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,eAAO,MAAM,0BAA0B;;QAfrC,0EAA0E;;QAE1E,wEAAwE;;QAExE,uFAAuF;;QAEvF;;;;WAIG;;;aAOH,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
package/dist/config.js
CHANGED
|
@@ -19,6 +19,12 @@ export const configProblemSchema = v.object({
|
|
|
19
19
|
summary: v.string(),
|
|
20
20
|
/** One sentence: how to fill it (the concrete remedy — a command, a format, a URL). */
|
|
21
21
|
remedy: v.string(),
|
|
22
|
+
/**
|
|
23
|
+
* Optional link to the documentation that deepens the remedy (a stable in-repo doc URL or a
|
|
24
|
+
* vendor page). The remedy stays self-sufficient without it — the link is supplementary, so
|
|
25
|
+
* the SPA and the operator log render it only when present.
|
|
26
|
+
*/
|
|
27
|
+
docsUrl: v.optional(v.string()),
|
|
22
28
|
});
|
|
23
29
|
export const backendMisconfiguredSchema = v.object({
|
|
24
30
|
problems: v.array(configProblemSchema),
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,uCAAuC;AACvC,EAAE;AACF,mFAAmF;AACnF,mFAAmF;AACnF,oFAAoF;AACpF,2EAA2E;AAC3E,kFAAkF;AAClF,wCAAwC;AACxC,EAAE;AACF,oFAAoF;AACpF,wEAAwE;AACxE,8EAA8E;AAE9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,0EAA0E;IAC1E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,wEAAwE;IACxE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,uFAAuF;IACvF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,uCAAuC;AACvC,EAAE;AACF,mFAAmF;AACnF,mFAAmF;AACnF,oFAAoF;AACpF,2EAA2E;AAC3E,kFAAkF;AAClF,wCAAwC;AACxC,EAAE;AACF,oFAAoF;AACpF,wEAAwE;AACxE,8EAA8E;AAE9E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,0EAA0E;IAC1E,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,wEAAwE;IACxE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,uFAAuF;IACvF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB;;;;OAIG;IACH,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAChC,CAAC,CAAA;AAGF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACvC,CAAC,CAAA"}
|
package/dist/entities.d.ts
CHANGED
|
@@ -616,7 +616,7 @@ export declare const blockSchema: v.ObjectSchema<{
|
|
|
616
616
|
}, undefined>, undefined>, undefined>;
|
|
617
617
|
/**
|
|
618
618
|
* Task-level: pre-existing branches of the task's PRIMARY target repo handed to the run
|
|
619
|
-
* as input (see {@link aprioriBranchSchema} and `docs/
|
|
619
|
+
* as input (see {@link aprioriBranchSchema} and `backend/docs/adr/0021-apriori-branches.md`).
|
|
620
620
|
* At most one `working` entry (the branch the run builds inside instead of minting
|
|
621
621
|
* `cat-factory/<blockId>`); any number of `reference` entries (read-only context). The
|
|
622
622
|
* write boundary (`BoardService.updateBlock`) drops this on non-task blocks and enforces
|
package/dist/entities.js
CHANGED
|
@@ -343,7 +343,7 @@ export const blockSchema = v.object({
|
|
|
343
343
|
referenceRepos: v.optional(v.array(referenceRepoSchema)),
|
|
344
344
|
/**
|
|
345
345
|
* Task-level: pre-existing branches of the task's PRIMARY target repo handed to the run
|
|
346
|
-
* as input (see {@link aprioriBranchSchema} and `docs/
|
|
346
|
+
* as input (see {@link aprioriBranchSchema} and `backend/docs/adr/0021-apriori-branches.md`).
|
|
347
347
|
* At most one `working` entry (the branch the run builds inside instead of minting
|
|
348
348
|
* `cat-factory/<blockId>`); any number of `reference` entries (read-only context). The
|
|
349
349
|
* write boundary (`BoardService.updateBlock`) drops this on non-task blocks and enforces
|
package/dist/routes/auth.d.ts
CHANGED
|
@@ -251,6 +251,7 @@ export declare const authConfigContract: {
|
|
|
251
251
|
readonly key: v.StringSchema<undefined>;
|
|
252
252
|
readonly summary: v.StringSchema<undefined>;
|
|
253
253
|
readonly remedy: v.StringSchema<undefined>;
|
|
254
|
+
readonly docsUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
254
255
|
}, undefined>, undefined>;
|
|
255
256
|
}, undefined>, undefined>;
|
|
256
257
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4B5B;;;;;GAKG;AACH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,mDAAmC,CAAA;AACjE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAErE,eAAO,MAAM,qBAAqB;IAChC,4FAA4F;;IAE5F;;;;;;OAMG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;;;;;;;;;OAWG;;;;;aAOH,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,uFAIrC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF,+FAA+F;AAC/F,eAAO,MAAM,wBAAwB,wEAAwD,CAAA;AAC7F,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E;;;;;;;;GAQG;AACH,eAAO,MAAM,gCAAgC;;;;QAIzC;;;;;WAKG;;;;;;;IAOL;;;;;;;;OAQG;;;;IAEH;;;;;;OAMG;;;;aAEH,CAAA;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAyD/F,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;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