Skip to content

Commit

Permalink
Lowercase struct filename (2/2)
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhayon committed Apr 29, 2022
1 parent 0a532a1 commit 7e79407
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/Console.ts
Original file line number Diff line number Diff line change
@@ -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<void> =>
Expand Down
2 changes: 1 addition & 1 deletion src/Error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions src/Mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
4 changes: 2 additions & 2 deletions src/Reader.ts
Original file line number Diff line number Diff line change
@@ -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 =
<R extends Struct>() =>
Expand Down
2 changes: 1 addition & 1 deletion src/ReaderEither.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
<R extends Struct>() =>
Expand Down
4 changes: 2 additions & 2 deletions src/ReaderTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
<R extends Struct>() =>
Expand Down
2 changes: 1 addition & 1 deletion src/ReaderTaskEither.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
<R extends Struct>() =>
Expand Down
2 changes: 1 addition & 1 deletion src/Type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/cache/Storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/storage/Flydrive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<StorageManager>): Storage => {
Expand Down
2 changes: 1 addition & 1 deletion src/_struct.test.ts → src/struct.test.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down
File renamed without changes.

0 comments on commit 7e79407

Please sign in to comment.