@remit/drizzle-sqlite-schema 0.0.27 → 0.0.28

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 CHANGED
@@ -1725,6 +1725,25 @@ export declare const mailboxes: import("drizzle-orm/sqlite-core").SQLiteTableWit
1725
1725
  }, {}, {
1726
1726
  sqliteColumnBuilderBrand: "SQLiteCustomColumnBuilderBrand";
1727
1727
  }>;
1728
+ syncFailureReason: import("drizzle-orm/sqlite-core").SQLiteColumn<{
1729
+ name: "sync_failure_reason";
1730
+ tableName: "mailbox";
1731
+ dataType: "string";
1732
+ columnType: "SQLiteText";
1733
+ data: string;
1734
+ driverParam: string;
1735
+ notNull: true;
1736
+ hasDefault: true;
1737
+ isPrimaryKey: false;
1738
+ isAutoincrement: false;
1739
+ hasRuntimeDefault: false;
1740
+ enumValues: [string, ...string[]];
1741
+ baseColumn: never;
1742
+ identity: undefined;
1743
+ generated: undefined;
1744
+ }, {}, {
1745
+ length: number;
1746
+ }>;
1728
1747
  cursorState: import("drizzle-orm/sqlite-core").SQLiteColumn<{
1729
1748
  name: "cursor_state";
1730
1749
  tableName: "mailbox";
package/dist/schema.js CHANGED
@@ -110,6 +110,7 @@ export const mailboxes = sqliteTable("mailbox", {
110
110
  parentMailboxId: text("parent_mailbox_id").notNull().default("None"),
111
111
  syncStatus: text("sync_status").$type().notNull().default("synced"),
112
112
  pendingPath: nullableText("pending_path"),
113
+ syncFailureReason: text("sync_failure_reason").notNull().default(""),
113
114
  cursorState: text("cursor_state").$type().notNull().default("normal"),
114
115
  specialUse: text("special_use", { mode: "json" }),
115
116
  createdAt: integer("created_at", { mode: "number" }).notNull(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/drizzle-sqlite-schema",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -133,6 +133,7 @@ export const mailboxes = sqliteTable(
133
133
  parentMailboxId: text("parent_mailbox_id").notNull().default("None"),
134
134
  syncStatus: text("sync_status").$type<"synced" | "pending" | "failed" | "deleting">().notNull().default("synced"),
135
135
  pendingPath: nullableText("pending_path"),
136
+ syncFailureReason: text("sync_failure_reason").notNull().default(""),
136
137
  cursorState: text("cursor_state").$type<"normal" | "cursor_invalid" | "rebuilding">().notNull().default("normal"),
137
138
  specialUse: text("special_use", { mode: "json" }),
138
139
  createdAt: integer("created_at", { mode: "number" }).notNull(),