@typespec/http 0.62.0-dev.7 → 0.62.0-dev.8
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/http.tsp +8 -0
- package/package.json +1 -1
package/lib/http.tsp
CHANGED
|
@@ -120,3 +120,11 @@ model HttpPartOptions {
|
|
|
120
120
|
|
|
121
121
|
@Private.httpPart(Type, Options)
|
|
122
122
|
model HttpPart<Type, Options extends valueof HttpPartOptions = #{}> {}
|
|
123
|
+
|
|
124
|
+
model Link {
|
|
125
|
+
target: url;
|
|
126
|
+
rel: string;
|
|
127
|
+
attributes?: Record<unknown>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
scalar LinkHeader<T extends Record<url> | Link[]> extends string;
|