optolith-database-schema 0.15.2 → 0.15.4
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/.prettierrc.yml +3 -0
- package/CHANGELOG.md +21 -0
- package/lib/cache/activatableSelectOptions.d.ts +80 -0
- package/lib/cache/activatableSelectOptions.js +924 -0
- package/lib/cache/ancestorBloodAdvantages.d.ts +5 -0
- package/lib/cache/ancestorBloodAdvantages.js +18 -0
- package/lib/cache/newApplicationsAndUses.d.ts +4 -1
- package/lib/cache/newApplicationsAndUses.js +61 -2
- package/lib/cacheConfig.d.ts +2 -2
- package/lib/config/cache.d.ts +7 -1
- package/lib/config/cache.js +5 -1
- package/lib/helpers/nullable.d.ts +35 -0
- package/lib/helpers/nullable.js +31 -0
- package/lib/helpers/nullable.test.d.ts +1 -0
- package/lib/helpers/nullable.test.js +46 -0
- package/lib/helpers/object.d.ts +5 -0
- package/lib/helpers/object.js +16 -0
- package/lib/helpers/object.test.d.ts +1 -0
- package/lib/helpers/object.test.js +15 -0
- package/lib/helpers/typeSafety.d.ts +10 -2
- package/lib/helpers/typeSafety.js +10 -2
- package/lib/helpers/typeSafety.test.d.ts +1 -0
- package/lib/helpers/typeSafety.test.js +10 -0
- package/lib/main.js +13 -8
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +6 -6
- package/lib/types/_Identifier.d.ts +72 -0
- package/lib/types/_IdentifierGroup.d.ts +3 -2
- package/package.json +2 -2
- package/schema/_ActivatableSelectOptionCategory.schema.json +2 -2
- package/schema/_Identifier.schema.json +144 -0
- package/schema/_IdentifierGroup.schema.json +109 -0
|
@@ -776,6 +776,24 @@
|
|
|
776
776
|
],
|
|
777
777
|
"additionalProperties": false
|
|
778
778
|
},
|
|
779
|
+
"VampiricGiftIdentifier": {
|
|
780
|
+
"type": "object",
|
|
781
|
+
"properties": {
|
|
782
|
+
"tag": {
|
|
783
|
+
"const": "VampiricGift"
|
|
784
|
+
},
|
|
785
|
+
"vampiric_gift": {
|
|
786
|
+
"description": "The vampiric gift’s identifier.",
|
|
787
|
+
"type": "integer",
|
|
788
|
+
"minimum": 1
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"required": [
|
|
792
|
+
"tag",
|
|
793
|
+
"vampiric_gift"
|
|
794
|
+
],
|
|
795
|
+
"additionalProperties": false
|
|
796
|
+
},
|
|
779
797
|
"SikaryanDrainSpecialAbilityIdentifier": {
|
|
780
798
|
"type": "object",
|
|
781
799
|
"properties": {
|
|
@@ -2380,6 +2398,132 @@
|
|
|
2380
2398
|
"state"
|
|
2381
2399
|
],
|
|
2382
2400
|
"additionalProperties": false
|
|
2401
|
+
},
|
|
2402
|
+
"DiseaseIdentifier": {
|
|
2403
|
+
"type": "object",
|
|
2404
|
+
"properties": {
|
|
2405
|
+
"tag": {
|
|
2406
|
+
"const": "Disease"
|
|
2407
|
+
},
|
|
2408
|
+
"disease": {
|
|
2409
|
+
"description": "The disease’s identifier.",
|
|
2410
|
+
"type": "integer",
|
|
2411
|
+
"minimum": 1
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
"required": [
|
|
2415
|
+
"tag",
|
|
2416
|
+
"disease"
|
|
2417
|
+
],
|
|
2418
|
+
"additionalProperties": false
|
|
2419
|
+
},
|
|
2420
|
+
"SexPracticeIdentifier": {
|
|
2421
|
+
"type": "object",
|
|
2422
|
+
"properties": {
|
|
2423
|
+
"tag": {
|
|
2424
|
+
"const": "SexPractice"
|
|
2425
|
+
},
|
|
2426
|
+
"sex_practice": {
|
|
2427
|
+
"description": "The sex practice’s identifier.",
|
|
2428
|
+
"type": "integer",
|
|
2429
|
+
"minimum": 1
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
"required": [
|
|
2433
|
+
"tag",
|
|
2434
|
+
"sex_practice"
|
|
2435
|
+
],
|
|
2436
|
+
"additionalProperties": false
|
|
2437
|
+
},
|
|
2438
|
+
"GenericIdentifier": {
|
|
2439
|
+
"type": "object",
|
|
2440
|
+
"properties": {
|
|
2441
|
+
"tag": {
|
|
2442
|
+
"const": "Generic"
|
|
2443
|
+
},
|
|
2444
|
+
"generic": {
|
|
2445
|
+
"description": "The generic entry‘s identifier.",
|
|
2446
|
+
"type": "integer",
|
|
2447
|
+
"minimum": 1
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
"required": [
|
|
2451
|
+
"tag",
|
|
2452
|
+
"generic"
|
|
2453
|
+
],
|
|
2454
|
+
"additionalProperties": false
|
|
2455
|
+
},
|
|
2456
|
+
"TradeSecretIdentifier": {
|
|
2457
|
+
"type": "object",
|
|
2458
|
+
"properties": {
|
|
2459
|
+
"tag": {
|
|
2460
|
+
"const": "TradeSecret"
|
|
2461
|
+
},
|
|
2462
|
+
"trade_secret": {
|
|
2463
|
+
"description": "The trade secret‘s identifier.",
|
|
2464
|
+
"type": "integer",
|
|
2465
|
+
"minimum": 1
|
|
2466
|
+
}
|
|
2467
|
+
},
|
|
2468
|
+
"required": [
|
|
2469
|
+
"tag",
|
|
2470
|
+
"trade_secret"
|
|
2471
|
+
],
|
|
2472
|
+
"additionalProperties": false
|
|
2473
|
+
},
|
|
2474
|
+
"AnimalShapeIdentifier": {
|
|
2475
|
+
"type": "object",
|
|
2476
|
+
"properties": {
|
|
2477
|
+
"tag": {
|
|
2478
|
+
"const": "AnimalShape"
|
|
2479
|
+
},
|
|
2480
|
+
"animal_shape": {
|
|
2481
|
+
"description": "The animal shape‘s identifier.",
|
|
2482
|
+
"type": "integer",
|
|
2483
|
+
"minimum": 1
|
|
2484
|
+
}
|
|
2485
|
+
},
|
|
2486
|
+
"required": [
|
|
2487
|
+
"tag",
|
|
2488
|
+
"animal_shape"
|
|
2489
|
+
],
|
|
2490
|
+
"additionalProperties": false
|
|
2491
|
+
},
|
|
2492
|
+
"ArcaneBardTraditionIdentifier": {
|
|
2493
|
+
"type": "object",
|
|
2494
|
+
"properties": {
|
|
2495
|
+
"tag": {
|
|
2496
|
+
"const": "ArcaneBardTradition"
|
|
2497
|
+
},
|
|
2498
|
+
"arcane_bard_tradition": {
|
|
2499
|
+
"description": "The arcane bard tradition‘s identifier.",
|
|
2500
|
+
"type": "integer",
|
|
2501
|
+
"minimum": 1
|
|
2502
|
+
}
|
|
2503
|
+
},
|
|
2504
|
+
"required": [
|
|
2505
|
+
"tag",
|
|
2506
|
+
"arcane_bard_tradition"
|
|
2507
|
+
],
|
|
2508
|
+
"additionalProperties": false
|
|
2509
|
+
},
|
|
2510
|
+
"ArcaneDancerTraditionIdentifier": {
|
|
2511
|
+
"type": "object",
|
|
2512
|
+
"properties": {
|
|
2513
|
+
"tag": {
|
|
2514
|
+
"const": "ArcaneDancerTradition"
|
|
2515
|
+
},
|
|
2516
|
+
"arcane_dancer_tradition": {
|
|
2517
|
+
"description": "The arcane dancer tradition‘s identifier.",
|
|
2518
|
+
"type": "integer",
|
|
2519
|
+
"minimum": 1
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"required": [
|
|
2523
|
+
"tag",
|
|
2524
|
+
"arcane_dancer_tradition"
|
|
2525
|
+
],
|
|
2526
|
+
"additionalProperties": false
|
|
2383
2527
|
}
|
|
2384
2528
|
}
|
|
2385
2529
|
}
|
|
@@ -100,6 +100,9 @@
|
|
|
100
100
|
{
|
|
101
101
|
"$ref": "./_Identifier.schema.json#/$defs/SikaryanDrainSpecialAbilityIdentifier"
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"$ref": "./_Identifier.schema.json#/$defs/VampiricGiftIdentifier"
|
|
105
|
+
},
|
|
103
106
|
{
|
|
104
107
|
"$ref": "./_Identifier.schema.json#/$defs/LycantropicGiftIdentifier"
|
|
105
108
|
},
|
|
@@ -478,6 +481,88 @@
|
|
|
478
481
|
}
|
|
479
482
|
]
|
|
480
483
|
},
|
|
484
|
+
"SelectOptionIdentifier": {
|
|
485
|
+
"oneOf": [
|
|
486
|
+
{
|
|
487
|
+
"$ref": "./_Identifier.schema.json#/$defs/GenericIdentifier"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"$ref": "./_Identifier.schema.json#/$defs/BlessingIdentifier"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"$ref": "./_Identifier.schema.json#/$defs/CantripIdentifier"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"$ref": "./_Identifier.schema.json#/$defs/TradeSecretIdentifier"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"$ref": "./_Identifier.schema.json#/$defs/ScriptIdentifier"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"$ref": "./_Identifier.schema.json#/$defs/AnimalShapeIdentifier"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"$ref": "./_Identifier.schema.json#/$defs/ArcaneBardTraditionIdentifier"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"$ref": "./_Identifier.schema.json#/$defs/ArcaneDancerTraditionIdentifier"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"$ref": "./_Identifier.schema.json#/$defs/SexPracticeIdentifier"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"$ref": "./_Identifier.schema.json#/$defs/RaceIdentifier"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"$ref": "./_Identifier.schema.json#/$defs/CultureIdentifier"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"$ref": "./_Identifier.schema.json#/$defs/BlessedTraditionIdentifier"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"$ref": "./_Identifier.schema.json#/$defs/ElementIdentifier"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"$ref": "./_Identifier.schema.json#/$defs/PropertyIdentifier"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"$ref": "./_Identifier.schema.json#/$defs/AspectIdentifier"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"$ref": "./_Identifier.schema.json#/$defs/DiseaseIdentifier"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"$ref": "./_Identifier.schema.json#/$defs/PoisonIdentifier"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"$ref": "./_Identifier.schema.json#/$defs/LanguageIdentifier"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"$ref": "./_Identifier.schema.json#/$defs/SkillIdentifier"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"$ref": "./_Identifier.schema.json#/$defs/CloseCombatTechniqueIdentifier"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"$ref": "./_Identifier.schema.json#/$defs/RangedCombatTechniqueIdentifier"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"$ref": "./_Identifier.schema.json#/$defs/LiturgicalChantIdentifier"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"$ref": "./_Identifier.schema.json#/$defs/CeremonyIdentifier"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"$ref": "./_Identifier.schema.json#/$defs/SpellIdentifier"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"$ref": "./_Identifier.schema.json#/$defs/RitualIdentifier"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"$ref": "./_Identifier.schema.json#/$defs/TargetCategoryIdentifier"
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
},
|
|
481
566
|
"RequirableSelectOptionIdentifier": {
|
|
482
567
|
"oneOf": [
|
|
483
568
|
{
|
|
@@ -491,6 +576,30 @@
|
|
|
491
576
|
},
|
|
492
577
|
{
|
|
493
578
|
"$ref": "./_Identifier.schema.json#/$defs/RangedCombatTechniqueIdentifier"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"$ref": "./_Identifier.schema.json#/$defs/PropertyIdentifier"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"$ref": "./_Identifier.schema.json#/$defs/AspectIdentifier"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"$ref": "./_Identifier.schema.json#/$defs/LanguageIdentifier"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"$ref": "./_Identifier.schema.json#/$defs/AnimalShapeIdentifier"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"$ref": "./_Identifier.schema.json#/$defs/LiturgicalChantIdentifier"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"$ref": "./_Identifier.schema.json#/$defs/CeremonyIdentifier"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"$ref": "./_Identifier.schema.json#/$defs/SpellIdentifier"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"$ref": "./_Identifier.schema.json#/$defs/RitualIdentifier"
|
|
494
603
|
}
|
|
495
604
|
]
|
|
496
605
|
},
|