2023-04-25 11:01:25 +00:00
|
|
|
## API Report File for "@tldraw/tlsync-client"
|
|
|
|
|
|
|
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
|
|
|
|
|
|
```ts
|
|
|
|
|
|
|
|
import { SyncedStore } from '@tldraw/editor';
|
|
|
|
import { TldrawEditorConfig } from '@tldraw/editor';
|
|
|
|
import { TLInstanceId } from '@tldraw/editor';
|
|
|
|
|
|
|
|
// @public (undocumented)
|
|
|
|
export const DEFAULT_DOCUMENT_NAME: any;
|
|
|
|
|
2023-05-27 16:18:32 +00:00
|
|
|
// @public
|
2023-04-25 11:01:25 +00:00
|
|
|
export function hardReset({ shouldReload }?: {
|
|
|
|
shouldReload?: boolean | undefined;
|
|
|
|
}): Promise<void>;
|
|
|
|
|
|
|
|
// @public (undocumented)
|
|
|
|
export const STORE_PREFIX = "TLDRAW_DOCUMENT_v2";
|
|
|
|
|
|
|
|
// @public (undocumented)
|
|
|
|
export const TAB_ID: TLInstanceId;
|
|
|
|
|
|
|
|
// @public
|
2023-05-25 09:54:29 +00:00
|
|
|
export function useLocalSyncClient({ universalPersistenceKey, instanceId, config, }: {
|
2023-04-25 11:01:25 +00:00
|
|
|
universalPersistenceKey: string;
|
|
|
|
instanceId: TLInstanceId;
|
2023-05-24 10:48:31 +00:00
|
|
|
config: TldrawEditorConfig;
|
2023-04-25 11:01:25 +00:00
|
|
|
}): SyncedStore;
|
|
|
|
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
|
|
|
|
```
|