scryfall-api 2.2.1 → 3.0.2
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/LICENSE +18 -4
- package/README.md +8 -14
- package/{lib → dist/declarations/src}/api/CardIdentifierBuilder.d.ts +10 -10
- package/{lib → dist/declarations/src}/api/Cards.d.ts +19 -19
- package/{lib → dist/declarations/src}/api/Catalog.d.ts +18 -18
- package/{lib → dist/declarations/src}/api/Misc.d.ts +7 -7
- package/{lib → dist/declarations/src}/api/Rulings.d.ts +11 -11
- package/{lib → dist/declarations/src}/api/Sets.d.ts +10 -10
- package/{lib → dist/declarations/src}/api/Symbology.d.ts +8 -8
- package/{lib → dist/declarations/src}/error/MagicQueryError.d.ts +5 -5
- package/{lib → dist/declarations/src}/index.d.ts +11 -11
- package/{lib → dist/declarations/src}/query/MagicPageResult.d.ts +18 -18
- package/{lib → dist/declarations/src}/query/MagicQuery.d.ts +13 -13
- package/{lib → dist/declarations/src}/types/Border.d.ts +7 -7
- package/{lib → dist/declarations/src}/types/BulkDataDefinition.d.ts +14 -14
- package/{lib → dist/declarations/src}/types/BulkDataType.d.ts +2 -2
- package/{lib → dist/declarations/src}/types/BulkDataTypes.d.ts +7 -7
- package/{lib → dist/declarations/src}/types/Card.d.ts +91 -91
- package/{lib → dist/declarations/src}/types/CardFace.d.ts +22 -22
- package/{lib → dist/declarations/src}/types/CardIdentifier.d.ts +10 -10
- package/{lib → dist/declarations/src}/types/CardSymbol.d.ts +13 -13
- package/{lib → dist/declarations/src}/types/Color.d.ts +9 -9
- package/{lib → dist/declarations/src}/types/Format.d.ts +15 -15
- package/{lib → dist/declarations/src}/types/FrameEffect.d.ts +17 -17
- package/{lib → dist/declarations/src}/types/Game.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/HomepageLink.d.ts +9 -9
- package/{lib → dist/declarations/src}/types/ImageUris.d.ts +8 -8
- package/{lib → dist/declarations/src}/types/Layout.d.ts +20 -20
- package/{lib → dist/declarations/src}/types/Legalties.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/Legalty.d.ts +6 -6
- package/{lib → dist/declarations/src}/types/ManaCost.d.ts +9 -9
- package/{lib → dist/declarations/src}/types/PageQuery.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/PageQueryValue.d.ts +1 -1
- package/{lib → dist/declarations/src}/types/Preview.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/Prices.d.ts +6 -6
- package/{lib → dist/declarations/src}/types/PromoType.d.ts +27 -27
- package/{lib → dist/declarations/src}/types/PurchaseUris.d.ts +6 -6
- package/{lib → dist/declarations/src}/types/Query.d.ts +4 -4
- package/{lib → dist/declarations/src}/types/Rarity.d.ts +6 -6
- package/{lib → dist/declarations/src}/types/RelatedCard.d.ts +9 -9
- package/{lib → dist/declarations/src}/types/RelatedCardComponent.d.ts +6 -6
- package/{lib → dist/declarations/src}/types/RelatedUris.d.ts +7 -7
- package/{lib → dist/declarations/src}/types/ResultCatalog.d.ts +2 -2
- package/{lib → dist/declarations/src}/types/ResultData.d.ts +4 -4
- package/{lib → dist/declarations/src}/types/ResultList.d.ts +7 -7
- package/{lib → dist/declarations/src}/types/RetryStrategy.d.ts +11 -11
- package/{lib → dist/declarations/src}/types/Ruling.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/SearchError.d.ts +7 -7
- package/{lib → dist/declarations/src}/types/SearchOptions.d.ts +15 -15
- package/{lib → dist/declarations/src}/types/Set.d.ts +20 -20
- package/{lib → dist/declarations/src}/types/SetType.d.ts +22 -22
- package/{lib → dist/declarations/src}/types/Sort.d.ts +15 -15
- package/{lib → dist/declarations/src}/types/SortDirection.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/TOrArrayOfT.d.ts +1 -1
- package/{lib → dist/declarations/src}/types/UniqueStrategy.d.ts +5 -5
- package/{lib → dist/declarations/src}/types/index.d.ts +42 -42
- package/dist/scryfall-api.cjs.d.ts +1 -0
- package/dist/scryfall-api.cjs.dev.js +653 -0
- package/dist/scryfall-api.cjs.js +7 -0
- package/dist/scryfall-api.cjs.prod.js +653 -0
- package/dist/scryfall-api.esm.js +638 -0
- package/dist/scryfall-api.umd.min.js +2 -0
- package/dist/scryfall-api.umd.min.js.map +1 -0
- package/package.json +39 -91
- package/CHANGELOG.md +0 -47
- package/lib/api/Cards.spec.d.ts +0 -1
- package/lib/api/Catalog.spec.d.ts +0 -1
- package/lib/api/Misc.spec.d.ts +0 -1
- package/lib/api/Rulings.spec.d.ts +0 -1
- package/lib/api/Sets.spec.d.ts +0 -1
- package/lib/api/Symbology.spec.d.ts +0 -1
- package/lib/skryfall.es5.js +0 -660
- package/lib/skryfall.es5.js.map +0 -1
- package/lib/skryfall.es5.min.js +0 -16
- package/lib/skryfall.es5.min.js.map +0 -1
- package/lib/skryfall.umd.js +0 -679
- package/lib/skryfall.umd.js.map +0 -1
- package/lib/skryfall.umd.min.js +0 -16
- package/lib/skryfall.umd.min.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare enum Sort {
|
|
2
|
-
name = 0,
|
|
3
|
-
set = 1,
|
|
4
|
-
released = 2,
|
|
5
|
-
rarity = 3,
|
|
6
|
-
color = 4,
|
|
7
|
-
usd = 5,
|
|
8
|
-
tix = 6,
|
|
9
|
-
eur = 7,
|
|
10
|
-
cmc = 8,
|
|
11
|
-
power = 9,
|
|
12
|
-
toughness = 10,
|
|
13
|
-
edhrec = 11,
|
|
14
|
-
artist = 12
|
|
15
|
-
}
|
|
1
|
+
export declare enum Sort {
|
|
2
|
+
name = 0,
|
|
3
|
+
set = 1,
|
|
4
|
+
released = 2,
|
|
5
|
+
rarity = 3,
|
|
6
|
+
color = 4,
|
|
7
|
+
usd = 5,
|
|
8
|
+
tix = 6,
|
|
9
|
+
eur = 7,
|
|
10
|
+
cmc = 8,
|
|
11
|
+
power = 9,
|
|
12
|
+
toughness = 10,
|
|
13
|
+
edhrec = 11,
|
|
14
|
+
artist = 12
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum SortDirection {
|
|
2
|
-
auto = 0,
|
|
3
|
-
asc = 1,
|
|
4
|
-
desc = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum SortDirection {
|
|
2
|
+
auto = 0,
|
|
3
|
+
asc = 1,
|
|
4
|
+
desc = 2
|
|
5
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TOrArrayOfT<T> = T | T[];
|
|
1
|
+
export declare type TOrArrayOfT<T> = T | T[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum UniqueStrategy {
|
|
2
|
-
cards = 0,
|
|
3
|
-
art = 1,
|
|
4
|
-
prints = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum UniqueStrategy {
|
|
2
|
+
cards = 0,
|
|
3
|
+
art = 1,
|
|
4
|
+
prints = 2
|
|
5
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
export * from './Border';
|
|
2
|
-
export * from './BulkDataDefinition';
|
|
3
|
-
export * from './BulkDataType';
|
|
4
|
-
export * from './BulkDataTypes';
|
|
5
|
-
export * from './Card';
|
|
6
|
-
export * from './CardFace';
|
|
7
|
-
export * from './CardIdentifier';
|
|
8
|
-
export * from './CardSymbol';
|
|
9
|
-
export * from './Color';
|
|
10
|
-
export * from './Format';
|
|
11
|
-
export * from './FrameEffect';
|
|
12
|
-
export * from './Game';
|
|
13
|
-
export * from './HomepageLink';
|
|
14
|
-
export * from './ImageUris';
|
|
15
|
-
export * from './Layout';
|
|
16
|
-
export * from './Legalties';
|
|
17
|
-
export * from './Legalty';
|
|
18
|
-
export * from './ManaCost';
|
|
19
|
-
export * from './PageQuery';
|
|
20
|
-
export * from './PageQueryValue';
|
|
21
|
-
export * from './Preview';
|
|
22
|
-
export * from './Prices';
|
|
23
|
-
export * from './PromoType';
|
|
24
|
-
export * from './PurchaseUris';
|
|
25
|
-
export * from './Query';
|
|
26
|
-
export * from './Rarity';
|
|
27
|
-
export * from './RelatedCard';
|
|
28
|
-
export * from './RelatedCardComponent';
|
|
29
|
-
export * from './RelatedUris';
|
|
30
|
-
export * from './ResultCatalog';
|
|
31
|
-
export * from './ResultData';
|
|
32
|
-
export * from './ResultList';
|
|
33
|
-
export * from './RetryStrategy';
|
|
34
|
-
export * from './Ruling';
|
|
35
|
-
export * from './SearchError';
|
|
36
|
-
export * from './SearchOptions';
|
|
37
|
-
export * from './Set';
|
|
38
|
-
export * from './SetType';
|
|
39
|
-
export * from './Sort';
|
|
40
|
-
export * from './SortDirection';
|
|
41
|
-
export * from './TOrArrayOfT';
|
|
42
|
-
export * from './UniqueStrategy';
|
|
1
|
+
export * from './Border';
|
|
2
|
+
export * from './BulkDataDefinition';
|
|
3
|
+
export * from './BulkDataType';
|
|
4
|
+
export * from './BulkDataTypes';
|
|
5
|
+
export * from './Card';
|
|
6
|
+
export * from './CardFace';
|
|
7
|
+
export * from './CardIdentifier';
|
|
8
|
+
export * from './CardSymbol';
|
|
9
|
+
export * from './Color';
|
|
10
|
+
export * from './Format';
|
|
11
|
+
export * from './FrameEffect';
|
|
12
|
+
export * from './Game';
|
|
13
|
+
export * from './HomepageLink';
|
|
14
|
+
export * from './ImageUris';
|
|
15
|
+
export * from './Layout';
|
|
16
|
+
export * from './Legalties';
|
|
17
|
+
export * from './Legalty';
|
|
18
|
+
export * from './ManaCost';
|
|
19
|
+
export * from './PageQuery';
|
|
20
|
+
export * from './PageQueryValue';
|
|
21
|
+
export * from './Preview';
|
|
22
|
+
export * from './Prices';
|
|
23
|
+
export * from './PromoType';
|
|
24
|
+
export * from './PurchaseUris';
|
|
25
|
+
export * from './Query';
|
|
26
|
+
export * from './Rarity';
|
|
27
|
+
export * from './RelatedCard';
|
|
28
|
+
export * from './RelatedCardComponent';
|
|
29
|
+
export * from './RelatedUris';
|
|
30
|
+
export * from './ResultCatalog';
|
|
31
|
+
export * from './ResultData';
|
|
32
|
+
export * from './ResultList';
|
|
33
|
+
export * from './RetryStrategy';
|
|
34
|
+
export * from './Ruling';
|
|
35
|
+
export * from './SearchError';
|
|
36
|
+
export * from './SearchOptions';
|
|
37
|
+
export * from './Set';
|
|
38
|
+
export * from './SetType';
|
|
39
|
+
export * from './Sort';
|
|
40
|
+
export * from './SortDirection';
|
|
41
|
+
export * from './TOrArrayOfT';
|
|
42
|
+
export * from './UniqueStrategy';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./declarations/src/index";
|