diff options
Diffstat (limited to 'lib/swp/actions.ts')
| -rw-r--r-- | lib/swp/actions.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/swp/actions.ts b/lib/swp/actions.ts index f58793e2..1faa69db 100644 --- a/lib/swp/actions.ts +++ b/lib/swp/actions.ts @@ -39,6 +39,7 @@ export interface SwpDocumentWithStats { CPY_NM: string | null; LTST_REV_NO: string | null; STAGE: string | null; + LTST_ACTV_STAT: string | null; sync_status: "synced" | "pending" | "error"; last_synced_at: Date; revision_count: number; @@ -107,6 +108,7 @@ export async function fetchSwpDocuments(params: SwpTableParams) { CPY_NM: swpDocuments.CPY_NM, LTST_REV_NO: swpDocuments.LTST_REV_NO, STAGE: swpDocuments.STAGE, + LTST_ACTV_STAT: swpDocuments.LTST_ACTV_STAT, sync_status: swpDocuments.sync_status, last_synced_at: swpDocuments.last_synced_at, revision_count: sql<number>`COUNT(DISTINCT ${swpDocumentRevisions.id})::int`, @@ -126,6 +128,7 @@ export async function fetchSwpDocuments(params: SwpTableParams) { swpDocuments.CPY_NM, swpDocuments.LTST_REV_NO, swpDocuments.STAGE, + swpDocuments.LTST_ACTV_STAT, swpDocuments.sync_status, swpDocuments.last_synced_at ) |
