@robbeverhelst/do 1.355.0 → 1.357.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 +25 -8
- 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.357.0";
|
|
14424
14424
|
var API_PREFIX = "/api/v1";
|
|
14425
14425
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
14426
14426
|
|
|
@@ -18050,6 +18050,7 @@ var habitEntries = pgTable("habit_entries", {
|
|
|
18050
18050
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
18051
18051
|
externalId: text("external_id"),
|
|
18052
18052
|
agentId: text("agent_id"),
|
|
18053
|
+
userId: text("user_id"),
|
|
18053
18054
|
note: text("note"),
|
|
18054
18055
|
matchedName: text("matched_name")
|
|
18055
18056
|
}, (t) => [
|
|
@@ -20522,7 +20523,8 @@ var nodeRefSchema = object({ id: ulidSchema, title: string2() });
|
|
|
20522
20523
|
var animalHabitSchema = nodeRefSchema.extend({
|
|
20523
20524
|
doneToday: boolean2(),
|
|
20524
20525
|
timeOfDay: string2().nullable().optional(),
|
|
20525
|
-
routine: string2().nullable().optional()
|
|
20526
|
+
routine: string2().nullable().optional(),
|
|
20527
|
+
animalIds: array(ulidSchema).default([])
|
|
20526
20528
|
});
|
|
20527
20529
|
var animalSupplySchema = nodeRefSchema.extend({
|
|
20528
20530
|
quantity: number2(),
|
|
@@ -20532,7 +20534,8 @@ var animalSupplySchema = nodeRefSchema.extend({
|
|
|
20532
20534
|
perHead: boolean2(),
|
|
20533
20535
|
daysLeft: number2().int().nullable(),
|
|
20534
20536
|
full: number2().nullable(),
|
|
20535
|
-
onList: string2().nullable()
|
|
20537
|
+
onList: string2().nullable(),
|
|
20538
|
+
animalIds: array(ulidSchema).optional()
|
|
20536
20539
|
});
|
|
20537
20540
|
var animalDayCountSchema = object({ day: string2(), count: number2().int() });
|
|
20538
20541
|
var animalWeightPointSchema = object({
|
|
@@ -20856,6 +20859,7 @@ var animalHandoverSchema = object({
|
|
|
20856
20859
|
contacts: array(animalHandoverContactSchema),
|
|
20857
20860
|
supplies: array(animalHandoverSupplySchema),
|
|
20858
20861
|
habits: array(animalHandoverHabitSchema),
|
|
20862
|
+
where: array(animalHandoverWhereSchema).default([]),
|
|
20859
20863
|
sensors: boolean2(),
|
|
20860
20864
|
generatedAt: exports_coerce.date()
|
|
20861
20865
|
});
|
|
@@ -20867,7 +20871,7 @@ var animalHandoverShareSchema = object({
|
|
|
20867
20871
|
until: string2()
|
|
20868
20872
|
});
|
|
20869
20873
|
var animalSitterItemSchema = object({
|
|
20870
|
-
habitId: ulidSchema,
|
|
20874
|
+
habitId: ulidSchema.nullable(),
|
|
20871
20875
|
title: string2(),
|
|
20872
20876
|
timeOfDay: string2().nullable(),
|
|
20873
20877
|
how: string2().nullable(),
|
|
@@ -21436,6 +21440,7 @@ var habitEntrySchema = createSelectSchema(habitEntries, {
|
|
|
21436
21440
|
occurredAt: exports_coerce.date(),
|
|
21437
21441
|
createdAt: exports_coerce.date(),
|
|
21438
21442
|
externalId: string2().nullish(),
|
|
21443
|
+
userId: string2().nullish(),
|
|
21439
21444
|
kind: habitEntryKindSchema.default("check_in"),
|
|
21440
21445
|
agentId: string2().nullish(),
|
|
21441
21446
|
note: string2().nullish(),
|
|
@@ -21537,7 +21542,14 @@ var createHabitEntryInputSchema = createInsertSchema(habitEntries, {
|
|
|
21537
21542
|
source: habitEntrySourceSchema.default("manual"),
|
|
21538
21543
|
occurredAt: exports_coerce.date().optional(),
|
|
21539
21544
|
note: habitEntryNoteSchema.nullish()
|
|
21540
|
-
}).omit({
|
|
21545
|
+
}).omit({
|
|
21546
|
+
tenantId: true,
|
|
21547
|
+
habitId: true,
|
|
21548
|
+
createdAt: true,
|
|
21549
|
+
agentId: true,
|
|
21550
|
+
userId: true,
|
|
21551
|
+
kind: true
|
|
21552
|
+
});
|
|
21541
21553
|
var updateHabitEntryInputSchema = object({ note: habitEntryNoteSchema.nullable() }).strict();
|
|
21542
21554
|
var habitStreakStateSchema = _enum2(["active", "recovering", "broken"]);
|
|
21543
21555
|
var habitStreakSchema = object({
|
|
@@ -21564,6 +21576,7 @@ var habitLastCheckInSchema = object({
|
|
|
21564
21576
|
value: number2(),
|
|
21565
21577
|
source: habitEntrySourceSchema,
|
|
21566
21578
|
by: string2().nullish(),
|
|
21579
|
+
byMember: boolean2().optional(),
|
|
21567
21580
|
id: string2().optional(),
|
|
21568
21581
|
note: string2().nullish()
|
|
21569
21582
|
});
|
|
@@ -22890,7 +22903,8 @@ var routineTodayStepSchema = object({
|
|
|
22890
22903
|
habitId: string2().nullable().default(null),
|
|
22891
22904
|
routineId: string2().nullable().default(null),
|
|
22892
22905
|
habitToday: _enum2(["due", "not_due", "paused"]).nullable().default(null),
|
|
22893
|
-
amount: object({ value: number2(), target: number2().nullable(), unit: string2().nullable() }).nullable().default(null)
|
|
22906
|
+
amount: object({ value: number2(), target: number2().nullable(), unit: string2().nullable() }).nullable().default(null),
|
|
22907
|
+
ref: string2().nullish()
|
|
22894
22908
|
});
|
|
22895
22909
|
var routineTodayStateSchema = _enum2(["done", "running", "upcoming", "resting"]);
|
|
22896
22910
|
var routineTodaySchema = object({
|
|
@@ -24808,6 +24822,7 @@ var challengePartViewSchema = object({
|
|
|
24808
24822
|
due: number2().int().nonnegative(),
|
|
24809
24823
|
status: challengePartStatusSchema,
|
|
24810
24824
|
note: string2().nullable(),
|
|
24825
|
+
nextOn: exports_iso.date().nullish(),
|
|
24811
24826
|
resumeOnStart: boolean2().optional()
|
|
24812
24827
|
});
|
|
24813
24828
|
var challengeDayStatusSchema = _enum2(["met", "missed", "open", "later"]);
|
|
@@ -31790,7 +31805,8 @@ var houseValueSchema = object({
|
|
|
31790
31805
|
documentId: string2(),
|
|
31791
31806
|
title: string2(),
|
|
31792
31807
|
insuredValue: number2(),
|
|
31793
|
-
lastClaim: object({ kind: string2(), on: day }).nullable().default(null)
|
|
31808
|
+
lastClaim: object({ kind: string2(), on: day }).nullable().default(null),
|
|
31809
|
+
renewsOn: day.nullable().default(null)
|
|
31794
31810
|
}).nullable()
|
|
31795
31811
|
});
|
|
31796
31812
|
var upkeepMonthMarkSchema = _enum2(["done", "due", "planned", "late"]).nullable();
|
|
@@ -37707,7 +37723,8 @@ var reviewProjectSchema = object({
|
|
|
37707
37723
|
title: string2(),
|
|
37708
37724
|
done: countSchema2,
|
|
37709
37725
|
total: countSchema2,
|
|
37710
|
-
targetDate: progressDateSchema.nullable()
|
|
37726
|
+
targetDate: progressDateSchema.nullable(),
|
|
37727
|
+
areaColor: areaColorSchema.nullable().default(null)
|
|
37711
37728
|
});
|
|
37712
37729
|
var reviewSummarySchema = object({
|
|
37713
37730
|
span: reviewSpanSchema,
|
package/package.json
CHANGED