Skip to content

Commit 215500e

Browse files
cemreyukselclaude
andcommitted
feat: add LocaleVariableConfiguration type for Source/Target locale
Locale variables support a configuration.localeType field with values "Target" or "Source" to distinguish output locale from input locale. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b4b25f1 commit 215500e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/entities/ai-action.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ export type ReferenceVariableConfiguration = {
2222
allowedEntities: Array<'Entry'>
2323
}
2424

25+
export type LocaleVariableConfiguration = {
26+
localeType: 'Target' | 'Source'
27+
}
28+
2529
export type VariableConfiguration =
2630
| {
2731
strict: boolean
2832
in: Array<string>
2933
}
3034
| ReferenceVariableConfiguration
35+
| LocaleVariableConfiguration
3136

3237
export type Variable = {
3338
configuration?: VariableConfiguration

0 commit comments

Comments
 (0)