@remit/drizzle-pg-schema 0.0.22 → 0.0.23
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 +21 -2
- package/dist/schema.js +1 -0
- package/package.json +1 -1
- package/schema.ts +2 -1
package/dist/schema.d.ts
CHANGED
|
@@ -4524,7 +4524,7 @@ export declare const messages: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
4524
4524
|
tableName: "message";
|
|
4525
4525
|
dataType: "string";
|
|
4526
4526
|
columnType: "PgText";
|
|
4527
|
-
data: "synced" | "pending" | "failed";
|
|
4527
|
+
data: "synced" | "pending" | "failed" | "abandoned";
|
|
4528
4528
|
driverParam: string;
|
|
4529
4529
|
notNull: true;
|
|
4530
4530
|
hasDefault: true;
|
|
@@ -4536,7 +4536,26 @@ export declare const messages: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
4536
4536
|
identity: undefined;
|
|
4537
4537
|
generated: undefined;
|
|
4538
4538
|
}, {}, {
|
|
4539
|
-
$type: "synced" | "pending" | "failed";
|
|
4539
|
+
$type: "synced" | "pending" | "failed" | "abandoned";
|
|
4540
|
+
}>;
|
|
4541
|
+
abandonedMutation: import("drizzle-orm/pg-core").PgColumn<{
|
|
4542
|
+
name: "abandoned_mutation";
|
|
4543
|
+
tableName: "message";
|
|
4544
|
+
dataType: "string";
|
|
4545
|
+
columnType: "PgText";
|
|
4546
|
+
data: "none" | "move" | "delete" | "copy";
|
|
4547
|
+
driverParam: string;
|
|
4548
|
+
notNull: true;
|
|
4549
|
+
hasDefault: true;
|
|
4550
|
+
isPrimaryKey: false;
|
|
4551
|
+
isAutoincrement: false;
|
|
4552
|
+
hasRuntimeDefault: false;
|
|
4553
|
+
enumValues: [string, ...string[]];
|
|
4554
|
+
baseColumn: never;
|
|
4555
|
+
identity: undefined;
|
|
4556
|
+
generated: undefined;
|
|
4557
|
+
}, {}, {
|
|
4558
|
+
$type: "none" | "move" | "delete" | "copy";
|
|
4540
4559
|
}>;
|
|
4541
4560
|
originalMailboxId: import("drizzle-orm/pg-core").PgColumn<{
|
|
4542
4561
|
name: "original_mailbox_id";
|
package/dist/schema.js
CHANGED
|
@@ -323,6 +323,7 @@ export const messages = pgTable("message", {
|
|
|
323
323
|
bodyStorageKey: nullableText("body_storage_key"),
|
|
324
324
|
status: text("status").$type().notNull().default("active"),
|
|
325
325
|
syncStatus: text("sync_status").$type().notNull().default("synced"),
|
|
326
|
+
abandonedMutation: text("abandoned_mutation").$type().notNull().default("none"),
|
|
326
327
|
originalMailboxId: nullableText("original_mailbox_id"),
|
|
327
328
|
originalUid: nullableBigint("original_uid"),
|
|
328
329
|
category: text("category").$type().notNull().default("uncategorized"),
|
package/package.json
CHANGED
package/schema.ts
CHANGED
|
@@ -395,7 +395,8 @@ export const messages = pgTable(
|
|
|
395
395
|
rootBodyPartId: text("root_body_part_id").notNull(),
|
|
396
396
|
bodyStorageKey: nullableText("body_storage_key"),
|
|
397
397
|
status: text("status").$type<"active" | "deleting" | "deleted" | "moving">().notNull().default("active"),
|
|
398
|
-
syncStatus: text("sync_status").$type<"synced" | "pending" | "failed">().notNull().default("synced"),
|
|
398
|
+
syncStatus: text("sync_status").$type<"synced" | "pending" | "failed" | "abandoned">().notNull().default("synced"),
|
|
399
|
+
abandonedMutation: text("abandoned_mutation").$type<"none" | "move" | "delete" | "copy">().notNull().default("none"),
|
|
399
400
|
originalMailboxId: nullableText("original_mailbox_id"),
|
|
400
401
|
originalUid: nullableBigint("original_uid"),
|
|
401
402
|
category: text("category").$type<"uncategorized" | "personal" | "newsletter" | "marketing" | "automated" | "transactional" | "social">().notNull().default("uncategorized"),
|