@robbeverhelst/do 1.308.2 → 1.309.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 -1
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -4647,6 +4647,18 @@ var animalLostCards = pgTable("animal_lost_cards", {
4647
4647
  createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
4648
4648
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
4649
4649
  }, (t) => [index("animal_lost_cards_tenant_idx").on(t.tenantId)]);
4650
+ var animalHandoverLinks = pgTable("animal_handover_links", {
4651
+ id: text("id").primaryKey(),
4652
+ tenantId: text("tenant_id").notNull().references(() => tenants.id),
4653
+ periodId: text("period_id").notNull().references(() => periods.id, { onDelete: "cascade" }),
4654
+ tokenHash: text("token_hash").notNull().unique(),
4655
+ expiresAt: timestamp("expires_at", { withTimezone: true }).notNull(),
4656
+ revokedAt: timestamp("revoked_at", { withTimezone: true }),
4657
+ opens: integer("opens").notNull().default(0),
4658
+ lastOpenedAt: timestamp("last_opened_at", { withTimezone: true }),
4659
+ createdByUserId: text("created_by_user_id").references(() => users.id),
4660
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow()
4661
+ }, (t) => [index("animal_handover_links_period_idx").on(t.tenantId, t.periodId)]);
4650
4662
 
4651
4663
  // ../../packages/schema/src/db/integrations.ts
4652
4664
  var connectionStatus = pgEnum("connection_status", [
@@ -35342,7 +35354,7 @@ function parseCapture2(input, now) {
35342
35354
 
35343
35355
  // src/meta.ts
35344
35356
  var CLI_NAME = "do";
35345
- var VERSION = "1.308.2";
35357
+ var VERSION = "1.309.0";
35346
35358
  var API_PREFIX = "/api/v1";
35347
35359
  var DEFAULT_API_URL = "http://localhost:3001";
35348
35360
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.308.2",
3
+ "version": "1.309.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",