@tolinax/ayoune-interfaces 2024.76.0 → 2024.77.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.
|
@@ -25,8 +25,9 @@ export interface IDownload extends IDefaultFields {
|
|
|
25
25
|
_customerID: ObjectId;
|
|
26
26
|
_clientID?: ObjectId[];
|
|
27
27
|
_subID?: ObjectId[];
|
|
28
|
+
_product: ObjectId;
|
|
28
29
|
name?: string;
|
|
29
|
-
|
|
30
|
+
downloadFileName?: string;
|
|
30
31
|
downloadType?: string;
|
|
31
32
|
appId?: string;
|
|
32
33
|
autoUpdate?: boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
export interface IDownloadFile {
|
|
3
|
+
downloadCount?: number;
|
|
4
|
+
status?: "published" | "unpublished";
|
|
5
|
+
downloadName?: string;
|
|
6
|
+
downloadId?: string;
|
|
7
|
+
}
|
|
8
|
+
interface IDownloadKey {
|
|
9
|
+
key: string;
|
|
10
|
+
note: string;
|
|
11
|
+
validTill: Date;
|
|
12
|
+
}
|
|
13
|
+
export interface IDownloadList extends IDefaultFields {
|
|
14
|
+
_customerID: ObjectId;
|
|
15
|
+
_clientID?: ObjectId[];
|
|
16
|
+
_subID?: ObjectId[];
|
|
17
|
+
_product: ObjectId;
|
|
18
|
+
name?: string;
|
|
19
|
+
downloadFileName?: string;
|
|
20
|
+
protected?: boolean;
|
|
21
|
+
coverFileId?: string;
|
|
22
|
+
coverFileName?: string;
|
|
23
|
+
coverFileUrl?: string;
|
|
24
|
+
tags?: any[];
|
|
25
|
+
key?: string;
|
|
26
|
+
files?: IDownloadFile[];
|
|
27
|
+
keys: IDownloadKey[];
|
|
28
|
+
}
|
|
29
|
+
export {};
|
package/interfaces/index.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export * from "./IDoi";
|
|
|
234
234
|
export * from "./IDoiLog";
|
|
235
235
|
export * from "./IDomain";
|
|
236
236
|
export * from "./IDownload";
|
|
237
|
+
export * from "./IDownloadList";
|
|
237
238
|
export * from "./IDownloadLog";
|
|
238
239
|
export * from "./IDraft";
|
|
239
240
|
export * from "./IDynamicContent";
|
package/interfaces/index.js
CHANGED
|
@@ -250,6 +250,7 @@ __exportStar(require("./IDoi"), exports);
|
|
|
250
250
|
__exportStar(require("./IDoiLog"), exports);
|
|
251
251
|
__exportStar(require("./IDomain"), exports);
|
|
252
252
|
__exportStar(require("./IDownload"), exports);
|
|
253
|
+
__exportStar(require("./IDownloadList"), exports);
|
|
253
254
|
__exportStar(require("./IDownloadLog"), exports);
|
|
254
255
|
__exportStar(require("./IDraft"), exports);
|
|
255
256
|
__exportStar(require("./IDynamicContent"), exports);
|