@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 CHANGED
@@ -1,4 +1,4 @@
1
1
  export default {
2
- "version": "0.50.0-dev.3",
3
- "commit": "7d104581ef253380dc05a28d5f8b949369c8842f"
2
+ "version": "0.50.0-dev.4",
3
+ "commit": "8d24f2f5713c91190782a9cf8de0cbd27754cff4"
4
4
  };
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/compiler",
3
- "version": "0.50.0-dev.3",
3
+ "version": "0.50.0-dev.4",
4
4
  "description": "TypeSpec Compiler Preview",
5
5
  "author": "Microsoft Corporation",
6
6
  "license": "MIT",