@runlot/api 0.1.0-rc.102 → 0.1.0-rc.103

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/schema.d.ts CHANGED
@@ -5077,6 +5077,13 @@ export interface components {
5077
5077
  * @example *\/2 * * * *
5078
5078
  */
5079
5079
  cron: string;
5080
+ /**
5081
+ * @description The name the live deployment gives this expression in `triggers.names`. Absent
5082
+ * when it has none. It is the current name, so renaming a schedule relabels its
5083
+ * past runs too.
5084
+ * @example nightly recompute
5085
+ */
5086
+ name?: string;
5080
5087
  /**
5081
5088
  * Format: date-time
5082
5089
  * @description The time the expression named, and the value your handler receives as
@@ -5116,6 +5123,11 @@ export interface components {
5116
5123
  CronSchedule: {
5117
5124
  /** @example 30 18 * * * */
5118
5125
  cron: string;
5126
+ /**
5127
+ * @description The name from `triggers.names`, when the live deployment gives one.
5128
+ * @example nightly recompute
5129
+ */
5130
+ name?: string;
5119
5131
  /**
5120
5132
  * Format: date-time
5121
5133
  * @description When this schedule fires next. Absent when the expression can never fire again;
@@ -5856,6 +5868,17 @@ export interface components {
5856
5868
  * ]
5857
5869
  */
5858
5870
  crons?: string[];
5871
+ /**
5872
+ * @description A name for each schedule, keyed by its expression, shown in the dashboard and in
5873
+ * `runlot cron`. Optional and per expression. Every key must be one of `crons`;
5874
+ * a name is one line of at most 80 bytes.
5875
+ * @example {
5876
+ * "30 18 * * *": "nightly recompute"
5877
+ * }
5878
+ */
5879
+ names?: {
5880
+ [key: string]: string;
5881
+ };
5859
5882
  };
5860
5883
  /**
5861
5884
  * @description Queues. Two lists. A project may produce into a queue it does not consume, and