-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
1,821 additions
and
986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
// This file is generated automatically by `scripts/build/indices.js`. Please, don't change it. | ||
|
||
export {default as af} from './af/index.js' | ||
export {default as bn} from './bn/index.js' | ||
export {default as de} from './de/index.js' | ||
export {default as enCA} from './en-CA/index.js' | ||
export {default as enGB} from './en-GB/index.js' | ||
export {default as enUS} from './en-US/index.js' | ||
export {default as eo} from './eo/index.js' | ||
export {default as es} from './es/index.js' | ||
export {default as et} from './et/index.js' | ||
export {default as fr} from './fr/index.js' | ||
export {default as gl} from './gl/index.js' | ||
export {default as he} from './he/index.js' | ||
export {default as hu} from './hu/index.js' | ||
export {default as it} from './it/index.js' | ||
export {default as ja} from './ja/index.js' | ||
export {default as lt} from './lt/index.js' | ||
export {default as nb} from './nb/index.js' | ||
export {default as nl} from './nl/index.js' | ||
export {default as ptBR} from './pt-BR/index.js' | ||
export {default as ru} from './ru/index.js' | ||
export {default as sv} from './sv/index.js' | ||
export {default as uk} from './uk/index.js' | ||
export {default as vi} from './vi/index.js' | ||
export {default as zhCN} from './zh-CN/index.js' | ||
export { default as af } from './af/index.js' | ||
export { default as bn } from './bn/index.js' | ||
export { default as de } from './de/index.js' | ||
export { default as el } from './el/index.js' | ||
export { default as enCA } from './en-CA/index.js' | ||
export { default as enGB } from './en-GB/index.js' | ||
export { default as enUS } from './en-US/index.js' | ||
export { default as eo } from './eo/index.js' | ||
export { default as es } from './es/index.js' | ||
export { default as et } from './et/index.js' | ||
export { default as fr } from './fr/index.js' | ||
export { default as gl } from './gl/index.js' | ||
export { default as he } from './he/index.js' | ||
export { default as hu } from './hu/index.js' | ||
export { default as it } from './it/index.js' | ||
export { default as ja } from './ja/index.js' | ||
export { default as lt } from './lt/index.js' | ||
export { default as nb } from './nb/index.js' | ||
export { default as nl } from './nl/index.js' | ||
export { default as ptBR } from './pt-BR/index.js' | ||
export { default as ru } from './ru/index.js' | ||
export { default as sv } from './sv/index.js' | ||
export { default as uk } from './uk/index.js' | ||
export { default as vi } from './vi/index.js' | ||
export { default as zhCN } from './zh-CN/index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
import {fromUnixTime} from 'date-fns/fp' | ||
export = fromUnixTime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it. | ||
|
||
import fn from '../../fromUnixTime/index.js' | ||
import convertToFP from '../_lib/convertToFP/index.js' | ||
|
||
var fromUnixTime = convertToFP(fn, 1) | ||
|
||
export default fromUnixTime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// @flow | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
type Interval = { | ||
start: Date | string | number, | ||
end: Date | string | number | ||
} | ||
|
||
type Options = { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, | ||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, | ||
additionalDigits?: 0 | 1 | 2, | ||
locale?: Locale, | ||
includeSeconds?: boolean, | ||
addSuffix?: boolean, | ||
unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', | ||
roundingMethod?: 'floor' | 'ceil' | 'round', | ||
awareOfUnicodeTokens?: boolean | ||
} | ||
|
||
type Locale = { | ||
formatDistance: Function, | ||
formatRelative: Function, | ||
localize: { | ||
ordinalNumber: Function, | ||
era: Function, | ||
quarter: Function, | ||
month: Function, | ||
day: Function, | ||
dayPeriod: Function | ||
}, | ||
formatLong: Object, | ||
date: Function, | ||
time: Function, | ||
dateTime: Function, | ||
match: { | ||
ordinalNumber: Function, | ||
era: Function, | ||
quarter: Function, | ||
month: Function, | ||
day: Function, | ||
dayPeriod: Function | ||
}, | ||
options?: { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, | ||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | ||
} | ||
} | ||
|
||
type CurriedFn1<A, R> = <A>(a: A) => R | ||
|
||
declare module.exports: CurriedFn1<number, Date> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
import {fromUnixTimeWithOptions} from 'date-fns/fp' | ||
export = fromUnixTimeWithOptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it. | ||
|
||
import fn from '../../fromUnixTime/index.js' | ||
import convertToFP from '../_lib/convertToFP/index.js' | ||
|
||
var fromUnixTimeWithOptions = convertToFP(fn, 2) | ||
|
||
export default fromUnixTimeWithOptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// @flow | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
type Interval = { | ||
start: Date | string | number, | ||
end: Date | string | number | ||
} | ||
|
||
type Options = { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, | ||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, | ||
additionalDigits?: 0 | 1 | 2, | ||
locale?: Locale, | ||
includeSeconds?: boolean, | ||
addSuffix?: boolean, | ||
unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', | ||
roundingMethod?: 'floor' | 'ceil' | 'round', | ||
awareOfUnicodeTokens?: boolean | ||
} | ||
|
||
type Locale = { | ||
formatDistance: Function, | ||
formatRelative: Function, | ||
localize: { | ||
ordinalNumber: Function, | ||
era: Function, | ||
quarter: Function, | ||
month: Function, | ||
day: Function, | ||
dayPeriod: Function | ||
}, | ||
formatLong: Object, | ||
date: Function, | ||
time: Function, | ||
dateTime: Function, | ||
match: { | ||
ordinalNumber: Function, | ||
era: Function, | ||
quarter: Function, | ||
month: Function, | ||
day: Function, | ||
dayPeriod: Function | ||
}, | ||
options?: { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, | ||
firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | ||
} | ||
} | ||
|
||
type CurriedFn1<A, R> = <A>(a: A) => R | ||
|
||
type CurriedFn2<A, B, R> = <A>(a: A) => CurriedFn1<B, R> | ||
| <A, B>(a: A, b: B) => R | ||
|
||
declare module.exports: CurriedFn2<Options, number, Date> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.