Skip to content

Commit b12a589

Browse files
committed
Postfix #97
1 parent bc1d582 commit b12a589

File tree

5 files changed

+69
-71
lines changed

5 files changed

+69
-71
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"url": "https://github.com/stepci/garph"
77
},
8-
"version": "0.6.7",
8+
"version": "0.6.8",
99
"license": "MIT",
1010
"main": "dist/index.js",
1111
"scripts": {

src/index.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ export type InferUnionNames<T> = T extends AnyUnion ? ObjectToUnion<T['_inner']>
134134
export type InferResolvers<T extends AnyTypes, X extends InferResolverConfig> = {
135135
[K in keyof T]: K extends 'Subscription' ? {
136136
[G in keyof T[K]['_shape']]?: {
137-
subscribe: (parent: {}, args: InferArg<T[K]['_shape'][G]>, context: X['context'], info: GraphQLResolveInfo) => MaybePromise<AsyncIterator<{
138-
[key in G]: Infer<T[K]['_shape'][G], { omitResolver: AnyOmitResolver }>
139-
}>>
137+
subscribe: (parent: {}, args: InferArg<T[K]['_shape'][G]>, context: X['context'], info: GraphQLResolveInfo) => MaybePromise<AsyncIterator<{[S in G]: Infer<T[K]['_shape'][G], { omitResolver: AnyOmitResolver }>}>>
140138
resolve?: (value: Infer<T[K]['_shape'][G]>, args: InferArg<T[K]['_shape'][G]>, context: X['context'], info: GraphQLResolveInfo) => MaybePromise<Infer<T[K]['_shape'][G], { omitResolver: AnyOmitResolver }>>
141139
}
142140
} : {
@@ -158,7 +156,7 @@ export type InferResolvers<T extends AnyTypes, X extends InferResolverConfig> =
158156
export type InferResolversStrict<T extends AnyTypes, X extends InferResolverConfig> = {
159157
[K in keyof T]: K extends 'Subscription' ? {
160158
[G in keyof T[K]['_shape']]: {
161-
subscribe: (parent: {}, args: InferArg<T[K]['_shape'][G]>, context: X['context'], info: GraphQLResolveInfo) => MaybePromise<AsyncIterator<{ [G in keyof T[K]['_shape']]: Infer<T[K]['_shape'][G], { omitResolver: AnyOmitResolver }> }>>
159+
subscribe: (parent: {}, args: InferArg<T[K]['_shape'][G]>, context: X['context'], info: GraphQLResolveInfo) => MaybePromise<AsyncIterator<{[S in G]: Infer<T[K]['_shape'][G], { omitResolver: AnyOmitResolver }>}>>
162160
resolve?: (value: Infer<T[K]['_shape'][G]>, args: InferArg<T[K]['_shape'][G]>, context: X['context'], info: GraphQLResolveInfo) => MaybePromise<Infer<T[K]['_shape'][G], { omitResolver: AnyOmitResolver }>>
163161
}
164162
} : {

www/api/classes/GarphSchema.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#### Defined in
1919

20-
[index.ts:625](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L625)
20+
[index.ts:625](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L625)
2121

2222
## Properties
2323

@@ -27,7 +27,7 @@
2727

2828
#### Defined in
2929

30-
[index.ts:601](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L601)
30+
[index.ts:601](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L601)
3131

3232
___
3333

@@ -46,7 +46,7 @@ ___
4646

4747
#### Defined in
4848

49-
[index.ts:612](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L612)
49+
[index.ts:612](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L612)
5050

5151
___
5252

@@ -56,7 +56,7 @@ ___
5656

5757
#### Defined in
5858

59-
[index.ts:605](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L605)
59+
[index.ts:605](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L605)
6060

6161
___
6262

@@ -66,7 +66,7 @@ ___
6666

6767
#### Defined in
6868

69-
[index.ts:599](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L599)
69+
[index.ts:599](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L599)
7070

7171
## Methods
7272

@@ -80,7 +80,7 @@ ___
8080

8181
#### Defined in
8282

83-
[index.ts:710](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L710)
83+
[index.ts:710](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L710)
8484

8585
___
8686

@@ -108,7 +108,7 @@ ___
108108

109109
#### Defined in
110110

111-
[index.ts:641](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L641)
111+
[index.ts:641](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L641)
112112

113113
___
114114

@@ -136,7 +136,7 @@ ___
136136

137137
#### Defined in
138138

139-
[index.ts:651](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L651)
139+
[index.ts:651](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L651)
140140

141141
___
142142

@@ -164,7 +164,7 @@ ___
164164

165165
#### Defined in
166166

167-
[index.ts:670](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L670)
167+
[index.ts:670](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L670)
168168

169169
___
170170

@@ -178,7 +178,7 @@ ___
178178

179179
#### Defined in
180180

181-
[index.ts:706](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L706)
181+
[index.ts:706](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L706)
182182

183183
___
184184

@@ -192,7 +192,7 @@ ___
192192

193193
#### Defined in
194194

195-
[index.ts:698](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L698)
195+
[index.ts:698](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L698)
196196

197197
___
198198

@@ -220,7 +220,7 @@ ___
220220

221221
#### Defined in
222222

223-
[index.ts:664](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L664)
223+
[index.ts:664](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L664)
224224

225225
___
226226

@@ -234,7 +234,7 @@ ___
234234

235235
#### Defined in
236236

237-
[index.ts:702](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L702)
237+
[index.ts:702](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L702)
238238

239239
___
240240

@@ -262,7 +262,7 @@ ___
262262

263263
#### Defined in
264264

265-
[index.ts:688](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L688)
265+
[index.ts:688](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L688)
266266

267267
___
268268

@@ -290,7 +290,7 @@ ___
290290

291291
#### Defined in
292292

293-
[index.ts:635](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L635)
293+
[index.ts:635](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L635)
294294

295295
___
296296

@@ -316,7 +316,7 @@ ___
316316

317317
#### Defined in
318318

319-
[index.ts:716](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L716)
319+
[index.ts:716](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L716)
320320

321321
___
322322

@@ -336,7 +336,7 @@ ___
336336

337337
#### Defined in
338338

339-
[index.ts:619](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L619)
339+
[index.ts:619](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L619)
340340

341341
___
342342

@@ -364,7 +364,7 @@ ___
364364

365365
#### Defined in
366366

367-
[index.ts:682](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L682)
367+
[index.ts:682](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L682)
368368

369369
___
370370

@@ -378,7 +378,7 @@ ___
378378

379379
#### Defined in
380380

381-
[index.ts:694](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L694)
381+
[index.ts:694](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L694)
382382

383383
___
384384

@@ -406,7 +406,7 @@ ___
406406

407407
#### Defined in
408408

409-
[index.ts:629](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L629)
409+
[index.ts:629](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L629)
410410

411411
___
412412

@@ -434,4 +434,4 @@ ___
434434

435435
#### Defined in
436436

437-
[index.ts:676](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L676)
437+
[index.ts:676](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L676)

www/api/classes/Type.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#### Defined in
3232

33-
[index.ts:13](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L13)
33+
[index.ts:13](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L13)
3434

3535
___
3636

@@ -40,7 +40,7 @@ ___
4040

4141
#### Defined in
4242

43-
[index.ts:11](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L11)
43+
[index.ts:11](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L11)
4444

4545
___
4646

@@ -50,7 +50,7 @@ ___
5050

5151
#### Defined in
5252

53-
[index.ts:10](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L10)
53+
[index.ts:10](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L10)
5454

5555
___
5656

@@ -60,7 +60,7 @@ ___
6060

6161
#### Defined in
6262

63-
[index.ts:9](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L9)
63+
[index.ts:9](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L9)
6464

6565
___
6666

@@ -70,7 +70,7 @@ ___
7070

7171
#### Defined in
7272

73-
[index.ts:12](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L12)
73+
[index.ts:12](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L12)
7474

7575
___
7676

@@ -80,7 +80,7 @@ ___
8080

8181
#### Defined in
8282

83-
[index.ts:14](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L14)
83+
[index.ts:14](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L14)
8484

8585
___
8686

@@ -90,7 +90,7 @@ ___
9090

9191
#### Defined in
9292

93-
[index.ts:15](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L15)
93+
[index.ts:15](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L15)
9494

9595
## Methods
9696

@@ -110,7 +110,7 @@ ___
110110

111111
#### Defined in
112112

113-
[index.ts:22](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L22)
113+
[index.ts:22](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L22)
114114

115115
___
116116

@@ -130,4 +130,4 @@ ___
130130

131131
#### Defined in
132132

133-
[index.ts:17](https://github.com/stepci/garph/blob/ca1b8bd/src/index.ts#L17)
133+
[index.ts:17](https://github.com/stepci/garph/blob/bc1d582/src/index.ts#L17)

0 commit comments

Comments
 (0)