freestyle-sandboxes 0.0.69 → 0.0.70
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-wmZuN8DG.d.ts → types.gen-BVXmFV7d.d.ts} +114 -12
- package/dist/types.gen-BaMKzqxQ.d.ts +233 -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 +30 -1
- package/openapi/types.gen.ts +127 -11
- 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-BVXmFV7d.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-BVXmFV7d.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-BVXmFV7d.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-BVXmFV7d.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, HandleExecOnEphemeralDevServerData, HandleExecOnEphemeralDevServerError, HandleExecOnEphemeralDevServerResponse, HandleWriteFileFromEphemeralDevServerData, HandleWriteFileFromEphemeralDevServerError, HandleWriteFileFromEphemeralDevServerResponse, HandleReadFileFromEphemeralDevServerData, HandleReadFileFromEphemeralDevServerError, HandleReadFileFromEphemeralDevServerResponse, HandleGitCommitPushData, HandleGitCommitPushError, HandleGitCommitPushResponse, HandleShutdownDevServerData, HandleShutdownDevServerError, HandleShutdownDevServerResponse, 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, HandleDeleteRepoData, HandleDeleteRepoError, HandleDeleteRepoResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetRefBranchData, HandleGetRefBranchError, HandleGetRefBranchResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleGetRefTagData, HandleGetRefTagError, HandleGetRefTagResponse, 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, HandleShutdownDevServerData, HandleShutdownDevServerError, HandleShutdownDevServerResponse, HandleDevServerStatusData, HandleDevServerStatusError, HandleDevServerStatusResponse, HandleWatchDevServerFilesData, HandleWatchDevServerFilesError, HandleWatchDevServerFilesResponse, 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, HandleGetContentsData, HandleGetContentsError, HandleGetContentsResponse, HandleGetBlobData, HandleGetBlobError, HandleGetBlobResponse, HandleGetCommitData, HandleGetCommitError, HandleGetCommitResponse, HandleGetRefBranchData, HandleGetRefBranchError, HandleGetRefBranchResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleDownloadTarballData, HandleDownloadTarballError, HandleDownloadTarballResponse, HandleListGitTriggersData, HandleListGitTriggersError, HandleListGitTriggersResponse, HandleCreateGitTriggerData, HandleCreateGitTriggerError, HandleCreateGitTriggerResponse, HandleDeleteGitTriggerData, HandleDeleteGitTriggerError, HandleDeleteGitTriggerResponse, HandleGetLogsData, HandleGetLogsError, HandleGetLogsResponse, HandleGetRefTagData, HandleGetRefTagError, HandleGetRefTagResponse, HandleDeployWebData, HandleDeployWebError, HandleDeployWebResponse, HandleDeployWebV2Data, HandleDeployWebV2Error, HandleDeployWebV2Response, HandleListWebDeploysData, HandleListWebDeploysError, HandleListWebDeploysResponse, HandleGetWebDeployDetailsData } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -219,6 +219,13 @@ export const handleDevServerStatus = <ThrowOnError extends boolean = false>(opti
|
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
+
export const handleWatchDevServerFiles = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleWatchDevServerFilesData, ThrowOnError>) => {
|
|
223
|
+
return (options?.client ?? client).post<HandleWatchDevServerFilesResponse, HandleWatchDevServerFilesError, ThrowOnError>({
|
|
224
|
+
...options,
|
|
225
|
+
url: '/ephemeral/v1/dev-servers/watch-files'
|
|
226
|
+
});
|
|
227
|
+
};
|
|
228
|
+
|
|
222
229
|
/**
|
|
223
230
|
* List execute runs
|
|
224
231
|
* List execute runs.
|
|
@@ -412,6 +419,17 @@ export const handleDeleteRepo = <ThrowOnError extends boolean = false>(options:
|
|
|
412
419
|
});
|
|
413
420
|
};
|
|
414
421
|
|
|
422
|
+
/**
|
|
423
|
+
* Get the contents of a file or directory
|
|
424
|
+
* Get the contents of a file or directory in a repository
|
|
425
|
+
*/
|
|
426
|
+
export const handleGetContents = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetContentsData, ThrowOnError>) => {
|
|
427
|
+
return (options?.client ?? client).get<HandleGetContentsResponse, HandleGetContentsError, ThrowOnError>({
|
|
428
|
+
...options,
|
|
429
|
+
url: '/git/v1/repo/{repo}/contents/{*path}'
|
|
430
|
+
});
|
|
431
|
+
};
|
|
432
|
+
|
|
415
433
|
/**
|
|
416
434
|
* Get a blob object
|
|
417
435
|
* Get a blob from the Git database. The contents will always be base64 encoded.
|
|
@@ -467,6 +485,17 @@ export const handleGetTree = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
467
485
|
});
|
|
468
486
|
};
|
|
469
487
|
|
|
488
|
+
/**
|
|
489
|
+
* Download a tarball of a repo.
|
|
490
|
+
* Download the contents of a repo as a tarball.
|
|
491
|
+
*/
|
|
492
|
+
export const handleDownloadTarball = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleDownloadTarballData, ThrowOnError>) => {
|
|
493
|
+
return (options?.client ?? client).get<HandleDownloadTarballResponse, HandleDownloadTarballError, ThrowOnError>({
|
|
494
|
+
...options,
|
|
495
|
+
url: '/git/v1/repo/{repo}/tarball'
|
|
496
|
+
});
|
|
497
|
+
};
|
|
498
|
+
|
|
470
499
|
/**
|
|
471
500
|
* List git triggers for a repository
|
|
472
501
|
* List git triggers for the given repository.
|
package/openapi/types.gen.ts
CHANGED
|
@@ -208,6 +208,10 @@ export type DevServerStatusRequest = {
|
|
|
208
208
|
devServer: DevServer;
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
+
export type DevServerWatchFilesRequest = {
|
|
212
|
+
devServer: DevServer;
|
|
213
|
+
};
|
|
214
|
+
|
|
211
215
|
export type DnsRecord = {
|
|
212
216
|
kind: DnsRecordKind;
|
|
213
217
|
name: string;
|
|
@@ -232,7 +236,7 @@ export type DomainVerificationRequest = {
|
|
|
232
236
|
domain: string;
|
|
233
237
|
accountId: string;
|
|
234
238
|
verificationCode: string;
|
|
235
|
-
createdAt:
|
|
239
|
+
createdAt: string;
|
|
236
240
|
};
|
|
237
241
|
|
|
238
242
|
export type ExecRequest = {
|
|
@@ -504,6 +508,54 @@ export type GitCommitPushRequest = {
|
|
|
504
508
|
message: string;
|
|
505
509
|
};
|
|
506
510
|
|
|
511
|
+
export type GitContents = {
|
|
512
|
+
name: string;
|
|
513
|
+
path: string;
|
|
514
|
+
/**
|
|
515
|
+
* The hash / object ID of the file.
|
|
516
|
+
*/
|
|
517
|
+
sha: string;
|
|
518
|
+
size: number;
|
|
519
|
+
/**
|
|
520
|
+
* Base64-encoded content.
|
|
521
|
+
*/
|
|
522
|
+
content: string;
|
|
523
|
+
type: 'file';
|
|
524
|
+
} | {
|
|
525
|
+
name: string;
|
|
526
|
+
path: string;
|
|
527
|
+
/**
|
|
528
|
+
* The hash / object ID of the directory.
|
|
529
|
+
*/
|
|
530
|
+
sha: string;
|
|
531
|
+
entries: Array<GitContentsDirEntryItem>;
|
|
532
|
+
type: 'dir';
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
export type type2 = 'file';
|
|
536
|
+
|
|
537
|
+
export type GitContentsDirEntryItem = {
|
|
538
|
+
name: string;
|
|
539
|
+
path: string;
|
|
540
|
+
/**
|
|
541
|
+
* The hash / object ID of the file.
|
|
542
|
+
*/
|
|
543
|
+
sha: string;
|
|
544
|
+
size: number;
|
|
545
|
+
type: 'file';
|
|
546
|
+
} | {
|
|
547
|
+
name: string;
|
|
548
|
+
path: string;
|
|
549
|
+
/**
|
|
550
|
+
* The hash / object ID of the directory.
|
|
551
|
+
*/
|
|
552
|
+
sha: string;
|
|
553
|
+
entries: Array<({
|
|
554
|
+
[key: string]: unknown;
|
|
555
|
+
})>;
|
|
556
|
+
type: 'dir';
|
|
557
|
+
};
|
|
558
|
+
|
|
507
559
|
export type GitIdentity = {
|
|
508
560
|
id: string;
|
|
509
561
|
managed: boolean;
|
|
@@ -536,7 +588,7 @@ export type GitRepositoryTrigger = {
|
|
|
536
588
|
});
|
|
537
589
|
managed: boolean;
|
|
538
590
|
id: string;
|
|
539
|
-
createdAt:
|
|
591
|
+
createdAt: string;
|
|
540
592
|
};
|
|
541
593
|
|
|
542
594
|
export type event = 'push';
|
|
@@ -577,6 +629,22 @@ export type NetworkPermissionData = {
|
|
|
577
629
|
behavior?: Behavior;
|
|
578
630
|
};
|
|
579
631
|
|
|
632
|
+
export type ReadFileEphemeralDevServerResponses = {
|
|
633
|
+
id: string;
|
|
634
|
+
isNew: boolean;
|
|
635
|
+
content: ({
|
|
636
|
+
content: string;
|
|
637
|
+
encoding: string;
|
|
638
|
+
kind: 'file';
|
|
639
|
+
} | {
|
|
640
|
+
files: Array<(string)>;
|
|
641
|
+
kind: 'directory';
|
|
642
|
+
});
|
|
643
|
+
} | {
|
|
644
|
+
id: string;
|
|
645
|
+
isNew: boolean;
|
|
646
|
+
} | InternalServerError;
|
|
647
|
+
|
|
580
648
|
export type ReadFileRequest = {
|
|
581
649
|
devServer: DevServer;
|
|
582
650
|
encoding?: string;
|
|
@@ -649,7 +717,7 @@ export type TreeEntry = {
|
|
|
649
717
|
type: 'tree';
|
|
650
718
|
};
|
|
651
719
|
|
|
652
|
-
export type
|
|
720
|
+
export type type3 = 'blob';
|
|
653
721
|
|
|
654
722
|
/**
|
|
655
723
|
* Tree object
|
|
@@ -750,7 +818,7 @@ export type HandleVerifyWildcardError = ({
|
|
|
750
818
|
|
|
751
819
|
export type HandleListDomainsResponse = (Array<{
|
|
752
820
|
domain: string;
|
|
753
|
-
createdAt:
|
|
821
|
+
createdAt: string;
|
|
754
822
|
}>);
|
|
755
823
|
|
|
756
824
|
export type HandleListDomainsError = ({
|
|
@@ -785,7 +853,7 @@ export type HandleDeleteDomainMappingError = ({
|
|
|
785
853
|
export type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
786
854
|
verificationCode: string;
|
|
787
855
|
domain: string;
|
|
788
|
-
createdAt:
|
|
856
|
+
createdAt: string;
|
|
789
857
|
}>);
|
|
790
858
|
|
|
791
859
|
export type HandleListDomainVerificationRequestsError = ({
|
|
@@ -860,9 +928,6 @@ export type HandleExecOnEphemeralDevServerError = (InternalServerError);
|
|
|
860
928
|
|
|
861
929
|
export type HandleWriteFileFromEphemeralDevServerData = {
|
|
862
930
|
body: WriteFileRequest;
|
|
863
|
-
path: {
|
|
864
|
-
filepath: unknown;
|
|
865
|
-
};
|
|
866
931
|
};
|
|
867
932
|
|
|
868
933
|
export type HandleWriteFileFromEphemeralDevServerResponse = ({
|
|
@@ -874,9 +939,6 @@ export type HandleWriteFileFromEphemeralDevServerError = (InternalServerError);
|
|
|
874
939
|
|
|
875
940
|
export type HandleReadFileFromEphemeralDevServerData = {
|
|
876
941
|
body: ReadFileRequest;
|
|
877
|
-
path: {
|
|
878
|
-
filepath: unknown;
|
|
879
|
-
};
|
|
880
942
|
};
|
|
881
943
|
|
|
882
944
|
export type HandleReadFileFromEphemeralDevServerResponse = ({
|
|
@@ -932,6 +994,14 @@ export type HandleDevServerStatusResponse = ({
|
|
|
932
994
|
|
|
933
995
|
export type HandleDevServerStatusError = (InternalServerError);
|
|
934
996
|
|
|
997
|
+
export type HandleWatchDevServerFilesData = {
|
|
998
|
+
body: DevServerWatchFilesRequest;
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
export type HandleWatchDevServerFilesResponse = (string);
|
|
1002
|
+
|
|
1003
|
+
export type HandleWatchDevServerFilesError = unknown;
|
|
1004
|
+
|
|
935
1005
|
export type HandleListExecuteRunsData = {
|
|
936
1006
|
query?: {
|
|
937
1007
|
limit?: (number) | null;
|
|
@@ -1199,6 +1269,31 @@ export type HandleDeleteRepoError = ({
|
|
|
1199
1269
|
[key: string]: unknown;
|
|
1200
1270
|
});
|
|
1201
1271
|
|
|
1272
|
+
export type HandleGetContentsData = {
|
|
1273
|
+
path: {
|
|
1274
|
+
/**
|
|
1275
|
+
* The path to the file or directory. Empty for root.
|
|
1276
|
+
*/
|
|
1277
|
+
'*path': (string) | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* The repository ID.
|
|
1280
|
+
*/
|
|
1281
|
+
repo: string;
|
|
1282
|
+
};
|
|
1283
|
+
query?: {
|
|
1284
|
+
/**
|
|
1285
|
+
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
1286
|
+
*/
|
|
1287
|
+
ref?: string;
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
export type HandleGetContentsResponse = (GitContents);
|
|
1292
|
+
|
|
1293
|
+
export type HandleGetContentsError = ({
|
|
1294
|
+
message: string;
|
|
1295
|
+
});
|
|
1296
|
+
|
|
1202
1297
|
export type HandleGetBlobData = {
|
|
1203
1298
|
path: {
|
|
1204
1299
|
/**
|
|
@@ -1290,6 +1385,27 @@ export type HandleGetTreeError = ({
|
|
|
1290
1385
|
message: string;
|
|
1291
1386
|
});
|
|
1292
1387
|
|
|
1388
|
+
export type HandleDownloadTarballData = {
|
|
1389
|
+
path: {
|
|
1390
|
+
/**
|
|
1391
|
+
* The repository id
|
|
1392
|
+
*/
|
|
1393
|
+
repo: string;
|
|
1394
|
+
};
|
|
1395
|
+
query?: {
|
|
1396
|
+
/**
|
|
1397
|
+
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
1398
|
+
*/
|
|
1399
|
+
ref?: string;
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
export type HandleDownloadTarballResponse = (unknown);
|
|
1404
|
+
|
|
1405
|
+
export type HandleDownloadTarballError = ({
|
|
1406
|
+
message: string;
|
|
1407
|
+
});
|
|
1408
|
+
|
|
1293
1409
|
export type HandleListGitTriggersData = {
|
|
1294
1410
|
path: {
|
|
1295
1411
|
/**
|