Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

613 B
Raw Blame
export interface FontListParams {
  contentHash?: string;
  offset?: number;
  limit?: number;
  search?: string;
  scope?: 'private' | 'shared' | 'all';
}

/** Query keys are kept independent from the transport so account-owned callers
 * can invalidate the catalog without importing the font byte/API module. */
export const fontKeys = {
  all: ['fonts'] as const,
  catalog: (params: FontListParams = {}) => ['fonts', 'catalog', params] as const,
  infiniteCatalog: (params: FontListParams = {}) => ['fonts', 'infinite-catalog', params] as const,
  detail: (id: string) => ['fonts', 'detail', id] as const,
};