mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-04 05:15:09 -04:00
@@ -1,6 +1,6 @@
|
||||
import { PropsWithChildren, createContext, useContext, useState } from 'react';
|
||||
import { useBridgeSubscription } from '..';
|
||||
import { LibraryConfigWrapped } from '../core';
|
||||
import { useBridgeSubscription } from '../rspc';
|
||||
import { ClientContext, useClientContext } from './useClientContext';
|
||||
|
||||
export interface LibraryContext {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useSnapshot } from 'valtio';
|
||||
import { valtioPersist } from '../lib/valito';
|
||||
import { valtioPersist } from '../lib';
|
||||
|
||||
export enum UseCase {
|
||||
CameraRoll = 'cameraRoll',
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { PropsWithChildren, createContext, useContext, useState } from 'react';
|
||||
import { PeerMetadata, useBridgeSubscription } from '..';
|
||||
import { PeerMetadata } from '../core';
|
||||
import { useBridgeSubscription } from '../rspc';
|
||||
|
||||
const Context = createContext<Map<string, PeerMetadata>>(null as any);
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import Plausible, { PlausibleOptions as PlausibleTrackerOptions } from 'plausible-tracker';
|
||||
import { useCallback, useEffect, useRef } from 'react';
|
||||
import { PlausiblePlatformType, telemetryStore, useDebugState, useTelemetryState } from '..';
|
||||
import { useDebugState } from './useDebugState';
|
||||
import { PlausiblePlatformType, telemetryStore, useTelemetryState } from './useTelemetryState';
|
||||
|
||||
/**
|
||||
* This should be in sync with the Core's version.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useSnapshot } from 'valtio';
|
||||
import { valtioPersist } from '..';
|
||||
import { valtioPersist } from '../lib';
|
||||
|
||||
/**
|
||||
* Possible Platform types that can be sourced from `usePlatform().platform` or even hardcoded.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useSnapshot } from 'valtio';
|
||||
import { valtioPersist } from '..';
|
||||
import { valtioPersist } from '../lib';
|
||||
|
||||
export type Themes = 'vanilla' | 'dark';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user