@rsdoctor/sdk 1.2.2 → 1.2.4-beta.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/compiled/cors/index.d.ts +56 -0
- package/compiled/cors/index.js +550 -0
- package/compiled/cors/license +22 -0
- package/compiled/cors/package.json +1 -0
- package/compiled/dayjs/index.d.ts +428 -0
- package/compiled/dayjs/index.js +57 -0
- package/compiled/dayjs/license +21 -0
- package/compiled/dayjs/package.json +1 -0
- package/compiled/fs-extra/index.d.ts +1064 -0
- package/compiled/fs-extra/index.js +2839 -0
- package/compiled/fs-extra/license +15 -0
- package/compiled/fs-extra/package.json +1 -0
- package/compiled/json-cycle/index.d.ts +1 -0
- package/compiled/json-cycle/index.js +218 -0
- package/compiled/json-cycle/license +22 -0
- package/compiled/json-cycle/package.json +1 -0
- package/dist/336.cjs +351 -0
- package/dist/795.js +357 -0
- package/dist/index.cjs +7068 -0
- package/dist/index.cjs.LICENSE.txt +111 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6952 -0
- package/dist/index.js.LICENSE.txt +111 -0
- package/dist/{type/sdk → sdk}/index.d.ts +0 -1
- package/dist/{type/sdk → sdk}/multiple/controller.d.ts +0 -1
- package/dist/{type/sdk → sdk}/multiple/index.d.ts +0 -1
- package/dist/{type/sdk → sdk}/multiple/primary.d.ts +1 -2
- package/dist/{type/sdk → sdk}/multiple/server.d.ts +0 -1
- package/dist/{type/sdk → sdk}/sdk/core.d.ts +1 -2
- package/dist/{type/sdk → sdk}/sdk/index.d.ts +1 -4
- package/dist/{type/sdk → sdk}/sdk/types.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/alerts.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/base.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/bundle-diff.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/data.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/fs.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/graph.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/index.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/loader.d.ts +0 -2
- package/dist/{type/sdk → sdk}/server/apis/plugin.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/project.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/renderer.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/apis/resolver.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/fakeServer.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/index.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/router.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/socket/api.d.ts +1 -2
- package/dist/{type/sdk → sdk}/server/socket/index.d.ts +0 -1
- package/dist/{type/sdk → sdk}/server/utils.d.ts +0 -1
- package/dist/{type/sdk → sdk}/utils/base.d.ts +0 -1
- package/dist/{type/sdk → sdk}/utils/constant.d.ts +0 -1
- package/dist/{type/sdk → sdk}/utils/index.d.ts +0 -1
- package/dist/{type/sdk → sdk}/utils/openBrowser.d.ts +0 -1
- package/dist/{type/sdk → sdk}/utils/upload.d.ts +0 -1
- package/package.json +32 -23
- package/dist/cjs/index.js +0 -60
- package/dist/cjs/sdk/index.js +0 -69
- package/dist/cjs/sdk/multiple/controller.js +0 -75
- package/dist/cjs/sdk/multiple/index.js +0 -69
- package/dist/cjs/sdk/multiple/primary.js +0 -107
- package/dist/cjs/sdk/multiple/server.js +0 -47
- package/dist/cjs/sdk/sdk/core.js +0 -220
- package/dist/cjs/sdk/sdk/index.js +0 -513
- package/dist/cjs/sdk/sdk/types.js +0 -18
- package/dist/cjs/sdk/server/apis/alerts.js +0 -63
- package/dist/cjs/sdk/server/apis/base.js +0 -55
- package/dist/cjs/sdk/server/apis/bundle-diff.js +0 -87
- package/dist/cjs/sdk/server/apis/data.js +0 -77
- package/dist/cjs/sdk/server/apis/fs.js +0 -61
- package/dist/cjs/sdk/server/apis/graph.js +0 -149
- package/dist/cjs/sdk/server/apis/index.js +0 -132
- package/dist/cjs/sdk/server/apis/loader.js +0 -162
- package/dist/cjs/sdk/server/apis/plugin.js +0 -72
- package/dist/cjs/sdk/server/apis/project.js +0 -92
- package/dist/cjs/sdk/server/apis/renderer.js +0 -64
- package/dist/cjs/sdk/server/apis/resolver.js +0 -71
- package/dist/cjs/sdk/server/fakeServer.js +0 -44
- package/dist/cjs/sdk/server/index.js +0 -283
- package/dist/cjs/sdk/server/router.js +0 -114
- package/dist/cjs/sdk/server/socket/api.js +0 -55
- package/dist/cjs/sdk/server/socket/index.js +0 -105
- package/dist/cjs/sdk/server/utils.js +0 -65
- package/dist/cjs/sdk/utils/base.js +0 -66
- package/dist/cjs/sdk/utils/constant.js +0 -47
- package/dist/cjs/sdk/utils/index.js +0 -78
- package/dist/cjs/sdk/utils/openBrowser.js +0 -102
- package/dist/cjs/sdk/utils/upload.js +0 -39
- package/dist/esm/index.mjs +0 -1
- package/dist/esm/sdk/index.mjs +0 -2
- package/dist/esm/sdk/multiple/controller.mjs +0 -41
- package/dist/esm/sdk/multiple/index.mjs +0 -2
- package/dist/esm/sdk/multiple/primary.mjs +0 -63
- package/dist/esm/sdk/multiple/server.mjs +0 -13
- package/dist/esm/sdk/sdk/core.mjs +0 -175
- package/dist/esm/sdk/sdk/index.mjs +0 -407
- package/dist/esm/sdk/sdk/types.mjs +0 -0
- package/dist/esm/sdk/server/apis/alerts.mjs +0 -29
- package/dist/esm/sdk/server/apis/base.mjs +0 -21
- package/dist/esm/sdk/server/apis/bundle-diff.mjs +0 -53
- package/dist/esm/sdk/server/apis/data.mjs +0 -43
- package/dist/esm/sdk/server/apis/fs.mjs +0 -27
- package/dist/esm/sdk/server/apis/graph.mjs +0 -115
- package/dist/esm/sdk/server/apis/index.mjs +0 -9
- package/dist/esm/sdk/server/apis/loader.mjs +0 -128
- package/dist/esm/sdk/server/apis/plugin.mjs +0 -38
- package/dist/esm/sdk/server/apis/project.mjs +0 -58
- package/dist/esm/sdk/server/apis/renderer.mjs +0 -30
- package/dist/esm/sdk/server/apis/resolver.mjs +0 -37
- package/dist/esm/sdk/server/fakeServer.mjs +0 -10
- package/dist/esm/sdk/server/index.mjs +0 -170
- package/dist/esm/sdk/server/router.mjs +0 -80
- package/dist/esm/sdk/server/socket/api.mjs +0 -21
- package/dist/esm/sdk/server/socket/index.mjs +0 -71
- package/dist/esm/sdk/server/utils.mjs +0 -18
- package/dist/esm/sdk/utils/base.mjs +0 -21
- package/dist/esm/sdk/utils/constant.mjs +0 -3
- package/dist/esm/sdk/utils/index.mjs +0 -3
- package/dist/esm/sdk/utils/openBrowser.mjs +0 -50
- package/dist/esm/sdk/utils/upload.mjs +0 -5
- package/dist/type/index.d.ts +0 -2
- package/dist/type/index.d.ts.map +0 -1
- package/dist/type/sdk/index.d.ts.map +0 -1
- package/dist/type/sdk/multiple/controller.d.ts.map +0 -1
- package/dist/type/sdk/multiple/index.d.ts.map +0 -1
- package/dist/type/sdk/multiple/primary.d.ts.map +0 -1
- package/dist/type/sdk/multiple/server.d.ts.map +0 -1
- package/dist/type/sdk/sdk/core.d.ts.map +0 -1
- package/dist/type/sdk/sdk/index.d.ts.map +0 -1
- package/dist/type/sdk/sdk/types.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/alerts.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/base.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/bundle-diff.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/data.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/fs.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/graph.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/index.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/loader.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/plugin.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/project.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/renderer.d.ts.map +0 -1
- package/dist/type/sdk/server/apis/resolver.d.ts.map +0 -1
- package/dist/type/sdk/server/fakeServer.d.ts.map +0 -1
- package/dist/type/sdk/server/index.d.ts.map +0 -1
- package/dist/type/sdk/server/router.d.ts.map +0 -1
- package/dist/type/sdk/server/socket/api.d.ts.map +0 -1
- package/dist/type/sdk/server/socket/index.d.ts.map +0 -1
- package/dist/type/sdk/server/utils.d.ts.map +0 -1
- package/dist/type/sdk/utils/base.d.ts.map +0 -1
- package/dist/type/sdk/utils/constant.d.ts.map +0 -1
- package/dist/type/sdk/utils/index.d.ts.map +0 -1
- package/dist/type/sdk/utils/openBrowser.d.ts.map +0 -1
- package/dist/type/sdk/utils/upload.d.ts.map +0 -1
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
/// <reference path="./locale/index.d.ts" />
|
|
2
|
+
declare function dayjs (date?: dayjs.ConfigType): dayjs.Dayjs
|
|
3
|
+
|
|
4
|
+
declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, strict?: boolean): dayjs.Dayjs
|
|
5
|
+
|
|
6
|
+
declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, locale?: string, strict?: boolean): dayjs.Dayjs
|
|
7
|
+
|
|
8
|
+
declare namespace dayjs {
|
|
9
|
+
interface ConfigTypeMap {
|
|
10
|
+
default: string | number | Date | Dayjs | null | undefined
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ConfigType = ConfigTypeMap[keyof ConfigTypeMap]
|
|
14
|
+
|
|
15
|
+
export interface FormatObject { locale?: string, format?: string, utc?: boolean }
|
|
16
|
+
|
|
17
|
+
export type OptionType = FormatObject | string | string[]
|
|
18
|
+
|
|
19
|
+
export type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms'
|
|
20
|
+
|
|
21
|
+
export type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'date'
|
|
22
|
+
|
|
23
|
+
export type UnitTypeLongPlural = 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'months' | 'years' | 'dates'
|
|
24
|
+
|
|
25
|
+
export type UnitType = UnitTypeLong | UnitTypeLongPlural | UnitTypeShort;
|
|
26
|
+
|
|
27
|
+
export type OpUnitType = UnitType | "week" | "weeks" | 'w';
|
|
28
|
+
export type QUnitType = UnitType | "quarter" | "quarters" | 'Q';
|
|
29
|
+
export type ManipulateType = Exclude<OpUnitType, 'date' | 'dates'>;
|
|
30
|
+
class Dayjs {
|
|
31
|
+
constructor (config?: ConfigType)
|
|
32
|
+
/**
|
|
33
|
+
* All Day.js objects are immutable. Still, `dayjs#clone` can create a clone of the current object if you need one.
|
|
34
|
+
* ```
|
|
35
|
+
* dayjs().clone()// => Dayjs
|
|
36
|
+
* dayjs(dayjs('2019-01-25')) // passing a Dayjs object to a constructor will also clone it
|
|
37
|
+
* ```
|
|
38
|
+
* Docs: https://day.js.org/docs/en/parse/dayjs-clone
|
|
39
|
+
*/
|
|
40
|
+
clone(): Dayjs
|
|
41
|
+
/**
|
|
42
|
+
* This returns a `boolean` indicating whether the Day.js object contains a valid date or not.
|
|
43
|
+
* ```
|
|
44
|
+
* dayjs().isValid()// => boolean
|
|
45
|
+
* ```
|
|
46
|
+
* Docs: https://day.js.org/docs/en/parse/is-valid
|
|
47
|
+
*/
|
|
48
|
+
isValid(): boolean
|
|
49
|
+
/**
|
|
50
|
+
* Get the year.
|
|
51
|
+
* ```
|
|
52
|
+
* dayjs().year()// => 2020
|
|
53
|
+
* ```
|
|
54
|
+
* Docs: https://day.js.org/docs/en/get-set/year
|
|
55
|
+
*/
|
|
56
|
+
year(): number
|
|
57
|
+
/**
|
|
58
|
+
* Set the year.
|
|
59
|
+
* ```
|
|
60
|
+
* dayjs().year(2000)// => Dayjs
|
|
61
|
+
* ```
|
|
62
|
+
* Docs: https://day.js.org/docs/en/get-set/year
|
|
63
|
+
*/
|
|
64
|
+
year(value: number): Dayjs
|
|
65
|
+
/**
|
|
66
|
+
* Get the month.
|
|
67
|
+
*
|
|
68
|
+
* Months are zero indexed, so January is month 0.
|
|
69
|
+
* ```
|
|
70
|
+
* dayjs().month()// => 0-11
|
|
71
|
+
* ```
|
|
72
|
+
* Docs: https://day.js.org/docs/en/get-set/month
|
|
73
|
+
*/
|
|
74
|
+
month(): number
|
|
75
|
+
/**
|
|
76
|
+
* Set the month.
|
|
77
|
+
*
|
|
78
|
+
* Months are zero indexed, so January is month 0.
|
|
79
|
+
*
|
|
80
|
+
* Accepts numbers from 0 to 11. If the range is exceeded, it will bubble up to the next year.
|
|
81
|
+
* ```
|
|
82
|
+
* dayjs().month(0)// => Dayjs
|
|
83
|
+
* ```
|
|
84
|
+
* Docs: https://day.js.org/docs/en/get-set/month
|
|
85
|
+
*/
|
|
86
|
+
month(value: number): Dayjs
|
|
87
|
+
/**
|
|
88
|
+
* Get the date of the month.
|
|
89
|
+
* ```
|
|
90
|
+
* dayjs().date()// => 1-31
|
|
91
|
+
* ```
|
|
92
|
+
* Docs: https://day.js.org/docs/en/get-set/date
|
|
93
|
+
*/
|
|
94
|
+
date(): number
|
|
95
|
+
/**
|
|
96
|
+
* Set the date of the month.
|
|
97
|
+
*
|
|
98
|
+
* Accepts numbers from 1 to 31. If the range is exceeded, it will bubble up to the next months.
|
|
99
|
+
* ```
|
|
100
|
+
* dayjs().date(1)// => Dayjs
|
|
101
|
+
* ```
|
|
102
|
+
* Docs: https://day.js.org/docs/en/get-set/date
|
|
103
|
+
*/
|
|
104
|
+
date(value: number): Dayjs
|
|
105
|
+
/**
|
|
106
|
+
* Get the day of the week.
|
|
107
|
+
*
|
|
108
|
+
* Returns numbers from 0 (Sunday) to 6 (Saturday).
|
|
109
|
+
* ```
|
|
110
|
+
* dayjs().day()// 0-6
|
|
111
|
+
* ```
|
|
112
|
+
* Docs: https://day.js.org/docs/en/get-set/day
|
|
113
|
+
*/
|
|
114
|
+
day(): 0 | 1 | 2 | 3 | 4 | 5 | 6
|
|
115
|
+
/**
|
|
116
|
+
* Set the day of the week.
|
|
117
|
+
*
|
|
118
|
+
* Accepts numbers from 0 (Sunday) to 6 (Saturday). If the range is exceeded, it will bubble up to next weeks.
|
|
119
|
+
* ```
|
|
120
|
+
* dayjs().day(0)// => Dayjs
|
|
121
|
+
* ```
|
|
122
|
+
* Docs: https://day.js.org/docs/en/get-set/day
|
|
123
|
+
*/
|
|
124
|
+
day(value: number): Dayjs
|
|
125
|
+
/**
|
|
126
|
+
* Get the hour.
|
|
127
|
+
* ```
|
|
128
|
+
* dayjs().hour()// => 0-23
|
|
129
|
+
* ```
|
|
130
|
+
* Docs: https://day.js.org/docs/en/get-set/hour
|
|
131
|
+
*/
|
|
132
|
+
hour(): number
|
|
133
|
+
/**
|
|
134
|
+
* Set the hour.
|
|
135
|
+
*
|
|
136
|
+
* Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the next day.
|
|
137
|
+
* ```
|
|
138
|
+
* dayjs().hour(12)// => Dayjs
|
|
139
|
+
* ```
|
|
140
|
+
* Docs: https://day.js.org/docs/en/get-set/hour
|
|
141
|
+
*/
|
|
142
|
+
hour(value: number): Dayjs
|
|
143
|
+
/**
|
|
144
|
+
* Get the minutes.
|
|
145
|
+
* ```
|
|
146
|
+
* dayjs().minute()// => 0-59
|
|
147
|
+
* ```
|
|
148
|
+
* Docs: https://day.js.org/docs/en/get-set/minute
|
|
149
|
+
*/
|
|
150
|
+
minute(): number
|
|
151
|
+
/**
|
|
152
|
+
* Set the minutes.
|
|
153
|
+
*
|
|
154
|
+
* Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next hour.
|
|
155
|
+
* ```
|
|
156
|
+
* dayjs().minute(59)// => Dayjs
|
|
157
|
+
* ```
|
|
158
|
+
* Docs: https://day.js.org/docs/en/get-set/minute
|
|
159
|
+
*/
|
|
160
|
+
minute(value: number): Dayjs
|
|
161
|
+
/**
|
|
162
|
+
* Get the seconds.
|
|
163
|
+
* ```
|
|
164
|
+
* dayjs().second()// => 0-59
|
|
165
|
+
* ```
|
|
166
|
+
* Docs: https://day.js.org/docs/en/get-set/second
|
|
167
|
+
*/
|
|
168
|
+
second(): number
|
|
169
|
+
/**
|
|
170
|
+
* Set the seconds.
|
|
171
|
+
*
|
|
172
|
+
* Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next minutes.
|
|
173
|
+
* ```
|
|
174
|
+
* dayjs().second(1)// Dayjs
|
|
175
|
+
* ```
|
|
176
|
+
*/
|
|
177
|
+
second(value: number): Dayjs
|
|
178
|
+
/**
|
|
179
|
+
* Get the milliseconds.
|
|
180
|
+
* ```
|
|
181
|
+
* dayjs().millisecond()// => 0-999
|
|
182
|
+
* ```
|
|
183
|
+
* Docs: https://day.js.org/docs/en/get-set/millisecond
|
|
184
|
+
*/
|
|
185
|
+
millisecond(): number
|
|
186
|
+
/**
|
|
187
|
+
* Set the milliseconds.
|
|
188
|
+
*
|
|
189
|
+
* Accepts numbers from 0 to 999. If the range is exceeded, it will bubble up to the next seconds.
|
|
190
|
+
* ```
|
|
191
|
+
* dayjs().millisecond(1)// => Dayjs
|
|
192
|
+
* ```
|
|
193
|
+
* Docs: https://day.js.org/docs/en/get-set/millisecond
|
|
194
|
+
*/
|
|
195
|
+
millisecond(value: number): Dayjs
|
|
196
|
+
/**
|
|
197
|
+
* Generic setter, accepting unit as first argument, and value as second, returns a new instance with the applied changes.
|
|
198
|
+
*
|
|
199
|
+
* In general:
|
|
200
|
+
* ```
|
|
201
|
+
* dayjs().set(unit, value) === dayjs()[unit](value)
|
|
202
|
+
* ```
|
|
203
|
+
* Units are case insensitive, and support plural and short forms.
|
|
204
|
+
* ```
|
|
205
|
+
* dayjs().set('date', 1)
|
|
206
|
+
* dayjs().set('month', 3) // April
|
|
207
|
+
* dayjs().set('second', 30)
|
|
208
|
+
* ```
|
|
209
|
+
* Docs: https://day.js.org/docs/en/get-set/set
|
|
210
|
+
*/
|
|
211
|
+
set(unit: UnitType, value: number): Dayjs
|
|
212
|
+
/**
|
|
213
|
+
* String getter, returns the corresponding information getting from Day.js object.
|
|
214
|
+
*
|
|
215
|
+
* In general:
|
|
216
|
+
* ```
|
|
217
|
+
* dayjs().get(unit) === dayjs()[unit]()
|
|
218
|
+
* ```
|
|
219
|
+
* Units are case insensitive, and support plural and short forms.
|
|
220
|
+
* ```
|
|
221
|
+
* dayjs().get('year')
|
|
222
|
+
* dayjs().get('month') // start 0
|
|
223
|
+
* dayjs().get('date')
|
|
224
|
+
* ```
|
|
225
|
+
* Docs: https://day.js.org/docs/en/get-set/get
|
|
226
|
+
*/
|
|
227
|
+
get(unit: UnitType): number
|
|
228
|
+
/**
|
|
229
|
+
* Returns a cloned Day.js object with a specified amount of time added.
|
|
230
|
+
* ```
|
|
231
|
+
* dayjs().add(7, 'day')// => Dayjs
|
|
232
|
+
* ```
|
|
233
|
+
* Units are case insensitive, and support plural and short forms.
|
|
234
|
+
*
|
|
235
|
+
* Docs: https://day.js.org/docs/en/manipulate/add
|
|
236
|
+
*/
|
|
237
|
+
add(value: number, unit?: ManipulateType): Dayjs
|
|
238
|
+
/**
|
|
239
|
+
* Returns a cloned Day.js object with a specified amount of time subtracted.
|
|
240
|
+
* ```
|
|
241
|
+
* dayjs().subtract(7, 'year')// => Dayjs
|
|
242
|
+
* ```
|
|
243
|
+
* Units are case insensitive, and support plural and short forms.
|
|
244
|
+
*
|
|
245
|
+
* Docs: https://day.js.org/docs/en/manipulate/subtract
|
|
246
|
+
*/
|
|
247
|
+
subtract(value: number, unit?: ManipulateType): Dayjs
|
|
248
|
+
/**
|
|
249
|
+
* Returns a cloned Day.js object and set it to the start of a unit of time.
|
|
250
|
+
* ```
|
|
251
|
+
* dayjs().startOf('year')// => Dayjs
|
|
252
|
+
* ```
|
|
253
|
+
* Units are case insensitive, and support plural and short forms.
|
|
254
|
+
*
|
|
255
|
+
* Docs: https://day.js.org/docs/en/manipulate/start-of
|
|
256
|
+
*/
|
|
257
|
+
startOf(unit: OpUnitType): Dayjs
|
|
258
|
+
/**
|
|
259
|
+
* Returns a cloned Day.js object and set it to the end of a unit of time.
|
|
260
|
+
* ```
|
|
261
|
+
* dayjs().endOf('month')// => Dayjs
|
|
262
|
+
* ```
|
|
263
|
+
* Units are case insensitive, and support plural and short forms.
|
|
264
|
+
*
|
|
265
|
+
* Docs: https://day.js.org/docs/en/manipulate/end-of
|
|
266
|
+
*/
|
|
267
|
+
endOf(unit: OpUnitType): Dayjs
|
|
268
|
+
/**
|
|
269
|
+
* Get the formatted date according to the string of tokens passed in.
|
|
270
|
+
*
|
|
271
|
+
* To escape characters, wrap them in square brackets (e.g. [MM]).
|
|
272
|
+
* ```
|
|
273
|
+
* dayjs().format()// => current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00'
|
|
274
|
+
* dayjs('2019-01-25').format('[YYYYescape] YYYY-MM-DDTHH:mm:ssZ[Z]')// 'YYYYescape 2019-01-25T00:00:00-02:00Z'
|
|
275
|
+
* dayjs('2019-01-25').format('DD/MM/YYYY') // '25/01/2019'
|
|
276
|
+
* ```
|
|
277
|
+
* Docs: https://day.js.org/docs/en/display/format
|
|
278
|
+
*/
|
|
279
|
+
format(template?: string): string
|
|
280
|
+
/**
|
|
281
|
+
* This indicates the difference between two date-time in the specified unit.
|
|
282
|
+
*
|
|
283
|
+
* To get the difference in milliseconds, use `dayjs#diff`
|
|
284
|
+
* ```
|
|
285
|
+
* const date1 = dayjs('2019-01-25')
|
|
286
|
+
* const date2 = dayjs('2018-06-05')
|
|
287
|
+
* date1.diff(date2) // 20214000000 default milliseconds
|
|
288
|
+
* date1.diff() // milliseconds to current time
|
|
289
|
+
* ```
|
|
290
|
+
*
|
|
291
|
+
* To get the difference in another unit of measurement, pass that measurement as the second argument.
|
|
292
|
+
* ```
|
|
293
|
+
* const date1 = dayjs('2019-01-25')
|
|
294
|
+
* date1.diff('2018-06-05', 'month') // 7
|
|
295
|
+
* ```
|
|
296
|
+
* Units are case insensitive, and support plural and short forms.
|
|
297
|
+
*
|
|
298
|
+
* Docs: https://day.js.org/docs/en/display/difference
|
|
299
|
+
*/
|
|
300
|
+
diff(date?: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number
|
|
301
|
+
/**
|
|
302
|
+
* This returns the number of **milliseconds** since the Unix Epoch of the Day.js object.
|
|
303
|
+
* ```
|
|
304
|
+
* dayjs('2019-01-25').valueOf() // 1548381600000
|
|
305
|
+
* +dayjs(1548381600000) // 1548381600000
|
|
306
|
+
* ```
|
|
307
|
+
* To get a Unix timestamp (the number of seconds since the epoch) from a Day.js object, you should use Unix Timestamp `dayjs#unix()`.
|
|
308
|
+
*
|
|
309
|
+
* Docs: https://day.js.org/docs/en/display/unix-timestamp-milliseconds
|
|
310
|
+
*/
|
|
311
|
+
valueOf(): number
|
|
312
|
+
/**
|
|
313
|
+
* This returns the Unix timestamp (the number of **seconds** since the Unix Epoch) of the Day.js object.
|
|
314
|
+
* ```
|
|
315
|
+
* dayjs('2019-01-25').unix() // 1548381600
|
|
316
|
+
* ```
|
|
317
|
+
* This value is floored to the nearest second, and does not include a milliseconds component.
|
|
318
|
+
*
|
|
319
|
+
* Docs: https://day.js.org/docs/en/display/unix-timestamp
|
|
320
|
+
*/
|
|
321
|
+
unix(): number
|
|
322
|
+
/**
|
|
323
|
+
* Get the number of days in the current month.
|
|
324
|
+
* ```
|
|
325
|
+
* dayjs('2019-01-25').daysInMonth() // 31
|
|
326
|
+
* ```
|
|
327
|
+
* Docs: https://day.js.org/docs/en/display/days-in-month
|
|
328
|
+
*/
|
|
329
|
+
daysInMonth(): number
|
|
330
|
+
/**
|
|
331
|
+
* To get a copy of the native `Date` object parsed from the Day.js object use `dayjs#toDate`.
|
|
332
|
+
* ```
|
|
333
|
+
* dayjs('2019-01-25').toDate()// => Date
|
|
334
|
+
* ```
|
|
335
|
+
*/
|
|
336
|
+
toDate(): Date
|
|
337
|
+
/**
|
|
338
|
+
* To serialize as an ISO 8601 string.
|
|
339
|
+
* ```
|
|
340
|
+
* dayjs('2019-01-25').toJSON() // '2019-01-25T02:00:00.000Z'
|
|
341
|
+
* ```
|
|
342
|
+
* Docs: https://day.js.org/docs/en/display/as-json
|
|
343
|
+
*/
|
|
344
|
+
toJSON(): string
|
|
345
|
+
/**
|
|
346
|
+
* To format as an ISO 8601 string.
|
|
347
|
+
* ```
|
|
348
|
+
* dayjs('2019-01-25').toISOString() // '2019-01-25T02:00:00.000Z'
|
|
349
|
+
* ```
|
|
350
|
+
* Docs: https://day.js.org/docs/en/display/as-iso-string
|
|
351
|
+
*/
|
|
352
|
+
toISOString(): string
|
|
353
|
+
/**
|
|
354
|
+
* Returns a string representation of the date.
|
|
355
|
+
* ```
|
|
356
|
+
* dayjs('2019-01-25').toString() // 'Fri, 25 Jan 2019 02:00:00 GMT'
|
|
357
|
+
* ```
|
|
358
|
+
* Docs: https://day.js.org/docs/en/display/as-string
|
|
359
|
+
*/
|
|
360
|
+
toString(): string
|
|
361
|
+
/**
|
|
362
|
+
* Get the UTC offset in minutes.
|
|
363
|
+
* ```
|
|
364
|
+
* dayjs().utcOffset()
|
|
365
|
+
* ```
|
|
366
|
+
* Docs: https://day.js.org/docs/en/manipulate/utc-offset
|
|
367
|
+
*/
|
|
368
|
+
utcOffset(): number
|
|
369
|
+
/**
|
|
370
|
+
* This indicates whether the Day.js object is before the other supplied date-time.
|
|
371
|
+
* ```
|
|
372
|
+
* dayjs().isBefore(dayjs('2011-01-01')) // default milliseconds
|
|
373
|
+
* ```
|
|
374
|
+
* If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter.
|
|
375
|
+
* ```
|
|
376
|
+
* dayjs().isBefore('2011-01-01', 'year')// => boolean
|
|
377
|
+
* ```
|
|
378
|
+
* Units are case insensitive, and support plural and short forms.
|
|
379
|
+
*
|
|
380
|
+
* Docs: https://day.js.org/docs/en/query/is-before
|
|
381
|
+
*/
|
|
382
|
+
isBefore(date?: ConfigType, unit?: OpUnitType): boolean
|
|
383
|
+
/**
|
|
384
|
+
* This indicates whether the Day.js object is the same as the other supplied date-time.
|
|
385
|
+
* ```
|
|
386
|
+
* dayjs().isSame(dayjs('2011-01-01')) // default milliseconds
|
|
387
|
+
* ```
|
|
388
|
+
* If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter.
|
|
389
|
+
* ```
|
|
390
|
+
* dayjs().isSame('2011-01-01', 'year')// => boolean
|
|
391
|
+
* ```
|
|
392
|
+
* Docs: https://day.js.org/docs/en/query/is-same
|
|
393
|
+
*/
|
|
394
|
+
isSame(date?: ConfigType, unit?: OpUnitType): boolean
|
|
395
|
+
/**
|
|
396
|
+
* This indicates whether the Day.js object is after the other supplied date-time.
|
|
397
|
+
* ```
|
|
398
|
+
* dayjs().isAfter(dayjs('2011-01-01')) // default milliseconds
|
|
399
|
+
* ```
|
|
400
|
+
* If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter.
|
|
401
|
+
* ```
|
|
402
|
+
* dayjs().isAfter('2011-01-01', 'year')// => boolean
|
|
403
|
+
* ```
|
|
404
|
+
* Units are case insensitive, and support plural and short forms.
|
|
405
|
+
*
|
|
406
|
+
* Docs: https://day.js.org/docs/en/query/is-after
|
|
407
|
+
*/
|
|
408
|
+
isAfter(date?: ConfigType, unit?: OpUnitType): boolean
|
|
409
|
+
|
|
410
|
+
locale(): string
|
|
411
|
+
|
|
412
|
+
locale(preset: string | ILocale, object?: Partial<ILocale>): Dayjs
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type PluginFunc<T = unknown> = (option: T, c: typeof Dayjs, d: typeof dayjs) => void
|
|
416
|
+
|
|
417
|
+
export function extend<T = unknown>(plugin: PluginFunc<T>, option?: T): Dayjs
|
|
418
|
+
|
|
419
|
+
export function locale(preset?: string | ILocale, object?: Partial<ILocale>, isLocal?: boolean): string
|
|
420
|
+
|
|
421
|
+
export function isDayjs(d: any): d is Dayjs
|
|
422
|
+
|
|
423
|
+
export function unix(t: number): Dayjs
|
|
424
|
+
|
|
425
|
+
const Ls : { [key: string] : ILocale }
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export { dayjs as default };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ({
|
|
3
|
+
|
|
4
|
+
/***/ 556:
|
|
5
|
+
/***/ (function(module) {
|
|
6
|
+
|
|
7
|
+
!function(t,e){ true?module.exports=e():0}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
|
|
8
|
+
|
|
9
|
+
/***/ })
|
|
10
|
+
|
|
11
|
+
/******/ });
|
|
12
|
+
/************************************************************************/
|
|
13
|
+
/******/ // The module cache
|
|
14
|
+
/******/ var __webpack_module_cache__ = {};
|
|
15
|
+
/******/
|
|
16
|
+
/******/ // The require function
|
|
17
|
+
/******/ function __nccwpck_require__(moduleId) {
|
|
18
|
+
/******/ // Check if module is in cache
|
|
19
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
20
|
+
/******/ if (cachedModule !== undefined) {
|
|
21
|
+
/******/ return cachedModule.exports;
|
|
22
|
+
/******/ }
|
|
23
|
+
/******/ // Create a new module (and put it into the cache)
|
|
24
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
25
|
+
/******/ // no module.id needed
|
|
26
|
+
/******/ // no module.loaded needed
|
|
27
|
+
/******/ exports: {}
|
|
28
|
+
/******/ };
|
|
29
|
+
/******/
|
|
30
|
+
/******/ // Execute the module function
|
|
31
|
+
/******/ var threw = true;
|
|
32
|
+
/******/ try {
|
|
33
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__);
|
|
34
|
+
/******/ threw = false;
|
|
35
|
+
/******/ } finally {
|
|
36
|
+
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/
|
|
39
|
+
/******/ // Return the exports of the module
|
|
40
|
+
/******/ return module.exports;
|
|
41
|
+
/******/ }
|
|
42
|
+
/******/
|
|
43
|
+
/************************************************************************/
|
|
44
|
+
/******/ /* webpack/runtime/compat */
|
|
45
|
+
/******/
|
|
46
|
+
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
|
|
47
|
+
/******/
|
|
48
|
+
/************************************************************************/
|
|
49
|
+
/******/
|
|
50
|
+
/******/ // startup
|
|
51
|
+
/******/ // Load entry module and return exports
|
|
52
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
53
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(556);
|
|
54
|
+
/******/ module.exports = __webpack_exports__;
|
|
55
|
+
/******/
|
|
56
|
+
/******/ })()
|
|
57
|
+
;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018-present, iamkun
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"dayjs","author":"iamkun","version":"1.11.13","license":"MIT","types":"index.d.ts","type":"commonjs"}
|