@tolinax/ayoune-interfaces 2024.129.1 → 2025.2.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.
@@ -1,5 +1,5 @@
1
1
  export interface IDefaultFields {
2
- _id?: any;
2
+ _id: any;
3
3
  isDraft?: boolean;
4
4
  g_participants?: any[];
5
5
  g_restrictUsers?: any[];
@@ -1,6 +1,6 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
2
  export interface IIABCategory extends IDefaultFields {
3
- _id?: ObjectId;
3
+ _id: ObjectId;
4
4
  label?: string;
5
5
  parent?: ObjectId;
6
6
  defaultBudgetFactor?: number;
@@ -1,6 +1,6 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
2
  export interface IIABCategoryEntry extends IDefaultFields {
3
- _id?: string;
3
+ _id: string;
4
4
  label?: string;
5
5
  parent?: string;
6
6
  score?: number;
@@ -6,7 +6,7 @@ interface Mapping {
6
6
  defaultBudgetFactor: string;
7
7
  }
8
8
  export interface IIABCategoryMapping extends IDefaultFields {
9
- _id?: ObjectId;
9
+ _id: ObjectId;
10
10
  _customerID?: ObjectId;
11
11
  mappings: Mapping[];
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.129.1",
3
+ "version": "2025.2.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",