@biblioteksentralen/bmdb-search 0.0.0-beta.26 → 0.0.0-beta.27

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.
@@ -1128,6 +1128,7 @@ interface components$1 {
1128
1128
  notes?: components$1["schemas"]["Note"][];
1129
1129
  kulturfond?: {
1130
1130
  status: boolean;
1131
+ program?: string;
1131
1132
  };
1132
1133
  /** @description A list of library catalogues that include this manifestation.
1133
1134
  * Example: [{"id: "tonsberg", name: "Tønsberg og Færder" }] */
@@ -1833,14 +1834,6 @@ interface components {
1833
1834
  /** @description A human readable label. */
1834
1835
  label: string;
1835
1836
  };
1836
- FormSummary: {
1837
- /** @constant */
1838
- type: "FormSummary";
1839
- /** @constant */
1840
- entityType: "genre";
1841
- id: string;
1842
- label: string;
1843
- };
1844
1837
  /** @description The Title object is used for all title types across Work, Expression, Manifestation, Collection Work, Collection Expression, Short Work And Short Expression entities. */
1845
1838
  BaseTitle: {
1846
1839
  /** @description The chief name of the entity. */
@@ -1856,22 +1849,6 @@ interface components {
1856
1849
  /** @description The language of the title. */
1857
1850
  titleLanguage?: components["schemas"]["EnumEntity"];
1858
1851
  };
1859
- GenreSummary: {
1860
- /** @constant */
1861
- type: "GenreSummary";
1862
- /** @constant */
1863
- entityType: "genre";
1864
- id: string;
1865
- label: string;
1866
- };
1867
- SubjectSummary: {
1868
- /** @constant */
1869
- type: "SubjectSummary";
1870
- /** @constant */
1871
- entityType: "subject";
1872
- id: string;
1873
- label: string;
1874
- };
1875
1852
  AgentSummaryBase: {
1876
1853
  /** @constant */
1877
1854
  entityType: "agent";
@@ -1949,16 +1926,46 @@ interface components {
1949
1926
  expressionType: components["schemas"]["EnumEntity"];
1950
1927
  /** @description TODO */
1951
1928
  manifestationMedium: components["schemas"]["EnumEntity"];
1952
- /** @description TODO */
1953
- form?: components["schemas"]["FormSummary"];
1929
+ form?: {
1930
+ /** @constant */
1931
+ type: "WorkSummaryForm";
1932
+ /** @constant */
1933
+ entityType: "genre";
1934
+ id: string;
1935
+ label: string;
1936
+ };
1954
1937
  /** @description TODO */
1955
1938
  literatureType?: components["schemas"]["EnumEntity"];
1956
1939
  /** @description TODO */
1940
+ illustrations?: components["schemas"]["EnumEntity"];
1941
+ /** @description TODO */
1957
1942
  title: components["schemas"]["TitleSummary"];
1958
1943
  /** @description TODO (languages from all expressions) */
1959
1944
  languages: components["schemas"]["EnumEntity"][][];
1960
- genres?: components["schemas"]["GenreSummary"][];
1961
- subjects?: components["schemas"]["SubjectSummary"][];
1945
+ genres?: {
1946
+ /** @constant */
1947
+ type: "WorkSummaryGenre";
1948
+ /** @constant */
1949
+ entityType: "genre";
1950
+ id: string;
1951
+ label: string;
1952
+ }[];
1953
+ subjects?: {
1954
+ /** @constant */
1955
+ type: "WorkSummarySubject";
1956
+ /** @constant */
1957
+ entityType: "subject";
1958
+ id: string;
1959
+ label: string;
1960
+ }[];
1961
+ ageGroups?: {
1962
+ /** @constant */
1963
+ type: "WorkSummaryAgeGroup";
1964
+ /** @constant */
1965
+ entityType: "age_group";
1966
+ id: string;
1967
+ label: string;
1968
+ }[];
1962
1969
  /** @description A representative cover image. */
1963
1970
  coverImage?: string;
1964
1971
  /** @description List of contributors to the *work* in the form of * {@link Agent agents } * (persons or organizations) and their * {@link Role roles } * in the creation of the work.
@@ -1966,6 +1973,10 @@ interface components {
1966
1973
  * Work contributors include authors for books, editors for edited works, composers for music, directors and screenwriters for films, etc., but not contributors that played a role in the creation of a specific expression (e.g. translators, illustrators, etc.) or manifestation (e.g. illustrators, cover designers, etc.). */
1967
1974
  contributors: components["schemas"]["WorkSummaryContributor"][];
1968
1975
  collections?: components["schemas"]["WorkSummaryCollectionEntry"][];
1976
+ kulturfond?: {
1977
+ status: boolean;
1978
+ program?: string;
1979
+ };
1969
1980
  };
1970
1981
  /** @description If this is false, we haven't reached the end of the search result yet, if it's false we have, and if it's missing or null we don't know. */
1971
1982
  endOfResults: boolean;
@@ -2951,6 +2962,7 @@ interface components {
2951
2962
  notes?: components["schemas"]["Note"][];
2952
2963
  kulturfond?: {
2953
2964
  status: boolean;
2965
+ program?: string;
2954
2966
  };
2955
2967
  /** @description A list of library catalogues that include this manifestation.
2956
2968
  * Example: [{"id: "tonsberg", name: "Tønsberg og Færder" }] */
@@ -3221,8 +3233,14 @@ interface components {
3221
3233
  collectionType: components["schemas"]["EnumEntity"];
3222
3234
  workType?: components["schemas"]["EnumEntity"];
3223
3235
  expressionType?: components["schemas"]["EnumEntity"];
3224
- /** @description TODO */
3225
- form?: components["schemas"]["FormSummary"];
3236
+ form?: {
3237
+ /** @constant */
3238
+ type: "CollectionSummaryForm";
3239
+ /** @constant */
3240
+ entityType: "genre";
3241
+ id: string;
3242
+ label: string;
3243
+ };
3226
3244
  /** @description TODO */
3227
3245
  literatureType?: components["schemas"]["EnumEntity"];
3228
3246
  /** @description Preferred title of Collection work.
@@ -3231,6 +3249,30 @@ interface components {
3231
3249
  preferredTitle: components["schemas"]["TitleSummary"];
3232
3250
  /** @description TODO (languages from all collection expressions) */
3233
3251
  languages: components["schemas"]["EnumEntity"][][];
3252
+ genres?: {
3253
+ /** @constant */
3254
+ type: "CollectionSummaryGenre";
3255
+ /** @constant */
3256
+ entityType: "genre";
3257
+ id: string;
3258
+ label: string;
3259
+ }[];
3260
+ subjects?: {
3261
+ /** @constant */
3262
+ type: "CollectionSummarySubject";
3263
+ /** @constant */
3264
+ entityType: "subject";
3265
+ id: string;
3266
+ label: string;
3267
+ }[];
3268
+ ageGroups?: {
3269
+ /** @constant */
3270
+ type: "CollectionSummaryAgeGroup";
3271
+ /** @constant */
3272
+ entityType: "age_group";
3273
+ id: string;
3274
+ label: string;
3275
+ }[];
3234
3276
  /** @description List of contributors to the *work* in the form of * {@link Agent agents } * (persons or organizations) and their * {@link Role roles } * in the creation of the work.
3235
3277
  *
3236
3278
  * Work contributors include authors for books, editors for edited works, composers for music, directors and screenwriters for films, etc., but not contributors that played a role in the creation of a specific expression (e.g. translators, illustrators, etc.) or manifestation (e.g. illustrators, cover designers, etc.). */
@@ -1128,6 +1128,7 @@ interface components$1 {
1128
1128
  notes?: components$1["schemas"]["Note"][];
1129
1129
  kulturfond?: {
1130
1130
  status: boolean;
1131
+ program?: string;
1131
1132
  };
1132
1133
  /** @description A list of library catalogues that include this manifestation.
1133
1134
  * Example: [{"id: "tonsberg", name: "Tønsberg og Færder" }] */
@@ -1833,14 +1834,6 @@ interface components {
1833
1834
  /** @description A human readable label. */
1834
1835
  label: string;
1835
1836
  };
1836
- FormSummary: {
1837
- /** @constant */
1838
- type: "FormSummary";
1839
- /** @constant */
1840
- entityType: "genre";
1841
- id: string;
1842
- label: string;
1843
- };
1844
1837
  /** @description The Title object is used for all title types across Work, Expression, Manifestation, Collection Work, Collection Expression, Short Work And Short Expression entities. */
1845
1838
  BaseTitle: {
1846
1839
  /** @description The chief name of the entity. */
@@ -1856,22 +1849,6 @@ interface components {
1856
1849
  /** @description The language of the title. */
1857
1850
  titleLanguage?: components["schemas"]["EnumEntity"];
1858
1851
  };
1859
- GenreSummary: {
1860
- /** @constant */
1861
- type: "GenreSummary";
1862
- /** @constant */
1863
- entityType: "genre";
1864
- id: string;
1865
- label: string;
1866
- };
1867
- SubjectSummary: {
1868
- /** @constant */
1869
- type: "SubjectSummary";
1870
- /** @constant */
1871
- entityType: "subject";
1872
- id: string;
1873
- label: string;
1874
- };
1875
1852
  AgentSummaryBase: {
1876
1853
  /** @constant */
1877
1854
  entityType: "agent";
@@ -1949,16 +1926,46 @@ interface components {
1949
1926
  expressionType: components["schemas"]["EnumEntity"];
1950
1927
  /** @description TODO */
1951
1928
  manifestationMedium: components["schemas"]["EnumEntity"];
1952
- /** @description TODO */
1953
- form?: components["schemas"]["FormSummary"];
1929
+ form?: {
1930
+ /** @constant */
1931
+ type: "WorkSummaryForm";
1932
+ /** @constant */
1933
+ entityType: "genre";
1934
+ id: string;
1935
+ label: string;
1936
+ };
1954
1937
  /** @description TODO */
1955
1938
  literatureType?: components["schemas"]["EnumEntity"];
1956
1939
  /** @description TODO */
1940
+ illustrations?: components["schemas"]["EnumEntity"];
1941
+ /** @description TODO */
1957
1942
  title: components["schemas"]["TitleSummary"];
1958
1943
  /** @description TODO (languages from all expressions) */
1959
1944
  languages: components["schemas"]["EnumEntity"][][];
1960
- genres?: components["schemas"]["GenreSummary"][];
1961
- subjects?: components["schemas"]["SubjectSummary"][];
1945
+ genres?: {
1946
+ /** @constant */
1947
+ type: "WorkSummaryGenre";
1948
+ /** @constant */
1949
+ entityType: "genre";
1950
+ id: string;
1951
+ label: string;
1952
+ }[];
1953
+ subjects?: {
1954
+ /** @constant */
1955
+ type: "WorkSummarySubject";
1956
+ /** @constant */
1957
+ entityType: "subject";
1958
+ id: string;
1959
+ label: string;
1960
+ }[];
1961
+ ageGroups?: {
1962
+ /** @constant */
1963
+ type: "WorkSummaryAgeGroup";
1964
+ /** @constant */
1965
+ entityType: "age_group";
1966
+ id: string;
1967
+ label: string;
1968
+ }[];
1962
1969
  /** @description A representative cover image. */
1963
1970
  coverImage?: string;
1964
1971
  /** @description List of contributors to the *work* in the form of * {@link Agent agents } * (persons or organizations) and their * {@link Role roles } * in the creation of the work.
@@ -1966,6 +1973,10 @@ interface components {
1966
1973
  * Work contributors include authors for books, editors for edited works, composers for music, directors and screenwriters for films, etc., but not contributors that played a role in the creation of a specific expression (e.g. translators, illustrators, etc.) or manifestation (e.g. illustrators, cover designers, etc.). */
1967
1974
  contributors: components["schemas"]["WorkSummaryContributor"][];
1968
1975
  collections?: components["schemas"]["WorkSummaryCollectionEntry"][];
1976
+ kulturfond?: {
1977
+ status: boolean;
1978
+ program?: string;
1979
+ };
1969
1980
  };
1970
1981
  /** @description If this is false, we haven't reached the end of the search result yet, if it's false we have, and if it's missing or null we don't know. */
1971
1982
  endOfResults: boolean;
@@ -2951,6 +2962,7 @@ interface components {
2951
2962
  notes?: components["schemas"]["Note"][];
2952
2963
  kulturfond?: {
2953
2964
  status: boolean;
2965
+ program?: string;
2954
2966
  };
2955
2967
  /** @description A list of library catalogues that include this manifestation.
2956
2968
  * Example: [{"id: "tonsberg", name: "Tønsberg og Færder" }] */
@@ -3221,8 +3233,14 @@ interface components {
3221
3233
  collectionType: components["schemas"]["EnumEntity"];
3222
3234
  workType?: components["schemas"]["EnumEntity"];
3223
3235
  expressionType?: components["schemas"]["EnumEntity"];
3224
- /** @description TODO */
3225
- form?: components["schemas"]["FormSummary"];
3236
+ form?: {
3237
+ /** @constant */
3238
+ type: "CollectionSummaryForm";
3239
+ /** @constant */
3240
+ entityType: "genre";
3241
+ id: string;
3242
+ label: string;
3243
+ };
3226
3244
  /** @description TODO */
3227
3245
  literatureType?: components["schemas"]["EnumEntity"];
3228
3246
  /** @description Preferred title of Collection work.
@@ -3231,6 +3249,30 @@ interface components {
3231
3249
  preferredTitle: components["schemas"]["TitleSummary"];
3232
3250
  /** @description TODO (languages from all collection expressions) */
3233
3251
  languages: components["schemas"]["EnumEntity"][][];
3252
+ genres?: {
3253
+ /** @constant */
3254
+ type: "CollectionSummaryGenre";
3255
+ /** @constant */
3256
+ entityType: "genre";
3257
+ id: string;
3258
+ label: string;
3259
+ }[];
3260
+ subjects?: {
3261
+ /** @constant */
3262
+ type: "CollectionSummarySubject";
3263
+ /** @constant */
3264
+ entityType: "subject";
3265
+ id: string;
3266
+ label: string;
3267
+ }[];
3268
+ ageGroups?: {
3269
+ /** @constant */
3270
+ type: "CollectionSummaryAgeGroup";
3271
+ /** @constant */
3272
+ entityType: "age_group";
3273
+ id: string;
3274
+ label: string;
3275
+ }[];
3234
3276
  /** @description List of contributors to the *work* in the form of * {@link Agent agents } * (persons or organizations) and their * {@link Role roles } * in the creation of the work.
3235
3277
  *
3236
3278
  * Work contributors include authors for books, editors for edited works, composers for music, directors and screenwriters for films, etc., but not contributors that played a role in the creation of a specific expression (e.g. translators, illustrators, etc.) or manifestation (e.g. illustrators, cover designers, etc.). */
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-DZQVFANU.cjs';
2
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from './index-DZQVFANU.cjs';
1
+ import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-bQNcpVfO.cjs';
2
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from './index-bQNcpVfO.cjs';
3
3
  import { ClientOptions, Client } from 'openapi-fetch';
4
4
 
5
5
  type BmdbWork = BmdbApiSchemas["Work"];
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-DZQVFANU.js';
2
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from './index-DZQVFANU.js';
1
+ import { B as BmdbApiSchemas, a as BmdbApiPaths } from './index-bQNcpVfO.js';
2
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from './index-bQNcpVfO.js';
3
3
  import { ClientOptions, Client } from 'openapi-fetch';
4
4
 
5
5
  type BmdbWork = BmdbApiSchemas["Work"];
@@ -1,2 +1,2 @@
1
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from '../index-DZQVFANU.cjs';
1
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from '../index-bQNcpVfO.cjs';
2
2
  import 'openapi-fetch';
@@ -1,2 +1,2 @@
1
- export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from '../index-DZQVFANU.js';
1
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from '../index-bQNcpVfO.js';
2
2
  import 'openapi-fetch';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biblioteksentralen/bmdb-search",
3
- "version": "0.0.0-beta.26",
3
+ "version": "0.0.0-beta.27",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Client for searching Bibliotekenes metadatabrønn (BMDB)",