@opexa/portal-sdk 0.0.53 → 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.
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +182 -185
- package/dist/index.mjs.map +1 -1
- package/dist/services/types.d.ts +9 -2
- package/package.json +1 -1
package/dist/services/types.d.ts
CHANGED
|
@@ -132,10 +132,12 @@ export interface Game__Next extends Game {
|
|
|
132
132
|
tags?: GameTag[];
|
|
133
133
|
rank: Decimal;
|
|
134
134
|
site: string;
|
|
135
|
+
image: string;
|
|
135
136
|
cursor: string;
|
|
136
137
|
status: GameStatus;
|
|
137
138
|
platform: string;
|
|
138
139
|
reference: string;
|
|
140
|
+
customImage?: string;
|
|
139
141
|
/** @deprecated use `reference` instead */
|
|
140
142
|
externalId: string;
|
|
141
143
|
dateTimeCreated: DateString;
|
|
@@ -939,6 +941,7 @@ export interface ImageField {
|
|
|
939
941
|
id: string;
|
|
940
942
|
type: 'image';
|
|
941
943
|
label: string;
|
|
944
|
+
value?: string;
|
|
942
945
|
default?: string;
|
|
943
946
|
required?: boolean;
|
|
944
947
|
width?: number;
|
|
@@ -952,28 +955,32 @@ export interface SelectField {
|
|
|
952
955
|
id: string;
|
|
953
956
|
type: 'select';
|
|
954
957
|
label: string;
|
|
955
|
-
|
|
958
|
+
value?: string;
|
|
956
959
|
default?: string;
|
|
960
|
+
options: string[];
|
|
957
961
|
required?: boolean;
|
|
958
962
|
}
|
|
959
963
|
export interface MultiSelectField {
|
|
960
964
|
id: string;
|
|
961
965
|
type: 'multi_select';
|
|
962
966
|
label: string;
|
|
963
|
-
|
|
967
|
+
value?: string[];
|
|
964
968
|
default?: string[];
|
|
969
|
+
options: string[];
|
|
965
970
|
required?: boolean;
|
|
966
971
|
}
|
|
967
972
|
export interface ToggleField {
|
|
968
973
|
id: string;
|
|
969
974
|
type: 'toggle';
|
|
970
975
|
label: string;
|
|
976
|
+
value?: boolean;
|
|
971
977
|
default?: boolean;
|
|
972
978
|
}
|
|
973
979
|
export interface CompoundField {
|
|
974
980
|
id: string;
|
|
975
981
|
type: 'compound';
|
|
976
982
|
fields: (TextField | ImageField | SelectField | MultiSelectField | ToggleField | CompoundField)[];
|
|
983
|
+
value?: any;
|
|
977
984
|
default?: any;
|
|
978
985
|
multiple?: boolean;
|
|
979
986
|
}
|