add timestamps

This commit is contained in:
Philipinho
2026-01-27 16:49:22 +00:00
parent 6ccb2bb872
commit 3523600f40
3 changed files with 10 additions and 0 deletions
@@ -167,6 +167,8 @@ export class ExportService {
'pages.parentPageId',
'pages.spaceId',
'pages.workspaceId',
'pages.createdAt',
'pages.updatedAt',
])
.where('spaceId', '=', spaceId)
.where('deletedAt', 'is', null)
@@ -253,6 +255,8 @@ export class ExportService {
icon: page.icon ?? null,
position: page.position,
parentPath,
createdAt: page.createdAt?.toISOString() ?? new Date().toISOString(),
updatedAt: page.updatedAt?.toISOString() ?? new Date().toISOString(),
};
if (childPages.length > 0) {