oro-sdk-apis 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.50.0",
2
+ "version": "1.51.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -69,6 +69,12 @@ export interface LanguagePickerData extends ChoiceInputData {
69
69
  locale: string
70
70
  }
71
71
 
72
+ export interface TileRadioData extends ChoiceInputData {
73
+ fullText?: string
74
+ image?: string
75
+ description?: string
76
+ }
77
+
72
78
  export interface EntryData {
73
79
  id?: number
74
80
  label?: string
@@ -181,6 +187,7 @@ export interface GenericQuestionData<T, A = IndexedData<ChoiceInputData>, O = un
181
187
  * Options to forward to the workflow component
182
188
  */
183
189
  options?: O
190
+ messages?: string
184
191
  }
185
192
 
186
193
  export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>> extends GenericQuestionData<T, A> {
@@ -213,6 +220,7 @@ export declare type QuestionData =
213
220
  >
214
221
  | GroupedGenericQuestionData<'radio-card' | 'profile-selector', IndexedData<RadioCardInputData>>
215
222
  | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>
223
+ | GroupedGenericQuestionData<'tile-radio', IndexedData<TileRadioData>>
216
224
 
217
225
  export interface FieldData {
218
226
  type: 'field'
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 ORO Health Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.