-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
39 lines (33 loc) · 895 Bytes
/
types.ts
File metadata and controls
39 lines (33 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { Command } from 'commander'
import { z } from 'zod'
export type Config = {
typeFiles: string[]
i18n: {
attribute: string
default: string
}
}
export const globalOptionsSchema = z.object({
verbose: z.boolean().default(false),
force: z.boolean().default(false),
linked: z.boolean().default(false),
})
export type GlobalOptions = z.infer<typeof globalOptionsSchema>
export type Installer = (program: Command) => void | Promise<void>
export type InstallerModule = {
default: Installer
}
export type SupabaseStatus = {
ANON_KEY: string
API_URL: string
DB_URL: string
GRAPHQL_URL: string
INBUCKET_URL: string
JWT_SECRET: string
S3_PROTOCOL_ACCESS_KEY_ID: string
S3_PROTOCOL_ACCESS_KEY_SECRET: string
S3_PROTOCOL_REGION: string
SERVICE_ROLE_KEY: string
STORAGE_S3_URL: string
STUDIO_URL: string
}