mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-12 00:32:38 +02:00
commit
e988dfa87f
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
|
// NOTE: Some API responses may use the alias 'SERVICE_ACCOUNT'.
|
||||||
|
// Include it here for compatibility alongside the canonical 'GOOGLE_SERVICE_ACCOUNT'.
|
||||||
export const ZAuthScheme = z.enum([
|
export const ZAuthScheme = z.enum([
|
||||||
'API_KEY',
|
'API_KEY',
|
||||||
'BASIC',
|
'BASIC',
|
||||||
|
|
@ -8,6 +10,7 @@ export const ZAuthScheme = z.enum([
|
||||||
'BILLCOM_AUTH',
|
'BILLCOM_AUTH',
|
||||||
'CALCOM_AUTH',
|
'CALCOM_AUTH',
|
||||||
'COMPOSIO_LINK',
|
'COMPOSIO_LINK',
|
||||||
|
'SERVICE_ACCOUNT',
|
||||||
'GOOGLE_SERVICE_ACCOUNT',
|
'GOOGLE_SERVICE_ACCOUNT',
|
||||||
'NO_AUTH',
|
'NO_AUTH',
|
||||||
'OAUTH1',
|
'OAUTH1',
|
||||||
|
|
@ -240,4 +243,4 @@ export const ZListResponse = <T extends z.ZodTypeAny>(schema: T) => z.object({
|
||||||
total_pages: z.number(),
|
total_pages: z.number(),
|
||||||
current_page: z.number(),
|
current_page: z.number(),
|
||||||
total_items: z.number(),
|
total_items: z.number(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue