@clxmedia/types 1.0.36 → 1.0.37

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.
@@ -224,17 +224,16 @@ export type CLXMultiSelectFormField = CLXSelectableFormField & {
224
224
  options: CLXFormSelectOptions;
225
225
  max_select?: number;
226
226
  };
227
- export type CLXCompoundableFormField = CLXTextFormField | CLXNumberFormField | CLXDateFormField | CLXFileFormField | CLXTextAreaFormField | CLXBooleanFormField | CLXSelectFormField | CLXMultiSelectFormField;
227
+ export type CLXCompoundableFormField = (CLXTextFormField | CLXNumberFormField | CLXDateFormField | CLXFileFormField | CLXTextAreaFormField | CLXBooleanFormField | CLXSelectFormField | CLXMultiSelectFormField) & {
228
+ slug: string;
229
+ label: string;
230
+ is_required?: boolean;
231
+ };
228
232
  export type CLXCompoundFormField = CLXSelectableFormField & {
229
233
  type: 'multiselect';
230
234
  response_type: 'COMPOUND';
231
235
  options: CLXFormSelectOptions;
232
- compound_fields: {
233
- [key: string]: CLXCompoundableFormField & {
234
- is_required?: boolean;
235
- label: string;
236
- };
237
- };
236
+ compound_fields: CLXCompoundableFormField[];
238
237
  max_select?: number;
239
238
  };
240
239
  export type CLXFormQuestionResponseOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",