@flesh-and-blood/types 2.0.88 → 2.0.92
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.js +1 -1
- package/dist/interfaces.d.ts +4 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var m=Object.defineProperty,
|
|
1
|
+
var m=Object.defineProperty,N=Object.defineProperties,V=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyDescriptors,Y=Object.getOwnPropertyNames,z=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var u=(a,n,r)=>n in a?m(a,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[n]=r,f=(a,n)=>{for(var r in n||(n={}))d.call(n,r)&&u(a,r,n[r]);if(z)for(var r of z(n))R.call(n,r)&&u(a,r,n[r]);return a},A=(a,n)=>N(a,$(n));var Z=(a,n)=>{for(var r in n)m(a,r,{get:n[r],enumerable:!0})},q=(a,n,r,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of Y(n))!d.call(a,s)&&s!==r&&m(a,s,{get:()=>n[s],enumerable:!(l=V(n,s))||l.enumerable});return a};var Q=a=>q(m({},"__esModule",{value:!0}),a);var S={};Z(S,{Class:()=>p,Foiling:()=>v,Format:()=>x,Fusion:()=>P,Hero:()=>T,Keyword:()=>G,Rarity:()=>L,Release:()=>I,ReleaseEdition:()=>M,Subtype:()=>W,Talent:()=>O,Treatment:()=>C,Type:()=>E,fullSetIdentifiers:()=>U,getPrint:()=>X,setIdentifierToSetMappings:()=>j,setToSetIdentifierMappings:()=>_});module.exports=Q(S);var v=(l=>(l.C="Cold",l.G="Gold",l.R="Rainbow",l))(v||{}),C=(D=>(D.AB="Alternate Border",D.AA="Alternate Art",D.AT="Alternate Text",D.EA="Extended Art",D.FA="Full Art",D))(C||{}),p=(o=>(o.NotClassed="NotClassed",o.Generic="Generic",o.Adjudicator="Adjudicator",o.Assassin="Assassin",o.Bard="Bard",o.Brute="Brute",o.Guardian="Guardian",o.Illusionist="Illusionist",o.Mechanologist="Mechanologist",o.Merchant="Merchant",o.Ninja="Ninja",o.Ranger="Ranger",o.Runeblade="Runeblade",o.Shapeshifter="Shapeshifter",o.Warrior="Warrior",o.Wizard="Wizard",o))(p||{}),x=(B=>(B.Blitz="Blitz",B.BlitzLivingLegend="Blitz (Living Legend)",B.Clash="Clash",B.ClassicConstructed="Classic Constructed",B.ClassicConstructedLivingLegend="Classic Constructed (Living Legend)",B.Commoner="Commoner",B.Draft="Draft",B.Open="Open",B.Sealed="Sealed",B.UltimatePitFight="Ultimate Pit Fight",B))(x||{}),P=(l=>(l.Earth="Earth",l.Ice="Ice",l.Lightning="Lightning",l))(P||{}),L=(c=>(c.Token="Token",c.Common="Common",c.Rare="Rare",c.SuperRare="Super Rare",c.Majestic="Majestic",c.Marvel="Marvel",c.Legendary="Legendary",c.Fabled="Fabled",c.Promo="Promo",c))(L||{}),I=(e=>(e.ArcaneRising="Arcane Rising",e.BrightLights="Bright Lights",e.CrucibleOfWar="Crucible of War",e.DuskTillDawn="Dusk till Dawn",e.Dynasty="Dynasty",e.Everfest="Everfest",e.HeavyHitters="Heavy Hitters",e.HistoryPack1="History Pack 1",e.Monarch="Monarch",e.Outsiders="Outsiders",e.PartTheMistveil="Part the Mistveil",e.TalesOfAria="Tales of Aria",e.Uprising="Uprising",e.WelcomeToRathe="Welcome to Rathe",e.ArmoryDeckKayo="Armory Deck: Kayo",e.ArmoryDeckBoltyn="Armory Deck: Boltyn",e.ArakniBlitzDeck="Arakni Blitz Deck",e.AzaleaBlitzDeck="Azalea Blitz Deck",e.BenjiBlitzDeck="Benji Blitz Deck",e.BetsyBlitzDeck="Betsy Blitz Deck",e.BoltynBlitzDeck="Boltyn Blitz Deck",e.BriarBlitzDeck="Briar Blitz Deck",e.BravoBlitzDeck="Bravo Blitz Deck",e.ChaneBlitzDeck="Chane Blitz Deck",e.DromaiBlitzDeck="Dromai Blitz Deck",e.EnigmaBlitzDeck="Enigma Blitz Deck",e.FaiBlitzDeck="Fai Blitz Deck",e.KassaiBlitzDeck="Kassai Blitz Deck",e.KatsuBlitzDeck="Katsu Blitz Deck",e.KayoBlitzDeck="Kayo Blitz Deck",e.LeviaBlitzDeck="Levia Blitz Deck",e.LexiBlitzDeck="Lexi Blitz Deck",e.NuuBlitzDeck="Nuu Blitz Deck",e.OldhimBlitzDeck="Oldhim Blitz Deck",e.OlympiaBlitzDeck="Olympia Blitz Deck",e.PrismBlitzDeck="Prism Blitz Deck",e.RhinarBlitzDeck="Rhinar Blitz Deck",e.RiptideBlitzDeck="Riptide Blitz Deck",e.UzuriBlitzDeck="Uzuri Blitz Deck",e.VictorBlitzDeck="Victor Blitz Deck",e.ZenBlitzDeck="Zen Blitz Deck",e.DorintheaHeroDeck="Dorinthea Hero Deck",e.KatsuHeroDeck="Katsu Hero Deck",e.RhinarHeroDeck="Rhinar Hero Deck",e.ClassicBattlesRhinarDorinthea="Classic Battles: Rhinar vs Dorinthea",e.IraWelcomeDeck="Ira Welcome Deck",e.RoundTheTable="Round the Table",e.Promos="Promos",e))(I||{}),M=(s=>(s.Alpha="Alpha",s.First="First",s.Unlimited="Unlimited",s.Promo="Promo",s))(M||{}),O=(c=>(c.Draconic="Draconic",c.Earth="Earth",c.Elemental="Elemental",c.Ice="Ice",c.Light="Light",c.Lightning="Lightning",c.Mystic="Mystic",c.Royal="Royal",c.Shadow="Shadow",c))(O||{}),E=(k=>(k.Action="Action",k.AttackReaction="Attack Reaction",k.Block="Block",k.DefenseReaction="Defense Reaction",k.DemiHero="Demi-Hero",k.Equipment="Equipment",k.Hero="Hero",k.Instant="Instant",k.Mentor="Mentor",k.Resource="Resource",k.Token="Token",k.Weapon="Weapon",k))(E||{}),W=(i=>(i.OneHanded="1H",i.TwoHanded="2H",i.Affliction="Affliction",i.Ally="Ally",i.Angel="Angel",i.Arms="Arms",i.Arrow="Arrow",i.Ash="Ash",i.Attack="Attack",i.Aura="Aura",i.Axe="Axe",i.Base="Base",i.Book="Book",i.Bow="Bow",i.Chest="Chest",i.Chi="Chi",i.Claw="Claw",i.Club="Club",i.Construct="Construct",i.Dagger="Dagger",i.Demon="Demon",i.Dragon="Dragon",i.Evo="Evo",i.Fiddle="Fiddle",i.Figment="Figment",i.Flail="Flail",i.Gem="Gem",i.Gun="Gun",i.Hammer="Hammer",i.Head="Head",i.Invocation="Invocation",i.Item="Item",i.Landmark="Landmark",i.Lute="Lute",i.Legs="Legs",i.NonAttack="Non-Attack",i.OffHand="Off-Hand",i.Orb="Orb",i.Pistol="Pistol",i.Quiver="Quiver",i.Rock="Rock",i.Shuriken="Shuriken",i.Scepter="Scepter",i.Scythe="Scythe",i.Song="Song",i.Staff="Staff",i.Sword="Sword",i.Trap="Trap",i.Wrench="Wrench",i.Young="Young",i))(W||{}),T=(i=>(i.Arakni="Arakni",i.Azalea="Azalea",i.Benji="Benji",i.Betsy="Betsy",i.Boltyn="Boltyn",i.Bravo="Bravo",i.Brevant="Brevant",i.Briar="Briar",i.Brutus="Brutus",i.Chane="Chane",i.Dash="Dash",i.DataDoll="Data Doll",i.Dorinthea="Dorinthea",i.Dromai="Dromai",i.Emperor="Emperor",i.Enigma="Enigma",i.Fai="Fai",i.GenisWotchuneed="Genis Wotchuneed",i.Ira="Ira",i.Iyslander="Iyslander",i.Kano="Kano",i.Kassai="Kassai",i.Katsu="Katsu",i.Kavdaen="Kavdaen",i.Kayo="Kayo",i.Levia="Levia",i.Lexi="Lexi",i.Maxx="Maxx",i.Melody="Melody",i.Nuu="Nuu",i.Oldhim="Oldhim",i.Olympia="Olympia",i.Prism="Prism",i.Rhinar="Rhinar",i.Riptide="Riptide",i.Ruudi="Ruu'di",i.Shiyana="Shiyana",i.Squizzy="Squizzy",i.Taipanis="Taipanis",i.Taylor="Taylor",i.Teklovossen="Teklovossen",i.Theryon="Theryon",i.Uzuri="Uzuri",i.Valda="Valda",i.Victor="Victor",i.Vynnset="Vynnset",i.Viserai="Viserai",i.Yorick="Yorick",i.Yoji="Yoji",i.Zen="Zen",i))(T||{}),G=(t=>(t.Ambush="Ambush",t.Amp="Amp",t.ArcaneBarrier="Arcane Barrier",t.Awaken="Awaken",t.Battleworn="Battleworn",t.BeatChest="Beat Chest",t.BladeBreak="Blade Break",t.BloodDebt="Blood Debt",t.Boost="Boost",t.Channel="Channel",t.Charge="Charge",t.Clash="Clash",t.Cloaked="Cloaked",t.Combo="Combo",t.Contract="Contract",t.Crank="Crank",t.Crush="Crush",t.Dominate="Dominate",t.Ephemeral="Ephemeral",t.Essence="Essence",t.EvoUpgrade="Evo Upgrade",t.Freeze="Freeze",t.Fusion="Fusion",t.Galvanize="Galvanize",t.GoAgain="Go again",t.Guardwell="Guardwell",t.Heave="Heave",t.Intimidate="Intimidate",t.Legendary="Legendary",t.Material="Material",t.Modular="Modular",t.Mirage="Mirage",t.Negate="Negate",t.Opt="Opt",t.Overpower="Overpower",t.Pairs="Pairs",t.Piercing="Piercing",t.Phantasm="Phantasm",t.Protect="Protect",t.Quell="Quell",t.Reload="Reload",t.Reprise="Reprise",t.RuneGate="Rune Gate",t.Rupture="Rupture",t.Scrap="Scrap",t.Solflare="Solflare",t.Specialization="Specialization",t.Spectra="Spectra",t.Spellvoid="Spellvoid",t.Stealth="Stealth",t.Surge="Surge",t.Temper="Temper",t.Tower="Tower",t.Transform="Transform",t.Transcend="Transcend",t.Universal="Universal",t.Unfreeze="Unfreeze",t.Unity="Unity",t.Wager="Wager",t.Ward="Ward",t))(G||{});var J={"Rhinar Blitz Deck":"-Blitz"},X=a=>{var g;let n=J[a.set]||"",r=`${a.identifier}${n}`,l=a.edition?`-${a.edition}`:"",s=a.foiling?`-${a.foiling}`:"",D=a.treatment?`-${a.treatment}`:"",F=(g=a.image)!=null&&g.toLowerCase().includes("back")?"-Back":"";return`${r}${l}${s}${D}${F}`};var U={wtr:"Welcome to Rathe",arc:"Arcane Rising",cru:"Crucible of War",mon:"Monarch",ele:"Tales of Aria",evr:"Everfest","1hp":"History Pack 1",hp1:"History Pack 1",upr:"Uprising",dyn:"Dynasty",out:"Outsiders",dtd:"Dusk till Dawn",evo:"Bright Lights",hvy:"Heavy Hitters",mst:"Part the Mistveil"},j=A(f({},U),{ako:"Armory Deck: Kayo",asb:"Armory Deck: Boltyn",ara:"Arakni Blitz Deck",azl:"Azalea Blitz Deck",ben:"Benji Blitz Deck",bet:"Betsy Blitz Deck",bol:"Boltyn Blitz Deck",bri:"Briar Blitz Deck",bvo:"Bravo Blitz Deck",chn:"Chane Blitz Deck",dro:"Dromai Blitz Deck",eng:"Enigma Blitz Deck",fai:"Fai Blitz Deck",kat:"Katsu Blitz Deck",ksi:"Kassai Blitz Deck",kyo:"Kayo Blitz Deck",lev:"Levia Blitz Deck",lxi:"Lexi Blitz Deck",nuu:"Nuu Blitz Deck",old:"Oldhim Blitz Deck",ola:"Olympia Blitz Deck",psm:"Prism Blitz Deck",rip:"Riptide Blitz Deck",rnr:"Rhinar Blitz Deck",uzu:"Uzuri Blitz Deck",vic:"Victor Blitz Deck",zen:"Zen Blitz Deck",dvr:"Classic Battles: Rhinar vs Dorinthea",rvd:"Classic Battles: Rhinar vs Dorinthea",ira:"Ira Welcome Deck",tcc:"Round the Table",tea:"Dorinthea Hero Deck",ksu:"Katsu Hero Deck",rnr2:"Rhinar Hero Deck",fab:"Promos",her:"Promos",jdg:"Promos",lgs:"Promos",lss:"Promos",oxo:"Promos",xxx:"Promos",win:"Promos"}),h={};for(let[a,n]of Object.entries(j)){let r=h[n];r?r.push(a):h[n]=[a]}var _=h;0&&(module.exports={Class,Foiling,Format,Fusion,Hero,Keyword,Rarity,Release,ReleaseEdition,Subtype,Talent,Treatment,Type,fullSetIdentifiers,getPrint,setIdentifierToSetMappings,setToSetIdentifierMappings});
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -136,12 +136,14 @@ export declare enum Release {
|
|
|
136
136
|
BravoBlitzDeck = "Bravo Blitz Deck",
|
|
137
137
|
ChaneBlitzDeck = "Chane Blitz Deck",
|
|
138
138
|
DromaiBlitzDeck = "Dromai Blitz Deck",
|
|
139
|
+
EnigmaBlitzDeck = "Enigma Blitz Deck",
|
|
139
140
|
FaiBlitzDeck = "Fai Blitz Deck",
|
|
140
141
|
KassaiBlitzDeck = "Kassai Blitz Deck",
|
|
141
142
|
KatsuBlitzDeck = "Katsu Blitz Deck",
|
|
142
143
|
KayoBlitzDeck = "Kayo Blitz Deck",
|
|
143
144
|
LeviaBlitzDeck = "Levia Blitz Deck",
|
|
144
145
|
LexiBlitzDeck = "Lexi Blitz Deck",
|
|
146
|
+
NuuBlitzDeck = "Nuu Blitz Deck",
|
|
145
147
|
OldhimBlitzDeck = "Oldhim Blitz Deck",
|
|
146
148
|
OlympiaBlitzDeck = "Olympia Blitz Deck",
|
|
147
149
|
PrismBlitzDeck = "Prism Blitz Deck",
|
|
@@ -149,6 +151,7 @@ export declare enum Release {
|
|
|
149
151
|
RiptideBlitzDeck = "Riptide Blitz Deck",
|
|
150
152
|
UzuriBlitzDeck = "Uzuri Blitz Deck",
|
|
151
153
|
VictorBlitzDeck = "Victor Blitz Deck",
|
|
154
|
+
ZenBlitzDeck = "Zen Blitz Deck",
|
|
152
155
|
DorintheaHeroDeck = "Dorinthea Hero Deck",
|
|
153
156
|
KatsuHeroDeck = "Katsu Hero Deck",
|
|
154
157
|
RhinarHeroDeck = "Rhinar Hero Deck",
|
|
@@ -294,6 +297,7 @@ export declare enum Hero {
|
|
|
294
297
|
}
|
|
295
298
|
export declare enum Keyword {
|
|
296
299
|
Ambush = "Ambush",
|
|
300
|
+
Amp = "Amp",
|
|
297
301
|
ArcaneBarrier = "Arcane Barrier",
|
|
298
302
|
Awaken = "Awaken",
|
|
299
303
|
Battleworn = "Battleworn",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flesh-and-blood/types",
|
|
3
3
|
"description": "TypeScript representations of Flesh and Blood card types",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.92",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"FAB",
|
|
48
48
|
"FABTCG"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "3d667840746bc19a4ecce1bcff9b5656f92f69f2"
|
|
51
51
|
}
|