@remit/drizzle-sqlite-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 +20 -0
- package/dist/schema.js +1 -0
- package/package.json +1 -1
- package/schema.ts +1 -0
package/dist/schema.d.ts
CHANGED
|
@@ -4767,6 +4767,26 @@ export declare const messages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
4767
4767
|
length: number;
|
|
4768
4768
|
$type: "personal" | "uncategorized" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
|
|
4769
4769
|
}>;
|
|
4770
|
+
classificationState: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4771
|
+
name: "classification_state";
|
|
4772
|
+
tableName: "message";
|
|
4773
|
+
dataType: "string";
|
|
4774
|
+
columnType: "SQLiteText";
|
|
4775
|
+
data: "NotExamined" | "Examined";
|
|
4776
|
+
driverParam: string;
|
|
4777
|
+
notNull: true;
|
|
4778
|
+
hasDefault: true;
|
|
4779
|
+
isPrimaryKey: false;
|
|
4780
|
+
isAutoincrement: false;
|
|
4781
|
+
hasRuntimeDefault: false;
|
|
4782
|
+
enumValues: [string, ...string[]];
|
|
4783
|
+
baseColumn: never;
|
|
4784
|
+
identity: undefined;
|
|
4785
|
+
generated: undefined;
|
|
4786
|
+
}, {}, {
|
|
4787
|
+
length: number;
|
|
4788
|
+
$type: "NotExamined" | "Examined";
|
|
4789
|
+
}>;
|
|
4770
4790
|
authenticity: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
4771
4791
|
name: "authenticity";
|
|
4772
4792
|
tableName: "message";
|
package/dist/schema.js
CHANGED
|
@@ -326,6 +326,7 @@ export const messages = sqliteTable("message", {
|
|
|
326
326
|
originalMailboxId: nullableText("original_mailbox_id"),
|
|
327
327
|
originalUid: integer("original_uid", { mode: "number" }),
|
|
328
328
|
category: text("category").$type().notNull().default("uncategorized"),
|
|
329
|
+
classificationState: text("classification_state").$type().notNull().default("NotExamined"),
|
|
329
330
|
authenticity: text("authenticity", { mode: "json" }),
|
|
330
331
|
authenticityVerdict: text("authenticity_verdict").$type().notNull().default("NotEvaluated"),
|
|
331
332
|
authResult: text("auth_result", { mode: "json" }),
|
package/package.json
CHANGED
package/schema.ts
CHANGED
|
@@ -399,6 +399,7 @@ export const messages = sqliteTable(
|
|
|
399
399
|
originalMailboxId: nullableText("original_mailbox_id"),
|
|
400
400
|
originalUid: integer("original_uid", { mode: "number" }),
|
|
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: text("authenticity", { mode: "json" }),
|
|
403
404
|
authenticityVerdict: text("authenticity_verdict").$type<"NotEvaluated" | "NotChecked" | "Aligned" | "Authenticated" | "Routine" | "Caution" | "Impersonation">().notNull().default("NotEvaluated"),
|
|
404
405
|
authResult: text("auth_result", { mode: "json" }),
|