@uzuhq/code-cli 0.5.7 → 0.5.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.
@@ -0,0 +1,21 @@
1
+ // ../engine-core/src/types.ts
2
+ var SERVER_TIME = "__SERVER_TIME__";
3
+ var DEFAULT_ICON_URLS = [
4
+ "https://imagedelivery.net/htp-D7B2hJT5XtdWYN9e7Q/4d0da24d-bcf2-4f7b-d1a0-f1bb8c747300/original",
5
+ "https://imagedelivery.net/htp-D7B2hJT5XtdWYN9e7Q/8c75fccb-41d6-429d-e943-06c728a72a00/original",
6
+ "https://imagedelivery.net/htp-D7B2hJT5XtdWYN9e7Q/43f45d11-da38-4d6e-637d-3df78e583500/original"
7
+ ];
8
+
9
+ // ../engine-core/src/server-only.ts
10
+ function serverOnly(handler) {
11
+ return Object.assign(handler, { __serverOnly: true });
12
+ }
13
+ function isServerOnlyAction(handler) {
14
+ return typeof handler === "function" && "__serverOnly" in handler && handler.__serverOnly === true;
15
+ }
16
+ export {
17
+ DEFAULT_ICON_URLS,
18
+ SERVER_TIME,
19
+ isServerOnlyAction,
20
+ serverOnly
21
+ };