Search for existing Blocks keys (dedup check)
search_keysDetect duplicate translation keys before upload by checking exact key names and identical English text under alternate names, enabling reuse of existing keys.
Instructions
Checks each key two ways before you upload it, no login required (public GetUilmFile endpoint): (1) exact KeyName match, and (2) same English text under a DIFFERENT KeyName (trimmed, case-insensitive) — catches e.g. adding "APP_X.SUBMIT" = "Submit" when "SUBMIT_TEXT" already = "Submit" elsewhere, so you reuse the existing key instead of creating a duplicate string. Checks the target module plus any modules in BLOCKS_DEDUP_MODULES (none by default). Pass extraModuleNames to widen it — e.g. shared modules that keys commonly leak into/from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| extraModuleNames | No | Additional module names to check beyond the target module and BLOCKS_DEDUP_MODULES. | |
| targetModuleName | Yes | Module name being worked on, e.g. "app-survey" (not a ModuleId). |