tldraw/apps
Steve Ruiz eb26964130
[refactor] restore createTLSchema (#1444)
This PR restores `createTLSchema`. 

It also:
- removes `TldrawEditorConfig.default`
- makes `config` a required property of `<TldrawEditor>`, though it's
created automatically in `<Tldraw>`.
- makes `config` a required property of `App`
- removes `TLShapeType` and replaces the rare usage with
`TLShape["type"]`
- adds `TLDefaultShape` for a union of our default shapes
- makes `TLShape` a union of `TLDefaultShape` and `TLUnknownShape`

### Change Type

- [x] `major` — Breaking Change

### Release Notes

- [editor] Simplifies custom shape definition
- [tldraw] Updates props for <TldrawEditor> component to require a
`TldrawEditorConfig`.
2023-05-24 10:48:31 +00:00
..
docs Update docs links + guides + build (#1422) 2023-05-22 08:21:54 +00:00
examples [refactor] restore createTLSchema (#1444) 2023-05-24 10:48:31 +00:00
vscode [refactor] restore createTLSchema (#1444) 2023-05-24 10:48:31 +00:00
webdriver avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00