@remit/drizzle-pg-schema 0.0.21 → 0.0.22
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 +19 -0
- package/dist/schema.js +1 -0
- package/package.json +1 -1
- package/schema.ts +1 -0
package/dist/schema.d.ts
CHANGED
|
@@ -4595,6 +4595,25 @@ export declare const messages: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
4595
4595
|
}, {}, {
|
|
4596
4596
|
$type: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4597
4597
|
}>;
|
|
4598
|
+
classificationState: import("drizzle-orm/pg-core").PgColumn<{
|
|
4599
|
+
name: "classification_state";
|
|
4600
|
+
tableName: "message";
|
|
4601
|
+
dataType: "string";
|
|
4602
|
+
columnType: "PgText";
|
|
4603
|
+
data: "NotExamined" | "Examined";
|
|
4604
|
+
driverParam: string;
|
|
4605
|
+
notNull: true;
|
|
4606
|
+
hasDefault: true;
|
|
4607
|
+
isPrimaryKey: false;
|
|
4608
|
+
isAutoincrement: false;
|
|
4609
|
+
hasRuntimeDefault: false;
|
|
4610
|
+
enumValues: [string, ...string[]];
|
|
4611
|
+
baseColumn: never;
|
|
4612
|
+
identity: undefined;
|
|
4613
|
+
generated: undefined;
|
|
4614
|
+
}, {}, {
|
|
4615
|
+
$type: "NotExamined" | "Examined";
|
|
4616
|
+
}>;
|
|
4598
4617
|
authenticity: import("drizzle-orm/pg-core").PgColumn<{
|
|
4599
4618
|
name: "authenticity";
|
|
4600
4619
|
tableName: "message";
|
package/dist/schema.js
CHANGED
|
@@ -326,6 +326,7 @@ export const messages = pgTable("message", {
|
|
|
326
326
|
originalMailboxId: nullableText("original_mailbox_id"),
|
|
327
327
|
originalUid: nullableBigint("original_uid"),
|
|
328
328
|
category: text("category").$type().notNull().default("uncategorized"),
|
|
329
|
+
classificationState: text("classification_state").$type().notNull().default("NotExamined"),
|
|
329
330
|
authenticity: jsonb("authenticity"),
|
|
330
331
|
authenticityVerdict: text("authenticity_verdict").$type().notNull().default("NotEvaluated"),
|
|
331
332
|
authResult: jsonb("auth_result"),
|
package/package.json
CHANGED
package/schema.ts
CHANGED
|
@@ -399,6 +399,7 @@ export const messages = pgTable(
|
|
|
399
399
|
originalMailboxId: nullableText("original_mailbox_id"),
|
|
400
400
|
originalUid: nullableBigint("original_uid"),
|
|
401
401
|
category: text("category").$type<"uncategorized" | "personal" | "newsletter" | "marketing" | "automated" | "transactional" | "social">().notNull().default("uncategorized"),
|
|
402
|
+
classificationState: text("classification_state").$type<"NotExamined" | "Examined">().notNull().default("NotExamined"),
|
|
402
403
|
authenticity: jsonb("authenticity"),
|
|
403
404
|
authenticityVerdict: text("authenticity_verdict").$type<"NotEvaluated" | "NotChecked" | "Aligned" | "Authenticated" | "Routine" | "Caution" | "Impersonation">().notNull().default("NotEvaluated"),
|
|
404
405
|
authResult: jsonb("auth_result"),
|