Skip to content

feat: update fdr types to accomodate extra properties type reference #1617

feat: update fdr types to accomodate extra properties type reference

feat: update fdr types to accomodate extra properties type reference #1617

Triggered via pull request October 8, 2024 17:34
Status Failure
Total duration 1m 12s
Artifacts

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
test
Type '{ type: "object"; extends: never[]; properties: ({ key: PropertyKey; valueShape: { type: "optional"; shape: TypeReference.Primitive; default: undefined; }; description: undefined; availability: undefined; } | { ...; })[]; }' is not assignable to type 'TypeShapeOrReference'.
test
Argument of type 'TypeShapeOrReference' is not assignable to parameter of type 'ObjectType'.
test
Type '{ type: "object"; extends: TypeId[]; properties: ({ key: PropertyKey; valueShape: TypeReference.Primitive; description: undefined; availability: undefined; } | { ...; })[]; }' is not assignable to type 'TypeShapeOrReference'.
test
Type '{ [x: string]: { name: string; shape: { type: "object"; extends: never[]; properties: { key: PropertyKey; valueShape: TypeReference.Primitive; description: undefined; availability: undefined; }[]; }; description: undefined; availability: undefined; }; }' is not assignable to type 'Record<TypeId, TypeDefinition>'.
test
Argument of type 'TypeShapeOrReference' is not assignable to parameter of type 'ObjectType'.
test
Type '{ type: "object"; extends: TypeId[]; properties: { key: PropertyKey; valueShape: TypeReference.Primitive; description: undefined; availability: undefined; }[]; }' is not assignable to type 'TypeShapeOrReference'.
test
Type '{ [x: string]: { name: string; shape: { type: "alias"; value: { type: "optional"; shape: { type: "id"; id: TypeId; default: undefined; }; default: undefined; }; }; description: string; availability: "GenerallyAvailable"; } | { ...; }; }' is not assignable to type 'Record<TypeId, TypeDefinition>'.
test
Argument of type 'TypeShapeOrReference' is not assignable to parameter of type 'ObjectType'.
test
@fern-platform/fdr#compile: command (/home/runner/work/fern-platform/fern-platform/servers/fdr) /home/runner/setup-pnpm/node_modules/.bin/pnpm run compile exited (2)
test
Process completed with exit code 2.
test
Report file results.json not found. Make sure Playwright is configured to generate a JSON report.