@robbeverhelst/do 1.288.0 → 1.289.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.
Files changed (2) hide show
  1. package/dist/do.js +13 -5
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -5019,6 +5019,7 @@ var households = pgTable("households", {
5019
5019
  tenantId: text("tenant_id").notNull().references(() => tenants.id),
5020
5020
  address: jsonb("address").$type(),
5021
5021
  language: text("language").notNull().default("nl"),
5022
+ group: boolean("group").notNull().default(false),
5022
5023
  createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
5023
5024
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
5024
5025
  }, (t) => [index("households_tenant_idx").on(t.tenantId)]);
@@ -21206,7 +21207,9 @@ var houseUpkeepSoonSchema = object({
21206
21207
  task: taskViewSchema,
21207
21208
  itemId: string2(),
21208
21209
  itemTitle: string2(),
21209
- nextOn: day.nullable()
21210
+ nextOn: day.nullable(),
21211
+ placeTitle: string2().nullable().default(null),
21212
+ lastOn: day.nullable().default(null)
21210
21213
  });
21211
21214
  var housePlaceTileSchema = object({
21212
21215
  id: string2(),
@@ -21222,7 +21225,8 @@ var houseOverviewSchema = object({
21222
21225
  thingCount: number2().int().min(0),
21223
21226
  upkeepCount: number2().int().min(0),
21224
21227
  toolCount: number2().int().min(0),
21225
- animalCount: number2().int().min(0)
21228
+ animalCount: number2().int().min(0),
21229
+ toConfirm: number2().int().min(0).default(0)
21226
21230
  });
21227
21231
  var upkeepScheduleSchema = object({
21228
21232
  every: number2().int().min(1).max(365),
@@ -26609,6 +26613,7 @@ var householdAddressSchema = object({
26609
26613
  }).strict();
26610
26614
  var householdRowSchema = createSelectSchema(households, {
26611
26615
  address: householdAddressSchema.nullable(),
26616
+ group: boolean3().default(false),
26612
26617
  createdAt: exports_coerce.date(),
26613
26618
  updatedAt: exports_coerce.date()
26614
26619
  });
@@ -26622,6 +26627,7 @@ var createHouseholdInputSchema = object({
26622
26627
  title: string2().trim().min(1).max(120),
26623
26628
  address: householdAddressSchema.nullish(),
26624
26629
  language: rsvpLanguageSchema.optional(),
26630
+ group: boolean3().optional(),
26625
26631
  memberIds: array(ulidSchema).max(30).optional()
26626
26632
  }).strict();
26627
26633
  var updateHouseholdInputSchema = createHouseholdInputSchema.omit({ id: true }).partial().strict();
@@ -26634,7 +26640,8 @@ var guestListSchema = createSelectSchema(guestLists, {
26634
26640
  });
26635
26641
  var guestListViewSchema = guestListSchema.extend({
26636
26642
  projectTitle: string2(),
26637
- rsvpBy: keyDateDaySchema.nullable()
26643
+ rsvpBy: keyDateDaySchema.nullable(),
26644
+ projectDay: keyDateDaySchema.nullable().default(null)
26638
26645
  });
26639
26646
  var createGuestListInputSchema = object({
26640
26647
  id: ulidSchema,
@@ -26715,6 +26722,7 @@ var guestListOverviewSchema = object({
26715
26722
  title: string2(),
26716
26723
  address: householdAddressSchema.nullable(),
26717
26724
  language: rsvpLanguageSchema,
26725
+ group: boolean3().default(false),
26718
26726
  guests: array(guestViewSchema)
26719
26727
  })),
26720
26728
  headCount: headCountSchema,
@@ -26828,7 +26836,7 @@ var createSeatingProposalInputSchema = object({
26828
26836
  return new Set(ids).size === ids.length;
26829
26837
  }, { message: "a guest can sit at one table only", path: ["tables"] });
26830
26838
  var seatingProposalsQuerySchema = object({ guestListId: ulidSchema });
26831
- var GUEST_EXPORT_KINDS = ["caterer", "venue", "floor-plan"];
26839
+ var GUEST_EXPORT_KINDS = ["caterer", "venue", "floor-plan", "church"];
26832
26840
  var guestExportKindSchema = _enum2(GUEST_EXPORT_KINDS);
26833
26841
  var thankYouGiftSchema = object({
26834
26842
  momentId: ulidSchema,
@@ -28686,7 +28694,7 @@ function parseCapture2(input, now) {
28686
28694
 
28687
28695
  // src/meta.ts
28688
28696
  var CLI_NAME = "do";
28689
- var VERSION = "1.288.0";
28697
+ var VERSION = "1.289.0";
28690
28698
  var API_PREFIX = "/api/v1";
28691
28699
  var DEFAULT_API_URL = "http://localhost:3001";
28692
28700
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.288.0",
3
+ "version": "1.289.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "homepage": "https://github.com/robbeverhelst/do/tree/main/apps/cli",