@azure-rest/core-client
Advanced tools
Comparing version 2.2.1-alpha.20240924.1 to 2.2.1-alpha.20240925.5
@@ -6,3 +6,3 @@ import { HttpClient, LogPolicyOptions, Pipeline, PipelineOptions, PipelinePolicy, PipelineRequest, PipelineResponse, RawHttpHeaders, RequestBodyType, TransferProgressEvent } from "@azure/core-rest-pipeline"; | ||
/** | ||
* Shape of the default request parameters, this may be overriden by the specific | ||
* Shape of the default request parameters, this may be overridden by the specific | ||
* request types to provide strong types | ||
@@ -166,8 +166,10 @@ */ | ||
* This method will be used to send request that would check the path to provide | ||
* strong types. When used by the codegen this type gets overriden with the generated | ||
* strong types. When used by the codegen this type gets overridden with the generated | ||
* types. For example: | ||
* ```typescript | ||
* ```typescript snippet:path_example | ||
* import { Client, Routes } from "@azure-rest/core-client"; | ||
* | ||
* export type MyClient = Client & { | ||
* path: Routes; | ||
* } | ||
* path: Routes; | ||
* }; | ||
* ``` | ||
@@ -174,0 +176,0 @@ */ |
@@ -6,3 +6,3 @@ import { HttpClient, LogPolicyOptions, Pipeline, PipelineOptions, PipelinePolicy, PipelineRequest, PipelineResponse, RawHttpHeaders, RequestBodyType, TransferProgressEvent } from "@azure/core-rest-pipeline"; | ||
/** | ||
* Shape of the default request parameters, this may be overriden by the specific | ||
* Shape of the default request parameters, this may be overridden by the specific | ||
* request types to provide strong types | ||
@@ -166,8 +166,10 @@ */ | ||
* This method will be used to send request that would check the path to provide | ||
* strong types. When used by the codegen this type gets overriden with the generated | ||
* strong types. When used by the codegen this type gets overridden with the generated | ||
* types. For example: | ||
* ```typescript | ||
* ```typescript snippet:path_example | ||
* import { Client, Routes } from "@azure-rest/core-client"; | ||
* | ||
* export type MyClient = Client & { | ||
* path: Routes; | ||
* } | ||
* path: Routes; | ||
* }; | ||
* ``` | ||
@@ -174,0 +176,0 @@ */ |
@@ -69,8 +69,10 @@ /** | ||
* This method will be used to send request that would check the path to provide | ||
* strong types. When used by the codegen this type gets overriden with the generated | ||
* strong types. When used by the codegen this type gets overridden with the generated | ||
* types. For example: | ||
* ```typescript | ||
* ```typescript snippet:path_example | ||
* import { Client, Routes } from "@azure-rest/core-client"; | ||
* | ||
* export type MyClient = Client & { | ||
* path: Routes; | ||
* } | ||
* path: Routes; | ||
* }; | ||
* ``` | ||
@@ -343,3 +345,3 @@ */ | ||
/** | ||
* Shape of the default request parameters, this may be overriden by the specific | ||
* Shape of the default request parameters, this may be overridden by the specific | ||
* request types to provide strong types | ||
@@ -346,0 +348,0 @@ */ |
@@ -6,3 +6,3 @@ import { HttpClient, LogPolicyOptions, Pipeline, PipelineOptions, PipelinePolicy, PipelineRequest, PipelineResponse, RawHttpHeaders, RequestBodyType, TransferProgressEvent } from "@azure/core-rest-pipeline"; | ||
/** | ||
* Shape of the default request parameters, this may be overriden by the specific | ||
* Shape of the default request parameters, this may be overridden by the specific | ||
* request types to provide strong types | ||
@@ -166,8 +166,10 @@ */ | ||
* This method will be used to send request that would check the path to provide | ||
* strong types. When used by the codegen this type gets overriden with the generated | ||
* strong types. When used by the codegen this type gets overridden with the generated | ||
* types. For example: | ||
* ```typescript | ||
* ```typescript snippet:path_example | ||
* import { Client, Routes } from "@azure-rest/core-client"; | ||
* | ||
* export type MyClient = Client & { | ||
* path: Routes; | ||
* } | ||
* path: Routes; | ||
* }; | ||
* ``` | ||
@@ -174,0 +176,0 @@ */ |
@@ -6,3 +6,3 @@ import { HttpClient, LogPolicyOptions, Pipeline, PipelineOptions, PipelinePolicy, PipelineRequest, PipelineResponse, RawHttpHeaders, RequestBodyType, TransferProgressEvent } from "@azure/core-rest-pipeline"; | ||
/** | ||
* Shape of the default request parameters, this may be overriden by the specific | ||
* Shape of the default request parameters, this may be overridden by the specific | ||
* request types to provide strong types | ||
@@ -166,8 +166,10 @@ */ | ||
* This method will be used to send request that would check the path to provide | ||
* strong types. When used by the codegen this type gets overriden with the generated | ||
* strong types. When used by the codegen this type gets overridden with the generated | ||
* types. For example: | ||
* ```typescript | ||
* ```typescript snippet:path_example | ||
* import { Client, Routes } from "@azure-rest/core-client"; | ||
* | ||
* export type MyClient = Client & { | ||
* path: Routes; | ||
* } | ||
* path: Routes; | ||
* }; | ||
* ``` | ||
@@ -174,0 +176,0 @@ */ |
{ | ||
"name": "@azure-rest/core-client", | ||
"version": "2.2.1-alpha.20240924.1", | ||
"version": "2.2.1-alpha.20240925.5", | ||
"description": "Core library for interfacing with Azure Rest Clients", | ||
@@ -56,7 +56,7 @@ "sdk-type": "client", | ||
"build:test": "echo skipped. actual commands inlined in browser test scripts", | ||
"build": "npm run clean && tshy && dev-tool run extract-api", | ||
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", | ||
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", | ||
"clean": "rimraf --glob dist dist-* temp types *.tgz *.log", | ||
"execute:samples": "echo skipped", | ||
"extract-api": "tshy && dev-tool run extract-api", | ||
"extract-api": "dev-tool run build-package && dev-tool run extract-api", | ||
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\"", | ||
@@ -70,7 +70,8 @@ "integration-test:browser": "echo skipped", | ||
"test:browser": "npm run clean && npm run unit-test:browser && npm run integration-test:browser", | ||
"test:node": "npm run clean && tshy && npm run unit-test:node && npm run integration-test:node", | ||
"test": "npm run clean && tshy && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", | ||
"unit-test:browser": "npm run clean && tshy && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser", | ||
"test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node", | ||
"test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", | ||
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --no-test-proxy --browser", | ||
"unit-test:node": "dev-tool run test:vitest --no-test-proxy", | ||
"unit-test": "npm run unit-test:node && npm run unit-test:browser" | ||
"unit-test": "npm run unit-test:node && npm run unit-test:browser", | ||
"update-snippets": "dev-tool run update-snippets" | ||
}, | ||
@@ -95,3 +96,2 @@ "dependencies": { | ||
"rimraf": "^5.0.5", | ||
"tshy": "^2.0.0", | ||
"typescript": "~5.6.2", | ||
@@ -98,0 +98,0 @@ "vitest": "^2.0.5" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
529785
11
5199