@typespec/protobuf 0.54.0-dev.1 → 0.54.0
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/CHANGELOG.md +7 -0
- package/README.md +14 -14
- package/coverage/cobertura-coverage.xml +2195 -0
- package/coverage/coverage-final.json +7 -0
- package/package.json +5 -6
- package/temp/tsconfig.tsbuildinfo +1 -1
- package/test-results.xml +71 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -71,9 +71,9 @@ The field index of a Protobuf message must:
|
|
|
71
71
|
|
|
72
72
|
##### Parameters
|
|
73
73
|
|
|
74
|
-
| Name | Type
|
|
75
|
-
| ----- |
|
|
76
|
-
| index | `valueof
|
|
74
|
+
| Name | Type | Description |
|
|
75
|
+
| ----- | ---------------- | ------------------------------------ |
|
|
76
|
+
| index | `valueof uint32` | The whole-number index of the field. |
|
|
77
77
|
|
|
78
78
|
##### Examples
|
|
79
79
|
|
|
@@ -101,7 +101,7 @@ This decorator will force the emitter to check and emit a model.
|
|
|
101
101
|
|
|
102
102
|
##### Target
|
|
103
103
|
|
|
104
|
-
`
|
|
104
|
+
`{}`
|
|
105
105
|
|
|
106
106
|
##### Parameters
|
|
107
107
|
|
|
@@ -122,9 +122,9 @@ single Protobuf file.
|
|
|
122
122
|
|
|
123
123
|
##### Parameters
|
|
124
124
|
|
|
125
|
-
| Name | Type
|
|
126
|
-
| ------- |
|
|
127
|
-
| details | `
|
|
125
|
+
| Name | Type | Description |
|
|
126
|
+
| ------- | ----------------------------------- | ----------------------------------- |
|
|
127
|
+
| details | [`PackageDetails`](#packagedetails) | the optional details of the package |
|
|
128
128
|
|
|
129
129
|
#### `@reserve`
|
|
130
130
|
|
|
@@ -155,13 +155,13 @@ information.
|
|
|
155
155
|
|
|
156
156
|
##### Target
|
|
157
157
|
|
|
158
|
-
`
|
|
158
|
+
`{}`
|
|
159
159
|
|
|
160
160
|
##### Parameters
|
|
161
161
|
|
|
162
|
-
| Name | Type
|
|
163
|
-
| ------------ |
|
|
164
|
-
| reservations | `valueof
|
|
162
|
+
| Name | Type | Description |
|
|
163
|
+
| ------------ | ------------------------------------------------ | ---------------------------- |
|
|
164
|
+
| reservations | `valueof string \| [uint32, uint32] \| uint32[]` | a list of field reservations |
|
|
165
165
|
|
|
166
166
|
##### Examples
|
|
167
167
|
|
|
@@ -204,9 +204,9 @@ Set the streaming mode of an operation. See [StreamMode](./data-types#TypeSpec.P
|
|
|
204
204
|
|
|
205
205
|
##### Parameters
|
|
206
206
|
|
|
207
|
-
| Name | Type
|
|
208
|
-
| ---- |
|
|
209
|
-
| mode | `
|
|
207
|
+
| Name | Type | Description |
|
|
208
|
+
| ---- | --------------------------- | ---------------------------------------------- |
|
|
209
|
+
| mode | [`StreamMode`](#streammode) | The streaming mode to apply to this operation. |
|
|
210
210
|
|
|
211
211
|
##### Examples
|
|
212
212
|
|