@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/index.d.ts
CHANGED
|
@@ -193,7 +193,7 @@ interface Accessory {
|
|
|
193
193
|
interface SettingsGlobalAttributes {
|
|
194
194
|
[id: string]: AttributeDefinition;
|
|
195
195
|
}
|
|
196
|
-
type AttributeValueType = string | number | boolean | Timestamp | Media;
|
|
196
|
+
type AttributeValueType = string | number | boolean | Timestamp | Media | Media[];
|
|
197
197
|
/****
|
|
198
198
|
* Used to grant a user access to a market.
|
|
199
199
|
* Each member of staff should have their own.
|
|
@@ -654,6 +654,7 @@ type ImageSizes = (typeof IMAGE_SIZES_VALUES)[number];
|
|
|
654
654
|
type VideoTasks = (typeof VIDEO_TASKS_VALUES)[number];
|
|
655
655
|
type SupportedFileTypesNames = "image" | "video" | "file";
|
|
656
656
|
interface Media {
|
|
657
|
+
id: string;
|
|
657
658
|
fileName: string;
|
|
658
659
|
path: string;
|
|
659
660
|
url: string;
|
|
@@ -993,7 +994,7 @@ interface WebhookEvent<T> {
|
|
|
993
994
|
objectBefore?: T;
|
|
994
995
|
};
|
|
995
996
|
}
|
|
996
|
-
type SupportedAttributeTypes = "string" | "number" | "boolean" | "date" | "datetime" | "time";
|
|
997
|
+
type SupportedAttributeTypes = "string" | "number" | "boolean" | "date" | "datetime" | "media" | "mediaset" | "time";
|
|
997
998
|
interface AttributeDefinition {
|
|
998
999
|
id: string;
|
|
999
1000
|
name: string;
|