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
+316 -2

No files matched your search

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