diff --git a/src/Console.ts b/src/Console.ts index b369fa1..c0cc331 100644 --- a/src/Console.ts +++ b/src/Console.ts @@ -1,7 +1,7 @@ /* eslint-disable no-console */ import { IO } from 'fp-ts/IO' import { ReadonlyRecord } from 'fp-ts/ReadonlyRecord' -import { Struct } from './Struct' +import { Struct } from './struct' const _noArgs = (method: 'groupEnd'): IO => diff --git a/src/Error.ts b/src/Error.ts index da42c4d..80dfdb5 100644 --- a/src/Error.ts +++ b/src/Error.ts @@ -2,7 +2,7 @@ import { option } from 'fp-ts' import { flow, pipe } from 'fp-ts/function' import * as t from 'io-ts' import { failure } from 'io-ts/PathReporter' -import * as $struct from './Struct' +import * as $struct from './struct' const is = (u: unknown): u is Error => t diff --git a/src/Http.ts b/src/Http.ts index 31edce7..89179f1 100644 --- a/src/Http.ts +++ b/src/Http.ts @@ -12,7 +12,7 @@ import { mock } from './http/Mock' import * as $log from './Log' import * as $random from './Random' import * as $string from './string' -import { Struct } from './Struct' +import { Struct } from './struct' import * as $type from './Type' const ERRORS = { diff --git a/src/Mock.ts b/src/Mock.ts index fe10578..3fc6733 100644 --- a/src/Mock.ts +++ b/src/Mock.ts @@ -35,8 +35,8 @@ import { ReadonlyRecord } from 'fp-ts/ReadonlyRecord' import * as t from 'io-ts' import { PartialDeep } from '.' import { curry, recurse, run } from './function' -import * as $struct from './Struct' -import { Struct } from './Struct' +import * as $struct from './struct' +import { Struct } from './struct' import * as $type from './Type' import * as $yield from './Yield' diff --git a/src/Reader.ts b/src/Reader.ts index b96e623..00d25fd 100644 --- a/src/Reader.ts +++ b/src/Reader.ts @@ -1,8 +1,8 @@ import { reader } from 'fp-ts' import { pipe } from 'fp-ts/function' import { Reader } from 'fp-ts/Reader' -import * as $struct from './Struct' -import { Struct } from './Struct' +import * as $struct from './struct' +import { Struct } from './struct' export const pick = () => diff --git a/src/ReaderEither.ts b/src/ReaderEither.ts index cdf1752..e3add96 100644 --- a/src/ReaderEither.ts +++ b/src/ReaderEither.ts @@ -3,7 +3,7 @@ import { Either } from 'fp-ts/Either' import { Lazy, pipe } from 'fp-ts/function' import { Option } from 'fp-ts/Option' import { ReaderEither } from 'fp-ts/ReaderEither' -import { Struct } from './Struct' +import { Struct } from './struct' export const pick = () => diff --git a/src/ReaderTask.ts b/src/ReaderTask.ts index 87142e8..81aa6df 100644 --- a/src/ReaderTask.ts +++ b/src/ReaderTask.ts @@ -3,8 +3,8 @@ import { pipe } from 'fp-ts/function' import { IO } from 'fp-ts/IO' import { ReaderTask } from 'fp-ts/ReaderTask' import { Task } from 'fp-ts/Task' -import * as $struct from './Struct' -import { Struct } from './Struct' +import * as $struct from './struct' +import { Struct } from './struct' export const pick = () => diff --git a/src/ReaderTaskEither.ts b/src/ReaderTaskEither.ts index 651462e..897c4c7 100644 --- a/src/ReaderTaskEither.ts +++ b/src/ReaderTaskEither.ts @@ -7,7 +7,7 @@ import { Option } from 'fp-ts/Option' import { ReaderTaskEither } from 'fp-ts/ReaderTaskEither' import { Task } from 'fp-ts/Task' import { TaskEither } from 'fp-ts/TaskEither' -import { Struct } from './Struct' +import { Struct } from './struct' export const pick = () => diff --git a/src/Type.ts b/src/Type.ts index f9f3251..8333390 100644 --- a/src/Type.ts +++ b/src/Type.ts @@ -3,7 +3,7 @@ import { flow, identity, pipe } from 'fp-ts/function' import { ReadonlyNonEmptyArray } from 'fp-ts/ReadonlyNonEmptyArray' import * as t from 'io-ts' import * as tt from 'io-ts-types' -import { Struct } from './Struct' +import { Struct } from './struct' export const numeric = new t.Type( 'Numeric', diff --git a/src/cache/Storage.ts b/src/cache/Storage.ts index 3fc7a75..178c3a0 100644 --- a/src/cache/Storage.ts +++ b/src/cache/Storage.ts @@ -5,7 +5,7 @@ import * as tt from 'io-ts-types' import { Cache } from '../Cache' import * as $error from '../Error' import { memoize } from '../function' -import * as $struct from '../Struct' +import * as $struct from '../struct' const CacheItemC = t.type({ exp: t.number, diff --git a/src/index.ts b/src/index.ts index 5880459..8108387 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ import * as $readonlyTuple from './ReadonlyTuple' import * as $storage from './Storage' import * as $stream from './Stream' import * as $string from './string' -import * as $struct from './Struct' +import * as $struct from './struct' import * as $taskEither from './TaskEither' import * as $type from './Type' import * as $validation from './Validation' diff --git a/src/storage/Flydrive.ts b/src/storage/Flydrive.ts index be01259..9a9bc59 100644 --- a/src/storage/Flydrive.ts +++ b/src/storage/Flydrive.ts @@ -4,7 +4,7 @@ import { constVoid, Lazy, pipe } from 'fp-ts/function' import * as $error from '../Error' import { memoize } from '../function' import { Storage } from '../Storage' -import * as $struct from '../Struct' +import * as $struct from '../struct' import * as $taskEither from '../TaskEither' export const $flydrive = (flydrive: Lazy): Storage => { diff --git a/src/_struct.test.ts b/src/struct.test.ts similarity index 98% rename from src/_struct.test.ts rename to src/struct.test.ts index 9bc4924..e762ad4 100644 --- a/src/_struct.test.ts +++ b/src/struct.test.ts @@ -1,7 +1,7 @@ import { Endomorphism } from 'fp-ts/Endomorphism' import { flow, increment, pipe } from 'fp-ts/function' import { Predicate } from 'fp-ts/Predicate' -import * as $struct from './Struct' +import * as $struct from './struct' describe('Struct', () => { describe('toReadonlyArray', () => { diff --git a/src/_struct.ts b/src/struct.ts similarity index 100% rename from src/_struct.ts rename to src/struct.ts