@biblioteksentralen/bmdb-search 0.0.0-beta.75 → 0.0.0-beta.76

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.
@@ -523,7 +523,7 @@ interface components {
523
523
  partTitle?: string;
524
524
  };
525
525
  /** @enum {string} */
526
- CordataEnumLanguageCode: "nob" | "nno" | "sme" | "smj" | "sma" | "fkv" | "swe" | "fin" | "dan" | "ice" | "eng" | "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "tay" | "bam" | "bnt" | "baq" | "bel" | "bem" | "ben" | "byn" | "bis" | "zbl" | "bos" | "bre" | "bul" | "bur" | "ceb" | "cic" | "prs" | "dzo" | "egy" | "epo" | "est" | "gez" | "ewe" | "fat" | "per" | "fij" | "fiu" | "mul" | "fre" | "fry" | "ful" | "fao" | "gaa" | "glg" | "fro" | "non" | "geo" | "got" | "gre" | "guj" | "gla" | "hau" | "heb" | "hil" | "hin" | "ibo" | "ilo" | "smn" | "ind" | "iku" | "ipk" | "ira" | "gle" | "ita" | "sah" | "jpn" | "yid" | "kal" | "kan" | "yue" | "kar" | "kaz" | "cat" | "sjk" | "khm" | "kho" | "kik" | "sjd" | "chi" | "kin" | "kir" | "chu" | "run" | "grc" | "tlh" | "kon" | "cop" | "kor" | "hrv" | "kur" | "kmr" | "kua" | "lkt" | "lao" | "lat" | "lav" | "lin" | "lit" | "lug" | "mlg" | "mac" | "may" | "mlt" | "man" | "cmn" | "mnk" | "mao" | "mar" | "myn" | "frm" | "nom" | "enm" | "gmh" | "mol" | "mon" | "cnr" | "dut" | "nds" | "nep" | "nic" | "nso" | "nor" | "orm" | "pli" | "pan" | "pus" | "qsp" | "sje" | "pol" | "por" | "pra" | "oci" | "pro" | "roh" | "rom" | "rum" | "rus" | "smi" | "smo" | "san" | "sat" | "srp" | "sot" | "sin" | "sit" | "sms" | "sco" | "slo" | "slv" | "som" | "ckb" | "wen" | "spa" | "sux" | "swa" | "syr" | "tgl" | "tam" | "sgn" | "tel" | "sjt" | "tha" | "tib" | "tir" | "tkl" | "ton" | "cze" | "che" | "tmh" | "tur" | "ger" | "und" | "ukr" | "sju" | "hun" | "urd" | "uzb" | "zxx" | "vie" | "wel" | "qsw" | "wol" | "xho" | "yor" | "ypk" | "zul";
526
+ CordataEnumLanguageCode: "nob" | "nno" | "sme" | "smj" | "sma" | "fkv" | "swe" | "fin" | "dan" | "ice" | "eng" | "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "tay" | "bam" | "bnt" | "baq" | "bel" | "bem" | "ben" | "byn" | "bis" | "zbl" | "bos" | "bre" | "bul" | "bur" | "ceb" | "cic" | "prs" | "dzo" | "egy" | "epo" | "est" | "gez" | "ewe" | "fat" | "per" | "fij" | "fiu" | "mul" | "fre" | "fry" | "ful" | "fao" | "gaa" | "glg" | "fro" | "non" | "geo" | "got" | "gre" | "guj" | "gla" | "hau" | "heb" | "hil" | "hin" | "ibo" | "ilo" | "smn" | "ind" | "iku" | "ipk" | "ira" | "gle" | "ita" | "sah" | "jpn" | "yid" | "kal" | "kan" | "yue" | "kar" | "kaz" | "cat" | "sjk" | "khm" | "kho" | "kik" | "sjd" | "chi" | "kin" | "kir" | "chu" | "run" | "grc" | "tlh" | "kon" | "cop" | "kor" | "hrv" | "kur" | "kmr" | "kua" | "lkt" | "lao" | "lat" | "lav" | "lin" | "lit" | "lug" | "mlg" | "mac" | "may" | "mlt" | "man" | "cmn" | "mnk" | "mao" | "mar" | "myn" | "frm" | "nom" | "enm" | "gmh" | "mol" | "mon" | "cnr" | "nah" | "dut" | "nds" | "nep" | "nic" | "nso" | "nor" | "orm" | "pli" | "pan" | "pus" | "qsp" | "sje" | "pol" | "por" | "pra" | "oci" | "pro" | "roh" | "rom" | "rum" | "rus" | "smi" | "smo" | "san" | "sat" | "srp" | "sot" | "sin" | "sit" | "sms" | "sco" | "slo" | "slv" | "som" | "ckb" | "wen" | "spa" | "sux" | "swa" | "syr" | "tgl" | "tam" | "sgn" | "tel" | "sjt" | "tha" | "tib" | "tir" | "tkl" | "ton" | "cze" | "che" | "tmh" | "tur" | "ger" | "und" | "ukr" | "sju" | "hun" | "urd" | "uzb" | "zxx" | "vie" | "wel" | "qsw" | "wol" | "xho" | "yor" | "ypk" | "zul";
527
527
  Language: {
528
528
  /** @description Three-letter language code from ISO 639-2 (Bibliographic) */
529
529
  code: components["schemas"]["CordataEnumLanguageCode"];
@@ -2107,8 +2107,8 @@ interface components {
2107
2107
  * @description When the work was deleted from BMDB.
2108
2108
  */
2109
2109
  deletedAt: string;
2110
- /** @description Replacement for the deleted work. */
2111
- replacement?: components["schemas"]["Work"];
2110
+ /** @description Id of work that replaces the deleted work. */
2111
+ replacementWorkId?: components["schemas"]["Id"];
2112
2112
  };
2113
2113
  /** @description Full `Work` records for the requested IDs. */
2114
2114
  GetWorks200Response: {
@@ -7360,6 +7360,20 @@ declare const cordataEnumLanguageMap: {
7360
7360
  readonly iso639_3: "cnr";
7361
7361
  readonly type: "language";
7362
7362
  };
7363
+ readonly nah: {
7364
+ readonly code: "nah";
7365
+ readonly name: "nahuatl";
7366
+ readonly preferred_name: {
7367
+ readonly nb: "nahuatl";
7368
+ readonly nn: "nahuatl";
7369
+ readonly en: "Nahuatl";
7370
+ };
7371
+ readonly comments: null;
7372
+ readonly domain: "cordata";
7373
+ readonly iso639_2b: "nah";
7374
+ readonly iso639_3: null;
7375
+ readonly type: "language";
7376
+ };
7363
7377
  readonly dut: {
7364
7378
  readonly code: "dut";
7365
7379
  readonly name: "nederlandsk";
@@ -9412,4 +9426,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
9412
9426
  declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
9413
9427
  //#endregion
9414
9428
  export { parseCatalogueId as C, ParsedCatalogueId as S, serializeDigitalServiceRecordId as _, BmdbCordataApiV1Schemas as a, parseCatalogueRecordId as b, isCordataEnumContributorRoleCode as c, isCordataEnumManifestationMediumCode as d, isCordataEnumWorkTypeCode as f, parseDigitalServiceRecordId as g, ParsedDigitalServiceRecordId as h, BmdbCordataApiV1Paths as i, isCordataEnumExpressionTypeCode as l, DigitalServiceRecordId as m, BmdbSearchClientOptions as n, isCordataEnumAgeGroupCode as o, formatIsbdTitle as p, createBmdbFetchClient as r, isCordataEnumAgeLimitCode as s, BmdbSearchClient as t, isCordataEnumLanguageCode as u, CatalogueRecordId as v, serializeCatalogueId as w, serializeCatalogueRecordId as x, ParsedCatalogueRecordId as y };
9415
- //# sourceMappingURL=index-B-NaE4GW.d.cts.map
9429
+ //# sourceMappingURL=index-BvFdVUUl.d.cts.map
@@ -524,7 +524,7 @@ interface components {
524
524
  partTitle?: string;
525
525
  };
526
526
  /** @enum {string} */
527
- CordataEnumLanguageCode: "nob" | "nno" | "sme" | "smj" | "sma" | "fkv" | "swe" | "fin" | "dan" | "ice" | "eng" | "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "tay" | "bam" | "bnt" | "baq" | "bel" | "bem" | "ben" | "byn" | "bis" | "zbl" | "bos" | "bre" | "bul" | "bur" | "ceb" | "cic" | "prs" | "dzo" | "egy" | "epo" | "est" | "gez" | "ewe" | "fat" | "per" | "fij" | "fiu" | "mul" | "fre" | "fry" | "ful" | "fao" | "gaa" | "glg" | "fro" | "non" | "geo" | "got" | "gre" | "guj" | "gla" | "hau" | "heb" | "hil" | "hin" | "ibo" | "ilo" | "smn" | "ind" | "iku" | "ipk" | "ira" | "gle" | "ita" | "sah" | "jpn" | "yid" | "kal" | "kan" | "yue" | "kar" | "kaz" | "cat" | "sjk" | "khm" | "kho" | "kik" | "sjd" | "chi" | "kin" | "kir" | "chu" | "run" | "grc" | "tlh" | "kon" | "cop" | "kor" | "hrv" | "kur" | "kmr" | "kua" | "lkt" | "lao" | "lat" | "lav" | "lin" | "lit" | "lug" | "mlg" | "mac" | "may" | "mlt" | "man" | "cmn" | "mnk" | "mao" | "mar" | "myn" | "frm" | "nom" | "enm" | "gmh" | "mol" | "mon" | "cnr" | "dut" | "nds" | "nep" | "nic" | "nso" | "nor" | "orm" | "pli" | "pan" | "pus" | "qsp" | "sje" | "pol" | "por" | "pra" | "oci" | "pro" | "roh" | "rom" | "rum" | "rus" | "smi" | "smo" | "san" | "sat" | "srp" | "sot" | "sin" | "sit" | "sms" | "sco" | "slo" | "slv" | "som" | "ckb" | "wen" | "spa" | "sux" | "swa" | "syr" | "tgl" | "tam" | "sgn" | "tel" | "sjt" | "tha" | "tib" | "tir" | "tkl" | "ton" | "cze" | "che" | "tmh" | "tur" | "ger" | "und" | "ukr" | "sju" | "hun" | "urd" | "uzb" | "zxx" | "vie" | "wel" | "qsw" | "wol" | "xho" | "yor" | "ypk" | "zul";
527
+ CordataEnumLanguageCode: "nob" | "nno" | "sme" | "smj" | "sma" | "fkv" | "swe" | "fin" | "dan" | "ice" | "eng" | "abk" | "ach" | "afr" | "akk" | "alb" | "amh" | "ang" | "ara" | "arc" | "arm" | "aze" | "tay" | "bam" | "bnt" | "baq" | "bel" | "bem" | "ben" | "byn" | "bis" | "zbl" | "bos" | "bre" | "bul" | "bur" | "ceb" | "cic" | "prs" | "dzo" | "egy" | "epo" | "est" | "gez" | "ewe" | "fat" | "per" | "fij" | "fiu" | "mul" | "fre" | "fry" | "ful" | "fao" | "gaa" | "glg" | "fro" | "non" | "geo" | "got" | "gre" | "guj" | "gla" | "hau" | "heb" | "hil" | "hin" | "ibo" | "ilo" | "smn" | "ind" | "iku" | "ipk" | "ira" | "gle" | "ita" | "sah" | "jpn" | "yid" | "kal" | "kan" | "yue" | "kar" | "kaz" | "cat" | "sjk" | "khm" | "kho" | "kik" | "sjd" | "chi" | "kin" | "kir" | "chu" | "run" | "grc" | "tlh" | "kon" | "cop" | "kor" | "hrv" | "kur" | "kmr" | "kua" | "lkt" | "lao" | "lat" | "lav" | "lin" | "lit" | "lug" | "mlg" | "mac" | "may" | "mlt" | "man" | "cmn" | "mnk" | "mao" | "mar" | "myn" | "frm" | "nom" | "enm" | "gmh" | "mol" | "mon" | "cnr" | "nah" | "dut" | "nds" | "nep" | "nic" | "nso" | "nor" | "orm" | "pli" | "pan" | "pus" | "qsp" | "sje" | "pol" | "por" | "pra" | "oci" | "pro" | "roh" | "rom" | "rum" | "rus" | "smi" | "smo" | "san" | "sat" | "srp" | "sot" | "sin" | "sit" | "sms" | "sco" | "slo" | "slv" | "som" | "ckb" | "wen" | "spa" | "sux" | "swa" | "syr" | "tgl" | "tam" | "sgn" | "tel" | "sjt" | "tha" | "tib" | "tir" | "tkl" | "ton" | "cze" | "che" | "tmh" | "tur" | "ger" | "und" | "ukr" | "sju" | "hun" | "urd" | "uzb" | "zxx" | "vie" | "wel" | "qsw" | "wol" | "xho" | "yor" | "ypk" | "zul";
528
528
  Language: {
529
529
  /** @description Three-letter language code from ISO 639-2 (Bibliographic) */
530
530
  code: components["schemas"]["CordataEnumLanguageCode"];
@@ -2108,8 +2108,8 @@ interface components {
2108
2108
  * @description When the work was deleted from BMDB.
2109
2109
  */
2110
2110
  deletedAt: string;
2111
- /** @description Replacement for the deleted work. */
2112
- replacement?: components["schemas"]["Work"];
2111
+ /** @description Id of work that replaces the deleted work. */
2112
+ replacementWorkId?: components["schemas"]["Id"];
2113
2113
  };
2114
2114
  /** @description Full `Work` records for the requested IDs. */
2115
2115
  GetWorks200Response: {
@@ -7361,6 +7361,20 @@ declare const cordataEnumLanguageMap: {
7361
7361
  readonly iso639_3: "cnr";
7362
7362
  readonly type: "language";
7363
7363
  };
7364
+ readonly nah: {
7365
+ readonly code: "nah";
7366
+ readonly name: "nahuatl";
7367
+ readonly preferred_name: {
7368
+ readonly nb: "nahuatl";
7369
+ readonly nn: "nahuatl";
7370
+ readonly en: "Nahuatl";
7371
+ };
7372
+ readonly comments: null;
7373
+ readonly domain: "cordata";
7374
+ readonly iso639_2b: "nah";
7375
+ readonly iso639_3: null;
7376
+ readonly type: "language";
7377
+ };
7364
7378
  readonly dut: {
7365
7379
  readonly code: "dut";
7366
7380
  readonly name: "nederlandsk";
@@ -9196,4 +9210,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
9196
9210
  declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
9197
9211
  //#endregion
9198
9212
  export { parseCatalogueId as C, ParsedCatalogueId as S, serializeDigitalServiceRecordId as _, BmdbCordataApiV1Schemas as a, parseCatalogueRecordId as b, isCordataEnumContributorRoleCode as c, isCordataEnumManifestationMediumCode as d, isCordataEnumWorkTypeCode as f, parseDigitalServiceRecordId as g, ParsedDigitalServiceRecordId as h, BmdbCordataApiV1Paths as i, isCordataEnumExpressionTypeCode as l, DigitalServiceRecordId as m, BmdbSearchClientOptions as n, isCordataEnumAgeGroupCode as o, formatIsbdTitle as p, createBmdbFetchClient as r, isCordataEnumAgeLimitCode as s, BmdbSearchClient as t, isCordataEnumLanguageCode as u, CatalogueRecordId as v, serializeCatalogueId as w, serializeCatalogueRecordId as x, ParsedCatalogueRecordId as y };
9199
- //# sourceMappingURL=index-CToMrbVb.d.ts.map
9213
+ //# sourceMappingURL=index-BxOYd-jX.d.ts.map
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_v1 = require("./v1-C5kBZR4y.cjs");
2
+ const require_v1 = require("./v1-Io5U_R1F.cjs");
3
3
  //#region ../api-specifications/dist/bmdb-cordata-api/utils/catalogueRecordId.js
4
4
  const librarySystemTypeMap = {
5
5
  b: "bibliofil",
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-B-NaE4GW.cjs";
1
+ import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-BvFdVUUl.cjs";
2
2
  //#region ../api-specifications/dist/bmdb-cordata-api/utils/substituteBibbiIdentifiersForIds.d.ts
3
3
  type BibbiIdentifierContext = {
4
4
  workBibbiIdentifier?: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-CToMrbVb.js";
1
+ import { C as parseCatalogueId, S as ParsedCatalogueId, _ as serializeDigitalServiceRecordId, a as BmdbCordataApiV1Schemas, b as parseCatalogueRecordId, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, g as parseDigitalServiceRecordId, h as ParsedDigitalServiceRecordId, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, m as DigitalServiceRecordId, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode, v as CatalogueRecordId, w as serializeCatalogueId, x as serializeCatalogueRecordId, y as ParsedCatalogueRecordId } from "./index-BxOYd-jX.js";
2
2
  //#region ../api-specifications/dist/bmdb-cordata-api/utils/substituteBibbiIdentifiersForIds.d.ts
3
3
  type BibbiIdentifierContext = {
4
4
  workBibbiIdentifier?: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as isCordataEnumExpressionTypeCode, c as isCordataEnumWorkTypeCode, i as isCordataEnumContributorRoleCode, l as formatIsbdTitle, n as isCordataEnumAgeGroupCode, o as isCordataEnumLanguageCode, r as isCordataEnumAgeLimitCode, s as isCordataEnumManifestationMediumCode, t as createBmdbFetchClient } from "./v1-BCdmqXr8.js";
1
+ import { a as isCordataEnumExpressionTypeCode, c as isCordataEnumWorkTypeCode, i as isCordataEnumContributorRoleCode, l as formatIsbdTitle, n as isCordataEnumAgeGroupCode, o as isCordataEnumLanguageCode, r as isCordataEnumAgeLimitCode, s as isCordataEnumManifestationMediumCode, t as createBmdbFetchClient } from "./v1-TMLEEkxr.js";
2
2
  //#region ../api-specifications/dist/bmdb-cordata-api/utils/catalogueRecordId.js
3
3
  const librarySystemTypeMap = {
4
4
  b: "bibliofil",
package/dist/v1/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_v1 = require("../v1-C5kBZR4y.cjs");
2
+ const require_v1 = require("../v1-Io5U_R1F.cjs");
3
3
  exports.createBmdbFetchClient = require_v1.createBmdbFetchClient;
4
4
  exports.formatIsbdTitle = require_v1.formatIsbdTitle;
5
5
  exports.isCordataEnumAgeGroupCode = require_v1.isCordataEnumAgeGroupCode;
@@ -1,2 +1,2 @@
1
- import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-B-NaE4GW.cjs";
1
+ import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-BvFdVUUl.cjs";
2
2
  export { type BmdbCordataApiV1Paths, type BmdbCordataApiV1Schemas, BmdbSearchClient, BmdbSearchClientOptions, createBmdbFetchClient, formatIsbdTitle, isCordataEnumAgeGroupCode, isCordataEnumAgeLimitCode, isCordataEnumContributorRoleCode, isCordataEnumExpressionTypeCode, isCordataEnumLanguageCode, isCordataEnumManifestationMediumCode, isCordataEnumWorkTypeCode };
@@ -1,2 +1,2 @@
1
- import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-CToMrbVb.js";
1
+ import { a as BmdbCordataApiV1Schemas, c as isCordataEnumContributorRoleCode, d as isCordataEnumManifestationMediumCode, f as isCordataEnumWorkTypeCode, i as BmdbCordataApiV1Paths, l as isCordataEnumExpressionTypeCode, n as BmdbSearchClientOptions, o as isCordataEnumAgeGroupCode, p as formatIsbdTitle, r as createBmdbFetchClient, s as isCordataEnumAgeLimitCode, t as BmdbSearchClient, u as isCordataEnumLanguageCode } from "../index-BxOYd-jX.js";
2
2
  export { type BmdbCordataApiV1Paths, type BmdbCordataApiV1Schemas, BmdbSearchClient, BmdbSearchClientOptions, createBmdbFetchClient, formatIsbdTitle, isCordataEnumAgeGroupCode, isCordataEnumAgeLimitCode, isCordataEnumContributorRoleCode, isCordataEnumExpressionTypeCode, isCordataEnumLanguageCode, isCordataEnumManifestationMediumCode, isCordataEnumWorkTypeCode };
package/dist/v1/index.js CHANGED
@@ -1 +1 @@
1
- export { t as createBmdbFetchClient, l as formatIsbdTitle, n as isCordataEnumAgeGroupCode, r as isCordataEnumAgeLimitCode, i as isCordataEnumContributorRoleCode, a as isCordataEnumExpressionTypeCode, o as isCordataEnumLanguageCode, s as isCordataEnumManifestationMediumCode, c as isCordataEnumWorkTypeCode } from "../v1-BCdmqXr8.js";
1
+ export { t as createBmdbFetchClient, l as formatIsbdTitle, n as isCordataEnumAgeGroupCode, r as isCordataEnumAgeLimitCode, i as isCordataEnumContributorRoleCode, a as isCordataEnumExpressionTypeCode, o as isCordataEnumLanguageCode, s as isCordataEnumManifestationMediumCode, c as isCordataEnumWorkTypeCode } from "../v1-TMLEEkxr.js";
@@ -4063,6 +4063,20 @@ const cordataEnumLanguageMap = {
4063
4063
  iso639_3: "cnr",
4064
4064
  type: "language"
4065
4065
  },
4066
+ nah: {
4067
+ code: "nah",
4068
+ name: "nahuatl",
4069
+ preferred_name: {
4070
+ nb: "nahuatl",
4071
+ nn: "nahuatl",
4072
+ en: "Nahuatl"
4073
+ },
4074
+ comments: null,
4075
+ domain: "cordata",
4076
+ iso639_2b: "nah",
4077
+ iso639_3: null,
4078
+ type: "language"
4079
+ },
4066
4080
  dut: {
4067
4081
  code: "dut",
4068
4082
  name: "nederlandsk",
@@ -11750,6 +11764,20 @@ const systemEnumIssueMap = {
11750
11764
  category: "internal",
11751
11765
  type: "issue"
11752
11766
  },
11767
+ "duplicate_bokbasen_work_id": {
11768
+ code: "duplicate_bokbasen_work_id",
11769
+ name: "Mulig duplikat: samme Bokbasen-verks-id",
11770
+ preferred_name: {
11771
+ nb: "Mulig duplikat: samme Bokbasen-verks-id",
11772
+ nn: null,
11773
+ en: null
11774
+ },
11775
+ comments: null,
11776
+ domain: "system",
11777
+ entities: ["work"],
11778
+ category: "internal",
11779
+ type: "issue"
11780
+ },
11753
11781
  "manual_flag": {
11754
11782
  code: "manual_flag",
11755
11783
  name: "Manuelt flagget for kvalitetssikring",
@@ -11822,48 +11850,6 @@ const systemEnumIssueMap = {
11822
11850
  category: "internal",
11823
11851
  type: "issue"
11824
11852
  },
11825
- "ONIX_MISSING_ORIGINAL_TITLE": {
11826
- code: "ONIX_MISSING_ORIGINAL_TITLE",
11827
- name: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
11828
- preferred_name: {
11829
- nb: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
11830
- nn: null,
11831
- en: null
11832
- },
11833
- comments: null,
11834
- domain: "system",
11835
- entities: ["work"],
11836
- category: "onix_import",
11837
- type: "issue"
11838
- },
11839
- "ONIX_MISSING_ORIGINAL_LANGUAGE": {
11840
- code: "ONIX_MISSING_ORIGINAL_LANGUAGE",
11841
- name: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
11842
- preferred_name: {
11843
- nb: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
11844
- nn: null,
11845
- en: null
11846
- },
11847
- comments: null,
11848
- domain: "system",
11849
- entities: ["work"],
11850
- category: "onix_import",
11851
- type: "issue"
11852
- },
11853
- "ONIX_UNKNOWN_LITERATURE_TYPE": {
11854
- code: "ONIX_UNKNOWN_LITERATURE_TYPE",
11855
- name: "ONIX-import: Litteraturtype kunne ikke bestemmes",
11856
- preferred_name: {
11857
- nb: "ONIX-import: Litteraturtype kunne ikke bestemmes",
11858
- nn: null,
11859
- en: null
11860
- },
11861
- comments: null,
11862
- domain: "system",
11863
- entities: ["work", "product"],
11864
- category: "onix_import",
11865
- type: "issue"
11866
- },
11867
11853
  "ONIX_IMPRINT_PLACE_MISMATCH": {
11868
11854
  code: "ONIX_IMPRINT_PLACE_MISMATCH",
11869
11855
  name: "ONIX-import: Imprint og CityOfPublication med ulik lengde",
@@ -12140,6 +12126,20 @@ const systemEnumIssueMap = {
12140
12126
  category: "onix_import",
12141
12127
  type: "issue"
12142
12128
  },
12129
+ "ONIX_WORK_SUBTITLE_FROM_MANIFESTATION": {
12130
+ code: "ONIX_WORK_SUBTITLE_FROM_MANIFESTATION",
12131
+ name: "ONIX-import: Undertittel på verk og uttrykk kopiert fra manifestasjon",
12132
+ preferred_name: {
12133
+ nb: "ONIX-import: Undertittel på verk og uttrykk kopiert fra manifestasjon",
12134
+ nn: null,
12135
+ en: null
12136
+ },
12137
+ comments: null,
12138
+ domain: "system",
12139
+ entities: ["work", "expression"],
12140
+ category: "onix_import",
12141
+ type: "issue"
12142
+ },
12143
12143
  "UNNAMED_AGENT": {
12144
12144
  code: "UNNAMED_AGENT",
12145
12145
  name: "Import of unnamed agents is not supported yet",
@@ -4064,6 +4064,20 @@ const cordataEnumLanguageMap = {
4064
4064
  iso639_3: "cnr",
4065
4065
  type: "language"
4066
4066
  },
4067
+ nah: {
4068
+ code: "nah",
4069
+ name: "nahuatl",
4070
+ preferred_name: {
4071
+ nb: "nahuatl",
4072
+ nn: "nahuatl",
4073
+ en: "Nahuatl"
4074
+ },
4075
+ comments: null,
4076
+ domain: "cordata",
4077
+ iso639_2b: "nah",
4078
+ iso639_3: null,
4079
+ type: "language"
4080
+ },
4067
4081
  dut: {
4068
4082
  code: "dut",
4069
4083
  name: "nederlandsk",
@@ -11751,6 +11765,20 @@ const systemEnumIssueMap = {
11751
11765
  category: "internal",
11752
11766
  type: "issue"
11753
11767
  },
11768
+ "duplicate_bokbasen_work_id": {
11769
+ code: "duplicate_bokbasen_work_id",
11770
+ name: "Mulig duplikat: samme Bokbasen-verks-id",
11771
+ preferred_name: {
11772
+ nb: "Mulig duplikat: samme Bokbasen-verks-id",
11773
+ nn: null,
11774
+ en: null
11775
+ },
11776
+ comments: null,
11777
+ domain: "system",
11778
+ entities: ["work"],
11779
+ category: "internal",
11780
+ type: "issue"
11781
+ },
11754
11782
  "manual_flag": {
11755
11783
  code: "manual_flag",
11756
11784
  name: "Manuelt flagget for kvalitetssikring",
@@ -11823,48 +11851,6 @@ const systemEnumIssueMap = {
11823
11851
  category: "internal",
11824
11852
  type: "issue"
11825
11853
  },
11826
- "ONIX_MISSING_ORIGINAL_TITLE": {
11827
- code: "ONIX_MISSING_ORIGINAL_TITLE",
11828
- name: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
11829
- preferred_name: {
11830
- nb: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
11831
- nn: null,
11832
- en: null
11833
- },
11834
- comments: null,
11835
- domain: "system",
11836
- entities: ["work"],
11837
- category: "onix_import",
11838
- type: "issue"
11839
- },
11840
- "ONIX_MISSING_ORIGINAL_LANGUAGE": {
11841
- code: "ONIX_MISSING_ORIGINAL_LANGUAGE",
11842
- name: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
11843
- preferred_name: {
11844
- nb: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
11845
- nn: null,
11846
- en: null
11847
- },
11848
- comments: null,
11849
- domain: "system",
11850
- entities: ["work"],
11851
- category: "onix_import",
11852
- type: "issue"
11853
- },
11854
- "ONIX_UNKNOWN_LITERATURE_TYPE": {
11855
- code: "ONIX_UNKNOWN_LITERATURE_TYPE",
11856
- name: "ONIX-import: Litteraturtype kunne ikke bestemmes",
11857
- preferred_name: {
11858
- nb: "ONIX-import: Litteraturtype kunne ikke bestemmes",
11859
- nn: null,
11860
- en: null
11861
- },
11862
- comments: null,
11863
- domain: "system",
11864
- entities: ["work", "product"],
11865
- category: "onix_import",
11866
- type: "issue"
11867
- },
11868
11854
  "ONIX_IMPRINT_PLACE_MISMATCH": {
11869
11855
  code: "ONIX_IMPRINT_PLACE_MISMATCH",
11870
11856
  name: "ONIX-import: Imprint og CityOfPublication med ulik lengde",
@@ -12141,6 +12127,20 @@ const systemEnumIssueMap = {
12141
12127
  category: "onix_import",
12142
12128
  type: "issue"
12143
12129
  },
12130
+ "ONIX_WORK_SUBTITLE_FROM_MANIFESTATION": {
12131
+ code: "ONIX_WORK_SUBTITLE_FROM_MANIFESTATION",
12132
+ name: "ONIX-import: Undertittel på verk og uttrykk kopiert fra manifestasjon",
12133
+ preferred_name: {
12134
+ nb: "ONIX-import: Undertittel på verk og uttrykk kopiert fra manifestasjon",
12135
+ nn: null,
12136
+ en: null
12137
+ },
12138
+ comments: null,
12139
+ domain: "system",
12140
+ entities: ["work", "expression"],
12141
+ category: "onix_import",
12142
+ type: "issue"
12143
+ },
12144
12144
  "UNNAMED_AGENT": {
12145
12145
  code: "UNNAMED_AGENT",
12146
12146
  name: "Import of unnamed agents is not supported yet",
@@ -15275,4 +15275,4 @@ const parseHost = (host = "search.bmdb.no") => {
15275
15275
  //#endregion
15276
15276
  export { isCordataEnumExpressionTypeCode as a, isCordataEnumWorkTypeCode as c, isCordataEnumContributorRoleCode as i, formatIsbdTitle as l, isCordataEnumAgeGroupCode as n, isCordataEnumLanguageCode as o, isCordataEnumAgeLimitCode as r, isCordataEnumManifestationMediumCode as s, createBmdbFetchClient as t };
15277
15277
 
15278
- //# sourceMappingURL=v1-BCdmqXr8.js.map
15278
+ //# sourceMappingURL=v1-TMLEEkxr.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biblioteksentralen/bmdb-search",
3
- "version": "0.0.0-beta.75",
3
+ "version": "0.0.0-beta.76",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Client for searching Bibliotekenes metadatabrønn (BMDB)",
@@ -71,7 +71,7 @@
71
71
  "vitest": "^5.0.3"
72
72
  },
73
73
  "scripts": {
74
- "type-check": "tsc --noEmit",
74
+ "typecheck": "tsc --noEmit",
75
75
  "clean": "rimraf dist src/generated",
76
76
  "lint": "oxlint .",
77
77
  "lint:package": "attw --pack",