freestyle-sandboxes 0.0.83 → 0.0.85
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 +45 -4
- package/dist/inde.d.mts +45 -4
- package/dist/{index-CGc0kRd_.cjs → index-BBXyg0JQ.cjs} +5 -9
- package/dist/index-BQHqnjZK.mjs +3231 -0
- package/dist/index-CEEa9WHp.cjs +3238 -0
- package/dist/{index-jh-93svX.mjs → index-DCF70Xbq.mjs} +5 -9
- package/dist/index.cjs +172 -9
- package/dist/index.d.cts +45 -4
- package/dist/index.d.mts +45 -4
- package/dist/index.mjs +172 -9
- 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-1sd31qLV.d.ts +172 -0
- package/dist/types.gen-627pxroW.d.ts +830 -0
- package/dist/types.gen-BCdfx7yt.d.ts +760 -0
- package/dist/{types.gen-0bQ5Wn0o.d.ts → types.gen-BVXmFV7d.d.ts} +17 -18
- package/dist/types.gen-BWwhCgTX.d.ts +1462 -0
- package/dist/types.gen-BaMKzqxQ.d.ts +233 -0
- package/dist/types.gen-BbekD8Sd.d.ts +1119 -0
- package/dist/types.gen-BqN1t03N.d.ts +842 -0
- package/dist/types.gen-BtK6PMQy.d.ts +195 -0
- package/dist/types.gen-C03gaIPq.d.ts +297 -0
- package/dist/{types.gen-BJArgpto.d.ts → types.gen-CIf3ciN7.d.ts} +5 -2
- package/dist/types.gen-CMuCas4r.d.ts +183 -0
- package/dist/{types.gen-DxZanGNF.d.ts → types.gen-CZUnqmzP.d.ts} +6 -9
- package/dist/types.gen-CnEkmbco.d.ts +314 -0
- package/dist/types.gen-DDYpuDzZ.d.ts +764 -0
- package/dist/types.gen-DHmdEOOa.d.ts +172 -0
- package/dist/{types.gen-CfrGF-JI.d.ts → types.gen-DLYohMJT.d.ts} +1 -1
- package/dist/types.gen-DbTb_SrD.d.ts +156 -0
- package/dist/types.gen-DkQ-Dbs1.d.ts +764 -0
- package/dist/types.gen-DyY7Deri.d.ts +138 -0
- package/dist/types.gen-MBZCvIhE.d.ts +311 -0
- package/dist/types.gen-YhJAHBw8.d.ts +233 -0
- package/dist/types.gen-cCnnhnB6.d.ts +182 -0
- package/dist/types.gen-mg_JNXrq.d.ts +830 -0
- package/dist/types.gen-uDTr6v-7.d.ts +731 -0
- 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/package.json +1 -1
- package/src/index.ts +44 -44
|
@@ -0,0 +1,195 @@
|
|
|
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 include a single *.style.dev domain here.
|
|
33
|
+
*/
|
|
34
|
+
domains?: Array<(string)> | null;
|
|
35
|
+
/**
|
|
36
|
+
* Project ID was our original way of tracking deployments together, it is now deprecated and will be removed in the future. Please use the domains field to specify the domains for your project.
|
|
37
|
+
* @deprecated
|
|
38
|
+
*/
|
|
39
|
+
projectId?: (string) | null;
|
|
40
|
+
/**
|
|
41
|
+
* 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.
|
|
42
|
+
*/
|
|
43
|
+
nodeModules?: {
|
|
44
|
+
[key: string]: (string);
|
|
45
|
+
} | null;
|
|
46
|
+
/**
|
|
47
|
+
* The environment variables that the website can access
|
|
48
|
+
* e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
|
|
49
|
+
*/
|
|
50
|
+
envVars?: {
|
|
51
|
+
[key: string]: (string);
|
|
52
|
+
} | null;
|
|
53
|
+
};
|
|
54
|
+
type FreestyleDeployWebErrorResponse = {
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
type FreestyleDeployWebPayload = {
|
|
58
|
+
/**
|
|
59
|
+
* 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\" } }
|
|
60
|
+
*
|
|
61
|
+
* **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.
|
|
62
|
+
*/
|
|
63
|
+
files: {
|
|
64
|
+
[key: string]: FreestyleFile;
|
|
65
|
+
};
|
|
66
|
+
config?: FreestyleDeployWebConfiguration;
|
|
67
|
+
};
|
|
68
|
+
type FreestyleDeployWebSuccessResponse = {
|
|
69
|
+
deploymentId: string;
|
|
70
|
+
};
|
|
71
|
+
type FreestyleDomainVerificationRequest = {
|
|
72
|
+
/**
|
|
73
|
+
* The domain to create a verification code for
|
|
74
|
+
*/
|
|
75
|
+
domain: string;
|
|
76
|
+
};
|
|
77
|
+
type FreestyleExecureScriptResultError = {
|
|
78
|
+
error: string;
|
|
79
|
+
};
|
|
80
|
+
type FreestyleExecureScriptResultSuccess = {
|
|
81
|
+
result: unknown;
|
|
82
|
+
logs: Array<JavaScriptLog>;
|
|
83
|
+
};
|
|
84
|
+
type FreestyleExecuteScriptParams = {
|
|
85
|
+
/**
|
|
86
|
+
* The JavaScript or TypeScript script to execute
|
|
87
|
+
*/
|
|
88
|
+
script: string;
|
|
89
|
+
config?: FreestyleExecuteScriptParamsConfiguration;
|
|
90
|
+
};
|
|
91
|
+
type FreestyleExecuteScriptParamsConfiguration = {
|
|
92
|
+
/**
|
|
93
|
+
* The environment variables to set for the script
|
|
94
|
+
*/
|
|
95
|
+
envVars?: {
|
|
96
|
+
[key: string]: (string);
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* The node modules to install for the script
|
|
100
|
+
*/
|
|
101
|
+
nodeModules?: {
|
|
102
|
+
[key: string]: (string);
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Tags for you to organize your scripts, useful for tracking what you're running
|
|
106
|
+
*/
|
|
107
|
+
tags?: Array<(string)>;
|
|
108
|
+
/**
|
|
109
|
+
* The script timeout
|
|
110
|
+
*/
|
|
111
|
+
timeout?: (string) | null;
|
|
112
|
+
};
|
|
113
|
+
type FreestyleFile = {
|
|
114
|
+
/**
|
|
115
|
+
* The content of the file
|
|
116
|
+
*/
|
|
117
|
+
content: string;
|
|
118
|
+
/**
|
|
119
|
+
* The encoding of the file. Either **utf-8** or **base64**
|
|
120
|
+
*/
|
|
121
|
+
encoding?: string;
|
|
122
|
+
};
|
|
123
|
+
type FreestyleLogResponseObject = {
|
|
124
|
+
message: string;
|
|
125
|
+
};
|
|
126
|
+
type FreestyleVerifyDomainRequest = {
|
|
127
|
+
domain: string;
|
|
128
|
+
};
|
|
129
|
+
type JavaScriptLog = {
|
|
130
|
+
/**
|
|
131
|
+
* The log message
|
|
132
|
+
*/
|
|
133
|
+
message: string;
|
|
134
|
+
/**
|
|
135
|
+
* The log level
|
|
136
|
+
*/
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
type HandleDeployCloudstateData = {
|
|
140
|
+
body: FreestyleCloudstateDeployRequest;
|
|
141
|
+
};
|
|
142
|
+
type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
|
|
143
|
+
type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
|
|
144
|
+
type HandleBackupCloudstateData = {
|
|
145
|
+
path: {
|
|
146
|
+
id: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
type HandleBackupCloudstateResponse = (Array<(number)>);
|
|
150
|
+
type HandleBackupCloudstateError = (unknown);
|
|
151
|
+
type HandleListDomainsResponse = (Array<{
|
|
152
|
+
domain: string;
|
|
153
|
+
createdAt: number;
|
|
154
|
+
}>);
|
|
155
|
+
type HandleListDomainsError = ({
|
|
156
|
+
message: string;
|
|
157
|
+
});
|
|
158
|
+
type HandleVerifyDomainData = {
|
|
159
|
+
body: FreestyleVerifyDomainRequest;
|
|
160
|
+
};
|
|
161
|
+
type HandleVerifyDomainResponse = ({
|
|
162
|
+
domain: string;
|
|
163
|
+
});
|
|
164
|
+
type HandleVerifyDomainError = ({
|
|
165
|
+
message: string;
|
|
166
|
+
});
|
|
167
|
+
type HandleCreateDomainVerificationData = {
|
|
168
|
+
body: FreestyleDomainVerificationRequest;
|
|
169
|
+
};
|
|
170
|
+
type HandleCreateDomainVerificationResponse = ({
|
|
171
|
+
verificationCode: string;
|
|
172
|
+
domain: string;
|
|
173
|
+
});
|
|
174
|
+
type HandleCreateDomainVerificationError = ({
|
|
175
|
+
message: string;
|
|
176
|
+
});
|
|
177
|
+
type HandleExecuteScriptData = {
|
|
178
|
+
body: FreestyleExecuteScriptParams;
|
|
179
|
+
};
|
|
180
|
+
type HandleExecuteScriptResponse = (FreestyleExecureScriptResultSuccess);
|
|
181
|
+
type HandleExecuteScriptError = (FreestyleExecureScriptResultError);
|
|
182
|
+
type HandleDeployWebData = {
|
|
183
|
+
body: FreestyleDeployWebPayload;
|
|
184
|
+
};
|
|
185
|
+
type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
|
|
186
|
+
type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
|
|
187
|
+
type HandleGetLogsData = {
|
|
188
|
+
path: {
|
|
189
|
+
id: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
type HandleGetLogsResponse = (Array<FreestyleLogResponseObject>);
|
|
193
|
+
type HandleGetLogsError = unknown;
|
|
194
|
+
|
|
195
|
+
export type { HandleVerifyDomainError as A, HandleCreateDomainVerificationData as B, HandleCreateDomainVerificationError as C, HandleExecuteScriptData as D, HandleExecuteScriptResponse as E, FreestyleExecuteScriptParamsConfiguration as F, HandleExecuteScriptError as G, HandleBackupCloudstateResponse as H, HandleDeployWebData as I, JavaScriptLog as J, HandleDeployWebResponse as K, HandleDeployWebError as L, HandleGetLogsData as M, HandleGetLogsError as N, FreestyleExecureScriptResultSuccess as a, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleListDomainsResponse as i, FreestyleCloudstateDeployConfiguration as j, FreestyleCloudstateDeployErrorResponse as k, FreestyleDeployWebErrorResponse as l, FreestyleDeployWebPayload as m, FreestyleDomainVerificationRequest as n, FreestyleExecureScriptResultError as o, FreestyleExecuteScriptParams as p, FreestyleFile as q, FreestyleLogResponseObject as r, FreestyleVerifyDomainRequest as s, HandleDeployCloudstateData as t, HandleDeployCloudstateResponse as u, HandleDeployCloudstateError as v, HandleBackupCloudstateData as w, HandleBackupCloudstateError as x, HandleListDomainsError as y, HandleVerifyDomainData as z };
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
type DeploymentLogEntry = {
|
|
2
|
+
deploymentId: string;
|
|
3
|
+
accountId: string;
|
|
4
|
+
provisionedAt: string;
|
|
5
|
+
timeout: string;
|
|
6
|
+
state: DeploymentState;
|
|
7
|
+
deployedAt?: (string) | null;
|
|
8
|
+
domains: Array<(string)>;
|
|
9
|
+
envVars: {
|
|
10
|
+
[key: string]: (string);
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type DeploymentState = 'provisioning' | 'deployed' | 'failed';
|
|
14
|
+
type ExecuteLogEntry = {
|
|
15
|
+
deployment: string;
|
|
16
|
+
account_id: string;
|
|
17
|
+
provisioned_at: string;
|
|
18
|
+
started_at?: (string) | null;
|
|
19
|
+
duration?: (string) | null;
|
|
20
|
+
state: ExecuteRunState;
|
|
21
|
+
env_vars: {
|
|
22
|
+
[key: string]: (string);
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type ExecuteRunState = 'starting' | 'running' | 'complete';
|
|
26
|
+
type FreestyleCloudstateDeployConfiguration = {
|
|
27
|
+
/**
|
|
28
|
+
* ID of the project to deploy, if not provided will create a new project
|
|
29
|
+
*/
|
|
30
|
+
domains?: Array<(string)> | null;
|
|
31
|
+
/**
|
|
32
|
+
* The environment variables that the cloudstate deploy can access
|
|
33
|
+
*/
|
|
34
|
+
envVars?: {
|
|
35
|
+
[key: string]: (string);
|
|
36
|
+
};
|
|
37
|
+
cloudstateDatabaseId?: (string) | null;
|
|
38
|
+
};
|
|
39
|
+
type FreestyleCloudstateDeployErrorResponse = {
|
|
40
|
+
message: string;
|
|
41
|
+
};
|
|
42
|
+
type FreestyleCloudstateDeployRequest = {
|
|
43
|
+
classes: string;
|
|
44
|
+
config?: FreestyleCloudstateDeployConfiguration;
|
|
45
|
+
};
|
|
46
|
+
type FreestyleCloudstateDeploySuccessResponse = {
|
|
47
|
+
deploymentId: string;
|
|
48
|
+
cloudstateDatabaseId: string;
|
|
49
|
+
};
|
|
50
|
+
type FreestyleDeleteDomainVerificationRequest = {
|
|
51
|
+
/**
|
|
52
|
+
* The domain to create a verification code for
|
|
53
|
+
*/
|
|
54
|
+
domain: string;
|
|
55
|
+
/**
|
|
56
|
+
* The verification code
|
|
57
|
+
*/
|
|
58
|
+
verificationCode: string;
|
|
59
|
+
};
|
|
60
|
+
type FreestyleDeployWebConfiguration = {
|
|
61
|
+
/**
|
|
62
|
+
* The entrypoint file for the website
|
|
63
|
+
*/
|
|
64
|
+
entrypoint?: (string) | null;
|
|
65
|
+
/**
|
|
66
|
+
* The custom domains for the website, eg. [\"subdomain.yourwebsite.com\"]. You may include a single *.style.dev domain here.
|
|
67
|
+
*/
|
|
68
|
+
domains?: Array<(string)> | null;
|
|
69
|
+
/**
|
|
70
|
+
* Project ID was our original way of tracking deployments together, it is now deprecated and will be removed in the future. Please use the domains field to specify the domains for your project.
|
|
71
|
+
* @deprecated
|
|
72
|
+
*/
|
|
73
|
+
projectId?: (string) | null;
|
|
74
|
+
/**
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
77
|
+
nodeModules?: {
|
|
78
|
+
[key: string]: (string);
|
|
79
|
+
} | null;
|
|
80
|
+
/**
|
|
81
|
+
* The environment variables that the website can access
|
|
82
|
+
* e.g. { \"RESEND_API_KEY\": \"re_123456789\" }
|
|
83
|
+
*/
|
|
84
|
+
envVars?: {
|
|
85
|
+
[key: string]: (string);
|
|
86
|
+
} | null;
|
|
87
|
+
serverStartCheck?: boolean;
|
|
88
|
+
};
|
|
89
|
+
type FreestyleDeployWebErrorResponse = {
|
|
90
|
+
message: string;
|
|
91
|
+
};
|
|
92
|
+
type FreestyleDeployWebPayload = {
|
|
93
|
+
/**
|
|
94
|
+
* 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\" } }
|
|
95
|
+
*
|
|
96
|
+
* **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.
|
|
97
|
+
*/
|
|
98
|
+
files: {
|
|
99
|
+
[key: string]: FreestyleFile;
|
|
100
|
+
};
|
|
101
|
+
config?: FreestyleDeployWebConfiguration;
|
|
102
|
+
};
|
|
103
|
+
type FreestyleDeployWebSuccessResponse = {
|
|
104
|
+
deploymentId: string;
|
|
105
|
+
domains?: Array<(string)> | null;
|
|
106
|
+
/**
|
|
107
|
+
* @deprecated
|
|
108
|
+
*/
|
|
109
|
+
projectId?: (string) | null;
|
|
110
|
+
};
|
|
111
|
+
type FreestyleDomainVerificationRequest = {
|
|
112
|
+
/**
|
|
113
|
+
* The domain to create a verification code for
|
|
114
|
+
*/
|
|
115
|
+
domain: string;
|
|
116
|
+
};
|
|
117
|
+
type FreestyleExecuteScriptParams = {
|
|
118
|
+
/**
|
|
119
|
+
* The JavaScript or TypeScript script to execute
|
|
120
|
+
*/
|
|
121
|
+
script: string;
|
|
122
|
+
config?: FreestyleExecuteScriptParamsConfiguration;
|
|
123
|
+
};
|
|
124
|
+
type FreestyleExecuteScriptParamsConfiguration = {
|
|
125
|
+
/**
|
|
126
|
+
* The environment variables to set for the script
|
|
127
|
+
*/
|
|
128
|
+
envVars?: {
|
|
129
|
+
[key: string]: (string);
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* The node modules to install for the script
|
|
133
|
+
*/
|
|
134
|
+
nodeModules?: {
|
|
135
|
+
[key: string]: (string);
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Tags for you to organize your scripts, useful for tracking what you're running
|
|
139
|
+
*/
|
|
140
|
+
tags?: Array<(string)>;
|
|
141
|
+
/**
|
|
142
|
+
* The script timeout
|
|
143
|
+
*/
|
|
144
|
+
timeout?: (string) | null;
|
|
145
|
+
/**
|
|
146
|
+
* If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified.
|
|
147
|
+
*/
|
|
148
|
+
peerDependencyResolution?: boolean;
|
|
149
|
+
};
|
|
150
|
+
type FreestyleExecuteScriptResultSuccess = {
|
|
151
|
+
result: unknown;
|
|
152
|
+
logs: Array<FreestyleJavaScriptLog>;
|
|
153
|
+
};
|
|
154
|
+
type FreestyleFile = {
|
|
155
|
+
/**
|
|
156
|
+
* The content of the file
|
|
157
|
+
*/
|
|
158
|
+
content: string;
|
|
159
|
+
/**
|
|
160
|
+
* The encoding of the file. Either **utf-8** or **base64**
|
|
161
|
+
*/
|
|
162
|
+
encoding?: string;
|
|
163
|
+
};
|
|
164
|
+
type FreestyleJavaScriptLog = {
|
|
165
|
+
/**
|
|
166
|
+
* The log message
|
|
167
|
+
*/
|
|
168
|
+
message: string;
|
|
169
|
+
/**
|
|
170
|
+
* The log level
|
|
171
|
+
*/
|
|
172
|
+
type: string;
|
|
173
|
+
};
|
|
174
|
+
type FreestyleLogResponseObject = {
|
|
175
|
+
message: string;
|
|
176
|
+
timestamp: string;
|
|
177
|
+
};
|
|
178
|
+
type FreestyleVerifyDomainRequest = {
|
|
179
|
+
domain: string;
|
|
180
|
+
};
|
|
181
|
+
type HandleDeployCloudstateData = {
|
|
182
|
+
body: FreestyleCloudstateDeployRequest;
|
|
183
|
+
};
|
|
184
|
+
type HandleDeployCloudstateResponse = (FreestyleCloudstateDeploySuccessResponse);
|
|
185
|
+
type HandleDeployCloudstateError = (FreestyleCloudstateDeployErrorResponse);
|
|
186
|
+
type HandleBackupCloudstateData = {
|
|
187
|
+
path: {
|
|
188
|
+
id: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
type HandleBackupCloudstateResponse = (Array<(number)>);
|
|
192
|
+
type HandleBackupCloudstateError = (unknown);
|
|
193
|
+
type HandleVerifyWildcardResponse = ({
|
|
194
|
+
domain: string;
|
|
195
|
+
});
|
|
196
|
+
type HandleVerifyWildcardError = ({
|
|
197
|
+
message: string;
|
|
198
|
+
});
|
|
199
|
+
type HandleListDomainsResponse = (Array<{
|
|
200
|
+
domain: string;
|
|
201
|
+
createdAt: number;
|
|
202
|
+
}>);
|
|
203
|
+
type HandleListDomainsError = ({
|
|
204
|
+
message: string;
|
|
205
|
+
});
|
|
206
|
+
type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
207
|
+
verificationCode: string;
|
|
208
|
+
domain: string;
|
|
209
|
+
createdAt: number;
|
|
210
|
+
}>);
|
|
211
|
+
type HandleListDomainVerificationRequestsError = ({
|
|
212
|
+
message: string;
|
|
213
|
+
});
|
|
214
|
+
type HandleVerifyDomainData = {
|
|
215
|
+
body: FreestyleVerifyDomainRequest;
|
|
216
|
+
};
|
|
217
|
+
type HandleVerifyDomainResponse = ({
|
|
218
|
+
domain: string;
|
|
219
|
+
});
|
|
220
|
+
type HandleVerifyDomainError = ({
|
|
221
|
+
message: string;
|
|
222
|
+
});
|
|
223
|
+
type HandleCreateDomainVerificationData = {
|
|
224
|
+
body: FreestyleDomainVerificationRequest;
|
|
225
|
+
};
|
|
226
|
+
type HandleCreateDomainVerificationResponse = ({
|
|
227
|
+
verificationCode: string;
|
|
228
|
+
domain: string;
|
|
229
|
+
});
|
|
230
|
+
type HandleCreateDomainVerificationError = ({
|
|
231
|
+
message: string;
|
|
232
|
+
});
|
|
233
|
+
type HandleDeleteDomainVerificationData = {
|
|
234
|
+
body: FreestyleDeleteDomainVerificationRequest;
|
|
235
|
+
};
|
|
236
|
+
type HandleDeleteDomainVerificationResponse = ({
|
|
237
|
+
verificationCode: string;
|
|
238
|
+
domain: string;
|
|
239
|
+
});
|
|
240
|
+
type HandleDeleteDomainVerificationError = ({
|
|
241
|
+
message: string;
|
|
242
|
+
});
|
|
243
|
+
type HandleListExecuteRunsData = {
|
|
244
|
+
query?: {
|
|
245
|
+
limit?: (number) | null;
|
|
246
|
+
offset?: (number) | null;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
type HandleListExecuteRunsResponse = ({
|
|
250
|
+
entries: Array<ExecuteLogEntry>;
|
|
251
|
+
total: number;
|
|
252
|
+
offset: number;
|
|
253
|
+
});
|
|
254
|
+
type HandleListExecuteRunsError = ({
|
|
255
|
+
message: string;
|
|
256
|
+
});
|
|
257
|
+
type HandleGetExecuteRunData = {
|
|
258
|
+
path: {
|
|
259
|
+
deployment: string;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
type HandleGetExecuteRunResponse = (ExecuteLogEntry);
|
|
263
|
+
type HandleGetExecuteRunError = ({
|
|
264
|
+
message: string;
|
|
265
|
+
});
|
|
266
|
+
type HandleExecuteScriptData = {
|
|
267
|
+
body: FreestyleExecuteScriptParams;
|
|
268
|
+
};
|
|
269
|
+
type HandleExecuteScriptResponse = ({
|
|
270
|
+
result: unknown;
|
|
271
|
+
logs: Array<FreestyleJavaScriptLog>;
|
|
272
|
+
});
|
|
273
|
+
type HandleExecuteScriptError = ({
|
|
274
|
+
error: string;
|
|
275
|
+
});
|
|
276
|
+
type HandleGetLogsData = {
|
|
277
|
+
query: {
|
|
278
|
+
deploymentId: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
type HandleGetLogsResponse = (Array<FreestyleLogResponseObject>);
|
|
282
|
+
type HandleGetLogsError = unknown;
|
|
283
|
+
type HandleDeployWebData = {
|
|
284
|
+
body: FreestyleDeployWebPayload;
|
|
285
|
+
};
|
|
286
|
+
type HandleDeployWebResponse = (FreestyleDeployWebSuccessResponse);
|
|
287
|
+
type HandleDeployWebError = (FreestyleDeployWebErrorResponse);
|
|
288
|
+
type HandleListWebDeploysResponse = ({
|
|
289
|
+
entries: Array<DeploymentLogEntry>;
|
|
290
|
+
total: number;
|
|
291
|
+
offset: number;
|
|
292
|
+
});
|
|
293
|
+
type HandleListWebDeploysError = ({
|
|
294
|
+
message: string;
|
|
295
|
+
});
|
|
296
|
+
|
|
297
|
+
export type { HandleGetLogsData as $, FreestyleJavaScriptLog as A, FreestyleLogResponseObject as B, FreestyleVerifyDomainRequest as C, DeploymentLogEntry as D, ExecuteLogEntry as E, FreestyleExecuteScriptParamsConfiguration as F, HandleDeployCloudstateData as G, HandleBackupCloudstateResponse as H, HandleDeployCloudstateResponse as I, HandleDeployCloudstateError as J, HandleBackupCloudstateData as K, HandleBackupCloudstateError as L, HandleVerifyWildcardError as M, HandleListDomainsError as N, HandleListDomainVerificationRequestsError as O, HandleVerifyDomainData as P, HandleCreateDomainVerificationData as Q, HandleCreateDomainVerificationError as R, HandleDeleteDomainVerificationData as S, HandleDeleteDomainVerificationError as T, HandleListExecuteRunsData as U, HandleListExecuteRunsError as V, HandleGetExecuteRunData as W, HandleGetExecuteRunError as X, HandleExecuteScriptData as Y, HandleExecuteScriptResponse as Z, HandleExecuteScriptError as _, FreestyleExecuteScriptResultSuccess as a, HandleGetLogsError as a0, HandleDeployWebData as a1, HandleDeployWebResponse as a2, HandleDeployWebError as a3, HandleListWebDeploysError as a4, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleVerifyDomainError as i, HandleListDomainsResponse as j, HandleListDomainVerificationRequestsResponse as k, HandleDeleteDomainVerificationResponse as l, HandleListWebDeploysResponse as m, HandleListExecuteRunsResponse as n, HandleGetExecuteRunResponse as o, HandleVerifyWildcardResponse as p, DeploymentState as q, ExecuteRunState as r, FreestyleCloudstateDeployConfiguration as s, FreestyleCloudstateDeployErrorResponse as t, FreestyleDeleteDomainVerificationRequest as u, FreestyleDeployWebErrorResponse as v, FreestyleDeployWebPayload as w, FreestyleDomainVerificationRequest as x, FreestyleExecuteScriptParams as y, FreestyleFile as z };
|
|
@@ -78,8 +78,9 @@ type DescribePermissionResponseSuccess = {
|
|
|
78
78
|
accessLevel?: (null | AccessLevel);
|
|
79
79
|
};
|
|
80
80
|
type DevServer = {
|
|
81
|
-
domain?: (string) | null;
|
|
82
81
|
command?: (string) | null;
|
|
82
|
+
repo?: (string) | null;
|
|
83
|
+
domain?: (string) | null;
|
|
83
84
|
};
|
|
84
85
|
type DnsRecord = {
|
|
85
86
|
kind: DnsRecordKind;
|
|
@@ -498,6 +499,8 @@ type HandleEphemeralDevServerData = {
|
|
|
498
499
|
type HandleEphemeralDevServerResponse = ({
|
|
499
500
|
url: string;
|
|
500
501
|
isNew: boolean;
|
|
502
|
+
devCommandRunning: boolean;
|
|
503
|
+
installCommandRunning: boolean;
|
|
501
504
|
});
|
|
502
505
|
type HandleEphemeralDevServerError = (InternalServerError);
|
|
503
506
|
type HandleListExecuteRunsData = {
|
|
@@ -801,4 +804,4 @@ type HandleGetWebDeployDetailsData = {
|
|
|
801
804
|
};
|
|
802
805
|
};
|
|
803
806
|
|
|
804
|
-
export type {
|
|
807
|
+
export type { ExecuteLogEntry as $, AccessLevel as A, BuildOptions as B, CreateRepositoryResponseSuccess as C, DeploymentSource as D, HandleCreateGitTriggerResponse as E, FreestyleExecuteScriptParamsConfiguration as F, GitIdentity as G, HandleBackupCloudstateResponse as H, HandleEphemeralDevServerResponse as I, AccessibleRepository as J, AccessTokenInfo as K, ListPermissionResponseSuccess as L, Behavior as M, CreateDomainMappingRequest as N, CreateRecordParams as O, CreateRepoRequest as P, CreateRepositoryRequest as Q, CreateRepoSource as R, type as S, DeploymentLogEntry as T, kind as U, DeploymentState as V, DevServer as W, DnsRecord as X, DnsRecordData as Y, DnsRecordKind as Z, DomainVerificationRequest as _, FreestyleExecuteScriptResultSuccess as a, HandleExecuteScriptData as a$, ExecuteRunInfo as a0, ExecuteRunState as a1, FreestyleCloudstateDeployConfiguration as a2, FreestyleCloudstateDeployErrorResponse as a3, FreestyleDeleteDomainVerificationRequest as a4, FreestyleDeployWebErrorResponse as a5, FreestyleDeployWebPayload as a6, FreestyleDeployWebPayloadV2 as a7, FreestyleDomainVerificationRequest as a8, FreestyleExecuteScriptParams as a9, HandleCreateRecordData as aA, HandleCreateRecordResponse as aB, HandleCreateRecordError as aC, HandleDeleteRecordData as aD, HandleDeleteRecordResponse as aE, HandleDeleteRecordError as aF, HandleVerifyWildcardData as aG, HandleVerifyWildcardError as aH, HandleListDomainsError as aI, HandleInsertDomainMappingData as aJ, HandleInsertDomainMappingResponse as aK, HandleInsertDomainMappingError as aL, HandleDeleteDomainMappingData as aM, HandleDeleteDomainMappingResponse as aN, HandleDeleteDomainMappingError as aO, HandleListDomainVerificationRequestsError as aP, HandleVerifyDomainData as aQ, HandleCreateDomainVerificationData as aR, HandleCreateDomainVerificationError as aS, HandleDeleteDomainVerificationData as aT, HandleDeleteDomainVerificationError as aU, HandleEphemeralDevServerData as aV, HandleEphemeralDevServerError as aW, HandleListExecuteRunsData as aX, HandleListExecuteRunsError as aY, HandleGetExecuteRunData as aZ, HandleGetExecuteRunError as a_, FreestyleFile as aa, FreestyleGetLogsResponse as ab, FreestyleJavaScriptLog as ac, FreestyleLogResponseObject as ad, FreestyleNetworkPermission as ae, action as af, FreestyleVerifyDomainRequest as ag, GitRepositoryTrigger as ah, event as ai, action2 as aj, GrantPermissionRequest as ak, InternalServerError as al, ListRecordsResponse as am, NetworkPermissionData as an, RepositoryInfo as ao, RevokeGitTokenRequest as ap, UpdatePermissionRequest as aq, Visibility as ar, HandleDeployCloudstateData as as, HandleDeployCloudstateResponse as at, HandleDeployCloudstateError as au, HandleBackupCloudstateData as av, HandleBackupCloudstateError as aw, HandleListRecordsData as ax, HandleListRecordsResponse as ay, HandleListRecordsError as az, FreestyleDeployWebConfiguration as b, HandleExecuteScriptResponse as b0, HandleExecuteScriptError as b1, HandleCreateIdentityResponse as b2, HandleCreateIdentityError as b3, HandleDeleteIdentityData as b4, HandleDeleteIdentityError as b5, HandleListPermissionsData as b6, HandleListPermissionsResponse as b7, HandleListPermissionsError as b8, HandleDescribePermissionData as b9, HandleListGitTriggersData as bA, HandleListGitTriggersError as bB, HandleCreateGitTriggerData as bC, HandleCreateGitTriggerError as bD, HandleDeleteGitTriggerData as bE, HandleDeleteGitTriggerResponse as bF, HandleDeleteGitTriggerError as bG, HandleGetLogsData as bH, HandleGetLogsError as bI, HandleDeployWebData as bJ, HandleDeployWebResponse as bK, HandleDeployWebError as bL, HandleDeployWebV2Data as bM, HandleDeployWebV2Response as bN, HandleDeployWebV2Error as bO, HandleListWebDeploysData as bP, HandleListWebDeploysError as bQ, HandleGetWebDeployDetailsData as bR, HandleDescribePermissionResponse as ba, HandleDescribePermissionError as bb, HandleGrantPermissionData as bc, HandleGrantPermissionError as bd, HandleRevokePermissionData as be, HandleRevokePermissionResponse as bf, HandleRevokePermissionError as bg, HandleUpdatePermissionData as bh, HandleUpdatePermissionResponse as bi, HandleUpdatePermissionError as bj, HandleListGitTokensData as bk, HandleListGitTokensResponse as bl, HandleListGitTokensError as bm, HandleCreateGitTokenData as bn, HandleCreateGitTokenResponse as bo, HandleCreateGitTokenError as bp, HandleRevokeGitTokenData as bq, HandleRevokeGitTokenResponse as br, HandleRevokeGitTokenError as bs, HandleListRepositoriesData as bt, HandleListRepositoriesError as bu, HandleCreateRepoData as bv, HandleCreateRepoResponse as bw, HandleCreateRepoError as bx, HandleDeleteRepoData as by, HandleDeleteRepoError as bz, FreestyleDeployWebSuccessResponseV2 as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleVerifyDomainError as i, HandleListDomainsResponse as j, HandleListDomainVerificationRequestsResponse as k, HandleDeleteDomainVerificationResponse as l, HandleListWebDeploysResponse as m, HandleListExecuteRunsResponse as n, HandleGetExecuteRunResponse as o, HandleVerifyWildcardResponse as p, HandleListRepositoriesResponse as q, HandleDeleteRepoResponse as r, HandleDeleteIdentityResponse as s, HandleGrantPermissionResponse as t, DescribePermissionResponseSuccess as u, CreatedToken as v, ListGitTokensResponseSuccess as w, HandleListGitTriggersResponse as x, GitTrigger as y, GitTriggerAction as z };
|