@remit/drizzle-pg-schema 0.0.23 → 0.0.24
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/schema.d.ts +20 -20
- package/dist/schema.js +2 -2
- package/package.json +1 -1
- package/schema.ts +2 -2
package/dist/schema.d.ts
CHANGED
|
@@ -1616,8 +1616,8 @@ export declare const mailboxes: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
1616
1616
|
columnType: "PgText";
|
|
1617
1617
|
data: "deleting" | "synced" | "pending" | "failed";
|
|
1618
1618
|
driverParam: string;
|
|
1619
|
-
notNull:
|
|
1620
|
-
hasDefault:
|
|
1619
|
+
notNull: true;
|
|
1620
|
+
hasDefault: true;
|
|
1621
1621
|
isPrimaryKey: false;
|
|
1622
1622
|
isAutoincrement: false;
|
|
1623
1623
|
hasRuntimeDefault: false;
|
|
@@ -1628,43 +1628,43 @@ export declare const mailboxes: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
1628
1628
|
}, {}, {
|
|
1629
1629
|
$type: "deleting" | "synced" | "pending" | "failed";
|
|
1630
1630
|
}>;
|
|
1631
|
-
|
|
1632
|
-
name: "
|
|
1631
|
+
pendingPath: import("drizzle-orm/pg-core").PgColumn<{
|
|
1632
|
+
name: "pending_path";
|
|
1633
1633
|
tableName: "mailbox";
|
|
1634
|
-
dataType: "
|
|
1635
|
-
columnType: "
|
|
1636
|
-
data:
|
|
1634
|
+
dataType: "custom";
|
|
1635
|
+
columnType: "PgCustomColumn";
|
|
1636
|
+
data: string;
|
|
1637
1637
|
driverParam: string;
|
|
1638
|
-
notNull:
|
|
1639
|
-
hasDefault:
|
|
1638
|
+
notNull: false;
|
|
1639
|
+
hasDefault: false;
|
|
1640
1640
|
isPrimaryKey: false;
|
|
1641
1641
|
isAutoincrement: false;
|
|
1642
1642
|
hasRuntimeDefault: false;
|
|
1643
|
-
enumValues:
|
|
1643
|
+
enumValues: undefined;
|
|
1644
1644
|
baseColumn: never;
|
|
1645
1645
|
identity: undefined;
|
|
1646
1646
|
generated: undefined;
|
|
1647
1647
|
}, {}, {
|
|
1648
|
-
|
|
1648
|
+
pgColumnBuilderBrand: "PgCustomColumnBuilderBrand";
|
|
1649
1649
|
}>;
|
|
1650
|
-
|
|
1651
|
-
name: "
|
|
1650
|
+
cursorState: import("drizzle-orm/pg-core").PgColumn<{
|
|
1651
|
+
name: "cursor_state";
|
|
1652
1652
|
tableName: "mailbox";
|
|
1653
|
-
dataType: "
|
|
1654
|
-
columnType: "
|
|
1655
|
-
data:
|
|
1653
|
+
dataType: "string";
|
|
1654
|
+
columnType: "PgText";
|
|
1655
|
+
data: "normal" | "cursor_invalid" | "rebuilding";
|
|
1656
1656
|
driverParam: string;
|
|
1657
|
-
notNull:
|
|
1658
|
-
hasDefault:
|
|
1657
|
+
notNull: true;
|
|
1658
|
+
hasDefault: true;
|
|
1659
1659
|
isPrimaryKey: false;
|
|
1660
1660
|
isAutoincrement: false;
|
|
1661
1661
|
hasRuntimeDefault: false;
|
|
1662
|
-
enumValues:
|
|
1662
|
+
enumValues: [string, ...string[]];
|
|
1663
1663
|
baseColumn: never;
|
|
1664
1664
|
identity: undefined;
|
|
1665
1665
|
generated: undefined;
|
|
1666
1666
|
}, {}, {
|
|
1667
|
-
|
|
1667
|
+
$type: "normal" | "cursor_invalid" | "rebuilding";
|
|
1668
1668
|
}>;
|
|
1669
1669
|
specialUse: import("drizzle-orm/pg-core").PgColumn<{
|
|
1670
1670
|
name: "special_use";
|
package/dist/schema.js
CHANGED
|
@@ -106,9 +106,9 @@ export const mailboxes = pgTable("mailbox", {
|
|
|
106
106
|
lastMessageSyncAt: bigint("last_message_sync_at", { mode: "number" }).notNull(),
|
|
107
107
|
initialSyncCompletedAt: nullableBigint("initial_sync_completed_at"),
|
|
108
108
|
parentMailboxId: text("parent_mailbox_id").notNull().default("None"),
|
|
109
|
-
syncStatus: text("sync_status").$type(),
|
|
109
|
+
syncStatus: text("sync_status").$type().notNull().default("synced"),
|
|
110
|
+
pendingPath: nullableText("pending_path"),
|
|
110
111
|
cursorState: text("cursor_state").$type().notNull().default("normal"),
|
|
111
|
-
oldPath: nullableText("old_path"),
|
|
112
112
|
specialUse: jsonb("special_use"),
|
|
113
113
|
createdAt: bigint("created_at", { mode: "number" }).notNull(),
|
|
114
114
|
updatedAt: bigint("updated_at", { mode: "number" }).notNull(),
|
package/package.json
CHANGED
package/schema.ts
CHANGED
|
@@ -129,9 +129,9 @@ export const mailboxes = pgTable(
|
|
|
129
129
|
lastMessageSyncAt: bigint("last_message_sync_at", { mode: "number" }).notNull(),
|
|
130
130
|
initialSyncCompletedAt: nullableBigint("initial_sync_completed_at"),
|
|
131
131
|
parentMailboxId: text("parent_mailbox_id").notNull().default("None"),
|
|
132
|
-
syncStatus: text("sync_status").$type<"synced" | "pending" | "failed" | "deleting">(),
|
|
132
|
+
syncStatus: text("sync_status").$type<"synced" | "pending" | "failed" | "deleting">().notNull().default("synced"),
|
|
133
|
+
pendingPath: nullableText("pending_path"),
|
|
133
134
|
cursorState: text("cursor_state").$type<"normal" | "cursor_invalid" | "rebuilding">().notNull().default("normal"),
|
|
134
|
-
oldPath: nullableText("old_path"),
|
|
135
135
|
specialUse: jsonb("special_use"),
|
|
136
136
|
createdAt: bigint("created_at", { mode: "number" }).notNull(),
|
|
137
137
|
updatedAt: bigint("updated_at", { mode: "number" }).notNull(),
|