This commit is contained in:
seb
2026-10-13 00:36:36 +02:00
parent 8a8aeaedd7
commit 4b2ca7ce0e
7 changed files with 97 additions and 0 deletions

2
API.md
View File

@@ -315,8 +315,10 @@ The store is exposed as a `LibDashStore` instance (see `src/index.js`). Each met
- `getAuthCode(code: string): Promise<object|null>`
- `getClient(clientId: string): Promise<object|null>`
- `getRefreshToken(refreshToken: string): Promise<object|null>`
- `listAuthorizations(googleAuthId: number): Promise<Array<object>>`
- `listClients(): Promise<Array<object>>`
- `registerClient(input: {clientId: string, clientSecret?: string|null, clientName: string, redirectUris: string|Array<string>, grantTypes?: string|Array<string>, responseTypes?: string|Array<string>, scope?: string|null}): Promise<object>`
- `revokeAuthorizations(googleAuthId: number, clientId: string): Promise<boolean>`
- `revokeRefreshToken(refreshToken: string): Promise<boolean>`
- [modelconversation](API.modelconversation.md)
- `create(googleAuthId: number, input: {provider: string, model: string, started_by?: number|null}, tx?: object): Promise<{id: number, companyuser_id: number, provider: string, model: string, created_at: string, updated_at: string, state: string, started_by: number|null}>`