Skip to content

Commit

Permalink
fix: export ParameterType and ParameterOption [EXT-5252] (#2323)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjolton-contentful committed Jun 17, 2024
1 parent 35ec47e commit a24c6d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/entities/widget-parameters.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type ParameterType = 'Boolean' | 'Symbol' | 'Number' | 'Enum'
export type ParameterType = 'Boolean' | 'Symbol' | 'Number' | 'Enum'
export type InstallationParameterType = ParameterType | 'Secret'
type ParameterOption = string | { [key: string]: string }
export type ParameterOption = string | { [key: string]: string }

export interface ParameterDefinition<T = ParameterType> {
name: string
Expand Down
2 changes: 2 additions & 0 deletions lib/export-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ export type {
DefinedParameters,
FreeFormParameters,
ParameterDefinition,
ParameterOption,
ParameterType,
InstallationParameterType,
} from './entities/widget-parameters'
export type {
Expand Down

0 comments on commit a24c6d4

Please sign in to comment.