jr-common-micro 1.1.128 → 1.1.129

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.
@@ -94,6 +94,7 @@ export interface TaskInfo {
94
94
  locked: boolean;
95
95
  reopened: boolean;
96
96
  requirement: string;
97
+ last_done_at: string;
97
98
  }
98
99
  export interface TasksSummary {
99
100
  done: number;
@@ -151,6 +151,7 @@ export declare class TaskInfo extends Message<TaskInfo> {
151
151
  locked: boolean;
152
152
  reopened: boolean;
153
153
  requirement: string;
154
+ lastDoneAt: string;
154
155
  constructor(data?: PartialMessage<TaskInfo>);
155
156
  static readonly runtime: typeof proto3;
156
157
  static readonly typeName = "micro.v1.mining.TaskInfo";
@@ -310,6 +310,7 @@ class TaskInfo extends protobuf_1.Message {
310
310
  locked = false;
311
311
  reopened = false;
312
312
  requirement = "";
313
+ lastDoneAt = "";
313
314
  constructor(data) {
314
315
  super();
315
316
  protobuf_1.proto3.util.initPartial(data, this);
@@ -331,6 +332,7 @@ class TaskInfo extends protobuf_1.Message {
331
332
  { no: 12, name: "locked", kind: "scalar", T: 8 },
332
333
  { no: 13, name: "reopened", kind: "scalar", T: 8 },
333
334
  { no: 14, name: "requirement", kind: "scalar", T: 9 },
335
+ { no: 15, name: "last_done_at", kind: "scalar", T: 9 },
334
336
  ]);
335
337
  static fromBinary(bytes, options) {
336
338
  return new TaskInfo().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.128",
3
+ "version": "1.1.129",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -159,6 +159,9 @@ message TaskInfo {
159
159
  bool reopened = 13;
160
160
  // What it takes, for the step's text: a USD amount or a KYC level; ''.
161
161
  string requirement = 14;
162
+ // Admin view only: when the task was last done (start of its latest
163
+ // window, RFC 3339), whether or not that window still runs; '' if never.
164
+ string last_done_at = 15;
162
165
  }
163
166
 
164
167
  message TasksSummary {