@marteye/studiojs 1.1.15 → 1.1.17
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 +23 -16
- package/dist/index.esm.js +8 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +14 -12
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -564,21 +564,23 @@ export interface Address {
|
|
|
564
564
|
zip: string;
|
|
565
565
|
country: string;
|
|
566
566
|
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
567
|
+
export declare const IMAGE_SIZES_VALUES: readonly ["small", "medium", "large"];
|
|
568
|
+
export declare const VIDEO_TASKS_VALUES: readonly ["compressed", "thumbnail"];
|
|
569
|
+
export type ImageSizes = (typeof IMAGE_SIZES_VALUES)[number];
|
|
570
|
+
export type VideoTasks = (typeof VIDEO_TASKS_VALUES)[number];
|
|
571
|
+
export type SupportedFileTypesNames = "image" | "video" | "file";
|
|
572
572
|
export interface Media {
|
|
573
573
|
id: string;
|
|
574
|
+
fileName: string;
|
|
575
|
+
path: string;
|
|
574
576
|
url: string;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}
|
|
577
|
+
fileType: string;
|
|
578
|
+
variants: Partial<Record<ImageSizes | VideoTasks, {
|
|
579
|
+
url: string;
|
|
580
|
+
isLocal?: boolean;
|
|
581
|
+
isProcessing: boolean;
|
|
582
|
+
type: SupportedFileTypesNames;
|
|
583
|
+
}>>;
|
|
582
584
|
}
|
|
583
585
|
export type MarketReportHeaders = "grossServices" | "vatOnServices" | "grossGoods" | "vatOnGoods" | "netTotal" | "contra";
|
|
584
586
|
/**
|