@happyvertical/smrt-messages 0.62.10 → 0.62.12
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/AGENTS.md +18 -1
- package/dist/chunks/{AttachmentCollection-DqZ-ReHp.js → AttachmentCollection-gv5YpGPo.js} +4 -4
- package/dist/chunks/{AttachmentCollection-DqZ-ReHp.js.map → AttachmentCollection-gv5YpGPo.js.map} +1 -1
- package/dist/chunks/{Email-PGHFnLSi.js → Email---ifczUW.js} +6 -6
- package/dist/chunks/{Email-PGHFnLSi.js.map → Email---ifczUW.js.map} +1 -1
- package/dist/chunks/EmailAccountCollection-DkvT4tdP.js +1992 -0
- package/dist/chunks/EmailAccountCollection-DkvT4tdP.js.map +1 -0
- package/dist/chunks/{EmailCollection-C7MOWGLe.js → EmailCollection-CHINTmyA.js} +3 -3
- package/dist/chunks/{EmailCollection-C7MOWGLe.js.map → EmailCollection-CHINTmyA.js.map} +1 -1
- package/dist/chunks/{EmailFolder-BE9Xx2pw.js → EmailFolder-C_H8u6bS.js} +6 -6
- package/dist/chunks/{EmailFolder-BE9Xx2pw.js.map → EmailFolder-C_H8u6bS.js.map} +1 -1
- package/dist/chunks/{EmailFolderCollection-CHAKFybY.js → EmailFolderCollection-B83qLC-c.js} +2 -2
- package/dist/chunks/{EmailFolderCollection-CHAKFybY.js.map → EmailFolderCollection-B83qLC-c.js.map} +1 -1
- package/dist/chunks/{Message-8L3St6NF.js → Message-Ccqg6BLO.js} +6 -6
- package/dist/chunks/{Message-8L3St6NF.js.map → Message-Ccqg6BLO.js.map} +1 -1
- package/dist/chunks/{MessageCollection-CNkx4JVp.js → MessageCollection-BnHCLi1Q.js} +2 -2
- package/dist/chunks/{MessageCollection-CNkx4JVp.js.map → MessageCollection-BnHCLi1Q.js.map} +1 -1
- package/dist/chunks/{MessagingEndpointCollection-BA-Zzk8o.js → MessagingEndpointCollection-CHzGhkeL.js} +2 -2
- package/dist/chunks/{MessagingEndpointCollection-BA-Zzk8o.js.map → MessagingEndpointCollection-CHzGhkeL.js.map} +1 -1
- package/dist/connect.js +1 -1
- package/dist/index.js +12 -11
- package/dist/index.js.map +1 -1
- package/dist/mail-sync-jobs.d.ts.map +1 -1
- package/dist/mail-sync.d.ts +16 -1
- package/dist/mail-sync.d.ts.map +1 -1
- package/dist/manifest.json +264 -18
- package/dist/models/EmailAccount.d.ts +24 -0
- package/dist/models/EmailAccount.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +35 -5
- package/dist/smrt-knowledge.okf.md +2 -2
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +11 -11
- package/dist/chunks/EmailAccountCollection-qe0Umrjz.js +0 -1944
- package/dist/chunks/EmailAccountCollection-qe0Umrjz.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-sync-jobs.d.ts","sourceRoot":"","sources":["../src/mail-sync-jobs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAAuB,CAAC;AAE1D,uCAAuC;AACvC,eAAO,MAAM,eAAe,cAAc,CAAC;AAE3C,qDAAqD;AACrD,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAa,CAAC;AAEjE,MAAM,WAAW,sBAAuB,SAAQ,eAAe;IAC7D,iCAAiC;IACjC,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,sDAAsD;AACtD,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE3D;AAWD;;;;GAIG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,YAAY,EACrB,OAAO,GAAE,sBAA2B,
|
|
1
|
+
{"version":3,"file":"mail-sync-jobs.d.ts","sourceRoot":"","sources":["../src/mail-sync-jobs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAAuB,CAAC;AAE1D,uCAAuC;AACvC,eAAO,MAAM,eAAe,cAAc,CAAC;AAE3C,qDAAqD;AACrD,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAAa,CAAC;AAEjE,MAAM,WAAW,sBAAuB,SAAQ,eAAe;IAC7D,iCAAiC;IACjC,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,sDAAsD;AACtD,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE3D;AAWD;;;;GAIG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,YAAY,EACrB,OAAO,GAAE,sBAA2B,8DA4BrC;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,YAAY,EAAE,EACxB,OAAO,GAAE,sBAAsB,GAAG;IAAE,GAAG,CAAC,EAAE,IAAI,CAAA;CAAO,GACpD,OAAO,CAAC,MAAM,EAAE,CAAC,CAanB"}
|
package/dist/mail-sync.d.ts
CHANGED
|
@@ -24,6 +24,13 @@ export interface MailSyncOptions {
|
|
|
24
24
|
limit?: number;
|
|
25
25
|
/** Most batches one run applies before stopping with `hasMore`. Default 500. */
|
|
26
26
|
maxBatches?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Store no message dated before this (a `Date` or an ISO string, so it
|
|
29
|
+
* survives a job's JSON args). Overrides `EmailAccount.backfillSince` for
|
|
30
|
+
* this run; `null` lifts the account's horizon. Messages already stored are
|
|
31
|
+
* still updated.
|
|
32
|
+
*/
|
|
33
|
+
since?: Date | string | null;
|
|
27
34
|
}
|
|
28
35
|
export type MailSyncSkipReason = 'inactive' | 'needs-reconnect' | 'unsupported';
|
|
29
36
|
export interface MailSyncResult {
|
|
@@ -38,6 +45,8 @@ export interface MailSyncResult {
|
|
|
38
45
|
resynced: boolean;
|
|
39
46
|
/** The run stopped at `maxBatches` with more changes waiting. */
|
|
40
47
|
hasMore: boolean;
|
|
48
|
+
/** Messages left out because they are dated before the backfill horizon. */
|
|
49
|
+
beforeHorizon: number;
|
|
41
50
|
duration: number;
|
|
42
51
|
}
|
|
43
52
|
export declare function inLane<T>(accountId: string, run: () => Promise<T>): Promise<T>;
|
|
@@ -63,11 +72,17 @@ export interface SyncContext {
|
|
|
63
72
|
childOptions: Record<string, unknown>;
|
|
64
73
|
/** folder path -> folder row id */
|
|
65
74
|
folderIds: Map<string, string>;
|
|
75
|
+
/** Backfill horizon in effect for this run, if any. */
|
|
76
|
+
horizon?: Date | null;
|
|
77
|
+
/** Messages skipped for being older than the horizon. */
|
|
78
|
+
beforeHorizon?: number;
|
|
66
79
|
}
|
|
67
80
|
export declare function ensureFolder(ctx: SyncContext, path: string, details?: Partial<Folder>): Promise<string>;
|
|
68
81
|
export declare function folderIdFor(ctx: SyncContext, path: string): Promise<string>;
|
|
69
82
|
export declare function refreshCounts(ctx: SyncContext, folderIds: Set<string>): Promise<void>;
|
|
70
|
-
export declare function rethrowAfterAuthCheck(account: EmailAccount, error: unknown, isAuthFailure: (e: unknown) => boolean
|
|
83
|
+
export declare function rethrowAfterAuthCheck(account: EmailAccount, error: unknown, isAuthFailure: (e: unknown) => boolean, options?: {
|
|
84
|
+
recordError?: boolean;
|
|
85
|
+
}): Promise<never>;
|
|
71
86
|
/**
|
|
72
87
|
* Sync one account from its server's change feed. See the module comment;
|
|
73
88
|
* call `EmailAccount.syncChanges()` rather than this directly.
|
package/dist/mail-sync.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-sync.d.ts","sourceRoot":"","sources":["../src/mail-sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,MAAM,EACP,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAAuB,CAAC;AAG1D,MAAM,WAAW,eAAe;IAC9B,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"mail-sync.d.ts","sourceRoot":"","sources":["../src/mail-sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,MAAM,EACP,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAqC,CAAC;AACjF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAAuB,CAAC;AAG1D,MAAM,WAAW,eAAe;IAC9B,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,KAAK,CAAC,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": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-messages",
|
|
5
|
-
"packageVersion": "0.62.
|
|
5
|
+
"packageVersion": "0.62.12",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-messages:AccountCollection": {
|
|
8
8
|
"name": "accountcollection",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
],
|
|
154
154
|
"schema": {
|
|
155
155
|
"tableName": "accounts",
|
|
156
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
156
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
157
157
|
"columns": {
|
|
158
158
|
"_sync_origin_device_id": {
|
|
159
159
|
"type": "TEXT"
|
|
@@ -262,6 +262,23 @@
|
|
|
262
262
|
"type": "TEXT",
|
|
263
263
|
"notNull": false
|
|
264
264
|
},
|
|
265
|
+
"backfill_since": {
|
|
266
|
+
"type": "TIMESTAMP",
|
|
267
|
+
"notNull": false
|
|
268
|
+
},
|
|
269
|
+
"cursor_horizon": {
|
|
270
|
+
"type": "TIMESTAMP",
|
|
271
|
+
"notNull": false
|
|
272
|
+
},
|
|
273
|
+
"last_sync_error": {
|
|
274
|
+
"type": "TEXT",
|
|
275
|
+
"notNull": false
|
|
276
|
+
},
|
|
277
|
+
"backlog": {
|
|
278
|
+
"type": "BOOLEAN",
|
|
279
|
+
"notNull": false,
|
|
280
|
+
"default": false
|
|
281
|
+
},
|
|
265
282
|
"workspace_id": {
|
|
266
283
|
"type": "TEXT",
|
|
267
284
|
"notNull": false
|
|
@@ -316,6 +333,13 @@
|
|
|
316
333
|
}
|
|
317
334
|
],
|
|
318
335
|
"checks": [
|
|
336
|
+
{
|
|
337
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
338
|
+
"columns": [
|
|
339
|
+
"backlog"
|
|
340
|
+
],
|
|
341
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
342
|
+
},
|
|
319
343
|
{
|
|
320
344
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
321
345
|
"columns": [
|
|
@@ -324,7 +348,7 @@
|
|
|
324
348
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
325
349
|
}
|
|
326
350
|
],
|
|
327
|
-
"version": "
|
|
351
|
+
"version": "f48d7a23"
|
|
328
352
|
},
|
|
329
353
|
"importPath": "@happyvertical/smrt-messages"
|
|
330
354
|
},
|
|
@@ -1100,7 +1124,7 @@
|
|
|
1100
1124
|
],
|
|
1101
1125
|
"schema": {
|
|
1102
1126
|
"tableName": "accounts",
|
|
1103
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
1127
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
1104
1128
|
"columns": {
|
|
1105
1129
|
"_sync_origin_device_id": {
|
|
1106
1130
|
"type": "TEXT"
|
|
@@ -1209,6 +1233,23 @@
|
|
|
1209
1233
|
"type": "TEXT",
|
|
1210
1234
|
"notNull": false
|
|
1211
1235
|
},
|
|
1236
|
+
"backfill_since": {
|
|
1237
|
+
"type": "TIMESTAMP",
|
|
1238
|
+
"notNull": false
|
|
1239
|
+
},
|
|
1240
|
+
"cursor_horizon": {
|
|
1241
|
+
"type": "TIMESTAMP",
|
|
1242
|
+
"notNull": false
|
|
1243
|
+
},
|
|
1244
|
+
"last_sync_error": {
|
|
1245
|
+
"type": "TEXT",
|
|
1246
|
+
"notNull": false
|
|
1247
|
+
},
|
|
1248
|
+
"backlog": {
|
|
1249
|
+
"type": "BOOLEAN",
|
|
1250
|
+
"notNull": false,
|
|
1251
|
+
"default": false
|
|
1252
|
+
},
|
|
1212
1253
|
"workspace_id": {
|
|
1213
1254
|
"type": "TEXT",
|
|
1214
1255
|
"notNull": false
|
|
@@ -1263,6 +1304,13 @@
|
|
|
1263
1304
|
}
|
|
1264
1305
|
],
|
|
1265
1306
|
"checks": [
|
|
1307
|
+
{
|
|
1308
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
1309
|
+
"columns": [
|
|
1310
|
+
"backlog"
|
|
1311
|
+
],
|
|
1312
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
1313
|
+
},
|
|
1266
1314
|
{
|
|
1267
1315
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
1268
1316
|
"columns": [
|
|
@@ -1271,7 +1319,7 @@
|
|
|
1271
1319
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
1272
1320
|
}
|
|
1273
1321
|
],
|
|
1274
|
-
"version": "
|
|
1322
|
+
"version": "f48d7a23"
|
|
1275
1323
|
},
|
|
1276
1324
|
"importPath": "@happyvertical/smrt-messages"
|
|
1277
1325
|
},
|
|
@@ -5155,7 +5203,7 @@
|
|
|
5155
5203
|
],
|
|
5156
5204
|
"schema": {
|
|
5157
5205
|
"tableName": "accounts",
|
|
5158
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
5206
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
5159
5207
|
"columns": {
|
|
5160
5208
|
"_sync_origin_device_id": {
|
|
5161
5209
|
"type": "TEXT"
|
|
@@ -5264,6 +5312,23 @@
|
|
|
5264
5312
|
"type": "TEXT",
|
|
5265
5313
|
"notNull": false
|
|
5266
5314
|
},
|
|
5315
|
+
"backfill_since": {
|
|
5316
|
+
"type": "TIMESTAMP",
|
|
5317
|
+
"notNull": false
|
|
5318
|
+
},
|
|
5319
|
+
"cursor_horizon": {
|
|
5320
|
+
"type": "TIMESTAMP",
|
|
5321
|
+
"notNull": false
|
|
5322
|
+
},
|
|
5323
|
+
"last_sync_error": {
|
|
5324
|
+
"type": "TEXT",
|
|
5325
|
+
"notNull": false
|
|
5326
|
+
},
|
|
5327
|
+
"backlog": {
|
|
5328
|
+
"type": "BOOLEAN",
|
|
5329
|
+
"notNull": false,
|
|
5330
|
+
"default": false
|
|
5331
|
+
},
|
|
5267
5332
|
"workspace_id": {
|
|
5268
5333
|
"type": "TEXT",
|
|
5269
5334
|
"notNull": false
|
|
@@ -5318,6 +5383,13 @@
|
|
|
5318
5383
|
}
|
|
5319
5384
|
],
|
|
5320
5385
|
"checks": [
|
|
5386
|
+
{
|
|
5387
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
5388
|
+
"columns": [
|
|
5389
|
+
"backlog"
|
|
5390
|
+
],
|
|
5391
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
5392
|
+
},
|
|
5321
5393
|
{
|
|
5322
5394
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
5323
5395
|
"columns": [
|
|
@@ -5326,7 +5398,7 @@
|
|
|
5326
5398
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
5327
5399
|
}
|
|
5328
5400
|
],
|
|
5329
|
-
"version": "
|
|
5401
|
+
"version": "f48d7a23"
|
|
5330
5402
|
},
|
|
5331
5403
|
"importPath": "@happyvertical/smrt-messages"
|
|
5332
5404
|
},
|
|
@@ -7572,6 +7644,55 @@
|
|
|
7572
7644
|
"description": "Where the next mailbox check resumes.",
|
|
7573
7645
|
"sensitive": true,
|
|
7574
7646
|
"readonly": true
|
|
7647
|
+
},
|
|
7648
|
+
"backfillSince": {
|
|
7649
|
+
"type": "datetime",
|
|
7650
|
+
"_meta": {
|
|
7651
|
+
"__statedOptions": [
|
|
7652
|
+
"description"
|
|
7653
|
+
],
|
|
7654
|
+
"description": "Mail older than this date is not stored. Empty means the whole mailbox."
|
|
7655
|
+
},
|
|
7656
|
+
"required": false,
|
|
7657
|
+
"description": "Mail older than this date is not stored. Empty means the whole mailbox."
|
|
7658
|
+
},
|
|
7659
|
+
"cursorHorizon": {
|
|
7660
|
+
"type": "datetime",
|
|
7661
|
+
"_meta": {
|
|
7662
|
+
"__statedOptions": [
|
|
7663
|
+
"readonly",
|
|
7664
|
+
"description"
|
|
7665
|
+
],
|
|
7666
|
+
"description": "The backfill date the saved mailbox position was built under.",
|
|
7667
|
+
"readonly": true
|
|
7668
|
+
},
|
|
7669
|
+
"required": false,
|
|
7670
|
+
"description": "The backfill date the saved mailbox position was built under.",
|
|
7671
|
+
"readonly": true
|
|
7672
|
+
},
|
|
7673
|
+
"lastSyncError": {
|
|
7674
|
+
"type": "text",
|
|
7675
|
+
"_meta": {
|
|
7676
|
+
"__statedOptions": [
|
|
7677
|
+
"description"
|
|
7678
|
+
],
|
|
7679
|
+
"description": "Why the last mailbox check failed, if it did."
|
|
7680
|
+
},
|
|
7681
|
+
"required": false,
|
|
7682
|
+
"description": "Why the last mailbox check failed, if it did."
|
|
7683
|
+
},
|
|
7684
|
+
"backlog": {
|
|
7685
|
+
"type": "boolean",
|
|
7686
|
+
"_meta": {
|
|
7687
|
+
"__statedOptions": [
|
|
7688
|
+
"description",
|
|
7689
|
+
"default"
|
|
7690
|
+
],
|
|
7691
|
+
"description": "Whether more mail was still waiting after the last check."
|
|
7692
|
+
},
|
|
7693
|
+
"required": true,
|
|
7694
|
+
"default": false,
|
|
7695
|
+
"description": "Whether more mail was still waiting after the last check."
|
|
7575
7696
|
}
|
|
7576
7697
|
},
|
|
7577
7698
|
"methods": {
|
|
@@ -7898,11 +8019,16 @@
|
|
|
7898
8019
|
"field": "syncIntervalMinutes",
|
|
7899
8020
|
"rule": "required",
|
|
7900
8021
|
"fieldType": "integer"
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
"field": "backlog",
|
|
8025
|
+
"rule": "required",
|
|
8026
|
+
"fieldType": "boolean"
|
|
7901
8027
|
}
|
|
7902
8028
|
],
|
|
7903
8029
|
"schema": {
|
|
7904
8030
|
"tableName": "accounts",
|
|
7905
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
8031
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
7906
8032
|
"columns": {
|
|
7907
8033
|
"_sync_origin_device_id": {
|
|
7908
8034
|
"type": "TEXT"
|
|
@@ -8011,6 +8137,23 @@
|
|
|
8011
8137
|
"type": "TEXT",
|
|
8012
8138
|
"notNull": false
|
|
8013
8139
|
},
|
|
8140
|
+
"backfill_since": {
|
|
8141
|
+
"type": "TIMESTAMP",
|
|
8142
|
+
"notNull": false
|
|
8143
|
+
},
|
|
8144
|
+
"cursor_horizon": {
|
|
8145
|
+
"type": "TIMESTAMP",
|
|
8146
|
+
"notNull": false
|
|
8147
|
+
},
|
|
8148
|
+
"last_sync_error": {
|
|
8149
|
+
"type": "TEXT",
|
|
8150
|
+
"notNull": false
|
|
8151
|
+
},
|
|
8152
|
+
"backlog": {
|
|
8153
|
+
"type": "BOOLEAN",
|
|
8154
|
+
"notNull": false,
|
|
8155
|
+
"default": false
|
|
8156
|
+
},
|
|
8014
8157
|
"workspace_id": {
|
|
8015
8158
|
"type": "TEXT",
|
|
8016
8159
|
"notNull": false
|
|
@@ -8065,6 +8208,13 @@
|
|
|
8065
8208
|
}
|
|
8066
8209
|
],
|
|
8067
8210
|
"checks": [
|
|
8211
|
+
{
|
|
8212
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
8213
|
+
"columns": [
|
|
8214
|
+
"backlog"
|
|
8215
|
+
],
|
|
8216
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
8217
|
+
},
|
|
8068
8218
|
{
|
|
8069
8219
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
8070
8220
|
"columns": [
|
|
@@ -8073,7 +8223,7 @@
|
|
|
8073
8223
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
8074
8224
|
}
|
|
8075
8225
|
],
|
|
8076
|
-
"version": "
|
|
8226
|
+
"version": "f48d7a23"
|
|
8077
8227
|
},
|
|
8078
8228
|
"importPath": "@happyvertical/smrt-messages"
|
|
8079
8229
|
},
|
|
@@ -11974,7 +12124,7 @@
|
|
|
11974
12124
|
],
|
|
11975
12125
|
"schema": {
|
|
11976
12126
|
"tableName": "accounts",
|
|
11977
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
12127
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
11978
12128
|
"columns": {
|
|
11979
12129
|
"_sync_origin_device_id": {
|
|
11980
12130
|
"type": "TEXT"
|
|
@@ -12083,6 +12233,23 @@
|
|
|
12083
12233
|
"type": "TEXT",
|
|
12084
12234
|
"notNull": false
|
|
12085
12235
|
},
|
|
12236
|
+
"backfill_since": {
|
|
12237
|
+
"type": "TIMESTAMP",
|
|
12238
|
+
"notNull": false
|
|
12239
|
+
},
|
|
12240
|
+
"cursor_horizon": {
|
|
12241
|
+
"type": "TIMESTAMP",
|
|
12242
|
+
"notNull": false
|
|
12243
|
+
},
|
|
12244
|
+
"last_sync_error": {
|
|
12245
|
+
"type": "TEXT",
|
|
12246
|
+
"notNull": false
|
|
12247
|
+
},
|
|
12248
|
+
"backlog": {
|
|
12249
|
+
"type": "BOOLEAN",
|
|
12250
|
+
"notNull": false,
|
|
12251
|
+
"default": false
|
|
12252
|
+
},
|
|
12086
12253
|
"workspace_id": {
|
|
12087
12254
|
"type": "TEXT",
|
|
12088
12255
|
"notNull": false
|
|
@@ -12137,6 +12304,13 @@
|
|
|
12137
12304
|
}
|
|
12138
12305
|
],
|
|
12139
12306
|
"checks": [
|
|
12307
|
+
{
|
|
12308
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
12309
|
+
"columns": [
|
|
12310
|
+
"backlog"
|
|
12311
|
+
],
|
|
12312
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
12313
|
+
},
|
|
12140
12314
|
{
|
|
12141
12315
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
12142
12316
|
"columns": [
|
|
@@ -12145,7 +12319,7 @@
|
|
|
12145
12319
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
12146
12320
|
}
|
|
12147
12321
|
],
|
|
12148
|
-
"version": "
|
|
12322
|
+
"version": "f48d7a23"
|
|
12149
12323
|
},
|
|
12150
12324
|
"importPath": "@happyvertical/smrt-messages"
|
|
12151
12325
|
},
|
|
@@ -13740,7 +13914,7 @@
|
|
|
13740
13914
|
],
|
|
13741
13915
|
"schema": {
|
|
13742
13916
|
"tableName": "accounts",
|
|
13743
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
13917
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
13744
13918
|
"columns": {
|
|
13745
13919
|
"_sync_origin_device_id": {
|
|
13746
13920
|
"type": "TEXT"
|
|
@@ -13849,6 +14023,23 @@
|
|
|
13849
14023
|
"type": "TEXT",
|
|
13850
14024
|
"notNull": false
|
|
13851
14025
|
},
|
|
14026
|
+
"backfill_since": {
|
|
14027
|
+
"type": "TIMESTAMP",
|
|
14028
|
+
"notNull": false
|
|
14029
|
+
},
|
|
14030
|
+
"cursor_horizon": {
|
|
14031
|
+
"type": "TIMESTAMP",
|
|
14032
|
+
"notNull": false
|
|
14033
|
+
},
|
|
14034
|
+
"last_sync_error": {
|
|
14035
|
+
"type": "TEXT",
|
|
14036
|
+
"notNull": false
|
|
14037
|
+
},
|
|
14038
|
+
"backlog": {
|
|
14039
|
+
"type": "BOOLEAN",
|
|
14040
|
+
"notNull": false,
|
|
14041
|
+
"default": false
|
|
14042
|
+
},
|
|
13852
14043
|
"workspace_id": {
|
|
13853
14044
|
"type": "TEXT",
|
|
13854
14045
|
"notNull": false
|
|
@@ -13903,6 +14094,13 @@
|
|
|
13903
14094
|
}
|
|
13904
14095
|
],
|
|
13905
14096
|
"checks": [
|
|
14097
|
+
{
|
|
14098
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
14099
|
+
"columns": [
|
|
14100
|
+
"backlog"
|
|
14101
|
+
],
|
|
14102
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
14103
|
+
},
|
|
13906
14104
|
{
|
|
13907
14105
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
13908
14106
|
"columns": [
|
|
@@ -13911,7 +14109,7 @@
|
|
|
13911
14109
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
13912
14110
|
}
|
|
13913
14111
|
],
|
|
13914
|
-
"version": "
|
|
14112
|
+
"version": "f48d7a23"
|
|
13915
14113
|
},
|
|
13916
14114
|
"importPath": "@happyvertical/smrt-messages"
|
|
13917
14115
|
},
|
|
@@ -15528,7 +15726,7 @@
|
|
|
15528
15726
|
],
|
|
15529
15727
|
"schema": {
|
|
15530
15728
|
"tableName": "accounts",
|
|
15531
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
15729
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
15532
15730
|
"columns": {
|
|
15533
15731
|
"_sync_origin_device_id": {
|
|
15534
15732
|
"type": "TEXT"
|
|
@@ -15637,6 +15835,23 @@
|
|
|
15637
15835
|
"type": "TEXT",
|
|
15638
15836
|
"notNull": false
|
|
15639
15837
|
},
|
|
15838
|
+
"backfill_since": {
|
|
15839
|
+
"type": "TIMESTAMP",
|
|
15840
|
+
"notNull": false
|
|
15841
|
+
},
|
|
15842
|
+
"cursor_horizon": {
|
|
15843
|
+
"type": "TIMESTAMP",
|
|
15844
|
+
"notNull": false
|
|
15845
|
+
},
|
|
15846
|
+
"last_sync_error": {
|
|
15847
|
+
"type": "TEXT",
|
|
15848
|
+
"notNull": false
|
|
15849
|
+
},
|
|
15850
|
+
"backlog": {
|
|
15851
|
+
"type": "BOOLEAN",
|
|
15852
|
+
"notNull": false,
|
|
15853
|
+
"default": false
|
|
15854
|
+
},
|
|
15640
15855
|
"workspace_id": {
|
|
15641
15856
|
"type": "TEXT",
|
|
15642
15857
|
"notNull": false
|
|
@@ -15691,6 +15906,13 @@
|
|
|
15691
15906
|
}
|
|
15692
15907
|
],
|
|
15693
15908
|
"checks": [
|
|
15909
|
+
{
|
|
15910
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
15911
|
+
"columns": [
|
|
15912
|
+
"backlog"
|
|
15913
|
+
],
|
|
15914
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
15915
|
+
},
|
|
15694
15916
|
{
|
|
15695
15917
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
15696
15918
|
"columns": [
|
|
@@ -15699,7 +15921,7 @@
|
|
|
15699
15921
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
15700
15922
|
}
|
|
15701
15923
|
],
|
|
15702
|
-
"version": "
|
|
15924
|
+
"version": "f48d7a23"
|
|
15703
15925
|
},
|
|
15704
15926
|
"importPath": "@happyvertical/smrt-messages"
|
|
15705
15927
|
},
|
|
@@ -16577,7 +16799,7 @@
|
|
|
16577
16799
|
],
|
|
16578
16800
|
"schema": {
|
|
16579
16801
|
"tableName": "accounts",
|
|
16580
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
16802
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"accounts\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT,\n \"provider_type\" TEXT,\n \"channel_type\" TEXT,\n \"credential_secret_id\" TEXT,\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"owner_user_id\" UUID,\n \"label\" TEXT,\n \"connection_status\" TEXT,\n \"status_message\" TEXT,\n \"last_sync_at\" TIMESTAMP,\n \"settings\" TEXT,\n \"configuration\" TEXT,\n \"email\" TEXT,\n \"sync_interval_minutes\" INTEGER DEFAULT 60,\n \"sync_cursor\" TEXT,\n \"backfill_since\" TIMESTAMP,\n \"cursor_horizon\" TIMESTAMP,\n \"last_sync_error\" TEXT,\n \"backlog\" BOOLEAN DEFAULT FALSE,\n \"workspace_id\" TEXT,\n \"workspace_name\" TEXT,\n \"bot_user_id\" TEXT,\n \"handle\" TEXT,\n \"twitter_user_id\" TEXT\n);",
|
|
16581
16803
|
"columns": {
|
|
16582
16804
|
"_sync_origin_device_id": {
|
|
16583
16805
|
"type": "TEXT"
|
|
@@ -16686,6 +16908,23 @@
|
|
|
16686
16908
|
"type": "TEXT",
|
|
16687
16909
|
"notNull": false
|
|
16688
16910
|
},
|
|
16911
|
+
"backfill_since": {
|
|
16912
|
+
"type": "TIMESTAMP",
|
|
16913
|
+
"notNull": false
|
|
16914
|
+
},
|
|
16915
|
+
"cursor_horizon": {
|
|
16916
|
+
"type": "TIMESTAMP",
|
|
16917
|
+
"notNull": false
|
|
16918
|
+
},
|
|
16919
|
+
"last_sync_error": {
|
|
16920
|
+
"type": "TEXT",
|
|
16921
|
+
"notNull": false
|
|
16922
|
+
},
|
|
16923
|
+
"backlog": {
|
|
16924
|
+
"type": "BOOLEAN",
|
|
16925
|
+
"notNull": false,
|
|
16926
|
+
"default": false
|
|
16927
|
+
},
|
|
16689
16928
|
"workspace_id": {
|
|
16690
16929
|
"type": "TEXT",
|
|
16691
16930
|
"notNull": false
|
|
@@ -16740,6 +16979,13 @@
|
|
|
16740
16979
|
}
|
|
16741
16980
|
],
|
|
16742
16981
|
"checks": [
|
|
16982
|
+
{
|
|
16983
|
+
"name": "smrt_ck_81229bbfe8e3",
|
|
16984
|
+
"columns": [
|
|
16985
|
+
"backlog"
|
|
16986
|
+
],
|
|
16987
|
+
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"backlog\" IS NOT NULL"
|
|
16988
|
+
},
|
|
16743
16989
|
{
|
|
16744
16990
|
"name": "smrt_ck_1f9c5f0ee488",
|
|
16745
16991
|
"columns": [
|
|
@@ -16748,7 +16994,7 @@
|
|
|
16748
16994
|
"expression": "_meta_type NOT IN ('@happyvertical/smrt-messages:EmailAccount') OR \"sync_interval_minutes\" IS NOT NULL"
|
|
16749
16995
|
}
|
|
16750
16996
|
],
|
|
16751
|
-
"version": "
|
|
16997
|
+
"version": "f48d7a23"
|
|
16752
16998
|
},
|
|
16753
16999
|
"importPath": "@happyvertical/smrt-messages"
|
|
16754
17000
|
}
|
|
@@ -17234,6 +17480,6 @@
|
|
|
17234
17480
|
"@happyvertical/smrt-users"
|
|
17235
17481
|
]
|
|
17236
17482
|
},
|
|
17237
|
-
"schemaFingerprint": "
|
|
17483
|
+
"schemaFingerprint": "d64b9eaef506b9ae1c64ad7f6e10f1cba78507606dc1dad60a5eb5eb594849b6",
|
|
17238
17484
|
"stampsConstructors": true
|
|
17239
17485
|
}
|
|
@@ -19,6 +19,30 @@ export declare class EmailAccount extends Account {
|
|
|
19
19
|
* with a full pass. Internal state: never exposed over generated surfaces.
|
|
20
20
|
*/
|
|
21
21
|
syncCursor: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Backfill horizon. When set, sync stores no message dated before this
|
|
24
|
+
* moment unless it is already stored (mail with no date is always kept).
|
|
25
|
+
* Null (the default) means the whole mailbox. Applied while syncing: the
|
|
26
|
+
* change feed itself cannot filter by date, so the server still sends the
|
|
27
|
+
* older mail and it is dropped before storage.
|
|
28
|
+
*/
|
|
29
|
+
backfillSince: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The backfill horizon `syncCursor` was built under (null: unbounded, also
|
|
32
|
+
* every cursor saved before horizons existed). A run whose horizon reaches
|
|
33
|
+
* further back, or is cleared, discards the cursor and runs a full pass so
|
|
34
|
+
* the older mail is fetched. Internal state.
|
|
35
|
+
*/
|
|
36
|
+
cursorHorizon: Date | null;
|
|
37
|
+
/**
|
|
38
|
+
* Why the last sync run failed, in plain words. Written on any failed run
|
|
39
|
+
* (including sign-in refusals, which also set `needs_reconnect`) and cleared
|
|
40
|
+
* by the next successful run. A transient failure never changes
|
|
41
|
+
* `connectionStatus`.
|
|
42
|
+
*/
|
|
43
|
+
lastSyncError: string | null;
|
|
44
|
+
/** True when the last successful run stopped with more changes waiting. */
|
|
45
|
+
backlog: boolean;
|
|
22
46
|
constructor(options?: EmailAccountOptions);
|
|
23
47
|
/**
|
|
24
48
|
* Options for child rows (folders/emails) created during sync: carries the DB
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailAccount.d.ts","sourceRoot":"","sources":["../../src/models/EmailAccount.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,yBAAyB,CAAC;AAIjC,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EAEtB,WAAW,EACX,UAAU,EACX,MAAM,aAAU,CAAC;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAW,CAAC;AAEpC,uEAAuE;AACvE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAOzD;AAED,qBAMa,YAAa,SAAQ,OAAO;IAEvC,KAAK,SAAM;IAIX,mBAAmB,SAAM;IACzB;;;;OAIG;IAMH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;
|
|
1
|
+
{"version":3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