@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.
@@ -77,4 +77,7 @@ export interface IDocument extends IDefaultFields {
77
77
  watchers?: any[];
78
78
  contributors?: any[];
79
79
  consumerContributors?: any[];
80
+ coverFileId?: string;
81
+ coverFileName?: string;
82
+ coverFileUrl?: string;
80
83
  }
@@ -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
- downloadName?: string;
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 {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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";
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.76.0",
3
+ "version": "2024.77.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",