runlater-js 0.1.2 → 0.2.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/index.d.mts CHANGED
@@ -58,11 +58,12 @@ interface Task {
58
58
  cron_expression: string | null;
59
59
  scheduled_at: string | null;
60
60
  enabled: boolean;
61
- muted: boolean;
62
61
  timeout_ms: number;
63
62
  retry_attempts: number;
64
63
  callback_url: string | null;
65
64
  queue: string | null;
65
+ notify_on_failure: boolean | null;
66
+ notify_on_recovery: boolean | null;
66
67
  next_run_at: string | null;
67
68
  inserted_at: string;
68
69
  updated_at: string;
@@ -105,7 +106,8 @@ interface Monitor {
105
106
  grace_period_seconds: number;
106
107
  status: "new" | "up" | "down" | "paused";
107
108
  enabled: boolean;
108
- muted: boolean;
109
+ notify_on_failure: boolean | null;
110
+ notify_on_recovery: boolean | null;
109
111
  last_ping_at: string | null;
110
112
  next_expected_at: string | null;
111
113
  inserted_at: string;
@@ -124,7 +126,8 @@ interface UpdateTaskOptions {
124
126
  callback_url?: string;
125
127
  queue?: string;
126
128
  enabled?: boolean;
127
- muted?: boolean;
129
+ notify_on_failure?: boolean | null;
130
+ notify_on_recovery?: boolean | null;
128
131
  expected_status_codes?: string;
129
132
  expected_body_pattern?: string;
130
133
  }
@@ -142,7 +145,8 @@ interface UpdateMonitorOptions {
142
145
  interval_seconds?: number;
143
146
  grace_period_seconds?: number;
144
147
  enabled?: boolean;
145
- muted?: boolean;
148
+ notify_on_failure?: boolean | null;
149
+ notify_on_recovery?: boolean | null;
146
150
  }
147
151
  interface Ping {
148
152
  id: string;
package/dist/index.d.ts CHANGED
@@ -58,11 +58,12 @@ interface Task {
58
58
  cron_expression: string | null;
59
59
  scheduled_at: string | null;
60
60
  enabled: boolean;
61
- muted: boolean;
62
61
  timeout_ms: number;
63
62
  retry_attempts: number;
64
63
  callback_url: string | null;
65
64
  queue: string | null;
65
+ notify_on_failure: boolean | null;
66
+ notify_on_recovery: boolean | null;
66
67
  next_run_at: string | null;
67
68
  inserted_at: string;
68
69
  updated_at: string;
@@ -105,7 +106,8 @@ interface Monitor {
105
106
  grace_period_seconds: number;
106
107
  status: "new" | "up" | "down" | "paused";
107
108
  enabled: boolean;
108
- muted: boolean;
109
+ notify_on_failure: boolean | null;
110
+ notify_on_recovery: boolean | null;
109
111
  last_ping_at: string | null;
110
112
  next_expected_at: string | null;
111
113
  inserted_at: string;
@@ -124,7 +126,8 @@ interface UpdateTaskOptions {
124
126
  callback_url?: string;
125
127
  queue?: string;
126
128
  enabled?: boolean;
127
- muted?: boolean;
129
+ notify_on_failure?: boolean | null;
130
+ notify_on_recovery?: boolean | null;
128
131
  expected_status_codes?: string;
129
132
  expected_body_pattern?: string;
130
133
  }
@@ -142,7 +145,8 @@ interface UpdateMonitorOptions {
142
145
  interval_seconds?: number;
143
146
  grace_period_seconds?: number;
144
147
  enabled?: boolean;
145
- muted?: boolean;
148
+ notify_on_failure?: boolean | null;
149
+ notify_on_recovery?: boolean | null;
146
150
  }
147
151
  interface Ping {
148
152
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runlater-js",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Delayed tasks, cron jobs, and reliable webhooks. No infrastructure required.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",