File size: 591 Bytes
809d458
1d701d3
 
66ed450
70b8e47
423b87b
 
142f91b
 
a6e7e8f
 
aa3e783
13a8b2e
70b8e47
66ed450
1d701d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { writable } from 'svelte/store';
import type { Room } from '@liveblocks/client';

import { type ZoomTransform, zoomIdentity } from 'd3-zoom';

import type {Person } from "$lib/types"

export const loadingState = writable<string>('');
export const isLoading = writable<boolean>(false);
export const isPrompting = writable<boolean>(false);
export const clickedPosition = writable<{ x: number; y: number }>();
export const showFrames = writable<boolean>(false);
export const text2img = writable<boolean>(false);

export const currZoomTransform = writable<ZoomTransform>(zoomIdentity);