@fern-api/csharp-dynamic-snippets 0.0.6 → 2.11.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.
- package/cjs/DynamicSnippetsGenerator.cjs +13 -13
- package/cjs/DynamicSnippetsGenerator.cjs.map +1 -1
- package/cjs/DynamicSnippetsGenerator.d.cts +1 -1
- package/cjs/{DynamicSnippetsGeneratorContext-DhvOZIoP.d.cts → DynamicSnippetsGeneratorContext-pehoeH_w.d.cts} +9 -0
- package/cjs/EndpointSnippetGenerator.cjs.map +1 -1
- package/cjs/EndpointSnippetGenerator.d.cts +1 -1
- package/cjs/context/DynamicLiteralMapper.cjs +1 -1
- package/cjs/context/DynamicLiteralMapper.d.cts +1 -1
- package/cjs/context/DynamicSnippetsGeneratorContext.cjs +1 -1
- package/cjs/context/DynamicSnippetsGeneratorContext.cjs.map +1 -1
- package/cjs/context/DynamicSnippetsGeneratorContext.d.cts +1 -1
- package/cjs/context/DynamicTypeMapper.d.cts +1 -1
- package/cjs/context/FilePropertyMapper.d.cts +1 -1
- package/cjs/index.cjs +13 -13
- package/cjs/index.cjs.map +1 -1
- package/cjs/index.d.cts +1 -1
- package/esm/DynamicSnippetsGenerator.d.ts +1 -1
- package/esm/DynamicSnippetsGenerator.js +1 -1
- package/esm/{DynamicSnippetsGeneratorContext-DhvOZIoP.d.ts → DynamicSnippetsGeneratorContext-pehoeH_w.d.ts} +9 -0
- package/esm/EndpointSnippetGenerator.d.ts +1 -1
- package/esm/EndpointSnippetGenerator.js +1 -1
- package/esm/{chunk-LWJEMG53.js → chunk-3XDW3MPR.js} +2 -2
- package/esm/{chunk-QALVTPA5.js → chunk-CEB5TOCF.js} +2 -2
- package/esm/{chunk-QALVTPA5.js.map → chunk-CEB5TOCF.js.map} +1 -1
- package/esm/{chunk-WP3GAWOR.js → chunk-DBQMCX7L.js} +2 -2
- package/esm/{chunk-ZEEJAJ4K.js → chunk-EC2FLIE6.js} +2 -2
- package/esm/{chunk-TVSKLWL4.js → chunk-EUEE2577.js} +2 -2
- package/esm/{chunk-TOOGWICF.js → chunk-GEII674B.js} +2 -2
- package/esm/{chunk-A53BGSGD.js → chunk-KFPJC632.js} +2 -2
- package/esm/{chunk-PRAGN765.js → chunk-KIW23CQ5.js} +2 -2
- package/esm/{chunk-PRAGN765.js.map → chunk-KIW23CQ5.js.map} +1 -1
- package/esm/context/DynamicLiteralMapper.d.ts +1 -1
- package/esm/context/DynamicLiteralMapper.js +1 -1
- package/esm/context/DynamicSnippetsGeneratorContext.d.ts +1 -1
- package/esm/context/DynamicSnippetsGeneratorContext.js +1 -1
- package/esm/context/DynamicTypeMapper.d.ts +1 -1
- package/esm/context/DynamicTypeMapper.js +1 -1
- package/esm/context/FilePropertyMapper.d.ts +1 -1
- package/esm/context/FilePropertyMapper.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
- /package/esm/{chunk-LWJEMG53.js.map → chunk-3XDW3MPR.js.map} +0 -0
- /package/esm/{chunk-WP3GAWOR.js.map → chunk-DBQMCX7L.js.map} +0 -0
- /package/esm/{chunk-ZEEJAJ4K.js.map → chunk-EC2FLIE6.js.map} +0 -0
- /package/esm/{chunk-TVSKLWL4.js.map → chunk-EUEE2577.js.map} +0 -0
- /package/esm/{chunk-TOOGWICF.js.map → chunk-GEII674B.js.map} +0 -0
- /package/esm/{chunk-A53BGSGD.js.map → chunk-KFPJC632.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractDynamicSnippetsGenerator, FernGeneratorExec, Options, AbstractAstNode } from '@fern-api/browser-compatible-base-generator';
|
|
2
2
|
import { FernIr } from '@fern-api/dynamic-ir-sdk';
|
|
3
|
-
import { D as DynamicSnippetsGeneratorContext } from './DynamicSnippetsGeneratorContext-
|
|
3
|
+
import { D as DynamicSnippetsGeneratorContext } from './DynamicSnippetsGeneratorContext-pehoeH_w.cjs';
|
|
4
4
|
import { EndpointSnippetGenerator } from './EndpointSnippetGenerator.cjs';
|
|
5
5
|
import '@fern-api/csharp-codegen/lib/ast';
|
|
6
6
|
import '@fern-api/csharp-codegen/lib/ast/types/Type';
|
|
@@ -126,11 +126,18 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
|
|
|
126
126
|
generateErrorTypes: boolean;
|
|
127
127
|
shouldInlinePathParameters: boolean;
|
|
128
128
|
includeExceptionHandler: boolean;
|
|
129
|
+
exceptionInterceptorClassName: string;
|
|
129
130
|
shouldGenerateMockServerTests: boolean;
|
|
130
131
|
rootClientAccess: "public" | "internal";
|
|
131
132
|
extraDependencies: Record<string, string>;
|
|
132
133
|
pascalCaseEnvironments: boolean;
|
|
133
134
|
explicitNamespaces: boolean;
|
|
135
|
+
outputPath: {
|
|
136
|
+
library: string;
|
|
137
|
+
test: string;
|
|
138
|
+
solution: string;
|
|
139
|
+
other: string;
|
|
140
|
+
};
|
|
134
141
|
};
|
|
135
142
|
get constants(): {
|
|
136
143
|
folders: {
|
|
@@ -163,6 +170,7 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
|
|
|
163
170
|
rootClientForSnippets: string;
|
|
164
171
|
customPager: string;
|
|
165
172
|
environment: string;
|
|
173
|
+
exceptionInterceptor: string;
|
|
166
174
|
};
|
|
167
175
|
project: {
|
|
168
176
|
client: string;
|
|
@@ -217,6 +225,7 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
|
|
|
217
225
|
BaseException: ast.ClassReference;
|
|
218
226
|
ExceptionInterceptor: ast.ClassReference;
|
|
219
227
|
ExceptionHandler: ast.ClassReference;
|
|
228
|
+
CustomExceptionInterceptor: ast.ClassReference;
|
|
220
229
|
ProtoAnyMapper: ast.ClassReference;
|
|
221
230
|
Constants: ast.ClassReference;
|
|
222
231
|
EnumSerializer: ast.ClassReference;
|