@stacksjs/types 0.67.0 → 0.68.0
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 +17 -14
- package/dist/analytics.d.ts +12 -14
- package/dist/api.d.ts +25 -66
- package/dist/app.d.ts +29 -134
- package/dist/auto-imports.d.ts +1 -1
- package/dist/binary.d.ts +7 -10
- package/dist/build.d.ts +2 -2
- package/dist/cache.d.ts +48 -77
- package/dist/cdn.d.ts +3 -15
- package/dist/chat.d.ts +2 -2
- package/dist/cli.d.ts +252 -239
- package/dist/cloud.d.ts +305 -68
- package/dist/components.d.ts +11 -59
- package/dist/configure.d.ts +11 -11
- package/dist/cron-jobs.d.ts +34 -41
- package/dist/database.d.ts +50 -45
- package/dist/dependencies.d.ts +15 -61
- package/dist/deploy.d.ts +10 -16
- package/dist/dns.d.ts +349 -167
- package/dist/docs.d.ts +20 -19
- package/dist/email.d.ts +15 -10
- package/dist/errors.d.ts +87 -69
- package/dist/events.d.ts +3 -30
- package/dist/exit-code.d.ts +4 -9
- package/dist/file-systems.d.ts +52 -56
- package/dist/git.d.ts +54 -126
- package/dist/hashing.d.ts +30 -97
- package/dist/helpers.d.ts +1 -1
- package/dist/i18n.d.ts +10 -18
- package/dist/index.d.ts +62 -61
- package/dist/index.js +1 -1
- package/dist/inspect.d.ts +3 -9
- package/dist/library.d.ts +798 -139
- package/dist/logging.d.ts +5 -27
- package/dist/manifest.d.ts +6 -9
- package/dist/model-names.d.ts +1 -1
- package/dist/model.d.ts +150 -130
- package/dist/notifications.d.ts +150 -105
- package/dist/pages.d.ts +10 -10
- package/dist/payments.d.ts +84 -55
- package/dist/ports.d.ts +13 -20
- package/dist/promise.d.ts +1 -1
- package/dist/push.d.ts +34 -30
- package/dist/pwa.d.ts +3 -7
- package/dist/queue.d.ts +36 -33
- package/dist/reactivity.d.ts +1 -1
- package/dist/request.d.ts +39 -26
- package/dist/router.d.ts +51 -51
- package/dist/saas.d.ts +32 -0
- package/dist/scheduler.d.ts +1 -1
- package/dist/search-engine.d.ts +85 -111
- package/dist/security.d.ts +18 -16
- package/dist/server.d.ts +16 -6
- package/dist/services.d.ts +34 -28
- package/dist/settings-config.d.ts +8 -8
- package/dist/ssg.d.ts +3 -2
- package/dist/stacks.d.ts +53 -203
- package/dist/storage.d.ts +29 -36
- package/dist/tables.d.ts +34 -52
- package/dist/team.d.ts +7 -8
- package/dist/ui.d.ts +39 -162
- package/dist/utils.d.ts +20 -30
- package/package.json +8 -8
- package/src/cli.ts +2 -0
- package/src/cloud.ts +16 -4
- package/src/errors.ts +8 -0
- package/src/index.ts +1 -0
- package/src/model-names.ts +1 -1
- package/src/model.ts +6 -0
- package/src/payments.ts +32 -0
- package/src/saas.ts +33 -0
- package/src/stacks.ts +10 -0
- package/dist/env.d.ts +0 -0
- package/dist/layout.d.ts +0 -0
- package/dist/native.d.ts +0 -0
- package/dist/sms.d.ts +0 -0
package/dist/cloud.d.ts
CHANGED
|
@@ -1,69 +1,306 @@
|
|
|
1
|
-
import type { ApiConfig } from
|
|
2
|
-
import type { FirewallConfig } from
|
|
3
|
-
|
|
4
|
-
type
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
1
|
+
import type { ApiConfig } from './api';
|
|
2
|
+
import type { FirewallConfig } from './security';
|
|
3
|
+
|
|
4
|
+
export declare type CountryCode =
|
|
5
|
+
| 'AD'
|
|
6
|
+
| 'AE'
|
|
7
|
+
| 'AF'
|
|
8
|
+
| 'AG'
|
|
9
|
+
| 'AI'
|
|
10
|
+
| 'AL'
|
|
11
|
+
| 'AM'
|
|
12
|
+
| 'AO'
|
|
13
|
+
| 'AQ'
|
|
14
|
+
| 'AR'
|
|
15
|
+
| 'AS'
|
|
16
|
+
| 'AT'
|
|
17
|
+
| 'AU'
|
|
18
|
+
| 'AW'
|
|
19
|
+
| 'AX'
|
|
20
|
+
| 'AZ'
|
|
21
|
+
| 'BA'
|
|
22
|
+
| 'BB'
|
|
23
|
+
| 'BD'
|
|
24
|
+
| 'BE'
|
|
25
|
+
| 'BF'
|
|
26
|
+
| 'BG'
|
|
27
|
+
| 'BH'
|
|
28
|
+
| 'BI'
|
|
29
|
+
| 'BJ'
|
|
30
|
+
| 'BL'
|
|
31
|
+
| 'BM'
|
|
32
|
+
| 'BN'
|
|
33
|
+
| 'BO'
|
|
34
|
+
| 'BQ'
|
|
35
|
+
| 'BR'
|
|
36
|
+
| 'BS'
|
|
37
|
+
| 'BT'
|
|
38
|
+
| 'BV'
|
|
39
|
+
| 'BW'
|
|
40
|
+
| 'BY'
|
|
41
|
+
| 'BZ'
|
|
42
|
+
| 'CA'
|
|
43
|
+
| 'CC'
|
|
44
|
+
| 'CD'
|
|
45
|
+
| 'CF'
|
|
46
|
+
| 'CG'
|
|
47
|
+
| 'CH'
|
|
48
|
+
| 'CI'
|
|
49
|
+
| 'CK'
|
|
50
|
+
| 'CL'
|
|
51
|
+
| 'CM'
|
|
52
|
+
| 'CN'
|
|
53
|
+
| 'CO'
|
|
54
|
+
| 'CR'
|
|
55
|
+
| 'CU'
|
|
56
|
+
| 'CV'
|
|
57
|
+
| 'CW'
|
|
58
|
+
| 'CX'
|
|
59
|
+
| 'CY'
|
|
60
|
+
| 'CZ'
|
|
61
|
+
| 'DE'
|
|
62
|
+
| 'DJ'
|
|
63
|
+
| 'DK'
|
|
64
|
+
| 'DM'
|
|
65
|
+
| 'DO'
|
|
66
|
+
| 'DZ'
|
|
67
|
+
| 'EC'
|
|
68
|
+
| 'EE'
|
|
69
|
+
| 'EG'
|
|
70
|
+
| 'EH'
|
|
71
|
+
| 'ER'
|
|
72
|
+
| 'ES'
|
|
73
|
+
| 'ET'
|
|
74
|
+
| 'FI'
|
|
75
|
+
| 'FJ'
|
|
76
|
+
| 'FK'
|
|
77
|
+
| 'FM'
|
|
78
|
+
| 'FO'
|
|
79
|
+
| 'FR'
|
|
80
|
+
| 'GA'
|
|
81
|
+
| 'GB'
|
|
82
|
+
| 'GD'
|
|
83
|
+
| 'GE'
|
|
84
|
+
| 'GF'
|
|
85
|
+
| 'GG'
|
|
86
|
+
| 'GH'
|
|
87
|
+
| 'GI'
|
|
88
|
+
| 'GL'
|
|
89
|
+
| 'GM'
|
|
90
|
+
| 'GN'
|
|
91
|
+
| 'GP'
|
|
92
|
+
| 'GQ'
|
|
93
|
+
| 'GR'
|
|
94
|
+
| 'GS'
|
|
95
|
+
| 'GT'
|
|
96
|
+
| 'GU'
|
|
97
|
+
| 'GW'
|
|
98
|
+
| 'GY'
|
|
99
|
+
| 'HK'
|
|
100
|
+
| 'HM'
|
|
101
|
+
| 'HN'
|
|
102
|
+
| 'HR'
|
|
103
|
+
| 'HT'
|
|
104
|
+
| 'HU'
|
|
105
|
+
| 'ID'
|
|
106
|
+
| 'IE'
|
|
107
|
+
| 'IL'
|
|
108
|
+
| 'IM'
|
|
109
|
+
| 'IN'
|
|
110
|
+
| 'IO'
|
|
111
|
+
| 'IQ'
|
|
112
|
+
| 'IR'
|
|
113
|
+
| 'IS'
|
|
114
|
+
| 'IT'
|
|
115
|
+
| 'JE'
|
|
116
|
+
| 'JM'
|
|
117
|
+
| 'JO'
|
|
118
|
+
| 'JP'
|
|
119
|
+
| 'KE'
|
|
120
|
+
| 'KG'
|
|
121
|
+
| 'KH'
|
|
122
|
+
| 'KI'
|
|
123
|
+
| 'KM'
|
|
124
|
+
| 'KN'
|
|
125
|
+
| 'KP'
|
|
126
|
+
| 'KR'
|
|
127
|
+
| 'KW'
|
|
128
|
+
| 'KY'
|
|
129
|
+
| 'KZ'
|
|
130
|
+
| 'LA'
|
|
131
|
+
| 'LB'
|
|
132
|
+
| 'LC'
|
|
133
|
+
| 'LI'
|
|
134
|
+
| 'LK'
|
|
135
|
+
| 'LR'
|
|
136
|
+
| 'LS'
|
|
137
|
+
| 'LT'
|
|
138
|
+
| 'LU'
|
|
139
|
+
| 'LV'
|
|
140
|
+
| 'LY'
|
|
141
|
+
| 'MA'
|
|
142
|
+
| 'MC'
|
|
143
|
+
| 'MD'
|
|
144
|
+
| 'ME'
|
|
145
|
+
| 'MF'
|
|
146
|
+
| 'MG'
|
|
147
|
+
| 'MH'
|
|
148
|
+
| 'MK'
|
|
149
|
+
| 'ML'
|
|
150
|
+
| 'MM'
|
|
151
|
+
| 'MN'
|
|
152
|
+
| 'MO'
|
|
153
|
+
| 'MP'
|
|
154
|
+
| 'MQ'
|
|
155
|
+
| 'MR'
|
|
156
|
+
| 'MS'
|
|
157
|
+
| 'MT'
|
|
158
|
+
| 'MU'
|
|
159
|
+
| 'MV'
|
|
160
|
+
| 'MW'
|
|
161
|
+
| 'MX'
|
|
162
|
+
| 'MY'
|
|
163
|
+
| 'MZ'
|
|
164
|
+
| 'NA'
|
|
165
|
+
| 'NC'
|
|
166
|
+
| 'NE'
|
|
167
|
+
| 'NF'
|
|
168
|
+
| 'NG'
|
|
169
|
+
| 'NI'
|
|
170
|
+
| 'NL'
|
|
171
|
+
| 'NO'
|
|
172
|
+
| 'NP'
|
|
173
|
+
| 'NR'
|
|
174
|
+
| 'NU'
|
|
175
|
+
| 'NZ'
|
|
176
|
+
| 'OM'
|
|
177
|
+
| 'PA'
|
|
178
|
+
| 'PE'
|
|
179
|
+
| 'PF'
|
|
180
|
+
| 'PG'
|
|
181
|
+
| 'PH'
|
|
182
|
+
| 'PK'
|
|
183
|
+
| 'PL'
|
|
184
|
+
| 'PM'
|
|
185
|
+
| 'PN'
|
|
186
|
+
| 'PR'
|
|
187
|
+
| 'PS'
|
|
188
|
+
| 'PT'
|
|
189
|
+
| 'PW'
|
|
190
|
+
| 'PY'
|
|
191
|
+
| 'QA'
|
|
192
|
+
| 'RE'
|
|
193
|
+
| 'RO'
|
|
194
|
+
| 'RS'
|
|
195
|
+
| 'RU'
|
|
196
|
+
| 'RW'
|
|
197
|
+
| 'SA'
|
|
198
|
+
| 'SB'
|
|
199
|
+
| 'SC'
|
|
200
|
+
| 'SD'
|
|
201
|
+
| 'SE'
|
|
202
|
+
| 'SG'
|
|
203
|
+
| 'SH'
|
|
204
|
+
| 'SI'
|
|
205
|
+
| 'SJ'
|
|
206
|
+
| 'SK'
|
|
207
|
+
| 'SL'
|
|
208
|
+
| 'SM'
|
|
209
|
+
| 'SN'
|
|
210
|
+
| 'SO'
|
|
211
|
+
| 'SR'
|
|
212
|
+
| 'SS'
|
|
213
|
+
| 'ST'
|
|
214
|
+
| 'SV'
|
|
215
|
+
| 'SX'
|
|
216
|
+
| 'SY'
|
|
217
|
+
| 'SZ'
|
|
218
|
+
| 'TC'
|
|
219
|
+
| 'TD'
|
|
220
|
+
| 'TF'
|
|
221
|
+
| 'TG'
|
|
222
|
+
| 'TH'
|
|
223
|
+
| 'TJ'
|
|
224
|
+
| 'TK'
|
|
225
|
+
| 'TL'
|
|
226
|
+
| 'TM'
|
|
227
|
+
| 'TN'
|
|
228
|
+
| 'TO'
|
|
229
|
+
| 'TR'
|
|
230
|
+
| 'TT'
|
|
231
|
+
| 'TV'
|
|
232
|
+
| 'TW'
|
|
233
|
+
| 'TZ'
|
|
234
|
+
| 'UA'
|
|
235
|
+
| 'UG'
|
|
236
|
+
| 'UM'
|
|
237
|
+
| 'US'
|
|
238
|
+
| 'UY'
|
|
239
|
+
| 'UZ'
|
|
240
|
+
| 'VA'
|
|
241
|
+
| 'VC'
|
|
242
|
+
| 'VE'
|
|
243
|
+
| 'VG'
|
|
244
|
+
| 'VI'
|
|
245
|
+
| 'VN'
|
|
246
|
+
| 'VU'
|
|
247
|
+
| 'WF'
|
|
248
|
+
| 'WS'
|
|
249
|
+
| 'YE'
|
|
250
|
+
| 'YT'
|
|
251
|
+
| 'ZA'
|
|
252
|
+
| 'ZM'
|
|
253
|
+
| 'ZW'
|
|
254
|
+
declare type Environment = 'development' | 'staging' | 'production'
|
|
255
|
+
declare interface SiteConfig {
|
|
256
|
+
domain: string
|
|
257
|
+
path: string
|
|
67
258
|
}
|
|
68
|
-
|
|
69
|
-
|
|
259
|
+
declare type InfrastuctureOptions = Partial<{
|
|
260
|
+
type: 'serverless'
|
|
261
|
+
driver: 'aws'
|
|
262
|
+
api: ApiConfig
|
|
263
|
+
storage: object
|
|
264
|
+
|
|
265
|
+
firewall: FirewallConfig
|
|
266
|
+
|
|
267
|
+
environments: Environment[]
|
|
268
|
+
|
|
269
|
+
cdn: {
|
|
270
|
+
allowedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS' | 'ALL'
|
|
271
|
+
cachedMethods: 'GET_HEAD' | 'GET_HEAD_OPTIONS'
|
|
272
|
+
minTtl: number
|
|
273
|
+
defaultTtl: number
|
|
274
|
+
maxTtl: number
|
|
275
|
+
compress: boolean
|
|
276
|
+
priceClass?: 'PriceClass_100' | 'PriceClass_200' | 'PriceClass_All'
|
|
277
|
+
originShieldRegion: string
|
|
278
|
+
cookieBehavior: 'none' | 'allowList' | 'all'
|
|
279
|
+
|
|
280
|
+
allowList: {
|
|
281
|
+
cookies: string[]
|
|
282
|
+
headers: string[]
|
|
283
|
+
queryStrings: string[]
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
realtimeLogs: {
|
|
287
|
+
enabled: boolean
|
|
288
|
+
samplingRate: number
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
ai: boolean
|
|
293
|
+
cli: boolean
|
|
294
|
+
docs: boolean
|
|
295
|
+
fileSystem: boolean
|
|
296
|
+
}>
|
|
297
|
+
export declare interface CloudOptions {
|
|
298
|
+
sites: {
|
|
299
|
+
root: string
|
|
300
|
+
path: string
|
|
301
|
+
[site: string]: string | SiteConfig
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
infrastructure: InfrastuctureOptions
|
|
305
|
+
}
|
|
306
|
+
export declare type CloudConfig = Partial<CloudOptions>
|
package/dist/components.d.ts
CHANGED
|
@@ -1,60 +1,12 @@
|
|
|
1
|
-
export type { Options as ComponentOptions } from
|
|
2
|
-
export interface TagOption {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
* {
|
|
12
|
-
* tags: [{
|
|
13
|
-
* name: 'HelloWorld' // results in `<HelloWorld />`
|
|
14
|
-
* }]
|
|
15
|
-
* }
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* {
|
|
19
|
-
* tags: [{
|
|
20
|
-
* name: ['HelloWorld', 'AppHelloWorld'] // results in `<AppHelloWorld />`
|
|
21
|
-
* }]
|
|
22
|
-
* }
|
|
23
|
-
* @see https://stacksjs.org/docs/components
|
|
24
|
-
*/
|
|
25
|
-
name: string | string[];
|
|
26
|
-
/**
|
|
27
|
-
* **Tag Description**
|
|
28
|
-
*
|
|
29
|
-
* This is the description of your component. This value is
|
|
30
|
-
* used when to provide additional information to IDEs.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* {
|
|
34
|
-
* name: 'HelloWorld' // results in `<HelloWorld />`
|
|
35
|
-
* }
|
|
36
|
-
* @see https://stacksjs.org/docs/components
|
|
37
|
-
*/
|
|
38
|
-
description?: string;
|
|
39
|
-
/**
|
|
40
|
-
* **Tag Attributes**
|
|
41
|
-
*
|
|
42
|
-
* These are your component's attributes. While it’s an optional field, you should aim
|
|
43
|
-
* to define all of your component attributes here, to provide as much context
|
|
44
|
-
* to your IDEs as possible, when actually using the library as an end-user.
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* {
|
|
48
|
-
* attributes: {
|
|
49
|
-
* name: 'greeting',
|
|
50
|
-
* description: 'The way to greet the user.',
|
|
51
|
-
* }
|
|
52
|
-
* }
|
|
53
|
-
* @see https://stacksjs.org/docs/components
|
|
54
|
-
*/
|
|
55
|
-
attributes?: {
|
|
56
|
-
name: string;
|
|
57
|
-
description: string;
|
|
58
|
-
}[];
|
|
1
|
+
export type { Options as ComponentOptions } from 'unplugin-vue-components';
|
|
2
|
+
export declare interface TagOption {
|
|
3
|
+
name: string | string[]
|
|
4
|
+
|
|
5
|
+
description?: string
|
|
6
|
+
|
|
7
|
+
attributes?: {
|
|
8
|
+
name: string
|
|
9
|
+
description: string
|
|
10
|
+
}[]
|
|
59
11
|
}
|
|
60
|
-
export type TagsOptions = TagOption[]
|
|
12
|
+
export declare type TagsOptions = TagOption[]
|
package/dist/configure.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface ConfigureOptions {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export declare interface ConfigureOptions {
|
|
2
|
+
aws: boolean
|
|
3
|
+
profile: string
|
|
4
|
+
project: boolean
|
|
5
|
+
verbose: boolean
|
|
6
|
+
accessKeyId: string
|
|
7
|
+
secretAccessKey: string
|
|
8
|
+
region: string
|
|
9
|
+
output: string
|
|
10
|
+
quiet: boolean
|
|
11
11
|
}
|
|
12
|
-
export type ConfigureConfig = Partial<ConfigureOptions
|
|
12
|
+
export declare type ConfigureConfig = Partial<ConfigureOptions>
|
package/dist/cron-jobs.d.ts
CHANGED
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import type { IntRange } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Number of tries. Must be between 0 and 185.
|
|
17
|
-
*/
|
|
18
|
-
tries?: IntRange<0, 185>;
|
|
19
|
-
backoff?: number | number[];
|
|
20
|
-
rate?: string | Every;
|
|
21
|
-
enabled?: boolean;
|
|
1
|
+
import type { IntRange } from '@stacksjs/scheduler';
|
|
2
|
+
|
|
3
|
+
export declare interface JobOptions {
|
|
4
|
+
name?: string
|
|
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
|
|
22
15
|
}
|
|
23
|
-
export type JobConfig = JobOptions
|
|
24
|
-
export type Job = JobOptions
|
|
25
|
-
export type Jobs = Job[]
|
|
26
|
-
export type CronJob = Job
|
|
27
|
-
export type CronJobs = Jobs
|
|
16
|
+
export declare type JobConfig = JobOptions
|
|
17
|
+
export type Job = JobOptions
|
|
18
|
+
export declare type Jobs = Job[]
|
|
19
|
+
export type CronJob = Job
|
|
20
|
+
export declare type CronJobs = Jobs
|
|
28
21
|
export declare enum Every {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
22
|
+
Minute = '* * * * *',
|
|
23
|
+
TwoMinutes = '*/2 * * * *',
|
|
24
|
+
FiveMinutes = '*/5 * * * *',
|
|
25
|
+
TenMinutes = '*/10 * * * *',
|
|
26
|
+
FifteenMinutes = '*/15 * * * *',
|
|
27
|
+
ThirtyMinutes = '*/30 * * * *',
|
|
28
|
+
Hour = '0 * * * *',
|
|
29
|
+
HalfHour = '0,30 * * * *',
|
|
30
|
+
Day = '0 0 * * *',
|
|
31
|
+
Week = '0 0 * * 0',
|
|
32
|
+
Weekday = '0 0 * * 1-5',
|
|
33
|
+
Weekend = '0 0 * * 0,6',
|
|
34
|
+
Month = '0 0 1 * *',
|
|
35
|
+
Year = '0 0 1 1 *',
|
|
36
|
+
}
|
package/dist/database.d.ts
CHANGED
|
@@ -1,47 +1,52 @@
|
|
|
1
|
-
export interface DatabaseOptions {
|
|
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
|
-
|
|
1
|
+
export declare interface DatabaseOptions {
|
|
2
|
+
default: string
|
|
3
|
+
|
|
4
|
+
connections: {
|
|
5
|
+
mysql?: {
|
|
6
|
+
url?: string
|
|
7
|
+
host?: string
|
|
8
|
+
port?: number
|
|
9
|
+
name?: string
|
|
10
|
+
username?: string
|
|
11
|
+
password?: string
|
|
12
|
+
prefix?: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
sqlite: {
|
|
16
|
+
url?: string
|
|
17
|
+
database?: string
|
|
18
|
+
prefix?: string
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
dynamodb?: {
|
|
22
|
+
key?: string
|
|
23
|
+
secret?: string
|
|
24
|
+
region?: string
|
|
25
|
+
prefix?: string
|
|
26
|
+
endpoint?: string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
postgres?: {
|
|
30
|
+
url?: string
|
|
31
|
+
host?: string
|
|
32
|
+
port?: number
|
|
33
|
+
name?: string
|
|
34
|
+
username?: string
|
|
35
|
+
password?: string
|
|
36
|
+
prefix?: string
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
migrations: string
|
|
41
|
+
migrationLocks: string
|
|
37
42
|
}
|
|
38
|
-
export type DatabaseConfig = Partial<DatabaseOptions
|
|
39
|
-
export interface FactoryOptions {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
export interface SchemaOptions {
|
|
46
|
-
database: string;
|
|
43
|
+
export declare type DatabaseConfig = Partial<DatabaseOptions>
|
|
44
|
+
export declare interface FactoryOptions {
|
|
45
|
+
name: string
|
|
46
|
+
count?: number
|
|
47
|
+
items: object
|
|
48
|
+
columns: object
|
|
47
49
|
}
|
|
50
|
+
export declare interface SchemaOptions {
|
|
51
|
+
database: string
|
|
52
|
+
}
|