@aptly-as/types 3.8.2 → 3.8.3

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.
@@ -6,20 +6,16 @@ import { AptlyTagSchema } from './tag.js';
6
6
  import { AptlyDatabase } from '../enums/index.js';
7
7
  export type AptlyProduct = AptlyProductSchema<string, string>;
8
8
  export interface AptlyProductSchema<ID, DATE> extends AptlyDBCrawlerCleaner, AptlyBaseSchema<ID, DATE>, AptlyHistorySchema<ID, DATE> {
9
- searchableName: string;
10
9
  organization?: ID;
11
10
  project?: ID;
12
- base?: boolean;
13
11
  extends?: ID | AptlyProductSchema<ID, DATE>;
14
12
  database: AptlyDatabase;
15
13
  productNumber: string;
16
14
  itemNumber?: string;
17
- eanNumber?: string;
18
15
  gtin?: string;
19
16
  description: string;
20
17
  technicalDescription: string;
21
18
  images: AptlyProductImageSchema<ID, DATE>[];
22
- variants: AptlyProductVariantSchema<ID, DATE>[];
23
19
  products?: (ID | AptlyProductSchema<ID, DATE>)[];
24
20
  url?: string;
25
21
  color?: string;
@@ -37,19 +33,13 @@ export interface AptlyProductSchema<ID, DATE> extends AptlyDBCrawlerCleaner, Apt
37
33
  netCost?: number;
38
34
  producer?: ID | AptlyProducerSchema<ID, DATE> | null;
39
35
  producerName: string;
40
- supplier?: ID;
41
36
  tags: (ID | AptlyTagSchema<ID, DATE>)[];
42
- tagsLabel: string[];
43
37
  documents: (ID | AptlyDocumentSchema<ID, DATE>)[];
44
38
  createdBy: ID;
45
- stats?: any;
46
39
  importID?: ID;
47
40
  source?: string;
48
41
  title?: string;
49
- likes: {
50
- user: ID;
51
- date: DATE;
52
- }[];
42
+ variants: AptlyProductVariantSchema<ID, DATE>[];
53
43
  created: DATE;
54
44
  }
55
45
  export type AptlyProductImage = AptlyProductImageSchema<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.8.2",
3
+ "version": "3.8.3",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",