The min/max acceptable amount of badges that must be owned (can be any values, including 0-0).
The range of the badge IDs that must be owned.
The collection ID of the badges to own.
Whether or not the user must own all the specified badges. If false, we will accept if they meet criteria for at least one badge.
Whether or not to override the ownershipTimes with the current time.
The range of the times that the badges must be owned.
Deep copies the object and returns a new instance.
Converts the object to a different NumberType equivalent.
Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes
is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
Optional
normalizeNumberTypes: booleanStatic
fromOptional
options: Partial<JsonReadOptions>Static
fromOptional
options: Partial<JsonReadOptions>Static
from
MustOwnBadges are used to represent a challenge for an approved transfer where a user must own min-max (amountRange) of the badges (badgeIds) from a specific collection (collectionId) to be able to transfer the badges and be approved.