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

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" }] */
@@ -1160,7 +1161,11 @@ interface components$1 {
1160
1161
  */
1161
1162
  title?: components$1["schemas"]["LegacyRegularTitle"];
1162
1163
  /** @description Preferred title of expression. See {@link Title } for individual components of title. */
1163
- preferredTitle?: components$1["schemas"]["RegularTitle"];
1164
+ preferredTitle: components$1["schemas"]["RegularTitle"];
1165
+ /** @description TODO */
1166
+ variantTitles?: components$1["schemas"]["LegacyRegularTitle"][];
1167
+ /** @description TODO */
1168
+ parallelTitles?: components$1["schemas"]["LegacyRegularTitle"][];
1164
1169
  /** @description A list of contributors in the form of {@link Agent } s and their {@link Role } s in the creation of the Expression. */
1165
1170
  contributors: components$1["schemas"]["Contributor"][];
1166
1171
  /** @description The language(s) of the expression.
@@ -1833,14 +1838,6 @@ interface components {
1833
1838
  /** @description A human readable label. */
1834
1839
  label: string;
1835
1840
  };
1836
- FormSummary: {
1837
- /** @constant */
1838
- type: "FormSummary";
1839
- /** @constant */
1840
- entityType: "genre";
1841
- id: string;
1842
- label: string;
1843
- };
1844
1841
  /** @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
1842
  BaseTitle: {
1846
1843
  /** @description The chief name of the entity. */
