@frogbotai/piece-date-helper 0.42.0 → 0.43.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.
@@ -5,12 +5,12 @@ export declare const dateDifference: import("frogbot/pieces").PieceActionDefinit
5
5
  endDate: z.ZodString;
6
6
  endDateFormat: z.ZodDefault<z.ZodString>;
7
7
  unitDifference: z.ZodDefault<z.ZodArray<z.ZodEnum<{
8
- second: "second";
9
- minute: "minute";
10
- hour: "hour";
11
- day: "day";
12
- month: "month";
13
8
  year: "year";
9
+ month: "month";
10
+ day: "day";
11
+ hour: "hour";
12
+ minute: "minute";
13
+ second: "second";
14
14
  }>>>;
15
15
  }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodNumber>, Record<string, never>, undefined, Record<string, number>> & {
16
16
  slug: "dateDifference";
@@ -3,12 +3,12 @@ export declare const extractDateParts: import("frogbot/pieces").PieceActionDefin
3
3
  inputDate: z.ZodString;
4
4
  inputFormat: z.ZodDefault<z.ZodString>;
5
5
  unitExtract: z.ZodDefault<z.ZodArray<z.ZodEnum<{
6
- second: "second";
7
- minute: "minute";
8
- hour: "hour";
9
- day: "day";
10
- month: "month";
11
6
  year: "year";
7
+ month: "month";
8
+ day: "day";
9
+ hour: "hour";
10
+ minute: "minute";
11
+ second: "second";
12
12
  dayOfWeek: "dayOfWeek";
13
13
  monthName: "monthName";
14
14
  }>>>;
package/dist/index.d.ts CHANGED
@@ -32,12 +32,12 @@ export declare const createDateHelper: import("frogbot/pieces").PieceFactory<{
32
32
  inputDate: import("zod").ZodString;
33
33
  inputFormat: import("zod").ZodDefault<import("zod").ZodString>;
34
34
  unitExtract: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
35
- second: "second";
36
- minute: "minute";
37
- hour: "hour";
38
- day: "day";
39
- month: "month";
40
35
  year: "year";
36
+ month: "month";
37
+ day: "day";
38
+ hour: "hour";
39
+ minute: "minute";
40
+ second: "second";
41
41
  dayOfWeek: "dayOfWeek";
42
42
  monthName: "monthName";
43
43
  }>>>;
@@ -49,12 +49,12 @@ export declare const createDateHelper: import("frogbot/pieces").PieceFactory<{
49
49
  endDate: import("zod").ZodString;
50
50
  endDateFormat: import("zod").ZodDefault<import("zod").ZodString>;
51
51
  unitDifference: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<{
52
- second: "second";
53
- minute: "minute";
54
- hour: "hour";
55
- day: "day";
56
- month: "month";
57
52
  year: "year";
53
+ month: "month";
54
+ day: "day";
55
+ hour: "hour";
56
+ minute: "minute";
57
+ second: "second";
58
58
  }>>>;
59
59
  }, import("zod/v4/core").$strip>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>, Record<string, never>, undefined, Record<string, number>> & {
60
60
  slug: "dateDifference";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-date-helper",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "date-helper tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -23,11 +23,11 @@
23
23
  "zod": "^4.3.6"
24
24
  },
25
25
  "peerDependencies": {
26
- "frogbot": "0.42.0"
26
+ "frogbot": "0.43.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "6.0.3",
30
- "frogbot": "0.42.0"
30
+ "frogbot": "0.43.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"