@tolinax/ayoune-interfaces 2024.78.0 → 2024.80.0
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.
|
@@ -21,16 +21,25 @@ interface IDownloadKey {
|
|
|
21
21
|
note: string;
|
|
22
22
|
validTill: Date;
|
|
23
23
|
}
|
|
24
|
+
export interface IDownloadOptions {
|
|
25
|
+
showTitle?: boolean;
|
|
26
|
+
showCover?: boolean;
|
|
27
|
+
showDescriptions?: boolean;
|
|
28
|
+
showShareLinks?: boolean;
|
|
29
|
+
showBuyLinks?: boolean;
|
|
30
|
+
}
|
|
24
31
|
export interface IDownload extends IDefaultFields {
|
|
25
32
|
_customerID: ObjectId;
|
|
26
33
|
_clientID?: ObjectId[];
|
|
27
34
|
_subID?: ObjectId[];
|
|
28
35
|
_product: ObjectId;
|
|
36
|
+
productName?: string;
|
|
29
37
|
name?: string;
|
|
30
38
|
slug?: string;
|
|
31
39
|
downloadFileName?: string;
|
|
32
40
|
downloadType?: string;
|
|
33
41
|
appId?: string;
|
|
42
|
+
forSale?: boolean;
|
|
34
43
|
autoUpdate?: boolean;
|
|
35
44
|
protected?: boolean;
|
|
36
45
|
maxDownloads?: number;
|
|
@@ -40,5 +49,6 @@ export interface IDownload extends IDefaultFields {
|
|
|
40
49
|
key?: string;
|
|
41
50
|
versions?: IVersion[];
|
|
42
51
|
keys: IDownloadKey[];
|
|
52
|
+
options: IDownloadOptions;
|
|
43
53
|
}
|
|
44
54
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { IDownloadOptions } from "./IDownload";
|
|
2
3
|
export interface IDownloadFile {
|
|
3
4
|
downloadCount?: number;
|
|
4
5
|
status?: "published" | "unpublished";
|
|
@@ -15,16 +16,19 @@ export interface IDownloadList extends IDefaultFields {
|
|
|
15
16
|
_clientID?: ObjectId[];
|
|
16
17
|
_subID?: ObjectId[];
|
|
17
18
|
_product: ObjectId;
|
|
19
|
+
productName?: string;
|
|
18
20
|
name?: string;
|
|
19
21
|
slug?: string;
|
|
20
22
|
downloadFileName?: string;
|
|
21
23
|
protected?: boolean;
|
|
22
24
|
coverFileId?: string;
|
|
25
|
+
forSale?: boolean;
|
|
23
26
|
coverFileName?: string;
|
|
24
27
|
coverFileUrl?: string;
|
|
25
28
|
tags?: any[];
|
|
26
29
|
key?: string;
|
|
27
30
|
files?: IDownloadFile[];
|
|
28
31
|
keys: IDownloadKey[];
|
|
32
|
+
options: IDownloadOptions;
|
|
29
33
|
}
|
|
30
34
|
export {};
|
|
@@ -4,5 +4,7 @@ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
|
|
|
4
4
|
export interface IDownloadLog extends IGeoIPLocationTracking, IaYOUneTrackingParams, IDefaultFields {
|
|
5
5
|
_customerID: ObjectId;
|
|
6
6
|
_consumerID?: ObjectId;
|
|
7
|
-
|
|
7
|
+
type?: string;
|
|
8
|
+
_download?: ObjectId;
|
|
9
|
+
_list?: ObjectId;
|
|
8
10
|
}
|