@jagota/interfaces 1.5.31 → 1.5.32

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.
@@ -1,4 +1,5 @@
1
1
  export type TDateRangeType = 'week' | 'month' | '3_months' | '6_months' | 'year' | null;
2
+ export declare const dateRangeChars: Record<Exclude<TDateRangeType, null>, string>;
2
3
  export interface IDateRange {
3
4
  from: Date;
4
5
  to: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"date-range.type.d.ts","sourceRoot":"","sources":["../../src/types/date-range.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;AACxF,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,EAAE,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"date-range.type.d.ts","sourceRoot":"","sources":["../../src/types/date-range.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;AACxF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAMxE,CAAC;AACF,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,EAAE,EAAE,IAAI,CAAC;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACd"}
@@ -1,2 +1,8 @@
1
- export {};
1
+ export const dateRangeChars = {
2
+ week: 'W',
3
+ month: 'M',
4
+ '3_months': '3M',
5
+ '6_months': '6M',
6
+ year: 'Y'
7
+ };
2
8
  //# sourceMappingURL=date-range.type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-range.type.js","sourceRoot":"","sources":["../../src/types/date-range.type.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"date-range.type.js","sourceRoot":"","sources":["../../src/types/date-range.type.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,cAAc,GAAkD;IACzE,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,GAAG;IACV,UAAU,EAAE,IAAI;IAChB,UAAU,EAAE,IAAI;IAChB,IAAI,EAAE,GAAG;CACZ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jagota/interfaces",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "type": "module",
5
5
  "description": "Interfaces for the Jagota Brothers project",
6
6
  "main": "dist/index.js",