@marteye/studiojs 1.1.16 → 1.1.18
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.d.ts +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +3 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export interface Printer {
|
|
|
109
109
|
export interface SettingsGlobalAttributes {
|
|
110
110
|
[id: string]: AttributeDefinition;
|
|
111
111
|
}
|
|
112
|
-
export type AttributeValueType = string | number | boolean | Timestamp | Media;
|
|
112
|
+
export type AttributeValueType = string | number | boolean | Timestamp | Media | Media[];
|
|
113
113
|
/****
|
|
114
114
|
* Used to grant a user access to a market.
|
|
115
115
|
* Each member of staff should have their own.
|
|
@@ -570,6 +570,7 @@ export type ImageSizes = (typeof IMAGE_SIZES_VALUES)[number];
|
|
|
570
570
|
export type VideoTasks = (typeof VIDEO_TASKS_VALUES)[number];
|
|
571
571
|
export type SupportedFileTypesNames = "image" | "video" | "file";
|
|
572
572
|
export interface Media {
|
|
573
|
+
id: string;
|
|
573
574
|
fileName: string;
|
|
574
575
|
path: string;
|
|
575
576
|
url: string;
|
|
@@ -889,7 +890,7 @@ export interface WebhookEvent<T> {
|
|
|
889
890
|
objectBefore?: T;
|
|
890
891
|
};
|
|
891
892
|
}
|
|
892
|
-
export type SupportedAttributeTypes = "string" | "number" | "boolean" | "date" | "datetime" | "time";
|
|
893
|
+
export type SupportedAttributeTypes = "string" | "number" | "boolean" | "date" | "datetime" | "media" | "mediaset" | "time";
|
|
893
894
|
export interface AttributeDefinition {
|
|
894
895
|
id: string;
|
|
895
896
|
name: string;
|