@piltoverarchive/riftbound-deck-codes
Version:
Encode and decode Riftbound TCG decks to/from shareable strings
25 lines • 580 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.VARIANT_MAP = exports.SET_MAP = void 0;
/**
* Mapping of set codes to their numeric identifiers
* Format: SET_CODE -> numeric_id
*/
exports.SET_MAP = {
OGN: 0,
OGS: 1,
ARC: 2,
SFD: 3,
};
/**
* Mapping of variant codes to their numeric identifiers
* Format: variant_suffix -> numeric_id
* Empty string represents the base/default variant
*/
exports.VARIANT_MAP = {
"": 0, // Base variant (no suffix)
a: 1,
s: 2,
b: 3,
};
//# sourceMappingURL=mappings.js.map