Skip to content

Commit

Permalink
fix: casing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mario committed Mar 5, 2019
1 parent 7795722 commit 1863e3d
Show file tree
Hide file tree
Showing 21 changed files with 40 additions and 40 deletions.
16 changes: 8 additions & 8 deletions dist/functions/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import CountItems from "./countItems";
import CreateItem from "./createItem";
import DeleteItem from "./deleteItem";
import DeleteItems from "./deleteItems";
import GetItem from "./getItem";
import GetItems from "./getItems";
import ReplaceItem from "./replaceItem";
import UpdateItem from "./updateItem";
import CountItems from "./CountItems";
import CreateItem from "./CreateItem";
import DeleteItem from "./DeleteItem";
import DeleteItems from "./DeleteItems";
import GetItem from "./GetItem";
import GetItems from "./GetItems";
import ReplaceItem from "./ReplaceItem";
import UpdateItem from "./UpdateItem";
export { CountItems, CreateItem, GetItems, GetItem, DeleteItem, DeleteItems, ReplaceItem, UpdateItem };
2 changes: 1 addition & 1 deletion dist/functions/updateItem/test.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Options from "../../interfaces/options";
import Options from "../../interfaces/Options";
import { TestItem } from "../utils/testItem";
declare const _default: ({ facade }: Options<TestItem>) => void;
export default _default;
10 changes: 5 additions & 5 deletions dist/functions/updateItem/test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/functions/utils/testItem.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Item from '../../interfaces/item';
import Item from '../../interfaces/Item';
export interface TestItem extends Item {
readonly booleanProperty: boolean;
readonly stringProperty: string;
Expand Down
4 changes: 2 additions & 2 deletions dist/functions/utils/testUsingFilter.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Facade from "../../facade";
import Filter from "../../interfaces/filter";
import Facade from "../../Facade";
import Filter from "../../interfaces/Filter";
import { TestItem } from "./testItem";
declare type FilterAssertion = (filter?: Filter<TestItem>) => Promise<void>;
interface Options {
Expand Down
2 changes: 1 addition & 1 deletion dist/interfaces/cursor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/interfaces/cursor.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/interfaces/cursorResult.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Cursor from "./cursor";
import Cursor from "./Cursor";
export default interface CursorResult {
readonly before: Cursor;
readonly after: Cursor;
Expand Down
2 changes: 1 addition & 1 deletion dist/interfaces/filter.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Item from './item';
import Item from './Item';
export interface ComparisonFilter<Value> {
readonly $eq?: Value;
readonly $gt?: Value;
Expand Down
2 changes: 1 addition & 1 deletion dist/interfaces/item.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/interfaces/item.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/interfaces/options.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Facade from '../facade';
import Item from './item';
import Facade from '../Facade';
import Item from './Item';
export default interface Options<I extends Item> {
readonly facade: Facade<I>;
}
2 changes: 1 addition & 1 deletion dist/interfaces/pagination.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Cursor from "./cursor";
import Cursor from "./Cursor";
export default interface Pagination {
readonly before?: Cursor;
readonly after?: Cursor;
Expand Down
4 changes: 2 additions & 2 deletions dist/interfaces/sort.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Item from './item';
import SortOrder from './sortOrder';
import Item from './Item';
import SortOrder from './SortOrder';
declare type Sort<I extends Item> = {
readonly [P in keyof I]?: SortOrder;
};
Expand Down
2 changes: 1 addition & 1 deletion dist/interfaces/sortOrder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/interfaces/sortOrder.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/utils/createCursorFromItem/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Item from "../../interfaces/item";
import Sort from "../../interfaces/sort";
import Item from "../../interfaces/Item";
import Sort from "../../interfaces/Sort";
declare const _default: <I extends Item>(item: I, sort: Sort<I>) => string | undefined;
export default _default;
4 changes: 2 additions & 2 deletions dist/utils/createCursorFromItem/index.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/functions/UpdateItem/test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ItemNotFoundError from "../../errors/itemNotFoundError";
import Options from "../../interfaces/options";
import ItemNotFoundError from "../../errors/ItemNotFoundError";
import Options from "../../interfaces/Options";
import testItem, { testId, TestItem } from "../utils/testItem";
import testUsingFilter, {
firstItem,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/createCursorFromItem/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import testItem, { TestItem } from "../../functions/utils/testItem";
import { asc } from "../../interfaces/sortOrder";
import { asc } from "../../interfaces/SortOrder";
import createCursorFromEntity from "./index";

describe("@createCursorFromEntity", () => {
Expand Down
6 changes: 3 additions & 3 deletions src/utils/createCursorFromItem/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import btoa from "btoa";
import Cursor from "../../interfaces/cursor";
import Item from "../../interfaces/item";
import Sort from "../../interfaces/sort";
import Cursor from "../../interfaces/Cursor";
import Item from "../../interfaces/Item";
import Sort from "../../interfaces/Sort";

export default <I extends Item>(item: I, sort: Sort<I>): Cursor => {
const sortKeys = Object.keys(sort);
Expand Down

0 comments on commit 1863e3d

Please sign in to comment.