@beabee/beabee-common 1.9.0 → 1.9.2

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.
@@ -15,6 +15,9 @@ exports.contactFilters = {
15
15
  joined: {
16
16
  type: "date",
17
17
  },
18
+ lastSeen: {
19
+ type: "date",
20
+ },
18
21
  contributionCancelled: {
19
22
  type: "date",
20
23
  },
@@ -12,6 +12,9 @@ export const contactFilters = {
12
12
  joined: {
13
13
  type: "date",
14
14
  },
15
+ lastSeen: {
16
+ type: "date",
17
+ },
15
18
  contributionCancelled: {
16
19
  type: "date",
17
20
  },
@@ -12,6 +12,9 @@ export declare const contactFilters: {
12
12
  readonly joined: {
13
13
  readonly type: "date";
14
14
  };
15
+ readonly lastSeen: {
16
+ readonly type: "date";
17
+ };
15
18
  readonly contributionCancelled: {
16
19
  readonly type: "date";
17
20
  };
@@ -1,6 +1,7 @@
1
1
  declare const dateUnits: readonly ["s", "m", "h", "d", "M", "y"];
2
2
  declare type DateUnit = typeof dateUnits[number];
3
3
  export declare function parseDate(value: string, now?: Date): [Date, DateUnit];
4
+ export declare function getMinDateUnit(units: [DateUnit, ...DateUnit[]]): DateUnit;
4
5
  export declare function getMinDateUnit(units: DateUnit[]): DateUnit | undefined;
5
6
  export declare function isValidDate(s: string): boolean;
6
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beabee/beabee-common",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",