@typespec/http
Advanced tools
Comparing version 0.61.0-dev.3 to 0.61.0-dev.4
@@ -83,3 +83,3 @@ export declare const $lib: import("@typespec/compiler").TypeSpecLibrary<{ | ||
}; | ||
}, Record<string, any>, "path" | "file" | "query" | "authentication" | "header" | "body" | "bodyRoot" | "bodyIgnore" | "multipartBody" | "statusCode" | "verbs" | "servers" | "includeInapplicableMetadataInPayload" | "externalInterfaces" | "routeProducer" | "routes" | "sharedRoutes" | "routeOptions" | "httpPart">; | ||
}, Record<string, any>, "file" | "path" | "query" | "authentication" | "header" | "body" | "bodyRoot" | "bodyIgnore" | "multipartBody" | "statusCode" | "verbs" | "servers" | "includeInapplicableMetadataInPayload" | "externalInterfaces" | "routeProducer" | "routes" | "sharedRoutes" | "routeOptions" | "httpPart">; | ||
export declare const reportDiagnostic: <C extends "http-verb-duplicate" | "missing-uri-param" | "incompatible-uri-param" | "use-uri-template" | "optional-path-param" | "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" | "no-service-found" | "invalid-type-for-auth" | "shared-inconsistency" | "write-visibility-not-supported" | "multipart-invalid-content-type" | "multipart-model" | "multipart-part" | "multipart-nested" | "http-file-extra-property" | "formdata-no-part-name" | "header-format-required", M extends keyof { | ||
@@ -413,3 +413,3 @@ "http-verb-duplicate": { | ||
}; | ||
}, C, M>) => import("@typespec/compiler").Diagnostic, HttpStateKeys: Record<"path" | "file" | "query" | "authentication" | "header" | "body" | "bodyRoot" | "bodyIgnore" | "multipartBody" | "statusCode" | "verbs" | "servers" | "includeInapplicableMetadataInPayload" | "externalInterfaces" | "routeProducer" | "routes" | "sharedRoutes" | "routeOptions" | "httpPart", symbol>; | ||
}, C, M>) => import("@typespec/compiler").Diagnostic, HttpStateKeys: Record<"file" | "path" | "query" | "authentication" | "header" | "body" | "bodyRoot" | "bodyIgnore" | "multipartBody" | "statusCode" | "verbs" | "servers" | "includeInapplicableMetadataInPayload" | "externalInterfaces" | "routeProducer" | "routes" | "sharedRoutes" | "routeOptions" | "httpPart", symbol>; | ||
//# sourceMappingURL=lib.d.ts.map |
{ | ||
"name": "@typespec/http", | ||
"version": "0.61.0-dev.3", | ||
"version": "0.61.0-dev.4", | ||
"author": "Microsoft Corporation", | ||
@@ -31,2 +31,7 @@ "description": "TypeSpec HTTP protocol binding", | ||
"default": "./dist/src/testing/index.js" | ||
}, | ||
"./streams": { | ||
"typespec": "./lib/streams/main.tsp", | ||
"types": "./dist/src/streams/index.d.ts", | ||
"default": "./dist/src/streams/index.js" | ||
} | ||
@@ -38,3 +43,3 @@ }, | ||
"files": [ | ||
"lib/*.tsp", | ||
"lib/**/*.tsp", | ||
"dist/**", | ||
@@ -44,4 +49,10 @@ "!dist/test/**" | ||
"peerDependencies": { | ||
"@typespec/compiler": "~0.60.1 || >=0.61.0-dev <0.61.0" | ||
"@typespec/compiler": "~0.60.1 || >=0.61.0-dev <0.61.0", | ||
"@typespec/streams": "~0.60.0 || >=0.61.0-dev <0.61.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@typespec/streams": { | ||
"optional": true | ||
} | ||
}, | ||
"devDependencies": { | ||
@@ -51,2 +62,3 @@ "@types/node": "~22.7.1", | ||
"@typespec/library-linter": "~0.60.0 || >=0.61.0-dev <0.61.0", | ||
"@typespec/streams": "~0.60.0 || >=0.61.0-dev <0.61.0", | ||
"@vitest/coverage-v8": "^2.1.1", | ||
@@ -53,0 +65,0 @@ "@vitest/ui": "^2.1.1", |
347447
112
4425
2
11