@@ -1856,22 +1853,6 @@ interface components {
1856
1853
  /** @description The language of the title. */
1857
1854
  titleLanguage?: components["schemas"]["EnumEntity"];
1858
1855
  };
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
1856
  AgentSummaryBase: {
1876
1857
  /** @constant */
1877
1858
  entityType: "agent";
@@ -1950,15 +1931,46 @@ interface components {
1950
1931
  /** @description TODO */
1951
1932
  manifestationMedium: components["schemas"]["EnumEntity"];
1952
1933
  /** @description TODO */
1953
- form?: components["schemas"]["FormSummary"];
1954
- /** @description TODO */
1955
1934
  literatureType?: components["schemas"]["EnumEntity"];
1956
1935
  /** @description TODO */
1936
+ illustrations?: components["schemas"]["EnumEntity"];
1937
+ /** @description TODO */
1957
1938
  title: components["schemas"]["TitleSummary"];
1958
1939
  /** @description TODO (languages from all expressions) */
1959
1940
  languages: components["schemas"]["EnumEntity"][][];
1960
- genres?: components["schemas"]["GenreSummary"][];
1961
- subjects?: components["schemas"]["SubjectSummary"][];
1941
+ forms?: {
1942
+ /** @constant */
1943
+ type: "WorkSummaryForm";
1944
+ /** @constant */
1945
+ entityType: "genre";
1946
+ id: string;
1947
+ label: string;
1948
+ }[];
1949
+ genres?: {
1950
+ /** @constant */
1951
+ type: "WorkSummaryGenre";
1952
+ /** @constant */
1953
+ entityType: "genre";
1954
+ id: string;
1955
+ label: string;
1956
+ }[];
1957
+ subjects?: {
1958
+ /** @constant */
1959
+ type: "WorkSummarySubject";
1960
+ /** @constant */
1961
+ entityType: "subject";
1962
+ id: string;
1963
+ label: string;
1964
+ }[];
1965
+ ageGroups?: {
1966
+ /** @constant */
1967
+ type: "WorkSummaryAgeGroup";
1968
+ /** @constant */
1969
+ entityType: "age_group";
1970
+ id: string;
1971
+ nbVokUri?: string;
1972
+ label: string;
1973
+ }[];
1962
1974
  /** @description A representative cover image. */
1963
1975
  coverImage?: string;
1964
1976
  /** @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 +1978,10 @@ interface components {
1966
1978
  * 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
1979
  contributors: components["schemas"]["WorkSummaryContributor"][];
1968
1980
  collections?: components["schemas"]["WorkSummaryCollectionEntry"][];
1981
+ kulturfond?: {
1982
+ status: boolean;
1983
+ program?: string;
1984
+ };
1969
1985
  };
1970
1986
  /** @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
1987
  endOfResults: boolean;
@@ -2951,6 +2967,7 @@ interface components {
2951
2967
  notes?: components["schemas"]["Note"][];
2952
2968
  kulturfond?: {
2953
2969
  status: boolean;
2970
+ program?: string;
2954
2971
  };
2955
2972
  /** @description A list of library catalogues that include this manifestation.
2956
2973
  * Example: [{"id: "tonsberg", name: "Tønsberg og Færder" }] */
@@ -2983,7 +3000,11 @@ interface components {
2983
3000
  */
2984
3001
  title?: components["schemas"]["LegacyRegularTitle"];
2985
3002
  /** @description Preferred title of expression. See {@link Title } for individual components of title. */
2986
- preferredTitle?: components["schemas"]["RegularTitle"];
3003
+ preferredTitle: components["schemas"]["RegularTitle"];
3004
+ /** @description TODO */
3005
+ variantTitles?: components["schemas"]["LegacyRegularTitle"][];
3006
+ /** @description TODO */
3007
+ parallelTitles?: components["schemas"]["LegacyRegularTitle"][];
2987
3008
  /** @description A list of contributors in the form of {@link Agent } s and their {@link Role } s in the creation of the Expression. */
2988
3009
  contributors: components["schemas"]["Contributor"][];
2989
3010
  /** @description The language(s) of the expression.
@@ -3222,8 +3243,6 @@ interface components {
3222
3243
  workType?: components["schemas"]["EnumEntity"];
3223
3244
  expressionType?: components["schemas"]["EnumEntity"];
3224
3245
  /** @description TODO */
3225
- form?: components["schemas"]["FormSummary"];
3226
- /** @description TODO */
3227
3246
  literatureType?: components["schemas"]["EnumEntity"];
3228
3247
  /** @description Preferred title of Collection work.
3229
3248
  *
@@ -3231,6 +3250,39 @@ interface components {
3231
3250
  preferredTitle: components["schemas"]["TitleSummary"];
3232
3251
  /** @description TODO (languages from all collection expressions) */
3233
3252
  languages: components["schemas"]["EnumEntity"][][];
3253
+ forms?: {
3254
+ /** @constant */
3255
+ type: "CollectionSummaryForm";
3256
+ /** @constant */
3257
+ entityType: "genre";
3258
+ id: string;
3259
+ label: string;
3260
+ }[];
3261
+ genres?: {
3262
+ /** @constant */
3263
+ type: "CollectionSummaryGenre";
3264
+ /** @constant */
3265
+ entityType: "genre";
3266
+ id: string;
3267
+ label: string;
3268
+ }[];
3269
+ subjects?: {
3270
+ /** @constant */
3271
+ type: "CollectionSummarySubject";
3272
+ /** @constant */
3273
+ entityType: "subject";
3274
+ id: string;
3275
+ label: string;
3276
+ }[];
3277
+ ageGroups?: {
3278
+ /** @constant */
3279
+ type: "CollectionSummaryAgeGroup";
3280
+ /** @constant */
3281
+ entityType: "age_group";
3282
+ id: string;
3283
+ nbVokUri?: string;
3284
+ label: string;
3285
+ }[];
3234
3286
  /** @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
3287
  *
3236
3288
  * 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" }] */
@@ -1160,7 +1161,11 @@ interface components$1 {
1160
1161
  */
1161
1162
  title?: components$1["schemas"]["LegacyRegularTitle"];
1162
1163
  /** @description Preferred title of expression. See {@link Title } for individual components of title. */
1163
- preferredTitle?: components$1["schemas"]["RegularTitle"];
1164
+ preferredTitle: components$1["schemas"]["RegularTitle"];
1165
+ /** @description TODO */
1166
+ variantTitles?: components$1["schemas"]["LegacyRegularTitle"][];
1167
+ /** @description TODO */
1168
+ parallelTitles?: components$1["schemas"]["LegacyRegularTitle"][];
1164
1169
  /** @description A list of contributors in the form of {@link Agent } s and their {@link Role } s in the creation of the Expression. */
1165
1170
  contributors: components$1["schemas"]["Contributor"][];
1166
1171
  /** @description The language(s) of the expression.
@@ -1833,14 +1838,6 @@ interface components {
1833
1838
  /** @description A human readable label. */
1834
1839
  label: string;
1835
1840
  };
1836
- FormSummary: {
1837
- /** @constant */
1838
- type: "FormSummary";
1839
- /** @constant */
1840
- entityType: "genre";
1841
- id: string;
1842
- label: string;
1843
- };
1844
1841
  /** @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
1842
  BaseTitle: {
1846
1843
  /** @description The chief name of the entity. */
@@ -1856,22 +1853,6 @@ interface components {
1856
1853
  /** @description The language of the title. */
1857
1854
  titleLanguage?: components["schemas"]["EnumEntity"];
1858
1855
  };
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
1856
  AgentSummaryBase: {
1876
1857
  /** @constant */
1877
1858
  entityType: "agent";
@@ -1950,15 +1931,46 @@ interface components {
1950
1931
  /** @description TODO */
1951
1932
  manifestationMedium: components["schemas"]["EnumEntity"];
1952
1933
  /** @description TODO */
1953
- form?: components["schemas"]["FormSummary"];
1954
- /** @description TODO */
1955
1934
  literatureType?: components["schemas"]["EnumEntity"];
1956
1935
  /** @description TODO */
1936
+ illustrations?: components["schemas"]["EnumEntity"];
1937
+ /** @description TODO */
1957
1938
  title: components["schemas"]["TitleSummary"];
1958
1939
  /** @description TODO (languages from all expressions) */
1959
1940
  languages: components["schemas"]["EnumEntity"][][];
1960
- genres?: components["schemas"]["GenreSummary"][];
1961
- subjects?: components["schemas"]["SubjectSummary"][];
1941
+ forms?: {
1942
+ /** @constant */
1943
+ type: "WorkSummaryForm";
1944
+ /** @constant */
1945
+ entityType: "genre";
1946
+ id: string;
1947
+ label: string;
1948
+ }[];
1949
+ genres?: {
1950
+ /** @constant */
1951
+ type: "WorkSummaryGenre";
1952
+ /** @constant */
1953
+ entityType: "genre";
1954
+ id: string;
1955
+ label: string;
1956
+ }[];
1957
+ subjects?: {
1958
+ /** @constant */
1959
+ type: "WorkSummarySubject";
1960
+ /** @constant */
1961
+ entityType: "subject";
1962
+ id: string;
1963
+ label: string;
1964
+ }[];
1965
+ ageGroups?: {
1966
+ /** @constant */
1967
+ type: "WorkSummaryAgeGroup";
1968
+ /** @constant */
1969
+ entityType: "age_group";
1970
+ id: string;
1971
+ nbVokUri?: string;
1972
+ label: string;
1973
+ }[];
1962
1974
  /** @description A representative cover image. */
1963
1975
  coverImage?: string;
1964
1976
  /** @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 +1978,10 @@ interface components {
1966
1978
  * 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
1979
  contributors: components["schemas"]["WorkSummaryContributor"][];
1968
1980
  collections?: components["schemas"]["WorkSummaryCollectionEntry"][];
1981
+ kulturfond?: {
1982
+ status: boolean;
1983
+ program?: string;
1984
+ };
1969
1985
  };
1970
1986
  /** @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
1987
  endOfResults: boolean;
@@ -2951,6 +2967,7 @@ interface components {
2951
2967
  notes?: components["schemas"]["Note"][];
2952
2968
  kulturfond?: {
2953
2969
  status: boolean;
2970
+ program?: string;
2954
2971
  };
2955
2972
  /** @description A list of library catalogues that include this manifestation.
2956
2973
  * Example: [{"id: "tonsberg", name: "Tønsberg og Færder" }] */
@@ -2983,7 +3000,11 @@ interface components {
2983
3000
  */
2984
3001
  title?: components["schemas"]["LegacyRegularTitle"];
2985
3002
  /** @description Preferred title of expression. See {@link Title } for individual components of title. */
2986
- preferredTitle?: components["schemas"]["RegularTitle"];
3003
+ preferredTitle: components["schemas"]["RegularTitle"];
3004
+ /** @description TODO */
3005
+ variantTitles?: components["schemas"]["LegacyRegularTitle"][];
3006
+ /** @description TODO */
3007
+ parallelTitles?: components["schemas"]["LegacyRegularTitle"][];
2987
3008
  /** @description A list of contributors in the form of {@link Agent } s and their {@link Role } s in the creation of the Expression. */
2988
3009
  contributors: components["schemas"]["Contributor"][];
2989
3010
  /** @description The language(s) of the expression.
@@ -3222,8 +3243,6 @@ interface components {
3222
3243
  workType?: components["schemas"]["EnumEntity"];
3223
3244
  expressionType?: components["schemas"]["EnumEntity"];
3224
3245
  /** @description TODO */
3225
- form?: components["schemas"]["FormSummary"];
3226
- /** @description TODO */
3227
3246
  literatureType?: components["schemas"]["EnumEntity"];
3228
3247
  /** @description Preferred title of Collection work.
3229
3248
  *
@@ -3231,6 +3250,39 @@ interface components {
3231
3250
  preferredTitle: components["schemas"]["TitleSummary"];
3232
3251
  /** @description TODO (languages from all collection expressions) */
3233
3252
  languages: components["schemas"]["EnumEntity"][][];
3253
+ forms?: {
3254
+ /** @constant */
3255
+ type: "CollectionSummaryForm";
3256
+ /** @constant */
3257
+ entityType: "genre";
3258
+ id: string;
3259
+ label: string;
3260
+ }[];
3261
+ genres?: {
3262
+ /** @constant */
3263
+ type: "CollectionSummaryGenre";
3264
+ /** @constant */
3265
+ entityType: "genre";
3266
+ id: string;
3267
+ label: string;
3268
+ }[];
3269
+ subjects?: {
3270
+ /** @constant */
3271
+ type: "CollectionSummarySubject";
3272
+ /** @constant */
3273
+ entityType: "subject";
3274
+ id: string;
3275
+ label: string;
3276
+ }[];
3277
+ ageGroups?: {
3278
+ /** @constant */
3279
+ type: "CollectionSummaryAgeGroup";
3280
+ /** @constant */
3281
+ entityType: "age_group";
3282
+ id: string;
3283
+ nbVokUri?: string;
3284
+ label: string;
3285
+ }[];
3234
3286
  /** @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
3287
  *
3236
3288
  * 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-BKXaWtAY.cjs';
2
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from './index-BKXaWtAY.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-BKXaWtAY.js';
2
+ export { g as BmdbCordataApiV1Paths, e as BmdbCordataApiV1Schemas, c as BmdbSearchClient, b as BmdbSearchClientOptions, d as createBmdbFetchClient, f as formatIsbdTitle } from './index-BKXaWtAY.js';
3
3
  import { ClientOptions, Client } from 'openapi-fetch';
4
4
 
5
5
  type BmdbWork = BmdbApiSchemas["Work"];
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { createBmdbFetchClient, formatIsbdTitle } from './chunk-SG6WH4XR.js';
1
+ export { createBmdbFetchClient, formatIsbdTitle } from './chunk-3YJYUEPN.js';
2
2
  import './chunk-MLKGABMK.js';
3
3
  import createFetchClient from 'openapi-fetch';
4
4
 
@@ -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-BKXaWtAY.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-BKXaWtAY.js';
2
2
  import 'openapi-fetch';
package/dist/v1/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { createBmdbFetchClient, formatIsbdTitle } from '../chunk-SG6WH4XR.js';
1
+ export { createBmdbFetchClient, formatIsbdTitle } from '../chunk-3YJYUEPN.js';
2
2
  import '../chunk-MLKGABMK.js';
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.28",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Client for searching Bibliotekenes metadatabrønn (BMDB)",
File without changes