@luomus/laji-schema 2.0.89 → 2.0.91

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.
@@ -11,7 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.Measurement = exports.IucnRedListTaxonGroup = exports.IucnRedListEvaluationYear = exports.IucnRedListEvaluation = exports.InformationSystem = exports.InformalTaxonGroup = exports.Individual = exports.Image = exports.Identification = exports.Habitat = exports.GatheringFact = exports.GatheringEvent = exports.Gathering = exports.FormSeason = exports.FormPermissionSingle = exports.FormPermissionPerson = exports.FormPermission = exports.FormOptions = exports.FormNamedPlaceOptions = exports.FormInstructions = exports.FormFooter = exports.Form = exports.Fieldset = exports.Field = exports.Event = exports.Endangerment = exports.DownloadRequest = exports.DocumentIdentification = exports.Document = exports.DeviceIndividual = exports.Device = exports.DateRange = exports.Dataset = exports.DataField = exports.ContentContextDescription = exports.CompleteList = exports.Collection = exports.ChecklistVersion = exports.Checklist = exports.Branch = exports.BirdSongRecognitionSkillLevel = exports.Audio = exports.Area = exports.AnnotationOccurrence = exports.Annotation = exports.Agent = exports.AdministrativeStatus = exports.Pinkka = exports.Concept = exports.BibliographicResource = void 0;
14
- exports.Video = exports.Validator = exports.UnitOfMeasurement = exports.UnitGathering = exports.UnitFact = exports.Unit = exports.TypeSpecimen = exports.Translation = exports.TransactionItem = exports.TransactionEvent = exports.Transaction = exports.TraitGroup = exports.TraitEnumValue = exports.Trait = exports.TaxonSet = exports.TaxonInteraction = exports.TaxonGroupIucnEditors = exports.TaxonConcept = exports.TaxonCensus = exports.Taxon = exports.Tag = exports.SubUnit = exports.SpecimenTransactionEvent = exports.SpecimenTransaction = exports.SatelliteTrackingProject = exports.Sample = exports.Reserve = exports.RegionalStatus = exports.Publication = exports.Profile = exports.Preparation = exports.Person = exports.Permit = exports.Pdf = exports.Organization = exports.Occurrence = exports.Notification = exports.News = exports.NamedPlace = exports.Multimedia = exports.Model = void 0;
14
+ exports.ListResponse = exports.Video = exports.Validator = exports.UnitOfMeasurement = exports.UnitGathering = exports.UnitFact = exports.Unit = exports.TypeSpecimen = exports.Translation = exports.TransactionItem = exports.TransactionEvent = exports.Transaction = exports.TraitGroup = exports.TraitEnumValue = exports.Trait = exports.TaxonSet = exports.TaxonInteraction = exports.TaxonGroupIucnEditors = exports.TaxonConcept = exports.TaxonCensus = exports.Taxon = exports.Tag = exports.SubUnit = exports.SpecimenTransactionEvent = exports.SpecimenTransaction = exports.SatelliteTrackingProject = exports.Sample = exports.Reserve = exports.RegionalStatus = exports.Publication = exports.Profile = exports.Preparation = exports.Person = exports.Permit = exports.Pdf = exports.Organization = exports.Occurrence = exports.Notification = exports.News = exports.NamedPlace = exports.Multimedia = exports.Model = void 0;
15
15
  var BibliographicResource_1 = require("./BibliographicResource");
16
16
  Object.defineProperty(exports, "BibliographicResource", { enumerable: true, get: function () { return BibliographicResource_1.BibliographicResource; } });
17
17
  var Concept_1 = require("./Concept");
@@ -194,4 +194,6 @@ var Validator_1 = require("./Validator");
194
194
  Object.defineProperty(exports, "Validator", { enumerable: true, get: function () { return Validator_1.Validator; } });
195
195
  var Video_1 = require("./Video");
196
196
  Object.defineProperty(exports, "Video", { enumerable: true, get: function () { return Video_1.Video; } });
