/** * The key to used to identify the cached data. These are the keys the client instance will use. */ export type CacheKey = 'login' | 'fetch-category-model-relationships' | 'fetch-categories' | `fetch-category-models-token-${string}` | 'fetch-root-categories' | `fetch-category-token-${string}` | `fetch-user-profile-${string}` | `fetch-user-comments-${string}` | 'fetch-subscription' | 'fetch-leaderboard' | 'fetch-queue' | 'fetch-v2v-models' | `fetch-v2v-models-name-${string}` | `fetch-v2v-models-user-${string}` | `fetch-v2v-models-token-${string}` | 'fetch-tts-models' | `fetch-tts-models-name-${string}` | `fetch-tts-model-token-${string}` | `fetch-tts-models-user-${string}` | `fetch-tts-parent-categories-${string}` | `fetch-tts-result-token-${string}`; export type ClientOptions = { /** * Whether to enable logging. This is useful for debugging or seeing what the library is doing. */ logging?: boolean; };