Skip to content

Commit 3784c3a

Browse files
monikakusterivicac
authored andcommitted
3178 client - generated
1 parent 82230ec commit 3784c3a

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

client/src/shared/middleware/platform/configuration/docs/StringProperty.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type
1515
`regex` | string
1616
`options` | [Array<Option>](Option.md)
1717
`optionsDataSource` | [OptionsDataSource](OptionsDataSource.md)
18+
`optionsLoadedDynamically` | boolean
1819

1920
## Example
2021

@@ -31,6 +32,7 @@ const example = {
3132
"regex": null,
3233
"options": null,
3334
"optionsDataSource": null,
35+
"optionsLoadedDynamically": null,
3436
} satisfies StringProperty
3537

3638
console.log(example)

client/src/shared/middleware/platform/configuration/models/StringProperty.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ export interface StringProperty extends ValueProperty {
103103
* @memberof StringProperty
104104
*/
105105
optionsDataSource?: OptionsDataSource;
106+
/**
107+
* If the property options should be loaded dynamically.
108+
* @type {boolean}
109+
* @memberof StringProperty
110+
*/
111+
optionsLoadedDynamically?: boolean;
106112
}
107113

108114

@@ -132,6 +138,7 @@ export function StringPropertyFromJSONTyped(json: any, ignoreDiscriminator: bool
132138
'regex': json['regex'] == null ? undefined : json['regex'],
133139
'options': json['options'] == null ? undefined : ((json['options'] as Array<any>).map(OptionFromJSON)),
134140
'optionsDataSource': json['optionsDataSource'] == null ? undefined : OptionsDataSourceFromJSON(json['optionsDataSource']),
141+
'optionsLoadedDynamically': json['optionsLoadedDynamically'] == null ? undefined : json['optionsLoadedDynamically'],
135142
};
136143
}
137144

@@ -154,6 +161,7 @@ export function StringPropertyToJSONTyped(value?: StringProperty | null, ignoreD
154161
'regex': value['regex'],
155162
'options': value['options'] == null ? undefined : ((value['options'] as Array<any>).map(OptionToJSON)),
156163
'optionsDataSource': OptionsDataSourceToJSON(value['optionsDataSource']),
164+
'optionsLoadedDynamically': value['optionsLoadedDynamically'],
157165
};
158166
}
159167

0 commit comments

Comments
 (0)