@biblioteksentralen/bmdb-search 0.0.0-beta.71 → 0.0.0-beta.72

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.
@@ -324,7 +324,7 @@ interface paths {
324
324
  *
325
325
  * Example:
326
326
  *
327
- * `/cordata/v1/global/suggestions/search?query=synt&filter[type]=work,subject&size=10`
327
+ * `/cordata/v1/global/suggestions/search?query=synt&filter[entity_type]=work,subject&size=10`
328
328
  *
329
329
  */
330
330
  get: operations["searchSuggestions"];
@@ -426,8 +426,10 @@ interface components {
426
426
  title?: string;
427
427
  /** @description When true, exclude short works such as short stories. */
428
428
  is_not_short_work?: boolean;
429
- /** @description When true, only works that themselves aggregate other works. */
429
+ /** @description Deprecated; Use `is_virtual_aggregating_work` instead. */
430
430
  is_aggregating_work?: boolean;
431
+ /** @description Only works containing aggregate manifestations but which would not usually be thought of as separate works, e.g. one-time publications of several collected works */
432
+ is_virtual_aggregating_work?: boolean;
431
433
  /** @description Entities generated from catalogue records are unstable */
432
434
  is_unstable?: boolean;
433
435
  contributor_with_role?: string;
@@ -575,7 +577,13 @@ interface components {
575
577
  /** @description Whether this is a short work such as a short story, typically published as part of a containing manifestation rather than on its own.
576
578
  * */
577
579
  isShortWork: boolean;
578
- /** @description Whether this work itself aggregates other works. */
580
+ /** @description The work contains aggregate manifestations but would not usually be thought of as a separate or original work, e.g. a one-time publication of several collected works.
581
+ * */
582
+ isVirtualAggregatingWork?: boolean;
583
+ /**
584
+ * @deprecated
585
+ * @description Use `is_virtual_aggregating_work` instead.
586
+ */
579
587
  isAggregatingWork?: boolean;
580
588
  isUnstable: components["schemas"]["IsUnstable"];
581
589
  };
@@ -1591,9 +1599,6 @@ interface components {
1591
1599
  /** @description Identifier for the entity from Wikidata */
1592
1600
  wikidataId?: string;
1593
1601
  };
1594
- /** @description A Collection is a set of entities - manifestations or works - that share certain features.
1595
- *
1596
- * The collection can be explicitly named in the source material, such as the series "SF Masterworks" which is a collection of acclaimed SF novels published by Gollancz, or constructed from a set of features that the collected entities have in common, such as "The Lovecraft Mythos" for works that use creatures and features from H.P. Lovecraft's fictional universe. */
1597
1602
  BaseCollectionWork: {
1598
1603
  /** @constant */
1599
1604
  type: "CollectionWork";
@@ -2247,6 +2252,9 @@ interface components {
2247
2252
  *
2248
2253
  */
2249
2254
  CollectionWork: components["schemas"]["BaseCollectionWork"] & {
2255
+ /** @description Links the collection to an overarching collection.
2256
+ *
2257
+ * An example where this is used is the series "Warriors" ("Kattekrigerne") by Erin Hunter. This series contains a number of subseries such as "7. The Broken Code", which in turn contains a number of books such as "5. The Place of No Stars". */
2250
2258
  superCollection?: components["schemas"]["BaseCollectionWork"];
2251
2259
  /** CollectionExpression */
2252
2260
  collectionExpressions: (components["schemas"]["BaseCollectionExpression"] & {
@@ -8268,6 +8276,7 @@ declare const cordataEnumContributorRoleMap: {
8268
8276
  readonly normarc_code: "forf.";
8269
8277
  readonly bibframe_code: null;
8270
8278
  readonly rda_code: null;
8279
+ readonly entities: ["work"];
8271
8280
  readonly type: "contributor_role";
8272
8281
  };
8273
8282
  readonly translator: {
@@ -8284,6 +8293,7 @@ declare const cordataEnumContributorRoleMap: {
8284
8293
  readonly normarc_code: "overs.";
8285
8294
  readonly bibframe_code: null;
8286
8295
  readonly rda_code: null;
8296
+ readonly entities: ["expression"];
8287
8297
  readonly type: "contributor_role";
8288
8298
  };
8289
8299
  readonly narrator: {
@@ -8300,6 +8310,7 @@ declare const cordataEnumContributorRoleMap: {
8300
8310
  readonly normarc_code: "innl.";
8301
8311
  readonly bibframe_code: null;
8302
8312
  readonly rda_code: null;
8313
+ readonly entities: ["expression"];
8303
8314
  readonly type: "contributor_role";
8304
8315
  };
8305
8316
  readonly other: {
@@ -8316,6 +8327,7 @@ declare const cordataEnumContributorRoleMap: {
8316
8327
  readonly normarc_code: "medarb.";
8317
8328
  readonly bibframe_code: null;
8318
8329
  readonly rda_code: null;
8330
+ readonly entities: ["manifestation", "expression", "work"];
8319
8331
  readonly type: "contributor_role";
8320
8332
  };
8321
8333
  readonly reteller: {
@@ -8332,6 +8344,7 @@ declare const cordataEnumContributorRoleMap: {
8332
8344
  readonly normarc_code: "bearb.";
8333
8345
  readonly bibframe_code: null;
8334
8346
  readonly rda_code: null;
8347
+ readonly entities: ["expression", "work"];
8335
8348
  readonly type: "contributor_role";
8336
8349
  };
8337
8350
  readonly honoree: {
@@ -8348,6 +8361,7 @@ declare const cordataEnumContributorRoleMap: {
8348
8361
  readonly normarc_code: "beæret p.";
8349
8362
  readonly bibframe_code: null;
8350
8363
  readonly rda_code: null;
8364
+ readonly entities: ["work"];
8351
8365
  readonly type: "contributor_role";
8352
8366
  };
8353
8367
  readonly book_designer: {
@@ -8364,6 +8378,7 @@ declare const cordataEnumContributorRoleMap: {
8364
8378
  readonly normarc_code: "medarb.";
8365
8379
  readonly bibframe_code: null;
8366
8380
  readonly rda_code: null;
8381
+ readonly entities: ["manifestation"];
8367
8382
  readonly type: "contributor_role";
8368
8383
  };
8369
8384
  readonly cover_designer: {
@@ -8380,6 +8395,7 @@ declare const cordataEnumContributorRoleMap: {
8380
8395
  readonly normarc_code: "omsl.des.";
8381
8396
  readonly bibframe_code: null;
8382
8397
  readonly rda_code: null;
8398
+ readonly entities: ["manifestation"];
8383
8399
  readonly type: "contributor_role";
8384
8400
  };
8385
8401
  readonly copyright_holder: {
@@ -8396,6 +8412,7 @@ declare const cordataEnumContributorRoleMap: {
8396
8412
  readonly normarc_code: null;
8397
8413
  readonly bibframe_code: null;
8398
8414
  readonly rda_code: null;
8415
+ readonly entities: ["work"];
8399
8416
  readonly type: "contributor_role";
8400
8417
  };
8401
8418
  readonly designer: {
@@ -8412,6 +8429,7 @@ declare const cordataEnumContributorRoleMap: {
8412
8429
  readonly normarc_code: null;
8413
8430
  readonly bibframe_code: null;
8414
8431
  readonly rda_code: null;
8432
+ readonly entities: ["work"];
8415
8433
  readonly type: "contributor_role";
8416
8434
  };
8417
8435
  readonly conductor: {
@@ -8428,6 +8446,7 @@ declare const cordataEnumContributorRoleMap: {
8428
8446
  readonly normarc_code: "dir.";
8429
8447
  readonly bibframe_code: null;
8430
8448
  readonly rda_code: null;
8449
+ readonly entities: ["expression"];
8431
8450
  readonly type: "contributor_role";
8432
8451
  };
8433
8452
  readonly degree_granting_institution: {
@@ -8444,6 +8463,7 @@ declare const cordataEnumContributorRoleMap: {
8444
8463
  readonly normarc_code: null;
8445
8464
  readonly bibframe_code: null;
8446
8465
  readonly rda_code: null;
8466
+ readonly entities: ["work"];
8447
8467
  readonly type: "contributor_role";
8448
8468
  };
8449
8469
  readonly colorist: {
@@ -8460,6 +8480,7 @@ declare const cordataEnumContributorRoleMap: {
8460
8480
  readonly normarc_code: "illustr.";
8461
8481
  readonly bibframe_code: null;
8462
8482
  readonly rda_code: null;
8483
+ readonly entities: ["expression"];
8463
8484
  readonly type: "contributor_role";
8464
8485
  };
8465
8486
  readonly abridger: {
@@ -8476,6 +8497,7 @@ declare const cordataEnumContributorRoleMap: {
8476
8497
  readonly normarc_code: "bearb.";
8477
8498
  readonly bibframe_code: null;
8478
8499
  readonly rda_code: null;
8500
+ readonly entities: ["expression", "work"];
8479
8501
  readonly type: "contributor_role";
8480
8502
  };
8481
8503
  readonly photographer: {
@@ -8492,6 +8514,7 @@ declare const cordataEnumContributorRoleMap: {
8492
8514
  readonly normarc_code: "fotogr.";
8493
8515
  readonly bibframe_code: null;
8494
8516
  readonly rda_code: null;
8517
+ readonly entities: ["expression", "work"];
8495
8518
  readonly type: "contributor_role";
8496
8519
  };
8497
8520
  readonly conceptor: {
@@ -8508,6 +8531,7 @@ declare const cordataEnumContributorRoleMap: {
8508
8531
  readonly normarc_code: "medarb.";
8509
8532
  readonly bibframe_code: null;
8510
8533
  readonly rda_code: null;
8534
+ readonly entities: ["work"];
8511
8535
  readonly type: "contributor_role";
8512
8536
  };
8513
8537
  readonly illustrator: {
@@ -8524,6 +8548,7 @@ declare const cordataEnumContributorRoleMap: {
8524
8548
  readonly normarc_code: "illustr.";
8525
8549
  readonly bibframe_code: null;
8526
8550
  readonly rda_code: null;
8551
+ readonly entities: ["manifestation", "expression"];
8527
8552
  readonly type: "contributor_role";
8528
8553
  };
8529
8554
  readonly instrumentalist: {
@@ -8540,6 +8565,7 @@ declare const cordataEnumContributorRoleMap: {
8540
8565
  readonly normarc_code: "utøv.";
8541
8566
  readonly bibframe_code: null;
8542
8567
  readonly rda_code: null;
8568
+ readonly entities: ["expression"];
8543
8569
  readonly type: "contributor_role";
8544
8570
  };
8545
8571
  readonly interviewer: {
@@ -8556,6 +8582,7 @@ declare const cordataEnumContributorRoleMap: {
8556
8582
  readonly normarc_code: "forf.";
8557
8583
  readonly bibframe_code: null;
8558
8584
  readonly rda_code: null;
8585
+ readonly entities: ["work"];
8559
8586
  readonly type: "contributor_role";
8560
8587
  };
8561
8588
  readonly interviewee: {
@@ -8572,6 +8599,7 @@ declare const cordataEnumContributorRoleMap: {
8572
8599
  readonly normarc_code: "medarb.";
8573
8600
  readonly bibframe_code: null;
8574
8601
  readonly rda_code: null;
8602
+ readonly entities: ["work"];
8575
8603
  readonly type: "contributor_role";
8576
8604
  };
8577
8605
  readonly commentary_writer: {
@@ -8588,6 +8616,7 @@ declare const cordataEnumContributorRoleMap: {
8588
8616
  readonly normarc_code: null;
8589
8617
  readonly bibframe_code: null;
8590
8618
  readonly rda_code: null;
8619
+ readonly entities: ["manifestation"];
8591
8620
  readonly type: "contributor_role";
8592
8621
  };
8593
8622
  readonly commenter: {
@@ -8604,6 +8633,7 @@ declare const cordataEnumContributorRoleMap: {
8604
8633
  readonly normarc_code: "komm.";
8605
8634
  readonly bibframe_code: null;
8606
8635
  readonly rda_code: null;
8636
+ readonly entities: ["expression"];
8607
8637
  readonly type: "contributor_role";
8608
8638
  };
8609
8639
  readonly composer: {
@@ -8620,6 +8650,7 @@ declare const cordataEnumContributorRoleMap: {
8620
8650
  readonly normarc_code: "komp.";
8621
8651
  readonly bibframe_code: null;
8622
8652
  readonly rda_code: null;
8653
+ readonly entities: ["expression", "work"];
8623
8654
  readonly type: "contributor_role";
8624
8655
  };
8625
8656
  readonly consultant: {
@@ -8636,6 +8667,7 @@ declare const cordataEnumContributorRoleMap: {
8636
8667
  readonly normarc_code: "medarb.";
8637
8668
  readonly bibframe_code: null;
8638
8669
  readonly rda_code: null;
8670
+ readonly entities: ["work"];
8639
8671
  readonly type: "contributor_role";
8640
8672
  };
8641
8673
  readonly artist: {
@@ -8652,6 +8684,7 @@ declare const cordataEnumContributorRoleMap: {
8652
8684
  readonly normarc_code: "illustr.";
8653
8685
  readonly bibframe_code: null;
8654
8686
  readonly rda_code: null;
8687
+ readonly entities: ["expression", "work"];
8655
8688
  readonly type: "contributor_role";
8656
8689
  };
8657
8690
  readonly curator: {
@@ -8668,6 +8701,7 @@ declare const cordataEnumContributorRoleMap: {
8668
8701
  readonly normarc_code: "kurator";
8669
8702
  readonly bibframe_code: null;
8670
8703
  readonly rda_code: null;
8704
+ readonly entities: ["work"];
8671
8705
  readonly type: "contributor_role";
8672
8706
  };
8673
8707
  readonly lead: {
@@ -8684,6 +8718,7 @@ declare const cordataEnumContributorRoleMap: {
8684
8718
  readonly normarc_code: null;
8685
8719
  readonly bibframe_code: null;
8686
8720
  readonly rda_code: null;
8721
+ readonly entities: ["work"];
8687
8722
  readonly type: "contributor_role";
8688
8723
  };
8689
8724
  readonly librettist: {
@@ -8700,6 +8735,7 @@ declare const cordataEnumContributorRoleMap: {
8700
8735
  readonly normarc_code: "forf.";
8701
8736
  readonly bibframe_code: null;
8702
8737
  readonly rda_code: null;
8738
+ readonly entities: ["work"];
8703
8739
  readonly type: "contributor_role";
8704
8740
  };
8705
8741
  readonly licensor: {
@@ -8716,6 +8752,7 @@ declare const cordataEnumContributorRoleMap: {
8716
8752
  readonly normarc_code: null;
8717
8753
  readonly bibframe_code: null;
8718
8754
  readonly rda_code: null;
8755
+ readonly entities: ["work"];
8719
8756
  readonly type: "contributor_role";
8720
8757
  };
8721
8758
  readonly screenwriter: {
@@ -8732,6 +8769,7 @@ declare const cordataEnumContributorRoleMap: {
8732
8769
  readonly normarc_code: "manusforf.";
8733
8770
  readonly bibframe_code: null;
8734
8771
  readonly rda_code: null;
8772
+ readonly entities: ["work"];
8735
8773
  readonly type: "contributor_role";
8736
8774
  };
8737
8775
  readonly contributor: {
@@ -8748,6 +8786,7 @@ declare const cordataEnumContributorRoleMap: {
8748
8786
  readonly normarc_code: "medarb.";
8749
8787
  readonly bibframe_code: null;
8750
8788
  readonly rda_code: null;
8789
+ readonly entities: ["manifestation", "expression"];
8751
8790
  readonly type: "contributor_role";
8752
8791
  };
8753
8792
  readonly musician: {
@@ -8764,6 +8803,7 @@ declare const cordataEnumContributorRoleMap: {
8764
8803
  readonly normarc_code: null;
8765
8804
  readonly bibframe_code: null;
8766
8805
  readonly rda_code: null;
8806
+ readonly entities: ["work"];
8767
8807
  readonly type: "contributor_role";
8768
8808
  };
8769
8809
  readonly arranger: {
@@ -8780,6 +8820,7 @@ declare const cordataEnumContributorRoleMap: {
8780
8820
  readonly normarc_code: "arr.";
8781
8821
  readonly bibframe_code: null;
8782
8822
  readonly rda_code: null;
8823
+ readonly entities: ["expression"];
8783
8824
  readonly type: "contributor_role";
8784
8825
  };
8785
8826
  readonly antecedent: {
@@ -8796,6 +8837,7 @@ declare const cordataEnumContributorRoleMap: {
8796
8837
  readonly normarc_code: "oppr.forf.";
8797
8838
  readonly bibframe_code: null;
8798
8839
  readonly rda_code: null;
8840
+ readonly entities: ["work"];
8799
8841
  readonly type: "contributor_role";
8800
8842
  };
8801
8843
  readonly production_company: {
@@ -8812,6 +8854,7 @@ declare const cordataEnumContributorRoleMap: {
8812
8854
  readonly normarc_code: null;
8813
8855
  readonly bibframe_code: null;
8814
8856
  readonly rda_code: null;
8857
+ readonly entities: ["work"];
8815
8858
  readonly type: "contributor_role";
8816
8859
  };
8817
8860
  readonly project_director: {
@@ -8828,6 +8871,7 @@ declare const cordataEnumContributorRoleMap: {
8828
8871
  readonly normarc_code: "medarb.";
8829
8872
  readonly bibframe_code: null;
8830
8873
  readonly rda_code: null;
8874
+ readonly entities: ["work"];
8831
8875
  readonly type: "contributor_role";
8832
8876
  };
8833
8877
  readonly editor: {
@@ -8844,6 +8888,7 @@ declare const cordataEnumContributorRoleMap: {
8844
8888
  readonly normarc_code: "red.";
8845
8889
  readonly bibframe_code: null;
8846
8890
  readonly rda_code: null;
8891
+ readonly entities: ["manifestation", "expression", "work"];
8847
8892
  readonly type: "contributor_role";
8848
8893
  };
8849
8894
  readonly director: {
@@ -8860,6 +8905,7 @@ declare const cordataEnumContributorRoleMap: {
8860
8905
  readonly normarc_code: "regissør";
8861
8906
  readonly bibframe_code: null;
8862
8907
  readonly rda_code: null;
8908
+ readonly entities: ["work"];
8863
8909
  readonly type: "contributor_role";
8864
8910
  };
8865
8911
  readonly compilation_editor: {
@@ -8876,6 +8922,7 @@ declare const cordataEnumContributorRoleMap: {
8876
8922
  readonly normarc_code: "red.";
8877
8923
  readonly bibframe_code: null;
8878
8924
  readonly rda_code: null;
8925
+ readonly entities: ["manifestation"];
8879
8926
  readonly type: "contributor_role";
8880
8927
  };
8881
8928
  readonly singer: {
@@ -8892,6 +8939,7 @@ declare const cordataEnumContributorRoleMap: {
8892
8939
  readonly normarc_code: "utøv.";
8893
8940
  readonly bibframe_code: null;
8894
8941
  readonly rda_code: null;
8942
+ readonly entities: ["expression"];
8895
8943
  readonly type: "contributor_role";
8896
8944
  };
8897
8945
  readonly lyricist: {
@@ -8908,6 +8956,7 @@ declare const cordataEnumContributorRoleMap: {
8908
8956
  readonly normarc_code: "forf.";
8909
8957
  readonly bibframe_code: null;
8910
8958
  readonly rda_code: null;
8959
+ readonly entities: ["work"];
8911
8960
  readonly type: "contributor_role";
8912
8961
  };
8913
8962
  readonly actor: {
@@ -8924,6 +8973,7 @@ declare const cordataEnumContributorRoleMap: {
8924
8973
  readonly normarc_code: "skuesp.";
8925
8974
  readonly bibframe_code: null;
8926
8975
  readonly rda_code: null;
8976
+ readonly entities: ["work"];
8927
8977
  readonly type: "contributor_role";
8928
8978
  };
8929
8979
  readonly game_developer: {
@@ -8940,6 +8990,7 @@ declare const cordataEnumContributorRoleMap: {
8940
8990
  readonly normarc_code: null;
8941
8991
  readonly bibframe_code: null;
8942
8992
  readonly rda_code: null;
8993
+ readonly entities: ["work"];
8943
8994
  readonly type: "contributor_role";
8944
8995
  };
8945
8996
  readonly voice_actor: {
@@ -8956,6 +9007,7 @@ declare const cordataEnumContributorRoleMap: {
8956
9007
  readonly normarc_code: "stemmesk.";
8957
9008
  readonly bibframe_code: null;
8958
9009
  readonly rda_code: null;
9010
+ readonly entities: ["expression"];
8959
9011
  readonly type: "contributor_role";
8960
9012
  };
8961
9013
  readonly compiler: {
@@ -8972,6 +9024,7 @@ declare const cordataEnumContributorRoleMap: {
8972
9024
  readonly normarc_code: "red.";
8973
9025
  readonly bibframe_code: null;
8974
9026
  readonly rda_code: null;
9027
+ readonly entities: ["work"];
8975
9028
  readonly type: "contributor_role";
8976
9029
  };
8977
9030
  readonly publisher: {
@@ -8988,6 +9041,7 @@ declare const cordataEnumContributorRoleMap: {
8988
9041
  readonly normarc_code: "utg.";
8989
9042
  readonly bibframe_code: null;
8990
9043
  readonly rda_code: null;
9044
+ readonly entities: ["manifestation"];
8991
9045
  readonly type: "contributor_role";
8992
9046
  };
8993
9047
  readonly issuing_body: {
@@ -9004,6 +9058,7 @@ declare const cordataEnumContributorRoleMap: {
9004
9058
  readonly normarc_code: null;
9005
9059
  readonly bibframe_code: null;
9006
9060
  readonly rda_code: null;
9061
+ readonly entities: ["work"];
9007
9062
  readonly type: "contributor_role";
9008
9063
  };
9009
9064
  readonly performer: {
@@ -9020,6 +9075,7 @@ declare const cordataEnumContributorRoleMap: {
9020
9075
  readonly normarc_code: "utøv.";
9021
9076
  readonly bibframe_code: null;
9022
9077
  readonly rda_code: null;
9078
+ readonly entities: ["expression", "work"];
9023
9079
  readonly type: "contributor_role";
9024
9080
  };
9025
9081
  readonly enacting_jurisdiction: {
@@ -9036,6 +9092,7 @@ declare const cordataEnumContributorRoleMap: {
9036
9092
  readonly normarc_code: null;
9037
9093
  readonly bibframe_code: null;
9038
9094
  readonly rda_code: null;
9095
+ readonly entities: ["work"];
9039
9096
  readonly type: "contributor_role";
9040
9097
  };
9041
9098
  };
@@ -9056,4 +9113,4 @@ type BmdbSearchClient = Client<BmdbCordataApiV1Paths>;
9056
9113
  declare const createBmdbFetchClient: (options: BmdbSearchClientOptions) => BmdbSearchClient;
9057
9114
  //#endregion
9058
9115
  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 };
9059
- //# sourceMappingURL=index-BnhgKo2J.d.cts.map
9116
+ //# sourceMappingURL=index-B3HuWC-m.d.cts.map