@opexa/portal-sdk 0.0.54 → 0.0.55

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.
@@ -941,6 +941,7 @@ export interface ImageField {
941
941
  id: string;
942
942
  type: 'image';
943
943
  label: string;
944
+ value?: string;
944
945
  default?: string;
945
946
  required?: boolean;
946
947
  width?: number;
@@ -954,28 +955,32 @@ export interface SelectField {
954
955
  id: string;
955
956
  type: 'select';
956
957
  label: string;
957
- options: string[];
958
+ value?: string;
958
959
  default?: string;
960
+ options: string[];
959
961
  required?: boolean;
960
962
  }
961
963
  export interface MultiSelectField {
962
964
  id: string;
963
965
  type: 'multi_select';
964
966
  label: string;
965
- options: string[];
967
+ value?: string[];
966
968
  default?: string[];
969
+ options: string[];
967
970
  required?: boolean;
968
971
  }
969
972
  export interface ToggleField {
970
973
  id: string;
971
974
  type: 'toggle';
972
975
  label: string;
976
+ value?: boolean;
973
977
  default?: boolean;
974
978
  }
975
979
  export interface CompoundField {
976
980
  id: string;
977
981
  type: 'compound';
978
982
  fields: (TextField | ImageField | SelectField | MultiSelectField | ToggleField | CompoundField)[];
983
+ value?: any;
979
984
  default?: any;
980
985
  multiple?: boolean;
981
986
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opexa/portal-sdk",
3
3
  "type": "module",
4
- "version": "0.0.54",
4
+ "version": "0.0.55",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "typings": "dist/index.d.ts",