From 6c5c74d1758c8d22c59d6427d2de911188285e5c Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sun, 14 Apr 2024 19:27:14 +0100 Subject: [PATCH] ok --- packages/tldraw/api-report.md | 6 +++--- packages/tldraw/api/api.json | 8 ++++---- packages/tlschema/api-report.md | 6 +++--- packages/tlschema/api/api.json | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/tldraw/api-report.md b/packages/tldraw/api-report.md index 1c9ddb8e8..c4b7b27e0 100644 --- a/packages/tldraw/api-report.md +++ b/packages/tldraw/api-report.md @@ -221,9 +221,9 @@ export class ArrowShapeUtil extends ShapeUtil { isPrecise: boolean; }>; point: ObjectValidator< { - type: "point"; x: number; y: number; + type: "point"; }>; }, never>; end: UnionValidator<"type", { @@ -235,9 +235,9 @@ export class ArrowShapeUtil extends ShapeUtil { isPrecise: boolean; }>; point: ObjectValidator< { - type: "point"; x: number; y: number; + type: "point"; }>; }, never>; bend: Validator; @@ -1058,10 +1058,10 @@ export class LineShapeUtil extends ShapeUtil { size: EnumStyleProp<"l" | "m" | "s" | "xl">; spline: EnumStyleProp<"cubic" | "line">; points: DictValidator; }; // (undocumented) diff --git a/packages/tldraw/api/api.json b/packages/tldraw/api/api.json index a3fdba1f3..99fbd7074 100644 --- a/packages/tldraw/api/api.json +++ b/packages/tldraw/api/api.json @@ -1645,7 +1645,7 @@ }, { "kind": "Content", - "text": "<{\n type: \"point\";\n x: number;\n y: number;\n }>;\n }, never>;\n end: import(\"@tldraw/editor\")." + "text": "<{\n x: number;\n y: number;\n type: \"point\";\n }>;\n }, never>;\n end: import(\"@tldraw/editor\")." }, { "kind": "Reference", @@ -1690,7 +1690,7 @@ }, { "kind": "Content", - "text": "<{\n type: \"point\";\n x: number;\n y: number;\n }>;\n }, never>;\n bend: import(\"@tldraw/editor\")." + "text": "<{\n x: number;\n y: number;\n type: \"point\";\n }>;\n }, never>;\n bend: import(\"@tldraw/editor\")." }, { "kind": "Reference", @@ -12374,7 +12374,7 @@ }, { "kind": "Content", - "text": ";\n }" + "text": ";\n }>;\n }" }, { "kind": "Content", diff --git a/packages/tlschema/api-report.md b/packages/tlschema/api-report.md index 807ce3dd1..1d5fb6dd1 100644 --- a/packages/tlschema/api-report.md +++ b/packages/tlschema/api-report.md @@ -47,9 +47,9 @@ export const arrowShapeProps: { isPrecise: boolean; } & {}>; point: T.ObjectValidator<{ - type: "point"; x: number; y: number; + type: "point"; } & {}>; }, never>; end: T.UnionValidator<"type", { @@ -61,9 +61,9 @@ export const arrowShapeProps: { isPrecise: boolean; } & {}>; point: T.ObjectValidator<{ - type: "point"; x: number; y: number; + type: "point"; } & {}>; }, never>; bend: T.Validator; @@ -666,10 +666,10 @@ export const lineShapeProps: { size: EnumStyleProp<"l" | "m" | "s" | "xl">; spline: EnumStyleProp<"cubic" | "line">; points: T.DictValidator; }; diff --git a/packages/tlschema/api/api.json b/packages/tlschema/api/api.json index a1dcec125..2d2f90969 100644 --- a/packages/tlschema/api/api.json +++ b/packages/tlschema/api/api.json @@ -364,7 +364,7 @@ }, { "kind": "Content", - "text": "<{\n type: \"point\";\n x: number;\n y: number;\n } & {}>;\n }, never>;\n end: " + "text": "<{\n x: number;\n y: number;\n type: \"point\";\n } & {}>;\n }, never>;\n end: " }, { "kind": "Reference", @@ -409,7 +409,7 @@ }, { "kind": "Content", - "text": "<{\n type: \"point\";\n x: number;\n y: number;\n } & {}>;\n }, never>;\n bend: " + "text": "<{\n x: number;\n y: number;\n type: \"point\";\n } & {}>;\n }, never>;\n bend: " }, { "kind": "Reference", @@ -2818,7 +2818,7 @@ }, { "kind": "Content", - "text": ";\n}" + "text": ";\n } & {}>;\n}" } ], "fileUrlPath": "packages/tlschema/src/shapes/TLLineShape.ts",