refactor(base): rename baseId to pageId in csv-export and page-resolver services

This commit is contained in:
Philipinho
2026-04-27 01:21:07 +01:00
parent 42f950e11d
commit 16161d793b
@@ -40,9 +40,9 @@ export class BaseCsvExportService {
throw new NotFoundException('Base not found');
}
const properties = await this.basePropertyRepo.findByBaseId(baseId);
const properties = await this.basePropertyRepo.findByPageId(baseId);
const fileName = sanitize(base.name || 'base') + '.csv';
const fileName = sanitize(base.title || 'base') + '.csv';
const stringifier = stringify({
header: true,
@@ -85,7 +85,7 @@ export class BaseCsvExportService {
});
try {
for await (const chunk of this.baseRowRepo.streamByBaseId(baseId, {
for await (const chunk of this.baseRowRepo.streamByPageId(baseId, {
workspaceId,
chunkSize: CHUNK_SIZE,
})) {