@dcupl/common 0.0.76 → 0.0.78

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.
@@ -39,7 +39,9 @@ export type NumberConstraintOperators = {
39
39
  eq?: number | number[] | null;
40
40
  ne?: number | number[];
41
41
  };
42
+ export type DateConstraintAccuracy = 'exact' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year';
42
43
  export type DateConstraintOperators = {
44
+ accuracy?: DateConstraintAccuracy;
43
45
  gt?: Date;
44
46
  lt?: Date;
45
47
  gte?: Date;
@@ -72,10 +72,14 @@ export type PropertyJson = PropertyBase & {
72
72
  export type PropertyAny = PropertyBase & {
73
73
  type: 'any' | 'Array<any>';
74
74
  };
75
- export type PropertyDateInputFormat = 'date' | 'ts_seconds' | 'ts_milliseconds' | 'string';
75
+ /**
76
+ * Example: 'yyyy-MM-dd' | 'dd.MM.yyyy' | ...
77
+ */
78
+ export type PropertyDateInputFormat = string;
76
79
  export type PropertyDate = PropertyBase & {
77
80
  type: 'date' | 'Array<date>';
78
81
  inputFormat?: PropertyDateInputFormat;
82
+ UTC?: boolean;
79
83
  filter?: boolean;
80
84
  };
81
85
  export type PropertyString = PropertyBase & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcupl/common",
3
- "version": "0.0.76",
3
+ "version": "0.0.78",
4
4
  "description": "Dcupl Common Code",
5
5
  "main": "dist/lib-cjs/index.js",
6
6
  "module": "dist/lib-esm/index.js",