generated from hyper63/adapter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deps.ts
27 lines (23 loc) · 915 Bytes
/
deps.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* Shim hand-rolled crocks types
*/
// @deno-types="./crocks.d.ts"
export { default as crocks } from 'npm:[email protected]'
// @deno-types="npm:@types/ramda@^0.29.9"
export * as R from 'npm:[email protected]'
export { EJSON } from 'npm:[email protected]'
export { type Collection, MongoClient } from 'npm:[email protected]'
export { default as cuid } from 'npm:[email protected]'
export { MongoMemoryServer } from 'npm:[email protected]'
export { join } from 'https://deno.land/[email protected]/path/mod.ts'
import {
HyperErr,
isHyperErr as isHyperErrBase,
} from 'https://raw.githubusercontent.com/hyper63/hyper/hyper-utils%40v0.1.2/packages/utils/hyper-err.js'
export { HyperErr }
/**
* The new ramda types in hyper-utils are overly assuming, so
* just wrap the isHyperErr from utils with a more unassuming signature
*/
// deno-lint-ignore no-explicit-any
export const isHyperErr = (v: any) => isHyperErrBase(v)