Skip to content

Commit b63fcc2

Browse files
committed
mv Object, restore root index
1 parent 53254ab commit b63fcc2

15 files changed

Lines changed: 14 additions & 12 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"files": [
17-
"src/**/__test__/**/*.ts"
17+
"**/__test__/**/*.ts"
1818
],
1919
"rules": {
2020
"@typescript-eslint/no-unused-vars": "off"

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from "./src";

src/objects/Card/Card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { ScryfallCardLayout } from "./values/CardLayout";
33
import { ScryfallCardFace } from "./CardFace";
44
import { ScryfallCardFields } from "./CardFields";

src/objects/Card/CardFace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { ScryfallCardFields } from "./CardFields";
33

44
export namespace ScryfallCardFace {

src/objects/Card/RelatedCard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { Uri, Uuid } from "../../internal/values";
33

44
export type ScryfallRelatedCard = ScryfallObject.Object<ScryfallObject.ObjectType.RelatedCard> & {

src/objects/Catalog/Catalog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { Uri, Integer } from "../../internal/values";
33

44
export type ScryfallCatalog = ScryfallObject.Object<ScryfallObject.ObjectType.Catalog> & {

src/objects/Error/Error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { Integer } from "../../internal/values";
33

44
export type ScryfallError = ScryfallObject.Object<ScryfallObject.ObjectType.Error> & {

src/objects/List/List.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { Integer, Uri } from "../../internal/values";
33
import { ScryfallCard } from "../Card";
44
import { ScryfallMigration } from "../Migration";

src/objects/Migration/Migration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ScryfallObject } from "../ScryfallObject";
1+
import { ScryfallObject } from "../Object";
22
import { Uri, Uuid, IsoDate } from "../../internal/values";
33

44
export enum ScryfallMigrationStrategy {

0 commit comments

Comments
 (0)