freestyle-sandboxes 0.0.57 → 0.0.59

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.
Files changed (35) hide show
  1. package/.env +1 -0
  2. package/dist/react/dev-server/index.cjs +5 -3
  3. package/dist/react/dev-server/index.mjs +5 -3
  4. package/dist/{types.gen-DyY7Deri.d.ts → types.gen-BoJEFWW-.d.ts} +1 -55
  5. package/package.json +1 -1
  6. package/src/react/dev-server/index.tsx +6 -4
  7. package/src/temp.ts +10 -0
  8. package/dist/index-BBXyg0JQ.cjs +0 -3253
  9. package/dist/index-BQHqnjZK.mjs +0 -3231
  10. package/dist/index-CEEa9WHp.cjs +0 -3238
  11. package/dist/index-D1ulQeJR.mjs +0 -3247
  12. package/dist/index-DCF70Xbq.mjs +0 -3246
  13. package/dist/index-H7UNEAjs.cjs +0 -3254
  14. package/dist/index.d-CXx1AdyW.d.ts +0 -4210
  15. package/dist/types.gen-1sd31qLV.d.ts +0 -172
  16. package/dist/types.gen-627pxroW.d.ts +0 -830
  17. package/dist/types.gen-BCdfx7yt.d.ts +0 -760
  18. package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
  19. package/dist/types.gen-BtK6PMQy.d.ts +0 -195
  20. package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
  21. package/dist/types.gen-BzRtj_TA.d.ts +0 -725
  22. package/dist/types.gen-C03gaIPq.d.ts +0 -297
  23. package/dist/types.gen-CMuCas4r.d.ts +0 -183
  24. package/dist/types.gen-CZUnqmzP.d.ts +0 -789
  25. package/dist/types.gen-CnEkmbco.d.ts +0 -314
  26. package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
  27. package/dist/types.gen-DHmdEOOa.d.ts +0 -172
  28. package/dist/types.gen-DLYohMJT.d.ts +0 -382
  29. package/dist/types.gen-DbTb_SrD.d.ts +0 -156
  30. package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
  31. package/dist/types.gen-MBZCvIhE.d.ts +0 -311
  32. package/dist/types.gen-YhJAHBw8.d.ts +0 -233
  33. package/dist/types.gen-cCnnhnB6.d.ts +0 -182
  34. package/dist/types.gen-mg_JNXrq.d.ts +0 -830
  35. package/dist/types.gen-uDTr6v-7.d.ts +0 -731
