@azure-tools/typespec-go 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/codegen.go/src/clientFactory.js.map +1 -1
  2. package/dist/codegen.go/src/example.js +75 -75
  3. package/dist/codegen.go/src/example.js.map +1 -1
  4. package/dist/codegen.go/src/fake/factory.d.ts.map +1 -1
  5. package/dist/codegen.go/src/fake/factory.js +29 -24
  6. package/dist/codegen.go/src/fake/factory.js.map +1 -1
  7. package/dist/codegen.go/src/fake/servers.js +232 -227
  8. package/dist/codegen.go/src/fake/servers.js.map +1 -1
  9. package/dist/codegen.go/src/helpers.d.ts +95 -15
  10. package/dist/codegen.go/src/helpers.d.ts.map +1 -1
  11. package/dist/codegen.go/src/helpers.js +347 -203
  12. package/dist/codegen.go/src/helpers.js.map +1 -1
  13. package/dist/codegen.go/src/imports.d.ts +1 -1
  14. package/dist/codegen.go/src/imports.d.ts.map +1 -1
  15. package/dist/codegen.go/src/imports.js +13 -12
  16. package/dist/codegen.go/src/imports.js.map +1 -1
  17. package/dist/codegen.go/src/interfaces.js +2 -2
  18. package/dist/codegen.go/src/interfaces.js.map +1 -1
  19. package/dist/codegen.go/src/models.d.ts.map +1 -1
  20. package/dist/codegen.go/src/models.js +81 -81
  21. package/dist/codegen.go/src/models.js.map +1 -1
  22. package/dist/codegen.go/src/operations.d.ts.map +1 -1
  23. package/dist/codegen.go/src/operations.js +295 -323
  24. package/dist/codegen.go/src/operations.js.map +1 -1
  25. package/dist/codegen.go/src/options.js +2 -2
  26. package/dist/codegen.go/src/options.js.map +1 -1
  27. package/dist/codegen.go/src/polymorphics.d.ts.map +1 -1
  28. package/dist/codegen.go/src/polymorphics.js +35 -31
  29. package/dist/codegen.go/src/polymorphics.js.map +1 -1
  30. package/dist/codegen.go/src/responses.js +19 -11
  31. package/dist/codegen.go/src/responses.js.map +1 -1
  32. package/dist/codegen.go/src/time.js +14 -15
  33. package/dist/codegen.go/src/time.js.map +1 -1
  34. package/dist/codegen.go/src/xmlAdditionalProps.js +1 -2
  35. package/dist/codegen.go/src/xmlAdditionalProps.js.map +1 -1
  36. package/dist/codemodel.go/src/client.d.ts +6 -4
  37. package/dist/codemodel.go/src/client.d.ts.map +1 -1
  38. package/dist/codemodel.go/src/client.js.map +1 -1
  39. package/dist/codemodel.go/src/examples.d.ts +25 -24
  40. package/dist/codemodel.go/src/examples.d.ts.map +1 -1
  41. package/dist/codemodel.go/src/examples.js +2 -2
  42. package/dist/codemodel.go/src/examples.js.map +1 -1
  43. package/dist/codemodel.go/src/package.d.ts +4 -4
  44. package/dist/codemodel.go/src/package.d.ts.map +1 -1
  45. package/dist/codemodel.go/src/package.js +3 -3
  46. package/dist/codemodel.go/src/package.js.map +1 -1
  47. package/dist/codemodel.go/src/param.d.ts +210 -89
  48. package/dist/codemodel.go/src/param.d.ts.map +1 -1
  49. package/dist/codemodel.go/src/param.js +105 -60
  50. package/dist/codemodel.go/src/param.js.map +1 -1
  51. package/dist/codemodel.go/src/result.d.ts +100 -33
  52. package/dist/codemodel.go/src/result.d.ts.map +1 -1
  53. package/dist/codemodel.go/src/result.js +44 -54
  54. package/dist/codemodel.go/src/result.js.map +1 -1
  55. package/dist/codemodel.go/src/type.d.ts +219 -86
  56. package/dist/codemodel.go/src/type.d.ts.map +1 -1
  57. package/dist/codemodel.go/src/type.js +137 -127
  58. package/dist/codemodel.go/src/type.js.map +1 -1
  59. package/dist/typespec-go/src/emitter.d.ts.map +1 -1
  60. package/dist/typespec-go/src/emitter.js +80 -0
  61. package/dist/typespec-go/src/emitter.js.map +1 -1
  62. package/dist/typespec-go/src/lib.d.ts +1 -0
  63. package/dist/typespec-go/src/lib.d.ts.map +1 -1
  64. package/dist/typespec-go/src/lib.js +5 -0
  65. package/dist/typespec-go/src/lib.js.map +1 -1
  66. package/dist/typespec-go/src/tcgcadapter/adapter.js +5 -0
  67. package/dist/typespec-go/src/tcgcadapter/adapter.js.map +1 -1
  68. package/dist/typespec-go/src/tcgcadapter/clients.d.ts +3 -3
  69. package/dist/typespec-go/src/tcgcadapter/clients.d.ts.map +1 -1
  70. package/dist/typespec-go/src/tcgcadapter/clients.js +95 -80
  71. package/dist/typespec-go/src/tcgcadapter/clients.js.map +1 -1
  72. package/dist/typespec-go/src/tcgcadapter/types.d.ts +3 -3
  73. package/dist/typespec-go/src/tcgcadapter/types.d.ts.map +1 -1
  74. package/dist/typespec-go/src/tcgcadapter/types.js +47 -46
  75. package/dist/typespec-go/src/tcgcadapter/types.js.map +1 -1
  76. package/package.json +5 -5
