@tolinax/ayoune-interfaces 2025.6.0 → 2025.8.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.
@@ -0,0 +1,29 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ interface IDataCollectionGroupField {
3
+ name: string;
4
+ help: string;
5
+ _attribute: ObjectId;
6
+ attribute: string;
7
+ }
8
+ interface IDataCollectionGroup {
9
+ name: string;
10
+ help: string;
11
+ fields: IDataCollectionGroupField[];
12
+ }
13
+ export interface IDataCollection extends IDefaultFields {
14
+ _customerID: ObjectId;
15
+ _clientID?: ObjectId[];
16
+ _subID?: ObjectId[];
17
+ name?: string;
18
+ description?: string;
19
+ help?: string;
20
+ useInterval?: boolean;
21
+ interval?: 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly';
22
+ dailyAt?: number;
23
+ weeklyAt?: number;
24
+ monthlyAt?: number;
25
+ yearlyAt?: number;
26
+ reminder?: boolean;
27
+ groups: IDataCollectionGroup[];
28
+ }
29
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ interface IDataCollectionEntryValue {
3
+ _attribute: ObjectId;
4
+ attribute: string;
5
+ value: any;
6
+ }
7
+ export interface IDataCollectionEntry extends IDefaultFields {
8
+ _customerID: ObjectId;
9
+ _clientID?: ObjectId[];
10
+ _subID?: ObjectId[];
11
+ _consumerID: ObjectId;
12
+ date: Date;
13
+ note?: string;
14
+ values: IDataCollectionEntryValue[];
15
+ }
16
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -221,6 +221,8 @@ export * from "./IDashBoard";
221
221
  export * from "./IDataPool";
222
222
  export * from "./IDataSource";
223
223
  export * from "./IDataSources";
224
+ export * from "./IDataCollection";
225
+ export * from "./IDataCollectionEntry";
224
226
  export * from "./IDecision";
225
227
  export * from "./IDefaultFields";
226
228
  export * from "./IDemographics";
@@ -328,6 +330,7 @@ export * from "./IInvoice";
328
330
  export * from "./IIoTDevice";
329
331
  export * from "./IJobOffer";
330
332
  export * from "./IJournal";
333
+ export * from "./IJournalEntry";
331
334
  export * from "./IK8Cluster";
332
335
  export * from "./IK8Deployment";
333
336
  export * from "./IKanbanBoard";
@@ -237,6 +237,8 @@ __exportStar(require("./IDashBoard"), exports);
237
237
  __exportStar(require("./IDataPool"), exports);
238
238
  __exportStar(require("./IDataSource"), exports);
239
239
  __exportStar(require("./IDataSources"), exports);
240
+ __exportStar(require("./IDataCollection"), exports);
241
+ __exportStar(require("./IDataCollectionEntry"), exports);
240
242
  __exportStar(require("./IDecision"), exports);
241
243
  __exportStar(require("./IDefaultFields"), exports);
242
244
  __exportStar(require("./IDemographics"), exports);
@@ -344,6 +346,7 @@ __exportStar(require("./IInvoice"), exports);
344
346
  __exportStar(require("./IIoTDevice"), exports);
345
347
  __exportStar(require("./IJobOffer"), exports);
346
348
  __exportStar(require("./IJournal"), exports);
349
+ __exportStar(require("./IJournalEntry"), exports);
347
350
  __exportStar(require("./IK8Cluster"), exports);
348
351
  __exportStar(require("./IK8Deployment"), exports);
349
352
  __exportStar(require("./IKanbanBoard"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2025.6.0",
3
+ "version": "2025.8.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",