@robbeverhelst/do 1.65.0 → 1.66.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 +3 -5
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -19768,26 +19768,24 @@ var taskAreaNameSchema = exports_external.string().trim().min(1).nullish();
|
|
|
19768
19768
|
var createTaskInputSchema = createInsertSchema(tasks, {
|
|
19769
19769
|
id: ulidSchema,
|
|
19770
19770
|
scheduledAt: exports_external.coerce.date().nullish(),
|
|
19771
|
-
startAt: exports_external.coerce.date().nullish(),
|
|
19772
19771
|
dueAt: exports_external.coerce.date().nullish(),
|
|
19773
19772
|
durationMinutes: exports_external.number().int().positive().nullish(),
|
|
19774
19773
|
tags: exports_external.array(exports_external.string()).optional(),
|
|
19775
19774
|
projectId: taskProjectIdSchema,
|
|
19776
19775
|
areaId: taskAreaIdSchema
|
|
19777
|
-
}).omit({ tenantId: true, recurrenceRuleId: true }).extend({
|
|
19776
|
+
}).omit({ tenantId: true, recurrenceRuleId: true, startAt: true }).extend({
|
|
19778
19777
|
title: exports_external.string().min(1),
|
|
19779
19778
|
parentId: ulidSchema.nullish(),
|
|
19780
19779
|
areaName: taskAreaNameSchema
|
|
19781
19780
|
});
|
|
19782
19781
|
var updateTaskInputSchema = createUpdateSchema(tasks, {
|
|
19783
19782
|
scheduledAt: exports_external.coerce.date().nullish(),
|
|
19784
|
-
startAt: exports_external.coerce.date().nullish(),
|
|
19785
19783
|
dueAt: exports_external.coerce.date().nullish(),
|
|
19786
19784
|
durationMinutes: exports_external.number().int().positive().nullish(),
|
|
19787
19785
|
tags: exports_external.array(exports_external.string()).optional(),
|
|
19788
19786
|
projectId: taskProjectIdSchema,
|
|
19789
19787
|
areaId: taskAreaIdSchema
|
|
19790
|
-
}).omit({ id: true, tenantId: true, recurrenceRuleId: true }).extend({
|
|
19788
|
+
}).omit({ id: true, tenantId: true, recurrenceRuleId: true, startAt: true }).extend({
|
|
19791
19789
|
title: exports_external.string().min(1).optional(),
|
|
19792
19790
|
parentId: ulidSchema.nullish()
|
|
19793
19791
|
}).strict();
|
|
@@ -24226,7 +24224,7 @@ function parseCapture2(input, now) {
|
|
|
24226
24224
|
|
|
24227
24225
|
// src/meta.ts
|
|
24228
24226
|
var CLI_NAME = "do";
|
|
24229
|
-
var VERSION = "1.
|
|
24227
|
+
var VERSION = "1.66.0";
|
|
24230
24228
|
var API_PREFIX = "/api/v1";
|
|
24231
24229
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
24232
24230
|
|