@stacksjs/types 0.70.23 → 0.70.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/src/ai.d.ts +37 -0
- package/dist/src/analytics.d.ts +36 -0
- package/dist/src/api.d.ts +26 -0
- package/dist/src/app.d.ts +28 -0
- package/dist/src/attributes.d.ts +1 -0
- package/dist/src/auth.d.ts +49 -0
- package/dist/src/auto-imports.d.ts +8 -0
- package/dist/{binary.d.ts → src/binary.d.ts} +4 -1
- package/dist/src/cache.d.ts +79 -0
- package/dist/{cdn.d.ts → src/cdn.d.ts} +1 -1
- package/dist/{chat.d.ts → src/chat.d.ts} +29 -48
- package/dist/src/cli.d.ts +308 -0
- package/dist/{cloud.d.ts → src/cloud.d.ts} +81 -26
- package/dist/{components.d.ts → src/components.d.ts} +1 -4
- package/dist/{configure.d.ts → src/configure.d.ts} +1 -1
- package/dist/{cron-jobs.d.ts → src/cron-jobs.d.ts} +33 -37
- package/dist/src/dashboard.d.ts +33 -0
- package/dist/{database.d.ts → src/database.d.ts} +20 -12
- package/dist/src/dependencies.d.ts +17 -0
- package/dist/src/deploy.d.ts +16 -0
- package/dist/{dns.d.ts → src/dns.d.ts} +59 -59
- package/dist/src/docs.d.ts +23 -0
- package/dist/src/email.d.ts +201 -0
- package/dist/src/env.d.ts +1 -0
- package/dist/{errors.d.ts → src/errors.d.ts} +17 -24
- package/dist/src/events.d.ts +31 -0
- package/dist/src/exit-code.d.ts +10 -0
- package/dist/{file-systems.d.ts → src/file-systems.d.ts} +10 -6
- package/dist/{git.d.ts → src/git.d.ts} +9 -6
- package/dist/src/hashing.d.ts +57 -0
- package/dist/src/helpers.d.ts +1 -0
- package/dist/src/i18n.d.ts +65 -0
- package/dist/src/index.d.ts +70 -0
- package/dist/{library.d.ts → src/library.d.ts} +31 -33
- package/dist/src/logging.d.ts +12 -0
- package/dist/{manifest.d.ts → src/manifest.d.ts} +4 -1
- package/dist/src/model-names.d.ts +1 -0
- package/dist/src/model.d.ts +251 -0
- package/dist/{notifications.d.ts → src/notifications.d.ts} +1 -26
- package/dist/src/oauth.d.ts +290 -0
- package/dist/{pages.d.ts → src/pages.d.ts} +1 -1
- package/dist/src/payments.d.ts +322 -0
- package/dist/src/phone.d.ts +52 -0
- package/dist/src/ports.d.ts +20 -0
- package/dist/src/promise.d.ts +1 -0
- package/dist/src/push.d.ts +108 -0
- package/dist/src/queue.d.ts +310 -0
- package/dist/src/reactivity.d.ts +1 -0
- package/dist/src/realtime.d.ts +443 -0
- package/dist/src/request.d.ts +154 -0
- package/dist/{response.d.ts → src/response.d.ts} +1 -1
- package/dist/src/router.d.ts +105 -0
- package/dist/{saas.d.ts → src/saas.d.ts} +2 -2
- package/dist/src/scheduler.d.ts +1 -0
- package/dist/{search-engine.d.ts → src/search-engine.d.ts} +41 -45
- package/dist/{security.d.ts → src/security.d.ts} +4 -8
- package/dist/{server.d.ts → src/server.d.ts} +1 -1
- package/dist/src/services.d.ts +140 -0
- package/dist/{settings-config.d.ts → src/settings-config.d.ts} +1 -1
- package/dist/src/sms.d.ts +144 -0
- package/dist/src/stack-extensions.d.ts +137 -0
- package/dist/src/stacks.d.ts +40 -0
- package/dist/src/storage.d.ts +105 -0
- package/dist/src/table-names.d.ts +1 -0
- package/dist/src/tables.d.ts +34 -0
- package/dist/src/team.d.ts +7 -0
- package/dist/src/ui.d.ts +55 -0
- package/dist/src/utils.d.ts +39 -0
- package/package.json +13 -32
- package/src/ai.ts +20 -6
- package/src/analytics.ts +38 -1
- package/src/app.ts +38 -0
- package/src/attributes.ts +5 -1
- package/src/auth.ts +122 -0
- package/src/auto-imports.ts +8 -1
- package/src/cache.ts +226 -69
- package/src/chat.ts +0 -20
- package/src/cli.ts +24 -9
- package/src/cloud.ts +40 -1
- package/src/components.ts +3 -5
- package/src/cron-jobs.ts +1 -1
- package/src/dashboard.ts +40 -0
- package/src/database.ts +18 -2
- package/src/dns.ts +1 -1
- package/src/docs.ts +3 -3
- package/src/email.ts +303 -13
- package/src/errors.ts +2 -3
- package/src/events.ts +10 -5
- package/src/git.ts +3 -3
- package/src/hashing.ts +15 -19
- package/src/i18n.ts +105 -3
- package/src/index.ts +9 -5
- package/src/library.ts +0 -5
- package/src/model-names.ts +1 -1
- package/src/model.ts +87 -10
- package/src/oauth.ts +488 -0
- package/src/payments.ts +370 -27
- package/src/phone.ts +62 -0
- package/src/push.ts +107 -0
- package/src/queue.ts +386 -28
- package/src/reactivity.ts +1 -1
- package/src/realtime.ts +584 -0
- package/src/request.ts +344 -22
- package/src/router.ts +62 -4
- package/src/search-engine.ts +13 -13
- package/src/services.ts +100 -5
- package/src/sms.ts +263 -3
- package/src/stack-extensions.ts +184 -0
- package/src/stacks.ts +34 -4
- package/src/storage.ts +140 -6
- package/src/table-names.ts +1 -1
- package/src/ui.ts +20 -12
- package/src/utils.ts +1 -1
- package/dist/ai.d.ts +0 -20
- package/dist/analytics.d.ts +0 -13
- package/dist/api.d.ts +0 -26
- package/dist/app.d.ts +0 -32
- package/dist/attributes.d.ts +0 -1
- package/dist/auto-imports.d.ts +0 -1
- package/dist/build.d.ts +0 -2
- package/dist/cache.d.ts +0 -49
- package/dist/cli.d.ts +0 -310
- package/dist/dependencies.d.ts +0 -16
- package/dist/deploy.d.ts +0 -10
- package/dist/docs.d.ts +0 -26
- package/dist/email.d.ts +0 -107
- package/dist/events.d.ts +0 -5
- package/dist/exit-code.d.ts +0 -5
- package/dist/hashing.d.ts +0 -36
- package/dist/helpers.d.ts +0 -1
- package/dist/i18n.d.ts +0 -11
- package/dist/index.d.ts +0 -65
- package/dist/inspect.d.ts +0 -3
- package/dist/logging.d.ts +0 -6
- package/dist/model-names.d.ts +0 -1
- package/dist/model.d.ts +0 -232
- package/dist/payments.d.ts +0 -94
- package/dist/ports.d.ts +0 -13
- package/dist/promise.d.ts +0 -1
- package/dist/push.d.ts +0 -35
- package/dist/pwa.d.ts +0 -3
- package/dist/queue.d.ts +0 -45
- package/dist/reactivity.d.ts +0 -1
- package/dist/request.d.ts +0 -49
- package/dist/router.d.ts +0 -65
- package/dist/scheduler.d.ts +0 -1
- package/dist/services.d.ts +0 -81
- package/dist/ssg.d.ts +0 -3
- package/dist/stacks.d.ts +0 -54
- package/dist/storage.d.ts +0 -31
- package/dist/table-names.d.ts +0 -1
- package/dist/tables.d.ts +0 -34
- package/dist/team.d.ts +0 -8
- package/dist/ui.d.ts +0 -47
- package/dist/utils.d.ts +0 -27
- package/src/build.ts +0 -2
- package/src/inspect.ts +0 -10
- package/src/layout.ts +0 -8
- package/src/pwa.ts +0 -8
- package/src/ssg.ts +0 -3
package/src/ui.ts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// Local mirror of crosswind's `Options` shape so we don't bring crosswind
|
|
2
|
+
// into @stacksjs/types as a hard dependency. Apps that import these types
|
|
3
|
+
// only need the structural surface (shortcuts/theme/variants); when full
|
|
4
|
+
// crosswind type fidelity is needed, projects can import directly from
|
|
5
|
+
// `crosswind`.
|
|
6
|
+
interface CrosswindOptions {
|
|
7
|
+
shortcuts?: unknown
|
|
8
|
+
theme?: unknown
|
|
9
|
+
variants?: unknown
|
|
10
|
+
[key: string]: unknown
|
|
11
|
+
}
|
|
3
12
|
|
|
4
13
|
export type Font = 'inter' | 'mona' | 'hubot'
|
|
5
14
|
export type Icon = 'heroicons' | 'hugeicons'
|
|
6
15
|
export type WebFontsProviders = 'google' | 'bunny' | 'fontshare'
|
|
7
|
-
export type Shortcuts =
|
|
16
|
+
export type Shortcuts = CrosswindOptions['shortcuts']
|
|
8
17
|
|
|
9
18
|
export interface FontInfo {
|
|
10
19
|
title: string
|
|
@@ -119,7 +128,7 @@ export interface UiOptions {
|
|
|
119
128
|
* reset styles are utilized. You may set this value to `null`
|
|
120
129
|
* if you prefer not applying any default stylesheets.
|
|
121
130
|
*
|
|
122
|
-
* @url https://
|
|
131
|
+
* @url https://github.com/cwcss/crosswind
|
|
123
132
|
* @todo preset needs to be added via a Vite plugin on development & build
|
|
124
133
|
* @example
|
|
125
134
|
* ```ts
|
|
@@ -135,7 +144,7 @@ export interface UiOptions {
|
|
|
135
144
|
* for several local font providers. You may set this value to
|
|
136
145
|
* `null` if you prefer not utilize any local fonts.
|
|
137
146
|
*
|
|
138
|
-
* @see https://stacksjs.
|
|
147
|
+
* @see https://stacksjs.com/docs/fonts
|
|
139
148
|
* ```
|
|
140
149
|
*/
|
|
141
150
|
fonts?: any
|
|
@@ -149,7 +158,7 @@ export interface UiOptions {
|
|
|
149
158
|
* are displayed utilizing a technique called "icons in pure css."
|
|
150
159
|
* Learn more here https://antfu.me/posts/icons-in-pure-css.
|
|
151
160
|
*
|
|
152
|
-
* @see https://stacksjs.
|
|
161
|
+
* @see https://stacksjs.com/config/icons — list of available icon sets
|
|
153
162
|
* @todo implement this into Vite build flow
|
|
154
163
|
* @example
|
|
155
164
|
* ```ts
|
|
@@ -157,17 +166,16 @@ export interface UiOptions {
|
|
|
157
166
|
* ```
|
|
158
167
|
* @example
|
|
159
168
|
* ```html
|
|
160
|
-
* <i class="
|
|
169
|
+
* <i class="h-8 w-8 text-gray-500 i-hugeicons-outline-book-open" aria-hidden="true" />
|
|
161
170
|
* ```
|
|
162
171
|
*/
|
|
163
172
|
icons: Icon | Icon[]
|
|
164
173
|
// icons: Record<string, () => Promise<any>>
|
|
165
174
|
|
|
166
|
-
theme:
|
|
167
|
-
// plugins:
|
|
168
|
-
// corePlugins:
|
|
169
|
-
variants:
|
|
170
|
-
layers: UserConfig['layers']
|
|
175
|
+
theme: CrosswindOptions['theme']
|
|
176
|
+
// plugins: CrosswindOptions['plugins']
|
|
177
|
+
// corePlugins: CrosswindOptions['corePlugins']
|
|
178
|
+
variants: CrosswindOptions['variants']
|
|
171
179
|
// darkMode: UserConfig['darkMode']
|
|
172
180
|
// extend: UserConfig['extend']
|
|
173
181
|
// screens: UserConfig['screens']
|
package/src/utils.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type Arrayable<T> = T | Array<T>
|
|
|
16
16
|
/**
|
|
17
17
|
* Constructor.
|
|
18
18
|
*/
|
|
19
|
-
export type Constructor<T = void> = new (...
|
|
19
|
+
export type Constructor<T = void> = new (..._args: any[]) => T
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Defines an intersection type of all union items.
|
package/dist/ai.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare type AiModel =
|
|
2
|
-
| 'amazon.titan-embed-text-v1'
|
|
3
|
-
| 'amazon.titan-text-lite-v1'
|
|
4
|
-
| 'amazon.titan-text-express-v1'
|
|
5
|
-
| 'amazon.titan-embed-image-v1'
|
|
6
|
-
| 'amazon.titan-image-generator-v1'
|
|
7
|
-
| 'anthropic.claude-v1'
|
|
8
|
-
| 'anthropic.claude-v2'
|
|
9
|
-
| 'anthropic.claude-v2:1'
|
|
10
|
-
| 'anthropic.claude-instant-v1'
|
|
11
|
-
| 'meta.llama2-13b-chat-v1'
|
|
12
|
-
| 'meta.llama2-70b-chat-v1'
|
|
13
|
-
|
|
14
|
-
export interface AiOptions {
|
|
15
|
-
default: AiModel
|
|
16
|
-
models: AiModel[]
|
|
17
|
-
deploy: boolean
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type AiConfig = Partial<AiOptions>
|
package/dist/analytics.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare interface AnalyticsOptions {
|
|
2
|
-
driver: 'google-analytics' | 'fathom'
|
|
3
|
-
|
|
4
|
-
drivers: {
|
|
5
|
-
googleAnalytics?: {
|
|
6
|
-
trackingId: string
|
|
7
|
-
}
|
|
8
|
-
fathom?: {
|
|
9
|
-
siteId: string
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export declare type AnalyticsConfig = Partial<AnalyticsOptions>
|
package/dist/api.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare interface ApiOptions {
|
|
2
|
-
description: string
|
|
3
|
-
|
|
4
|
-
prefix: string
|
|
5
|
-
|
|
6
|
-
middleware: string[]
|
|
7
|
-
|
|
8
|
-
routes:
|
|
9
|
-
| {
|
|
10
|
-
index: boolean
|
|
11
|
-
show: boolean
|
|
12
|
-
store: boolean
|
|
13
|
-
update: boolean
|
|
14
|
-
destroy: boolean
|
|
15
|
-
}
|
|
16
|
-
| boolean
|
|
17
|
-
|
|
18
|
-
prewarm: boolean | number
|
|
19
|
-
|
|
20
|
-
memorySize: number
|
|
21
|
-
|
|
22
|
-
timeout: number
|
|
23
|
-
|
|
24
|
-
deploy: boolean
|
|
25
|
-
}
|
|
26
|
-
export declare type ApiConfig = Partial<ApiOptions>
|
package/dist/app.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare type AppEnvType = 'local' | 'dev' | 'stage' | 'prod' | 'testing' | string
|
|
2
|
-
|
|
3
|
-
export interface AppOptions {
|
|
4
|
-
name: string
|
|
5
|
-
|
|
6
|
-
description: string
|
|
7
|
-
|
|
8
|
-
env: AppEnvType
|
|
9
|
-
|
|
10
|
-
url: string
|
|
11
|
-
|
|
12
|
-
redirectUrls: string | string[]
|
|
13
|
-
|
|
14
|
-
debug: boolean
|
|
15
|
-
|
|
16
|
-
maintenanceMode: boolean
|
|
17
|
-
|
|
18
|
-
key: string
|
|
19
|
-
|
|
20
|
-
timezone: string
|
|
21
|
-
|
|
22
|
-
locale: string
|
|
23
|
-
|
|
24
|
-
fallbackLocale: 'en'
|
|
25
|
-
|
|
26
|
-
cipher: string
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
docMode: boolean
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type AppConfig = Partial<AppOptions>
|
package/dist/attributes.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../../types/attributes'
|
package/dist/auto-imports.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { Options as AutoImportsOptions } from 'unplugin-auto-import/types'
|
package/dist/build.d.ts
DELETED
package/dist/cache.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { GetOptions } from 'bentocache/types';
|
|
2
|
-
|
|
3
|
-
export declare interface CacheOptions {
|
|
4
|
-
driver: string
|
|
5
|
-
|
|
6
|
-
prefix: string
|
|
7
|
-
|
|
8
|
-
ttl: number
|
|
9
|
-
|
|
10
|
-
drivers: {
|
|
11
|
-
redis?: {
|
|
12
|
-
connection: string
|
|
13
|
-
|
|
14
|
-
host: string
|
|
15
|
-
|
|
16
|
-
port: number
|
|
17
|
-
|
|
18
|
-
username: string
|
|
19
|
-
|
|
20
|
-
password: string
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
memcached?: object
|
|
24
|
-
|
|
25
|
-
dynamodb?: {
|
|
26
|
-
key: string
|
|
27
|
-
secret: string
|
|
28
|
-
region: string
|
|
29
|
-
table: string
|
|
30
|
-
endpoint: string
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export declare type CacheConfig = Partial<CacheOptions>
|
|
35
|
-
|
|
36
|
-
export interface CacheDriver {
|
|
37
|
-
set: (key: string, value: string, ttl?: number) => Promise<void>
|
|
38
|
-
setForever: (key: string, value: string, ttl?: number) => Promise<void>
|
|
39
|
-
get: <T> (key: GetOptions<T>) => Promise<T>
|
|
40
|
-
getOrSet: <T> (key: string, value: T) => Promise<T>
|
|
41
|
-
remove: (key: string) => Promise<void>
|
|
42
|
-
has: (key: string) => Promise<boolean>
|
|
43
|
-
missing: (key: string) => Promise<boolean>
|
|
44
|
-
del: (key: string) => Promise<void>
|
|
45
|
-
deleteMany: (keys: string[]) => Promise<void>
|
|
46
|
-
clear: () => Promise<void>
|
|
47
|
-
deleteAll: () => Promise<void>
|
|
48
|
-
disconnect: () => Promise<void>
|
|
49
|
-
}
|
package/dist/cli.d.ts
DELETED
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import type { BunFile } from 'bun';
|
|
2
|
-
|
|
3
|
-
export type { ErrorLike, SpawnOptions, Subprocess, SyncSubprocess } from 'bun'
|
|
4
|
-
export type { CAC as CLI } from 'cac'
|
|
5
|
-
declare type ArrayBufferView = NodeJS.TypedArray | DataView
|
|
6
|
-
|
|
7
|
-
export type Readable =
|
|
8
|
-
| 'pipe'
|
|
9
|
-
| 'inherit'
|
|
10
|
-
| 'ignore'
|
|
11
|
-
| null
|
|
12
|
-
| undefined
|
|
13
|
-
| BunFile
|
|
14
|
-
| ArrayBufferView
|
|
15
|
-
| number
|
|
16
|
-
|
|
17
|
-
export type Writable =
|
|
18
|
-
| 'pipe'
|
|
19
|
-
| 'inherit'
|
|
20
|
-
| 'ignore'
|
|
21
|
-
| null
|
|
22
|
-
| undefined
|
|
23
|
-
| BunFile
|
|
24
|
-
| ArrayBufferView
|
|
25
|
-
| number
|
|
26
|
-
| ReadableStream
|
|
27
|
-
| Blob
|
|
28
|
-
| Response
|
|
29
|
-
| Request
|
|
30
|
-
|
|
31
|
-
export type In = Readable
|
|
32
|
-
export type Out = Writable
|
|
33
|
-
|
|
34
|
-
export type stdin = 'ignore' | 'inherit' | 'pipe' | ArrayBufferView | number | null | undefined
|
|
35
|
-
|
|
36
|
-
export type stdout = 'ignore' | 'inherit' | 'pipe' | ArrayBufferView | number
|
|
37
|
-
|
|
38
|
-
export type stderr = 'ignore' | 'inherit' | 'pipe' | ArrayBufferView | number
|
|
39
|
-
|
|
40
|
-
export interface OutroOptions extends CliOptions {
|
|
41
|
-
type?: 'success' | 'error' | 'warning' | 'info'
|
|
42
|
-
startTime?: number
|
|
43
|
-
useSeconds?: boolean
|
|
44
|
-
quiet?: boolean
|
|
45
|
-
message?: string
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface IntroOptions {
|
|
49
|
-
showPerformance?: boolean
|
|
50
|
-
|
|
51
|
-
quiet: boolean
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
export type CliOptionsKeys = keyof CliOptions
|
|
56
|
-
|
|
57
|
-
export interface CliOptions {
|
|
58
|
-
verbose?: boolean
|
|
59
|
-
|
|
60
|
-
silent?: boolean
|
|
61
|
-
|
|
62
|
-
quiet?: boolean
|
|
63
|
-
|
|
64
|
-
cwd?: string
|
|
65
|
-
|
|
66
|
-
stdio?: [In, Out, Out]
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
stdin?: stdin
|
|
70
|
-
|
|
71
|
-
stdout?: stdout
|
|
72
|
-
|
|
73
|
-
stderr?: stderr
|
|
74
|
-
|
|
75
|
-
env?: Record<string, string | undefined>
|
|
76
|
-
|
|
77
|
-
background?: boolean
|
|
78
|
-
|
|
79
|
-
startTime?: number
|
|
80
|
-
|
|
81
|
-
withLocalhost?: boolean
|
|
82
|
-
|
|
83
|
-
input?: string | ArrayBufferView | ReadableStream | Blob | Response | Request
|
|
84
|
-
|
|
85
|
-
project?: string
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export type CliConfig = CliOptions
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
export type ActionOption = 'types' | 'domains' | 'count'
|
|
92
|
-
|
|
93
|
-
export type ActionOptions = {
|
|
94
|
-
types?: boolean
|
|
95
|
-
domains?: boolean
|
|
96
|
-
count?: number
|
|
97
|
-
dryRun?: boolean
|
|
98
|
-
} & CliOptions &
|
|
99
|
-
DomainsOptions
|
|
100
|
-
|
|
101
|
-
export type BuildOption =
|
|
102
|
-
| 'components'
|
|
103
|
-
| 'vueComponents'
|
|
104
|
-
| 'webComponents'
|
|
105
|
-
| 'elements'
|
|
106
|
-
| 'functions'
|
|
107
|
-
| 'docs'
|
|
108
|
-
| 'views'
|
|
109
|
-
| 'stacks'
|
|
110
|
-
| 'all'
|
|
111
|
-
| 'buddy'
|
|
112
|
-
| 'server'
|
|
113
|
-
export type BuildOptions = {
|
|
114
|
-
[key in BuildOption]: boolean
|
|
115
|
-
} & CliOptions
|
|
116
|
-
|
|
117
|
-
export type AddOption = 'table' | 'calendar' | 'all'
|
|
118
|
-
export type AddOptions = {
|
|
119
|
-
[key in AddOption]?: boolean
|
|
120
|
-
} & CliOptions
|
|
121
|
-
|
|
122
|
-
export type CreateStringOption = 'name'
|
|
123
|
-
export type CreateBooleanOption =
|
|
124
|
-
| 'ui'
|
|
125
|
-
| 'components'
|
|
126
|
-
| 'web-components'
|
|
127
|
-
| 'vue'
|
|
128
|
-
| 'views'
|
|
129
|
-
| 'functions'
|
|
130
|
-
| 'api'
|
|
131
|
-
| 'database'
|
|
132
|
-
export type CreateOptions = {
|
|
133
|
-
[key in CreateBooleanOption]: boolean
|
|
134
|
-
} & {
|
|
135
|
-
[key in CreateStringOption]: string
|
|
136
|
-
} & CliOptions
|
|
137
|
-
|
|
138
|
-
export type DevOption =
|
|
139
|
-
| 'components'
|
|
140
|
-
| 'docs'
|
|
141
|
-
| 'frontend'
|
|
142
|
-
| 'api'
|
|
143
|
-
| 'desktop'
|
|
144
|
-
| 'all'
|
|
145
|
-
| 'email'
|
|
146
|
-
| 'system-tray'
|
|
147
|
-
| 'interactive'
|
|
148
|
-
| 'verbose'
|
|
149
|
-
export type DevOptions = {
|
|
150
|
-
[key in DevOption]: boolean
|
|
151
|
-
} & CliOptions
|
|
152
|
-
|
|
153
|
-
export type GeneratorOption =
|
|
154
|
-
| 'types'
|
|
155
|
-
| 'entries'
|
|
156
|
-
| 'webTypes'
|
|
157
|
-
| 'customData'
|
|
158
|
-
| 'ideHelpers'
|
|
159
|
-
| 'componentMeta'
|
|
160
|
-
| 'coreSymlink'
|
|
161
|
-
| 'openApiSpec'
|
|
162
|
-
| 'pkgxConfig'
|
|
163
|
-
| 'openapi'
|
|
164
|
-
| 'modelFiles'
|
|
165
|
-
export type GeneratorOptions = {
|
|
166
|
-
[key in GeneratorOption]?: boolean
|
|
167
|
-
} & CliOptions
|
|
168
|
-
|
|
169
|
-
export type LintOption = 'fix'
|
|
170
|
-
export type LintOptions = {
|
|
171
|
-
[key in LintOption]: boolean
|
|
172
|
-
} & CliOptions
|
|
173
|
-
|
|
174
|
-
export type MakeStringOption = 'name' | 'chat' | 'sms' | 'env'
|
|
175
|
-
export type MakeBooleanOption =
|
|
176
|
-
| 'component'
|
|
177
|
-
| 'page'
|
|
178
|
-
| 'function'
|
|
179
|
-
| 'language'
|
|
180
|
-
| 'database'
|
|
181
|
-
| 'migration'
|
|
182
|
-
| 'model'
|
|
183
|
-
| 'notification'
|
|
184
|
-
| 'stack'
|
|
185
|
-
export type MakeOptions = {
|
|
186
|
-
[key in MakeBooleanOption]: boolean
|
|
187
|
-
} & {
|
|
188
|
-
[key in MakeStringOption]: string
|
|
189
|
-
} & CliOptions
|
|
190
|
-
|
|
191
|
-
export type UpgradeBoolean = 'framework' | 'dependencies' | 'bun' | 'shell' | 'binary' | 'all' | 'force'
|
|
192
|
-
|
|
193
|
-
export type UpgradeString = 'version'
|
|
194
|
-
|
|
195
|
-
export type UpgradeOptions = {
|
|
196
|
-
[key in UpgradeBoolean]: boolean
|
|
197
|
-
} & {
|
|
198
|
-
[key in UpgradeString]: string
|
|
199
|
-
} & CliOptions
|
|
200
|
-
|
|
201
|
-
export type ExamplesString = 'version'
|
|
202
|
-
export type ExamplesBoolean = 'components' | 'vue' | 'webComponents' | 'elements' | 'all' | 'force'
|
|
203
|
-
export type ExamplesOption = ExamplesString & ExamplesBoolean
|
|
204
|
-
export type ExamplesOptions = {
|
|
205
|
-
[key in ExamplesString]: string
|
|
206
|
-
} & {
|
|
207
|
-
[key in ExamplesBoolean]: boolean
|
|
208
|
-
} & CliOptions
|
|
209
|
-
export type TestOptions = CliOptions & {
|
|
210
|
-
ui?: boolean
|
|
211
|
-
feature?: boolean
|
|
212
|
-
unit?: boolean
|
|
213
|
-
}
|
|
214
|
-
export type DomainsOptions = CliOptions & {
|
|
215
|
-
domain?: string
|
|
216
|
-
yes?: boolean
|
|
217
|
-
years?: number
|
|
218
|
-
privacy?: boolean
|
|
219
|
-
autoRenew?: boolean
|
|
220
|
-
registrantFirstName?: string
|
|
221
|
-
registrantLastName?: string
|
|
222
|
-
registrantOrganization?: string
|
|
223
|
-
registrantAddress?: string
|
|
224
|
-
registrantCity?: string
|
|
225
|
-
registrantState?: string
|
|
226
|
-
registrantCountry?: string
|
|
227
|
-
registrantZip?: string
|
|
228
|
-
registrantPhone?: string
|
|
229
|
-
registrantEmail?: string
|
|
230
|
-
adminFirstName?: string
|
|
231
|
-
adminLastName?: string
|
|
232
|
-
adminOrganization?: string
|
|
233
|
-
adminAddress?: string
|
|
234
|
-
adminCity?: string
|
|
235
|
-
adminState?: string
|
|
236
|
-
adminCountry?: string
|
|
237
|
-
adminZip?: string
|
|
238
|
-
adminPhone?: string
|
|
239
|
-
adminEmail?: string
|
|
240
|
-
techFirstName?: string
|
|
241
|
-
techLastName?: string
|
|
242
|
-
techOrganization?: string
|
|
243
|
-
techAddress?: string
|
|
244
|
-
techCity?: string
|
|
245
|
-
techState?: string
|
|
246
|
-
techCountry?: string
|
|
247
|
-
techZip?: string
|
|
248
|
-
techPhone?: string
|
|
249
|
-
techEmail?: string
|
|
250
|
-
privacyAdmin?: boolean
|
|
251
|
-
privacyTech?: boolean
|
|
252
|
-
privacyRegistrant?: boolean
|
|
253
|
-
contactType?: string
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
export interface CleanOptions extends CliOptions {}
|
|
257
|
-
|
|
258
|
-
export interface CloudCliOptions extends CliOptions {
|
|
259
|
-
ssh?: boolean
|
|
260
|
-
connect?: boolean
|
|
261
|
-
jumpBox?: boolean
|
|
262
|
-
invalidateCache?: boolean
|
|
263
|
-
paths?: string
|
|
264
|
-
diff?: boolean
|
|
265
|
-
}
|
|
266
|
-
export interface CommitOptions extends CliOptions {}
|
|
267
|
-
export interface FreshOptions extends CliOptions {
|
|
268
|
-
dryRun?: boolean
|
|
269
|
-
quiet?: boolean
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export interface InspireOptions extends CliOptions {}
|
|
273
|
-
export interface InstallOptions extends CliOptions {}
|
|
274
|
-
|
|
275
|
-
export interface KeyOptions extends CliOptions {}
|
|
276
|
-
|
|
277
|
-
export interface MigrateOptions extends CliOptions {
|
|
278
|
-
diff?: boolean
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
export interface CliQueueOptions extends CliOptions {
|
|
282
|
-
queue?: string
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export interface ReleaseOptions extends CliOptions {
|
|
286
|
-
dryRun?: boolean
|
|
287
|
-
}
|
|
288
|
-
export interface ProjectsOptions extends CliOptions {
|
|
289
|
-
list?: boolean
|
|
290
|
-
}
|
|
291
|
-
export interface PreinstallOptions extends CliOptions {}
|
|
292
|
-
export interface PrepublishOptions extends CliOptions {}
|
|
293
|
-
export interface PortsOptions extends CliOptions {
|
|
294
|
-
ports?: Partial<Ports>
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export interface SaasOptions extends CliOptions {}
|
|
298
|
-
|
|
299
|
-
export interface SearchCommandOptions extends CliOptions {
|
|
300
|
-
model: string
|
|
301
|
-
settings: boolean
|
|
302
|
-
flush: boolean
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export interface ScheduleOptions extends CliOptions {}
|
|
306
|
-
|
|
307
|
-
export interface TinkerOptions extends CliOptions {}
|
|
308
|
-
export interface TypesOptions extends CliOptions {}
|
|
309
|
-
|
|
310
|
-
export type LibEntryType = 'vue-components' | 'web-components' | 'functions' | 'all'
|
package/dist/dependencies.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare interface DependenciesOptions {
|
|
2
|
-
'bun.sh': string | '0.7.1'
|
|
3
|
-
|
|
4
|
-
'sqlite.org'?: string | '^3.42.0'
|
|
5
|
-
|
|
6
|
-
'mysql.com'?: string | '^8.0.33'
|
|
7
|
-
|
|
8
|
-
'mariadb.org'?: string | '^10.6.5'
|
|
9
|
-
|
|
10
|
-
'postgresql.org'?: string | '^14.1'
|
|
11
|
-
|
|
12
|
-
'redis.io'?: string | '^7.0.11'
|
|
13
|
-
|
|
14
|
-
'aws.amazon.com/cli'?: string | '^2.12.7'
|
|
15
|
-
}
|
|
16
|
-
export declare type DependenciesConfig = DependenciesOptions
|
package/dist/deploy.d.ts
DELETED
package/dist/docs.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { UserConfig } from 'vitepress';
|
|
2
|
-
|
|
3
|
-
export declare interface DocsUserConfig extends UserConfig {
|
|
4
|
-
deploy: boolean
|
|
5
|
-
}
|
|
6
|
-
export declare type DocsConfig = DocsUserConfig
|
|
7
|
-
export type DocsOptions = Partial<DocsConfig>
|
|
8
|
-
|
|
9
|
-
export interface SocialLink {
|
|
10
|
-
icon: SocialLinkIcon
|
|
11
|
-
link: string
|
|
12
|
-
ariaLabel?: string
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export enum SocialLinkIcon {
|
|
16
|
-
Bluesky = 'bluesky',
|
|
17
|
-
Discord = 'discord',
|
|
18
|
-
Facebook = 'facebook',
|
|
19
|
-
GitHub = 'github',
|
|
20
|
-
Instagram = 'instagram',
|
|
21
|
-
LinkedIn = 'linkedin',
|
|
22
|
-
Mastodon = 'mastodon',
|
|
23
|
-
Slack = 'slack',
|
|
24
|
-
Twitter = 'twitter',
|
|
25
|
-
YouTube = 'youtube',
|
|
26
|
-
}
|