@typespec/rest 0.77.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,9 +1,9 @@
|
|
|
1
|
-
import type { DecoratorContext, Model, ModelProperty, Operation, Scalar, Type } from "@typespec/compiler";
|
|
2
|
-
export type ResourceLocationDecorator = (context: DecoratorContext, target: Scalar, resourceType: Model) => void;
|
|
3
|
-
export type ValidateHasKeyDecorator = (context: DecoratorContext, target: Type, value: Type) => void;
|
|
4
|
-
export type ValidateIsErrorDecorator = (context: DecoratorContext, target: Type, value: Type) => void;
|
|
5
|
-
export type ActionSegmentDecorator = (context: DecoratorContext, target: Operation, value: string) => void;
|
|
6
|
-
export type ResourceTypeForKeyParamDecorator = (context: DecoratorContext, entity: ModelProperty, resourceType: Model) => void;
|
|
1
|
+
import type { DecoratorContext, DecoratorValidatorCallbacks, Model, ModelProperty, Operation, Scalar, Type } from "@typespec/compiler";
|
|
2
|
+
export type ResourceLocationDecorator = (context: DecoratorContext, target: Scalar, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
3
|
+
export type ValidateHasKeyDecorator = (context: DecoratorContext, target: Type, value: Type) => DecoratorValidatorCallbacks | void;
|
|
4
|
+
export type ValidateIsErrorDecorator = (context: DecoratorContext, target: Type, value: Type) => DecoratorValidatorCallbacks | void;
|
|
5
|
+
export type ActionSegmentDecorator = (context: DecoratorContext, target: Operation, value: string) => DecoratorValidatorCallbacks | void;
|
|
6
|
+
export type ResourceTypeForKeyParamDecorator = (context: DecoratorContext, entity: ModelProperty, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
7
7
|
export type TypeSpecRestPrivateDecorators = {
|
|
8
8
|
resourceLocation: ResourceLocationDecorator;
|
|
9
9
|
validateHasKey: ValidateHasKeyDecorator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.Rest.Private.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Rest.Private.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,yBAAyB,GAAG,CACtC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,KAAK,KAChB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"TypeSpec.Rest.Private.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Rest.Private.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC3B,KAAK,EACL,aAAa,EACb,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,yBAAyB,GAAG,CACtC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,KAAK,KAChB,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,uBAAuB,GAAG,CACpC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,IAAI,KACR,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,wBAAwB,GAAG,CACrC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,IAAI,KACR,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,sBAAsB,GAAG,CACnC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,EACjB,KAAK,EAAE,MAAM,KACV,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,gCAAgC,GAAG,CAC7C,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,KAAK,KAChB,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,6BAA6B,GAAG;IAC1C,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,cAAc,EAAE,uBAAuB,CAAC;IACxC,eAAe,EAAE,wBAAwB,CAAC;IAC1C,aAAa,EAAE,sBAAsB,CAAC;IACtC,uBAAuB,EAAE,gCAAgC,CAAC;CAC3D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DecoratorContext, Interface, Model, ModelProperty, Operation } from "@typespec/compiler";
|
|
1
|
+
import type { DecoratorContext, DecoratorValidatorCallbacks, Interface, Model, ModelProperty, Operation } from "@typespec/compiler";
|
|
2
2
|
/**
|
|
3
3
|
* This interface or operation should resolve its route automatically. To be used with resource types where the route segments area defined on the models.
|
|
4
4
|
*
|
|
@@ -10,7 +10,7 @@ import type { DecoratorContext, Interface, Model, ModelProperty, Operation } fro
|
|
|
10
10
|
* }
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
|
-
export type AutoRouteDecorator = (context: DecoratorContext, target: Interface | Operation) => void;
|
|
13
|
+
export type AutoRouteDecorator = (context: DecoratorContext, target: Interface | Operation) => DecoratorValidatorCallbacks | void;
|
|
14
14
|
/**
|
|
15
15
|
* Defines the preceding path segment for a
|
|
16
16
|
*
|
|
@@ -26,31 +26,31 @@ export type AutoRouteDecorator = (context: DecoratorContext, target: Interface |
|
|
|
26
26
|
* @path id: string): void; //-> route: /pets/{id}
|
|
27
27
|
* }
|
|
28
28
|
*/
|
|
29
|
-
export type SegmentDecorator = (context: DecoratorContext, target: Model | ModelProperty | Operation, name: string) => void;
|
|
29
|
+
export type SegmentDecorator = (context: DecoratorContext, target: Model | ModelProperty | Operation, name: string) => DecoratorValidatorCallbacks | void;
|
|
30
30
|
/**
|
|
31
31
|
* Returns the URL segment of a given model if it has `@segment` and `@key` decorator.
|
|
32
32
|
*
|
|
33
33
|
* @param type Target model
|
|
34
34
|
*/
|
|
35
|
-
export type SegmentOfDecorator = (context: DecoratorContext, target: Operation, type: Model) => void;
|
|
35
|
+
export type SegmentOfDecorator = (context: DecoratorContext, target: Operation, type: Model) => DecoratorValidatorCallbacks | void;
|
|
36
36
|
/**
|
|
37
37
|
* Defines the separator string that is inserted before the action name in auto-generated routes for actions.
|
|
38
38
|
*
|
|
39
39
|
* @param seperator Seperator seperating the action segment from the rest of the url
|
|
40
40
|
*/
|
|
41
|
-
export type ActionSeparatorDecorator = (context: DecoratorContext, target: Model | ModelProperty | Operation, seperator: "/" | ":" | "/:") => void;
|
|
41
|
+
export type ActionSeparatorDecorator = (context: DecoratorContext, target: Model | ModelProperty | Operation, seperator: "/" | ":" | "/:") => DecoratorValidatorCallbacks | void;
|
|
42
42
|
/**
|
|
43
43
|
* Mark this model as a resource type with a name.
|
|
44
44
|
*
|
|
45
45
|
* @param collectionName type's collection name
|
|
46
46
|
*/
|
|
47
|
-
export type ResourceDecorator = (context: DecoratorContext, target: Model, collectionName: string) => void;
|
|
47
|
+
export type ResourceDecorator = (context: DecoratorContext, target: Model, collectionName: string) => DecoratorValidatorCallbacks | void;
|
|
48
48
|
/**
|
|
49
49
|
* Mark model as a child of the given parent resource.
|
|
50
50
|
*
|
|
51
51
|
* @param parent Parent model.
|
|
52
52
|
*/
|
|
53
|
-
export type ParentResourceDecorator = (context: DecoratorContext, target: Model, parent: Model) => void;
|
|
53
|
+
export type ParentResourceDecorator = (context: DecoratorContext, target: Model, parent: Model) => DecoratorValidatorCallbacks | void;
|
|
54
54
|
/**
|
|
55
55
|
* Specify that this is a Read operation for a given resource.
|
|
56
56
|
*
|
|
@@ -59,7 +59,7 @@ export type ParentResourceDecorator = (context: DecoratorContext, target: Model,
|
|
|
59
59
|
*
|
|
60
60
|
*
|
|
61
61
|
*/
|
|
62
|
-
export type ReadsResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
62
|
+
export type ReadsResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
63
63
|
/**
|
|
64
64
|
* Specify that this is a Create operation for a given resource.
|
|
65
65
|
*
|
|
@@ -68,7 +68,7 @@ export type ReadsResourceDecorator = (context: DecoratorContext, target: Operati
|
|
|
68
68
|
*
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
|
-
export type CreatesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
71
|
+
export type CreatesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
72
72
|
/**
|
|
73
73
|
* Specify that this is a CreateOrReplace operation for a given resource.
|
|
74
74
|
*
|
|
@@ -77,7 +77,7 @@ export type CreatesResourceDecorator = (context: DecoratorContext, target: Opera
|
|
|
77
77
|
*
|
|
78
78
|
*
|
|
79
79
|
*/
|
|
80
|
-
export type CreatesOrReplacesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
80
|
+
export type CreatesOrReplacesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
81
81
|
/**
|
|
82
82
|
* Specify that this is a CreatesOrUpdate operation for a given resource.
|
|
83
83
|
*
|
|
@@ -86,7 +86,7 @@ export type CreatesOrReplacesResourceDecorator = (context: DecoratorContext, tar
|
|
|
86
86
|
*
|
|
87
87
|
*
|
|
88
88
|
*/
|
|
89
|
-
export type CreatesOrUpdatesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
89
|
+
export type CreatesOrUpdatesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
90
90
|
/**
|
|
91
91
|
* Specify that this is a Update operation for a given resource.
|
|
92
92
|
*
|
|
@@ -95,7 +95,7 @@ export type CreatesOrUpdatesResourceDecorator = (context: DecoratorContext, targ
|
|
|
95
95
|
*
|
|
96
96
|
*
|
|
97
97
|
*/
|
|
98
|
-
export type UpdatesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
98
|
+
export type UpdatesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
99
99
|
/**
|
|
100
100
|
* Specify that this is a Delete operation for a given resource.
|
|
101
101
|
*
|
|
@@ -104,7 +104,7 @@ export type UpdatesResourceDecorator = (context: DecoratorContext, target: Opera
|
|
|
104
104
|
*
|
|
105
105
|
*
|
|
106
106
|
*/
|
|
107
|
-
export type DeletesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
107
|
+
export type DeletesResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
108
108
|
/**
|
|
109
109
|
* Specify that this is a List operation for a given resource.
|
|
110
110
|
*
|
|
@@ -113,13 +113,13 @@ export type DeletesResourceDecorator = (context: DecoratorContext, target: Opera
|
|
|
113
113
|
*
|
|
114
114
|
*
|
|
115
115
|
*/
|
|
116
|
-
export type ListsResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => void;
|
|
116
|
+
export type ListsResourceDecorator = (context: DecoratorContext, target: Operation, resourceType: Model) => DecoratorValidatorCallbacks | void;
|
|
117
117
|
/**
|
|
118
118
|
* Specify this operation is an action. (Scoped to a resource item /pets/{petId}/my-action)
|
|
119
119
|
*
|
|
120
120
|
* @param name Name of the action. If not specified, the name of the operation will be used.
|
|
121
121
|
*/
|
|
122
|
-
export type ActionDecorator = (context: DecoratorContext, target: Operation, name?: string) => void;
|
|
122
|
+
export type ActionDecorator = (context: DecoratorContext, target: Operation, name?: string) => DecoratorValidatorCallbacks | void;
|
|
123
123
|
/**
|
|
124
124
|
* Specify this operation is a collection action. (Scopped to a resource, /pets/my-action)
|
|
125
125
|
*
|
|
@@ -129,13 +129,13 @@ export type ActionDecorator = (context: DecoratorContext, target: Operation, nam
|
|
|
129
129
|
*
|
|
130
130
|
* @param name Name of the action. If not specified, the name of the operation will be used.
|
|
131
131
|
*/
|
|
132
|
-
export type CollectionActionDecorator = (context: DecoratorContext, target: Operation, resourceType: Model, name?: string) => void;
|
|
132
|
+
export type CollectionActionDecorator = (context: DecoratorContext, target: Operation, resourceType: Model, name?: string) => DecoratorValidatorCallbacks | void;
|
|
133
133
|
/**
|
|
134
134
|
* Copy the resource key parameters on the model
|
|
135
135
|
*
|
|
136
136
|
* @param filter Filter to exclude certain properties.
|
|
137
137
|
*/
|
|
138
|
-
export type CopyResourceKeyParametersDecorator = (context: DecoratorContext, target: Model, filter?: string) => void;
|
|
138
|
+
export type CopyResourceKeyParametersDecorator = (context: DecoratorContext, target: Model, filter?: string) => DecoratorValidatorCallbacks | void;
|
|
139
139
|
export type TypeSpecRestDecorators = {
|
|
140
140
|
autoRoute: AutoRouteDecorator;
|
|
141
141
|
segment: SegmentDecorator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.Rest.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Rest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACV,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"TypeSpec.Rest.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.Rest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC3B,SAAS,EACT,KAAK,EACL,aAAa,EACb,SAAS,EACV,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAC/B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,SAAS,GAAG,SAAS,KAC1B,2BAA2B,GAAG,IAAI,CAAC;AAExC;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAC7B,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,aAAa,GAAG,SAAS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C9B,eAAe,EAAE,wBAAwB,CAAC;IAC1C,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,cAAc,EAAE,uBAAuB,CAAC;IACxC,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,wBAAwB,CAAC;IAC1C,yBAAyB,EAAE,kCAAkC,CAAC;IAC9D,wBAAwB,EAAE,iCAAiC,CAAC;IAC5D,eAAe,EAAE,wBAAwB,CAAC;IAC1C,eAAe,EAAE,wBAAwB,CAAC;IAC1C,aAAa,EAAE,sBAAsB,CAAC;IACtC,MAAM,EAAE,eAAe,CAAC;IACxB,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,yBAAyB,EAAE,kCAAkC,CAAC;CAC/D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/rest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.0-dev.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec REST protocol binding",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -39,22 +39,23 @@
|
|
|
39
39
|
"!dist/test/**"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@typespec/
|
|
43
|
-
"@typespec/
|
|
42
|
+
"@typespec/compiler": "^1.7.1",
|
|
43
|
+
"@typespec/http": "^1.7.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "~24.10.1",
|
|
47
|
+
"@typespec/compiler": "^1.7.1",
|
|
48
|
+
"@typespec/http": "^1.7.0",
|
|
49
|
+
"@typespec/library-linter": "^0.77.0 || >=0.78.0-dev <0.78.0",
|
|
50
|
+
"@typespec/tspd": "^0.73.2 || >=0.74.0-dev <0.74.0",
|
|
47
51
|
"@vitest/coverage-v8": "^4.0.4",
|
|
48
52
|
"@vitest/ui": "^4.0.4",
|
|
49
53
|
"c8": "^10.1.3",
|
|
50
54
|
"rimraf": "~6.1.2",
|
|
51
55
|
"typescript": "~5.9.2",
|
|
52
|
-
"vitest": "^4.0.4"
|
|
53
|
-
"@typespec/compiler": "^1.7.0",
|
|
54
|
-
"@typespec/http": "^1.7.0",
|
|
55
|
-
"@typespec/library-linter": "^0.77.0",
|
|
56
|
-
"@typespec/tspd": "^0.73.2"
|
|
56
|
+
"vitest": "^4.0.4"
|
|
57
57
|
},
|
|
58
|
+
"dependencies": {},
|
|
58
59
|
"scripts": {
|
|
59
60
|
"clean": "rimraf ./dist ./temp",
|
|
60
61
|
"build": "pnpm gen-extern-signature && tsc -p . && pnpm lint-typespec-library",
|