@azure-tools/typespec-autorest 0.27.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/LICENSE +21 -0
- package/README.md +166 -0
- package/dist/src/decorators.d.ts +28 -0
- package/dist/src/decorators.d.ts.map +1 -0
- package/dist/src/decorators.js +100 -0
- package/dist/src/decorators.js.map +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/lib.d.ts +179 -0
- package/dist/src/lib.d.ts.map +1 -0
- package/dist/src/lib.js +125 -0
- package/dist/src/lib.js.map +1 -0
- package/dist/src/openapi.d.ts +21 -0
- package/dist/src/openapi.d.ts.map +1 -0
- package/dist/src/openapi.js +1529 -0
- package/dist/src/openapi.js.map +1 -0
- package/dist/src/testing/index.d.ts +3 -0
- package/dist/src/testing/index.d.ts.map +1 -0
- package/dist/src/testing/index.js +24 -0
- package/dist/src/testing/index.js.map +1 -0
- package/dist/src/types.d.ts +474 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/utils.d.ts +2 -0
- package/dist/src/utils.d.ts.map +1 -0
- package/dist/src/utils.js +31 -0
- package/dist/src/utils.js.map +1 -0
- package/lib/autorest.tsp +2 -0
- package/lib/decorators.tsp +22 -0
- package/package.json +82 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EmitContext } from "@typespec/compiler";
|
|
2
|
+
import { AutorestEmitterOptions } from "./lib.js";
|
|
3
|
+
export declare function $onEmit(context: EmitContext<AutorestEmitterOptions>): Promise<void>;
|
|
4
|
+
export interface ResolvedAutorestEmitterOptions {
|
|
5
|
+
outputDir?: string;
|
|
6
|
+
outputFile: string;
|
|
7
|
+
examplesDirectory?: string;
|
|
8
|
+
version?: string;
|
|
9
|
+
azureResourceProviderFolder?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Set the newline character for emitting files.
|
|
12
|
+
* @default lf
|
|
13
|
+
*/
|
|
14
|
+
newLine?: "crlf" | "lf";
|
|
15
|
+
/**
|
|
16
|
+
* Omit unreachable types.
|
|
17
|
+
* By default all types declared under the service namespace will be included. With this flag on only types references in an operation will be emitted.
|
|
18
|
+
*/
|
|
19
|
+
omitUnreachableTypes?: boolean;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=openapi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/openapi.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,WAAW,EA0DZ,MAAM,oBAAoB,CAAC;AAoC5B,OAAO,EAAE,sBAAsB,EAA+B,MAAM,UAAU,CAAC;AAuB/E,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,sBAAsB,CAAC,iBAczE;AAWD,MAAM,WAAW,8BAA8B;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC"}
|