@typespec/http 1.0.0-rc.2-dev.7 → 1.0.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/lib/main.tsp +2 -0
- package/package.json +8 -9
package/lib/main.tsp
CHANGED
|
@@ -307,6 +307,7 @@ scalar LinkHeader<T extends Record<url> | Link[]> extends string;
|
|
|
307
307
|
* @patch op update(...MergePatchUpdate<Widget>): Widget;
|
|
308
308
|
* ```
|
|
309
309
|
*/
|
|
310
|
+
@doc("")
|
|
310
311
|
@friendlyName(NameTemplate, T)
|
|
311
312
|
@mediaTypeHint("application/merge-patch+json")
|
|
312
313
|
@applyMergePatch(T, NameTemplate, #{ visibilityMode: Private.MergePatchVisibilityMode.Update })
|
|
@@ -350,6 +351,7 @@ model MergePatchUpdate<
|
|
|
350
351
|
* @patch op update(...MergePatchCreateOrUpdate<Widget>): Widget;
|
|
351
352
|
* ```
|
|
352
353
|
*/
|
|
354
|
+
@doc("")
|
|
353
355
|
@friendlyName(NameTemplate, T)
|
|
354
356
|
@mediaTypeHint("application/merge-patch+json")
|
|
355
357
|
@applyMergePatch(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/http",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec HTTP protocol binding",
|
|
6
6
|
"homepage": "https://github.com/microsoft/typespec",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"!dist/test/**"
|
|
57
57
|
],
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@typespec/compiler": "^1.0.0
|
|
60
|
-
"@typespec/streams": "^0.
|
|
59
|
+
"@typespec/compiler": "^1.0.0",
|
|
60
|
+
"@typespec/streams": "^0.70.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
63
63
|
"@typespec/streams": {
|
|
@@ -66,18 +66,17 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@types/node": "~22.13.11",
|
|
69
|
-
"@typespec/compiler": "^1.0.0-rc.1",
|
|
70
|
-
"@typespec/library-linter": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
71
|
-
"@typespec/streams": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
72
|
-
"@typespec/tspd": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
73
69
|
"@vitest/coverage-v8": "^3.1.2",
|
|
74
70
|
"@vitest/ui": "^3.1.2",
|
|
75
71
|
"c8": "^10.1.3",
|
|
76
72
|
"rimraf": "~6.0.1",
|
|
77
73
|
"typescript": "~5.8.2",
|
|
78
|
-
"vitest": "^3.1.2"
|
|
74
|
+
"vitest": "^3.1.2",
|
|
75
|
+
"@typespec/compiler": "^1.0.0",
|
|
76
|
+
"@typespec/library-linter": "^0.70.0",
|
|
77
|
+
"@typespec/tspd": "^0.70.0",
|
|
78
|
+
"@typespec/streams": "^0.70.0"
|
|
79
79
|
},
|
|
80
|
-
"dependencies": {},
|
|
81
80
|
"scripts": {
|
|
82
81
|
"clean": "rimraf ./dist ./temp",
|
|
83
82
|
"build": "pnpm gen-extern-signature && tsc -p . && pnpm lint-typespec-library",
|