@farthershore/product 0.5.0 → 0.6.1
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/README.md +8 -13
- package/dist/bin.js +1864 -1723
- package/dist/codegen.js +203 -166
- package/dist/index.js +1866 -1725
- package/dist/types/backend.d.ts +41 -0
- package/dist/types/codegen/index.d.ts +9 -1
- package/dist/types/declarations.d.ts +123 -0
- package/dist/types/dependencies.d.ts +13 -0
- package/dist/types/frontend.d.ts +23 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/ir-types.d.ts +49 -13
- package/dist/types/product-assembly.d.ts +22 -0
- package/dist/types/product.d.ts +41 -71
- package/dist/types/refs.d.ts +11 -0
- package/dist/types/resource-graph.d.ts +1 -1
- package/dist/types/route-metering.d.ts +53 -0
- package/dist/types/validate.d.ts +2 -4
- package/package.json +1 -1
package/dist/types/validate.d.ts
CHANGED
|
@@ -12,10 +12,8 @@ export type ValidationResult = {
|
|
|
12
12
|
* Validate a candidate envelope against the platform schemas. On success
|
|
13
13
|
* the returned `ir` is the JSON-normalized ORIGINAL candidate — NOT the
|
|
14
14
|
* zod-parsed value. The platform treats the product spec as a raw document
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* spec via casts that a default-stripping parse would erase). Validation
|
|
18
|
-
* proves the document is acceptable; the bytes stay the author's.
|
|
15
|
+
* because the YAML path never zod-transformed it before storing/compiling.
|
|
16
|
+
* Validation proves the document is acceptable; the bytes stay the author's.
|
|
19
17
|
*/
|
|
20
18
|
export declare function validateManifestIr(candidate: unknown): ValidationResult;
|
|
21
19
|
export declare function hashIr(ir: unknown): string;
|