forked from apollographql/apollo-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
typings.d.ts
129 lines (102 loc) · 2.51 KB
/
typings.d.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/// <reference types="typed-graphql" />
// This should (and generally does) get picked up automatically as it's installed
// at @types/es6-shim, but it doesn't work in typedoc (or Atom it seems),
// so we include it here manually
/// <reference types="es6-shim" />
/*
LODASH
*/
declare module 'lodash.isobject' {
import main = require('lodash');
export = main.isObject;
}
declare module 'lodash.isequal' {
import main = require('lodash');
export = main.isEqual;
}
declare module 'lodash.isnull' {
import main = require('lodash');
export = main.isNull;
}
declare module 'lodash.isstring' {
import main = require('lodash');
export = main.isString;
}
declare module 'lodash.has' {
import main = require('lodash');
export = main.has;
}
declare module 'lodash.assign' {
import main = require('lodash');
export = main.assign;
}
declare module 'lodash.merge' {
import main = require('lodash');
export = main.merge;
}
declare module 'lodash.includes' {
import main = require('lodash');
export = main.includes;
}
declare module 'lodash.isnumber' {
import main = require('lodash');
export = main.isNumber;
}
declare module 'lodash.isboolean' {
import main = require('lodash');
export = main.isBoolean;
}
declare module 'lodash.isundefined' {
import main = require('lodash');
export = main.isUndefined;
}
declare module 'lodash.forown' {
import main = require('lodash');
export = main.forOwn;
}
declare module 'lodash.omit' {
import main = require('lodash');
export = main.omit;
}
declare module 'lodash.mapvalues' {
import main = require('lodash');
export = main.mapValues;
}
declare module 'lodash.clonedeep' {
import main = require('lodash');
export = main.cloneDeep;
}
declare module 'lodash.countby' {
import main = require('lodash');
export = main.countBy;
}
declare module 'lodash.identity' {
import main = require('lodash');
export = main.identity;
}
declare module 'lodash.flatten' {
import main = require('lodash');
export = main.flatten;
}
declare module 'lodash.pick' {
import main = require('lodash');
export = main.pick;
}
/*
GRAPHQL
*/
declare module 'graphql-tag/parser' {
import { Source, ParseOptions, Document } from 'graphql';
// XXX figure out how to directly export this method
function parse(
source: Source | string,
options?: ParseOptions
): Document;
}
declare module 'graphql-tag/printer' {
function print(ast: any): string;
}
declare module 'deep-assign' {
function deepAssign(...objects: any[]): any;
export = deepAssign;
}