@typespec/compiler 0.59.0-dev.13 → 0.59.0-dev.14
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/dist/manifest.js +2 -2
- package/lib/std/decorators.tsp +11 -0
- package/package.json +1 -1
package/dist/manifest.js
CHANGED
package/lib/std/decorators.tsp
CHANGED
|
@@ -475,6 +475,17 @@ enum BytesKnownEncoding {
|
|
|
475
475
|
base64url: "base64url",
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
+
/**
|
|
479
|
+
* Encoding for serializing arrays
|
|
480
|
+
*/
|
|
481
|
+
enum ArrayEncoding {
|
|
482
|
+
/** Each values of the array is separated by a | */
|
|
483
|
+
pipeDelimited,
|
|
484
|
+
|
|
485
|
+
/** Each values of the array is separated by a <space> */
|
|
486
|
+
spaceDelimited,
|
|
487
|
+
}
|
|
488
|
+
|
|
478
489
|
/**
|
|
479
490
|
* Specify how to encode the target type.
|
|
480
491
|
* @param encodingOrEncodeAs Known name of an encoding or a scalar type to encode as(Only for numeric types to encode as string).
|