freestyle-sandboxes 0.0.59 → 0.0.60
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 +2 -2
- package/dist/inde.d.mts +2 -2
- package/dist/index-BBXyg0JQ.cjs +3253 -0
- package/dist/index-BQHqnjZK.mjs +3231 -0
- package/dist/index-CEEa9WHp.cjs +3238 -0
- package/dist/index-D1ulQeJR.mjs +3247 -0
- package/dist/index-DCF70Xbq.mjs +3246 -0
- package/dist/index-H7UNEAjs.cjs +3254 -0
- package/dist/index.d-CXx1AdyW.d.ts +4210 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -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-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-BaMKzqxQ.d.ts +233 -0
- package/dist/types.gen-BbekD8Sd.d.ts +1119 -0
- package/dist/types.gen-BtK6PMQy.d.ts +195 -0
- package/dist/types.gen-BuhQ5LpB.d.ts +764 -0
- package/dist/types.gen-BzRtj_TA.d.ts +725 -0
- package/dist/types.gen-C03gaIPq.d.ts +297 -0
- package/dist/types.gen-CMuCas4r.d.ts +183 -0
- package/dist/types.gen-CZUnqmzP.d.ts +789 -0
- 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-DLYohMJT.d.ts +382 -0
- package/dist/types.gen-DbTb_SrD.d.ts +156 -0
- package/dist/types.gen-DkQ-Dbs1.d.ts +764 -0
- package/dist/{types.gen-BoJEFWW-.d.ts → types.gen-DyY7Deri.d.ts} +55 -1
- 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/openapi/sdk.gen.ts +98 -1
- package/openapi/types.gen.ts +329 -5
- package/openapi.json +1 -1
- package/package.json +2 -2
- package/.env +0 -1
package/dist/utils/inde.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/dist/utils/inde.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BbekD8Sd.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/openapi/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch';
|
|
4
|
-
import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsError, HandleListDomainsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleDeleteDomainMappingError, HandleDeleteDomainMappingResponse, HandleListDomainVerificationRequestsError, HandleListDomainVerificationRequestsResponse, HandleVerifyDomainData, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleCreateDomainVerificationData, HandleCreateDomainVerificationError, HandleCreateDomainVerificationResponse, HandleDeleteDomainVerificationData, HandleDeleteDomainVerificationError, HandleDeleteDomainVerificationResponse, HandleEphemeralDevServerData, HandleEphemeralDevServerError, HandleEphemeralDevServerResponse, HandleListExecuteRunsData, HandleListExecuteRunsError, HandleListExecuteRunsResponse, HandleGetExecuteRunData, HandleGetExecuteRunError, HandleGetExecuteRunResponse, HandleExecuteScriptData, HandleExecuteScriptError, HandleExecuteScriptResponse, HandleListIdentitiesData, HandleListIdentitiesError, HandleListIdentitiesResponse, HandleCreateIdentityError, HandleCreateIdentityResponse, HandleDeleteIdentityData, HandleDeleteIdentityError, HandleDeleteIdentityResponse, HandleListPermissionsData, HandleListPermissionsError, HandleListPermissionsResponse, HandleDescribePermissionData, HandleDescribePermissionError, HandleDescribePermissionResponse, HandleGrantPermissionData, HandleGrantPermissionError, HandleGrantPermissionResponse, HandleRevokePermissionData, HandleRevokePermissionError, HandleRevokePermissionResponse, HandleUpdatePermissionData, HandleUpdatePermissionError, HandleUpdatePermissionResponse, HandleListGitTokensData, HandleListGitTokensError, HandleListGitTokensResponse, HandleCreateGitTokenData, HandleCreateGitTokenError, HandleCreateGitTokenResponse, HandleRevokeGitTokenData, HandleRevokeGitTokenError, HandleRevokeGitTokenResponse, HandleListRepositoriesData, HandleListRepositoriesError, HandleListRepositoriesResponse, HandleCreateRepoData, HandleCreateRepoError, HandleCreateRepoResponse, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
|
|
4
|
+
import type { HandleDeployCloudstateData, HandleDeployCloudstateError, HandleDeployCloudstateResponse, HandleBackupCloudstateData, HandleBackupCloudstateError, HandleBackupCloudstateResponse, HandleListRecordsData, HandleListRecordsError, HandleListRecordsResponse, HandleCreateRecordData, HandleCreateRecordError, HandleCreateRecordResponse, HandleDeleteRecordData, HandleDeleteRecordError, HandleDeleteRecordResponse, HandleVerifyWildcardData, HandleVerifyWildcardError, HandleVerifyWildcardResponse, HandleListDomainsError, HandleListDomainsResponse, HandleInsertDomainMappingData, HandleInsertDomainMappingError, HandleInsertDomainMappingResponse, HandleDeleteDomainMappingData, HandleDeleteDomainMappingError, HandleDeleteDomainMappingResponse, HandleListDomainVerificationRequestsError, HandleListDomainVerificationRequestsResponse, HandleVerifyDomainData, HandleVerifyDomainError, HandleVerifyDomainResponse, HandleCreateDomainVerificationData, HandleCreateDomainVerificationError, HandleCreateDomainVerificationResponse, HandleDeleteDomainVerificationData, HandleDeleteDomainVerificationError, HandleDeleteDomainVerificationResponse, HandleEphemeralDevServerData, HandleEphemeralDevServerError, HandleEphemeralDevServerResponse, HandleExecOnEphemeralDevServerData, HandleExecOnEphemeralDevServerError, HandleExecOnEphemeralDevServerResponse, HandleWriteFileFromEphemeralDevServerData, HandleWriteFileFromEphemeralDevServerError, HandleWriteFileFromEphemeralDevServerResponse, HandleReadFileFromEphemeralDevServerData, HandleReadFileFromEphemeralDevServerError, HandleReadFileFromEphemeralDevServerResponse, HandleGitCommitPushData, HandleGitCommitPushError, HandleGitCommitPushResponse, HandleDevServerStatusData, HandleDevServerStatusError, HandleDevServerStatusResponse, HandleListExecuteRunsData, HandleListExecuteRunsError, HandleListExecuteRunsResponse, HandleGetExecuteRunData, HandleGetExecuteRunError, HandleGetExecuteRunResponse, HandleExecuteScriptData, HandleExecuteScriptError, HandleExecuteScriptResponse, HandleListIdentitiesData, HandleListIdentitiesError, HandleListIdentitiesResponse, HandleCreateIdentityError, HandleCreateIdentityResponse, HandleDeleteIdentityData, HandleDeleteIdentityError, HandleDeleteIdentityResponse, HandleListPermissionsData, HandleListPermissionsError, HandleListPermissionsResponse, HandleDescribePermissionData, HandleDescribePermissionError, HandleDescribePermissionResponse, HandleGrantPermissionData, HandleGrantPermissionError, HandleGrantPermissionResponse, HandleRevokePermissionData, HandleRevokePermissionError, HandleRevokePermissionResponse, HandleUpdatePermissionData, HandleUpdatePermissionError, HandleUpdatePermissionResponse, HandleListGitTokensData, HandleListGitTokensError, HandleListGitTokensResponse, HandleCreateGitTokenData, HandleCreateGitTokenError, HandleCreateGitTokenResponse, HandleRevokeGitTokenData, HandleRevokeGitTokenError, HandleRevokeGitTokenResponse, HandleListRepositoriesData, HandleListRepositoriesError, HandleListRepositoriesResponse, HandleCreateRepoData, HandleCreateRepoError, HandleCreateRepoResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -149,6 +149,9 @@ export const handleDeleteDomainVerification = <ThrowOnError extends boolean = fa
|
|
|
149
149
|
});
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
+
/**
|
|
153
|
+
* Request a Dev Server
|
|
154
|
+
*/
|
|
152
155
|
export const handleEphemeralDevServer = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleEphemeralDevServerData, ThrowOnError>) => {
|
|
153
156
|
return (options?.client ?? client).post<HandleEphemeralDevServerResponse, HandleEphemeralDevServerError, ThrowOnError>({
|
|
154
157
|
...options,
|
|
@@ -156,6 +159,56 @@ export const handleEphemeralDevServer = <ThrowOnError extends boolean = false>(o
|
|
|
156
159
|
});
|
|
157
160
|
};
|
|
158
161
|
|
|
162
|
+
/**
|
|
163
|
+
* Execute a command on a Dev Server
|
|
164
|
+
*/
|
|
165
|
+
export const handleExecOnEphemeralDevServer = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleExecOnEphemeralDevServerData, ThrowOnError>) => {
|
|
166
|
+
return (options?.client ?? client).post<HandleExecOnEphemeralDevServerResponse, HandleExecOnEphemeralDevServerError, ThrowOnError>({
|
|
167
|
+
...options,
|
|
168
|
+
url: '/ephemeral/v1/dev-servers/exec'
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Write a file to a Dev Server
|
|
174
|
+
*/
|
|
175
|
+
export const handleWriteFileFromEphemeralDevServer = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleWriteFileFromEphemeralDevServerData, ThrowOnError>) => {
|
|
176
|
+
return (options?.client ?? client).put<HandleWriteFileFromEphemeralDevServerResponse, HandleWriteFileFromEphemeralDevServerError, ThrowOnError>({
|
|
177
|
+
...options,
|
|
178
|
+
url: '/ephemeral/v1/dev-servers/files/{*filepath}'
|
|
179
|
+
});
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Read a file from a Dev Server
|
|
184
|
+
*/
|
|
185
|
+
export const handleReadFileFromEphemeralDevServer = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleReadFileFromEphemeralDevServerData, ThrowOnError>) => {
|
|
186
|
+
return (options?.client ?? client).post<HandleReadFileFromEphemeralDevServerResponse, HandleReadFileFromEphemeralDevServerError, ThrowOnError>({
|
|
187
|
+
...options,
|
|
188
|
+
url: '/ephemeral/v1/dev-servers/files/{*filepath}'
|
|
189
|
+
});
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Commit and push changes to a Dev Server repository
|
|
194
|
+
*/
|
|
195
|
+
export const handleGitCommitPush = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGitCommitPushData, ThrowOnError>) => {
|
|
196
|
+
return (options?.client ?? client).post<HandleGitCommitPushResponse, HandleGitCommitPushError, ThrowOnError>({
|
|
197
|
+
...options,
|
|
198
|
+
url: '/ephemeral/v1/dev-servers/git/commit-push'
|
|
199
|
+
});
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Get the status of a Dev Server
|
|
204
|
+
*/
|
|
205
|
+
export const handleDevServerStatus = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleDevServerStatusData, ThrowOnError>) => {
|
|
206
|
+
return (options?.client ?? client).get<HandleDevServerStatusResponse, HandleDevServerStatusError, ThrowOnError>({
|
|
207
|
+
...options,
|
|
208
|
+
url: '/ephemeral/v1/dev-servers/status'
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
|
|
159
212
|
/**
|
|
160
213
|
* List execute runs
|
|
161
214
|
* List execute runs.
|
|
@@ -338,6 +391,50 @@ export const handleCreateRepo = <ThrowOnError extends boolean = false>(options:
|
|
|
338
391
|
});
|
|
339
392
|
};
|
|
340
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Get a blob object
|
|
396
|
+
* Get a blob from the Git database. The contents will always be base64 encoded.
|
|
397
|
+
*/
|
|
398
|
+
export const handleGetBlob = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetBlobData, ThrowOnError>) => {
|
|
399
|
+
return (options?.client ?? client).get<HandleGetBlobResponse, HandleGetBlobError, ThrowOnError>({
|
|
400
|
+
...options,
|
|
401
|
+
url: '/git/v1/repo/{repo_id}/git/blobs/{hash}'
|
|
402
|
+
});
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Get a commit object
|
|
407
|
+
* Get a commit from the Git database with detailed information.
|
|
408
|
+
*/
|
|
409
|
+
export const handleGetCommit = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetCommitData, ThrowOnError>) => {
|
|
410
|
+
return (options?.client ?? client).get<HandleGetCommitResponse, HandleGetCommitError, ThrowOnError>({
|
|
411
|
+
...options,
|
|
412
|
+
url: '/git/v1/repo/{repo_id}/git/commits/{hash}'
|
|
413
|
+
});
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Get a tag object
|
|
418
|
+
* Get a tag from the Git database.
|
|
419
|
+
*/
|
|
420
|
+
export const handleGetTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetTagData, ThrowOnError>) => {
|
|
421
|
+
return (options?.client ?? client).get<HandleGetTagResponse, HandleGetTagError, ThrowOnError>({
|
|
422
|
+
...options,
|
|
423
|
+
url: '/git/v1/repo/{repo_id}/git/tags/{hash}'
|
|
424
|
+
});
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Get a tree object
|
|
429
|
+
* Get a tree from the Git database with its entries.
|
|
430
|
+
*/
|
|
431
|
+
export const handleGetTree = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetTreeData, ThrowOnError>) => {
|
|
432
|
+
return (options?.client ?? client).get<HandleGetTreeResponse, HandleGetTreeError, ThrowOnError>({
|
|
433
|
+
...options,
|
|
434
|
+
url: '/git/v1/repo/{repo_id}/git/trees/{hash}'
|
|
435
|
+
});
|
|
436
|
+
};
|
|
437
|
+
|
|
341
438
|
/**
|
|
342
439
|
* Delete a repository
|
|
343
440
|
* Delete a repository. This is irreversible, and will also delete the repository on the Git server.
|
package/openapi/types.gen.ts
CHANGED
|
@@ -19,6 +19,73 @@ export type AccessTokenInfo = {
|
|
|
19
19
|
|
|
20
20
|
export type Behavior = 'regex' | 'exact';
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* The encoding of a blob from the API. Always `base64`.
|
|
24
|
+
*/
|
|
25
|
+
export type BlobEncoding = 'base64';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Blob object
|
|
29
|
+
*/
|
|
30
|
+
export type BlobObject = {
|
|
31
|
+
/**
|
|
32
|
+
* The content of the blob, base64 encoded.
|
|
33
|
+
*/
|
|
34
|
+
content: string;
|
|
35
|
+
/**
|
|
36
|
+
* The encoding of the blob. Always `base64`.
|
|
37
|
+
*/
|
|
38
|
+
encoding: BlobEncoding;
|
|
39
|
+
/**
|
|
40
|
+
* The object's hash.
|
|
41
|
+
*/
|
|
42
|
+
sha: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Commit object
|
|
47
|
+
*/
|
|
48
|
+
export type CommitObject = {
|
|
49
|
+
/**
|
|
50
|
+
* The author of the commit
|
|
51
|
+
*/
|
|
52
|
+
author: Signature;
|
|
53
|
+
/**
|
|
54
|
+
* The committer
|
|
55
|
+
*/
|
|
56
|
+
committer: Signature;
|
|
57
|
+
/**
|
|
58
|
+
* The commit message
|
|
59
|
+
*/
|
|
60
|
+
message: string;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the tree pointed to by this commit
|
|
63
|
+
*/
|
|
64
|
+
tree: CommitTree;
|
|
65
|
+
/**
|
|
66
|
+
* Parent commit(s) of this commit
|
|
67
|
+
*/
|
|
68
|
+
parents: Array<CommitParent>;
|
|
69
|
+
/**
|
|
70
|
+
* The commit's hash ID
|
|
71
|
+
*/
|
|
72
|
+
sha: string;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export type CommitParent = {
|
|
76
|
+
/**
|
|
77
|
+
* The commit's hash ID
|
|
78
|
+
*/
|
|
79
|
+
sha: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export type CommitTree = {
|
|
83
|
+
/**
|
|
84
|
+
* The tree's hash ID
|
|
85
|
+
*/
|
|
86
|
+
sha: string;
|
|
87
|
+
};
|
|
88
|
+
|
|
22
89
|
export type CreateDomainMappingRequest = {
|
|
23
90
|
deploymentId: string;
|
|
24
91
|
};
|
|
@@ -62,6 +129,10 @@ export type type = 'git';
|
|
|
62
129
|
|
|
63
130
|
export type CustomBuildOptions = {
|
|
64
131
|
command?: (string) | null;
|
|
132
|
+
envVars?: {
|
|
133
|
+
[key: string]: (string);
|
|
134
|
+
} | null;
|
|
135
|
+
outDir?: (string) | null;
|
|
65
136
|
};
|
|
66
137
|
|
|
67
138
|
export type DeploymentBuildOptions = CustomBuildOptions | boolean;
|
|
@@ -104,16 +175,32 @@ export type DescribePermissionResponseSuccess = {
|
|
|
104
175
|
};
|
|
105
176
|
|
|
106
177
|
export type DevServer = {
|
|
107
|
-
|
|
178
|
+
repoId: string;
|
|
179
|
+
kind: 'repo';
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export type kind2 = 'repo';
|
|
183
|
+
|
|
184
|
+
export type DevServerRequest = {
|
|
185
|
+
devCommand?: (string) | null;
|
|
186
|
+
preDevCommandOnce?: (string) | null;
|
|
187
|
+
baseId?: (string) | null;
|
|
188
|
+
envVars?: {
|
|
189
|
+
[key: string]: (string);
|
|
190
|
+
} | null;
|
|
191
|
+
repoId?: (string) | null;
|
|
108
192
|
/**
|
|
109
193
|
* @deprecated
|
|
110
194
|
*/
|
|
111
|
-
|
|
112
|
-
repoId?: (string) | null;
|
|
195
|
+
domain?: (string) | null;
|
|
113
196
|
/**
|
|
114
197
|
* @deprecated
|
|
115
198
|
*/
|
|
116
|
-
|
|
199
|
+
repo?: (string) | null;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export type DevServerStatusRequest = {
|
|
203
|
+
devServer: DevServer;
|
|
117
204
|
};
|
|
118
205
|
|
|
119
206
|
export type DnsRecord = {
|
|
@@ -143,6 +230,15 @@ export type DomainVerificationRequest = {
|
|
|
143
230
|
createdAt: number;
|
|
144
231
|
};
|
|
145
232
|
|
|
233
|
+
export type ExecRequest = {
|
|
234
|
+
devServer: DevServer;
|
|
235
|
+
command: string;
|
|
236
|
+
/**
|
|
237
|
+
* Spawn this command as a background process and return immediately
|
|
238
|
+
*/
|
|
239
|
+
background: boolean;
|
|
240
|
+
};
|
|
241
|
+
|
|
146
242
|
export type ExecuteLogEntry = {
|
|
147
243
|
deployment: string;
|
|
148
244
|
accountId: string;
|
|
@@ -164,6 +260,17 @@ export type ExecuteRunInfo = {
|
|
|
164
260
|
|
|
165
261
|
export type ExecuteRunState = 'starting' | 'running' | 'complete';
|
|
166
262
|
|
|
263
|
+
export type FileReadContent = {
|
|
264
|
+
content: string;
|
|
265
|
+
encoding: string;
|
|
266
|
+
kind: 'file';
|
|
267
|
+
} | {
|
|
268
|
+
files: Array<(string)>;
|
|
269
|
+
kind: 'directory';
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
export type kind3 = 'file';
|
|
273
|
+
|
|
167
274
|
export type FreestyleCloudstateDeployConfiguration = {
|
|
168
275
|
/**
|
|
169
276
|
* ID of the project to deploy, if not provided will create a new project
|
|
@@ -387,8 +494,14 @@ export type FreestyleVerifyDomainRequest = {
|
|
|
387
494
|
id: string;
|
|
388
495
|
};
|
|
389
496
|
|
|
497
|
+
export type GitCommitPushRequest = {
|
|
498
|
+
devServer: DevServer;
|
|
499
|
+
message: string;
|
|
500
|
+
};
|
|
501
|
+
|
|
390
502
|
export type GitIdentity = {
|
|
391
503
|
id: string;
|
|
504
|
+
managed: boolean;
|
|
392
505
|
};
|
|
393
506
|
|
|
394
507
|
export type GitRepositoryTrigger = {
|
|
@@ -445,6 +558,11 @@ export type NetworkPermissionData = {
|
|
|
445
558
|
behavior?: Behavior;
|
|
446
559
|
};
|
|
447
560
|
|
|
561
|
+
export type ReadFileRequest = {
|
|
562
|
+
devServer: DevServer;
|
|
563
|
+
encoding?: string;
|
|
564
|
+
};
|
|
565
|
+
|
|
448
566
|
export type RepositoryInfo = {
|
|
449
567
|
id: string;
|
|
450
568
|
name?: (string) | null;
|
|
@@ -456,12 +574,83 @@ export type RevokeGitTokenRequest = {
|
|
|
456
574
|
tokenId: string;
|
|
457
575
|
};
|
|
458
576
|
|
|
577
|
+
export type Signature = {
|
|
578
|
+
/**
|
|
579
|
+
* The date marker for this signature
|
|
580
|
+
*/
|
|
581
|
+
date: string;
|
|
582
|
+
name: string;
|
|
583
|
+
email: string;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Tag object
|
|
588
|
+
*/
|
|
589
|
+
export type TagObject = {
|
|
590
|
+
/**
|
|
591
|
+
* The tag name
|
|
592
|
+
*/
|
|
593
|
+
name: string;
|
|
594
|
+
tagger?: (null | Signature);
|
|
595
|
+
/**
|
|
596
|
+
* The tag message
|
|
597
|
+
*/
|
|
598
|
+
message?: (string) | null;
|
|
599
|
+
/**
|
|
600
|
+
* The object this tag points to
|
|
601
|
+
*/
|
|
602
|
+
target: TagTarget;
|
|
603
|
+
/**
|
|
604
|
+
* The tag's hash ID
|
|
605
|
+
*/
|
|
606
|
+
sha: string;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
export type TagTarget = {
|
|
610
|
+
/**
|
|
611
|
+
* The target object's hash ID
|
|
612
|
+
*/
|
|
613
|
+
sha: string;
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
export type TreeEntry = {
|
|
617
|
+
path: string;
|
|
618
|
+
sha: string;
|
|
619
|
+
type: 'blob';
|
|
620
|
+
} | {
|
|
621
|
+
path: string;
|
|
622
|
+
sha: string;
|
|
623
|
+
type: 'tree';
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
export type type2 = 'blob';
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Tree object
|
|
630
|
+
*/
|
|
631
|
+
export type TreeObject = {
|
|
632
|
+
/**
|
|
633
|
+
* The tree's entries
|
|
634
|
+
*/
|
|
635
|
+
tree: Array<TreeEntry>;
|
|
636
|
+
/**
|
|
637
|
+
* The tree's hash ID
|
|
638
|
+
*/
|
|
639
|
+
sha: string;
|
|
640
|
+
};
|
|
641
|
+
|
|
459
642
|
export type UpdatePermissionRequest = {
|
|
460
643
|
permission: AccessLevel;
|
|
461
644
|
};
|
|
462
645
|
|
|
463
646
|
export type Visibility = 'public' | 'private';
|
|
464
647
|
|
|
648
|
+
export type WriteFileRequest = {
|
|
649
|
+
devServer: DevServer;
|
|
650
|
+
content: string;
|
|
651
|
+
encoding?: string;
|
|
652
|
+
};
|
|
653
|
+
|
|
465
654
|
export type HandleDeployCloudstateData = {
|
|
466
655
|
body: FreestyleCloudstateDeployRequest;
|
|
467
656
|
};
|
|
@@ -613,7 +802,7 @@ export type HandleDeleteDomainVerificationError = ({
|
|
|
613
802
|
});
|
|
614
803
|
|
|
615
804
|
export type HandleEphemeralDevServerData = {
|
|
616
|
-
body:
|
|
805
|
+
body: DevServerRequest;
|
|
617
806
|
};
|
|
618
807
|
|
|
619
808
|
export type HandleEphemeralDevServerResponse = ({
|
|
@@ -630,6 +819,64 @@ export type HandleEphemeralDevServerResponse = ({
|
|
|
630
819
|
|
|
631
820
|
export type HandleEphemeralDevServerError = (InternalServerError);
|
|
632
821
|
|
|
822
|
+
export type HandleExecOnEphemeralDevServerData = {
|
|
823
|
+
body: ExecRequest;
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
export type HandleExecOnEphemeralDevServerResponse = ({
|
|
827
|
+
id: string;
|
|
828
|
+
isNew: boolean;
|
|
829
|
+
stdout?: Array<(string)> | null;
|
|
830
|
+
stderr?: Array<(string)> | null;
|
|
831
|
+
});
|
|
832
|
+
|
|
833
|
+
export type HandleExecOnEphemeralDevServerError = (InternalServerError);
|
|
834
|
+
|
|
835
|
+
export type HandleWriteFileFromEphemeralDevServerData = {
|
|
836
|
+
body: WriteFileRequest;
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
export type HandleWriteFileFromEphemeralDevServerResponse = ({
|
|
840
|
+
id: string;
|
|
841
|
+
isNew: boolean;
|
|
842
|
+
});
|
|
843
|
+
|
|
844
|
+
export type HandleWriteFileFromEphemeralDevServerError = (InternalServerError);
|
|
845
|
+
|
|
846
|
+
export type HandleReadFileFromEphemeralDevServerData = {
|
|
847
|
+
body: ReadFileRequest;
|
|
848
|
+
};
|
|
849
|
+
|
|
850
|
+
export type HandleReadFileFromEphemeralDevServerResponse = ({
|
|
851
|
+
id: string;
|
|
852
|
+
isNew: boolean;
|
|
853
|
+
content?: (null | FileReadContent);
|
|
854
|
+
});
|
|
855
|
+
|
|
856
|
+
export type HandleReadFileFromEphemeralDevServerError = (InternalServerError);
|
|
857
|
+
|
|
858
|
+
export type HandleGitCommitPushData = {
|
|
859
|
+
body: GitCommitPushRequest;
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
export type HandleGitCommitPushResponse = ({
|
|
863
|
+
id: string;
|
|
864
|
+
isNew: boolean;
|
|
865
|
+
});
|
|
866
|
+
|
|
867
|
+
export type HandleGitCommitPushError = (InternalServerError);
|
|
868
|
+
|
|
869
|
+
export type HandleDevServerStatusData = {
|
|
870
|
+
body: DevServerStatusRequest;
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
export type HandleDevServerStatusResponse = ({
|
|
874
|
+
installing: boolean;
|
|
875
|
+
devRunning: boolean;
|
|
876
|
+
});
|
|
877
|
+
|
|
878
|
+
export type HandleDevServerStatusError = (InternalServerError);
|
|
879
|
+
|
|
633
880
|
export type HandleListExecuteRunsData = {
|
|
634
881
|
query?: {
|
|
635
882
|
limit?: (number) | null;
|
|
@@ -681,6 +928,7 @@ export type HandleExecuteScriptError = ({
|
|
|
681
928
|
|
|
682
929
|
export type HandleListIdentitiesData = {
|
|
683
930
|
query?: {
|
|
931
|
+
includeManaged?: (boolean) | null;
|
|
684
932
|
limit?: (number) | null;
|
|
685
933
|
offset?: (number) | null;
|
|
686
934
|
};
|
|
@@ -877,6 +1125,82 @@ export type HandleCreateRepoError = ({
|
|
|
877
1125
|
message: string;
|
|
878
1126
|
});
|
|
879
1127
|
|
|
1128
|
+
export type HandleGetBlobData = {
|
|
1129
|
+
path: {
|
|
1130
|
+
/**
|
|
1131
|
+
* The blob hash
|
|
1132
|
+
*/
|
|
1133
|
+
hash: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* The repository ID
|
|
1136
|
+
*/
|
|
1137
|
+
repo_id: string;
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1141
|
+
export type HandleGetBlobResponse = (BlobObject);
|
|
1142
|
+
|
|
1143
|
+
export type HandleGetBlobError = ({
|
|
1144
|
+
message: string;
|
|
1145
|
+
});
|
|
1146
|
+
|
|
1147
|
+
export type HandleGetCommitData = {
|
|
1148
|
+
path: {
|
|
1149
|
+
/**
|
|
1150
|
+
* The commit hash
|
|
1151
|
+
*/
|
|
1152
|
+
hash: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* The repository ID
|
|
1155
|
+
*/
|
|
1156
|
+
repo_id: string;
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
export type HandleGetCommitResponse = (CommitObject);
|
|
1161
|
+
|
|
1162
|
+
export type HandleGetCommitError = ({
|
|
1163
|
+
message: string;
|
|
1164
|
+
});
|
|
1165
|
+
|
|
1166
|
+
export type HandleGetTagData = {
|
|
1167
|
+
path: {
|
|
1168
|
+
/**
|
|
1169
|
+
* The tag hash
|
|
1170
|
+
*/
|
|
1171
|
+
hash: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* The repository ID
|
|
1174
|
+
*/
|
|
1175
|
+
repo_id: string;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
export type HandleGetTagResponse = (TagObject);
|
|
1180
|
+
|
|
1181
|
+
export type HandleGetTagError = ({
|
|
1182
|
+
message: string;
|
|
1183
|
+
});
|
|
1184
|
+
|
|
1185
|
+
export type HandleGetTreeData = {
|
|
1186
|
+
path: {
|
|
1187
|
+
/**
|
|
1188
|
+
* The tree hash
|
|
1189
|
+
*/
|
|
1190
|
+
hash: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* The repository ID
|
|
1193
|
+
*/
|
|
1194
|
+
repo_id: string;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
export type HandleGetTreeResponse = (TreeObject);
|
|
1199
|
+
|
|
1200
|
+
export type HandleGetTreeError = ({
|
|
1201
|
+
message: string;
|
|
1202
|
+
});
|
|
1203
|
+
|
|
880
1204
|
export type HandleDeleteRepoData = {
|
|
881
1205
|
path: {
|
|
882
1206
|
/**
|