@@ -3,51 +3,69 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  import * as type from './type.js';
6
- export function isBodyParameter(param) {
7
- return param.bodyFormat !== undefined;
8
- }
6
+ /** narrows style to a ClientSideDefault within the conditional block */
9
7
  export function isClientSideDefault(style) {
10
8
  return style.defaultValue !== undefined;
11
9
  }
12
- export function isPartialBodyParameter(param) {
13
- return param.serializedName !== undefined;
14
- }
10
+ /** narrows param to a FormBodyParameter within the conditional block */
15
11
  export function isFormBodyParameter(param) {
16
- return param.formDataName !== undefined;
17
- }
18
- export function isFormBodyCollectionParameter(param) {
19
- return param.formDataName !== undefined && param.collectionFormat !== undefined;
20
- }
21
- export function isMultipartFormBodyParameter(param) {
22
- return param.multipartForm !== undefined;
12
+ return param.kind === 'formBodyCollectionParam' || param.kind === 'formBodyScalarParam';
23
13
  }
14
+ /** narrows param to a HeaderParameter within the conditional block */
24
15
  export function isHeaderParameter(param) {
25
- return param.headerName !== undefined;
26
- }
27
- export function isHeaderCollectionParameter(param) {
28
- return param.headerName !== undefined && param.collectionFormat !== undefined;
29
- }
30
- export function isHeaderMapParameter(param) {
31
- return param.headerName !== undefined && param.collectionPrefix !== undefined;
32
- }
16
+ return param.kind === 'headerCollectionParam' || param.kind === 'headerMapParam' || param.kind === 'headerScalarParam';
17
+ }
18
+ /** narrows type to a HeaderScalarType within the conditional block */
19
+ export function isHeaderScalarType(type) {
20
+ switch (type.kind) {
21
+ case 'constant':
22
+ case 'encodedBytes':
23
+ case 'literal':
24
+ case 'scalar':
25
+ case 'string':
26
+ case 'time':
27
+ return true;
28
+ default:
29
+ return false;
30
+ }
31
+ }
32
+ /** narrows param to a PathParameter within the conditional block */
33
33
  export function isPathParameter(param) {
34
- return param.pathSegment !== undefined;
35
- }
36
- export function isPathCollectionParameter(param) {
37
- return param.pathSegment !== undefined && param.collectionFormat !== undefined;
38
- }
34
+ return param.kind === 'pathCollectionParam' || param.kind === 'pathScalarParam';
35
+ }
36
+ /** narrows type to a PathScalarParameterType within the conditional block */
37
+ export function isPathScalarParameterType(type) {
38
+ switch (type.kind) {
39
+ case 'constant':
40
+ case 'encodedBytes':
41
+ case 'literal':
42
+ case 'scalar':
43
+ case 'string':
44
+ case 'time':
45
+ return true;
46
+ default:
47
+ return false;
48
+ }
49
+ }
50
+ /** narrows param to a QueryParameter within the conditional block */
39
51
  export function isQueryParameter(param) {
40
- return param.queryParameter !== undefined;
41
- }
42
- export function isQueryCollectionParameter(param) {
43
- return param.queryParameter !== undefined && param.collectionFormat !== undefined;
44
- }
45
- export function isURIParameter(param) {
46
- return param.uriPathSegment !== undefined;
47
- }
48
- export function isResumeTokenParameter(param) {
49
- return param.isResumeToken !== undefined;
50
- }
52
+ return param.kind === 'queryCollectionParam' || param.kind === 'queryScalarParam';
53
+ }
54
+ /** narrows type to a QueryScalarParameterType within the conditional block */
55
+ export function isQueryScalarParameterType(type) {
56
+ switch (type.kind) {
57
+ case 'constant':
58
+ case 'encodedBytes':
59
+ case 'literal':
60
+ case 'scalar':
61
+ case 'string':
62
+ case 'time':
63
+ return true;
64
+ default:
65
+ return false;
66
+ }
67
+ }
68
+ /** returns true if the param is required */
51
69
  export function isRequiredParameter(param) {
52
70
  // parameters with a client-side default value are always optional
53
71
  if (isClientSideDefault(param.style)) {
@@ -55,16 +73,25 @@ export function isRequiredParameter(param) {
55
73
  }
56
74
  return param.style === 'required';
57
75
  }
76
+ /** narrows type to a URIParameterType within the conditional block */
77
+ export function isURIParameterType(type) {
78
+ switch (type.kind) {
79
+ case 'constant':
80
+ case 'scalar':
81
+ case 'string':
82
+ return true;
83
+ default:
84
+ return false;
85
+ }
86
+ }
87
+ /** returns true if the param is a literal */
58
88
  export function isLiteralParameter(param) {
59
89
  if (isClientSideDefault(param.style)) {
60
90
  return false;
61
91
  }
62
92
  return param.style === 'literal';
63
93
  }
64
- ///////////////////////////////////////////////////////////////////////////////////////////////////
65
- // base types
66
- ///////////////////////////////////////////////////////////////////////////////////////////////////
67
- export class Parameter {
94
+ class ParameterBase {
68
95
  constructor(name, type, style, byValue, location) {
69
96
  this.name = name;
70
97
  this.type = type;
@@ -76,9 +103,10 @@ export class Parameter {
76
103
  }
77
104
  ///////////////////////////////////////////////////////////////////////////////////////////////////
78
105
  ///////////////////////////////////////////////////////////////////////////////////////////////////
79
- export class BodyParameter extends Parameter {
106
+ export class BodyParameter extends ParameterBase {
80
107
  constructor(name, bodyFormat, contentType, type, style, byValue) {
81
108
  super(name, type, style, byValue, 'method');
109
+ this.kind = 'bodyParam';
82
110
  this.bodyFormat = bodyFormat;
83
111
  this.contentType = contentType;
84
112
  }
@@ -88,47 +116,58 @@ export class ClientSideDefault {
88
116
  this.defaultValue = defaultValue;
89
117
  }
90
118
  }
91
- export class FormBodyCollectionParameter extends Parameter {
119
+ export class FormBodyCollectionParameter extends ParameterBase {
92
120
  constructor(name, formDataName, type, collectionFormat, style, byValue) {
93
121
  super(name, type, style, byValue, 'method');
122
+ this.kind = 'formBodyCollectionParam';
94
123
  this.formDataName = formDataName;
95
124
  this.collectionFormat = collectionFormat;
96
125
  }
97
126
  }
98
- export class FormBodyParameter extends Parameter {
127
+ export class FormBodyScalarParameter extends ParameterBase {
99
128
  constructor(name, formDataName, type, style, byValue) {
100
129
  super(name, type, style, byValue, 'method');
130
+ this.kind = 'formBodyScalarParam';
101
131
  this.formDataName = formDataName;
102
132
  }
103
133
  }
104
- export class HeaderCollectionParameter extends Parameter {
134
+ export class HeaderCollectionParameter extends ParameterBase {
105
135
  constructor(name, headerName, type, collectionFormat, style, byValue, location) {
106
136
  super(name, type, style, byValue, location);
137
+ this.kind = 'headerCollectionParam';
107
138
  this.headerName = headerName;
108
139
  this.collectionFormat = collectionFormat;
109
140
  }
110
141
  }
111
- export class HeaderMapParameter extends Parameter {
112
- constructor(name, headerName, type, collectionPrefix, style, byValue, location) {
142
+ export class HeaderMapParameter extends ParameterBase {
143
+ constructor(name, headerName, type, style, byValue, location) {
113
144
  super(name, type, style, byValue, location);
145
+ this.kind = 'headerMapParam';
114
146
  this.headerName = headerName;
115
- this.collectionPrefix = collectionPrefix;
116
147
  }
117
148
  }
118
- export class HeaderParameter extends Parameter {
149
+ export class HeaderScalarParameter extends ParameterBase {
119
150
  constructor(name, headerName, type, style, byValue, location) {
120
151
  super(name, type, style, byValue, location);
152
+ this.kind = 'headerScalarParam';
121
153
  this.headerName = headerName;
122
154
  }
123
155
  }
124
- export class MultipartFormBodyParameter extends Parameter {
156
+ export class MultipartFormBodyParameter extends ParameterBase {
125
157
  constructor(name, type, style, byValue) {
126
158
  super(name, type, style, byValue, 'method');
127
- this.multipartForm = true;
159
+ this.kind = 'multipartFormBodyParam';
160
+ }
161
+ }
162
+ export class Parameter extends ParameterBase {
163
+ constructor(name, type, style, byValue, location) {
164
+ super(name, type, style, byValue, location);
165
+ this.kind = 'parameter';
128
166
  }
129
167
  }
130
168
  export class ParameterGroup {
131
169
  constructor(name, groupName, required, location) {
170
+ this.kind = 'paramGroup';
132
171
  this.groupName = groupName;
133
172
  this.location = location;
134
173
  this.name = name;
@@ -138,53 +177,59 @@ export class ParameterGroup {
138
177
  this.docs = {};
139
178
  }
140
179
  }
141
- export class PartialBodyParameter extends Parameter {
180
+ export class PartialBodyParameter extends ParameterBase {
142
181
  constructor(name, serializedName, format, type, style, byValue) {
143
182
  super(name, type, style, byValue, 'method');
183
+ this.kind = 'partialBodyParam';
144
184
  this.format = format;
145
185
  this.serializedName = serializedName;
146
186
  }
147
187
  }
148
- export class PathCollectionParameter extends Parameter {
188
+ export class PathCollectionParameter extends ParameterBase {
149
189
  constructor(name, pathSegment, isEncoded, type, collectionFormat, style, byValue, location) {
150
190
  super(name, type, style, byValue, location);
191
+ this.kind = 'pathCollectionParam';
151
192
  this.pathSegment = pathSegment;
152
193
  this.isEncoded = isEncoded;
153
194
  this.collectionFormat = collectionFormat;
154
195
  }
155
196
  }
156
- export class PathParameter extends Parameter {
197
+ export class PathScalarParameter extends ParameterBase {
157
198
  constructor(name, pathSegment, isEncoded, type, style, byValue, location) {
158
199
  super(name, type, style, byValue, location);
200
+ this.kind = 'pathScalarParam';
159
201
  this.pathSegment = pathSegment;
160
202
  this.isEncoded = isEncoded;
161
203
  }
162
204
  }
163
- export class QueryCollectionParameter extends Parameter {
205
+ export class QueryCollectionParameter extends ParameterBase {
164
206
  constructor(name, queryParam, isEncoded, type, collectionFormat, style, byValue, location) {
165
207
  super(name, type, style, byValue, location);
208
+ this.kind = 'queryCollectionParam';
166
209
  this.queryParameter = queryParam;
167
210
  this.isEncoded = isEncoded;
168
211
  this.collectionFormat = collectionFormat;
169
212
  }
170
213
  }
171
- export class QueryParameter extends Parameter {
214
+ export class QueryScalarParameter extends ParameterBase {
172
215
  constructor(name, queryParam, isEncoded, type, style, byValue, location) {
173
216
  super(name, type, style, byValue, location);
217
+ this.kind = 'queryScalarParam';
174
218
  this.queryParameter = queryParam;
175
219
  this.isEncoded = isEncoded;
176
220
  }
177
221
  }
178
- export class ResumeTokenParameter extends Parameter {
222
+ export class ResumeTokenParameter extends ParameterBase {
179
223
  constructor() {
180
- super('ResumeToken', new type.PrimitiveType('string'), 'optional', true, 'method');
181
- this.isResumeToken = true;
224
+ super('ResumeToken', new type.String(), 'optional', true, 'method');
225
+ this.kind = 'resumeTokenParam';
182
226
  this.docs.summary = 'Resumes the long-running operation from the provided token.';
183
227
  }
184
228
  }
185
- export class URIParameter extends Parameter {
229
+ export class URIParameter extends ParameterBase {
186
230
  constructor(name, uriPathSegment, type, style, byValue, location) {
187
231
  super(name, type, style, byValue, location);
232
+ this.kind = 'uriParam';
188
233
  this.uriPathSegment = uriPathSegment;
189
234
  }
190
235
  }
@@ -1 +1 @@
1
- {"version":3,"file":"param.js","sourceRoot":"","sources":["../../../../codemodel.go/src/param.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AA+KlC,MAAM,UAAU,eAAe,CAAC,KAAgB;IAC9C,OAAuB,KAAM,CAAC,UAAU,KAAK,SAAS,CAAC;AACzD,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAAqB;IACvD,OAA2B,KAAM,CAAC,YAAY,KAAK,SAAS,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,KAAgB;IACrD,OAA8B,KAAM,CAAC,cAAc,KAAK,SAAS,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAAgB;IAClD,OAA2B,KAAM,CAAC,YAAY,KAAK,SAAS,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,KAAgB;IAC5D,OAAqC,KAAM,CAAC,YAAY,KAAK,SAAS,IAAkC,KAAM,CAAC,gBAAgB,KAAK,SAAS,CAAC;AAChJ,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,KAAgB;IAC3D,OAAoC,KAAM,CAAC,aAAa,KAAK,SAAS,CAAC;AACzE,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,KAAgB;IAChD,OAAyB,KAAM,CAAC,UAAU,KAAK,SAAS,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,KAAgB;IAC1D,OAAmC,KAAM,CAAC,UAAU,KAAK,SAAS,IAAgC,KAAM,CAAC,gBAAgB,KAAK,SAAS,CAAC;AAC1I,CAAC;AAED,MAAM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EAAE,OAAgB,EAAE,QAA2B;QAC5I,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;QACvB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;CACF"}
@@ -1,101 +1,168 @@
1
1
  import * as client from './client.js';
2
2
  import * as param from './param.js';
3
3
  import * as type from './type.js';
4
- export type ResultType = AnyResult | BinaryResult | HeadAsBooleanResult | MonomorphicResult | PolymorphicResult | ModelResult;
4
+ /** defines the possible method result types within a response envelope */
5
+ export type Result = AnyResult | BinaryResult | HeadAsBooleanResult | ModelResult | MonomorphicResult | PolymorphicResult;
6
+ /** for endpoints that return a different schema based on the HTTP status code */
5
7
  export interface AnyResult {
8
+ kind: 'anyResult';
9
+ /** the name of the field within the response envelope */
6
10
  fieldName: string;
11
+ /** any docs for the result */
7
12
  docs: type.Docs;
8
- httpStatusCodeType: Record<number, type.PossibleType>;
13
+ /**
14
+ * maps an HTTP status code to a result type.
15
+ * status codes that don't return a schema will be absent.
16
+ */
17
+ httpStatusCodeType: Record<number, type.WireType>;
18
+ /** the format in which the result is returned */
9
19
  format: ResultFormat;
10
- byValue: true;
11
20
  }
12
- export type BinaryResultFormat = 'binary';
21
+ /** for endpoints that return a streaming response (i.e. the http.Response.Body) */
13
22
  export interface BinaryResult {
23
+ kind: 'binaryResult';
24
+ /** the name of the field within the response envelope */
14
25
  fieldName: string;
26
+ /** any docs for the result */
15
27
  docs: type.Docs;
16
- binaryFormat: BinaryResultFormat;
17
- byValue: true;
18
28
  }
29
+ /** used for responses to HTTP HEAD requests that treat the HTTP status code as success/failure */
19
30
  export interface HeadAsBooleanResult {
31
+ kind: 'headAsBooleanResult';
32
+ /** the name of the field within the response envelope */
20
33
  fieldName: string;
34
+ /** any docs for the result */
21
35
  docs: type.Docs;
22
- headAsBoolean: true;
23
- byValue: true;
24
36
  }
37
+ /**
38
+ * a collection of header responses.
39
+ * NOTE: this is a specialized type to support storage.
40
+ */
25
41
  export interface HeaderMapResponse {
42
+ kind: 'headerMapResponse';
43
+ /** the name of the field within the response envelope */
26
44
  fieldName: string;
45
+ /** any docs for the header */
27
46
  docs: type.Docs;
28
- type: type.MapType;
29
- byValue: boolean;
47
+ /** the type of the response header */
48
+ type: type.Map;
49
+ /** the header prefix for each header name in type */
30
50
  headerName: string;
31
- collectionPrefix: string;
32
51
  }
33
- export interface HeaderResponse {
52
+ /** a typed header returned in a HTTP response */
53
+ export interface HeaderScalarResponse {
54
+ kind: 'headerScalarResponse';
55
+ /** the name of the field within the response envelope */
34
56
  fieldName: string;
57
+ /** any docs for the header */
35
58
  docs: type.Docs;
36
- type: param.HeaderType;
59
+ /** the type of the response header */
60
+ type: param.HeaderScalarType;
61
+ /** indicates if the header is returned by value or by pointer */
37
62
  byValue: boolean;
63
+ /** the name of the header sent over the wire */
38
64
  headerName: string;
39
65
  }
66
+ /**
67
+ * used for methods that return a typed payload.
68
+ * the type is anonymously embedded in the response envelope.
69
+ */
40
70
  export interface ModelResult {
71
+ kind: 'modelResult';
72
+ /** any docs for the result type */
41
73
  docs: type.Docs;
42
- modelType: type.ModelType;
74
+ /** the type returned in the response envelope */
75
+ modelType: type.Model;
76
+ /** the format in which the result is returned */
43
77
  format: ModelResultFormat;
44
78
  }
79
+ /** the wire format for model response bodies */
45
80
  export type ModelResultFormat = 'JSON' | 'XML';
81
+ /**
82
+ * includes scalar results (ints, bools) or maps/slices of scalars/InterfaceTypes/ModelTypes.
83
+ * maps/slices can be recursive and/or combinatorial (e.g. map[string][]*sometype)
84
+ */
46
85
  export interface MonomorphicResult {
86
+ kind: 'monomorphicResult';
87
+ /** the name of the field within the response envelope */
47
88
  fieldName: string;
89
+ /** any docs for the result type */
48
90
  docs: type.Docs;
91
+ /** the type returned in the response envelope */
49
92
  monomorphicType: MonomorphicResultType;
93
+ /** the format in which the result is returned */
50
94
  format: ResultFormat;
95
+ /** indicates if the response type is returned by value or by pointer */
51
96
  byValue: boolean;
97
+ /** optional XML schema metadata */
52
98
  xml?: type.XMLInfo;
53
99
  }
54
- export type MonomorphicResultType = type.BytesType | type.ConstantType | type.MapType | type.PrimitiveType | type.SliceType | type.TimeType;
100
+ /** the possible monomorphic result types */
101
+ export type MonomorphicResultType = type.Any | type.Constant | type.EncodedBytes | type.Map | type.RawJSON | type.Scalar | type.Slice | type.String | type.Time;
102
+ /**
103
+ * used for methods that return a discriminated type.
104
+ * the type is anonymously embedded in the response envelope.
105
+ */
55
106
  export interface PolymorphicResult {
107
+ kind: 'polymorphicResult';
108
+ /** any docs for the result type */
56
109
  docs: type.Docs;
57
- interfaceType: type.InterfaceType;
110
+ /** the interface type used for the discriminated union of possible types */
111
+ interface: type.Interface;
112
+ /**
113
+ * the format in which the result is returned.
114
+ * only JSON is supported for polymorphic types.
115
+ */
58
116
  format: 'JSON';
59
117
  }
118
+ /**
119
+ * the type returned from a client method.
120
+ * this combines response headers with any response body.
121
+ */
60
122
  export interface ResponseEnvelope {
123
+ /** the name of the type */
61
124
  name: string;
125
+ /** any docs for the type */
62
126
  docs: type.Docs;
63
- result?: ResultType;
64
- headers: Array<HeaderResponse | HeaderMapResponse>;
127
+ /**
128
+ * contains the body result type.
129
+ * for operations that return no body (e.g. a 204) this will be undefined.
130
+ */
131
+ result?: Result;
132
+ /** any modeled response headers. can be empty */
133
+ headers: Array<HeaderScalarResponse | HeaderMapResponse>;
134
+ /** the method that returns this type */
65
135
  method: client.MethodType;
66
136
  }
137
+ /** indicates the wire format for response bodies */
67
138
  export type ResultFormat = 'JSON' | 'XML' | 'Text';
68
- export declare function isAnyResult(resultType: ResultType): resultType is AnyResult;
69
- export declare function isBinaryResult(resultType: ResultType): resultType is BinaryResult;
70
- export declare function isHeadAsBooleanResult(resultType: ResultType): resultType is HeadAsBooleanResult;
71
- export declare function isHeaderMapResponse(resp: HeaderResponse | HeaderMapResponse): resp is HeaderMapResponse;
72
- export declare function isMonomorphicResult(resultType: ResultType): resultType is MonomorphicResult;
73
- export declare function isPolymorphicResult(resultType: ResultType): resultType is PolymorphicResult;
74
- export declare function isModelResult(resultType: ResultType): resultType is ModelResult;
75
- export declare function getResultPossibleType(resultType: ResultType): type.PossibleType;
139
+ /** returns the underlying type used for the specified result type */
140
+ export declare function getResultType(result: Result): type.Interface | type.Model | MonomorphicResultType | type.Scalar | type.QualifiedType;
141
+ /** narrows type to a MonomorphicResultType within the conditional block */
142
+ export declare function isMonomorphicResultType(type: type.WireType): type is MonomorphicResultType;
76
143
  export declare class AnyResult implements AnyResult {
77
- constructor(fieldName: string, format: ResultFormat, resultTypes: Record<number, type.PossibleType>);
144
+ constructor(fieldName: string, format: ResultFormat, resultTypes: Record<number, type.WireType>);
78
145
  }
79
146
  export declare class BinaryResult implements BinaryResult {
80
- constructor(fieldName: string, format: BinaryResultFormat);
147
+ constructor(fieldName: string);
81
148
  }
82
149
  export declare class HeadAsBooleanResult implements HeadAsBooleanResult {
83
150
  constructor(fieldName: string);
84
151
  }
85
152
  export declare class HeaderMapResponse implements HeaderMapResponse {
86
- constructor(fieldName: string, type: type.MapType, collectionPrefix: string, headerName: string, byValue: boolean);
153
+ constructor(fieldName: string, type: type.Map, headerName: string);
87
154
  }
88
- export declare class HeaderResponse implements HeaderResponse {
89
- constructor(fieldName: string, type: param.HeaderType, headerName: string, byValue: boolean);
155
+ export declare class HeaderScalarResponse implements HeaderScalarResponse {
156
+ constructor(fieldName: string, type: param.HeaderScalarType, headerName: string, byValue: boolean);
90
157
  }
91
158
  export declare class ModelResult implements ModelResult {
92
- constructor(type: type.ModelType, format: ModelResultFormat);
159
+ constructor(type: type.Model, format: ModelResultFormat);
93
160
  }
94
161
  export declare class MonomorphicResult implements MonomorphicResult {
95
162
  constructor(fieldName: string, format: ResultFormat, type: MonomorphicResultType, byValue: boolean);
96
163
  }
97
164
  export declare class PolymorphicResult implements PolymorphicResult {
98
- constructor(type: type.InterfaceType);
165
+ constructor(type: type.Interface);
99
166
  }
100
167
  export declare class ResponseEnvelope implements ResponseEnvelope {
101
168
  constructor(name: string, docs: type.Docs, forMethod: client.MethodType);
@@ -1 +1 @@
1
- {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../../codemodel.go/src/result.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,YAAY,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,WAAW,CAAC;AAG9H,MAAM,WAAW,SAAS;IAExB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAIhB,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IAGtD,MAAM,EAAE,YAAY,CAAC;IAErB,OAAO,EAAE,IAAI,CAAC;CACf;AAGD,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAG1C,MAAM,WAAW,YAAY;IAE3B,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAEhB,YAAY,EAAE,kBAAkB,CAAC;IAEjC,OAAO,EAAE,IAAI,CAAC;CACf;AAGD,MAAM,WAAW,mBAAmB;IAElC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAEhB,aAAa,EAAE,IAAI,CAAC;IAEpB,OAAO,EAAE,IAAI,CAAC;CACf;AAGD,MAAM,WAAW,iBAAiB;IAEhC,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAEhB,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC;IAEnB,OAAO,EAAE,OAAO,CAAC;IAGjB,UAAU,EAAE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