@beinformed/ui 1.33.0-beta.4 → 1.33.0-beta.6

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/esm/models/filters/BaseFilterModel.js +21 -0
  3. package/esm/models/filters/BaseFilterModel.js.map +1 -1
  4. package/esm/models/filters/StringFilterModel.js +36 -13
  5. package/esm/models/filters/StringFilterModel.js.map +1 -1
  6. package/lib/models/filters/BaseFilterModel.js +21 -0
  7. package/lib/models/filters/BaseFilterModel.js.flow +21 -0
  8. package/lib/models/filters/BaseFilterModel.js.map +1 -1
  9. package/lib/models/filters/StringFilterModel.js +36 -13
  10. package/lib/models/filters/StringFilterModel.js.flow +43 -14
  11. package/lib/models/filters/StringFilterModel.js.map +1 -1
  12. package/lib/models/filters/__tests__/FilterModel.spec.js.flow +2 -2
  13. package/lib/models/filters/__tests__/ZipcodeFilter.spec.js.flow +31 -13
  14. package/package.json +1 -1
  15. package/src/models/filters/BaseFilterModel.js +21 -0
  16. package/src/models/filters/StringFilterModel.js +43 -14
  17. package/src/models/filters/__tests__/FilterModel.spec.js +2 -2
  18. package/src/models/filters/__tests__/ZipcodeFilter.spec.js +31 -13
  19. package/types/constants/Constants.d.ts +11 -11
  20. package/types/constants/LayoutHintConfig.d.ts +75 -75
  21. package/types/hooks/useI18n.d.ts +4 -0
  22. package/types/i18n/index.d.ts +1 -1
  23. package/types/i18n/languages.d.ts +196 -196
  24. package/types/models/attributes/BooleanAttributeModel.d.ts +0 -1
  25. package/types/models/attributes/ChoiceAttributeModel.d.ts +0 -1
  26. package/types/models/attributes/ChoiceAttributeOptionModel.d.ts +5 -0
  27. package/types/models/attributes/CompositeAttributeModel.d.ts +0 -5
  28. package/types/models/attributes/DatetimeAttributeModel.d.ts +1 -6
  29. package/types/models/attributes/layouthint-rules/BaseLayoutHintRule.d.ts +0 -1
  30. package/types/models/filters/BaseFilterModel.d.ts +16 -0
  31. package/types/models/filters/StringFilterModel.d.ts +15 -0
  32. package/types/models/form/FormModel.d.ts +0 -2
  33. package/types/models/form/FormObjectModel.d.ts +1 -1
  34. package/types/models/href/Href.d.ts +1 -1
  35. package/types/models/index.d.ts +1 -1
  36. package/types/models/layouthint/LayoutHintCollection.d.ts +4 -4
  37. package/types/models/sorting/SortingModel.d.ts +1 -1
  38. package/types/modularui/UploadRequest.d.ts +2 -2
  39. package/types/utils/index.d.ts +1 -1
