diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-07-21 15:41:56 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-07-21 15:41:56 -0700 |
| commit | 452c41a75aa2f9036614d677fda3867221db959e (patch) | |
| tree | 98f2ee2ccd0858a120c5cd618641615f0fc5e026 /index.ts | |
| download | mon.hatecomputers.club-452c41a75aa2f9036614d677fda3867221db959e.tar.gz mon.hatecomputers.club-452c41a75aa2f9036614d677fda3867221db959e.zip | |
add a simple email job
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..4c181c3 --- /dev/null +++ b/index.ts @@ -0,0 +1,12 @@ +import * as S from "fp-ts/String"; +import * as M from "fp-ts/Map"; +import { getMonoid } from "fp-ts/lib/Array"; + +enum DurationUnit { + MILLISECOND = "ms", + SECOND = "sec", + MINUTE = "min", + HOUR = "hr", +} + +const unitMap = M.fromFoldable(S.Ord, getMonoid<String>()); |
