@robbeverhelst/do 1.404.0 → 1.406.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/do.js +10 -1
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -14420,7 +14420,7 @@ var configError = (message) => new CliError("config", message, EXIT.CONFIG);
|
|
|
14420
14420
|
|
|
14421
14421
|
// src/meta.ts
|
|
14422
14422
|
var CLI_NAME = "do";
|
|
14423
|
-
var VERSION = "1.
|
|
14423
|
+
var VERSION = "1.406.0";
|
|
14424
14424
|
var API_PREFIX = "/api/v1";
|
|
14425
14425
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
14426
14426
|
|
|
@@ -22694,6 +22694,14 @@ var habitTodaySchema = object({
|
|
|
22694
22694
|
resting: boolean2().optional(),
|
|
22695
22695
|
week: object({ done: number2().int().nonnegative(), target: number2().int().positive() }).optional()
|
|
22696
22696
|
});
|
|
22697
|
+
var HABIT_TODAY_ANSWER_KINDS = ["done", "progress", "not_needed", "skip"];
|
|
22698
|
+
var habitTodayAnswerKindSchema = _enum2(HABIT_TODAY_ANSWER_KINDS);
|
|
22699
|
+
var habitTodayAnswerSchema = object({
|
|
22700
|
+
kind: habitTodayAnswerKindSchema,
|
|
22701
|
+
reason: habitReasonSchema.nullable(),
|
|
22702
|
+
entryIds: array(string2()),
|
|
22703
|
+
tickedItemIds: array(string2())
|
|
22704
|
+
});
|
|
22697
22705
|
var habitSummarySchema = habitSchema.extend({
|
|
22698
22706
|
title: string2(),
|
|
22699
22707
|
createdAt: exports_coerce.date(),
|
|
@@ -22704,6 +22712,7 @@ var habitSummarySchema = habitSchema.extend({
|
|
|
22704
22712
|
pause: habitPauseSchema.nullable().default(null),
|
|
22705
22713
|
paused: boolean2().default(false),
|
|
22706
22714
|
today: habitTodaySchema.default({ due: true, done: false }),
|
|
22715
|
+
todayAnswer: habitTodayAnswerSchema.nullable().default(null),
|
|
22707
22716
|
schedule: habitScheduleSchema.default({ kind: "daily" }),
|
|
22708
22717
|
nextDue: array(exports_iso.date()).default([])
|
|
22709
22718
|
});
|
package/package.json
CHANGED