@stacksjs/types 0.70.87 → 0.70.88
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/package.json +2 -2
- package/dist/ai.d.ts +0 -37
- package/dist/analytics.d.ts +0 -36
- package/dist/api.d.ts +0 -26
- package/dist/app.d.ts +0 -28
- package/dist/attributes.d.ts +0 -1
- package/dist/auth.d.ts +0 -56
- package/dist/auto-imports.d.ts +0 -8
- package/dist/binary.d.ts +0 -11
- package/dist/cache.d.ts +0 -88
- package/dist/cdn.d.ts +0 -4
- package/dist/chat.d.ts +0 -69
- package/dist/cli.d.ts +0 -316
- package/dist/cloud.d.ts +0 -366
- package/dist/cms.d.ts +0 -12
- package/dist/commerce.d.ts +0 -14
- package/dist/components.d.ts +0 -9
- package/dist/configure.d.ts +0 -12
- package/dist/cors.d.ts +0 -47
- package/dist/cron-jobs.d.ts +0 -61
- package/dist/dashboard.d.ts +0 -108
- package/dist/database.d.ts +0 -76
- package/dist/dependencies.d.ts +0 -17
- package/dist/deploy.d.ts +0 -16
- package/dist/dns.d.ts +0 -362
- package/dist/docs.d.ts +0 -23
- package/dist/email.d.ts +0 -207
- package/dist/env.d.ts +0 -1
- package/dist/errors.d.ts +0 -84
- package/dist/events.d.ts +0 -31
- package/dist/exit-code.d.ts +0 -10
- package/dist/file-systems.d.ts +0 -60
- package/dist/git.d.ts +0 -60
- package/dist/hashing.d.ts +0 -57
- package/dist/helpers.d.ts +0 -1
- package/dist/i18n.d.ts +0 -65
- package/dist/index.d.ts +0 -79
- package/dist/index.js +0 -2
- package/dist/library.d.ts +0 -799
- package/dist/logging.d.ts +0 -15
- package/dist/manifest.d.ts +0 -9
- package/dist/marketing.d.ts +0 -12
- package/dist/model-dashboard-augmentation.d.ts +0 -8
- package/dist/model-names.d.ts +0 -1
- package/dist/model.d.ts +0 -256
- package/dist/monitoring.d.ts +0 -12
- package/dist/notifications.d.ts +0 -126
- package/dist/oauth.d.ts +0 -290
- package/dist/pages.d.ts +0 -10
- package/dist/payments.d.ts +0 -322
- package/dist/phone.d.ts +0 -65
- package/dist/ports.d.ts +0 -20
- package/dist/promise.d.ts +0 -1
- package/dist/push.d.ts +0 -108
- package/dist/queue.d.ts +0 -312
- package/dist/reactivity.d.ts +0 -1
- package/dist/realtime.d.ts +0 -443
- package/dist/request.d.ts +0 -265
- package/dist/response.d.ts +0 -15
- package/dist/router.d.ts +0 -105
- package/dist/saas.d.ts +0 -32
- package/dist/scheduler.d.ts +0 -1
- package/dist/search-engine.d.ts +0 -129
- package/dist/security.d.ts +0 -18
- package/dist/server.d.ts +0 -16
- package/dist/services.d.ts +0 -149
- package/dist/settings-config.d.ts +0 -9
- package/dist/sms.d.ts +0 -144
- package/dist/stack-extensions.d.ts +0 -137
- package/dist/stacks.d.ts +0 -45
- package/dist/storage.d.ts +0 -104
- package/dist/table-names.d.ts +0 -1
- package/dist/tables.d.ts +0 -34
- package/dist/team.d.ts +0 -7
- package/dist/ui.d.ts +0 -55
- package/dist/utils.d.ts +0 -39
package/dist/cli.d.ts
DELETED
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
import type { BunFile } from 'bun';
|
|
2
|
-
import type { Ports } from './ports';
|
|
3
|
-
export type { ErrorLike, SpawnOptions, Subprocess, SyncSubprocess } from 'bun';
|
|
4
|
-
export type { CLI } from '@stacksjs/clapp';
|
|
5
|
-
export declare interface OutroOptions extends CliOptions {
|
|
6
|
-
type?: 'success' | 'error' | 'warning' | 'info'
|
|
7
|
-
startTime?: number
|
|
8
|
-
useSeconds?: boolean
|
|
9
|
-
quiet?: boolean
|
|
10
|
-
message?: string
|
|
11
|
-
}
|
|
12
|
-
export declare interface IntroOptions {
|
|
13
|
-
showPerformance?: boolean
|
|
14
|
-
quiet: boolean
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* The options to pass to the CLI.
|
|
18
|
-
*/
|
|
19
|
-
export declare interface CliOptions {
|
|
20
|
-
verbose?: boolean
|
|
21
|
-
silent?: boolean
|
|
22
|
-
quiet?: boolean
|
|
23
|
-
cwd?: string
|
|
24
|
-
stdio?: [In, Out, Out]
|
|
25
|
-
stdin?: stdin
|
|
26
|
-
stdout?: stdout
|
|
27
|
-
stderr?: stderr
|
|
28
|
-
env?: Record<string, string | undefined>
|
|
29
|
-
background?: boolean
|
|
30
|
-
timeoutMs?: number
|
|
31
|
-
startTime?: number
|
|
32
|
-
withLocalhost?: boolean
|
|
33
|
-
input?: string | ArrayBufferView | ReadableStream | Blob | Response | Request
|
|
34
|
-
project?: string
|
|
35
|
-
}
|
|
36
|
-
export declare interface CleanOptions extends CliOptions {}
|
|
37
|
-
export declare interface CloudCliOptions extends CliOptions {
|
|
38
|
-
ssh?: boolean
|
|
39
|
-
connect?: boolean
|
|
40
|
-
jumpBox?: boolean
|
|
41
|
-
invalidateCache?: boolean
|
|
42
|
-
paths?: string
|
|
43
|
-
diff?: boolean
|
|
44
|
-
}
|
|
45
|
-
export declare interface CommitOptions extends CliOptions {}
|
|
46
|
-
export declare interface FreshOptions extends CliOptions {
|
|
47
|
-
dryRun?: boolean
|
|
48
|
-
quiet?: boolean
|
|
49
|
-
}
|
|
50
|
-
export declare interface InspireOptions extends CliOptions {}
|
|
51
|
-
export declare interface InstallOptions extends CliOptions {}
|
|
52
|
-
export declare interface KeyOptions extends CliOptions {}
|
|
53
|
-
export declare interface MigrateOptions extends CliOptions {
|
|
54
|
-
diff?: boolean
|
|
55
|
-
}
|
|
56
|
-
export declare interface CliQueueOptions extends CliOptions {
|
|
57
|
-
queue?: string
|
|
58
|
-
id?: string | number
|
|
59
|
-
all?: boolean
|
|
60
|
-
force?: boolean
|
|
61
|
-
connection?: string
|
|
62
|
-
}
|
|
63
|
-
export declare interface ReleaseOptions extends CliOptions {
|
|
64
|
-
dryRun?: boolean
|
|
65
|
-
bump?: 'patch' | 'minor' | 'major' | 'prepatch' | 'preminor' | 'premajor' | 'prerelease' | string
|
|
66
|
-
}
|
|
67
|
-
export declare interface ChangelogOptions extends CliOptions {
|
|
68
|
-
dryRun?: boolean
|
|
69
|
-
from?: string
|
|
70
|
-
to?: string
|
|
71
|
-
version?: string
|
|
72
|
-
}
|
|
73
|
-
export declare interface ProjectsOptions extends CliOptions {
|
|
74
|
-
list?: boolean
|
|
75
|
-
}
|
|
76
|
-
export declare interface PreinstallOptions extends CliOptions {}
|
|
77
|
-
export declare interface PrepublishOptions extends CliOptions {}
|
|
78
|
-
export declare interface PortsOptions extends CliOptions {
|
|
79
|
-
ports?: Partial<Ports>
|
|
80
|
-
}
|
|
81
|
-
export declare interface SaasOptions extends CliOptions {}
|
|
82
|
-
export declare interface SearchCommandOptions extends CliOptions {
|
|
83
|
-
model: string
|
|
84
|
-
settings: boolean
|
|
85
|
-
flush: boolean
|
|
86
|
-
}
|
|
87
|
-
export declare interface ScheduleOptions extends CliOptions {}
|
|
88
|
-
export declare interface TinkerOptions extends CliOptions {
|
|
89
|
-
eval?: string | boolean
|
|
90
|
-
print?: string | boolean
|
|
91
|
-
noBanner?: boolean
|
|
92
|
-
preload?: string
|
|
93
|
-
}
|
|
94
|
-
export declare interface TypesOptions extends CliOptions {}
|
|
95
|
-
declare type ArrayBufferView = NodeJS.TypedArray | DataView;
|
|
96
|
-
export type Readable = | 'pipe'
|
|
97
|
-
| 'inherit'
|
|
98
|
-
| 'ignore'
|
|
99
|
-
| null // equivalent to 'ignore'
|
|
100
|
-
| undefined // to use default
|
|
101
|
-
| BunFile
|
|
102
|
-
| ArrayBufferView
|
|
103
|
-
| number;
|
|
104
|
-
export type Writable = | 'pipe'
|
|
105
|
-
| 'inherit'
|
|
106
|
-
| 'ignore'
|
|
107
|
-
| null // equivalent to 'ignore'
|
|
108
|
-
| undefined // to use default
|
|
109
|
-
| BunFile
|
|
110
|
-
| ArrayBufferView
|
|
111
|
-
| number
|
|
112
|
-
| ReadableStream
|
|
113
|
-
| Blob
|
|
114
|
-
| Response
|
|
115
|
-
| Request;
|
|
116
|
-
export type In = Readable;
|
|
117
|
-
export type Out = Writable;
|
|
118
|
-
/**
|
|
119
|
-
* The file descriptor for the standard input. It may be:
|
|
120
|
-
*
|
|
121
|
-
* - `"ignore"`, `null`, `undefined`: The process will have no standard input
|
|
122
|
-
* - `"pipe"`: The process will have a new {@link FileSink} for standard input
|
|
123
|
-
* - `"inherit"`: The process will inherit the standard input of the current process
|
|
124
|
-
* - `ArrayBufferView`, `Blob`: The process will read from the buffer
|
|
125
|
-
* - `number`: The process will read from the file descriptor
|
|
126
|
-
*
|
|
127
|
-
* @default "ignore"
|
|
128
|
-
*/
|
|
129
|
-
export type stdin = 'ignore' | 'inherit' | 'pipe' | ArrayBufferView | number | null | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* The file descriptor for the standard output. It may be:
|
|
132
|
-
*
|
|
133
|
-
* - `"pipe"`, `undefined`: The process will have a {@link ReadableStream} for standard output/error
|
|
134
|
-
* - `"ignore"`, `null`: The process will have no standard output/error
|
|
135
|
-
* - `"inherit"`: The process will inherit the standard output/error of the current process
|
|
136
|
-
* - `ArrayBufferView`: The process write to the preallocated buffer. Not implemented.
|
|
137
|
-
* - `number`: The process will write to the file descriptor
|
|
138
|
-
*
|
|
139
|
-
* @default "pipe"
|
|
140
|
-
*/
|
|
141
|
-
export type stdout = 'ignore' | 'inherit' | 'pipe' | ArrayBufferView | number;
|
|
142
|
-
/**
|
|
143
|
-
* The file descriptor for the standard error. It may be:
|
|
144
|
-
*
|
|
145
|
-
* - `"pipe"`, `undefined`: The process will have a {@link ReadableStream} for standard output/error
|
|
146
|
-
* - `"ignore"`, `null`: The process will have no standard output/error
|
|
147
|
-
* - `"inherit"`: The process will inherit the standard output/error of the current process
|
|
148
|
-
* - `ArrayBufferView`: The process write to the preallocated buffer. Not implemented.
|
|
149
|
-
* - `number`: The process will write to the file descriptor
|
|
150
|
-
*
|
|
151
|
-
* @default "inherit" for `spawn`
|
|
152
|
-
* "pipe" for `spawnSync`
|
|
153
|
-
*/
|
|
154
|
-
export type stderr = 'ignore' | 'inherit' | 'pipe' | ArrayBufferView | number;
|
|
155
|
-
// type SpinnerOptions = Ora
|
|
156
|
-
export type CliOptionsKeys = keyof CliOptions;
|
|
157
|
-
export type CliConfig = CliOptions;
|
|
158
|
-
// export type { Ora as SpinnerOptions } from 'ora'
|
|
159
|
-
// the `domains` option is only available for the `deploy` command
|
|
160
|
-
// the `count` option is only available for the `seed` command
|
|
161
|
-
export type ActionOption = 'types' | 'domains' | 'count';
|
|
162
|
-
/**
|
|
163
|
-
* The options to pass to the Action.
|
|
164
|
-
*/
|
|
165
|
-
export type ActionOptions = {
|
|
166
|
-
types?: boolean
|
|
167
|
-
domains?: boolean
|
|
168
|
-
count?: number
|
|
169
|
-
dryRun?: boolean // used in buddy release
|
|
170
|
-
} & CliOptions &
|
|
171
|
-
DomainsOptions;
|
|
172
|
-
export type BuildOption = | 'components'
|
|
173
|
-
| 'webComponents'
|
|
174
|
-
| 'elements'
|
|
175
|
-
| 'functions'
|
|
176
|
-
| 'docs'
|
|
177
|
-
| 'views'
|
|
178
|
-
| 'stacks'
|
|
179
|
-
| 'all'
|
|
180
|
-
| 'buddy'
|
|
181
|
-
| 'server';
|
|
182
|
-
export type BuildOptions = {
|
|
183
|
-
[key in BuildOption]: boolean
|
|
184
|
-
} & CliOptions;
|
|
185
|
-
export type AddOption = 'table' | 'calendar' | 'all';
|
|
186
|
-
export type AddOptions = {
|
|
187
|
-
[key in AddOption]?: boolean
|
|
188
|
-
} & CliOptions;
|
|
189
|
-
export type CreateStringOption = 'name';
|
|
190
|
-
export type CreateBooleanOption = | 'ui'
|
|
191
|
-
| 'components'
|
|
192
|
-
| 'web-components'
|
|
193
|
-
| 'vue'
|
|
194
|
-
| 'views'
|
|
195
|
-
| 'functions'
|
|
196
|
-
| 'api'
|
|
197
|
-
| 'database'
|
|
198
|
-
| 'minimal';
|
|
199
|
-
export type CreateOptions = {
|
|
200
|
-
[key in CreateBooleanOption]: boolean
|
|
201
|
-
} & {
|
|
202
|
-
[key in CreateStringOption]: string
|
|
203
|
-
} & CliOptions;
|
|
204
|
-
export type DevOption = | 'components'
|
|
205
|
-
| 'docs'
|
|
206
|
-
| 'frontend'
|
|
207
|
-
| 'api'
|
|
208
|
-
| 'desktop'
|
|
209
|
-
| 'native'
|
|
210
|
-
| 'all'
|
|
211
|
-
| 'email'
|
|
212
|
-
| 'system-tray'
|
|
213
|
-
| 'interactive'
|
|
214
|
-
| 'verbose';
|
|
215
|
-
export type DevOptions = {
|
|
216
|
-
[key in DevOption]: boolean
|
|
217
|
-
} & CliOptions;
|
|
218
|
-
export type GeneratorOption = | 'types'
|
|
219
|
-
| 'entries'
|
|
220
|
-
| 'webTypes'
|
|
221
|
-
| 'customData'
|
|
222
|
-
| 'ideHelpers'
|
|
223
|
-
| 'componentMeta'
|
|
224
|
-
| 'coreSymlink'
|
|
225
|
-
| 'openApiSpec'
|
|
226
|
-
| 'pantryConfig'
|
|
227
|
-
| 'openapi'
|
|
228
|
-
| 'modelFiles';
|
|
229
|
-
export type GeneratorOptions = {
|
|
230
|
-
[key in GeneratorOption]?: boolean
|
|
231
|
-
} & CliOptions;
|
|
232
|
-
export type LintOption = 'fix';
|
|
233
|
-
export type LintOptions = {
|
|
234
|
-
[key in LintOption]: boolean
|
|
235
|
-
} & CliOptions;
|
|
236
|
-
export type MakeStringOption = 'name' | 'chat' | 'sms' | 'env';
|
|
237
|
-
export type MakeBooleanOption = | 'component'
|
|
238
|
-
| 'page'
|
|
239
|
-
| 'function'
|
|
240
|
-
| 'language'
|
|
241
|
-
| 'database'
|
|
242
|
-
| 'migration'
|
|
243
|
-
| 'model'
|
|
244
|
-
| 'notification'
|
|
245
|
-
| 'stack'
|
|
246
|
-
| 'middleware'
|
|
247
|
-
| 'dryRun'
|
|
248
|
-
| 'withValidation'
|
|
249
|
-
| 'withAuth';
|
|
250
|
-
export type MakeOptions = {
|
|
251
|
-
[key in MakeBooleanOption]: boolean
|
|
252
|
-
} & {
|
|
253
|
-
[key in MakeStringOption]: string
|
|
254
|
-
} & CliOptions;
|
|
255
|
-
export type UpgradeBoolean = 'framework' | 'dependencies' | 'bun' | 'shell' | 'binary' | 'all' | 'force' | 'canary' | 'stable' | 'noPostinstall' | 'postinstall';
|
|
256
|
-
export type UpgradeString = 'version' | 'from';
|
|
257
|
-
export type UpgradeOptions = {
|
|
258
|
-
[key in UpgradeBoolean]?: boolean
|
|
259
|
-
} & {
|
|
260
|
-
[key in UpgradeString]?: string
|
|
261
|
-
} & CliOptions;
|
|
262
|
-
export type ExamplesString = 'version';
|
|
263
|
-
export type ExamplesBoolean = 'components' | 'vue' | 'webComponents' | 'elements' | 'all' | 'force';
|
|
264
|
-
export type ExamplesOption = ExamplesString & ExamplesBoolean;
|
|
265
|
-
export type ExamplesOptions = {
|
|
266
|
-
[key in ExamplesString]: string
|
|
267
|
-
} & {
|
|
268
|
-
[key in ExamplesBoolean]: boolean
|
|
269
|
-
} & CliOptions;
|
|
270
|
-
export type TestingOptions = CliOptions & {
|
|
271
|
-
ui?: boolean
|
|
272
|
-
feature?: boolean
|
|
273
|
-
unit?: boolean
|
|
274
|
-
}
|
|
275
|
-
export type DomainsOptions = CliOptions & {
|
|
276
|
-
domain?: string
|
|
277
|
-
yes?: boolean
|
|
278
|
-
years?: number
|
|
279
|
-
privacy?: boolean
|
|
280
|
-
autoRenew?: boolean
|
|
281
|
-
registrantFirstName?: string
|
|
282
|
-
registrantLastName?: string
|
|
283
|
-
registrantOrganization?: string
|
|
284
|
-
registrantAddress?: string
|
|
285
|
-
registrantCity?: string
|
|
286
|
-
registrantState?: string
|
|
287
|
-
registrantCountry?: string
|
|
288
|
-
registrantZip?: string
|
|
289
|
-
registrantPhone?: string
|
|
290
|
-
registrantEmail?: string
|
|
291
|
-
adminFirstName?: string
|
|
292
|
-
adminLastName?: string
|
|
293
|
-
adminOrganization?: string
|
|
294
|
-
adminAddress?: string
|
|
295
|
-
adminCity?: string
|
|
296
|
-
adminState?: string
|
|
297
|
-
adminCountry?: string
|
|
298
|
-
adminZip?: string
|
|
299
|
-
adminPhone?: string
|
|
300
|
-
adminEmail?: string
|
|
301
|
-
techFirstName?: string
|
|
302
|
-
techLastName?: string
|
|
303
|
-
techOrganization?: string
|
|
304
|
-
techAddress?: string
|
|
305
|
-
techCity?: string
|
|
306
|
-
techState?: string
|
|
307
|
-
techCountry?: string
|
|
308
|
-
techZip?: string
|
|
309
|
-
techPhone?: string
|
|
310
|
-
techEmail?: string
|
|
311
|
-
privacyAdmin?: boolean
|
|
312
|
-
privacyTech?: boolean
|
|
313
|
-
privacyRegistrant?: boolean
|
|
314
|
-
contactType?: string
|
|
315
|
-
}
|
|
316
|
-
export type LibEntryType = 'web-components' | 'functions' | 'all';
|
package/dist/cloud.d.ts
DELETED
|
@@ -1,366 +0,0 @@
|
|
|
1
|
-
import type { ApiConfig } from './api';
|
|
2
|
-
import type { FirewallConfig } from './security';
|
|
3
|
-
declare interface SiteConfig {
|
|
4
|
-
domain: string
|
|
5
|
-
path: string
|
|
6
|
-
}
|
|
7
|
-
export declare interface TunnelCloudConfig {
|
|
8
|
-
enabled: boolean
|
|
9
|
-
domain?: string
|
|
10
|
-
region?: string
|
|
11
|
-
instanceType?: string
|
|
12
|
-
prefix?: string
|
|
13
|
-
ssl?: {
|
|
14
|
-
enabled: boolean
|
|
15
|
-
porkbunApiKey?: string
|
|
16
|
-
porkbunSecretKey?: string
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export declare interface CloudOptions {
|
|
20
|
-
sites: {
|
|
21
|
-
root: string
|
|
22
|
-
path: string
|
|
23
|
-
[site: string]: string | SiteConfig
|
|
24
|
-
}
|
|
25
|
-
infrastructure: InfrastructureOptions
|
|
26
|
-
cdn: any
|
|
27
|
-
api: any
|
|
28
|
-
firewall: any
|
|
29
|
-
}
|
|
30
|
-
export type CountryCode = | 'AD'
|
|
31
|
-
| 'AE'
|
|
32
|
-
| 'AF'
|
|
33
|
-
| 'AG'
|
|
34
|
-
| 'AI'
|
|
35
|
-
| 'AL'
|
|
36
|
-
| 'AM'
|
|
37
|
-
| 'AO'
|
|
38
|
-
| 'AQ'
|
|
39
|
-
| 'AR'
|
|
40
|
-
| 'AS'
|
|
41
|
-
| 'AT'
|
|
42
|
-
| 'AU'
|
|
43
|
-
| 'AW'
|
|
44
|
-
| 'AX'
|
|
45
|
-
| 'AZ'
|
|
46
|
-
| 'BA'
|
|
47
|
-
| 'BB'
|
|
48
|
-
| 'BD'
|
|
49
|
-
| 'BE'
|
|
50
|
-
| 'BF'
|
|
51
|
-
| 'BG'
|
|
52
|
-
| 'BH'
|
|
53
|
-
| 'BI'
|
|
54
|
-
| 'BJ'
|
|
55
|
-
| 'BL'
|
|
56
|
-
| 'BM'
|
|
57
|
-
| 'BN'
|
|
58
|
-
| 'BO'
|
|
59
|
-
| 'BQ'
|
|
60
|
-
| 'BR'
|
|
61
|
-
| 'BS'
|
|
62
|
-
| 'BT'
|
|
63
|
-
| 'BV'
|
|
64
|
-
| 'BW'
|
|
65
|
-
| 'BY'
|
|
66
|
-
| 'BZ'
|
|
67
|
-
| 'CA'
|
|
68
|
-
| 'CC'
|
|
69
|
-
| 'CD'
|
|
70
|
-
| 'CF'
|
|
71
|
-
| 'CG'
|
|
72
|
-
| 'CH'
|
|
73
|
-
| 'CI'
|
|
74
|
-
| 'CK'
|
|
75
|
-
| 'CL'
|
|
76
|
-
| 'CM'
|
|
77
|
-
| 'CN'
|
|
78
|
-
| 'CO'
|
|
79
|
-
| 'CR'
|
|
80
|
-
| 'CU'
|
|
81
|
-
| 'CV'
|
|
82
|
-
| 'CW'
|
|
83
|
-
| 'CX'
|
|
84
|
-
| 'CY'
|
|
85
|
-
| 'CZ'
|
|
86
|
-
| 'DE'
|
|
87
|
-
| 'DJ'
|
|
88
|
-
| 'DK'
|
|
89
|
-
| 'DM'
|
|
90
|
-
| 'DO'
|
|
91
|
-
| 'DZ'
|
|
92
|
-
| 'EC'
|
|
93
|
-
| 'EE'
|
|
94
|
-
| 'EG'
|
|
95
|
-
| 'EH'
|
|
96
|
-
| 'ER'
|
|
97
|
-
| 'ES'
|
|
98
|
-
| 'ET'
|
|
99
|
-
| 'FI'
|
|
100
|
-
| 'FJ'
|
|
101
|
-
| 'FK'
|
|
102
|
-
| 'FM'
|
|
103
|
-
| 'FO'
|
|
104
|
-
| 'FR'
|
|
105
|
-
| 'GA'
|
|
106
|
-
| 'GB'
|
|
107
|
-
| 'GD'
|
|
108
|
-
| 'GE'
|
|
109
|
-
| 'GF'
|
|
110
|
-
| 'GG'
|
|
111
|
-
| 'GH'
|
|
112
|
-
| 'GI'
|
|
113
|
-
| 'GL'
|
|
114
|
-
| 'GM'
|
|
115
|
-
| 'GN'
|
|
116
|
-
| 'GP'
|
|
117
|
-
| 'GQ'
|
|
118
|
-
| 'GR'
|
|
119
|
-
| 'GS'
|
|
120
|
-
| 'GT'
|
|
121
|
-
| 'GU'
|
|
122
|
-
| 'GW'
|
|
123
|
-
| 'GY'
|
|
124
|
-
| 'HK'
|
|
125
|
-
| 'HM'
|
|
126
|
-
| 'HN'
|
|
127
|
-
| 'HR'
|
|
128
|
-
| 'HT'
|
|
129
|
-
| 'HU'
|
|
130
|
-
| 'ID'
|
|
131
|
-
| 'IE'
|
|
132
|
-
| 'IL'
|
|
133
|
-
| 'IM'
|
|
134
|
-
| 'IN'
|
|
135
|
-
| 'IO'
|
|
136
|
-
| 'IQ'
|
|
137
|
-
| 'IR'
|
|
138
|
-
| 'IS'
|
|
139
|
-
| 'IT'
|
|
140
|
-
| 'JE'
|
|
141
|
-
| 'JM'
|
|
142
|
-
| 'JO'
|
|
143
|
-
| 'JP'
|
|
144
|
-
| 'KE'
|
|
145
|
-
| 'KG'
|
|
146
|
-
| 'KH'
|
|
147
|
-
| 'KI'
|
|
148
|
-
| 'KM'
|
|
149
|
-
| 'KN'
|
|
150
|
-
| 'KP'
|
|
151
|
-
| 'KR'
|
|
152
|
-
| 'KW'
|
|
153
|
-
| 'KY'
|
|
154
|
-
| 'KZ'
|
|
155
|
-
| 'LA'
|
|
156
|
-
| 'LB'
|
|
157
|
-
| 'LC'
|
|
158
|
-
| 'LI'
|
|
159
|
-
| 'LK'
|
|
160
|
-
| 'LR'
|
|
161
|
-
| 'LS'
|
|
162
|
-
| 'LT'
|
|
163
|
-
| 'LU'
|
|
164
|
-
| 'LV'
|
|
165
|
-
| 'LY'
|
|
166
|
-
| 'MA'
|
|
167
|
-
| 'MC'
|
|
168
|
-
| 'MD'
|
|
169
|
-
| 'ME'
|
|
170
|
-
| 'MF'
|
|
171
|
-
| 'MG'
|
|
172
|
-
| 'MH'
|
|
173
|
-
| 'MK'
|
|
174
|
-
| 'ML'
|
|
175
|
-
| 'MM'
|
|
176
|
-
| 'MN'
|
|
177
|
-
| 'MO'
|
|
178
|
-
| 'MP'
|
|
179
|
-
| 'MQ'
|
|
180
|
-
| 'MR'
|
|
181
|
-
| 'MS'
|
|
182
|
-
| 'MT'
|
|
183
|
-
| 'MU'
|
|
184
|
-
| 'MV'
|
|
185
|
-
| 'MW'
|
|
186
|
-
| 'MX'
|
|
187
|
-
| 'MY'
|
|
188
|
-
| 'MZ'
|
|
189
|
-
| 'NA'
|
|
190
|
-
| 'NC'
|
|
191
|
-
| 'NE'
|
|
192
|
-
| 'NF'
|
|
193
|
-
| 'NG'
|
|
194
|
-
| 'NI'
|
|
195
|
-
| 'NL'
|
|
196
|
-
| 'NO'
|
|
197
|
-
| 'NP'
|
|
198
|
-
| 'NR'
|
|
199
|
-
| 'NU'
|
|
200
|
-
| 'NZ'
|
|
201
|
-
| 'OM'
|
|
202
|
-
| 'PA'
|
|
203
|
-
| 'PE'
|
|
204
|
-
| 'PF'
|
|
205
|
-
| 'PG'
|
|
206
|
-
| 'PH'
|
|
207
|
-
| 'PK'
|
|
208
|
-
| 'PL'
|
|
209
|
-
| 'PM'
|
|
210
|
-
| 'PN'
|
|
211
|
-
| 'PR'
|
|
212
|
-
| 'PS'
|
|
213
|
-
| 'PT'
|
|
214
|
-
| 'PW'
|
|
215
|
-
| 'PY'
|
|
216
|
-
| 'QA'
|
|
217
|
-
| 'RE'
|
|
218
|
-
| 'RO'
|
|
219
|
-
| 'RS'
|
|
220
|
-
| 'RU'
|
|
221
|
-
| 'RW'
|
|
222
|
-
| 'SA'
|
|
223
|
-
| 'SB'
|
|
224
|
-
| 'SC'
|
|
225
|
-
| 'SD'
|
|
226
|
-
| 'SE'
|
|
227
|
-
| 'SG'
|
|
228
|
-
| 'SH'
|
|
229
|
-
| 'SI'
|
|
230
|
-
| 'SJ'
|
|
231
|
-
| 'SK'
|
|
232
|
-
| 'SL'
|
|
233
|
-
| 'SM'
|
|
234
|
-
| 'SN'
|
|
235
|
-
| 'SO'
|
|
236
|
-
| 'SR'
|
|
237
|
-
| 'SS'
|
|
238
|
-
| 'ST'
|
|
239
|
-
| 'SV'
|
|
240
|
-
| 'SX'
|
|
241
|
-
| 'SY'
|
|
242
|
-
| 'SZ'
|
|
243
|
-
| 'TC'
|
|
244
|
-
| 'TD'
|
|
245
|
-
| 'TF'
|
|
246
|
-
| 'TG'
|
|
247
|
-
| 'TH'
|
|
248
|
-
| 'TJ'
|
|
249
|
-
| 'TK'
|
|
250
|
-
| 'TL'
|
|
251
|
-
| 'TM'
|
|
252
|
-
| 'TN'
|
|
253
|
-
| 'TO'
|
|
254
|
-
| 'TR'
|
|
255
|
-
| 'TT'
|
|
256
|
-
| 'TV'
|
|
257
|
-
| 'TW'
|
|
258
|
-
| 'TZ'
|
|
259
|
-
| 'UA'
|
|
260
|
-
| 'UG'
|
|
261
|
-
| 'UM'
|
|
262
|
-
| 'US'
|
|
263
|
-
| 'UY'
|
|
264
|
-
| 'UZ'
|
|
265
|
-
| 'VA'
|
|
266
|
-
| 'VC'
|
|
267
|
-
| 'VE'
|
|
268
|
-
| 'VG'
|
|
269
|
-
| 'VI'
|
|
270
|
-
| 'VN'
|
|
271
|
-
| 'VU'
|
|
272
|
-
| 'WF'
|
|
273
|
-
| 'WS'
|
|
274
|
-
| 'YE'
|
|
275
|
-
| 'YT'
|
|
276
|
-
| 'ZA'
|
|
277
|
-
| 'ZM'
|
|
278
|
-
| 'ZW';
|
|
279
|
-
declare type Environment = 'development' | 'staging' | 'production';
|
|
280
|
-
declare type InfrastructureOptions = Partial<{
|
|
281
|
-
type: 'serverless' // | 'server' coming soon
|
|
282
|
-
driver: 'aws'
|
|
283
|
-
api: ApiConfig
|
|
284
|
-
storage: object
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* **Firewall Settings**
|
|
288
|
-
*
|
|
289
|
-
* These settings are used to configure the firewall.
|
|
290
|
-
*
|
|
291
|
-
* @see https://stacksjs.com/docs/cloud#firewall
|
|
292
|
-
*
|
|
293
|
-
* @example
|
|
294
|
-
* ```ts
|
|
295
|
-
* firewall: {
|
|
296
|
-
* enabled: true, // default: true
|
|
297
|
-
* countryCodes: ['RU', 'IN'], // default: []
|
|
298
|
-
* ipAddresses: ['56.123.456.789'], // default: []
|
|
299
|
-
* queryString: ['foo', 'bar'], // default: []
|
|
300
|
-
* httpHeaders: ['x-foo', 'x-bar'], // default: []
|
|
301
|
-
* rateLimitPerMinute: 1000, // default: 1000
|
|
302
|
-
* useIpReputationLists: true, // default: true
|
|
303
|
-
* useKnownBadInputsRuleSet: true // default: true
|
|
304
|
-
* },
|
|
305
|
-
* ```
|
|
306
|
-
*/
|
|
307
|
-
firewall: FirewallConfig
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* **Environments**
|
|
311
|
-
*
|
|
312
|
-
* These are the environments that your cloud will deploy.
|
|
313
|
-
*
|
|
314
|
-
* @example
|
|
315
|
-
* ```ts
|
|
316
|
-
* environments: ['production', 'staging', 'development']
|
|
317
|
-
* ```
|
|
318
|
-
*/
|
|
319
|
-
environments: Environment[]
|
|
320
|
-
|
|
321
|
-
cdn: {
|
|
322
|
-
allowedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS' | 'ALL'
|
|
323
|
-
cachedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS'
|
|
324
|
-
minTtl: number
|
|
325
|
-
defaultTtl: number
|
|
326
|
-
maxTtl: number
|
|
327
|
-
compress: boolean
|
|
328
|
-
priceClass?: 'PriceClass_100' | 'PriceClass_200' | 'PriceClass_All'
|
|
329
|
-
originShieldRegion: string
|
|
330
|
-
cookieBehavior: 'none' | 'allowList' | 'all'
|
|
331
|
-
|
|
332
|
-
allowList: {
|
|
333
|
-
cookies: string[]
|
|
334
|
-
headers: string[]
|
|
335
|
-
queryStrings: string[]
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
realtimeLogs: {
|
|
339
|
-
enabled: boolean
|
|
340
|
-
samplingRate: number
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
ai: boolean
|
|
345
|
-
cli: boolean
|
|
346
|
-
docs: boolean
|
|
347
|
-
fileSystem: boolean
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* **Tunnel Configuration**
|
|
351
|
-
*
|
|
352
|
-
* Deploy a custom tunnel server for sharing local dev servers.
|
|
353
|
-
* Only needed for custom domains — localtunnel.dev is the shared default.
|
|
354
|
-
*
|
|
355
|
-
* @example
|
|
356
|
-
* ```ts
|
|
357
|
-
* tunnel: {
|
|
358
|
-
* enabled: true,
|
|
359
|
-
* domain: 'tunnel.mycompany.com',
|
|
360
|
-
* ssl: { enabled: true },
|
|
361
|
-
* }
|
|
362
|
-
* ```
|
|
363
|
-
*/
|
|
364
|
-
tunnel: TunnelCloudConfig
|
|
365
|
-
}>;
|
|
366
|
-
export type CloudConfig = Partial<CloudOptions>;
|
package/dist/cms.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* **CMS Options**
|
|
3
|
-
*
|
|
4
|
-
* Top-level feature gate plus any future CMS-wide settings. The CMS bundle
|
|
5
|
-
* (Post / Page / Author / Comment / Tag / Category models + edit dashboards)
|
|
6
|
-
* stays inert at boot when `enabled` is `false`.
|
|
7
|
-
*/
|
|
8
|
-
export declare interface CmsOptions {
|
|
9
|
-
enabled?: boolean
|
|
10
|
-
env?: string[]
|
|
11
|
-
}
|
|
12
|
-
export type CmsConfig = Partial<CmsOptions>;
|
package/dist/commerce.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* **Commerce Options**
|
|
3
|
-
*
|
|
4
|
-
* Top-level feature gate plus storefront defaults. The commerce bundle
|
|
5
|
-
* (Order / Cart / Product / Customer / Coupon / GiftCard / Shipping models +
|
|
6
|
-
* storefront API) stays inert at boot when `enabled` is `false`.
|
|
7
|
-
*/
|
|
8
|
-
export declare interface CommerceOptions {
|
|
9
|
-
enabled?: boolean
|
|
10
|
-
env?: string[]
|
|
11
|
-
currency?: string
|
|
12
|
-
defaultTaxRate?: number
|
|
13
|
-
}
|
|
14
|
-
export type CommerceConfig = Partial<CommerceOptions>;
|