@remit/drizzle-service 0.0.25 → 0.0.26
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/package.json
CHANGED
|
@@ -122,6 +122,7 @@ function toItem(row: Row): ThreadMessageItem {
|
|
|
122
122
|
...(row.fromName !== null ? { fromName: row.fromName } : {}),
|
|
123
123
|
...(row.subject !== null ? { subject: row.subject } : {}),
|
|
124
124
|
...(row.snippet !== null ? { snippet: row.snippet } : {}),
|
|
125
|
+
...(row.listId !== null ? { listId: row.listId } : {}),
|
|
125
126
|
};
|
|
126
127
|
}
|
|
127
128
|
|
|
@@ -237,6 +238,7 @@ export class DrizzleThreadMessageRepository
|
|
|
237
238
|
fromName: input.fromName ?? null,
|
|
238
239
|
subject: input.subject ?? null,
|
|
239
240
|
snippet: input.snippet ?? null,
|
|
241
|
+
listId: input.listId ?? null,
|
|
240
242
|
createdAt: now,
|
|
241
243
|
updatedAt: now,
|
|
242
244
|
};
|
|
@@ -321,6 +323,7 @@ export class DrizzleThreadMessageRepository
|
|
|
321
323
|
if (input.star !== undefined) set.star = input.star;
|
|
322
324
|
if (input.category !== undefined) set.category = input.category;
|
|
323
325
|
if (input.subject !== undefined) set.subject = input.subject;
|
|
326
|
+
if (input.listId !== undefined) set.listId = input.listId;
|
|
324
327
|
if (input.fromEmail !== undefined) set.fromEmail = input.fromEmail;
|
|
325
328
|
if (input.fromName !== undefined) set.fromName = input.fromName;
|
|
326
329
|
if (input.snippet !== undefined) set.snippet = input.snippet;
|