@naturalcycles/js-lib 14.183.1 → 14.184.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/types.d.ts +6 -0
- package/package.json +1 -1
- package/src/types.ts +7 -0
package/dist/types.d.ts
CHANGED
|
@@ -153,6 +153,12 @@ export type IsoDateString = string;
|
|
|
153
153
|
* @example '2019-06-21T05:21:73Z'
|
|
154
154
|
*/
|
|
155
155
|
export type IsoDateTimeString = string;
|
|
156
|
+
/**
|
|
157
|
+
* Like IsoDateString, but without the Day token.
|
|
158
|
+
*
|
|
159
|
+
* @example '2023-09'
|
|
160
|
+
*/
|
|
161
|
+
export type YearMonthString = string;
|
|
156
162
|
/**
|
|
157
163
|
* Interface explicitly states that the value is a Unix timestamp (in seconds).
|
|
158
164
|
*
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -214,6 +214,13 @@ export type IsoDateString = string
|
|
|
214
214
|
*/
|
|
215
215
|
export type IsoDateTimeString = string
|
|
216
216
|
|
|
217
|
+
/**
|
|
218
|
+
* Like IsoDateString, but without the Day token.
|
|
219
|
+
*
|
|
220
|
+
* @example '2023-09'
|
|
221
|
+
*/
|
|
222
|
+
export type YearMonthString = string
|
|
223
|
+
|
|
217
224
|
/**
|
|
218
225
|
* Interface explicitly states that the value is a Unix timestamp (in seconds).
|
|
219
226
|
*
|