diff --git a/api.md b/api.md index 46d10df9..72635b39 100644 --- a/api.md +++ b/api.md @@ -2,7 +2,7 @@ Types: -- APIKkey +- APIKey - App # Documents diff --git a/src/index.ts b/src/index.ts index 3f5c6626..f186dc37 100644 --- a/src/index.ts +++ b/src/index.ts @@ -236,7 +236,7 @@ export declare namespace Hyperspell { export { Auth as Auth, type Token as Token, type AuthUserTokenParams as AuthUserTokenParams }; - export type APIKkey = API.APIKkey; + export type APIKey = API.APIKey; export type App = API.App; } diff --git a/src/resources/shared.ts b/src/resources/shared.ts index 9d1da8b6..e286b47e 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -3,7 +3,7 @@ /** * ApiKeys Base Schema. */ -export interface APIKkey { +export interface APIKey { app_id: number; scopes: Array<'all' | 'ingest' | 'query'>; @@ -36,7 +36,7 @@ export interface App { id?: number | null; - api_keys?: Array | null; + api_keys?: Array | null; collections?: Array | null;