freestyle-sandboxes 0.0.94 → 0.0.95
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/ai/inde.d.cts +1 -1
- package/dist/ai/inde.d.mts +1 -1
- package/dist/ai/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- package/dist/inde.d.cts +5 -4
- package/dist/inde.d.mts +5 -4
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.mjs +4 -2
- package/dist/langgraph/inde.d.cts +1 -1
- package/dist/langgraph/inde.d.mts +1 -1
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/inde.d.cts +1 -1
- package/dist/mastra/inde.d.mts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/{types.gen--Oxc46AH.d.ts → types.gen-DKjMRuu5.d.ts} +335 -23
- package/dist/utils/inde.d.cts +1 -1
- package/dist/utils/inde.d.mts +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/sdk.gen.ts +234 -1
- package/openapi/types.gen.ts +382 -22
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +4 -1
- package/dist/index-BBXyg0JQ.cjs +0 -3253
- package/dist/index-BQHqnjZK.mjs +0 -3231
- package/dist/index-CEEa9WHp.cjs +0 -3238
- package/dist/index-D1ulQeJR.mjs +0 -3247
- package/dist/index-DCF70Xbq.mjs +0 -3246
- package/dist/index-H7UNEAjs.cjs +0 -3254
- package/dist/index.d-CXx1AdyW.d.ts +0 -4210
- package/dist/types.gen-1sd31qLV.d.ts +0 -172
- package/dist/types.gen-627pxroW.d.ts +0 -830
- package/dist/types.gen-BCdfx7yt.d.ts +0 -760
- package/dist/types.gen-BVXmFV7d.d.ts +0 -1299
- package/dist/types.gen-BWwhCgTX.d.ts +0 -1462
- package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
- package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
- package/dist/types.gen-BpWMzgc3.d.ts +0 -1493
- package/dist/types.gen-BqN1t03N.d.ts +0 -842
- package/dist/types.gen-BtK6PMQy.d.ts +0 -195
- package/dist/types.gen-BuhQ5LpB.d.ts +0 -764
- package/dist/types.gen-BzRtj_TA.d.ts +0 -725
- package/dist/types.gen-C03gaIPq.d.ts +0 -297
- package/dist/types.gen-CG8tIO9M.d.ts +0 -1493
- package/dist/types.gen-CIf3ciN7.d.ts +0 -807
- package/dist/types.gen-CMuCas4r.d.ts +0 -183
- package/dist/types.gen-CWa4Mw0J.d.ts +0 -1493
- package/dist/types.gen-CZUnqmzP.d.ts +0 -789
- package/dist/types.gen-CnEkmbco.d.ts +0 -314
- package/dist/types.gen-DDYpuDzZ.d.ts +0 -764
- package/dist/types.gen-DHmdEOOa.d.ts +0 -172
- package/dist/types.gen-DLYohMJT.d.ts +0 -382
- package/dist/types.gen-DbTb_SrD.d.ts +0 -156
- package/dist/types.gen-DkFlXKTr.d.ts +0 -1354
- package/dist/types.gen-DkQ-Dbs1.d.ts +0 -764
- package/dist/types.gen-DyY7Deri.d.ts +0 -138
- package/dist/types.gen-MBZCvIhE.d.ts +0 -311
- package/dist/types.gen-YhJAHBw8.d.ts +0 -233
- package/dist/types.gen-cCnnhnB6.d.ts +0 -182
- package/dist/types.gen-mg_JNXrq.d.ts +0 -830
- 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 };
|