@typespec/http 1.0.0-rc.2-dev.2 → 1.0.0-rc.2-dev.3
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/dist/src/lib.d.ts +2 -2
- package/package.json +4 -4
package/dist/src/lib.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export declare const $lib: import("@typespec/compiler").TypeSpecLibrary<{
|
|
|
95
95
|
"http-file-contents-not-scalar": {
|
|
96
96
|
readonly default: import("@typespec/compiler").CallableMessage<["type"]>;
|
|
97
97
|
};
|
|
98
|
-
}, Record<string, any>, "
|
|
98
|
+
}, Record<string, any>, "path" | "authentication" | "header" | "cookie" | "query" | "body" | "bodyRoot" | "bodyIgnore" | "multipartBody" | "statusCode" | "verbs" | "patchOptions" | "servers" | "includeInapplicableMetadataInPayload" | "externalInterfaces" | "routeProducer" | "routes" | "sharedRoutes" | "routeOptions" | "file" | "httpPart">;
|
|
99
99
|
export declare const reportDiagnostic: <C extends "http-verb-duplicate" | "missing-uri-param" | "incompatible-uri-param" | "use-uri-template" | "double-slash" | "missing-server-param" | "duplicate-body" | "duplicate-route-decorator" | "operation-param-duplicate-type" | "duplicate-operation" | "multiple-status-codes" | "status-code-invalid" | "content-type-string" | "content-type-ignored" | "metadata-ignored" | "response-cookie-not-supported" | "no-service-found" | "invalid-type-for-auth" | "shared-inconsistency" | "multipart-invalid-content-type" | "multipart-model" | "no-implicit-multipart" | "multipart-part" | "multipart-nested" | "http-file-extra-property" | "http-file-disallowed-metadata" | "formdata-no-part-name" | "http-file-structured" | "http-file-content-type-not-string" | "http-file-contents-not-scalar", M extends keyof {
|
|
100
100
|
"http-verb-duplicate": {
|
|
101
101
|
readonly default: import("@typespec/compiler").CallableMessage<["entityName"]>;
|
|
@@ -484,5 +484,5 @@ export declare const reportDiagnostic: <C extends "http-verb-duplicate" | "missi
|
|
|
484
484
|
"http-file-contents-not-scalar": {
|
|
485
485
|
readonly default: import("@typespec/compiler").CallableMessage<["type"]>;
|
|
486
486
|
};
|
|
487
|
-
}, C, M>) => import("@typespec/compiler").Diagnostic, HttpStateKeys: Record<"
|
|
487
|
+
}, C, M>) => import("@typespec/compiler").Diagnostic, HttpStateKeys: Record<"path" | "authentication" | "header" | "cookie" | "query" | "body" | "bodyRoot" | "bodyIgnore" | "multipartBody" | "statusCode" | "verbs" | "patchOptions" | "servers" | "includeInapplicableMetadataInPayload" | "externalInterfaces" | "routeProducer" | "routes" | "sharedRoutes" | "routeOptions" | "file" | "httpPart", symbol>;
|
|
488
488
|
//# sourceMappingURL=lib.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/http",
|
|
3
|
-
"version": "1.0.0-rc.2-dev.
|
|
3
|
+
"version": "1.0.0-rc.2-dev.3",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec HTTP protocol binding",
|
|
6
6
|
"homepage": "https://github.com/microsoft/typespec",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"@typespec/library-linter": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
68
68
|
"@typespec/streams": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
69
69
|
"@typespec/tspd": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
70
|
-
"@vitest/coverage-v8": "^3.
|
|
71
|
-
"@vitest/ui": "^3.
|
|
70
|
+
"@vitest/coverage-v8": "^3.1.2",
|
|
71
|
+
"@vitest/ui": "^3.1.2",
|
|
72
72
|
"c8": "^10.1.3",
|
|
73
73
|
"rimraf": "~6.0.1",
|
|
74
74
|
"typescript": "~5.8.2",
|
|
75
|
-
"vitest": "^3.
|
|
75
|
+
"vitest": "^3.1.2"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {},
|
|
78
78
|
"scripts": {
|