feat: add organizeSql option for organized catalog_pages with English captions
CI / check (push) Successful in 24s
CI / release (push) Skipped
CI / deploy (push) Successful in 44s

This commit is contained in:
openhands committed 2026-08-04 16:43:53 +02:00
1 parent 2ee5ba5c4c
commit 04b84e6055
2 files changed
+320 -6

No files matched your search

+5 -1
View File
@@ -125,6 +125,7 @@ export interface CatalogAuditOptions {
repairNitros?: boolean;
sql?: boolean;
applySql?: boolean;
organizeSql?: boolean;
repairFurniData?: boolean;
repairStructure?: boolean;
}
@@ -316,6 +317,7 @@ export async function runCatalogAudit(
classname: item.item_name,
itemId: item.id,
itemType: item.type,
publicName: item.public_name,
});
}
}
@@ -652,7 +654,9 @@ export async function runCatalogAudit(
message: `Generating catalog SQL for ${missingCatalogEntries.length} items…`,
});
try {
const result = await generateCatalogSql(missingCatalogEntries);
const result = await generateCatalogSql(missingCatalogEntries, {
organizeSql: options?.organizeSql,
});
catalogSqlCount = result.count;
onEvent?.({
type: "sql_ready",