Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Types:

- <code><a href="./src/resources/shared.ts">APIKkey</a></code>
- <code><a href="./src/resources/shared.ts">APIKey</a></code>
- <code><a href="./src/resources/shared.ts">App</a></code>

# Documents
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* ApiKeys Base Schema.
*/
export interface APIKkey {
export interface APIKey {
app_id: number;

scopes: Array<'all' | 'ingest' | 'query'>;
Expand Down Expand Up @@ -36,7 +36,7 @@ export interface App {

id?: number | null;

api_keys?: Array<APIKkey> | null;
api_keys?: Array<APIKey> | null;

collections?: Array<unknown> | null;

Expand Down