@typespec/compiler 0.50.0-dev.3 → 0.50.0-dev.4
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/lib.tsp +8 -0
- package/package.json +1 -1
package/dist/manifest.js
CHANGED
package/lib/lib.tsp
CHANGED
|
@@ -120,6 +120,14 @@ scalar duration;
|
|
|
120
120
|
*/
|
|
121
121
|
scalar boolean;
|
|
122
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Represent a 32-bit unix timestamp datetime with 1s of granularity.
|
|
125
|
+
* It measures time by the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970.
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
@encode("unixTimestamp", int32)
|
|
129
|
+
scalar unixTimestamp32 extends utcDateTime;
|
|
130
|
+
|
|
123
131
|
/**
|
|
124
132
|
* Represent a model
|
|
125
133
|
*/
|