generated from hyper63/adapter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.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:crocks@0.12.4'
// @deno-types="npm:@types/ramda@^0.29.9"
export * as R from 'npm:ramda@0.29.1'
export { EJSON } from 'npm:bson@6.8.0'
export { type Collection, MongoClient } from 'npm:mongodb@6.8.0'
export { default as cuid } from 'npm:cuid@3.0.0'
export { MongoMemoryServer } from 'npm:mongodb-memory-server-core@10.0.0'
export { join } from 'https://deno.land/std@0.224.0/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)