UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

14 lines 803 B
import type { WorkspaceStore as Legacy } from '@scalar/api-client/store'; import type { WorkspaceStore } from '@scalar/workspace-store/client'; import type { Ref } from 'vue'; import type { createActiveEntitiesStore } from '@scalar/api-client/store'; /** * Keep the old store in sync with the new server selector block. * * This is a temporary solution to maintain consistency between the legacy * api-client store and the new workspace store during the migration period. * * @todo Remove this hook when api-client is fully migrated to the new store */ export declare const useLegacyStoreEvents: (store: WorkspaceStore, legacyStore: Legacy, activeEntities: ReturnType<typeof createActiveEntitiesStore>, root: Ref<HTMLElement | null>) => void; //# sourceMappingURL=use-legacy-store-events.d.ts.map