@robbeverhelst/do 1.110.0 → 1.111.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 +4 -2
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -4751,11 +4751,13 @@ var connectionSyncState = pgTable("connection_sync_state", {
|
|
|
4751
4751
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
4752
4752
|
}, (t) => [unique("connection_sync_state_connection_resource_uniq").on(t.connectionId, t.resource)]);
|
|
4753
4753
|
// ../../packages/schema/src/db/calendar.ts
|
|
4754
|
+
var calendarLinkPurpose = pgEnum("calendar_link_purpose", ["block", "deadline"]);
|
|
4754
4755
|
var calendarEventLinks = pgTable("calendar_event_links", {
|
|
4755
4756
|
id: text("id").primaryKey(),
|
|
4756
4757
|
tenantId: text("tenant_id").notNull().references(() => tenants.id),
|
|
4757
4758
|
connectionId: text("connection_id").notNull().references(() => connections.id, { onDelete: "cascade" }),
|
|
4758
4759
|
nodeId: text("node_id").notNull().references(() => nodes.id, { onDelete: "cascade" }),
|
|
4760
|
+
purpose: calendarLinkPurpose("purpose").notNull().default("block"),
|
|
4759
4761
|
externalCalendarId: text("external_calendar_id").notNull(),
|
|
4760
4762
|
externalEventId: text("external_event_id").notNull(),
|
|
4761
4763
|
etag: text("etag"),
|
|
@@ -4764,7 +4766,7 @@ var calendarEventLinks = pgTable("calendar_event_links", {
|
|
|
4764
4766
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
4765
4767
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
4766
4768
|
}, (t) => [
|
|
4767
|
-
unique("calendar_event_links_connection_node_uniq").on(t.connectionId, t.nodeId),
|
|
4769
|
+
unique("calendar_event_links_connection_node_uniq").on(t.connectionId, t.nodeId, t.purpose),
|
|
4768
4770
|
unique("calendar_event_links_connection_event_uniq").on(t.connectionId, t.externalEventId),
|
|
4769
4771
|
index("calendar_event_links_tenant_connection_idx").on(t.tenantId, t.connectionId)
|
|
4770
4772
|
]);
|
|
@@ -24309,7 +24311,7 @@ function parseCapture2(input, now) {
|
|
|
24309
24311
|
|
|
24310
24312
|
// src/meta.ts
|
|
24311
24313
|
var CLI_NAME = "do";
|
|
24312
|
-
var VERSION = "1.
|
|
24314
|
+
var VERSION = "1.111.0";
|
|
24313
24315
|
var API_PREFIX = "/api/v1";
|
|
24314
24316
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
24315
24317
|
|