Skip to content

Commit

Permalink
feat: indicate support for location based variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 25, 2024
1 parent d11392e commit b8a3d06
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/module-api/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,14 @@ export interface CompanionInputFieldTextInput extends CompanionInputFieldBase {
regex?: string
/**
* Whether to suggest variables to the user
* This can either be a boolean for minimal support, or an object defining additional values
*/
useVariables?: boolean
useVariables?: boolean | CompanionFieldVariablesSupport
}

export interface CompanionFieldVariablesSupport {
/** Whether to include location based variables */
locationBased?: boolean
}

export type DropdownChoiceId = string | number
Expand Down

0 comments on commit b8a3d06

Please sign in to comment.