@typespec/streams 0.78.0-dev.0 → 0.78.0-dev.1
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,4 +1,4 @@
|
|
|
1
|
-
import type { DecoratorContext, Model, Type } from "@typespec/compiler";
|
|
1
|
+
import type { DecoratorContext, DecoratorValidatorCallbacks, Model, Type } from "@typespec/compiler";
|
|
2
2
|
/**
|
|
3
3
|
* Specify that a model represents a stream protocol type whose data is described
|
|
4
4
|
* by `Type`.
|
|
@@ -17,7 +17,7 @@ import type { DecoratorContext, Model, Type } from "@typespec/compiler";
|
|
|
17
17
|
* }
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export type StreamOfDecorator = (context: DecoratorContext, target: Model, type: Type) => void;
|
|
20
|
+
export type StreamOfDecorator = (context: DecoratorContext, target: Model, type: Type) => DecoratorValidatorCallbacks | void;
|
|
21
21
|
export type TypeSpecStreamsDecorators = {
|
|
22
22
|
streamOf: StreamOfDecorator;
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.Streams.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Streams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TypeSpec.Streams.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Streams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC3B,KAAK,EACL,IAAI,EACL,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAC9B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,EACb,IAAI,EAAE,IAAI,KACP,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,iBAAiB,CAAC;CAC7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/streams",
|
|
3
|
-
"version": "0.78.0-dev.
|
|
3
|
+
"version": "0.78.0-dev.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library providing stream bindings",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"!dist/test/**"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@typespec/compiler": "^1.7.
|
|
42
|
+
"@typespec/compiler": "^1.7.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "~24.10.1",
|
|
46
|
-
"@typespec/compiler": "^1.7.
|
|
46
|
+
"@typespec/compiler": "^1.7.1",
|
|
47
47
|
"@typespec/library-linter": "^0.77.0 || >=0.78.0-dev <0.78.0",
|
|
48
48
|
"@typespec/tspd": "^0.73.2 || >=0.74.0-dev <0.74.0",
|
|
49
49
|
"@vitest/coverage-v8": "^4.0.4",
|