@@ -7,3 +7,7 @@ export function useMessage(id: string, defaultMessage?: string, placeholders?: O
7
7
  /**
8
8
  */
9
9
  export function useLocale(): string;
10
+ /**
11
+ * Retrieve all available locale codes
12
+ */
13
+ export function useLocaleCodes(): Array<string>;
@@ -1,5 +1,5 @@
1
1
  export { default as Message } from "./Message";
2
2
  export { default as withMessage } from "./withMessage";
3
- export * from "./types";
3
+ export type * from "./types";
4
4
  export { default as Locales, availableLocales, createLocalesWithConfiguredErrors } from "./Locales";
5
5
  export { useMessage, useTranslate } from "../hooks/useI18n";
@@ -1,215 +1,215 @@
1
1
  export default languages;
2
2
  declare namespace languages {
3
3
  namespace attribute {
4
- const name: number;
5
- const nativeName: number;
4
+ let name: number;
5
+ let nativeName: number;
6
6
  }
7
7
  namespace rtl {
8
- const ar: number;
9
- const dv: number;
10
- const fa: number;
11
- const ha: number;
12
- const he: number;
13
- const ks: number;
14
- const ku: number;
15
- const ps: number;
16
- const ur: number;
17
- const yi: number;
8
+ let ar: number;
9
+ let dv: number;
10
+ let fa: number;
11
+ let ha: number;
12
+ let he: number;
13
+ let ks: number;
14
+ let ku: number;
15
+ let ps: number;
16
+ let ur: number;
17
+ let yi: number;
18
18
  }
19
19
  namespace lang {
20
- export const aa: string[];
21
- export const ab: string[];
22
- export const af: string[];
23
- export const ak: string[];
24
- export const am: string[];
25
- export const an: string[];
26
- const ar_1: string[];
20
+ export let aa: string[];
21
+ export let ab: string[];
22
+ export let af: string[];
23
+ export let ak: string[];
24
+ export let am: string[];
25
+ export let an: string[];
26
+ let ar_1: string[];
27
27
  export { ar_1 as ar };
28
- export const as: string[];
29
- export const av: string[];
30
- export const ay: string[];
31
- export const az: string[];
32
- export const ba: string[];
33
- export const be: string[];
34
- export const bg: string[];
35
- export const bh: string[];
36
- export const bi: string[];
37
- export const bm: string[];
38
- export const bn: string[];
39
- export const bo: string[];
40
- export const br: string[];
41
- export const bs: string[];
42
- export const ca: string[];
43
- export const ce: string[];
44
- export const ch: string[];
45
- export const co: string[];
46
- export const cr: string[];
47
- export const cs: string[];
48
- export const cu: string[];
49
- export const cv: string[];
50
- export const cy: string[];
51
- export const da: string[];
52
- export const de: string[];
53
- const dv_1: string[];
28
+ export let as: string[];
29
+ export let av: string[];
30
+ export let ay: string[];
31
+ export let az: string[];
32
+ export let ba: string[];
33
+ export let be: string[];
34
+ export let bg: string[];
35
+ export let bh: string[];
36
+ export let bi: string[];
37
+ export let bm: string[];
38
+ export let bn: string[];
39
+ export let bo: string[];
40
+ export let br: string[];
41
+ export let bs: string[];
42
+ export let ca: string[];
43
+ export let ce: string[];
44
+ export let ch: string[];
45
+ export let co: string[];
46
+ export let cr: string[];
47
+ export let cs: string[];
48
+ export let cu: string[];
49
+ export let cv: string[];
50
+ export let cy: string[];
51
+ export let da: string[];
52
+ export let de: string[];
53
+ let dv_1: string[];
54
54
  export { dv_1 as dv };
55
- export const dz: string[];
56
- export const ee: string[];
57
- export const el: string[];
58
- export const en: string[];
59
- export const eo: string[];
60
- export const es: string[];
61
- export const et: string[];
62
- export const eu: string[];
63
- const fa_1: string[];
55
+ export let dz: string[];
56
+ export let ee: string[];
57
+ export let el: string[];
58
+ export let en: string[];
59
+ export let eo: string[];
60
+ export let es: string[];
61
+ export let et: string[];
62
+ export let eu: string[];
63
+ let fa_1: string[];
64
64
  export { fa_1 as fa };
65
- export const ff: string[];
66
- export const fi: string[];
67
- export const fj: string[];
68
- export const fo: string[];
69
- export const fr: string[];
70
- export const fy: string[];
71
- export const ga: string[];
72
- export const gd: string[];
73
- export const gl: string[];
74
- export const gn: string[];
75
- export const gu: string[];
76
- export const gv: string[];
77
- const ha_1: string[];
65
+ export let ff: string[];
66
+ export let fi: string[];
67
+ export let fj: string[];
68
+ export let fo: string[];
69
+ export let fr: string[];
70
+ export let fy: string[];
71
+ export let ga: string[];
72
+ export let gd: string[];
73
+ export let gl: string[];
74
+ export let gn: string[];
75
+ export let gu: string[];
76
+ export let gv: string[];
77
+ let ha_1: string[];
78
78
  export { ha_1 as ha };
79
- const he_1: string[];
79
+ let he_1: string[];
80
80
  export { he_1 as he };
81
- export const hi: string[];
82
- export const ho: string[];
83
- export const hr: string[];
84
- export const ht: string[];
85
- export const hu: string[];
86
- export const hy: string[];
87
- export const hz: string[];
88
- export const ia: string[];
89
- export const id: string[];
90
- export const ie: string[];
91
- export const ig: string[];
92
- export const ii: string[];
93
- export const ik: string[];
94
- export const io: string[];
95
- export const is: string[];
96
- export const it: string[];
97
- export const iu: string[];
98
- export const ja: string[];
99
- export const jv: string[];
100
- export const ka: string[];
101
- export const kg: string[];
102
- export const ki: string[];
103
- export const kj: string[];
104
- export const kk: string[];
105
- export const kl: string[];
106
- export const km: string[];
107
- export const kn: string[];
108
- export const ko: string[];
109
- export const kr: string[];
110
- const ks_1: string[];
81
+ export let hi: string[];
82
+ export let ho: string[];
83
+ export let hr: string[];
84
+ export let ht: string[];
85
+ export let hu: string[];
86
+ export let hy: string[];
87
+ export let hz: string[];
88
+ export let ia: string[];
89
+ export let id: string[];
90
+ export let ie: string[];
91
+ export let ig: string[];
92
+ export let ii: string[];
93
+ export let ik: string[];
94
+ export let io: string[];
95
+ export let is: string[];
96
+ export let it: string[];
97
+ export let iu: string[];
98
+ export let ja: string[];
99
+ export let jv: string[];
100
+ export let ka: string[];
101
+ export let kg: string[];
102
+ export let ki: string[];
103
+ export let kj: string[];
104
+ export let kk: string[];
105
+ export let kl: string[];
106
+ export let km: string[];
107
+ export let kn: string[];
108
+ export let ko: string[];
109
+ export let kr: string[];
110
+ let ks_1: string[];
111
111
  export { ks_1 as ks };
112
- const ku_1: string[];
112
+ let ku_1: string[];
113
113
  export { ku_1 as ku };
114
- export const kv: string[];
115
- export const kw: string[];
116
- export const ky: string[];
117
- export const la: string[];
118
- export const lb: string[];
119
- export const lg: string[];
120
- export const li: string[];
121
- export const ln: string[];
122
- export const lo: string[];
123
- export const lt: string[];
124
- export const lv: string[];
125
- export const mg: string[];
126
- export const mh: string[];
127
- export const mi: string[];
128
- export const mk: string[];
129
- export const ml: string[];
130
- export const mn: string[];
131
- export const mo: string[];
132
- export const mr: string[];
133
- export const ms: string[];
134
- export const mt: string[];
135
- export const my: string[];
136
- export const na: string[];
137
- export const nd: string[];
138
- export const ne: string[];
139
- export const ng: string[];
140
- export const nl: string[];
141
- export const nn: string[];
142
- export const no: string[];
143
- export const nr: string[];
144
- export const nv: string[];
145
- export const ny: string[];
146
- export const oc: string[];
147
- export const oj: string[];
148
- export const om: string[];
149
- export const or: string[];
150
- export const os: string[];
151
- export const pa: string[];
152
- export const pi: string[];
153
- export const pl: string[];
154
- const ps_1: string[];
114
+ export let kv: string[];
115
+ export let kw: string[];
116
+ export let ky: string[];
117
+ export let la: string[];
118
+ export let lb: string[];
119
+ export let lg: string[];
120
+ export let li: string[];
121
+ export let ln: string[];
122
+ export let lo: string[];
123
+ export let lt: string[];
124
+ export let lv: string[];
125
+ export let mg: string[];
126
+ export let mh: string[];
127
+ export let mi: string[];
128
+ export let mk: string[];
129
+ export let ml: string[];
130
+ export let mn: string[];
131
+ export let mo: string[];
132
+ export let mr: string[];
133
+ export let ms: string[];
134
+ export let mt: string[];
135
+ export let my: string[];
136
+ export let na: string[];
137
+ export let nd: string[];
138
+ export let ne: string[];
139
+ export let ng: string[];
140
+ export let nl: string[];
141
+ export let nn: string[];
142
+ export let no: string[];
143
+ export let nr: string[];
144
+ export let nv: string[];
145
+ export let ny: string[];
146
+ export let oc: string[];
147
+ export let oj: string[];
148
+ export let om: string[];
149
+ export let or: string[];
150
+ export let os: string[];
151
+ export let pa: string[];
152
+ export let pi: string[];
153
+ export let pl: string[];
154
+ let ps_1: string[];
155
155
  export { ps_1 as ps };
156
- export const pt: string[];
157
- export const qu: string[];
158
- export const rm: string[];
159
- export const rn: string[];
160
- export const ro: string[];
161
- export const ru: string[];
162
- export const rw: string[];
163
- export const sa: string[];
164
- export const sc: string[];
165
- export const sd: string[];
166
- export const se: string[];
167
- export const sg: string[];
168
- export const sh: string[];
169
- export const si: string[];
170
- export const sk: string[];
171
- export const sl: string[];
172
- export const sm: string[];
173
- export const sn: string[];
174
- export const so: string[];
175
- export const sq: string[];
176
- export const sr: string[];
177
- export const ss: string[];
178
- export const st: string[];
179
- export const su: string[];
180
- export const sv: string[];
181
- export const sw: string[];
182
- export const ta: string[];
183
- export const te: string[];
184
- export const tg: string[];
185
- export const th: string[];
186
- export const ti: string[];
187
- export const tk: string[];
188
- export const tl: string[];
189
- export const tn: string[];
190
- export const to: string[];
191
- export const tr: string[];
192
- export const ts: string[];
193
- export const tt: string[];
194
- export const tw: string[];
195
- export const ty: string[];
196
- export const ug: string[];
197
- export const uk: string[];
198
- const ur_1: string[];
156
+ export let pt: string[];
157
+ export let qu: string[];
158
+ export let rm: string[];
159
+ export let rn: string[];
160
+ export let ro: string[];
161
+ export let ru: string[];
162
+ export let rw: string[];
163
+ export let sa: string[];
164
+ export let sc: string[];
165
+ export let sd: string[];
166
+ export let se: string[];
167
+ export let sg: string[];
168
+ export let sh: string[];
169
+ export let si: string[];
170
+ export let sk: string[];
171
+ export let sl: string[];
172
+ export let sm: string[];
173
+ export let sn: string[];
174
+ export let so: string[];
175
+ export let sq: string[];
176
+ export let sr: string[];
177
+ export let ss: string[];
178
+ export let st: string[];
179
+ export let su: string[];
180
+ export let sv: string[];
181
+ export let sw: string[];
182
+ export let ta: string[];
183
+ export let te: string[];
184
+ export let tg: string[];
185
+ export let th: string[];
186
+ export let ti: string[];
187
+ export let tk: string[];
188
+ export let tl: string[];
189
+ export let tn: string[];
190
+ export let to: string[];
191
+ export let tr: string[];
192
+ export let ts: string[];
193
+ export let tt: string[];
194
+ export let tw: string[];
195
+ export let ty: string[];
196
+ export let ug: string[];
197
+ export let uk: string[];
198
+ let ur_1: string[];
199
199
  export { ur_1 as ur };
200
- export const uz: string[];
201
- export const ve: string[];
202
- export const vi: string[];
203
- export const vo: string[];
204
- export const wa: string[];
205
- export const wo: string[];
206
- export const xh: string[];
207
- const yi_1: string[];
200
+ export let uz: string[];
201
+ export let ve: string[];
202
+ export let vi: string[];
203
+ export let vo: string[];
204
+ export let wa: string[];
205
+ export let wo: string[];
206
+ export let xh: string[];
207
+ let yi_1: string[];
208
208
  export { yi_1 as yi };
209
- export const yo: string[];
210
- export const za: string[];
211
- export const zh: string[];
212
- export const zu: string[];
213
- export const pap: string[];
209
+ export let yo: string[];
210
+ export let za: string[];
211
+ export let zh: string[];
212
+ export let zu: string[];
213
+ export let pap: string[];
214
214
  }
215
215
  }
@@ -54,7 +54,6 @@ export default class BooleanAttributeModel extends AttributeModel {
54
54
  * Disable a option
55
55
  */
56
56
  disableOption(code: string): void;
57
- concept: any;
58
57
  /**
59
58
  * Update attribute by name and value
60
59
  */
@@ -3,7 +3,6 @@
3
3
  */
4
4
  export default class ChoiceAttributeModel extends AttributeModel {
5
5
  _options: ChoiceAttributeOptionCollection;
6
- concept: any;
7
6
  /**
8
7
  * Retrieve lookup service link
9
8
  */
@@ -24,6 +24,11 @@ declare class ChoiceAttributeOptionModel extends BaseModel {
24
24
  * Get code of option
25
25
  */
26
26
  get code(): string;
27
+ /**
28
+ * Indicates that this a choice attribute option model, used when adding options to a choice attribute
29
+ * @returns {boolean}
30
+ */
31
+ get isChoiceAttributeOptionModel(): boolean;
27
32
  /**
28
33
  */
29
34
  getInitialChildModelLinks(): Array<LinkModel>;
@@ -21,17 +21,12 @@ declare class CompositeAttributeModel extends AttributeModel {
21
21
  /**
22
22
  */
23
23
  get end(): AttributeType;
24
- /**
25
- * Validate input
26
- */
27
- validate(): boolean;
28
24
  /**
29
25
  */
30
26
  getChildByAttribute(attribute: AttributeType): AttributeType | null;
31
27
  /**
32
28
  */
33
29
  getChildByKey(key: string): AttributeType | null;
34
- concept: any;
35
30
  /**
36
31
  */
37
32
  update(value: string, changedAttribute: AttributeType | null): CompositeAttributeModel;
@@ -27,9 +27,7 @@ declare class DatetimeAttributeModel extends StringAttributeModel {
27
27
  isSameDay(inputDate: string, compareDate: string, inputFormat?: string): boolean;
28
28
  isOther(inputDate: string, compareDate: string, inputFormat?: string): boolean;
29
29
  isWeekend(inputDate: string): boolean;
30
- addSeconds(date: string, amount: number): string; /**
31
- * Set placeholder text
32
- */
30
+ addSeconds(date: string, amount: number): string;
33
31
  addMinutes(date: string, amount: number): string;
34
32
  addHours(date: string, amount: number): string;
35
33
  addDays(date: string, amount: number): string;
@@ -54,9 +52,6 @@ declare class DatetimeAttributeModel extends StringAttributeModel {
54
52
  setHour(date: string, hour: number): string;
55
53
  setMinute(date: string, minute: number): string;
56
54
  setSecond(date: string, second: number): string;
57
- /**
58
- * Add Date constraints for attribute
59
- */
60
55
  setMilliseconds(date: string, milliseconds: number): string;
61
56
  setTime(date: string, hours: number, minutes: number, seconds: number, milliseconds: number): string;
62
57
  };
@@ -12,7 +12,6 @@ declare class BaseLayoutHintRule {
12
12
  static checkHintApplicability: boolean;
13
13
  /**
14
14
  * Indicates if the rule instance is applicable for a specific attribute<br>
15
- * @default true
16
15
  */
17
16
  static isApplicableForAttribute(attribute: AttributeType): boolean;
18
17
  /**
@@ -21,6 +21,10 @@ export default class BaseFilterModel extends BaseModel {
21
21
  * Create attribute through the attribute factory. Create type based on filter key without the filter suffix
22
22
  */
23
23
  createAttribute(type: string, param: string, data: Object, contributions: Object): AttributeType | null;
24
+ /**
25
+ * Inidiates if filter is multiplechoice
26
+ */
27
+ get isMultiple(): boolean;
24
28
  /**
25
29
  * Set context of filter
26
30
  */
@@ -56,6 +60,14 @@ export default class BaseFilterModel extends BaseModel {
56
60
  name: string;
57
61
  value: string | null;
58
62
  }[];
63
+ /**
64
+ * Getting the value of the filter
65
+ */
66
+ get value(): string;
67
+ /**
68
+ * Getting the inputvalue of the filter
69
+ */
70
+ get inputvalue(): string;
59
71
  /**
60
72
  * Reset the value of this filter to undefined
61
73
  */
@@ -79,6 +91,10 @@ export default class BaseFilterModel extends BaseModel {
79
91
  /**
80
92
  */
81
93
  get readonlyvalue(): string;
94
+ /**
95
+ * Get assistant message
96
+ */
97
+ get assistantMessage(): string;
82
98
  }
83
99
  import BaseModel from "../base/BaseModel";
84
100
  import { AttributeType } from "../types";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * StringFilterModel can handle string filters with multiple setting
3
+ */
4
+ export default class StringFilterModel extends BaseFilterModel {
5
+ _isValid: boolean;
6
+ _value: string | null;
7
+ _inputvalue: string;
8
+ /**
9
+ */
10
+ get operator(): string;
11
+ /**
12
+ */
13
+ formatValue(value: string): string;
14
+ }
15
+ import BaseFilterModel from "./BaseFilterModel";
@@ -280,7 +280,6 @@ declare class FormModel extends ResourceModel {
280
280
  * Merge existing form with new form
281
281
  */
282
282
  update(receivedForm: ModularUIModel): FormModel;
283
- lastServerUpdate: any;
284
283
  /**
285
284
  */
286
285
  updateValidations(data: any): FormModel;
@@ -291,7 +290,6 @@ declare class FormModel extends ResourceModel {
291
290
  * Process finished form
292
291
  */
293
292
  handleFinished(receivedForm: FormModel): void;
294
- _data: any;
295
293
  /**
296
294
  */
297
295
  handleRootErrors(errors: Array<Object>): void;
@@ -193,4 +193,4 @@ import { AttributeType } from "../types";
193
193
  import LinkModel from "../links/LinkModel";
194
194
  import { ModularUIModel } from "../types";
195
195
  import { FormErrorAnchor } from "../types";
196
- import { MessageParameters } from "../../i18n/types";
196
+ import { MessageParameters } from "../../i18n";
@@ -124,7 +124,7 @@ declare class Href {
124
124
  /**
125
125
  * Remove a parameter from the parameter collection
126
126
  */
127
- removeParameter(name: string, prefix: string | null): Href;
127
+ removeParameter(name: string, prefix: string | null, value: string | null): Href;
128
128
  /**
129
129
  * Get the parameters as a querystring, e.g. param1=value1&param2=value2, optionally with prefix
130
130
  */
@@ -48,7 +48,7 @@ export { default as Parameter } from "./parameter/Parameter";
48
48
  export { default as SortingModel } from "./sorting/SortingModel";
49
49
  export { default as SortOptionModel } from "./sorting/SortOptionModel";
50
50
  export { default as TaskGroupCollection } from "./taskgroup/TaskGroupCollection";
51
- export * from "./types";
51
+ export type * from "./types";
52
52
  import { default as ApplicationModel } from "./application/ApplicationModel";
53
53
  import { default as CaseSearchModel } from "./search/CaseSearchModel";
54
54
  import { default as CaseViewModel } from "./caseview/CaseViewModel";
@@ -13,14 +13,14 @@ export default class LayoutHintCollection extends BaseCollection<string> {
13
13
  /**
14
14
  * Checks if a specific layouthint exists in the component configuration
15
15
  * This method matches all exact matches and hints starting with. For example
16
- * when calling layouth.has("hide"), this will return true for both "hide" and "hide-when-empty".
17
- * If only exact matches are required, use the method {@link hasExact}.
16
+ * when calling layouth.has("hide"), this will return true for both "hide" and "hide-when-empty".<br>
17
+ * If only exact matches are required, use the method {@link LayoutHintCollection#hasExact}.
18
18
  */
19
19
  has(...hints: Array<string>): boolean;
20
20
  /**
21
21
  * Checks if a specific layouthint exists in the component configuration,
22
- * only checks on exact matches.
23
- * If layouthints that start with the given hint should also match, use {@link has}.
22
+ * only checks on exact matches.<br>
23
+ * If layouthints that start with the given hint should also match, use {@link LayoutHintCollection#has}.
24
24
  * @param hints
25
25
  * @returns {boolean}
26
26
  */
@@ -29,7 +29,7 @@ declare class SortingModel extends BaseCollection<SortOptionModel> {
29
29
  */
30
30
  getUpdateQuerystring(optionKey: string): string;
31
31
  /**
32
- * @see {@link getUpdateQuerystring}
32
+ * @see {@link SortingModel#getUpdateQuerystring}
33
33
  */
34
34
  getUpdateQuerystringBySortOption(sortOption: SortOptionModel): string;
35
35
  /**
@@ -27,8 +27,8 @@ declare class UploadRequest {
27
27
  */
28
28
  uploadFile(file: File): Promise<UploadResponse>;
29
29
  }
30
- import { FiletypeConstraintsType } from "../models/types";
31
- import { FilesizeConstraintsType } from "../models/types";
30
+ import { FiletypeConstraintsType } from "../models";
31
+ import { FilesizeConstraintsType } from "../models";
32
32
  type ProgressHandler = (file: File, uploadInfo: Object) => void;
33
33
  type UploadResponse = {
34
34
  token: string;