@luomus/laji-schema 2.0.30 → 2.0.32

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.
@@ -315,5 +315,5 @@ export class Document {
315
315
  */
316
316
  publicityRestrictions?: PublicityRestrictionsEnum;
317
317
  scheduledForDeletion?: boolean;
318
- gatherings: [Gathering, ...[Gathering]];
318
+ gatherings: [Gathering, ...Gathering[]];
319
319
  }
@@ -114,7 +114,7 @@ export class Image {
114
114
  originalFilename?: string;
115
115
  originalURL?: string;
116
116
  primaryForTaxon?: string[];
117
- side: [SideEnum, ...[SideEnum]];
117
+ side: [SideEnum, ...SideEnum[]];
118
118
  sourceSystem: string;
119
119
  squareThumbnailURL: string;
120
120
  taxonDescriptionCaption?: {
@@ -25,7 +25,7 @@ export class TransactionEvent {
25
25
  eventDate: string;
26
26
  eventHandler: string;
27
27
  eventType: EventTypeEnum;
28
- items: [TransactionItem, ...[TransactionItem]];
28
+ items: [TransactionItem, ...TransactionItem[]];
29
29
  notes?: string;
30
30
  numberOfPackages?: number;
31
31
  sentBy?: SentByEnum;
@@ -309,5 +309,5 @@ export declare class Document {
309
309
  */
310
310
  publicityRestrictions?: PublicityRestrictionsEnum;
311
311
  scheduledForDeletion?: boolean;
312
- gatherings: [Gathering, ...[Gathering]];
312
+ gatherings: [Gathering, ...Gathering[]];
313
313
  }
@@ -108,7 +108,7 @@ export declare class Image {
108
108
  originalFilename?: string;
109
109
  originalURL?: string;
110
110
  primaryForTaxon?: string[];
111
- side: [SideEnum, ...[SideEnum]];
111
+ side: [SideEnum, ...SideEnum[]];
112
112
  sourceSystem: string;
113
113
  squareThumbnailURL: string;
114
114
  taxonDescriptionCaption?: {
@@ -19,7 +19,7 @@ export declare class TransactionEvent {
19
19
  eventDate: string;
20
20
  eventHandler: string;
21
21
  eventType: EventTypeEnum;
22
- items: [TransactionItem, ...[TransactionItem]];
22
+ items: [TransactionItem, ...TransactionItem[]];
23
23
  notes?: string;
24
24
  numberOfPackages?: number;
25
25
  sentBy?: SentByEnum;
@@ -223,5 +223,5 @@ export interface Document {
223
223
  */
224
224
  publicityRestrictions?: PublicityRestrictionsEnum;
225
225
  scheduledForDeletion?: boolean;
226
- gatherings: [Gathering, ...[Gathering]];
226
+ gatherings: [Gathering, ...Gathering[]];
227
227
  }
@@ -21,7 +21,7 @@ export interface Image {
21
21
  originalFilename?: string;
22
22
  originalURL?: string;
23
23
  primaryForTaxon?: string[];
24
- side: [SideEnum, ...[SideEnum]];
24
+ side: [SideEnum, ...SideEnum[]];
25
25
  sourceSystem: string;
26
26
  squareThumbnailURL: string;
27
27
  taxonDescriptionCaption?: {
@@ -8,7 +8,7 @@ export interface TransactionEvent {
8
8
  eventDate: string;
9
9
  eventHandler: string;
10
10
  eventType: EventTypeEnum;
11
- items: [TransactionItem, ...[TransactionItem]];
11
+ items: [TransactionItem, ...TransactionItem[]];
12
12
  notes?: string;
13
13
  numberOfPackages?: number;
14
14
  sentBy?: SentByEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luomus/laji-schema",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "description": "Common autogenerated Typescript interfaces and classes for the schemas used by LUOMUS.",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -38,6 +38,7 @@
38
38
  "import": "./dist/esm/models/index.js"
39
39
  },
40
40
  "./dto": {
41
+ "types": "./dist/dto/index.dto.ts",
41
42
  "import": "./dist/dto/index.dto.ts"
42
43
  }
43
44
  },
@@ -49,6 +50,9 @@
49
50
  "models": [
50
51
  "./dist/types/models/index.d.ts"
51
52
  ],
53
+ "dto": [
54
+ "./dist/dto/index.dto.ts"
55
+ ],
52
56
  "*": [
53
57
  "./dist/types/index.d.ts"
54
58
  ]