@robbeverhelst/do 1.172.1 → 1.173.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 -5
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -3703,7 +3703,10 @@ var projects = pgTable("projects", {
|
|
|
3703
3703
|
progress: integer("progress").notNull().default(0),
|
|
3704
3704
|
startAt: timestamp("start_at", { withTimezone: true }),
|
|
3705
3705
|
dueAt: timestamp("due_at", { withTimezone: true }),
|
|
3706
|
-
areaId: text("area_id").references(() => areas.id)
|
|
3706
|
+
areaId: text("area_id").references(() => areas.id),
|
|
3707
|
+
completedAt: timestamp("completed_at", { withTimezone: true }),
|
|
3708
|
+
finishProposedAt: timestamp("finish_proposed_at", { withTimezone: true }),
|
|
3709
|
+
finishNotYetAt: timestamp("finish_not_yet_at", { withTimezone: true })
|
|
3707
3710
|
}, (t) => [
|
|
3708
3711
|
index("projects_tenant_idx").on(t.tenantId),
|
|
3709
3712
|
index("projects_tenant_area_idx").on(t.tenantId, t.areaId)
|
|
@@ -19087,7 +19090,10 @@ var routineRunUndoInputSchema = object({
|
|
|
19087
19090
|
// ../../packages/schema/src/contracts/projects.ts
|
|
19088
19091
|
var projectSchema = createSelectSchema(projects, {
|
|
19089
19092
|
startAt: exports_coerce.date().nullable(),
|
|
19090
|
-
dueAt: exports_coerce.date().nullable()
|
|
19093
|
+
dueAt: exports_coerce.date().nullable(),
|
|
19094
|
+
completedAt: exports_coerce.date().nullish(),
|
|
19095
|
+
finishProposedAt: exports_coerce.date().nullish(),
|
|
19096
|
+
finishNotYetAt: exports_coerce.date().nullish()
|
|
19091
19097
|
});
|
|
19092
19098
|
var projectMilestoneSchema = createSelectSchema(projectMilestones, {
|
|
19093
19099
|
dueAt: exports_coerce.date().nullable(),
|
|
@@ -19107,7 +19113,7 @@ var createProjectInputSchema = createInsertSchema(projects, {
|
|
|
19107
19113
|
startAt: exports_coerce.date().nullish(),
|
|
19108
19114
|
dueAt: exports_coerce.date().nullish(),
|
|
19109
19115
|
areaId: ulidSchema.nullish()
|
|
19110
|
-
}).omit({ tenantId: true }).extend({
|
|
19116
|
+
}).omit({ tenantId: true, completedAt: true, finishProposedAt: true, finishNotYetAt: true }).extend({
|
|
19111
19117
|
title: string2().min(1),
|
|
19112
19118
|
parentId: ulidSchema.nullish(),
|
|
19113
19119
|
milestones: array(projectMilestoneInputSchema).optional(),
|
|
@@ -19118,8 +19124,9 @@ var updateProjectInputSchema = createUpdateSchema(projects, {
|
|
|
19118
19124
|
startAt: exports_coerce.date().nullish(),
|
|
19119
19125
|
dueAt: exports_coerce.date().nullish(),
|
|
19120
19126
|
areaId: ulidSchema.nullish()
|
|
19121
|
-
}).omit({ id: true, tenantId: true }).extend({
|
|
19127
|
+
}).omit({ id: true, tenantId: true, completedAt: true, finishProposedAt: true }).extend({
|
|
19122
19128
|
title: string2().min(1).optional(),
|
|
19129
|
+
finishNotYetAt: exports_coerce.date().nullish(),
|
|
19123
19130
|
parentId: ulidSchema.nullish(),
|
|
19124
19131
|
milestones: array(projectMilestoneInputSchema).optional(),
|
|
19125
19132
|
notes: string2().nullish()
|
|
@@ -21334,7 +21341,7 @@ function parseCapture2(input, now) {
|
|
|
21334
21341
|
|
|
21335
21342
|
// src/meta.ts
|
|
21336
21343
|
var CLI_NAME = "do";
|
|
21337
|
-
var VERSION = "1.
|
|
21344
|
+
var VERSION = "1.173.0";
|
|
21338
21345
|
var API_PREFIX = "/api/v1";
|
|
21339
21346
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
21340
21347
|
|
package/package.json
CHANGED