Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

762 B
Raw Blame
// Selectors
export { editorSelectors } from './slices/editor';

// Store
export type { DocumentState, DocumentStore, DocumentStoreAction } from './store';
export { getDocumentStoreState, useDocumentStore } from './store';

// Re-export document slice types
export type {
  DocumentAction,
  DocumentDetail,
  DocumentDetailSliceState,
  InitDocumentParams,
  UseFetchDocumentDetailResult,
  UseFetchDocumentOptions,
  UseFetchDocumentResult,
} from './slices/document';
export { documentDetailResource } from './slices/document';

// Re-export editor slice types
export type {
  DocumentSourceType,
  EditorAction,
  EditorContentState,
  EditorState,
  SaveMetadata,
} from './slices/editor';
export { createInitialEditorContentState } from './slices/editor';