From 6272003539d6e7d16bacfd846090520d70279dbd Mon Sep 17 00:00:00 2001 From: Xinni Tong Date: Fri, 6 Sep 2024 10:59:28 +0800 Subject: [PATCH 1/3] Add test for templated type (#650) * Add templated type test * update * Update mockapi.ts * Update main.tsp * resolve comments * update --- .changeset/young-doors-promise.md | 7 + .../cadl-ranch-specs/cadl-ranch-summary.md | 71 ++++++++++ .../http/type/model/templated/main.tsp | 131 ++++++++++++++++++ .../http/type/model/templated/mockapi.ts | 49 +++++++ 4 files changed, 258 insertions(+) create mode 100644 .changeset/young-doors-promise.md create mode 100644 packages/cadl-ranch-specs/http/type/model/templated/main.tsp create mode 100644 packages/cadl-ranch-specs/http/type/model/templated/mockapi.ts diff --git a/.changeset/young-doors-promise.md b/.changeset/young-doors-promise.md new file mode 100644 index 000000000..5837a36c5 --- /dev/null +++ b/.changeset/young-doors-promise.md @@ -0,0 +1,7 @@ +--- +"@azure-tools/cadl-ranch-specs": patch +--- + +Added Type_Model_Templated_numericType test scenarios and corresponding Mock API implementations for type/model/templated. +Added Type_Model_Templated_float32Type test scenarios and corresponding Mock API implementations for type/model/templated. +Added Type_Model_Templated_int32Type test scenarios and corresponding Mock API implementations for type/model/templated. diff --git a/packages/cadl-ranch-specs/cadl-ranch-summary.md b/packages/cadl-ranch-specs/cadl-ranch-summary.md index 02deaf5ad..336e23b5a 100644 --- a/packages/cadl-ranch-specs/cadl-ranch-summary.md +++ b/packages/cadl-ranch-specs/cadl-ranch-summary.md @@ -6104,6 +6104,77 @@ Expected input body: } ``` +### Type_Model_Templated_float32Type + +- Endpoint: `put /type/model/templated/float32ValuesType` + +Expected input body: + +```json +{ + "kind": "Float32Values", + "values": [0.5], + "value": 0.5 +} +``` + +Expected response body: + +```json +{ + "kind": "Float32Values", + "values": [0.5], + "value": 0.5 +} +``` + +### Type_Model_Templated_int32Type + +- Endpoint: `put /type/model/templated/int32ValuesType` + +Expected input body: + +```json +{ + "kind": "Int32Values", + "values": [1234], + "value": 1234 +} +``` + +Expected response body: + +```json +{ + "kind": "Int32Values", + "values": [1234], + "value": 1234 +} +``` + +### Type_Model_Templated_numericType + +- Endpoint: `put /type/model/templated/numericType` + +Expected input body: + +```json +{ + "kind": "Int32Values", + "values": [1234], + "value": 1234 +} +``` + +Expected response body: + +```json +{ + "values": [1234], + "value": 1234 +} +``` + ### Type_Model_Usage_input - Endpoint: `get /type/model/usage/input` diff --git a/packages/cadl-ranch-specs/http/type/model/templated/main.tsp b/packages/cadl-ranch-specs/http/type/model/templated/main.tsp new file mode 100644 index 000000000..6e5fe5ae0 --- /dev/null +++ b/packages/cadl-ranch-specs/http/type/model/templated/main.tsp @@ -0,0 +1,131 @@ +import "@typespec/http"; +import "@azure-tools/cadl-ranch-expect"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Http; +using Azure.ClientGenerator.Core; + +/** + * Illustrates the model templated cases. There is a base templated type and an instantiated type extending from it. + */ +@scenarioService("/type/model/templated") +namespace Type.Model.Templated; + +@friendlyName("{name}Type", T) +model NumericType { + /** + * An array of numeric values. + */ + values: T[]; + + value: T; +} + +/** + * An instantiated type representing int32 values type. + */ +model Int32ValuesType extends NumericType { + /** + * The Kind of the Int32ValuesType. + */ + kind: "Int32Values"; +} + +/** + * An instantiated type representing float32 values type. + */ +model Float32ValuesType extends NumericType { + /** + * The Kind of the Float32ValuesType. + */ + kind: "Float32Values"; +} + +@scenario +@scenarioDoc(""" + Expected input body: + ```json + { + "kind": "Int32Values", + "values": + [ + 1234 + ], + "value": 1234 + } + ``` + + Expected response body: + ```json + { + "values": + [ + 1234 + ], + "value": 1234 + } + ``` + """) +@route("/numericType") +@put +op numericType(@body input: NumericType): NumericType; + +@scenario +@scenarioDoc(""" + Expected input body: + ```json + { + "kind": "Float32Values", + "values": + [ + 0.5 + ], + "value": 0.5 + } + ``` + + Expected response body: + ```json + { + "kind": "Float32Values", + "values": + [ + 0.5 + ], + "value": 0.5 + } + ``` + """) +@route("/float32ValuesType") +@put +op float32Type(@body input: Float32ValuesType): Float32ValuesType; + +@scenario +@scenarioDoc(""" + Expected input body: + ```json + { + "kind": "Int32Values", + "values": + [ + 1234 + ], + "value": 1234 + } + ``` + + Expected response body: + ```json + { + "kind": "Int32Values", + "values": + [ + 1234 + ], + "value": 1234 + } + ``` + """) +@route("/int32ValuesType") +@put +op int32Type(@body input: Int32ValuesType): Int32ValuesType; diff --git a/packages/cadl-ranch-specs/http/type/model/templated/mockapi.ts b/packages/cadl-ranch-specs/http/type/model/templated/mockapi.ts new file mode 100644 index 000000000..ee486ffa9 --- /dev/null +++ b/packages/cadl-ranch-specs/http/type/model/templated/mockapi.ts @@ -0,0 +1,49 @@ +import { passOnSuccess, mockapi, json } from "@azure-tools/cadl-ranch-api"; +import { ScenarioMockApi } from "@azure-tools/cadl-ranch-api"; + +export const Scenarios: Record = {}; + +Scenarios.Type_Model_Templated_numericType = passOnSuccess( + mockapi.put("/type/model/templated/numericType", (req) => { + const body = { + kind: "Int32Values", + values: [1234], + value: 1234, + }; + req.expect.bodyEquals(body); + return { + status: 200, + body: json(body), + }; + }), +); + +Scenarios.Type_Model_Templated_float32Type = passOnSuccess( + mockapi.put("/type/model/templated/float32ValuesType", (req) => { + const body = { + kind: "Float32Values", + values: [0.5], + value: 0.5, + }; + req.expect.bodyEquals(body); + return { + status: 200, + body: json(body), + }; + }), +); + +Scenarios.Type_Model_Templated_int32Type = passOnSuccess( + mockapi.put("/type/model/templated/int32ValuesType", (req) => { + const body = { + kind: "Int32Values", + values: [1234], + value: 1234, + }; + req.expect.bodyEquals(body); + return { + status: 200, + body: json(body), + }; + }), +); From 5be049e8e9726ee2f69a77cd6f5b456f14d82e7a Mon Sep 17 00:00:00 2001 From: Crystal YU Date: Wed, 11 Sep 2024 14:27:37 +0800 Subject: [PATCH 2/3] bump typespec to 0.60.0 (#723) --- .changeset/serious-rings-provide.md | 7 + packages/cadl-ranch-expect/package.json | 8 +- packages/cadl-ranch-specs/package.json | 22 +- packages/cadl-ranch/package.json | 6 +- pnpm-lock.yaml | 276 ++++++++++++------------ 5 files changed, 163 insertions(+), 156 deletions(-) create mode 100644 .changeset/serious-rings-provide.md diff --git a/.changeset/serious-rings-provide.md b/.changeset/serious-rings-provide.md new file mode 100644 index 000000000..140f3698b --- /dev/null +++ b/.changeset/serious-rings-provide.md @@ -0,0 +1,7 @@ +--- +"@azure-tools/cadl-ranch-expect": patch +"@azure-tools/cadl-ranch-specs": patch +"@azure-tools/cadl-ranch": patch +--- + +Bump typespec 0.60.0 \ No newline at end of file diff --git a/packages/cadl-ranch-expect/package.json b/packages/cadl-ranch-expect/package.json index 9d0baad5d..8a796aca7 100644 --- a/packages/cadl-ranch-expect/package.json +++ b/packages/cadl-ranch-expect/package.json @@ -30,9 +30,9 @@ "typescript": "~5.5.4" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/rest": "~0.59.0", - "@typespec/versioning": "~0.59.0" + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/rest": "~0.60.0", + "@typespec/versioning": "~0.60.0" } } diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index fb67ae036..8ad50bd8c 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -35,22 +35,22 @@ "@azure-tools/cadl-ranch-api": "workspace:~" }, "devDependencies": { - "@azure-tools/typespec-autorest": "0.45.0", - "@azure-tools/typespec-azure-resource-manager": "0.45.0", - "@azure-tools/typespec-client-generator-core": "0.45.0", + "@azure-tools/typespec-autorest": "0.46.0", + "@azure-tools/typespec-azure-resource-manager": "0.46.0", + "@azure-tools/typespec-client-generator-core": "0.46.0", "@types/node": "^22.1.0", - "@typespec/openapi": "~0.59.0", - "@typespec/openapi3": "~0.59.0", + "@typespec/openapi": "~0.60.0", + "@typespec/openapi3": "~0.60.0", "rimraf": "^6.0.1", "typescript": "~5.5.4" }, "peerDependencies": { "@azure-tools/cadl-ranch-expect": "workspace:~", - "@azure-tools/typespec-azure-core": "~0.45.0", - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/rest": "~0.59.0", - "@typespec/versioning": "~0.59.0", - "@typespec/xml": "~0.59.0" + "@azure-tools/typespec-azure-core": "~0.46.0", + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/rest": "~0.60.0", + "@typespec/versioning": "~0.60.0", + "@typespec/xml": "~0.60.0" } } diff --git a/packages/cadl-ranch/package.json b/packages/cadl-ranch/package.json index 59f8b9a9e..5e52ee793 100644 --- a/packages/cadl-ranch/package.json +++ b/packages/cadl-ranch/package.json @@ -32,9 +32,9 @@ "@azure-tools/cadl-ranch-expect": "workspace:~", "@azure/identity": "^4.4.1", "@types/js-yaml": "^4.0.5", - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/rest": "~0.59.0", + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/rest": "~0.60.0", "ajv": "8.17.1", "body-parser": "^1.20.2", "deep-equal": "^2.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d68ef512..c3c688563 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,14 +75,14 @@ importers: specifier: ^4.0.5 version: 4.0.9 '@typespec/compiler': - specifier: ~0.59.0 - version: 0.59.0 + specifier: ~0.60.0 + version: 0.60.0 '@typespec/http': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0) '@typespec/rest': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) ajv: specifier: 8.17.1 version: 8.17.1 @@ -325,17 +325,17 @@ importers: packages/cadl-ranch-expect: dependencies: '@typespec/compiler': - specifier: ~0.59.0 - version: 0.59.0 + specifier: ~0.60.0 + version: 0.60.0 '@typespec/http': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0) '@typespec/rest': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) '@typespec/versioning': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0) devDependencies: '@types/node': specifier: ^22.1.0 @@ -359,42 +359,42 @@ importers: specifier: workspace:~ version: link:../cadl-ranch-expect '@azure-tools/typespec-azure-core': - specifier: ~0.45.0 - version: 0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))) + specifier: ~0.46.0 + version: 0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))) '@typespec/compiler': - specifier: ~0.59.0 - version: 0.59.0 + specifier: ~0.60.0 + version: 0.60.0 '@typespec/http': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0) '@typespec/rest': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) '@typespec/versioning': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0) '@typespec/xml': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0) devDependencies: '@azure-tools/typespec-autorest': - specifier: 0.45.0 - version: 0.45.0(upvsncffths2hw3lrr2dhttf3u) + specifier: 0.46.0 + version: 0.46.0(plb3d5lbqspuyf3om5a7m6ynjy) '@azure-tools/typespec-azure-resource-manager': - specifier: 0.45.0 - version: 0.45.0(@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))))(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0)) + specifier: 0.46.0 + version: 0.46.0(@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))))(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0)) '@azure-tools/typespec-client-generator-core': - specifier: 0.45.0 - version: 0.45.0(@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))))(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0)) + specifier: 0.46.0 + version: 0.46.0(@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))))(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0)) '@types/node': specifier: ^22.1.0 version: 22.1.0 '@typespec/openapi': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) '@typespec/openapi3': - specifier: ~0.59.0 - version: 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0))(openapi-types@12.1.3) + specifier: ~0.60.0 + version: 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0))(openapi-types@12.1.3) rimraf: specifier: ^6.0.1 version: 6.0.1 @@ -448,48 +448,48 @@ packages: '@apidevtools/swagger-methods@3.0.2': resolution: {integrity: sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==} - '@azure-tools/typespec-autorest@0.45.0': - resolution: {integrity: sha512-6ycZ0bEfXC0U26FHHEt9smAhxh78SACIDY+u7zLAopRzmxjTuthDdGgYSShuRDu3J+vEBi1fOKpz4cYQkgRkBQ==} + '@azure-tools/typespec-autorest@0.46.0': + resolution: {integrity: sha512-LCIvxQgjczWUq/wi6fzKBqYHWJYD0hRLA8wBPzFasriHdBDHjpZ6vgTPmApzt0H5ArZX92Ar53Q5+ZXD9ktMUg==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.45.0 - '@azure-tools/typespec-azure-resource-manager': ~0.45.0 - '@azure-tools/typespec-client-generator-core': ~0.45.0 - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 - '@typespec/openapi': ~0.59.0 - '@typespec/rest': ~0.59.0 - '@typespec/versioning': ~0.59.0 - - '@azure-tools/typespec-azure-core@0.45.0': - resolution: {integrity: sha512-GycGMCmaIVSN+TftPtlPJLyeOrglbLmH08ZiZaVMjSih/TQEJM21RGR6d8QdjlkQWN61ntNDRD+RP2uv9tHmqw==} + '@azure-tools/typespec-azure-core': ~0.46.0 + '@azure-tools/typespec-azure-resource-manager': ~0.46.0 + '@azure-tools/typespec-client-generator-core': ~0.46.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 + '@typespec/openapi': ~0.60.0 + '@typespec/rest': ~0.60.0 + '@typespec/versioning': ~0.60.0 + + '@azure-tools/typespec-azure-core@0.46.0': + resolution: {integrity: sha512-BNE31enSHWtWlrdIKShBS6CNFGk3OYmHSBnWqobcFJkTGXC090EoV2u6otn4BMI99fZRSR4gpwp/kYU9KLE9Jw==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 - '@typespec/rest': ~0.59.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 + '@typespec/rest': ~0.60.0 - '@azure-tools/typespec-azure-resource-manager@0.45.0': - resolution: {integrity: sha512-PdhB03P8PoOlUoUWd+CF5WipGzu2Q3ZjT0EAzgQe878DmXvxMq+zYaPJQtvkq9R6jCxFauDSr5gG7Yd4NINAuA==} + '@azure-tools/typespec-azure-resource-manager@0.46.0': + resolution: {integrity: sha512-ileS/0OMp0pmtWU3k0g2ZGfA957nOiEHtFJzAILsYYBFeBWgWuEuCPcKaGYScvlYTTK4Pyplpb7u00RBZBBObQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.45.0 - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 - '@typespec/openapi': ~0.59.0 - '@typespec/rest': ~0.59.0 - '@typespec/versioning': ~0.59.0 + '@azure-tools/typespec-azure-core': ~0.46.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 + '@typespec/openapi': ~0.60.0 + '@typespec/rest': ~0.60.0 + '@typespec/versioning': ~0.60.0 - '@azure-tools/typespec-client-generator-core@0.45.0': - resolution: {integrity: sha512-x8F/+xBeU3Y5BLH2tcCXBaI3w/XNkaifTadp2AVuYuifL43QInQRILBvZvTb5+1c4LmvDQOnLqIbZ3cdt+9fTA==} + '@azure-tools/typespec-client-generator-core@0.46.0': + resolution: {integrity: sha512-Ss0dNcOeTyc9CBsNFV6OToLV7OOKidAfeewmKePtY2qAHW+CqWZnVvUHunpFt2jFs6CqjFpgU9g+1wPbLCFj9A==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.45.0 - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 - '@typespec/openapi': ~0.59.0 - '@typespec/rest': ~0.59.0 - '@typespec/versioning': ~0.59.0 + '@azure-tools/typespec-azure-core': ~0.46.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 + '@typespec/openapi': ~0.60.0 + '@typespec/rest': ~0.60.0 + '@typespec/versioning': ~0.60.0 '@azure/abort-controller@1.1.0': resolution: {integrity: sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==} @@ -2299,55 +2299,55 @@ packages: resolution: {integrity: sha512-W5E+o0UfUcK5EgchLZsyVWqARmsM7v54/qEq6PY3YI5arkgmCzHiuk0zKSJJbm71V0xdRna4BGomkCTXz2/LkQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typespec/compiler@0.59.0': - resolution: {integrity: sha512-fqh2TeAWQyt70f7NkfwOvoQMqHAfGzIfvcUi+XW55+ms6opiqNXBIT822Jr+T4fNo1PgsnbKC34n6SSIMxnOqw==} + '@typespec/compiler@0.60.0': + resolution: {integrity: sha512-qAS99tJv6RvxSescfxRVal4QWSfdf3BzIOgE8+Az6emL68aTE/W8zQ0Ijpgmhax7sC2AnLTxCK1tM9kj1YguRw==} engines: {node: '>=18.0.0'} hasBin: true - '@typespec/http@0.59.0': - resolution: {integrity: sha512-P8kJBHmkqYHhojO97Tnj8FH+UInWzGBl2I9Z6ZX6sVUVW9/87hoovgCcVmvU1xMUD/xvKzX3m70fbRXhkocsGQ==} + '@typespec/http@0.60.0': + resolution: {integrity: sha512-ktfS9vpHfltyeAaQLNAZdqrn6Per3vmB/HDH/iyudYLA5wWblT1siKvpFCMWq53CJorRO7yeOKv+Q/M26zwEtg==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.59.0 + '@typespec/compiler': ~0.60.0 - '@typespec/openapi3@0.59.0': - resolution: {integrity: sha512-xwdWPPRtjsLxXjsebNppaHrFPF6rJiWkAEHCsK0elwvaPSruZvYfPhXpx1HnNkC2glb0NHgmxvXg7EmMwIYYcA==} + '@typespec/openapi3@0.60.0': + resolution: {integrity: sha512-gvrTHZACdeQtV7GfhVOHqkyTgMFyM2nKAIiz2P83LIncMCDUc00bGKGmaBk+xpuwKtCJyxBeVpCbID31YAq96g==} engines: {node: '>=18.0.0'} hasBin: true peerDependencies: - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 - '@typespec/openapi': ~0.59.0 - '@typespec/versioning': ~0.59.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 + '@typespec/openapi': ~0.60.0 + '@typespec/versioning': ~0.60.0 - '@typespec/openapi@0.59.0': - resolution: {integrity: sha512-do1Dm5w0MuK3994gYTBg6qMfgeIxmmsDqnz3zimYKMPpbnUBi4F6/o4iCfn0Fn9kaNl+H6UlOzZpsZW9xHui1Q==} + '@typespec/openapi@0.60.0': + resolution: {integrity: sha512-YVwLppgHY8r/MudHNSLSUXzdw+CIpjmb31gI2a0KDGnI6sWDwY7LSWfjGU4TY/ubt0+X0Tjoy330mTvw71YBTg==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 '@typespec/prettier-plugin-typespec@0.59.0': resolution: {integrity: sha512-6baXmjOKvvxGOH+rH/kAn7FaR+agdPN8iw+kT08XvWdLrsQXECDTl0lb2pH1RztWIfL3fC7SwoT/naEztNVDog==} - '@typespec/rest@0.59.0': - resolution: {integrity: sha512-wGrmjRDUMgMn9fqusRhu36hC2GOvirz5O01VSrmAEOH6k1L2GX0Mq70gOdZa4kkkWyHYDKb7GdjfaLe8v+OH6w==} + '@typespec/rest@0.60.0': + resolution: {integrity: sha512-mHYubyuBvwdV2xkHrJfPwV7b/Ksyb9lA1Q/AQwpVFa7Qu1X075TBVALmH+hK3V0EdUG1CGJZ5Sw4BWgl8ZS0BA==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.59.0 - '@typespec/http': ~0.59.0 + '@typespec/compiler': ~0.60.0 + '@typespec/http': ~0.60.0 - '@typespec/versioning@0.59.0': - resolution: {integrity: sha512-aihO/ux0lLmsuYAdGVkiBflSudcZokYG42SELk1FtMFo609G3Pd7ep7hau6unBnMIceQZejB0ow5UGRupK4X5A==} + '@typespec/versioning@0.60.0': + resolution: {integrity: sha512-SqxCQ9qMw5fdR7WP6/GFLzwcFwxhv+uHlzJGVcTd1GtIAu5qj2X4VmzFuNQyu+QenI+5uOSrEEywEXn0YRTZSg==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.59.0 + '@typespec/compiler': ~0.60.0 - '@typespec/xml@0.59.0': - resolution: {integrity: sha512-UoSsEmm7SXEtL9OXsqotu1TjruJSobqZMhUKAAlC9EP2WfQIHLRfBu7xaZB0sgwq7CM6zy/Hq1RZfQyL1KqEvg==} + '@typespec/xml@0.60.0': + resolution: {integrity: sha512-Cr1Vih4ovB1OKHJNrXf23Bq4IiVNGlf7F6kN5Yfc7UDqxy+hiCfuwXfjlu3ida/bYTalGPd4/KL9EAx+m41Bxw==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.59.0 + '@typespec/compiler': ~0.60.0 '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -5749,42 +5749,42 @@ snapshots: '@apidevtools/swagger-methods@3.0.2': {} - '@azure-tools/typespec-autorest@0.45.0(upvsncffths2hw3lrr2dhttf3u)': + '@azure-tools/typespec-autorest@0.46.0(plb3d5lbqspuyf3om5a7m6ynjy)': dependencies: - '@azure-tools/typespec-azure-core': 0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))) - '@azure-tools/typespec-azure-resource-manager': 0.45.0(@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))))(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0)) - '@azure-tools/typespec-client-generator-core': 0.45.0(@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))))(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) - '@typespec/openapi': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/rest': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/versioning': 0.59.0(@typespec/compiler@0.59.0) + '@azure-tools/typespec-azure-core': 0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))) + '@azure-tools/typespec-azure-resource-manager': 0.46.0(@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))))(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0)) + '@azure-tools/typespec-client-generator-core': 0.46.0(@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))))(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) + '@typespec/openapi': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/rest': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/versioning': 0.60.0(@typespec/compiler@0.60.0) - '@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))': + '@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))': dependencies: - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) - '@typespec/rest': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) + '@typespec/rest': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) - '@azure-tools/typespec-azure-resource-manager@0.45.0(@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))))(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0))': + '@azure-tools/typespec-azure-resource-manager@0.46.0(@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))))(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0))': dependencies: - '@azure-tools/typespec-azure-core': 0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))) - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) - '@typespec/openapi': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/rest': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/versioning': 0.59.0(@typespec/compiler@0.59.0) + '@azure-tools/typespec-azure-core': 0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) + '@typespec/openapi': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/rest': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/versioning': 0.60.0(@typespec/compiler@0.60.0) change-case: 5.4.4 pluralize: 8.0.0 - '@azure-tools/typespec-client-generator-core@0.45.0(@azure-tools/typespec-azure-core@0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))))(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0))': + '@azure-tools/typespec-client-generator-core@0.46.0(@azure-tools/typespec-azure-core@0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))))(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0))': dependencies: - '@azure-tools/typespec-azure-core': 0.45.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))) - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) - '@typespec/openapi': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/rest': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/versioning': 0.59.0(@typespec/compiler@0.59.0) + '@azure-tools/typespec-azure-core': 0.46.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) + '@typespec/openapi': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/rest': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/versioning': 0.60.0(@typespec/compiler@0.60.0) change-case: 5.4.4 pluralize: 8.0.0 @@ -8496,7 +8496,7 @@ snapshots: '@typescript-eslint/types': 8.0.1 eslint-visitor-keys: 3.4.3 - '@typespec/compiler@0.59.0': + '@typespec/compiler@0.60.0': dependencies: '@babel/code-frame': 7.24.7 ajv: 8.17.1 @@ -8513,42 +8513,42 @@ snapshots: yaml: 2.4.5 yargs: 17.7.2 - '@typespec/http@0.59.0(@typespec/compiler@0.59.0)': + '@typespec/http@0.60.0(@typespec/compiler@0.60.0)': dependencies: - '@typespec/compiler': 0.59.0 + '@typespec/compiler': 0.60.0 - '@typespec/openapi3@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))(@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)))(@typespec/versioning@0.59.0(@typespec/compiler@0.59.0))(openapi-types@12.1.3)': + '@typespec/openapi3@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))(@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)))(@typespec/versioning@0.60.0(@typespec/compiler@0.60.0))(openapi-types@12.1.3)': dependencies: '@readme/openapi-parser': 2.6.0(openapi-types@12.1.3) - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) - '@typespec/openapi': 0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0)) - '@typespec/versioning': 0.59.0(@typespec/compiler@0.59.0) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) + '@typespec/openapi': 0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0)) + '@typespec/versioning': 0.60.0(@typespec/compiler@0.60.0) yaml: 2.4.5 transitivePeerDependencies: - openapi-types - '@typespec/openapi@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))': + '@typespec/openapi@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))': dependencies: - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) '@typespec/prettier-plugin-typespec@0.59.0': dependencies: prettier: 3.3.3 - '@typespec/rest@0.59.0(@typespec/compiler@0.59.0)(@typespec/http@0.59.0(@typespec/compiler@0.59.0))': + '@typespec/rest@0.60.0(@typespec/compiler@0.60.0)(@typespec/http@0.60.0(@typespec/compiler@0.60.0))': dependencies: - '@typespec/compiler': 0.59.0 - '@typespec/http': 0.59.0(@typespec/compiler@0.59.0) + '@typespec/compiler': 0.60.0 + '@typespec/http': 0.60.0(@typespec/compiler@0.60.0) - '@typespec/versioning@0.59.0(@typespec/compiler@0.59.0)': + '@typespec/versioning@0.60.0(@typespec/compiler@0.60.0)': dependencies: - '@typespec/compiler': 0.59.0 + '@typespec/compiler': 0.60.0 - '@typespec/xml@0.59.0(@typespec/compiler@0.59.0)': + '@typespec/xml@0.60.0(@typespec/compiler@0.60.0)': dependencies: - '@typespec/compiler': 0.59.0 + '@typespec/compiler': 0.60.0 '@ungap/structured-clone@1.2.0': {} From 5e38bec357fa5ddf9fce154b5d6753d289eb65d2 Mon Sep 17 00:00:00 2001 From: Crystal YU Date: Wed, 11 Sep 2024 14:49:19 +0800 Subject: [PATCH 3/3] Bump versions (#724) Co-authored-by: Microsoft Auto Changeset Bot --- .changeset/serious-rings-provide.md | 7 ------- .changeset/young-doors-promise.md | 7 ------- packages/cadl-ranch-expect/CHANGELOG.md | 6 ++++++ packages/cadl-ranch-expect/package.json | 2 +- packages/cadl-ranch-specs/CHANGELOG.md | 12 ++++++++++++ packages/cadl-ranch-specs/package.json | 2 +- packages/cadl-ranch/CHANGELOG.md | 8 ++++++++ packages/cadl-ranch/package.json | 2 +- 8 files changed, 29 insertions(+), 17 deletions(-) delete mode 100644 .changeset/serious-rings-provide.md delete mode 100644 .changeset/young-doors-promise.md diff --git a/.changeset/serious-rings-provide.md b/.changeset/serious-rings-provide.md deleted file mode 100644 index 140f3698b..000000000 --- a/.changeset/serious-rings-provide.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@azure-tools/cadl-ranch-expect": patch -"@azure-tools/cadl-ranch-specs": patch -"@azure-tools/cadl-ranch": patch ---- - -Bump typespec 0.60.0 \ No newline at end of file diff --git a/.changeset/young-doors-promise.md b/.changeset/young-doors-promise.md deleted file mode 100644 index 5837a36c5..000000000 --- a/.changeset/young-doors-promise.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@azure-tools/cadl-ranch-specs": patch ---- - -Added Type_Model_Templated_numericType test scenarios and corresponding Mock API implementations for type/model/templated. -Added Type_Model_Templated_float32Type test scenarios and corresponding Mock API implementations for type/model/templated. -Added Type_Model_Templated_int32Type test scenarios and corresponding Mock API implementations for type/model/templated. diff --git a/packages/cadl-ranch-expect/CHANGELOG.md b/packages/cadl-ranch-expect/CHANGELOG.md index 59142ed36..dbfb958e2 100644 --- a/packages/cadl-ranch-expect/CHANGELOG.md +++ b/packages/cadl-ranch-expect/CHANGELOG.md @@ -1,5 +1,11 @@ # @azure-tools/cadl-ranch-expect +## 0.15.4 + +### Patch Changes + +- 5be049e: Bump typespec 0.60.0 + ## 0.15.3 ### Patch Changes diff --git a/packages/cadl-ranch-expect/package.json b/packages/cadl-ranch-expect/package.json index 8a796aca7..ca643217f 100644 --- a/packages/cadl-ranch-expect/package.json +++ b/packages/cadl-ranch-expect/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-expect", - "version": "0.15.3", + "version": "0.15.4", "description": "Cadl Library providing decorator and validation for Cadl Ranch specs", "main": "dist/index.js", "tspMain": "lib/lib.tsp", diff --git a/packages/cadl-ranch-specs/CHANGELOG.md b/packages/cadl-ranch-specs/CHANGELOG.md index f195f4e91..3322b685b 100644 --- a/packages/cadl-ranch-specs/CHANGELOG.md +++ b/packages/cadl-ranch-specs/CHANGELOG.md @@ -1,5 +1,17 @@ # @azure-tools/cadl-ranch-specs +## 0.37.2 + +### Patch Changes + +- 5be049e: Bump typespec 0.60.0 +- 6272003: Added Type_Model_Templated_numericType test scenarios and corresponding Mock API implementations for type/model/templated. + Added Type_Model_Templated_float32Type test scenarios and corresponding Mock API implementations for type/model/templated. + Added Type_Model_Templated_int32Type test scenarios and corresponding Mock API implementations for type/model/templated. +- Updated dependencies [5be049e] + - @azure-tools/cadl-ranch-expect@0.15.4 + - @azure-tools/cadl-ranch@0.14.6 + ## 0.37.1 ### Patch Changes diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index 8ad50bd8c..f3e57b311 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-specs", - "version": "0.37.1", + "version": "0.37.2", "description": "Cadl scenarios and mock apis", "main": "dist/index.js", "type": "module", diff --git a/packages/cadl-ranch/CHANGELOG.md b/packages/cadl-ranch/CHANGELOG.md index a9de66313..be693d5d9 100644 --- a/packages/cadl-ranch/CHANGELOG.md +++ b/packages/cadl-ranch/CHANGELOG.md @@ -1,5 +1,13 @@ # @azure-tools/cadl-ranch +## 0.14.6 + +### Patch Changes + +- 5be049e: Bump typespec 0.60.0 +- Updated dependencies [5be049e] + - @azure-tools/cadl-ranch-expect@0.15.4 + ## 0.14.5 ### Patch Changes diff --git a/packages/cadl-ranch/package.json b/packages/cadl-ranch/package.json index 5e52ee793..4abdd99ea 100644 --- a/packages/cadl-ranch/package.json +++ b/packages/cadl-ranch/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch", - "version": "0.14.5", + "version": "0.14.6", "description": "Cadl Ranch Tool to validate, run mock api, collect coverage.", "main": "dist/index.js", "type": "module",