@azure-tools/typespec-azure-core 0.70.0-dev.1 → 0.71.0-dev.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAGpB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB,EAAE,mBAGjC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAGpB,MAAM,4BAA4B,CAAC;AAEpC,+EAA+E;AAE/E,eAAO,MAAM,oBAAoB,EAAE,mBAGjC,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { createTestLibrary, findTestPackageRoot, } from "@typespec/compiler/testing";
|
|
2
|
+
/** @deprecated Use `createTester` from `@typespec/compiler/testing` instead */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
2
4
|
export const AzureCoreTestLibrary = createTestLibrary({
|
|
3
5
|
name: "@azure-tools/typespec-azure-core",
|
|
4
6
|
packageRoot: await findTestPackageRoot(import.meta.url),
|
|
5
7
|
});
|
|
8
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
6
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/testing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,CAAC,MAAM,oBAAoB,GAAwB,iBAAiB,CAAC;IACzE,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE,MAAM,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;CACxD,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/testing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAEpC,+EAA+E;AAC/E,qDAAqD;AACrD,MAAM,CAAC,MAAM,oBAAoB,GAAwB,iBAAiB,CAAC;IACzE,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE,MAAM,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;CACxD,CAAC,CAAC;AACH,oDAAoD"}
|
package/lib/operations.tsp
CHANGED
|
@@ -156,7 +156,6 @@ interface ResourceOperations<
|
|
|
156
156
|
* @template Traits Object describing the traits of the operation.
|
|
157
157
|
*/
|
|
158
158
|
#suppress "@typespec/http/deprecated-implicit-optionality" "Legacy"
|
|
159
|
-
#suppress "@typespec/http/deprecated-implicit-optionality" "Legacy"
|
|
160
159
|
@Foundations.Private.ensureVerb("ResourceCreateOrUpdate", "PATCH")
|
|
161
160
|
@createsOrUpdatesResource(Resource)
|
|
162
161
|
@parameterVisibility(Lifecycle.Create, Lifecycle.Update)
|
|
@@ -194,7 +193,6 @@ interface ResourceOperations<
|
|
|
194
193
|
* @template Traits Object describing the traits of the operation.
|
|
195
194
|
*/
|
|
196
195
|
#suppress "@typespec/http/deprecated-implicit-optionality" "Legacy"
|
|
197
|
-
#suppress "@typespec/http/deprecated-implicit-optionality" "Legacy"
|
|
198
196
|
@Foundations.Private.ensureVerb("LongRunningResourceCreateOrUpdate", "PATCH")
|
|
199
197
|
@createsOrUpdatesResource(Resource)
|
|
200
198
|
@parameterVisibility(Lifecycle.Create, Lifecycle.Update)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.71.0-dev.0",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Core library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
"!dist/test/**"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@typespec/compiler": "^1.
|
|
51
|
-
"@typespec/http": "^1.
|
|
52
|
-
"@typespec/rest": "^0.
|
|
50
|
+
"@typespec/compiler": "^1.14.0",
|
|
51
|
+
"@typespec/http": "^1.14.0",
|
|
52
|
+
"@typespec/rest": "^0.84.0 || >=0.85.0-dev <0.85.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/node": "^26.0.0",
|
|
56
|
-
"@typespec/compiler": "^1.
|
|
57
|
-
"@typespec/http": "^1.
|
|
58
|
-
"@typespec/library-linter": "^0.
|
|
59
|
-
"@typespec/openapi": "^1.
|
|
60
|
-
"@typespec/rest": "^0.
|
|
61
|
-
"@typespec/tspd": "^0.
|
|
62
|
-
"@typespec/versioning": "^0.
|
|
56
|
+
"@typespec/compiler": "^1.14.0",
|
|
57
|
+
"@typespec/http": "^1.14.0",
|
|
58
|
+
"@typespec/library-linter": "^0.84.0 || >=0.85.0-dev <0.85.0",
|
|
59
|
+
"@typespec/openapi": "^1.14.0",
|
|
60
|
+
"@typespec/rest": "^0.84.0 || >=0.85.0-dev <0.85.0",
|
|
61
|
+
"@typespec/tspd": "^0.76.0 || >=0.77.0-dev <0.77.0",
|
|
62
|
+
"@typespec/versioning": "^0.84.0 || >=0.85.0-dev <0.85.0",
|
|
63
63
|
"@vitest/coverage-v8": "^4.1.3",
|
|
64
64
|
"@vitest/ui": "^4.1.3",
|
|
65
65
|
"rimraf": "^6.1.3",
|