197
+ var list_response_1 = require("./list-response");
198
+ Object.defineProperty(exports, "ListResponse", { enumerable: true, get: function () { return list_response_1.ListResponse; } });
197
199
  __exportStar(require("./Enums"), exports);
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListResponse = void 0;
4
+ class ListResponse {
5
+ }
6
+ exports.ListResponse = ListResponse;
@@ -59,6 +59,14 @@ export class Organization {
59
59
  * Fax number, with country code
60
60
  */
61
61
  fax?: string;
62
+ /**
63
+ * Combined name from oganization abbreviation and the organization levels
64
+ */
65
+ fullName?: {
66
+ en?: string;
67
+ fi?: string;
68
+ sv?: string;
69
+ };
62
70
  /**
63
71
  * Used for organisations that are not to be used (duplicates etc.)
64
72
  */
@@ -90,4 +90,5 @@ export { UnitGathering } from './UnitGathering.dto'
90
90
  export { UnitOfMeasurement } from './UnitOfMeasurement.dto'
91
91
  export { Validator } from './Validator.dto'
92
92
  export { Video } from './Video.dto'
93
+ export { ListResponse } from './list-response.dto'
93
94
  export * from './Enums.dto'
@@ -0,0 +1,18 @@
1
+ export class ListResponse<T> {
2
+ '@context': string;
3
+ '@typ': string;
4
+ view: {
5
+ '@id': string;
6
+ '@type': string;
7
+ itemsPerPage: string;
8
+ first: string;
9
+ last: string;
10
+ previous?: string;
11
+ next?: string;
12
+ };
13
+ totalItems: number;
14
+ pageSize: number;
15
+ currentPage: number;
16
+ lastPage: number;
17
+ member: T[];
18
+ }
@@ -89,4 +89,5 @@ export { UnitGathering } from './UnitGathering';
89
89
  export { UnitOfMeasurement } from './UnitOfMeasurement';
90
90
  export { Validator } from './Validator';
91
91
  export { Video } from './Video';
92
+ export { ListResponse } from './list-response';
92
93
  export * from './Enums';
@@ -0,0 +1,2 @@
1
+ export class ListResponse {
2
+ }
@@ -52,6 +52,14 @@ export declare class Organization {
52
52
  * Fax number, with country code
53
53
  */
54
54
  fax?: string;
55
+ /**
56
+ * Combined name from oganization abbreviation and the organization levels
57
+ */
58
+ fullName?: {
59
+ en?: string;
60
+ fi?: string;
61
+ sv?: string;
62
+ };
55
63
  /**
56
64
  * Used for organisations that are not to be used (duplicates etc.)
57
65
  */
@@ -89,4 +89,5 @@ export { UnitGathering } from './UnitGathering';
89
89
  export { UnitOfMeasurement } from './UnitOfMeasurement';
90
90
  export { Validator } from './Validator';
91
91
  export { Video } from './Video';
92
+ export { ListResponse } from './list-response';
92
93
  export * from './Enums';
@@ -0,0 +1,18 @@
1
+ export declare class ListResponse<T> {
2
+ '@context': string;
3
+ '@typ': string;
4
+ view: {
5
+ '@id': string;
6
+ '@type': string;
7
+ itemsPerPage: string;
8
+ first: string;
9
+ last: string;
10
+ previous?: string;
11
+ next?: string;
12
+ };
13
+ totalItems: number;
14
+ pageSize: number;
15
+ currentPage: number;
16
+ lastPage: number;
17
+ member: T[];
18
+ }
@@ -52,6 +52,14 @@ export interface Organization {
52
52
  * Fax number, with country code
53
53
  */
54
54
  fax?: string;
55
+ /**
56
+ * Combined name from oganization abbreviation and the organization levels
57
+ */
58
+ fullName?: {
59
+ en?: string;
60
+ fi?: string;
61
+ sv?: string;
62
+ };
55
63
  /**
56
64
  * Used for organisations that are not to be used (duplicates etc.)
57
65
  */
@@ -180,6 +180,8 @@ import { Validator } from './Validator';
180
180
  export type { Validator };
181
181
  import { Video } from './Video';
182
182
  export type { Video };
183
+ import { ListResponse } from './list-response';
184
+ export type { ListResponse };
183
185
  export * from './Enums';
184
186
  export declare type StoreObject = BibliographicResource | Concept | Pinkka | AdministrativeStatus | Agent | Annotation | AnnotationOccurrence | Area | Audio | BirdSongRecognitionSkillLevel | Branch | Checklist | ChecklistVersion | Collection | CompleteList | ContentContextDescription | DataField | Dataset | DateRange | Device | DeviceIndividual | Document | DocumentIdentification | DownloadRequest | Endangerment | Event | Field | Fieldset | Form | FormFooter | FormInstructions | FormNamedPlaceOptions | FormOptions | FormPermission | FormPermissionPerson | FormPermissionSingle | FormSeason | Gathering | GatheringEvent | GatheringFact | Habitat | Identification | Image | Individual | InformalTaxonGroup | InformationSystem | IucnRedListEvaluation | IucnRedListEvaluationYear | IucnRedListTaxonGroup | Measurement | Model | Multimedia | NamedPlace | News | Notification | Occurrence | Organization | Pdf | Permit | Person | Preparation | Profile | Publication | RegionalStatus | Reserve | Sample | SatelliteTrackingProject | SpecimenTransaction | SpecimenTransactionEvent | SubUnit | Tag | Taxon | TaxonCensus | TaxonConcept | TaxonGroupIucnEditors | TaxonInteraction | TaxonSet | Trait | TraitEnumValue | TraitGroup | Transaction | TransactionEvent | TransactionItem | Translation | TypeSpecimen | Unit | UnitFact | UnitGathering | UnitOfMeasurement | Validator | Video;
185
187
  export declare type KeyOfUnion<K extends StoreObject> = K extends keyof K ? K : never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luomus/laji-schema",
3
- "version": "2.0.89",
3
+ "version": "2.0.91",
4
4
  "description": "Common autogenerated Typescript interfaces and classes for the schemas used by LUOMUS.",
5
5
  "license": "MIT",
6
6
  "scripts": {