Rename tlstore to store (#1507)
This PR renames the `@tldraw/tlstore` package to `@tldraw/store`, mainly to avoid confusion between `TLStore`. Will be doing the same with other packages. ### Change Type - [x] `major` — Breaking Change ### Release Notes - Replace @tldraw/tlstore with @tldraw/store
This commit is contained in:
parent
7307282f1f
commit
c1b84bf246
92 changed files with 99 additions and 99 deletions
|
@ -61,9 +61,9 @@
|
||||||
"@tldraw/editor": "workspace:*",
|
"@tldraw/editor": "workspace:*",
|
||||||
"@tldraw/file-format": "workspace:*",
|
"@tldraw/file-format": "workspace:*",
|
||||||
"@tldraw/primitives": "workspace:*",
|
"@tldraw/primitives": "workspace:*",
|
||||||
|
"@tldraw/store": "workspace:*",
|
||||||
"@tldraw/tldraw": "workspace:*",
|
"@tldraw/tldraw": "workspace:*",
|
||||||
"@tldraw/tlschema": "workspace:*",
|
"@tldraw/tlschema": "workspace:*",
|
||||||
"@tldraw/tlstore": "workspace:*",
|
|
||||||
"@tldraw/ui": "workspace:*",
|
"@tldraw/ui": "workspace:*",
|
||||||
"@tldraw/utils": "workspace:*",
|
"@tldraw/utils": "workspace:*",
|
||||||
"@tldraw/validate": "workspace:*",
|
"@tldraw/validate": "workspace:*",
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tldraw/editor": "workspace:*",
|
"@tldraw/editor": "workspace:*",
|
||||||
"@tldraw/file-format": "workspace:*",
|
"@tldraw/file-format": "workspace:*",
|
||||||
"@tldraw/tlstore": "workspace:*",
|
"@tldraw/store": "workspace:*",
|
||||||
"@types/fs-extra": "^11.0.1",
|
"@types/fs-extra": "^11.0.1",
|
||||||
"@types/node-fetch": "^2.6.2",
|
"@types/node-fetch": "^2.6.2",
|
||||||
"@types/vscode": "^1.75.1",
|
"@types/vscode": "^1.75.1",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { UnknownRecord } from '@tldraw/tlstore'
|
import { UnknownRecord } from '@tldraw/store'
|
||||||
import { isEqual } from 'lodash'
|
import { isEqual } from 'lodash'
|
||||||
import fetch from 'node-fetch'
|
import fetch from 'node-fetch'
|
||||||
import * as vscode from 'vscode'
|
import * as vscode from 'vscode'
|
||||||
|
|
|
@ -10,7 +10,7 @@ import { Atom } from 'signia';
|
||||||
import { Box2d } from '@tldraw/primitives';
|
import { Box2d } from '@tldraw/primitives';
|
||||||
import { Box2dModel } from '@tldraw/tlschema';
|
import { Box2dModel } from '@tldraw/tlschema';
|
||||||
import { Computed } from 'signia';
|
import { Computed } from 'signia';
|
||||||
import { ComputedCache } from '@tldraw/tlstore';
|
import { ComputedCache } from '@tldraw/store';
|
||||||
import { CubicSpline2d } from '@tldraw/primitives';
|
import { CubicSpline2d } from '@tldraw/primitives';
|
||||||
import { EASINGS } from '@tldraw/primitives';
|
import { EASINGS } from '@tldraw/primitives';
|
||||||
import { EmbedDefinition } from '@tldraw/tlschema';
|
import { EmbedDefinition } from '@tldraw/tlschema';
|
||||||
|
@ -23,11 +23,11 @@ import { getIndices } from '@tldraw/indices';
|
||||||
import { getIndicesAbove } from '@tldraw/indices';
|
import { getIndicesAbove } from '@tldraw/indices';
|
||||||
import { getIndicesBelow } from '@tldraw/indices';
|
import { getIndicesBelow } from '@tldraw/indices';
|
||||||
import { getIndicesBetween } from '@tldraw/indices';
|
import { getIndicesBetween } from '@tldraw/indices';
|
||||||
import { HistoryEntry } from '@tldraw/tlstore';
|
import { HistoryEntry } from '@tldraw/store';
|
||||||
import { MatLike } from '@tldraw/primitives';
|
import { MatLike } from '@tldraw/primitives';
|
||||||
import { Matrix2d } from '@tldraw/primitives';
|
import { Matrix2d } from '@tldraw/primitives';
|
||||||
import { Matrix2dModel } from '@tldraw/primitives';
|
import { Matrix2dModel } from '@tldraw/primitives';
|
||||||
import { Migrations } from '@tldraw/tlstore';
|
import { Migrations } from '@tldraw/store';
|
||||||
import { Polyline2d } from '@tldraw/primitives';
|
import { Polyline2d } from '@tldraw/primitives';
|
||||||
import { default as React_2 } from 'react';
|
import { default as React_2 } from 'react';
|
||||||
import * as React_3 from 'react';
|
import * as React_3 from 'react';
|
||||||
|
@ -35,10 +35,10 @@ import { RotateCorner } from '@tldraw/primitives';
|
||||||
import { SelectionCorner } from '@tldraw/primitives';
|
import { SelectionCorner } from '@tldraw/primitives';
|
||||||
import { SelectionEdge } from '@tldraw/primitives';
|
import { SelectionEdge } from '@tldraw/primitives';
|
||||||
import { SelectionHandle } from '@tldraw/primitives';
|
import { SelectionHandle } from '@tldraw/primitives';
|
||||||
import { SerializedSchema } from '@tldraw/tlstore';
|
import { SerializedSchema } from '@tldraw/store';
|
||||||
import { Signal } from 'signia';
|
import { Signal } from 'signia';
|
||||||
import { sortByIndex } from '@tldraw/indices';
|
import { sortByIndex } from '@tldraw/indices';
|
||||||
import { StoreSnapshot } from '@tldraw/tlstore';
|
import { StoreSnapshot } from '@tldraw/store';
|
||||||
import { StrokePoint } from '@tldraw/primitives';
|
import { StrokePoint } from '@tldraw/primitives';
|
||||||
import { TLAlignType } from '@tldraw/tlschema';
|
import { TLAlignType } from '@tldraw/tlschema';
|
||||||
import { TLArrowheadType } from '@tldraw/tlschema';
|
import { TLArrowheadType } from '@tldraw/tlschema';
|
||||||
|
@ -93,7 +93,7 @@ import { TLUnknownShape } from '@tldraw/tlschema';
|
||||||
import { TLUserDocument } from '@tldraw/tlschema';
|
import { TLUserDocument } from '@tldraw/tlschema';
|
||||||
import { TLVideoAsset } from '@tldraw/tlschema';
|
import { TLVideoAsset } from '@tldraw/tlschema';
|
||||||
import { TLVideoShape } from '@tldraw/tlschema';
|
import { TLVideoShape } from '@tldraw/tlschema';
|
||||||
import { UnknownRecord } from '@tldraw/tlstore';
|
import { UnknownRecord } from '@tldraw/store';
|
||||||
import { Vec2d } from '@tldraw/primitives';
|
import { Vec2d } from '@tldraw/primitives';
|
||||||
import { Vec2dModel } from '@tldraw/tlschema';
|
import { Vec2dModel } from '@tldraw/tlschema';
|
||||||
import { VecLike } from '@tldraw/primitives';
|
import { VecLike } from '@tldraw/primitives';
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tldraw/indices": "workspace:*",
|
"@tldraw/indices": "workspace:*",
|
||||||
"@tldraw/primitives": "workspace:*",
|
"@tldraw/primitives": "workspace:*",
|
||||||
|
"@tldraw/store": "workspace:*",
|
||||||
"@tldraw/tlschema": "workspace:*",
|
"@tldraw/tlschema": "workspace:*",
|
||||||
"@tldraw/tlstore": "workspace:*",
|
|
||||||
"@tldraw/utils": "workspace:*",
|
"@tldraw/utils": "workspace:*",
|
||||||
"@tldraw/validate": "workspace:*",
|
"@tldraw/validate": "workspace:*",
|
||||||
"@use-gesture/react": "^10.2.27",
|
"@use-gesture/react": "^10.2.27",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { Store, StoreSnapshot } from '@tldraw/store'
|
||||||
import { TLAsset, TLInstanceId, TLRecord, TLStore } from '@tldraw/tlschema'
|
import { TLAsset, TLInstanceId, TLRecord, TLStore } from '@tldraw/tlschema'
|
||||||
import { Store, StoreSnapshot } from '@tldraw/tlstore'
|
|
||||||
import { annotateError } from '@tldraw/utils'
|
import { annotateError } from '@tldraw/utils'
|
||||||
import React, { memo, useCallback, useLayoutEffect, useState, useSyncExternalStore } from 'react'
|
import React, { memo, useCallback, useLayoutEffect, useState, useSyncExternalStore } from 'react'
|
||||||
import { Editor } from './app/Editor'
|
import { Editor } from './app/Editor'
|
||||||
|
|
|
@ -21,6 +21,7 @@ import {
|
||||||
intersectPolygonPolygon,
|
intersectPolygonPolygon,
|
||||||
pointInPolygon,
|
pointInPolygon,
|
||||||
} from '@tldraw/primitives'
|
} from '@tldraw/primitives'
|
||||||
|
import { ComputedCache, HistoryEntry, RecordType, UnknownRecord } from '@tldraw/store'
|
||||||
import {
|
import {
|
||||||
Box2dModel,
|
Box2dModel,
|
||||||
CameraRecordType,
|
CameraRecordType,
|
||||||
|
@ -65,7 +66,6 @@ import {
|
||||||
isShape,
|
isShape,
|
||||||
isShapeId,
|
isShapeId,
|
||||||
} from '@tldraw/tlschema'
|
} from '@tldraw/tlschema'
|
||||||
import { ComputedCache, HistoryEntry, RecordType, UnknownRecord } from '@tldraw/tlstore'
|
|
||||||
import {
|
import {
|
||||||
annotateError,
|
annotateError,
|
||||||
compact,
|
compact,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { RecordsDiff } from '@tldraw/store'
|
||||||
import { isShape, TLParentId, TLRecord, TLShapeId, TLStore } from '@tldraw/tlschema'
|
import { isShape, TLParentId, TLRecord, TLShapeId, TLStore } from '@tldraw/tlschema'
|
||||||
import { RecordsDiff } from '@tldraw/tlstore'
|
|
||||||
import { computed, isUninitialized, RESET_VALUE } from 'signia'
|
import { computed, isUninitialized, RESET_VALUE } from 'signia'
|
||||||
|
|
||||||
type Parents2Children = Record<TLParentId, [id: TLShapeId, index: string][]>
|
type Parents2Children = Record<TLParentId, [id: TLShapeId, index: string][]>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { IncrementalSetConstructor } from '@tldraw/store'
|
||||||
import {
|
import {
|
||||||
isPageId,
|
isPageId,
|
||||||
isShape,
|
isShape,
|
||||||
|
@ -7,7 +8,6 @@ import {
|
||||||
TLShapeId,
|
TLShapeId,
|
||||||
TLStore,
|
TLStore,
|
||||||
} from '@tldraw/tlschema'
|
} from '@tldraw/tlschema'
|
||||||
import { IncrementalSetConstructor } from '@tldraw/tlstore'
|
|
||||||
import { computed, isUninitialized, RESET_VALUE, withDiff } from 'signia'
|
import { computed, isUninitialized, RESET_VALUE, withDiff } from 'signia'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { devFreeze } from '@tldraw/tlstore'
|
import { devFreeze } from '@tldraw/store'
|
||||||
import { atom, transact } from 'signia'
|
import { atom, transact } from 'signia'
|
||||||
import { uniqueId } from '../../utils/data'
|
import { uniqueId } from '../../utils/data'
|
||||||
import { TLCommandHandler, TLHistoryEntry } from '../types/history-types'
|
import { TLCommandHandler, TLHistoryEntry } from '../types/history-types'
|
||||||
|
|
|
@ -10,6 +10,7 @@ import {
|
||||||
Vec2d,
|
Vec2d,
|
||||||
VecLike,
|
VecLike,
|
||||||
} from '@tldraw/primitives'
|
} from '@tldraw/primitives'
|
||||||
|
import { ComputedCache } from '@tldraw/store'
|
||||||
import {
|
import {
|
||||||
TLArrowheadType,
|
TLArrowheadType,
|
||||||
TLArrowShape,
|
TLArrowShape,
|
||||||
|
@ -20,7 +21,6 @@ import {
|
||||||
TLShapePartial,
|
TLShapePartial,
|
||||||
Vec2dModel,
|
Vec2dModel,
|
||||||
} from '@tldraw/tlschema'
|
} from '@tldraw/tlschema'
|
||||||
import { ComputedCache } from '@tldraw/tlstore'
|
|
||||||
import { deepCopy, last, minBy } from '@tldraw/utils'
|
import { deepCopy, last, minBy } from '@tldraw/utils'
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { computed, EMPTY_ARRAY } from 'signia'
|
import { computed, EMPTY_ARRAY } from 'signia'
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||||
import { Box2d, linesIntersect, Matrix2d, VecLike } from '@tldraw/primitives'
|
import { Box2d, linesIntersect, Matrix2d, VecLike } from '@tldraw/primitives'
|
||||||
|
import { ComputedCache } from '@tldraw/store'
|
||||||
import {
|
import {
|
||||||
TLBaseShape,
|
TLBaseShape,
|
||||||
TLHandle,
|
TLHandle,
|
||||||
|
@ -8,7 +9,6 @@ import {
|
||||||
TLUnknownShape,
|
TLUnknownShape,
|
||||||
Vec2dModel,
|
Vec2dModel,
|
||||||
} from '@tldraw/tlschema'
|
} from '@tldraw/tlschema'
|
||||||
import { ComputedCache } from '@tldraw/tlstore'
|
|
||||||
import { computed, EMPTY_ARRAY } from 'signia'
|
import { computed, EMPTY_ARRAY } from 'signia'
|
||||||
import { WeakMapCache } from '../../utils/WeakMapCache'
|
import { WeakMapCache } from '../../utils/WeakMapCache'
|
||||||
import type { Editor } from '../Editor'
|
import type { Editor } from '../Editor'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { SerializedSchema } from '@tldraw/store'
|
||||||
import { TLAsset, TLShape, TLShapeId } from '@tldraw/tlschema'
|
import { TLAsset, TLShape, TLShapeId } from '@tldraw/tlschema'
|
||||||
import { SerializedSchema } from '@tldraw/tlstore'
|
|
||||||
|
|
||||||
/** @public */
|
/** @public */
|
||||||
export interface TLClipboardModel {
|
export interface TLClipboardModel {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { defineMigrations, migrate } from '@tldraw/store'
|
||||||
import { getDefaultTranslationLocale } from '@tldraw/tlschema'
|
import { getDefaultTranslationLocale } from '@tldraw/tlschema'
|
||||||
import { defineMigrations, migrate } from '@tldraw/tlstore'
|
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { atom } from 'signia'
|
import { atom } from 'signia'
|
||||||
import { uniqueId } from '../utils/data'
|
import { uniqueId } from '../utils/data'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { Migrations, Store, StoreSnapshot } from '@tldraw/store'
|
||||||
import {
|
import {
|
||||||
InstanceRecordType,
|
InstanceRecordType,
|
||||||
TLDOCUMENT_ID,
|
TLDOCUMENT_ID,
|
||||||
|
@ -6,7 +7,6 @@ import {
|
||||||
TLStore,
|
TLStore,
|
||||||
createTLSchema,
|
createTLSchema,
|
||||||
} from '@tldraw/tlschema'
|
} from '@tldraw/tlschema'
|
||||||
import { Migrations, Store, StoreSnapshot } from '@tldraw/tlstore'
|
|
||||||
import { TLShapeUtilConstructor } from '../app/shapeutils/TLShapeUtil'
|
import { TLShapeUtilConstructor } from '../app/shapeutils/TLShapeUtil'
|
||||||
|
|
||||||
/** @public */
|
/** @public */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { RecordsDiff, SerializedSchema, compareSchemas, squashRecordDiffs } from '@tldraw/store'
|
||||||
import { TLInstanceId, TLRecord, TLStore } from '@tldraw/tlschema'
|
import { TLInstanceId, TLRecord, TLStore } from '@tldraw/tlschema'
|
||||||
import { RecordsDiff, SerializedSchema, compareSchemas, squashRecordDiffs } from '@tldraw/tlstore'
|
|
||||||
import { assert, hasOwnProperty } from '@tldraw/utils'
|
import { assert, hasOwnProperty } from '@tldraw/utils'
|
||||||
import { transact } from 'signia'
|
import { transact } from 'signia'
|
||||||
import { showCantReadFromIndexDbAlert, showCantWriteToIndexDbAlert } from './alerts'
|
import { showCantReadFromIndexDbAlert, showCantWriteToIndexDbAlert } from './alerts'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
import { RecordsDiff, SerializedSchema, StoreSnapshot } from '@tldraw/store'
|
||||||
import { TLRecord, TLStoreSchema } from '@tldraw/tlschema'
|
import { TLRecord, TLStoreSchema } from '@tldraw/tlschema'
|
||||||
import { RecordsDiff, SerializedSchema, StoreSnapshot } from '@tldraw/tlstore'
|
|
||||||
import { IDBPDatabase, openDB } from 'idb'
|
import { IDBPDatabase, openDB } from 'idb'
|
||||||
import { STORE_PREFIX, addDbName, getAllIndexDbNames } from './persistence-constants'
|
import { STORE_PREFIX, addDbName, getAllIndexDbNames } from './persistence-constants'
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../primitives" },
|
{ "path": "../primitives" },
|
||||||
{ "path": "../tlschema" },
|
{ "path": "../tlschema" },
|
||||||
{ "path": "../tlstore" },
|
{ "path": "../store" },
|
||||||
{ "path": "../validate" },
|
{ "path": "../validate" },
|
||||||
{ "path": "../utils" },
|
{ "path": "../utils" },
|
||||||
{ "path": "../indices" }
|
{ "path": "../indices" }
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
```ts
|
```ts
|
||||||
|
|
||||||
import { Editor } from '@tldraw/editor';
|
import { Editor } from '@tldraw/editor';
|
||||||
import { MigrationFailureReason } from '@tldraw/tlstore';
|
import { MigrationFailureReason } from '@tldraw/store';
|
||||||
import { Result } from '@tldraw/utils';
|
import { Result } from '@tldraw/utils';
|
||||||
import { SerializedSchema } from '@tldraw/tlstore';
|
import { SerializedSchema } from '@tldraw/store';
|
||||||
import { TLInstanceId } from '@tldraw/editor';
|
import { TLInstanceId } from '@tldraw/editor';
|
||||||
import { TLStore } from '@tldraw/editor';
|
import { TLStore } from '@tldraw/editor';
|
||||||
import { TLUiToastsContextType } from '@tldraw/ui';
|
import { TLUiToastsContextType } from '@tldraw/ui';
|
||||||
import { TLUiTranslationKey } from '@tldraw/ui';
|
import { TLUiTranslationKey } from '@tldraw/ui';
|
||||||
import { UnknownRecord } from '@tldraw/tlstore';
|
import { UnknownRecord } from '@tldraw/store';
|
||||||
|
|
||||||
// @internal (undocumented)
|
// @internal (undocumented)
|
||||||
export function buildFromV1Document(editor: Editor, document: LegacyTldrawDocument): void;
|
export function buildFromV1Document(editor: Editor, document: LegacyTldrawDocument): void;
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tldraw/editor": "workspace:*",
|
"@tldraw/editor": "workspace:*",
|
||||||
"@tldraw/primitives": "workspace:*",
|
"@tldraw/primitives": "workspace:*",
|
||||||
"@tldraw/tlstore": "workspace:*",
|
"@tldraw/store": "workspace:*",
|
||||||
"@tldraw/ui": "workspace:*",
|
"@tldraw/ui": "workspace:*",
|
||||||
"@tldraw/utils": "workspace:*",
|
"@tldraw/utils": "workspace:*",
|
||||||
"@tldraw/validate": "workspace:*"
|
"@tldraw/validate": "workspace:*"
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {
|
||||||
SerializedSchema,
|
SerializedSchema,
|
||||||
StoreSnapshot,
|
StoreSnapshot,
|
||||||
UnknownRecord,
|
UnknownRecord,
|
||||||
} from '@tldraw/tlstore'
|
} from '@tldraw/store'
|
||||||
import { TLUiToastsContextType, TLUiTranslationKey } from '@tldraw/ui'
|
import { TLUiToastsContextType, TLUiTranslationKey } from '@tldraw/ui'
|
||||||
import { exhaustiveSwitchError, Result } from '@tldraw/utils'
|
import { exhaustiveSwitchError, Result } from '@tldraw/utils'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { createCustomShapeId, createTLStore, InstanceRecordType, TLStore } from '@tldraw/editor'
|
import { createCustomShapeId, createTLStore, InstanceRecordType, TLStore } from '@tldraw/editor'
|
||||||
import { MigrationFailureReason, UnknownRecord } from '@tldraw/tlstore'
|
import { MigrationFailureReason, UnknownRecord } from '@tldraw/store'
|
||||||
import { assert } from '@tldraw/utils'
|
import { assert } from '@tldraw/utils'
|
||||||
import { parseTldrawJsonFile as _parseTldrawJsonFile, TldrawFile } from '../lib/file'
|
import { parseTldrawJsonFile as _parseTldrawJsonFile, TldrawFile } from '../lib/file'
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../editor" },
|
{ "path": "../editor" },
|
||||||
{ "path": "../tlstore" },
|
{ "path": "../store" },
|
||||||
{ "path": "../validate" },
|
{ "path": "../validate" },
|
||||||
{ "path": "../primitives" },
|
{ "path": "../primitives" },
|
||||||
{ "path": "../utils" },
|
{ "path": "../utils" },
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
## API Report File for "@tldraw/tlstore"
|
## API Report File for "@tldraw/store"
|
||||||
|
|
||||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@tldraw/tlstore",
|
"name": "@tldraw/store",
|
||||||
"description": "A tiny little drawing app (store).",
|
"description": "A tiny little drawing app (store).",
|
||||||
"version": "2.0.0-alpha.12",
|
"version": "2.0.0-alpha.12",
|
||||||
"packageManager": "yarn@3.5.0",
|
"packageManager": "yarn@3.5.0",
|
|
@ -4,17 +4,17 @@
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
|
|
||||||
import { BaseRecord } from '@tldraw/tlstore';
|
import { BaseRecord } from '@tldraw/store';
|
||||||
import { ID } from '@tldraw/tlstore';
|
import { ID } from '@tldraw/store';
|
||||||
import { Migrations } from '@tldraw/tlstore';
|
import { Migrations } from '@tldraw/store';
|
||||||
import { RecordType } from '@tldraw/tlstore';
|
import { RecordType } from '@tldraw/store';
|
||||||
import { Signal } from 'signia';
|
import { Signal } from 'signia';
|
||||||
import { Store } from '@tldraw/tlstore';
|
import { Store } from '@tldraw/store';
|
||||||
import { StoreSchema } from '@tldraw/tlstore';
|
import { StoreSchema } from '@tldraw/store';
|
||||||
import { StoreSchemaOptions } from '@tldraw/tlstore';
|
import { StoreSchemaOptions } from '@tldraw/store';
|
||||||
import { StoreSnapshot } from '@tldraw/tlstore';
|
import { StoreSnapshot } from '@tldraw/store';
|
||||||
import { T } from '@tldraw/validate';
|
import { T } from '@tldraw/validate';
|
||||||
import { UnknownRecord } from '@tldraw/tlstore';
|
import { UnknownRecord } from '@tldraw/store';
|
||||||
|
|
||||||
// @internal (undocumented)
|
// @internal (undocumented)
|
||||||
export const alignValidator: T.Validator<"end" | "middle" | "start">;
|
export const alignValidator: T.Validator<"end" | "middle" | "start">;
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tldraw/tlstore": "workspace:*",
|
"@tldraw/store": "workspace:*",
|
||||||
"@tldraw/utils": "workspace:*",
|
"@tldraw/utils": "workspace:*",
|
||||||
"@tldraw/validate": "workspace:*",
|
"@tldraw/validate": "workspace:*",
|
||||||
"nanoid": "4.0.2"
|
"nanoid": "4.0.2"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Store, StoreSchema, StoreSchemaOptions, StoreSnapshot } from '@tldraw/tlstore'
|
import { Store, StoreSchema, StoreSchemaOptions, StoreSnapshot } from '@tldraw/store'
|
||||||
import { annotateError, structuredClone } from '@tldraw/utils'
|
import { annotateError, structuredClone } from '@tldraw/utils'
|
||||||
import { TLRecord } from './TLRecord'
|
import { TLRecord } from './TLRecord'
|
||||||
import { CameraRecordType } from './records/TLCamera'
|
import { CameraRecordType } from './records/TLCamera'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { createAssetValidator, TLBaseAsset } from './asset-validation'
|
import { createAssetValidator, TLBaseAsset } from './asset-validation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { createAssetValidator, TLBaseAsset } from './asset-validation'
|
import { createAssetValidator, TLBaseAsset } from './asset-validation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { createAssetValidator, TLBaseAsset } from './asset-validation'
|
import { createAssetValidator, TLBaseAsset } from './asset-validation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord } from '@tldraw/tlstore'
|
import { BaseRecord } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLAssetId } from '../records/TLAsset'
|
import { TLAssetId } from '../records/TLAsset'
|
||||||
import { assetIdValidator } from '../validation'
|
import { assetIdValidator } from '../validation'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Migrations, StoreSchema, createRecordType, defineMigrations } from '@tldraw/tlstore'
|
import { Migrations, StoreSchema, createRecordType, defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLRecord } from './TLRecord'
|
import { TLRecord } from './TLRecord'
|
||||||
import { TLStoreProps, createIntegrityChecker, onValidationFailure } from './TLStore'
|
import { TLStoreProps, createIntegrityChecker, onValidationFailure } from './TLStore'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { StoreSnapshot } from '@tldraw/tlstore'
|
import { StoreSnapshot } from '@tldraw/store'
|
||||||
import { TLRecord } from './TLRecord'
|
import { TLRecord } from './TLRecord'
|
||||||
import { Vec2dModel } from './geometry-types'
|
import { Vec2dModel } from './geometry-types'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { createRecordType, Migrations, Store } from '@tldraw/tlstore'
|
import { createRecordType, Migrations, Store } from '@tldraw/store'
|
||||||
import { structuredClone } from '@tldraw/utils'
|
import { structuredClone } from '@tldraw/utils'
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
import { imageAssetMigrations } from './assets/TLImageAsset'
|
import { imageAssetMigrations } from './assets/TLImageAsset'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLBaseAsset } from '../assets/asset-validation'
|
import { TLBaseAsset } from '../assets/asset-validation'
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { idValidator } from '../validation'
|
import { idValidator } from '../validation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { Box2dModel } from '../geometry-types'
|
import { Box2dModel } from '../geometry-types'
|
||||||
import { TL_STYLE_TYPES, TLStyleType } from '../style-types'
|
import { TL_STYLE_TYPES, TLStyleType } from '../style-types'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { idValidator, instanceIdValidator, pageIdValidator, shapeIdValidator } from '../validation'
|
import { idValidator, instanceIdValidator, pageIdValidator, shapeIdValidator } from '../validation'
|
||||||
import { TLCamera, TLCameraId } from './TLCamera'
|
import { TLCamera, TLCameraId } from './TLCamera'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { Box2dModel } from '../geometry-types'
|
import { Box2dModel } from '../geometry-types'
|
||||||
import { cursorTypeValidator, scribbleTypeValidator, TLCursor, TLScribble } from '../ui-types'
|
import { cursorTypeValidator, scribbleTypeValidator, TLCursor, TLScribble } from '../ui-types'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { pageIdValidator } from '../validation'
|
import { pageIdValidator } from '../validation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { idValidator } from '../validation'
|
import { idValidator } from '../validation'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations, ID, UnknownRecord } from '@tldraw/tlstore'
|
import { defineMigrations, ID, UnknownRecord } from '@tldraw/store'
|
||||||
import { nanoid } from 'nanoid'
|
import { nanoid } from 'nanoid'
|
||||||
import { TLBaseShape } from '../shapes/shape-validation'
|
import { TLBaseShape } from '../shapes/shape-validation'
|
||||||
import { TLArrowShape } from '../shapes/TLArrowShape'
|
import { TLArrowShape } from '../shapes/TLArrowShape'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/tlstore'
|
import { BaseRecord, createRecordType, defineMigrations, ID } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { idValidator, instanceIdValidator, pageIdValidator } from '../validation'
|
import { idValidator, instanceIdValidator, pageIdValidator } from '../validation'
|
||||||
import { TLInstance } from './TLInstance'
|
import { TLInstance } from './TLInstance'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations, StoreSnapshot } from '@tldraw/tlstore'
|
import { defineMigrations, StoreSnapshot } from '@tldraw/store'
|
||||||
import { TLRecord } from './TLRecord'
|
import { TLRecord } from './TLRecord'
|
||||||
|
|
||||||
const Versions = {
|
const Versions = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { Vec2dModel } from '../geometry-types'
|
import { Vec2dModel } from '../geometry-types'
|
||||||
import { TLShapeId } from '../records/TLShape'
|
import { TLShapeId } from '../records/TLShape'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLAssetId } from '../records/TLAsset'
|
import { TLAssetId } from '../records/TLAsset'
|
||||||
import { TLOpacityType } from '../style-types'
|
import { TLOpacityType } from '../style-types'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { Vec2dModel } from '../geometry-types'
|
import { Vec2dModel } from '../geometry-types'
|
||||||
import { TLColorType, TLDashType, TLFillType, TLOpacityType, TLSizeType } from '../style-types'
|
import { TLColorType, TLDashType, TLFillType, TLOpacityType, TLSizeType } from '../style-types'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLOpacityType } from '../style-types'
|
import { TLOpacityType } from '../style-types'
|
||||||
import { opacityValidator } from '../validation'
|
import { opacityValidator } from '../validation'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLOpacityType } from '../style-types'
|
import { TLOpacityType } from '../style-types'
|
||||||
import { opacityValidator } from '../validation'
|
import { opacityValidator } from '../validation'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import {
|
import {
|
||||||
TLAlignType,
|
TLAlignType,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLOpacityType } from '../style-types'
|
import { TLOpacityType } from '../style-types'
|
||||||
import { opacityValidator } from '../validation'
|
import { opacityValidator } from '../validation'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLColorType, TLOpacityType, TLSizeType } from '../style-types'
|
import { TLColorType, TLOpacityType, TLSizeType } from '../style-types'
|
||||||
import { colorValidator, opacityValidator, sizeValidator } from '../validation'
|
import { colorValidator, opacityValidator, sizeValidator } from '../validation'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLColorType, TLDashType, TLIconType, TLOpacityType, TLSizeType } from '../style-types'
|
import { TLColorType, TLDashType, TLIconType, TLOpacityType, TLSizeType } from '../style-types'
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { Vec2dModel } from '../geometry-types'
|
import { Vec2dModel } from '../geometry-types'
|
||||||
import { TLAssetId } from '../records/TLAsset'
|
import { TLAssetId } from '../records/TLAsset'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLColorType, TLDashType, TLOpacityType, TLSizeType, TLSplineType } from '../style-types'
|
import { TLColorType, TLDashType, TLOpacityType, TLSizeType, TLSplineType } from '../style-types'
|
||||||
import { TLHandle, handleTypeValidator } from '../ui-types'
|
import { TLHandle, handleTypeValidator } from '../ui-types'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLAlignType, TLColorType, TLFontType, TLOpacityType, TLSizeType } from '../style-types'
|
import { TLAlignType, TLColorType, TLFontType, TLOpacityType, TLSizeType } from '../style-types'
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLAlignType, TLColorType, TLFontType, TLOpacityType, TLSizeType } from '../style-types'
|
import { TLAlignType, TLColorType, TLFontType, TLOpacityType, TLSizeType } from '../style-types'
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineMigrations } from '@tldraw/tlstore'
|
import { defineMigrations } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLAssetId } from '../records/TLAsset'
|
import { TLAssetId } from '../records/TLAsset'
|
||||||
import { TLOpacityType } from '../style-types'
|
import { TLOpacityType } from '../style-types'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BaseRecord } from '@tldraw/tlstore'
|
import { BaseRecord } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import { TLParentId, TLShapeId } from '../records/TLShape'
|
import { TLParentId, TLShapeId } from '../records/TLShape'
|
||||||
import { parentIdValidator, shapeIdValidator } from '../validation'
|
import { parentIdValidator, shapeIdValidator } from '../validation'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type { ID, UnknownRecord } from '@tldraw/tlstore'
|
import type { ID, UnknownRecord } from '@tldraw/store'
|
||||||
import { T } from '@tldraw/validate'
|
import { T } from '@tldraw/validate'
|
||||||
import type { TLAssetId } from './records/TLAsset'
|
import type { TLAssetId } from './records/TLAsset'
|
||||||
import type { TLInstanceId } from './records/TLInstance'
|
import type { TLInstanceId } from './records/TLInstance'
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
"outDir": "./.tsbuild",
|
"outDir": "./.tsbuild",
|
||||||
"rootDir": "src"
|
"rootDir": "src"
|
||||||
},
|
},
|
||||||
"references": [{ "path": "../tlstore" }, { "path": "../validate" }, { "path": "../utils" }]
|
"references": [{ "path": "../store" }, { "path": "../validate" }, { "path": "../utils" }]
|
||||||
}
|
}
|
||||||
|
|
|
@ -4294,9 +4294,9 @@ __metadata:
|
||||||
"@tldraw/editor": "workspace:*"
|
"@tldraw/editor": "workspace:*"
|
||||||
"@tldraw/file-format": "workspace:*"
|
"@tldraw/file-format": "workspace:*"
|
||||||
"@tldraw/primitives": "workspace:*"
|
"@tldraw/primitives": "workspace:*"
|
||||||
|
"@tldraw/store": "workspace:*"
|
||||||
"@tldraw/tldraw": "workspace:*"
|
"@tldraw/tldraw": "workspace:*"
|
||||||
"@tldraw/tlschema": "workspace:*"
|
"@tldraw/tlschema": "workspace:*"
|
||||||
"@tldraw/tlstore": "workspace:*"
|
|
||||||
"@tldraw/ui": "workspace:*"
|
"@tldraw/ui": "workspace:*"
|
||||||
"@tldraw/utils": "workspace:*"
|
"@tldraw/utils": "workspace:*"
|
||||||
"@tldraw/validate": "workspace:*"
|
"@tldraw/validate": "workspace:*"
|
||||||
|
@ -4333,8 +4333,8 @@ __metadata:
|
||||||
"@testing-library/react": ^14.0.0
|
"@testing-library/react": ^14.0.0
|
||||||
"@tldraw/indices": "workspace:*"
|
"@tldraw/indices": "workspace:*"
|
||||||
"@tldraw/primitives": "workspace:*"
|
"@tldraw/primitives": "workspace:*"
|
||||||
|
"@tldraw/store": "workspace:*"
|
||||||
"@tldraw/tlschema": "workspace:*"
|
"@tldraw/tlschema": "workspace:*"
|
||||||
"@tldraw/tlstore": "workspace:*"
|
|
||||||
"@tldraw/utils": "workspace:*"
|
"@tldraw/utils": "workspace:*"
|
||||||
"@tldraw/validate": "workspace:*"
|
"@tldraw/validate": "workspace:*"
|
||||||
"@types/benchmark": ^2.1.2
|
"@types/benchmark": ^2.1.2
|
||||||
|
@ -4374,7 +4374,7 @@ __metadata:
|
||||||
dependencies:
|
dependencies:
|
||||||
"@tldraw/editor": "workspace:*"
|
"@tldraw/editor": "workspace:*"
|
||||||
"@tldraw/primitives": "workspace:*"
|
"@tldraw/primitives": "workspace:*"
|
||||||
"@tldraw/tlstore": "workspace:*"
|
"@tldraw/store": "workspace:*"
|
||||||
"@tldraw/ui": "workspace:*"
|
"@tldraw/ui": "workspace:*"
|
||||||
"@tldraw/utils": "workspace:*"
|
"@tldraw/utils": "workspace:*"
|
||||||
"@tldraw/validate": "workspace:*"
|
"@tldraw/validate": "workspace:*"
|
||||||
|
@ -4470,6 +4470,22 @@ __metadata:
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
|
"@tldraw/store@workspace:*, @tldraw/store@workspace:packages/store":
|
||||||
|
version: 0.0.0-use.local
|
||||||
|
resolution: "@tldraw/store@workspace:packages/store"
|
||||||
|
dependencies:
|
||||||
|
"@peculiar/webcrypto": ^1.4.0
|
||||||
|
"@tldraw/utils": "workspace:*"
|
||||||
|
"@types/lodash.isequal": ^4.5.6
|
||||||
|
lazyrepo: 0.0.0-alpha.26
|
||||||
|
lodash.isequal: ^4.5.0
|
||||||
|
nanoid: 4.0.2
|
||||||
|
raf: ^3.4.1
|
||||||
|
peerDependencies:
|
||||||
|
signia: "*"
|
||||||
|
languageName: unknown
|
||||||
|
linkType: soft
|
||||||
|
|
||||||
"@tldraw/tldraw@workspace:*, @tldraw/tldraw@workspace:packages/tldraw":
|
"@tldraw/tldraw@workspace:*, @tldraw/tldraw@workspace:packages/tldraw":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@tldraw/tldraw@workspace:packages/tldraw"
|
resolution: "@tldraw/tldraw@workspace:packages/tldraw"
|
||||||
|
@ -4495,7 +4511,7 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@tldraw/tlschema@workspace:packages/tlschema"
|
resolution: "@tldraw/tlschema@workspace:packages/tlschema"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@tldraw/tlstore": "workspace:*"
|
"@tldraw/store": "workspace:*"
|
||||||
"@tldraw/utils": "workspace:*"
|
"@tldraw/utils": "workspace:*"
|
||||||
"@tldraw/validate": "workspace:*"
|
"@tldraw/validate": "workspace:*"
|
||||||
kleur: ^4.1.5
|
kleur: ^4.1.5
|
||||||
|
@ -4506,22 +4522,6 @@ __metadata:
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@tldraw/tlstore@workspace:*, @tldraw/tlstore@workspace:packages/tlstore":
|
|
||||||
version: 0.0.0-use.local
|
|
||||||
resolution: "@tldraw/tlstore@workspace:packages/tlstore"
|
|
||||||
dependencies:
|
|
||||||
"@peculiar/webcrypto": ^1.4.0
|
|
||||||
"@tldraw/utils": "workspace:*"
|
|
||||||
"@types/lodash.isequal": ^4.5.6
|
|
||||||
lazyrepo: 0.0.0-alpha.26
|
|
||||||
lodash.isequal: ^4.5.0
|
|
||||||
nanoid: 4.0.2
|
|
||||||
raf: ^3.4.1
|
|
||||||
peerDependencies:
|
|
||||||
signia: "*"
|
|
||||||
languageName: unknown
|
|
||||||
linkType: soft
|
|
||||||
|
|
||||||
"@tldraw/ui@workspace:*, @tldraw/ui@workspace:packages/ui":
|
"@tldraw/ui@workspace:*, @tldraw/ui@workspace:packages/ui":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@tldraw/ui@workspace:packages/ui"
|
resolution: "@tldraw/ui@workspace:packages/ui"
|
||||||
|
@ -17033,7 +17033,7 @@ __metadata:
|
||||||
dependencies:
|
dependencies:
|
||||||
"@tldraw/editor": "workspace:*"
|
"@tldraw/editor": "workspace:*"
|
||||||
"@tldraw/file-format": "workspace:*"
|
"@tldraw/file-format": "workspace:*"
|
||||||
"@tldraw/tlstore": "workspace:*"
|
"@tldraw/store": "workspace:*"
|
||||||
"@types/fs-extra": ^11.0.1
|
"@types/fs-extra": ^11.0.1
|
||||||
"@types/node-fetch": ^2.6.2
|
"@types/node-fetch": ^2.6.2
|
||||||
"@types/vscode": ^1.75.1
|
"@types/vscode": ^1.75.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue