@biblioteksentralen/bmdb-search 0.0.0-beta.74 → 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.
- package/dist/{index-H2sfQhnU.d.cts → index-BvFdVUUl.d.cts} +97 -22
- package/dist/{index-CVJjkWB5.d.ts → index-BxOYd-jX.d.ts} +97 -22
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/v1/index.cjs +1 -1
- package/dist/v1/index.d.cts +1 -1
- package/dist/v1/index.d.ts +1 -1
- package/dist/v1/index.js +1 -1
- package/dist/{v1-C_OZojnA.cjs → v1-Io5U_R1F.cjs} +129 -45
- package/dist/{v1-Blzc_Gn2.js → v1-TMLEEkxr.js} +130 -46
- package/package.json +2 -2
|
@@ -44,8 +44,9 @@ interface paths {
|
|
|
44
44
|
/**
|
|
45
45
|
* Get works
|
|
46
46
|
* @description Fetch full `Work` records by BMDB work ID. Each work includes its expressions and
|
|
47
|
-
* manifestations.
|
|
48
|
-
* services
|
|
47
|
+
* manifestations. Works are returned whenever they exist, but their expressions and
|
|
48
|
+
* manifestations are limited to the search profile's catalogues and digital services,
|
|
49
|
+
* so `expressions` is empty for works without manifestations in the search profile.
|
|
49
50
|
*/
|
|
50
51
|
get: operations["getWorks"];
|
|
51
52
|
put?: never;
|
|
@@ -522,7 +523,7 @@ interface components {
|
|
|
522
523
|
partTitle?: string;
|
|
523
524
|
};
|
|
524
525
|
/** @enum {string} */
|
|
525
|
-
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";
|
|
526
527
|
Language: {
|
|
527
528
|
/** @description Three-letter language code from ISO 639-2 (Bibliographic) */
|
|
528
529
|
code: components["schemas"]["CordataEnumLanguageCode"];
|
|
@@ -1229,6 +1230,17 @@ interface components {
|
|
|
1229
1230
|
nn: string;
|
|
1230
1231
|
};
|
|
1231
1232
|
};
|
|
1233
|
+
/**
|
|
1234
|
+
* @description - `general_note` - Used for notes that do not have a more specific type.
|
|
1235
|
+
* - `contents_note`: Information about the contents of the document, such as the number of short works included, songs in a music work, whether the document has bibliographies, adress lists etc.
|
|
1236
|
+
* @enum {string}
|
|
1237
|
+
*/
|
|
1238
|
+
WorkNoteTypeEnum: "general_note" | "contents_note";
|
|
1239
|
+
/** @description Additional information about the document given by the cataloguer */
|
|
1240
|
+
WorkNote: {
|
|
1241
|
+
value: string;
|
|
1242
|
+
noteType: components["schemas"]["WorkNoteTypeEnum"];
|
|
1243
|
+
};
|
|
1232
1244
|
CordataEnumAgeGroup: {
|
|
1233
1245
|
code: components["schemas"]["CordataEnumAgeGroupCode"];
|
|
1234
1246
|
label: {
|
|
@@ -1258,7 +1270,7 @@ interface components {
|
|
|
1258
1270
|
};
|
|
1259
1271
|
};
|
|
1260
1272
|
/** @enum {string} */
|
|
1261
|
-
CordataEnumAgeLimitCode: "nmaa" | "nma6" | "nma9" | "nma12" | "nma15" | "nma18" | "pegi3" | "pegi7" | "pegi12" | "pegi16" | "pegi18" | "ttg4" | "ttg5" | "ttg6" | "ttg7" | "ttg8" | "ttg9" | "ttg10" | "ttg12" | "ttg14" | "ttg16" | "ttg18";
|
|
1273
|
+
CordataEnumAgeLimitCode: "nmaa" | "nma6" | "nma9" | "nma12" | "nma15" | "nma18" | "pegi3" | "pegi7" | "pegi12" | "pegi16" | "pegi18" | "ttg2" | "ttg3" | "ttg4" | "ttg5" | "ttg6" | "ttg7" | "ttg8" | "ttg9" | "ttg10" | "ttg12" | "ttg14" | "ttg16" | "ttg18";
|
|
1262
1274
|
CordataEnumAgeLimit: {
|
|
1263
1275
|
code: components["schemas"]["CordataEnumAgeLimitCode"];
|
|
1264
1276
|
label: {
|
|
@@ -1501,6 +1513,7 @@ interface components {
|
|
|
1501
1513
|
*/
|
|
1502
1514
|
AccessibleContentFeature: {
|
|
1503
1515
|
type: string;
|
|
1516
|
+
id: string;
|
|
1504
1517
|
code: components["schemas"]["CordataEnumAccessibleContentCode"];
|
|
1505
1518
|
label: components["schemas"]["LanguageMap"];
|
|
1506
1519
|
/** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
|
|
@@ -1508,15 +1521,6 @@ interface components {
|
|
|
1508
1521
|
};
|
|
1509
1522
|
/** @enum {string} */
|
|
1510
1523
|
CordataEnumWorkWorkRelationTypeCode: "complements" | "complemented_by" | "augments" | "augmented_by" | "part_of" | "has_part" | "replaces" | "replaced_by" | "continuation_of" | "continued_in" | "abridgement_of" | "abridged_as" | "based_on" | "basis_for" | "inspired_by" | "inspiration_for" | "expansion_of" | "expanded_as" | "is_language_version_of" | "has_language_version";
|
|
1511
|
-
/** @description A contents entry, also know as an analytical title entry, describes a work (usually short work) contained in a larger work. It contains a title an optionally the main creator of the work. */
|
|
1512
|
-
ContentsEntry: {
|
|
1513
|
-
/** @constant */
|
|
1514
|
-
type: "ContentsEntry";
|
|
1515
|
-
/** @description Work or manifestation title extracted from analytical entry (7XX$t or 740$a) */
|
|
1516
|
-
title: components["schemas"]["LegacyRegularTitle"];
|
|
1517
|
-
/** @description Main creator extracted from analytical entry (700/710) */
|
|
1518
|
-
creator?: components["schemas"]["Agent"];
|
|
1519
|
-
};
|
|
1520
1524
|
/** @description Map of other identifiers for the entity */
|
|
1521
1525
|
ExpressionIdentifiers: {
|
|
1522
1526
|
/** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
|
|
@@ -1786,11 +1790,11 @@ interface components {
|
|
|
1786
1790
|
* - succeeding_entry_note: Migrated from 785, will eventually be migrated to `relatedExpressions`.
|
|
1787
1791
|
* @enum {string}
|
|
1788
1792
|
*/
|
|
1789
|
-
|
|
1793
|
+
ManifestationNoteTypeEnum: "general_note" | "bibliographic_history_note" | "contents_note_complete" | "contents_note_legacy" | "participant_or_performer_note" | "system_details_note" | "language_note" | "other_identifier_note" | "variant_title_note" | "title_source_note" | "original_title_note" | "preceding_entry_note" | "succeeding_entry_note";
|
|
1790
1794
|
/** @description Additional information about the document given by the cataloguer */
|
|
1791
|
-
|
|
1795
|
+
ManifestationNote: {
|
|
1792
1796
|
value: string;
|
|
1793
|
-
noteType: components["schemas"]["
|
|
1797
|
+
noteType: components["schemas"]["ManifestationNoteTypeEnum"];
|
|
1794
1798
|
};
|
|
1795
1799
|
/**
|
|
1796
1800
|
* @description Identifier of a digital lending or streaming service.
|
|
@@ -1906,7 +1910,7 @@ interface components {
|
|
|
1906
1910
|
/** @description Specifies the material that accompanyies the item, typically of document type "Combined document" or "Language Course" */
|
|
1907
1911
|
accompanyingMaterial?: string;
|
|
1908
1912
|
/** @description Cataloguer notes about the manifestation. */
|
|
1909
|
-
notes?: components["schemas"]["
|
|
1913
|
+
notes?: components["schemas"]["ManifestationNote"][];
|
|
1910
1914
|
/** @description Whether the manifestation has been approved by Arts Council Norway (Kulturrådet) for library distribution through Innkjøpsordningane for litteratur. */
|
|
1911
1915
|
kulturfond?: components["schemas"]["Kulturfond"];
|
|
1912
1916
|
/** @description This is an aggregate manifestation containing several works. */
|
|
@@ -2005,6 +2009,11 @@ interface components {
|
|
|
2005
2009
|
/** @constant */
|
|
2006
2010
|
entityType: "work";
|
|
2007
2011
|
id: components["schemas"]["Id"];
|
|
2012
|
+
/**
|
|
2013
|
+
* Format: date-time
|
|
2014
|
+
* @description When the work's Elasticsearch document was last updated (index ingest time).
|
|
2015
|
+
*/
|
|
2016
|
+
updatedAt: string;
|
|
2008
2017
|
} & components["schemas"]["BaseWork"] & {
|
|
2009
2018
|
workType: components["schemas"]["CordataEnumWorkType"];
|
|
2010
2019
|
literatureType?: components["schemas"]["LiteratureType"];
|
|
@@ -2041,6 +2050,7 @@ interface components {
|
|
|
2041
2050
|
*/
|
|
2042
2051
|
contributors: components["schemas"]["Contributor"][];
|
|
2043
2052
|
illustrations?: components["schemas"]["CordataEnumWorkIllustrationsOption"];
|
|
2053
|
+
notes?: components["schemas"]["WorkNote"][];
|
|
2044
2054
|
/**
|
|
2045
2055
|
* @description The recommended age group(s) for the work as assigned by Biblioteksentralen according to a controlled vocabulary.
|
|
2046
2056
|
*
|
|
@@ -2069,8 +2079,6 @@ interface components {
|
|
|
2069
2079
|
bibbiAuthorityId?: string;
|
|
2070
2080
|
relation: components["schemas"]["CordataEnumWorkWorkRelationTypeCode"];
|
|
2071
2081
|
}[];
|
|
2072
|
-
/** @description Less structured information about the work's contents. Example: song titles for musical works (parsed from 740$a with ind2 == "2" in MARC21) */
|
|
2073
|
-
contents?: components["schemas"]["ContentsEntry"][];
|
|
2074
2082
|
/** @description List of countries where work is made, firstly used for movies. */
|
|
2075
2083
|
countriesOfOrigin?: components["schemas"]["Place"][];
|
|
2076
2084
|
/** @description Classification of the work according to a classification scheme. */
|
|
@@ -2087,11 +2095,32 @@ interface components {
|
|
|
2087
2095
|
/** @description Expressions of this work, each with their manifestations. */
|
|
2088
2096
|
expressions: components["schemas"]["Expression"][];
|
|
2089
2097
|
};
|
|
2098
|
+
/** DeletedWork */
|
|
2099
|
+
DeletedWork: {
|
|
2100
|
+
/** @constant */
|
|
2101
|
+
type: "DeletedWork";
|
|
2102
|
+
/** @constant */
|
|
2103
|
+
entityType: "work";
|
|
2104
|
+
id: components["schemas"]["Id"];
|
|
2105
|
+
/**
|
|
2106
|
+
* Format: date-time
|
|
2107
|
+
* @description When the work was deleted from BMDB.
|
|
2108
|
+
*/
|
|
2109
|
+
deletedAt: string;
|
|
2110
|
+
/** @description Id of work that replaces the deleted work. */
|
|
2111
|
+
replacementWorkId?: components["schemas"]["Id"];
|
|
2112
|
+
};
|
|
2090
2113
|
/** @description Full `Work` records for the requested IDs. */
|
|
2091
2114
|
GetWorks200Response: {
|
|
2092
2115
|
total?: components["schemas"]["total"];
|
|
2093
2116
|
results: {
|
|
2094
|
-
work: components["schemas"]["Work"];
|
|
2117
|
+
work: components["schemas"]["Work"] | components["schemas"]["DeletedWork"];
|
|
2118
|
+
/**
|
|
2119
|
+
* Format: date-time
|
|
2120
|
+
* @deprecated
|
|
2121
|
+
* @description Deprecated. Use `work.updatedAt` instead.
|
|
2122
|
+
*/
|
|
2123
|
+
updatedAt: string;
|
|
2095
2124
|
}[];
|
|
2096
2125
|
};
|
|
2097
2126
|
/** @description A batch of full `Work` records from a harvest. `resumptionToken` is present when more remain. */
|
|
@@ -2723,6 +2752,8 @@ interface components {
|
|
|
2723
2752
|
type: "SearchProfile";
|
|
2724
2753
|
/** @constant */
|
|
2725
2754
|
entityType: "search_profile";
|
|
2755
|
+
/** @description Display name of the search profile, e.g. the library name. */
|
|
2756
|
+
name: string;
|
|
2726
2757
|
/** @description Library catalogues included in this search profile. */
|
|
2727
2758
|
catalogues: components["schemas"]["Catalogue"][];
|
|
2728
2759
|
/** @description Redia customer identifier for this library (optional). */
|
|
@@ -5338,6 +5369,36 @@ declare const cordataEnumAgeLimitMap: {
|
|
|
5338
5369
|
readonly nbvok_uri: "https://schema.nb.no/Bibliographic/Values/PG1004";
|
|
5339
5370
|
readonly type: "age_limit";
|
|
5340
5371
|
};
|
|
5372
|
+
readonly ttg2: {
|
|
5373
|
+
readonly code: "ttg2";
|
|
5374
|
+
readonly name: "2+";
|
|
5375
|
+
readonly preferred_name: {
|
|
5376
|
+
readonly nb: "2+";
|
|
5377
|
+
readonly nn: "2+";
|
|
5378
|
+
readonly en: "2+";
|
|
5379
|
+
};
|
|
5380
|
+
readonly comments: null;
|
|
5381
|
+
readonly domain: "cordata";
|
|
5382
|
+
readonly age_limit_type: "tabletop_game";
|
|
5383
|
+
readonly years: 2;
|
|
5384
|
+
readonly nbvok_uri: null;
|
|
5385
|
+
readonly type: "age_limit";
|
|
5386
|
+
};
|
|
5387
|
+
readonly ttg3: {
|
|
5388
|
+
readonly code: "ttg3";
|
|
5389
|
+
readonly name: "3+";
|
|
5390
|
+
readonly preferred_name: {
|
|
5391
|
+
readonly nb: "3+";
|
|
5392
|
+
readonly nn: "3+";
|
|
5393
|
+
readonly en: "3+";
|
|
5394
|
+
};
|
|
5395
|
+
readonly comments: null;
|
|
5396
|
+
readonly domain: "cordata";
|
|
5397
|
+
readonly age_limit_type: "tabletop_game";
|
|
5398
|
+
readonly years: 3;
|
|
5399
|
+
readonly nbvok_uri: null;
|
|
5400
|
+
readonly type: "age_limit";
|
|
5401
|
+
};
|
|
5341
5402
|
readonly ttg4: {
|
|
5342
5403
|
readonly code: "ttg4";
|
|
5343
5404
|
readonly name: "4+";
|
|
@@ -7299,6 +7360,20 @@ declare const cordataEnumLanguageMap: {
|
|
|
7299
7360
|
readonly iso639_3: "cnr";
|
|
7300
7361
|
readonly type: "language";
|
|
7301
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
|
+
};
|
|
7302
7377
|
readonly dut: {
|
|
7303
7378
|
readonly code: "dut";
|
|
7304
7379
|
readonly name: "nederlandsk";
|
|
@@ -8297,7 +8372,7 @@ declare const cordataEnumContributorRoleMap: {
|
|
|
8297
8372
|
readonly normarc_code: "forf.";
|
|
8298
8373
|
readonly bibframe_code: null;
|
|
8299
8374
|
readonly rda_code: null;
|
|
8300
|
-
readonly entities: ["
|
|
8375
|
+
readonly entities: ["work"];
|
|
8301
8376
|
readonly type: "contributor_role";
|
|
8302
8377
|
};
|
|
8303
8378
|
readonly translator: {
|
|
@@ -9351,4 +9426,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
|
|
|
9351
9426
|
declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
|
|
9352
9427
|
//#endregion
|
|
9353
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 };
|
|
9354
|
-
//# sourceMappingURL=index-
|
|
9429
|
+
//# sourceMappingURL=index-BvFdVUUl.d.cts.map
|
|
@@ -45,8 +45,9 @@ interface paths {
|
|
|
45
45
|
/**
|
|
46
46
|
* Get works
|
|
47
47
|
* @description Fetch full `Work` records by BMDB work ID. Each work includes its expressions and
|
|
48
|
-
* manifestations.
|
|
49
|
-
* services
|
|
48
|
+
* manifestations. Works are returned whenever they exist, but their expressions and
|
|
49
|
+
* manifestations are limited to the search profile's catalogues and digital services,
|
|
50
|
+
* so `expressions` is empty for works without manifestations in the search profile.
|
|
50
51
|
*/
|
|
51
52
|
get: operations["getWorks"];
|
|
52
53
|
put?: never;
|
|
@@ -523,7 +524,7 @@ interface components {
|
|
|
523
524
|
partTitle?: string;
|
|
524
525
|
};
|
|
525
526
|
/** @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";
|
|
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";
|
|
527
528
|
Language: {
|
|
528
529
|
/** @description Three-letter language code from ISO 639-2 (Bibliographic) */
|
|
529
530
|
code: components["schemas"]["CordataEnumLanguageCode"];
|
|
@@ -1230,6 +1231,17 @@ interface components {
|
|
|
1230
1231
|
nn: string;
|
|
1231
1232
|
};
|
|
1232
1233
|
};
|
|
1234
|
+
/**
|
|
1235
|
+
* @description - `general_note` - Used for notes that do not have a more specific type.
|
|
1236
|
+
* - `contents_note`: Information about the contents of the document, such as the number of short works included, songs in a music work, whether the document has bibliographies, adress lists etc.
|
|
1237
|
+
* @enum {string}
|
|
1238
|
+
*/
|
|
1239
|
+
WorkNoteTypeEnum: "general_note" | "contents_note";
|
|
1240
|
+
/** @description Additional information about the document given by the cataloguer */
|
|
1241
|
+
WorkNote: {
|
|
1242
|
+
value: string;
|
|
1243
|
+
noteType: components["schemas"]["WorkNoteTypeEnum"];
|
|
1244
|
+
};
|
|
1233
1245
|
CordataEnumAgeGroup: {
|
|
1234
1246
|
code: components["schemas"]["CordataEnumAgeGroupCode"];
|
|
1235
1247
|
label: {
|
|
@@ -1259,7 +1271,7 @@ interface components {
|
|
|
1259
1271
|
};
|
|
1260
1272
|
};
|
|
1261
1273
|
/** @enum {string} */
|
|
1262
|
-
CordataEnumAgeLimitCode: "nmaa" | "nma6" | "nma9" | "nma12" | "nma15" | "nma18" | "pegi3" | "pegi7" | "pegi12" | "pegi16" | "pegi18" | "ttg4" | "ttg5" | "ttg6" | "ttg7" | "ttg8" | "ttg9" | "ttg10" | "ttg12" | "ttg14" | "ttg16" | "ttg18";
|
|
1274
|
+
CordataEnumAgeLimitCode: "nmaa" | "nma6" | "nma9" | "nma12" | "nma15" | "nma18" | "pegi3" | "pegi7" | "pegi12" | "pegi16" | "pegi18" | "ttg2" | "ttg3" | "ttg4" | "ttg5" | "ttg6" | "ttg7" | "ttg8" | "ttg9" | "ttg10" | "ttg12" | "ttg14" | "ttg16" | "ttg18";
|
|
1263
1275
|
CordataEnumAgeLimit: {
|
|
1264
1276
|
code: components["schemas"]["CordataEnumAgeLimitCode"];
|
|
1265
1277
|
label: {
|
|
@@ -1502,6 +1514,7 @@ interface components {
|
|
|
1502
1514
|
*/
|
|
1503
1515
|
AccessibleContentFeature: {
|
|
1504
1516
|
type: string;
|
|
1517
|
+
id: string;
|
|
1505
1518
|
code: components["schemas"]["CordataEnumAccessibleContentCode"];
|
|
1506
1519
|
label: components["schemas"]["LanguageMap"];
|
|
1507
1520
|
/** @description URI for the corresponding concept in National Library's [Vocabulary of target groups (nortarget)](https://www.nb.no/nbvok/tg/nb/). */
|
|
@@ -1509,15 +1522,6 @@ interface components {
|
|
|
1509
1522
|
};
|
|
1510
1523
|
/** @enum {string} */
|
|
1511
1524
|
CordataEnumWorkWorkRelationTypeCode: "complements" | "complemented_by" | "augments" | "augmented_by" | "part_of" | "has_part" | "replaces" | "replaced_by" | "continuation_of" | "continued_in" | "abridgement_of" | "abridged_as" | "based_on" | "basis_for" | "inspired_by" | "inspiration_for" | "expansion_of" | "expanded_as" | "is_language_version_of" | "has_language_version";
|
|
1512
|
-
/** @description A contents entry, also know as an analytical title entry, describes a work (usually short work) contained in a larger work. It contains a title an optionally the main creator of the work. */
|
|
1513
|
-
ContentsEntry: {
|
|
1514
|
-
/** @constant */
|
|
1515
|
-
type: "ContentsEntry";
|
|
1516
|
-
/** @description Work or manifestation title extracted from analytical entry (7XX$t or 740$a) */
|
|
1517
|
-
title: components["schemas"]["LegacyRegularTitle"];
|
|
1518
|
-
/** @description Main creator extracted from analytical entry (700/710) */
|
|
1519
|
-
creator?: components["schemas"]["Agent"];
|
|
1520
|
-
};
|
|
1521
1525
|
/** @description Map of other identifiers for the entity */
|
|
1522
1526
|
ExpressionIdentifiers: {
|
|
1523
1527
|
/** @description Identifier assigned by Biblioteksentralen for authority records. Unique for all authorities independent of type. */
|
|
@@ -1787,11 +1791,11 @@ interface components {
|
|
|
1787
1791
|
* - succeeding_entry_note: Migrated from 785, will eventually be migrated to `relatedExpressions`.
|
|
1788
1792
|
* @enum {string}
|
|
1789
1793
|
*/
|
|
1790
|
-
|
|
1794
|
+
ManifestationNoteTypeEnum: "general_note" | "bibliographic_history_note" | "contents_note_complete" | "contents_note_legacy" | "participant_or_performer_note" | "system_details_note" | "language_note" | "other_identifier_note" | "variant_title_note" | "title_source_note" | "original_title_note" | "preceding_entry_note" | "succeeding_entry_note";
|
|
1791
1795
|
/** @description Additional information about the document given by the cataloguer */
|
|
1792
|
-
|
|
1796
|
+
ManifestationNote: {
|
|
1793
1797
|
value: string;
|
|
1794
|
-
noteType: components["schemas"]["
|
|
1798
|
+
noteType: components["schemas"]["ManifestationNoteTypeEnum"];
|
|
1795
1799
|
};
|
|
1796
1800
|
/**
|
|
1797
1801
|
* @description Identifier of a digital lending or streaming service.
|
|
@@ -1907,7 +1911,7 @@ interface components {
|
|
|
1907
1911
|
/** @description Specifies the material that accompanyies the item, typically of document type "Combined document" or "Language Course" */
|
|
1908
1912
|
accompanyingMaterial?: string;
|
|
1909
1913
|
/** @description Cataloguer notes about the manifestation. */
|
|
1910
|
-
notes?: components["schemas"]["
|
|
1914
|
+
notes?: components["schemas"]["ManifestationNote"][];
|
|
1911
1915
|
/** @description Whether the manifestation has been approved by Arts Council Norway (Kulturrådet) for library distribution through Innkjøpsordningane for litteratur. */
|
|
1912
1916
|
kulturfond?: components["schemas"]["Kulturfond"];
|
|
1913
1917
|
/** @description This is an aggregate manifestation containing several works. */
|
|
@@ -2006,6 +2010,11 @@ interface components {
|
|
|
2006
2010
|
/** @constant */
|
|
2007
2011
|
entityType: "work";
|
|
2008
2012
|
id: components["schemas"]["Id"];
|
|
2013
|
+
/**
|
|
2014
|
+
* Format: date-time
|
|
2015
|
+
* @description When the work's Elasticsearch document was last updated (index ingest time).
|
|
2016
|
+
*/
|
|
2017
|
+
updatedAt: string;
|
|
2009
2018
|
} & components["schemas"]["BaseWork"] & {
|
|
2010
2019
|
workType: components["schemas"]["CordataEnumWorkType"];
|
|
2011
2020
|
literatureType?: components["schemas"]["LiteratureType"];
|
|
@@ -2042,6 +2051,7 @@ interface components {
|
|
|
2042
2051
|
*/
|
|
2043
2052
|
contributors: components["schemas"]["Contributor"][];
|
|
2044
2053
|
illustrations?: components["schemas"]["CordataEnumWorkIllustrationsOption"];
|
|
2054
|
+
notes?: components["schemas"]["WorkNote"][];
|
|
2045
2055
|
/**
|
|
2046
2056
|
* @description The recommended age group(s) for the work as assigned by Biblioteksentralen according to a controlled vocabulary.
|
|
2047
2057
|
*
|
|
@@ -2070,8 +2080,6 @@ interface components {
|
|
|
2070
2080
|
bibbiAuthorityId?: string;
|
|
2071
2081
|
relation: components["schemas"]["CordataEnumWorkWorkRelationTypeCode"];
|
|
2072
2082
|
}[];
|
|
2073
|
-
/** @description Less structured information about the work's contents. Example: song titles for musical works (parsed from 740$a with ind2 == "2" in MARC21) */
|
|
2074
|
-
contents?: components["schemas"]["ContentsEntry"][];
|
|
2075
2083
|
/** @description List of countries where work is made, firstly used for movies. */
|
|
2076
2084
|
countriesOfOrigin?: components["schemas"]["Place"][];
|
|
2077
2085
|
/** @description Classification of the work according to a classification scheme. */
|
|
@@ -2088,11 +2096,32 @@ interface components {
|
|
|
2088
2096
|
/** @description Expressions of this work, each with their manifestations. */
|
|
2089
2097
|
expressions: components["schemas"]["Expression"][];
|
|
2090
2098
|
};
|
|
2099
|
+
/** DeletedWork */
|
|
2100
|
+
DeletedWork: {
|
|
2101
|
+
/** @constant */
|
|
2102
|
+
type: "DeletedWork";
|
|
2103
|
+
/** @constant */
|
|
2104
|
+
entityType: "work";
|
|
2105
|
+
id: components["schemas"]["Id"];
|
|
2106
|
+
/**
|
|
2107
|
+
* Format: date-time
|
|
2108
|
+
* @description When the work was deleted from BMDB.
|
|
2109
|
+
*/
|
|
2110
|
+
deletedAt: string;
|
|
2111
|
+
/** @description Id of work that replaces the deleted work. */
|
|
2112
|
+
replacementWorkId?: components["schemas"]["Id"];
|
|
2113
|
+
};
|
|
2091
2114
|
/** @description Full `Work` records for the requested IDs. */
|
|
2092
2115
|
GetWorks200Response: {
|
|
2093
2116
|
total?: components["schemas"]["total"];
|
|
2094
2117
|
results: {
|
|
2095
|
-
work: components["schemas"]["Work"];
|
|
2118
|
+
work: components["schemas"]["Work"] | components["schemas"]["DeletedWork"];
|
|
2119
|
+
/**
|
|
2120
|
+
* Format: date-time
|
|
2121
|
+
* @deprecated
|
|
2122
|
+
* @description Deprecated. Use `work.updatedAt` instead.
|
|
2123
|
+
*/
|
|
2124
|
+
updatedAt: string;
|
|
2096
2125
|
}[];
|
|
2097
2126
|
};
|
|
2098
2127
|
/** @description A batch of full `Work` records from a harvest. `resumptionToken` is present when more remain. */
|
|
@@ -2724,6 +2753,8 @@ interface components {
|
|
|
2724
2753
|
type: "SearchProfile";
|
|
2725
2754
|
/** @constant */
|
|
2726
2755
|
entityType: "search_profile";
|
|
2756
|
+
/** @description Display name of the search profile, e.g. the library name. */
|
|
2757
|
+
name: string;
|
|
2727
2758
|
/** @description Library catalogues included in this search profile. */
|
|
2728
2759
|
catalogues: components["schemas"]["Catalogue"][];
|
|
2729
2760
|
/** @description Redia customer identifier for this library (optional). */
|
|
@@ -5339,6 +5370,36 @@ declare const cordataEnumAgeLimitMap: {
|
|
|
5339
5370
|
readonly nbvok_uri: "https://schema.nb.no/Bibliographic/Values/PG1004";
|
|
5340
5371
|
readonly type: "age_limit";
|
|
5341
5372
|
};
|
|
5373
|
+
readonly ttg2: {
|
|
5374
|
+
readonly code: "ttg2";
|
|
5375
|
+
readonly name: "2+";
|
|
5376
|
+
readonly preferred_name: {
|
|
5377
|
+
readonly nb: "2+";
|
|
5378
|
+
readonly nn: "2+";
|
|
5379
|
+
readonly en: "2+";
|
|
5380
|
+
};
|
|
5381
|
+
readonly comments: null;
|
|
5382
|
+
readonly domain: "cordata";
|
|
5383
|
+
readonly age_limit_type: "tabletop_game";
|
|
5384
|
+
readonly years: 2;
|
|
5385
|
+
readonly nbvok_uri: null;
|
|
5386
|
+
readonly type: "age_limit";
|
|
5387
|
+
};
|
|
5388
|
+
readonly ttg3: {
|
|
5389
|
+
readonly code: "ttg3";
|
|
5390
|
+
readonly name: "3+";
|
|
5391
|
+
readonly preferred_name: {
|
|
5392
|
+
readonly nb: "3+";
|
|
5393
|
+
readonly nn: "3+";
|
|
5394
|
+
readonly en: "3+";
|
|
5395
|
+
};
|
|
5396
|
+
readonly comments: null;
|
|
5397
|
+
readonly domain: "cordata";
|
|
5398
|
+
readonly age_limit_type: "tabletop_game";
|
|
5399
|
+
readonly years: 3;
|
|
5400
|
+
readonly nbvok_uri: null;
|
|
5401
|
+
readonly type: "age_limit";
|
|
5402
|
+
};
|
|
5342
5403
|
readonly ttg4: {
|
|
5343
5404
|
readonly code: "ttg4";
|
|
5344
5405
|
readonly name: "4+";
|
|
@@ -7300,6 +7361,20 @@ declare const cordataEnumLanguageMap: {
|
|
|
7300
7361
|
readonly iso639_3: "cnr";
|
|
7301
7362
|
readonly type: "language";
|
|
7302
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
|
+
};
|
|
7303
7378
|
readonly dut: {
|
|
7304
7379
|
readonly code: "dut";
|
|
7305
7380
|
readonly name: "nederlandsk";
|
|
@@ -8298,7 +8373,7 @@ declare const cordataEnumContributorRoleMap: {
|
|
|
8298
8373
|
readonly normarc_code: "forf.";
|
|
8299
8374
|
readonly bibframe_code: null;
|
|
8300
8375
|
readonly rda_code: null;
|
|
8301
|
-
readonly entities: ["
|
|
8376
|
+
readonly entities: ["work"];
|
|
8302
8377
|
readonly type: "contributor_role";
|
|
8303
8378
|
};
|
|
8304
8379
|
readonly translator: {
|
|
@@ -9135,4 +9210,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
|
|
|
9135
9210
|
declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
|
|
9136
9211
|
//#endregion
|
|
9137
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 };
|
|
9138
|
-
//# sourceMappingURL=index-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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;
|
package/dist/v1/index.d.cts
CHANGED
|
@@ -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-
|
|
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 };
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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";
|
|
@@ -2063,6 +2063,36 @@ const cordataEnumAgeLimitMap = {
|
|
|
2063
2063
|
nbvok_uri: "https://schema.nb.no/Bibliographic/Values/PG1004",
|
|
2064
2064
|
type: "age_limit"
|
|
2065
2065
|
},
|
|
2066
|
+
ttg2: {
|
|
2067
|
+
code: "ttg2",
|
|
2068
|
+
name: "2+",
|
|
2069
|
+
preferred_name: {
|
|
2070
|
+
nb: "2+",
|
|
2071
|
+
nn: "2+",
|
|
2072
|
+
en: "2+"
|
|
2073
|
+
},
|
|
2074
|
+
comments: null,
|
|
2075
|
+
domain: "cordata",
|
|
2076
|
+
age_limit_type: "tabletop_game",
|
|
2077
|
+
years: 2,
|
|
2078
|
+
nbvok_uri: null,
|
|
2079
|
+
type: "age_limit"
|
|
2080
|
+
},
|
|
2081
|
+
ttg3: {
|
|
2082
|
+
code: "ttg3",
|
|
2083
|
+
name: "3+",
|
|
2084
|
+
preferred_name: {
|
|
2085
|
+
nb: "3+",
|
|
2086
|
+
nn: "3+",
|
|
2087
|
+
en: "3+"
|
|
2088
|
+
},
|
|
2089
|
+
comments: null,
|
|
2090
|
+
domain: "cordata",
|
|
2091
|
+
age_limit_type: "tabletop_game",
|
|
2092
|
+
years: 3,
|
|
2093
|
+
nbvok_uri: null,
|
|
2094
|
+
type: "age_limit"
|
|
2095
|
+
},
|
|
2066
2096
|
ttg4: {
|
|
2067
2097
|
code: "ttg4",
|
|
2068
2098
|
name: "4+",
|
|
@@ -4033,6 +4063,20 @@ const cordataEnumLanguageMap = {
|
|
|
4033
4063
|
iso639_3: "cnr",
|
|
4034
4064
|
type: "language"
|
|
4035
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
|
+
},
|
|
4036
4080
|
dut: {
|
|
4037
4081
|
code: "dut",
|
|
4038
4082
|
name: "nederlandsk",
|
|
@@ -5086,7 +5130,7 @@ const cordataEnumContributorRoleMap = {
|
|
|
5086
5130
|
normarc_code: "forf.",
|
|
5087
5131
|
bibframe_code: null,
|
|
5088
5132
|
rda_code: null,
|
|
5089
|
-
entities: ["
|
|
5133
|
+
entities: ["work"],
|
|
5090
5134
|
type: "contributor_role"
|
|
5091
5135
|
},
|
|
5092
5136
|
translator: {
|
|
@@ -9108,9 +9152,37 @@ const storeEnumDiscountGroupMap = {
|
|
|
9108
9152
|
},
|
|
9109
9153
|
"SPILL": {
|
|
9110
9154
|
code: "SPILL",
|
|
9111
|
-
name: "Spill",
|
|
9155
|
+
name: "Spill (utgår)",
|
|
9156
|
+
preferred_name: {
|
|
9157
|
+
nb: "Spill (utgår)",
|
|
9158
|
+
nn: null,
|
|
9159
|
+
en: null
|
|
9160
|
+
},
|
|
9161
|
+
comments: "Utgår, bruk DATASPILL eller BRETTSPILL",
|
|
9162
|
+
domain: "store",
|
|
9163
|
+
group_type: "materialtype",
|
|
9164
|
+
language: null,
|
|
9165
|
+
type: "discount_group"
|
|
9166
|
+
},
|
|
9167
|
+
"DATASPILL": {
|
|
9168
|
+
code: "DATASPILL",
|
|
9169
|
+
name: "Dataspill",
|
|
9170
|
+
preferred_name: {
|
|
9171
|
+
nb: "Dataspill",
|
|
9172
|
+
nn: null,
|
|
9173
|
+
en: null
|
|
9174
|
+
},
|
|
9175
|
+
comments: null,
|
|
9176
|
+
domain: "store",
|
|
9177
|
+
group_type: "materialtype",
|
|
9178
|
+
language: null,
|
|
9179
|
+
type: "discount_group"
|
|
9180
|
+
},
|
|
9181
|
+
"BRETTSPILL": {
|
|
9182
|
+
code: "BRETTSPILL",
|
|
9183
|
+
name: "Brettspill",
|
|
9112
9184
|
preferred_name: {
|
|
9113
|
-
nb: "
|
|
9185
|
+
nb: "Brettspill",
|
|
9114
9186
|
nn: null,
|
|
9115
9187
|
en: null
|
|
9116
9188
|
},
|
|
@@ -11678,6 +11750,34 @@ const systemEnumIssueMap = {
|
|
|
11678
11750
|
category: "internal",
|
|
11679
11751
|
type: "issue"
|
|
11680
11752
|
},
|
|
11753
|
+
"duplicate_noraf_id": {
|
|
11754
|
+
code: "duplicate_noraf_id",
|
|
11755
|
+
name: "Mulig duplikat: samme NORAF-id",
|
|
11756
|
+
preferred_name: {
|
|
11757
|
+
nb: "Mulig duplikat: samme NORAF-id",
|
|
11758
|
+
nn: null,
|
|
11759
|
+
en: null
|
|
11760
|
+
},
|
|
11761
|
+
comments: null,
|
|
11762
|
+
domain: "system",
|
|
11763
|
+
entities: ["agent"],
|
|
11764
|
+
category: "internal",
|
|
11765
|
+
type: "issue"
|
|
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
|
+
},
|
|
11681
11781
|
"manual_flag": {
|
|
11682
11782
|
code: "manual_flag",
|
|
11683
11783
|
name: "Manuelt flagget for kvalitetssikring",
|
|
@@ -11750,48 +11850,6 @@ const systemEnumIssueMap = {
|
|
|
11750
11850
|
category: "internal",
|
|
11751
11851
|
type: "issue"
|
|
11752
11852
|
},
|
|
11753
|
-
"ONIX_MISSING_ORIGINAL_TITLE": {
|
|
11754
|
-
code: "ONIX_MISSING_ORIGINAL_TITLE",
|
|
11755
|
-
name: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
|
|
11756
|
-
preferred_name: {
|
|
11757
|
-
nb: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
|
|
11758
|
-
nn: null,
|
|
11759
|
-
en: null
|
|
11760
|
-
},
|
|
11761
|
-
comments: null,
|
|
11762
|
-
domain: "system",
|
|
11763
|
-
entities: ["work"],
|
|
11764
|
-
category: "onix_import",
|
|
11765
|
-
type: "issue"
|
|
11766
|
-
},
|
|
11767
|
-
"ONIX_MISSING_ORIGINAL_LANGUAGE": {
|
|
11768
|
-
code: "ONIX_MISSING_ORIGINAL_LANGUAGE",
|
|
11769
|
-
name: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
|
|
11770
|
-
preferred_name: {
|
|
11771
|
-
nb: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
|
|
11772
|
-
nn: null,
|
|
11773
|
-
en: null
|
|
11774
|
-
},
|
|
11775
|
-
comments: null,
|
|
11776
|
-
domain: "system",
|
|
11777
|
-
entities: ["work"],
|
|
11778
|
-
category: "onix_import",
|
|
11779
|
-
type: "issue"
|
|
11780
|
-
},
|
|
11781
|
-
"ONIX_UNKNOWN_LITERATURE_TYPE": {
|
|
11782
|
-
code: "ONIX_UNKNOWN_LITERATURE_TYPE",
|
|
11783
|
-
name: "ONIX-import: Litteraturtype kunne ikke bestemmes",
|
|
11784
|
-
preferred_name: {
|
|
11785
|
-
nb: "ONIX-import: Litteraturtype kunne ikke bestemmes",
|
|
11786
|
-
nn: null,
|
|
11787
|
-
en: null
|
|
11788
|
-
},
|
|
11789
|
-
comments: null,
|
|
11790
|
-
domain: "system",
|
|
11791
|
-
entities: ["work", "product"],
|
|
11792
|
-
category: "onix_import",
|
|
11793
|
-
type: "issue"
|
|
11794
|
-
},
|
|
11795
11853
|
"ONIX_IMPRINT_PLACE_MISMATCH": {
|
|
11796
11854
|
code: "ONIX_IMPRINT_PLACE_MISMATCH",
|
|
11797
11855
|
name: "ONIX-import: Imprint og CityOfPublication med ulik lengde",
|
|
@@ -12068,6 +12126,20 @@ const systemEnumIssueMap = {
|
|
|
12068
12126
|
category: "onix_import",
|
|
12069
12127
|
type: "issue"
|
|
12070
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
|
+
},
|
|
12071
12143
|
"UNNAMED_AGENT": {
|
|
12072
12144
|
code: "UNNAMED_AGENT",
|
|
12073
12145
|
name: "Import of unnamed agents is not supported yet",
|
|
@@ -14793,6 +14865,18 @@ const systemEnumOriginNameMap = {
|
|
|
14793
14865
|
domain: "system",
|
|
14794
14866
|
type: "origin_name"
|
|
14795
14867
|
},
|
|
14868
|
+
nordic_game_supply: {
|
|
14869
|
+
code: "nordic_game_supply",
|
|
14870
|
+
name: "Nordic Game Supply",
|
|
14871
|
+
preferred_name: {
|
|
14872
|
+
nb: "Nordic Game Supply",
|
|
14873
|
+
nn: "Nordic Game Supply",
|
|
14874
|
+
en: "Nordic Game Supply"
|
|
14875
|
+
},
|
|
14876
|
+
comments: null,
|
|
14877
|
+
domain: "system",
|
|
14878
|
+
type: "origin_name"
|
|
14879
|
+
},
|
|
14796
14880
|
bokbasen: {
|
|
14797
14881
|
code: "bokbasen",
|
|
14798
14882
|
name: "Bokbasen",
|
|
@@ -2064,6 +2064,36 @@ const cordataEnumAgeLimitMap = {
|
|
|
2064
2064
|
nbvok_uri: "https://schema.nb.no/Bibliographic/Values/PG1004",
|
|
2065
2065
|
type: "age_limit"
|
|
2066
2066
|
},
|
|
2067
|
+
ttg2: {
|
|
2068
|
+
code: "ttg2",
|
|
2069
|
+
name: "2+",
|
|
2070
|
+
preferred_name: {
|
|
2071
|
+
nb: "2+",
|
|
2072
|
+
nn: "2+",
|
|
2073
|
+
en: "2+"
|
|
2074
|
+
},
|
|
2075
|
+
comments: null,
|
|
2076
|
+
domain: "cordata",
|
|
2077
|
+
age_limit_type: "tabletop_game",
|
|
2078
|
+
years: 2,
|
|
2079
|
+
nbvok_uri: null,
|
|
2080
|
+
type: "age_limit"
|
|
2081
|
+
},
|
|
2082
|
+
ttg3: {
|
|
2083
|
+
code: "ttg3",
|
|
2084
|
+
name: "3+",
|
|
2085
|
+
preferred_name: {
|
|
2086
|
+
nb: "3+",
|
|
2087
|
+
nn: "3+",
|
|
2088
|
+
en: "3+"
|
|
2089
|
+
},
|
|
2090
|
+
comments: null,
|
|
2091
|
+
domain: "cordata",
|
|
2092
|
+
age_limit_type: "tabletop_game",
|
|
2093
|
+
years: 3,
|
|
2094
|
+
nbvok_uri: null,
|
|
2095
|
+
type: "age_limit"
|
|
2096
|
+
},
|
|
2067
2097
|
ttg4: {
|
|
2068
2098
|
code: "ttg4",
|
|
2069
2099
|
name: "4+",
|
|
@@ -4034,6 +4064,20 @@ const cordataEnumLanguageMap = {
|
|
|
4034
4064
|
iso639_3: "cnr",
|
|
4035
4065
|
type: "language"
|
|
4036
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
|
+
},
|
|
4037
4081
|
dut: {
|
|
4038
4082
|
code: "dut",
|
|
4039
4083
|
name: "nederlandsk",
|
|
@@ -5087,7 +5131,7 @@ const cordataEnumContributorRoleMap = {
|
|
|
5087
5131
|
normarc_code: "forf.",
|
|
5088
5132
|
bibframe_code: null,
|
|
5089
5133
|
rda_code: null,
|
|
5090
|
-
entities: ["
|
|
5134
|
+
entities: ["work"],
|
|
5091
5135
|
type: "contributor_role"
|
|
5092
5136
|
},
|
|
5093
5137
|
translator: {
|
|
@@ -9109,9 +9153,37 @@ const storeEnumDiscountGroupMap = {
|
|
|
9109
9153
|
},
|
|
9110
9154
|
"SPILL": {
|
|
9111
9155
|
code: "SPILL",
|
|
9112
|
-
name: "Spill",
|
|
9156
|
+
name: "Spill (utgår)",
|
|
9157
|
+
preferred_name: {
|
|
9158
|
+
nb: "Spill (utgår)",
|
|
9159
|
+
nn: null,
|
|
9160
|
+
en: null
|
|
9161
|
+
},
|
|
9162
|
+
comments: "Utgår, bruk DATASPILL eller BRETTSPILL",
|
|
9163
|
+
domain: "store",
|
|
9164
|
+
group_type: "materialtype",
|
|
9165
|
+
language: null,
|
|
9166
|
+
type: "discount_group"
|
|
9167
|
+
},
|
|
9168
|
+
"DATASPILL": {
|
|
9169
|
+
code: "DATASPILL",
|
|
9170
|
+
name: "Dataspill",
|
|
9171
|
+
preferred_name: {
|
|
9172
|
+
nb: "Dataspill",
|
|
9173
|
+
nn: null,
|
|
9174
|
+
en: null
|
|
9175
|
+
},
|
|
9176
|
+
comments: null,
|
|
9177
|
+
domain: "store",
|
|
9178
|
+
group_type: "materialtype",
|
|
9179
|
+
language: null,
|
|
9180
|
+
type: "discount_group"
|
|
9181
|
+
},
|
|
9182
|
+
"BRETTSPILL": {
|
|
9183
|
+
code: "BRETTSPILL",
|
|
9184
|
+
name: "Brettspill",
|
|
9113
9185
|
preferred_name: {
|
|
9114
|
-
nb: "
|
|
9186
|
+
nb: "Brettspill",
|
|
9115
9187
|
nn: null,
|
|
9116
9188
|
en: null
|
|
9117
9189
|
},
|
|
@@ -11679,6 +11751,34 @@ const systemEnumIssueMap = {
|
|
|
11679
11751
|
category: "internal",
|
|
11680
11752
|
type: "issue"
|
|
11681
11753
|
},
|
|
11754
|
+
"duplicate_noraf_id": {
|
|
11755
|
+
code: "duplicate_noraf_id",
|
|
11756
|
+
name: "Mulig duplikat: samme NORAF-id",
|
|
11757
|
+
preferred_name: {
|
|
11758
|
+
nb: "Mulig duplikat: samme NORAF-id",
|
|
11759
|
+
nn: null,
|
|
11760
|
+
en: null
|
|
11761
|
+
},
|
|
11762
|
+
comments: null,
|
|
11763
|
+
domain: "system",
|
|
11764
|
+
entities: ["agent"],
|
|
11765
|
+
category: "internal",
|
|
11766
|
+
type: "issue"
|
|
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
|
+
},
|
|
11682
11782
|
"manual_flag": {
|
|
11683
11783
|
code: "manual_flag",
|
|
11684
11784
|
name: "Manuelt flagget for kvalitetssikring",
|
|
@@ -11751,48 +11851,6 @@ const systemEnumIssueMap = {
|
|
|
11751
11851
|
category: "internal",
|
|
11752
11852
|
type: "issue"
|
|
11753
11853
|
},
|
|
11754
|
-
"ONIX_MISSING_ORIGINAL_TITLE": {
|
|
11755
|
-
code: "ONIX_MISSING_ORIGINAL_TITLE",
|
|
11756
|
-
name: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
|
|
11757
|
-
preferred_name: {
|
|
11758
|
-
nb: "ONIX-import: Manglet originaltittel, verkstittel er kopiert fra manifestasjonstittel",
|
|
11759
|
-
nn: null,
|
|
11760
|
-
en: null
|
|
11761
|
-
},
|
|
11762
|
-
comments: null,
|
|
11763
|
-
domain: "system",
|
|
11764
|
-
entities: ["work"],
|
|
11765
|
-
category: "onix_import",
|
|
11766
|
-
type: "issue"
|
|
11767
|
-
},
|
|
11768
|
-
"ONIX_MISSING_ORIGINAL_LANGUAGE": {
|
|
11769
|
-
code: "ONIX_MISSING_ORIGINAL_LANGUAGE",
|
|
11770
|
-
name: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
|
|
11771
|
-
preferred_name: {
|
|
11772
|
-
nb: "ONIX-import: Manglet originalspråk, verksspråk er kopiert fra manifestasjonsspråk",
|
|
11773
|
-
nn: null,
|
|
11774
|
-
en: null
|
|
11775
|
-
},
|
|
11776
|
-
comments: null,
|
|
11777
|
-
domain: "system",
|
|
11778
|
-
entities: ["work"],
|
|
11779
|
-
category: "onix_import",
|
|
11780
|
-
type: "issue"
|
|
11781
|
-
},
|
|
11782
|
-
"ONIX_UNKNOWN_LITERATURE_TYPE": {
|
|
11783
|
-
code: "ONIX_UNKNOWN_LITERATURE_TYPE",
|
|
11784
|
-
name: "ONIX-import: Litteraturtype kunne ikke bestemmes",
|
|
11785
|
-
preferred_name: {
|
|
11786
|
-
nb: "ONIX-import: Litteraturtype kunne ikke bestemmes",
|
|
11787
|
-
nn: null,
|
|
11788
|
-
en: null
|
|
11789
|
-
},
|
|
11790
|
-
comments: null,
|
|
11791
|
-
domain: "system",
|
|
11792
|
-
entities: ["work", "product"],
|
|
11793
|
-
category: "onix_import",
|
|
11794
|
-
type: "issue"
|
|
11795
|
-
},
|
|
11796
11854
|
"ONIX_IMPRINT_PLACE_MISMATCH": {
|
|
11797
11855
|
code: "ONIX_IMPRINT_PLACE_MISMATCH",
|
|
11798
11856
|
name: "ONIX-import: Imprint og CityOfPublication med ulik lengde",
|
|
@@ -12069,6 +12127,20 @@ const systemEnumIssueMap = {
|
|
|
12069
12127
|
category: "onix_import",
|
|
12070
12128
|
type: "issue"
|
|
12071
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
|
+
},
|
|
12072
12144
|
"UNNAMED_AGENT": {
|
|
12073
12145
|
code: "UNNAMED_AGENT",
|
|
12074
12146
|
name: "Import of unnamed agents is not supported yet",
|
|
@@ -14794,6 +14866,18 @@ const systemEnumOriginNameMap = {
|
|
|
14794
14866
|
domain: "system",
|
|
14795
14867
|
type: "origin_name"
|
|
14796
14868
|
},
|
|
14869
|
+
nordic_game_supply: {
|
|
14870
|
+
code: "nordic_game_supply",
|
|
14871
|
+
name: "Nordic Game Supply",
|
|
14872
|
+
preferred_name: {
|
|
14873
|
+
nb: "Nordic Game Supply",
|
|
14874
|
+
nn: "Nordic Game Supply",
|
|
14875
|
+
en: "Nordic Game Supply"
|
|
14876
|
+
},
|
|
14877
|
+
comments: null,
|
|
14878
|
+
domain: "system",
|
|
14879
|
+
type: "origin_name"
|
|
14880
|
+
},
|
|
14797
14881
|
bokbasen: {
|
|
14798
14882
|
code: "bokbasen",
|
|
14799
14883
|
name: "Bokbasen",
|
|
@@ -15191,4 +15275,4 @@ const parseHost = (host = "search.bmdb.no") => {
|
|
|
15191
15275
|
//#endregion
|
|
15192
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 };
|
|
15193
15277
|
|
|
15194
|
-
//# sourceMappingURL=v1-
|
|
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.
|
|
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
|
-
"
|
|
74
|
+
"typecheck": "tsc --noEmit",
|
|
75
75
|
"clean": "rimraf dist src/generated",
|
|
76
76
|
"lint": "oxlint .",
|
|
77
77
|
"lint:package": "attw --pack",
|