@fern-api/csharp-dynamic-snippets 2.20.3 → 2.20.5
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.
- package/dist/index.cjs +163 -83
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -363
- package/dist/index.d.ts +17 -363
- package/dist/index.js +163 -83
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { AbstractDynamicSnippetsGeneratorContext, FernGeneratorExec, Options, AbstractDynamicSnippetsGenerator, AbstractAstNode } from '@fern-api/browser-compatible-base-generator';
|
|
2
2
|
import { FernIr } from '@fern-api/dynamic-ir-sdk';
|
|
3
|
-
import * as _fern_api_csharp_codegen_lib_ast from '@fern-api/csharp-codegen/lib/ast';
|
|
4
|
-
import * as _fern_api_csharp_codegen_lib_ast_types_Type from '@fern-api/csharp-codegen/lib/ast/types/Type';
|
|
5
|
-
import * as _fern_api_csharp_codegen_lib_context_model_navigator from '@fern-api/csharp-codegen/lib/context/model-navigator';
|
|
6
|
-
import * as _fern_api_csharp_codegen from '@fern-api/csharp-codegen';
|
|
7
3
|
import { WithGeneration, ast, Generation } from '@fern-api/csharp-codegen';
|
|
8
4
|
|
|
9
5
|
interface Config {
|
|
@@ -86,365 +82,23 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
|
|
|
86
82
|
dynamicLiteralMapper: DynamicLiteralMapper;
|
|
87
83
|
filePropertyMapper: FilePropertyMapper;
|
|
88
84
|
readonly generation: Generation;
|
|
89
|
-
get namespaces():
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
get
|
|
103
|
-
get
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
simplifyObjectDictionaries: boolean;
|
|
107
|
-
useFullyQualifiedNamespaces: boolean;
|
|
108
|
-
useDotnetFormat: boolean;
|
|
109
|
-
enableWebsockets: boolean;
|
|
110
|
-
enableReadonlyConstants: boolean;
|
|
111
|
-
enableExplicitNullableOptional: boolean;
|
|
112
|
-
useDefaultRequestParameterValues: boolean;
|
|
113
|
-
temporaryWebsocketEnvironments: Record<string, {
|
|
114
|
-
environments: Record<string, string>;
|
|
115
|
-
"default-environment"?: string | undefined;
|
|
116
|
-
}>;
|
|
117
|
-
baseApiExceptionClassName: string;
|
|
118
|
-
baseExceptionClassName: string;
|
|
119
|
-
shouldGeneratedDiscriminatedUnions: boolean;
|
|
120
|
-
shouldGenerateUndiscriminatedUnions: boolean;
|
|
121
|
-
exportedClientClassName: string;
|
|
122
|
-
clientClassName: string;
|
|
123
|
-
rootNamespaceForCoreClasses: boolean;
|
|
124
|
-
packageId: string;
|
|
125
|
-
isForwardCompatibleEnumsEnabled: boolean;
|
|
126
|
-
websocketEnvironments: Record<string, {
|
|
127
|
-
environments: Record<string, string>;
|
|
128
|
-
"default-environment"?: string | undefined;
|
|
129
|
-
}>;
|
|
130
|
-
customPagerName: string;
|
|
131
|
-
environmentClassName: string;
|
|
132
|
-
generateErrorTypes: boolean;
|
|
133
|
-
shouldInlinePathParameters: boolean;
|
|
134
|
-
includeExceptionHandler: boolean;
|
|
135
|
-
exceptionInterceptorClassName: string;
|
|
136
|
-
shouldGenerateMockServerTests: boolean;
|
|
137
|
-
rootClientAccess: "public" | "internal";
|
|
138
|
-
extraDependencies: Record<string, string>;
|
|
139
|
-
pascalCaseEnvironments: boolean;
|
|
140
|
-
explicitNamespaces: boolean;
|
|
141
|
-
outputPath: {
|
|
142
|
-
library: string;
|
|
143
|
-
test: string;
|
|
144
|
-
solution: string;
|
|
145
|
-
other: string;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
get constants(): {
|
|
149
|
-
folders: {
|
|
150
|
-
mockServerTests: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
151
|
-
types: string;
|
|
152
|
-
exceptions: string;
|
|
153
|
-
src: string;
|
|
154
|
-
protobuf: string;
|
|
155
|
-
serializationTests: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
156
|
-
project: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
157
|
-
sourceFiles: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
158
|
-
coreFiles: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
159
|
-
publicCoreFiles: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
160
|
-
testFiles: _fern_api_csharp_codegen.TRelativeFilePath;
|
|
161
|
-
};
|
|
162
|
-
formatting: {
|
|
163
|
-
indent: string;
|
|
164
|
-
};
|
|
165
|
-
defaults: {
|
|
166
|
-
core: string;
|
|
167
|
-
publicCore: string;
|
|
168
|
-
version: string;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
get names(): {
|
|
172
|
-
classes: {
|
|
173
|
-
baseApiException: string;
|
|
174
|
-
baseException: string;
|
|
175
|
-
rootClient: string;
|
|
176
|
-
rootClientForSnippets: string;
|
|
177
|
-
customPager: string;
|
|
178
|
-
environment: string;
|
|
179
|
-
exceptionInterceptor: string;
|
|
180
|
-
};
|
|
181
|
-
project: {
|
|
182
|
-
client: string;
|
|
183
|
-
clientPrefix: string;
|
|
184
|
-
packageId: string;
|
|
185
|
-
};
|
|
186
|
-
files: {
|
|
187
|
-
project: string;
|
|
188
|
-
testProject: string;
|
|
189
|
-
};
|
|
190
|
-
methods: {
|
|
191
|
-
mockOauth: string;
|
|
192
|
-
mockInferredAuth: string;
|
|
193
|
-
getAccessTokenAsync: string;
|
|
194
|
-
getAuthHeadersAsync: string;
|
|
195
|
-
};
|
|
196
|
-
variables: {
|
|
197
|
-
client: string;
|
|
198
|
-
response: string;
|
|
199
|
-
httpRequest: string;
|
|
200
|
-
sendRequest: string;
|
|
201
|
-
responseBody: string;
|
|
202
|
-
query: string;
|
|
203
|
-
headers: string;
|
|
204
|
-
};
|
|
205
|
-
parameters: {
|
|
206
|
-
cancellationToken: string;
|
|
207
|
-
requestOptions: string;
|
|
208
|
-
idempotentOptions: string;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
get model(): _fern_api_csharp_codegen_lib_context_model_navigator.ModelNavigator;
|
|
212
|
-
get format(): {
|
|
213
|
-
private: (name: string) => string;
|
|
214
|
-
};
|
|
215
|
-
get csharp(): _fern_api_csharp_codegen.CSharp;
|
|
216
|
-
get Types(): {
|
|
217
|
-
Arbitrary: (name: string) => _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.AribitraryType;
|
|
218
|
-
HttpMethodExtensions: ast.ClassReference;
|
|
219
|
-
FormRequest: ast.ClassReference;
|
|
220
|
-
Optional: ast.ClassReference;
|
|
221
|
-
ClientOptions: ast.ClassReference;
|
|
222
|
-
RawClient: ast.ClassReference;
|
|
223
|
-
RequestOptions: ast.ClassReference;
|
|
224
|
-
RequestOptionsInterface: ast.ClassReference;
|
|
225
|
-
JsonRequest: ast.ClassReference;
|
|
226
|
-
Version: ast.ClassReference;
|
|
227
|
-
ValueConvert: ast.ClassReference;
|
|
228
|
-
FileParameter: ast.ClassReference;
|
|
229
|
-
Headers: ast.ClassReference;
|
|
230
|
-
HeaderValue: ast.ClassReference;
|
|
231
|
-
RootClient: ast.ClassReference;
|
|
232
|
-
RootClientForSnippets: ast.ClassReference;
|
|
233
|
-
BaseApiException: ast.ClassReference;
|
|
234
|
-
BaseException: ast.ClassReference;
|
|
235
|
-
ExceptionInterceptor: ast.ClassReference;
|
|
236
|
-
ExceptionHandler: ast.ClassReference;
|
|
237
|
-
CustomExceptionInterceptor: ast.ClassReference;
|
|
238
|
-
ProtoAnyMapper: ast.ClassReference;
|
|
239
|
-
Constants: ast.ClassReference;
|
|
240
|
-
EnumSerializer: ast.ClassReference;
|
|
241
|
-
DateTimeSerializer: ast.ClassReference;
|
|
242
|
-
JsonUtils: ast.ClassReference;
|
|
243
|
-
JsonAssert: ast.ClassReference;
|
|
244
|
-
CustomPagerFactory: ast.ClassReference;
|
|
245
|
-
CustomPagerContext: ast.ClassReference;
|
|
246
|
-
Environments: ast.ClassReference;
|
|
247
|
-
TestClient: ast.ClassReference;
|
|
248
|
-
BaseMockServerTest: ast.ClassReference;
|
|
249
|
-
IdempotentRequestOptions: ast.ClassReference;
|
|
250
|
-
IdempotentRequestOptionsInterface: ast.ClassReference;
|
|
251
|
-
IStringEnum: ast.ClassReference;
|
|
252
|
-
WebSocketClient: ast.ClassReference;
|
|
253
|
-
QueryBuilder: ast.ClassReference;
|
|
254
|
-
QueryStringBuilder: ast.ClassReference;
|
|
255
|
-
QueryStringBuilderBuilder: ast.ClassReference;
|
|
256
|
-
OAuthTokenProvider: ast.ClassReference;
|
|
257
|
-
InferredAuthTokenProvider: ast.ClassReference;
|
|
258
|
-
ProtoConverter: ast.ClassReference;
|
|
259
|
-
RawGrpcClient: ast.ClassReference;
|
|
260
|
-
Extensions: ast.ClassReference;
|
|
261
|
-
GrpcRequestOptions: ast.ClassReference;
|
|
262
|
-
GrpcChannelOptions: ast.ClassReference;
|
|
263
|
-
StringEnum: (genericType?: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
264
|
-
WebSocketEvent: (genericType: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
265
|
-
ConnectionStatus: ast.ClassReference;
|
|
266
|
-
WebSocketConnected: ast.ClassReference;
|
|
267
|
-
WebSocketClosed: ast.ClassReference;
|
|
268
|
-
StringEnumSerializer: (enumClassReference: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
269
|
-
CustomPagerClass: (itemType: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
270
|
-
Pager: (itemType: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
271
|
-
OffsetPager: ({ requestType, requestOptionsType, responseType, offsetType, stepType, itemType }: {
|
|
272
|
-
requestType: ast.Type;
|
|
273
|
-
requestOptionsType: ast.Type;
|
|
274
|
-
responseType: ast.Type;
|
|
275
|
-
offsetType: ast.Type;
|
|
276
|
-
stepType: ast.Type;
|
|
277
|
-
itemType: ast.Type;
|
|
278
|
-
}) => ast.ClassReference;
|
|
279
|
-
CursorPager: ({ requestType, requestOptionsType, responseType, cursorType, itemType }: {
|
|
280
|
-
requestType: ast.Type;
|
|
281
|
-
requestOptionsType: ast.Type;
|
|
282
|
-
responseType: ast.Type;
|
|
283
|
-
cursorType: ast.Type;
|
|
284
|
-
itemType: ast.Type;
|
|
285
|
-
}) => ast.ClassReference;
|
|
286
|
-
CollectionItemSerializer: (itemType: ast.ClassReference, serializer: ast.ClassReference) => ast.ClassReference;
|
|
287
|
-
OneOfSerializer: (oneof: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
288
|
-
AdditionalProperties: (genericType?: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
289
|
-
ReadOnlyAdditionalProperties: (genericType?: ast.Type | ast.ClassReference) => ast.ClassReference;
|
|
290
|
-
};
|
|
291
|
-
get System(): {
|
|
292
|
-
Action: (typeParameters?: ast.Type[]) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
293
|
-
Func: (typeParameters?: ast.Type[], returnType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
294
|
-
DateOnly: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
295
|
-
DateTime: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
296
|
-
Enum: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
297
|
-
Exception: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
298
|
-
ReadOnlyMemory: (type: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
299
|
-
Serializable: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
300
|
-
String: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
301
|
-
Type: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
302
|
-
TimeSpan: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
303
|
-
Uri: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
304
|
-
UriBuilder: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
305
|
-
Runtime: {
|
|
306
|
-
Serialization: {
|
|
307
|
-
EnumMember: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
Collections: {
|
|
311
|
-
Generic: {
|
|
312
|
-
IAsyncEnumerable: (elementType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
313
|
-
IEnumerable: (elementType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
314
|
-
KeyValuePair: (keyType?: ast.Type, valueType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
315
|
-
List: (elementType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
316
|
-
HashSet: (elementType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
317
|
-
Dictionary: (keyType?: ast.Type, valueType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
318
|
-
IDictionary: (keyType: ast.Type, valueType: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
319
|
-
};
|
|
320
|
-
Linq: {
|
|
321
|
-
Enumerable: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
322
|
-
};
|
|
323
|
-
};
|
|
324
|
-
Globalization: {
|
|
325
|
-
DateTimeStyles: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
326
|
-
};
|
|
327
|
-
Linq: {
|
|
328
|
-
Enumerable: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
329
|
-
};
|
|
330
|
-
Net: {
|
|
331
|
-
Http: {
|
|
332
|
-
HttpClient: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
333
|
-
HttpMethod: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
334
|
-
HttpResponseHeaders: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
335
|
-
};
|
|
336
|
-
ServerSentEvents: {
|
|
337
|
-
SseEvent: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
338
|
-
SseParser: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
339
|
-
};
|
|
340
|
-
WebSockets: {
|
|
341
|
-
ClientWebSocketOptions: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
IO: {
|
|
345
|
-
MemoryStream: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
346
|
-
Stream: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
347
|
-
StreamReader: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
348
|
-
};
|
|
349
|
-
Text: {
|
|
350
|
-
Encoding: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
351
|
-
Encoding_UTF8: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
352
|
-
Json: {
|
|
353
|
-
JsonElement: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
354
|
-
JsonDocument: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
355
|
-
JsonException: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
356
|
-
Utf8JsonReader: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
357
|
-
JsonSerializerOptions: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
358
|
-
JsonSerializer: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
359
|
-
Utf8JsonWriter: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
360
|
-
Nodes: {
|
|
361
|
-
JsonNode: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
362
|
-
JsonObject: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
363
|
-
};
|
|
364
|
-
Serialization: {
|
|
365
|
-
IJsonOnDeserialized: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
366
|
-
IJsonOnSerializing: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
367
|
-
JsonOnDeserializedAttribute: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
368
|
-
JsonExtensionData: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
369
|
-
JsonConverter: (typeToConvert?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
370
|
-
JsonIgnore: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
371
|
-
JsonPropertyName: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
Threading: {
|
|
376
|
-
CancellationToken: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
377
|
-
Tasks: {
|
|
378
|
-
Task: (ofType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
379
|
-
ValueTask: (ofType?: ast.Type) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
ComponentModel: {
|
|
383
|
-
INotifyPropertyChanged: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
384
|
-
PropertyChangedEventHandler: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
385
|
-
};
|
|
386
|
-
IAsyncDisposable: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
387
|
-
IDisposable: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
388
|
-
};
|
|
389
|
-
get NUnit(): {
|
|
390
|
-
Framework: {
|
|
391
|
-
TestFixture: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
392
|
-
Test: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
393
|
-
OneTimeTearDown: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
394
|
-
OneTimeSetUp: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
395
|
-
SetUpFixture: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
get OneOf(): {
|
|
399
|
-
OneOf: (generics?: ast.Type[]) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
400
|
-
OneOfBase: (generics?: ast.Type[]) => _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
401
|
-
};
|
|
402
|
-
get Google(): {
|
|
403
|
-
Protobuf: {
|
|
404
|
-
WellKnownTypes: {
|
|
405
|
-
Struct: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
406
|
-
Value: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
407
|
-
ListValue: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
408
|
-
Timestamp: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
get WireMock(): {
|
|
413
|
-
Server: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
414
|
-
WireMockServerSettings: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
415
|
-
WireMockConsoleLogger: _fern_api_csharp_codegen_lib_ast.ClassReference;
|
|
416
|
-
};
|
|
417
|
-
get Primitive(): {
|
|
418
|
-
string: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.String;
|
|
419
|
-
boolean: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Boolean;
|
|
420
|
-
integer: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Integer;
|
|
421
|
-
long: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Long;
|
|
422
|
-
uint: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Uint;
|
|
423
|
-
ulong: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.ULong;
|
|
424
|
-
float: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Float;
|
|
425
|
-
double: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Double;
|
|
426
|
-
object: _fern_api_csharp_codegen_lib_ast_types_Type.Primitive.Object;
|
|
427
|
-
};
|
|
428
|
-
get Value(): {
|
|
429
|
-
binary: _fern_api_csharp_codegen_lib_ast_types_Type.Value.Binary;
|
|
430
|
-
dateOnly: _fern_api_csharp_codegen_lib_ast_types_Type.Value.DateOnly;
|
|
431
|
-
dateTime: _fern_api_csharp_codegen_lib_ast_types_Type.Value.DateTime;
|
|
432
|
-
uuid: _fern_api_csharp_codegen_lib_ast_types_Type.Value.Uuid;
|
|
433
|
-
stringEnum: (value: ast.ClassReference) => _fern_api_csharp_codegen_lib_ast_types_Type.Value.StringEnum;
|
|
434
|
-
};
|
|
435
|
-
get Collection(): {
|
|
436
|
-
array: (value: ast.Type) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.Array;
|
|
437
|
-
listType: (value: ast.Type) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.ListType;
|
|
438
|
-
list: (value: ast.Type) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.List;
|
|
439
|
-
set: (value: ast.Type) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.Set;
|
|
440
|
-
map: (keyType: ast.Type, valueType: ast.Type, options?: {
|
|
441
|
-
dontSimplify?: boolean;
|
|
442
|
-
}) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.Map;
|
|
443
|
-
idictionary: (keyType: ast.Type, valueType: ast.Type, options?: {
|
|
444
|
-
dontSimplify?: boolean;
|
|
445
|
-
}) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.IDictionary;
|
|
446
|
-
keyValuePair: (keyType: ast.Type, valueType: ast.Type) => _fern_api_csharp_codegen_lib_ast_types_Type.Collection.KeyValuePair;
|
|
447
|
-
};
|
|
85
|
+
get namespaces(): Generation["namespaces"];
|
|
86
|
+
get registry(): Generation["registry"];
|
|
87
|
+
get settings(): Generation["settings"];
|
|
88
|
+
get constants(): Generation["constants"];
|
|
89
|
+
get names(): Generation["names"];
|
|
90
|
+
get model(): Generation["model"];
|
|
91
|
+
get format(): Generation["format"];
|
|
92
|
+
get csharp(): Generation["csharp"];
|
|
93
|
+
get Types(): Generation["Types"];
|
|
94
|
+
get System(): Generation["extern"]["System"];
|
|
95
|
+
get NUnit(): Generation["extern"]["NUnit"];
|
|
96
|
+
get OneOf(): Generation["extern"]["OneOf"];
|
|
97
|
+
get Google(): Generation["extern"]["Google"];
|
|
98
|
+
get WireMock(): Generation["extern"]["WireMock"];
|
|
99
|
+
get Primitive(): Generation["Primitive"];
|
|
100
|
+
get Value(): Generation["Value"];
|
|
101
|
+
get Collection(): Generation["Collection"];
|
|
448
102
|
constructor({ ir, config, options, generation }: {
|
|
449
103
|
ir: FernIr.dynamic.DynamicIntermediateRepresentation;
|
|
450
104
|
config: FernGeneratorExec.GeneratorConfig;
|