@@ -12,31 +12,44 @@ export const kitchenSinkService = nexus.service("KitchenSinkService", {
1212 /**
1313 * Counts the characters in the string
1414 */
15- scalarArgScalarResult : nexus . operation < KitchenSinkServiceScalarArgScalarResultInput , KitchenSinkServiceScalarArgScalarResultOutput > ( ) ,
15+ scalarArgScalarResult : nexus . operation <
16+ KitchenSinkServiceScalarArgScalarResultInput ,
17+ KitchenSinkServiceScalarArgScalarResultOutput
18+ > ( ) ,
1619
1720 /**
1821 * Counts the characters in a string
1922 */
20- complexArgComplexResultInline : nexus . operation < KitchenSinkServiceComplexArgComplexResultInlineInput , KitchenSinkServiceComplexArgComplexResultInlineOutput > ( ) ,
23+ complexArgComplexResultInline : nexus . operation <
24+ KitchenSinkServiceComplexArgComplexResultInlineInput ,
25+ KitchenSinkServiceComplexArgComplexResultInlineOutput
26+ > ( ) ,
2127
2228 scalarArgScalarResultExternal : nexus . operation < ScalarInput , ScalarOutput > ( ) ,
2329
24- complexArgComplexResultExternal : nexus . operation < ComplexInput , ComplexOutput > ( ) ,
30+ complexArgComplexResultExternal : nexus . operation <
31+ ComplexInput ,
32+ ComplexOutput
33+ > ( ) ,
2534
2635 /**
2736 * Tests required collections marshal correctly
2837 */
29- requiredCollections : nexus . operation < RequiredCollectionsInput , RequiredCollectionsOutput > ( ) ,
38+ requiredCollections : nexus . operation <
39+ RequiredCollectionsInput ,
40+ RequiredCollectionsOutput
41+ > ( ) ,
3042} ) ;
3143
3244export const strangeItem = nexus . service ( "Strange{Item}" , {
33- strangeItem : nexus . operation < StrangeItem , PurpleStrangeItem > ( { name : "Strange{Item}" } ) ,
45+ strangeItem : nexus . operation < StrangeItem , PurpleStrangeItem > ( {
46+ name : "Strange{Item}" ,
47+ } ) ,
3448
3549 strangeItem2 : nexus . operation < void , void > ( { name : "StrangeItem" } ) ,
3650} ) ;
3751
38- export const strangeItem2 = nexus . service ( "StrangeItem" , {
39- } ) ;
52+ export const strangeItem2 = nexus . service ( "StrangeItem" , { } ) ;
4053
4154export const reservedWordService = nexus . service ( "ReservedWordService" , {
4255 toStringOperation : nexus . operation < void , void > ( { name : "ToString" } ) ,
@@ -93,7 +106,7 @@ export interface KitchenSinkServiceComplexArgComplexResultInlineOutput {
93106}
94107
95108export interface ComplexInput {
96- selfRef ?: ComplexInput ;
109+ selfRef ?: ComplexInput ;
97110 someSharedObj ?: SharedObject ;
98111}
99112
@@ -102,14 +115,14 @@ export interface SharedObject {
102115}
103116
104117export interface ComplexOutput {
105- selfRef ?: ComplexOutput ;
118+ selfRef ?: ComplexOutput ;
106119 someSharedObj ?: SharedObject ;
107120}
108121
109122export interface RequiredCollectionsInput {
110- metadata : { [ key : string ] : string } ;
123+ metadata : { [ key : string ] : string } ;
111124 optionalList ?: number [ ] ;
112- tags : string [ ] ;
125+ tags : string [ ] ;
113126}
114127
115128export interface RequiredCollectionsOutput {
@@ -125,8 +138,8 @@ export interface PurpleStrangeItem {
125138}
126139
127140export interface DateInput {
128- date ?: Date ;
141+ date ?: Date ;
129142 dateTime ?: Date ;
130- time ?: string ;
143+ time ?: string ;
131144 [ property : string ] : any ;
132145}
0 commit comments