@@ -1,156 +0,0 @@
1
- type FreestyleCloudstateDeployConfiguration = {
2
- /**
3
- * ID of the project to deploy, if not provided will create a new project
4
- */
5
- projectId?: (string) | null;
6
- /**
7
- * The environment variables that the cloudstate deploy can access
8
- */
9
- envVars?: {
10
- [key: string]: (string);
11
- };
12
- };
13
- type FreestyleCloudstateDeployErrorResponse = {
14
- message: string;
15
- };
16
- type FreestyleCloudstateDeployRequest = {
17
- classes: string;
18
- config?: FreestyleCloudstateDeployConfiguration;
19
- };
20
- type FreestyleCloudstateDeploySuccessResponse = {
21
- /**
22
- * The id of the project deployed to
23
- */
24
- projectId: string;
25
- };
26
- type FreestyleDeployWebConfiguration = {
27
- /**
28
- * The entrypoint file for the website
29
- */
30
- entrypoint?: (string) | null;
31
- /**
32
- * The custom domains for the website, eg. [\"subdomain.yourwebsite.com\"]. You may not include *.style.dev domains here, those are reserved for projectIds
33
- */
34
- domains?: Array<(string)> | null;
35
- /**
36
- * The project id to deploy to, if not provided will create a new project, may be used to provision a new project with a specific id if that id is available
37
- */
38
- projectId?: (string) | null;
39
- /**
40
- * Node Modules to install for the website, a map of package names to versions, e.g. { \"express\": \"4.17.1\" }. If this and a package-lock.json are provided, the package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock is also provided, the versions here will override the versions in those lock files.
41
- */
42
- nodeModules?: {
43
- [key: string]: (string);
44
- } | null;
45
- /**
46
- * The environment variables that the website can access
47
- * e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
48
- */
49
- envVars?: {
50
- [key: string]: (string);
51
- } | null;
52
- };
53
- type FreestyleDeployWebErrorResponse = {
54
- message: string;
55
- };
56
- type FreestyleDeployWebPayload = {
57
- /**
58
- * The files to deploy, a map of file paths to file contents, e.g. { \"index.js\": {\"content\": \"your main\", \"encoding\": \"utf-8\"}, \"file2.js\": {\"content\": \"your helper\" } }
59
- *
60
- * **Do not include node modules in this bundle, they will not work**. Instead, includes a package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock, the node modules for the project will be installed from that lock file, or use the node_modules field in the configuration to specify the node modules to install.
61
- */
62
- files: {
63
- [key: string]: FreestyleFile;
64
- };
65
- config?: FreestyleDeployWebConfiguration;
66
- };
67
- type FreestyleDeployWebSuccessResponse = {
68
- projectId: string;
69
- };
70
- type FreestyleDomainVerificationRequest = {
71
- domain: string;
72
- };
73
- type FreestyleExecureScriptResultError = {
74
- error: string;
75
- };
76
- type FreestyleExecureScriptResultSuccess = {
77
- result: unknown;
78
- };
79
- type FreestyleExecuteScriptParams = {
80
- /**
81
- * The JavaScript or TypeScript script to execute
82
- */
83
- script: string;
84
- config?: FreestyleExecuteScriptParamsConfiguration;
85
- };
86
- type FreestyleExecuteScriptParamsConfiguration = {
87
- /**
88
- * The environment variables to set for the script
89
- */
90
- envVars?: {
91
- [key: string]: (string);
92
- };
93
- /**
94
- * The node modules to install for the script
95
- */
96
- nodeModules?: {
97
- [key: string]: (string);
98
- };
99
- /**
100
- * Tags for you to organize your scripts, useful for tracking what you're running
101
- */
102
- tags?: Array<(string)>;
103
- /**
104
- * The script timeout
105
- */
106
- timeout?: (string) | null;
107
- };
108
- type FreestyleFile = {
109
- /**
110
- * The content of the file
111
- */
112
- content: string;
113
- /**
114
- * The encoding of the file. Either **utf-8** or **base64**
115
- */
116
- encoding?: string;
117
- };
118
- type FreestyleLogResponseObject = {
119
- message: string;
120
- };
121
- type FreestyleVerifyDomainRequest = {
122
- domain: string;
123
- };
124
- type HandleDeployCloudstateData = {
125
- body: FreestyleCloudstateDeployRequest;
126
- };
127
- type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
128
- type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
129
- type HandleBackupCloudstateResponse = (Array<(number)>);
130
- type HandleBackupCloudstateError = (unknown);
131
- type HandleVerifyDomainData = {
132
- body: FreestyleVerifyDomainRequest;
133
- };
134
- type HandleVerifyDomainResponse = ({
135
- domain: string;
136
- });
137
- type HandleVerifyDomainError = ({
138
- message: string;
139
- });
140
- type HandleCreateDomainVerificationData = {
141
- body: FreestyleDomainVerificationRequest;
142
- };
143
- type HandleExecuteScriptData = {
144
- body: FreestyleExecuteScriptParams;
145
- };
146
- type HandleExecuteScriptResponse = (FreestyleExecureScriptResultSuccess);
147
- type HandleExecuteScriptError = (FreestyleExecureScriptResultError);
148
- type HandleDeployWebData = {
149
- body: FreestyleDeployWebPayload;
150
- };
151
- type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
152
- type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
153
- type HandleGetLogsResponse = (Array<FreestyleLogResponseObject>);
154
- type HandleGetLogsError = unknown;
155
-
156
- export type { HandleExecuteScriptError as A, HandleDeployWebData as B, HandleDeployWebResponse as C, HandleDeployWebError as D, HandleGetLogsError as E, FreestyleExecuteScriptParamsConfiguration as F, HandleBackupCloudstateResponse as H, FreestyleExecureScriptResultSuccess as a, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleVerifyDomainResponse as g, FreestyleCloudstateDeployConfiguration as h, FreestyleCloudstateDeployErrorResponse as i, FreestyleDeployWebErrorResponse as j, FreestyleDeployWebPayload as k, FreestyleDomainVerificationRequest as l, FreestyleExecureScriptResultError as m, FreestyleExecuteScriptParams as n, FreestyleFile as o, FreestyleLogResponseObject as p, FreestyleVerifyDomainRequest as q, HandleDeployCloudstateData as r, HandleDeployCloudstateResponse as s, HandleDeployCloudstateError as t, HandleBackupCloudstateError as u, HandleVerifyDomainData as v, HandleVerifyDomainError as w, HandleCreateDomainVerificationData as x, HandleExecuteScriptData as y, HandleExecuteScriptResponse as z };