@robbeverhelst/do 1.89.0 → 1.90.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 +12 -8
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -4341,7 +4341,6 @@ var projects = pgTable("projects", {
|
|
|
4341
4341
|
tenantId: text("tenant_id").notNull().references(() => tenants.id),
|
|
4342
4342
|
status: projectStatus("status").notNull().default("planning"),
|
|
4343
4343
|
progress: integer("progress").notNull().default(0),
|
|
4344
|
-
notes: text("notes"),
|
|
4345
4344
|
startAt: timestamp("start_at", { withTimezone: true }),
|
|
4346
4345
|
dueAt: timestamp("due_at", { withTimezone: true }),
|
|
4347
4346
|
areaId: text("area_id").references(() => areas.id)
|
|
@@ -4399,7 +4398,6 @@ var occurrenceStatus = pgEnum("occurrence_status", [
|
|
|
4399
4398
|
var tasks = pgTable("tasks", {
|
|
4400
4399
|
id: text("id").primaryKey().references(() => nodes.id),
|
|
4401
4400
|
tenantId: text("tenant_id").notNull().references(() => tenants.id),
|
|
4402
|
-
notes: text("notes"),
|
|
4403
4401
|
status: taskStatus("status").notNull().default("todo"),
|
|
4404
4402
|
starred: boolean("starred").notNull().default(false),
|
|
4405
4403
|
allDay: boolean("all_day").notNull().default(true),
|
|
@@ -19802,7 +19800,8 @@ var taskViewSchema = taskSchema.extend({
|
|
|
19802
19800
|
parentId: ulidSchema.nullable(),
|
|
19803
19801
|
createdAt: exports_external.coerce.date(),
|
|
19804
19802
|
updatedAt: exports_external.coerce.date(),
|
|
19805
|
-
deletedAt: exports_external.coerce.date().nullable()
|
|
19803
|
+
deletedAt: exports_external.coerce.date().nullable(),
|
|
19804
|
+
notes: exports_external.string().nullable()
|
|
19806
19805
|
});
|
|
19807
19806
|
var taskProjectIdSchema = ulidSchema.nullish();
|
|
19808
19807
|
var taskAreaIdSchema = ulidSchema.nullish();
|
|
@@ -19818,7 +19817,8 @@ var createTaskInputSchema = createInsertSchema(tasks, {
|
|
|
19818
19817
|
}).omit({ tenantId: true, recurrenceRuleId: true, startAt: true }).extend({
|
|
19819
19818
|
title: exports_external.string().min(1),
|
|
19820
19819
|
parentId: ulidSchema.nullish(),
|
|
19821
|
-
areaName: taskAreaNameSchema
|
|
19820
|
+
areaName: taskAreaNameSchema,
|
|
19821
|
+
notes: exports_external.string().nullish()
|
|
19822
19822
|
});
|
|
19823
19823
|
var updateTaskInputSchema = createUpdateSchema(tasks, {
|
|
19824
19824
|
scheduledAt: exports_external.coerce.date().nullish(),
|
|
@@ -19829,7 +19829,8 @@ var updateTaskInputSchema = createUpdateSchema(tasks, {
|
|
|
19829
19829
|
areaId: taskAreaIdSchema
|
|
19830
19830
|
}).omit({ id: true, tenantId: true, recurrenceRuleId: true, startAt: true }).extend({
|
|
19831
19831
|
title: exports_external.string().min(1).optional(),
|
|
19832
|
-
parentId: ulidSchema.nullish()
|
|
19832
|
+
parentId: ulidSchema.nullish(),
|
|
19833
|
+
notes: exports_external.string().nullish()
|
|
19833
19834
|
}).strict();
|
|
19834
19835
|
var taskListFilterSchema = exports_external.enum(["all", "unsorted", "starred"]);
|
|
19835
19836
|
// ../../packages/schema/src/contracts/habits.ts
|
|
@@ -20084,7 +20085,8 @@ var createProjectInputSchema = createInsertSchema(projects, {
|
|
|
20084
20085
|
}).omit({ tenantId: true }).extend({
|
|
20085
20086
|
title: exports_external.string().min(1),
|
|
20086
20087
|
parentId: ulidSchema.nullish(),
|
|
20087
|
-
milestones: exports_external.array(projectMilestoneInputSchema).optional()
|
|
20088
|
+
milestones: exports_external.array(projectMilestoneInputSchema).optional(),
|
|
20089
|
+
notes: exports_external.string().nullish()
|
|
20088
20090
|
});
|
|
20089
20091
|
var updateProjectInputSchema = createUpdateSchema(projects, {
|
|
20090
20092
|
progress: exports_external.number().int().min(0).max(100).optional(),
|
|
@@ -20094,7 +20096,8 @@ var updateProjectInputSchema = createUpdateSchema(projects, {
|
|
|
20094
20096
|
}).omit({ id: true, tenantId: true }).extend({
|
|
20095
20097
|
title: exports_external.string().min(1).optional(),
|
|
20096
20098
|
parentId: ulidSchema.nullish(),
|
|
20097
|
-
milestones: exports_external.array(projectMilestoneInputSchema).optional()
|
|
20099
|
+
milestones: exports_external.array(projectMilestoneInputSchema).optional(),
|
|
20100
|
+
notes: exports_external.string().nullish()
|
|
20098
20101
|
}).strict();
|
|
20099
20102
|
var projectViewSchema = projectSchema.extend({
|
|
20100
20103
|
title: exports_external.string(),
|
|
@@ -20102,6 +20105,7 @@ var projectViewSchema = projectSchema.extend({
|
|
|
20102
20105
|
createdAt: exports_external.coerce.date(),
|
|
20103
20106
|
updatedAt: exports_external.coerce.date(),
|
|
20104
20107
|
deletedAt: exports_external.coerce.date().nullable(),
|
|
20108
|
+
notes: exports_external.string().nullable(),
|
|
20105
20109
|
milestoneCount: exports_external.number().int().min(0),
|
|
20106
20110
|
completedMilestoneCount: exports_external.number().int().min(0),
|
|
20107
20111
|
taskCount: exports_external.number().int().min(0),
|
|
@@ -24132,7 +24136,7 @@ function parseCapture2(input, now) {
|
|
|
24132
24136
|
|
|
24133
24137
|
// src/meta.ts
|
|
24134
24138
|
var CLI_NAME = "do";
|
|
24135
|
-
var VERSION = "1.
|
|
24139
|
+
var VERSION = "1.90.0";
|
|
24136
24140
|
var API_PREFIX = "/api/v1";
|
|
24137
24141
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
24138
24142
|
|