-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.ts
54 lines (52 loc) · 1.37 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Copyright 2022-latest the graphqland authors. All rights reserved. MIT license.
// This module is browser compatible.
export {
type DocumentNode,
executeSync,
type ExecutionArgs,
type ExecutionResult,
type FormattedExecutionResult,
getOperationAST,
GraphQLError,
type GraphQLFieldResolver,
type GraphQLFormattedError,
GraphQLSchema,
type GraphQLTypeResolver,
parse,
specifiedRules,
validate,
} from "https://esm.sh/v96/graphql@16.6.0";
export { type Maybe } from "https://esm.sh/v96/graphql@16.6.0/jsutils/Maybe.d.ts";
export {
createHttpError,
HttpError,
Status,
} from "https://deno.land/std@0.159.0/http/mod.ts";
export { accepts } from "https://deno.land/std@0.159.0/http/mod.ts";
export {
hasOwn,
isNull,
isObject,
isString,
isUndefined,
} from "https://deno.land/x/isx@1.0.0-beta.22/mod.ts";
export {
isErr,
Result,
unsafe,
} from "https://deno.land/x/result_js@1.0.0/mod.ts";
export {
type GraphQLRequestOptions,
type GraphQLRequestParams,
} from "https://deno.land/x/gql_request@1.0.0-beta.1/mod.ts";
export {
JSON,
type json,
} from "https://deno.land/x/pure_json@1.0.0-beta.1/mod.ts";
export { match } from "https://deno.land/x/pattern_match@1.0.0-beta.1/mod.ts";
export function isNativeObject(
// deno-lint-ignore ban-types
value: {},
): value is { [k: PropertyKey]: unknown } {
return value.constructor === Object;
}