feat: add organizeSql option for organized catalog_pages with English captions
This commit is contained in:
1 parent
2ee5ba5c4c
commit
04b84e6055
2 files changed
+320
-6
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user