@stacksjs/types 0.68.2 → 0.69.1
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/ai.d.ts +4 -2
- package/dist/app.d.ts +4 -2
- package/dist/attributes.d.ts +1 -0
- package/dist/auto-imports.d.ts +1 -1
- package/dist/build.d.ts +2 -2
- package/dist/cache.d.ts +2 -1
- package/dist/chat.d.ts +1 -1
- package/dist/cli.d.ts +92 -48
- package/dist/cloud.d.ts +10 -5
- package/dist/components.d.ts +1 -1
- package/dist/cron-jobs.d.ts +48 -19
- package/dist/database.d.ts +4 -2
- package/dist/dns.d.ts +12 -7
- package/dist/docs.d.ts +5 -2
- package/dist/errors.d.ts +6 -3
- package/dist/events.d.ts +3 -1
- package/dist/git.d.ts +2 -1
- package/dist/hashing.d.ts +6 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/model-names.d.ts +1 -1
- package/dist/model.d.ts +98 -59
- package/dist/payments.d.ts +14 -9
- package/dist/queue.d.ts +8 -0
- package/dist/reactivity.d.ts +1 -1
- package/dist/request.d.ts +10 -4
- package/dist/response.d.ts +15 -0
- package/dist/router.d.ts +20 -10
- package/dist/saas.d.ts +1 -1
- package/dist/scheduler.d.ts +1 -1
- package/dist/search-engine.d.ts +87 -49
- package/dist/security.d.ts +4 -2
- package/dist/storage.d.ts +2 -1
- package/dist/table-names.d.ts +1 -0
- package/dist/team.d.ts +2 -1
- package/dist/ui.d.ts +12 -7
- package/dist/utils.d.ts +14 -7
- package/package.json +19 -21
- package/src/attributes.ts +1 -0
- package/src/cli.ts +22 -4
- package/src/cron-jobs.ts +124 -30
- package/src/docs.ts +1 -0
- package/src/events.ts +2 -0
- package/src/index.ts +3 -0
- package/src/model-names.ts +1 -1
- package/src/model.ts +62 -42
- package/src/queue.ts +9 -0
- package/src/request.ts +2 -0
- package/src/response.ts +16 -0
- package/src/saas.ts +1 -1
- package/src/search-engine.ts +104 -45
- package/src/table-names.ts +1 -0
- package/src/ui.ts +2 -2
package/dist/ai.d.ts
CHANGED
|
@@ -10,9 +10,11 @@ declare type AiModel =
|
|
|
10
10
|
| 'anthropic.claude-instant-v1'
|
|
11
11
|
| 'meta.llama2-13b-chat-v1'
|
|
12
12
|
| 'meta.llama2-70b-chat-v1'
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
export interface AiOptions {
|
|
14
15
|
default: AiModel
|
|
15
16
|
models: AiModel[]
|
|
16
17
|
deploy: boolean
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
+
|
|
20
|
+
export type AiConfig = Partial<AiOptions>
|
package/dist/app.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare type AppEnvType = 'local' | 'dev' | 'stage' | 'prod' | 'testing' | string
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
export interface AppOptions {
|
|
3
4
|
name: string
|
|
4
5
|
|
|
5
6
|
description: string
|
|
@@ -27,4 +28,5 @@ export declare interface AppOptions {
|
|
|
27
28
|
|
|
28
29
|
docMode: boolean
|
|
29
30
|
}
|
|
30
|
-
|
|
31
|
+
|
|
32
|
+
export type AppConfig = Partial<AppOptions>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../../types/attributes'
|
package/dist/auto-imports.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Options as AutoImportsOptions } from 'unplugin-auto-import/types'
|
|
1
|
+
export type { Options as AutoImportsOptions } from 'unplugin-auto-import/types'
|
package/dist/build.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { UserConfig as ViteConfig } from 'vite'
|
|
2
|
-
export type { ViteSSGContext } from 'vite-ssg'
|
|
1
|
+
export type { UserConfig as ViteConfig } from 'vite'
|
|
2
|
+
export type { ViteSSGContext } from 'vite-ssg'
|
package/dist/cache.d.ts
CHANGED
|
@@ -32,7 +32,8 @@ export declare interface CacheOptions {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
export declare type CacheConfig = Partial<CacheOptions>
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
export interface CacheDriver {
|
|
36
37
|
set: (key: string, value: string, ttl?: number) => Promise<void>
|
|
37
38
|
setForever: (key: string, value: string, ttl?: number) => Promise<void>
|
|
38
39
|
get: (key: string) => Promise<string | undefined | null>
|
package/dist/chat.d.ts
CHANGED
package/dist/cli.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BunFile } from 'bun';
|
|
2
|
-
import type { Ports } from './ports';
|
|
3
2
|
|
|
4
|
-
export type { ErrorLike, SpawnOptions, Subprocess, SyncSubprocess } from 'bun'
|
|
5
|
-
export type { CAC as CLI } from 'cac'
|
|
3
|
+
export type { ErrorLike, SpawnOptions, Subprocess, SyncSubprocess } from 'bun'
|
|
4
|
+
export type { CAC as CLI } from 'cac'
|
|
6
5
|
declare type ArrayBufferView = NodeJS.TypedArray | DataView
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
export type Readable =
|
|
8
8
|
| 'pipe'
|
|
9
9
|
| 'inherit'
|
|
10
10
|
| 'ignore'
|
|
@@ -13,7 +13,8 @@ export declare type Readable =
|
|
|
13
13
|
| BunFile
|
|
14
14
|
| ArrayBufferView
|
|
15
15
|
| number
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
export type Writable =
|
|
17
18
|
| 'pipe'
|
|
18
19
|
| 'inherit'
|
|
19
20
|
| 'ignore'
|
|
@@ -26,25 +27,34 @@ export declare type Writable =
|
|
|
26
27
|
| Blob
|
|
27
28
|
| Response
|
|
28
29
|
| Request
|
|
29
|
-
|
|
30
|
+
|
|
31
|
+
export type In = Readable
|
|
30
32
|
export type Out = Writable
|
|
31
|
-
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
export
|
|
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 {
|
|
35
41
|
type?: 'success' | 'error' | 'warning' | 'info'
|
|
36
42
|
startTime?: number
|
|
37
43
|
useSeconds?: boolean
|
|
38
44
|
quiet?: boolean
|
|
39
45
|
message?: string
|
|
40
46
|
}
|
|
41
|
-
|
|
47
|
+
|
|
48
|
+
export interface IntroOptions {
|
|
42
49
|
showPerformance?: boolean
|
|
43
50
|
|
|
44
51
|
quiet: boolean
|
|
45
52
|
}
|
|
46
|
-
|
|
47
|
-
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
export type CliOptionsKeys = keyof CliOptions
|
|
56
|
+
|
|
57
|
+
export interface CliOptions {
|
|
48
58
|
verbose?: boolean
|
|
49
59
|
|
|
50
60
|
silent?: boolean
|
|
@@ -74,18 +84,21 @@ export declare interface CliOptions {
|
|
|
74
84
|
|
|
75
85
|
project?: string
|
|
76
86
|
}
|
|
77
|
-
|
|
87
|
+
|
|
88
|
+
export type CliConfig = CliOptions
|
|
78
89
|
|
|
79
90
|
|
|
80
91
|
export type ActionOption = 'types' | 'domains' | 'count'
|
|
81
|
-
|
|
92
|
+
|
|
93
|
+
export type ActionOptions = {
|
|
82
94
|
types?: boolean
|
|
83
95
|
domains?: boolean
|
|
84
96
|
count?: number
|
|
85
97
|
dryRun?: boolean
|
|
86
98
|
} & CliOptions &
|
|
87
99
|
DomainsOptions
|
|
88
|
-
|
|
100
|
+
|
|
101
|
+
export type BuildOption =
|
|
89
102
|
| 'components'
|
|
90
103
|
| 'vueComponents'
|
|
91
104
|
| 'webComponents'
|
|
@@ -97,14 +110,16 @@ export declare type BuildOption =
|
|
|
97
110
|
| 'all'
|
|
98
111
|
| 'buddy'
|
|
99
112
|
| 'server'
|
|
100
|
-
export
|
|
113
|
+
export type BuildOptions = {
|
|
101
114
|
[key in BuildOption]: boolean
|
|
102
115
|
} & CliOptions
|
|
103
|
-
|
|
116
|
+
|
|
117
|
+
export type AddOption = 'table' | 'calendar' | 'all'
|
|
104
118
|
export type AddOptions = {
|
|
105
119
|
[key in AddOption]?: boolean
|
|
106
120
|
} & CliOptions
|
|
107
|
-
|
|
121
|
+
|
|
122
|
+
export type CreateStringOption = 'name'
|
|
108
123
|
export type CreateBooleanOption =
|
|
109
124
|
| 'ui'
|
|
110
125
|
| 'components'
|
|
@@ -114,12 +129,13 @@ export type CreateBooleanOption =
|
|
|
114
129
|
| 'functions'
|
|
115
130
|
| 'api'
|
|
116
131
|
| 'database'
|
|
117
|
-
export
|
|
132
|
+
export type CreateOptions = {
|
|
118
133
|
[key in CreateBooleanOption]: boolean
|
|
119
134
|
} & {
|
|
120
135
|
[key in CreateStringOption]: string
|
|
121
136
|
} & CliOptions
|
|
122
|
-
|
|
137
|
+
|
|
138
|
+
export type DevOption =
|
|
123
139
|
| 'components'
|
|
124
140
|
| 'docs'
|
|
125
141
|
| 'frontend'
|
|
@@ -130,10 +146,11 @@ export declare type DevOption =
|
|
|
130
146
|
| 'system-tray'
|
|
131
147
|
| 'interactive'
|
|
132
148
|
| 'verbose'
|
|
133
|
-
export
|
|
149
|
+
export type DevOptions = {
|
|
134
150
|
[key in DevOption]: boolean
|
|
135
151
|
} & CliOptions
|
|
136
|
-
|
|
152
|
+
|
|
153
|
+
export type GeneratorOption =
|
|
137
154
|
| 'types'
|
|
138
155
|
| 'entries'
|
|
139
156
|
| 'webTypes'
|
|
@@ -145,14 +162,16 @@ export declare type GeneratorOption =
|
|
|
145
162
|
| 'pkgxConfig'
|
|
146
163
|
| 'openapi'
|
|
147
164
|
| 'modelFiles'
|
|
148
|
-
export
|
|
165
|
+
export type GeneratorOptions = {
|
|
149
166
|
[key in GeneratorOption]?: boolean
|
|
150
167
|
} & CliOptions
|
|
151
|
-
|
|
168
|
+
|
|
169
|
+
export type LintOption = 'fix'
|
|
152
170
|
export type LintOptions = {
|
|
153
171
|
[key in LintOption]: boolean
|
|
154
172
|
} & CliOptions
|
|
155
|
-
|
|
173
|
+
|
|
174
|
+
export type MakeStringOption = 'name' | 'chat' | 'sms' | 'env'
|
|
156
175
|
export type MakeBooleanOption =
|
|
157
176
|
| 'component'
|
|
158
177
|
| 'page'
|
|
@@ -163,32 +182,36 @@ export type MakeBooleanOption =
|
|
|
163
182
|
| 'model'
|
|
164
183
|
| 'notification'
|
|
165
184
|
| 'stack'
|
|
166
|
-
export
|
|
185
|
+
export type MakeOptions = {
|
|
167
186
|
[key in MakeBooleanOption]: boolean
|
|
168
187
|
} & {
|
|
169
188
|
[key in MakeStringOption]: string
|
|
170
189
|
} & CliOptions
|
|
171
|
-
|
|
172
|
-
export
|
|
173
|
-
|
|
190
|
+
|
|
191
|
+
export type UpgradeBoolean = 'framework' | 'dependencies' | 'bun' | 'shell' | 'binary' | 'all' | 'force'
|
|
192
|
+
|
|
193
|
+
export type UpgradeString = 'version'
|
|
194
|
+
|
|
195
|
+
export type UpgradeOptions = {
|
|
174
196
|
[key in UpgradeBoolean]: boolean
|
|
175
197
|
} & {
|
|
176
198
|
[key in UpgradeString]: string
|
|
177
199
|
} & CliOptions
|
|
178
|
-
|
|
200
|
+
|
|
201
|
+
export type ExamplesString = 'version'
|
|
179
202
|
export type ExamplesBoolean = 'components' | 'vue' | 'webComponents' | 'elements' | 'all' | 'force'
|
|
180
|
-
export
|
|
203
|
+
export type ExamplesOption = ExamplesString & ExamplesBoolean
|
|
181
204
|
export type ExamplesOptions = {
|
|
182
205
|
[key in ExamplesString]: string
|
|
183
206
|
} & {
|
|
184
207
|
[key in ExamplesBoolean]: boolean
|
|
185
208
|
} & CliOptions
|
|
186
|
-
export
|
|
209
|
+
export type TestOptions = CliOptions & {
|
|
187
210
|
ui?: boolean
|
|
188
211
|
feature?: boolean
|
|
189
212
|
unit?: boolean
|
|
190
213
|
}
|
|
191
|
-
export
|
|
214
|
+
export type DomainsOptions = CliOptions & {
|
|
192
215
|
domain?: string
|
|
193
216
|
yes?: boolean
|
|
194
217
|
years?: number
|
|
@@ -229,8 +252,9 @@ export declare type DomainsOptions = CliOptions & {
|
|
|
229
252
|
privacyRegistrant?: boolean
|
|
230
253
|
contactType?: string
|
|
231
254
|
}
|
|
232
|
-
|
|
233
|
-
export
|
|
255
|
+
|
|
256
|
+
export interface CleanOptions extends CliOptions {}
|
|
257
|
+
|
|
234
258
|
export interface CloudCliOptions extends CliOptions {
|
|
235
259
|
ssh?: boolean
|
|
236
260
|
connect?: boolean
|
|
@@ -239,28 +263,48 @@ export interface CloudCliOptions extends CliOptions {
|
|
|
239
263
|
paths?: string
|
|
240
264
|
diff?: boolean
|
|
241
265
|
}
|
|
242
|
-
export
|
|
243
|
-
export interface
|
|
244
|
-
export declare interface FreshOptions extends CliOptions {
|
|
266
|
+
export interface CommitOptions extends CliOptions {}
|
|
267
|
+
export interface FreshOptions extends CliOptions {
|
|
245
268
|
dryRun?: boolean
|
|
246
269
|
quiet?: boolean
|
|
247
270
|
}
|
|
248
|
-
|
|
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 {
|
|
249
278
|
diff?: boolean
|
|
250
279
|
}
|
|
251
|
-
|
|
252
|
-
export interface
|
|
253
|
-
|
|
280
|
+
|
|
281
|
+
export interface CliQueueOptions extends CliOptions {
|
|
282
|
+
queue?: string
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface ReleaseOptions extends CliOptions {
|
|
254
286
|
dryRun?: boolean
|
|
255
287
|
}
|
|
256
|
-
export
|
|
288
|
+
export interface ProjectsOptions extends CliOptions {
|
|
257
289
|
list?: boolean
|
|
258
290
|
}
|
|
259
|
-
export
|
|
291
|
+
export interface PreinstallOptions extends CliOptions {}
|
|
260
292
|
export interface PrepublishOptions extends CliOptions {}
|
|
261
|
-
export
|
|
293
|
+
export interface PortsOptions extends CliOptions {
|
|
262
294
|
ports?: Partial<Ports>
|
|
263
295
|
}
|
|
264
|
-
|
|
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 {}
|
|
265
308
|
export interface TypesOptions extends CliOptions {}
|
|
266
|
-
|
|
309
|
+
|
|
310
|
+
export type LibEntryType = 'vue-components' | 'web-components' | 'functions' | 'all'
|
package/dist/cloud.d.ts
CHANGED
|
@@ -251,12 +251,15 @@ export declare type CountryCode =
|
|
|
251
251
|
| 'ZA'
|
|
252
252
|
| 'ZM'
|
|
253
253
|
| 'ZW'
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
|
|
255
|
+
type Environment = 'development' | 'staging' | 'production'
|
|
256
|
+
|
|
257
|
+
interface SiteConfig {
|
|
256
258
|
domain: string
|
|
257
259
|
path: string
|
|
258
260
|
}
|
|
259
|
-
|
|
261
|
+
|
|
262
|
+
type InfrastuctureOptions = Partial<{
|
|
260
263
|
type: 'serverless'
|
|
261
264
|
driver: 'aws'
|
|
262
265
|
api: ApiConfig
|
|
@@ -294,7 +297,8 @@ declare type InfrastuctureOptions = Partial<{
|
|
|
294
297
|
docs: boolean
|
|
295
298
|
fileSystem: boolean
|
|
296
299
|
}>
|
|
297
|
-
|
|
300
|
+
|
|
301
|
+
export interface CloudOptions {
|
|
298
302
|
sites: {
|
|
299
303
|
root: string
|
|
300
304
|
path: string
|
|
@@ -303,4 +307,5 @@ export declare interface CloudOptions {
|
|
|
303
307
|
|
|
304
308
|
infrastructure: InfrastuctureOptions
|
|
305
309
|
}
|
|
306
|
-
|
|
310
|
+
|
|
311
|
+
export type CloudConfig = Partial<CloudOptions>
|
package/dist/components.d.ts
CHANGED
package/dist/cron-jobs.d.ts
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
import type { IntRange } from '@stacksjs/
|
|
1
|
+
import type { IntRange } from '@stacksjs/cron';
|
|
2
2
|
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
handle?: string | Function
|
|
7
|
-
action?: string
|
|
8
|
-
description?: string
|
|
9
|
-
queue?: string
|
|
10
|
-
timezone?: string
|
|
11
|
-
tries?: IntRange<0, 185>
|
|
12
|
-
backoff?: number | number[]
|
|
13
|
-
rate?: string | Every
|
|
14
|
-
enabled?: boolean
|
|
15
|
-
}
|
|
16
|
-
export declare type JobConfig = JobOptions
|
|
17
|
-
export type Job = JobOptions
|
|
18
|
-
export declare type Jobs = Job[]
|
|
3
|
+
export declare type Job = JobOptions
|
|
4
|
+
export type Jobs = Job[]
|
|
19
5
|
export type CronJob = Job
|
|
20
|
-
export
|
|
21
|
-
|
|
6
|
+
export type CronJobs = Jobs
|
|
7
|
+
|
|
8
|
+
export enum Every {
|
|
9
|
+
Second = '* * * * * *',
|
|
10
|
+
FiveSeconds = '*/5 * * * * *',
|
|
11
|
+
TenSeconds = '*/10 * * * * *',
|
|
12
|
+
ThirtySeconds = '*/30 * * * * *',
|
|
22
13
|
Minute = '* * * * *',
|
|
23
14
|
TwoMinutes = '*/2 * * * *',
|
|
24
15
|
FiveMinutes = '*/5 * * * *',
|
|
@@ -33,4 +24,42 @@ export declare enum Every {
|
|
|
33
24
|
Weekend = '0 0 * * 0,6',
|
|
34
25
|
Month = '0 0 1 * *',
|
|
35
26
|
Year = '0 0 1 1 *',
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type JobHandler = (data?: any) => Promise<any> | any
|
|
30
|
+
|
|
31
|
+
type BackoffStrategy = 'fixed' | 'exponential' | 'linear' | 'random'
|
|
32
|
+
|
|
33
|
+
export interface JitterConfig {
|
|
34
|
+
enabled: boolean
|
|
35
|
+
factor?: number
|
|
36
|
+
minDelay?: number
|
|
37
|
+
maxDelay?: number
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface BackoffConfig {
|
|
41
|
+
strategy: BackoffStrategy
|
|
42
|
+
initialDelay: number
|
|
43
|
+
factor?: number
|
|
44
|
+
maxDelay?: number
|
|
45
|
+
jitter?: JitterConfig
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface JobOptions {
|
|
49
|
+
name?: string
|
|
50
|
+
handle?: string | JobHandler
|
|
51
|
+
action?: string
|
|
52
|
+
description?: string
|
|
53
|
+
queue?: string
|
|
54
|
+
timezone?: string
|
|
55
|
+
tries?: IntRange<0, 185>
|
|
56
|
+
backoff?: number | number[]
|
|
57
|
+
backoffConfig?: BackoffConfig
|
|
58
|
+
rate?: string | Every
|
|
59
|
+
enabled?: boolean
|
|
60
|
+
timeout?: number
|
|
61
|
+
key?: string
|
|
62
|
+
ttl?: number
|
|
63
|
+
immediate?: boolean
|
|
64
|
+
meta?: Record<string, any>
|
|
36
65
|
}
|
package/dist/database.d.ts
CHANGED
|
@@ -41,12 +41,14 @@ export declare interface DatabaseOptions {
|
|
|
41
41
|
migrationLocks: string
|
|
42
42
|
}
|
|
43
43
|
export declare type DatabaseConfig = Partial<DatabaseOptions>
|
|
44
|
-
|
|
44
|
+
|
|
45
|
+
export interface FactoryOptions {
|
|
45
46
|
name: string
|
|
46
47
|
count?: number
|
|
47
48
|
items: object
|
|
48
49
|
columns: object
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
+
|
|
52
|
+
export interface SchemaOptions {
|
|
51
53
|
database: string
|
|
52
54
|
}
|
package/dist/dns.d.ts
CHANGED
|
@@ -279,11 +279,12 @@ type CountryCode =
|
|
|
279
279
|
| 'ZM'
|
|
280
280
|
| 'ZW'
|
|
281
281
|
| string
|
|
282
|
-
|
|
282
|
+
|
|
283
|
+
export interface ExtraParam {
|
|
283
284
|
Name: ExtraParamName
|
|
284
285
|
Value: ExtraParamValue
|
|
285
286
|
}
|
|
286
|
-
export
|
|
287
|
+
export type ExtraParamList = ExtraParam[]
|
|
287
288
|
export type ExtraParamName =
|
|
288
289
|
| 'DUNS_NUMBER'
|
|
289
290
|
| 'BRAND_NUMBER'
|
|
@@ -317,12 +318,14 @@ export type ExtraParamName =
|
|
|
317
318
|
| 'EU_COUNTRY_OF_CITIZENSHIP'
|
|
318
319
|
| 'AU_PRIORITY_TOKEN'
|
|
319
320
|
| string
|
|
320
|
-
export
|
|
321
|
-
|
|
321
|
+
export type ExtraParamValue = string
|
|
322
|
+
|
|
323
|
+
export interface ContactInfo extends ContactDetail {
|
|
322
324
|
admin?: ContactDetail
|
|
323
325
|
tech?: ContactDetail
|
|
324
326
|
}
|
|
325
|
-
|
|
327
|
+
|
|
328
|
+
export interface DnsOptions {
|
|
326
329
|
driver: 'aws'
|
|
327
330
|
a: ARecord[]
|
|
328
331
|
aaaa: AAAARecord[]
|
|
@@ -333,8 +336,10 @@ export declare interface DnsOptions {
|
|
|
333
336
|
contactInfo: Partial<ContactInfo>
|
|
334
337
|
redirects: string[]
|
|
335
338
|
}
|
|
336
|
-
|
|
337
|
-
export
|
|
339
|
+
|
|
340
|
+
export type DnsConfig = Partial<DnsOptions>
|
|
341
|
+
|
|
342
|
+
export interface ContactDetail {
|
|
338
343
|
firstName: string
|
|
339
344
|
lastName: string
|
|
340
345
|
contactType: 'PERSON' | 'COMPANY' | 'ASSOCIATION' | 'PUBLIC_BODY' | 'RESELLER' | string
|
package/dist/docs.d.ts
CHANGED
|
@@ -5,12 +5,15 @@ export declare interface DocsUserConfig extends UserConfig {
|
|
|
5
5
|
}
|
|
6
6
|
export declare type DocsConfig = DocsUserConfig
|
|
7
7
|
export type DocsOptions = Partial<DocsConfig>
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
export interface SocialLink {
|
|
9
10
|
icon: SocialLinkIcon
|
|
10
11
|
link: string
|
|
11
12
|
ariaLabel?: string
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
+
|
|
15
|
+
export enum SocialLinkIcon {
|
|
16
|
+
Bluesky = 'bluesky',
|
|
14
17
|
Discord = 'discord',
|
|
15
18
|
Facebook = 'facebook',
|
|
16
19
|
GitHub = 'github',
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export declare type CommandError = Error
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
export interface ErrorResponse {
|
|
3
4
|
status: number
|
|
4
5
|
errors: string | object
|
|
5
6
|
stack?: string
|
|
6
7
|
name: string
|
|
7
8
|
message: string
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
+
|
|
11
|
+
export interface ErrorOptions {
|
|
10
12
|
messages: {
|
|
11
13
|
'string': string
|
|
12
14
|
'email': string
|
|
@@ -85,4 +87,5 @@ export declare interface ErrorOptions {
|
|
|
85
87
|
'unionOfTypes': string
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
|
-
|
|
90
|
+
|
|
91
|
+
export type ErrorConfig = Partial<ErrorOptions>
|
package/dist/events.d.ts
CHANGED
package/dist/git.d.ts
CHANGED
package/dist/hashing.d.ts
CHANGED
|
@@ -6,18 +6,21 @@ export declare interface HashingOptions {
|
|
|
6
6
|
argon2?: ArgonOptions
|
|
7
7
|
}
|
|
8
8
|
export declare type HashingConfig = Partial<HashingOptions>
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
export interface BcryptOptions {
|
|
10
11
|
rounds: number
|
|
11
12
|
|
|
12
13
|
cost: number
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
export interface ArgonOptions {
|
|
15
17
|
memory?: number
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
time?: number
|
|
19
21
|
}
|
|
20
|
-
|
|
22
|
+
|
|
23
|
+
export type HashAlgorithm =
|
|
21
24
|
| 'md4'
|
|
22
25
|
| 'md5'
|
|
23
26
|
| 'sha1'
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './ai'
|
|
|
2
2
|
export * from './analytics'
|
|
3
3
|
export * from './api'
|
|
4
4
|
export * from './app'
|
|
5
|
+
export * from './attributes'
|
|
5
6
|
export * from './auto-imports'
|
|
6
7
|
export * from './binary'
|
|
7
8
|
export * from './build'
|
|
@@ -44,6 +45,7 @@ export * from './pwa'
|
|
|
44
45
|
export * from './queue'
|
|
45
46
|
export * from './reactivity'
|
|
46
47
|
export * from './request'
|
|
48
|
+
export * from './response'
|
|
47
49
|
export * from './router'
|
|
48
50
|
export * from './saas'
|
|
49
51
|
export * from './scheduler'
|
|
@@ -56,6 +58,7 @@ export * from './sms'
|
|
|
56
58
|
export * from './ssg'
|
|
57
59
|
export * from './stacks'
|
|
58
60
|
export * from './storage'
|
|
61
|
+
export * from './table-names'
|
|
59
62
|
export * from './tables'
|
|
60
63
|
export * from './team'
|
|
61
64
|
export * from './ui'
|