mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(algolia): register subblock-id migration for listPage/listHitsPerPage
CI's subblock-id stability check correctly flagged that consolidating list_indices pagination into the shared page/hitsPerPage fields would silently drop values from already-deployed workflows. Add the rename mapping so existing saved state migrates instead of being lost.
This commit is contained in:
@@ -26,6 +26,10 @@ export const SUBBLOCK_ID_MIGRATIONS: Record<string, Record<string, string>> = {
|
||||
knowledge: {
|
||||
knowledgeBaseId: 'knowledgeBaseSelector',
|
||||
},
|
||||
algolia: {
|
||||
listPage: 'page',
|
||||
listHitsPerPage: 'hitsPerPage',
|
||||
},
|
||||
kalshi: {
|
||||
settlementStatus: '_removed_settlementStatus',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user