@pfdev/api-types 3.0.30 → 3.0.31
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/package.json +1 -1
- package/v3.ts +5 -1
package/package.json
CHANGED
package/v3.ts
CHANGED
|
@@ -156,7 +156,11 @@ const CardListFilterFields = {
|
|
|
156
156
|
setid: Type.Optional(Type.String({ description: 'Comma-separated set IDs (max 500). A single ID behaves as before.' })),
|
|
157
157
|
rarity: Type.Optional(Type.String({ description: 'Comma-separated rarities (max 50), matched exactly. A rarity matches cards in every language.' })),
|
|
158
158
|
language: Type.Optional(Type.String({ description: 'Comma-separated language codes (EN, JP; max 50)' })),
|
|
159
|
-
variant_id: Type.Optional(Type.String({ description: 'Comma-separated variant ids (variants[].id, max 50). Matches non-hidden variants only.' }))
|
|
159
|
+
variant_id: Type.Optional(Type.String({ description: 'Comma-separated variant ids (variants[].id, max 50). Matches non-hidden variants only.' })),
|
|
160
|
+
pokemon_id: Type.Optional(Type.Integer({
|
|
161
|
+
minimum: 1,
|
|
162
|
+
description: 'Only cards tied to this Pokémon (DexEntry.id, as in /dex and /users/me/dex/collection). An unknown id matches no cards.'
|
|
163
|
+
}))
|
|
160
164
|
};
|
|
161
165
|
|
|
162
166
|
const CardSearchField = Type.Optional(Type.String({ minLength: 1, description: 'Search by card name and/or number. Tokens with digits match card number; other tokens match card name.' }));
|