From baa71289ed6d0b03f693b7f635a631d3192d3d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mime=20=C4=8Cuvalo?= Date: Tue, 25 Jun 2024 12:28:26 +0100 Subject: [PATCH] assets: mark assetOptions as internal (#4014) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit internal for now until we figure out this PR: https://github.com/tldraw/tldraw/pull/3992 ### Change Type - [x] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff - [ ] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [x] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know --- packages/editor/api-report.md | 1 + packages/editor/src/lib/TldrawEditor.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/editor/api-report.md b/packages/editor/api-report.md index 91912d7a7..add4a78d2 100644 --- a/packages/editor/api-report.md +++ b/packages/editor/api-report.md @@ -2520,6 +2520,7 @@ export const TldrawEditor: React_2.NamedExoticComponent; // @public export interface TldrawEditorBaseProps { + // @internal assetOptions?: Partial; autoFocus?: boolean; bindingUtils?: readonly TLAnyBindingUtilConstructor[]; diff --git a/packages/editor/src/lib/TldrawEditor.tsx b/packages/editor/src/lib/TldrawEditor.tsx index e64985b2c..e90ff9484 100644 --- a/packages/editor/src/lib/TldrawEditor.tsx +++ b/packages/editor/src/lib/TldrawEditor.tsx @@ -162,6 +162,7 @@ export interface TldrawEditorBaseProps { /** * Asset options for the editor. + * @internal */ assetOptions?: Partial