freestyle-sandboxes 0.0.75-1 → 0.0.75
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 +4 -2
- package/dist/inde.d.mts +4 -2
- package/dist/{index-BBXyg0JQ.cjs → index-CGc0kRd_.cjs} +9 -5
- package/dist/{index-DCF70Xbq.mjs → index-jh-93svX.mjs} +9 -5
- package/dist/index.cjs +13 -6
- package/dist/index.d.cts +4 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.mjs +13 -6
- 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-BVXmFV7d.d.ts → types.gen-0bQ5Wn0o.d.ts} +18 -17
- package/dist/{types.gen-CIf3ciN7.d.ts → types.gen-BJArgpto.d.ts} +2 -5
- package/dist/{types.gen-DLYohMJT.d.ts → types.gen-CfrGF-JI.d.ts} +1 -1
- package/dist/{types.gen-CZUnqmzP.d.ts → types.gen-DxZanGNF.d.ts} +9 -6
- 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 +12 -12
- package/openapi/types.gen.ts +20 -19
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/dev-server.ts +3 -0
- package/src/index.ts +45 -58
- package/dist/index-BQHqnjZK.mjs +0 -3231
- package/dist/index-CEEa9WHp.cjs +0 -3238
- 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-BaMKzqxQ.d.ts +0 -233
- package/dist/types.gen-BbekD8Sd.d.ts +0 -1119
- package/dist/types.gen-BqN1t03N.d.ts +0 -842
- package/dist/types.gen-BtK6PMQy.d.ts +0 -195
- package/dist/types.gen-C03gaIPq.d.ts +0 -297
- package/dist/types.gen-CMuCas4r.d.ts +0 -183
- 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-DbTb_SrD.d.ts +0 -156
- 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
|
@@ -379,4 +379,4 @@ type HandleGetWebDeployDetailsData = {
|
|
|
379
379
|
};
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
-
export type {
|
|
382
|
+
export type { HandleListExecuteRunsError as $, action as A, Behavior as B, CreateRepositoryRequest as C, DeploymentLogEntry as D, ExecuteLogEntry as E, FreestyleExecuteScriptParamsConfiguration as F, FreestyleVerifyDomainRequest as G, HandleBackupCloudstateResponse as H, HandleDeployCloudstateData as I, HandleDeployCloudstateResponse as J, HandleDeployCloudstateError as K, HandleBackupCloudstateData as L, HandleBackupCloudstateError as M, NetworkPermissionData as N, HandleVerifyWildcardResponse as O, HandleVerifyWildcardError as P, HandleListDomainsError as Q, RepositoryInfo as R, HandleListDomainVerificationRequestsError as S, HandleVerifyDomainData as T, HandleVerifyDomainError as U, HandleCreateDomainVerificationData as V, HandleCreateDomainVerificationError as W, HandleDeleteDomainVerificationData as X, HandleDeleteDomainVerificationError as Y, HandleListExecuteRunsData as Z, HandleListExecuteRunsResponse as _, FreestyleExecuteScriptResultSuccess as a, HandleGetExecuteRunData as a0, HandleGetExecuteRunResponse as a1, HandleGetExecuteRunError as a2, HandleExecuteScriptData as a3, HandleExecuteScriptResponse as a4, HandleExecuteScriptError as a5, ListRepositoriesHandlerData as a6, ListRepositoriesHandlerResponse as a7, ListRepositoriesHandlerError as a8, CreateRepoHandlerData as a9, CreateRepoHandlerResponse as aa, CreateRepoHandlerError as ab, DeleteRepoHandlerData as ac, DeleteRepoHandlerResponse as ad, DeleteRepoHandlerError as ae, HandleGetLogsData as af, HandleGetLogsError as ag, HandleDeployWebData as ah, HandleDeployWebResponse as ai, HandleDeployWebError as aj, HandleListWebDeploysData as ak, HandleListWebDeploysResponse as al, HandleListWebDeploysError as am, HandleGetWebDeployDetailsData as an, FreestyleDeployWebConfiguration as b, FreestyleDeployWebSuccessResponse as c, FreestyleCloudstateDeployRequest as d, FreestyleCloudstateDeploySuccessResponse as e, HandleGetLogsResponse as f, HandleCreateDomainVerificationResponse as g, HandleVerifyDomainResponse as h, HandleListDomainsResponse as i, HandleListDomainVerificationRequestsResponse as j, HandleDeleteDomainVerificationResponse as k, DeploymentState as l, ExecuteRunInfo as m, ExecuteRunState as n, FreestyleCloudstateDeployConfiguration as o, FreestyleCloudstateDeployErrorResponse as p, FreestyleDeleteDomainVerificationRequest as q, FreestyleDeployWebErrorResponse as r, FreestyleDeployWebPayload as s, FreestyleDomainVerificationRequest as t, FreestyleExecuteScriptParams as u, FreestyleFile as v, FreestyleGetLogsResponse as w, FreestyleJavaScriptLog as x, FreestyleLogResponseObject as y, FreestyleNetworkPermission as z };
|
|
@@ -27,7 +27,7 @@ type CreateRecordParams = {
|
|
|
27
27
|
domain: string;
|
|
28
28
|
record: DnsRecordData;
|
|
29
29
|
};
|
|
30
|
-
type CreateRepositoryRequest = {
|
|
30
|
+
type CreateRepositoryRequest = (null | CreateRepoSource) & {
|
|
31
31
|
/**
|
|
32
32
|
* This name is not visible to users, and is only accessible to you via API and in the
|
|
33
33
|
* dashboard. Mostly useful for observability.
|
|
@@ -38,6 +38,13 @@ type CreateRepositoryRequest = {
|
|
|
38
38
|
type CreateRepositoryResponseSuccess = {
|
|
39
39
|
repoId: string;
|
|
40
40
|
};
|
|
41
|
+
type CreateRepoSource = {
|
|
42
|
+
cloneFrom: {
|
|
43
|
+
url: string;
|
|
44
|
+
branch?: (string) | null;
|
|
45
|
+
depth?: (number) | null;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
41
48
|
type DeploymentLogEntry = {
|
|
42
49
|
deploymentId: string;
|
|
43
50
|
accountId: string;
|
|
@@ -724,10 +731,6 @@ type HandleCreateGitTriggerError = ({
|
|
|
724
731
|
});
|
|
725
732
|
type HandleDeleteGitTriggerData = {
|
|
726
733
|
path: {
|
|
727
|
-
/**
|
|
728
|
-
* The repository id
|
|
729
|
-
*/
|
|
730
|
-
repo: string;
|
|
731
734
|
/**
|
|
732
735
|
* The trigger id
|
|
733
736
|
*/
|
|
@@ -786,4 +789,4 @@ type HandleGetWebDeployDetailsData = {
|
|
|
786
789
|
};
|
|
787
790
|
};
|
|
788
791
|
|
|
789
|
-
export type {
|
|
792
|
+
export type { FreestyleCloudstateDeployConfiguration 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, AccessibleRepository as I, AccessTokenInfo as J, Behavior as K, ListPermissionResponseSuccess as L, CreateDomainMappingRequest as M, CreateRecordParams as N, CreateRepositoryRequest as O, CreateRepoSource as P, DeploymentLogEntry as Q, kind as R, DeploymentState as S, DevServer as T, DnsRecord as U, DnsRecordData as V, DnsRecordKind as W, DomainVerificationRequest as X, ExecuteLogEntry as Y, ExecuteRunInfo as Z, ExecuteRunState as _, FreestyleExecuteScriptResultSuccess as a, HandleExecuteScriptError as a$, FreestyleCloudstateDeployErrorResponse as a0, FreestyleDeleteDomainVerificationRequest as a1, FreestyleDeployWebErrorResponse as a2, FreestyleDeployWebPayload as a3, FreestyleDeployWebPayloadV2 as a4, FreestyleDomainVerificationRequest as a5, FreestyleExecuteScriptParams as a6, FreestyleFile as a7, FreestyleGetLogsResponse as a8, FreestyleJavaScriptLog as a9, HandleDeleteRecordData as aA, HandleDeleteRecordResponse as aB, HandleDeleteRecordError as aC, HandleVerifyWildcardData as aD, HandleVerifyWildcardError as aE, HandleListDomainsError as aF, HandleInsertDomainMappingData as aG, HandleInsertDomainMappingResponse as aH, HandleInsertDomainMappingError as aI, HandleDeleteDomainMappingData as aJ, HandleDeleteDomainMappingResponse as aK, HandleDeleteDomainMappingError as aL, HandleListDomainVerificationRequestsError as aM, HandleVerifyDomainData as aN, HandleCreateDomainVerificationData as aO, HandleCreateDomainVerificationError as aP, HandleDeleteDomainVerificationData as aQ, HandleDeleteDomainVerificationError as aR, HandleEphemeralDevServerData as aS, HandleEphemeralDevServerResponse as aT, HandleEphemeralDevServerError as aU, HandleListExecuteRunsData as aV, HandleListExecuteRunsError as aW, HandleGetExecuteRunData as aX, HandleGetExecuteRunError as aY, HandleExecuteScriptData as aZ, HandleExecuteScriptResponse as a_, FreestyleLogResponseObject as aa, FreestyleNetworkPermission as ab, action as ac, FreestyleVerifyDomainRequest as ad, GitRepositoryTrigger as ae, event as af, action2 as ag, GrantPermissionRequest as ah, InternalServerError as ai, ListRecordsResponse as aj, NetworkPermissionData as ak, RepositoryInfo as al, RevokeGitTokenRequest as am, UpdatePermissionRequest as an, Visibility as ao, HandleDeployCloudstateData as ap, HandleDeployCloudstateResponse as aq, HandleDeployCloudstateError as ar, HandleBackupCloudstateData as as, HandleBackupCloudstateError as at, HandleListRecordsData as au, HandleListRecordsResponse as av, HandleListRecordsError as aw, HandleCreateRecordData as ax, HandleCreateRecordResponse as ay, HandleCreateRecordError as az, FreestyleDeployWebConfiguration as b, HandleCreateIdentityResponse as b0, HandleCreateIdentityError as b1, HandleDeleteIdentityData as b2, HandleDeleteIdentityError as b3, HandleListPermissionsData as b4, HandleListPermissionsResponse as b5, HandleListPermissionsError as b6, HandleDescribePermissionData as b7, HandleDescribePermissionResponse as b8, HandleDescribePermissionError as b9, HandleCreateGitTriggerData as bA, HandleCreateGitTriggerError as bB, HandleDeleteGitTriggerData as bC, HandleDeleteGitTriggerResponse as bD, HandleDeleteGitTriggerError as bE, HandleGetLogsData as bF, HandleGetLogsError as bG, HandleDeployWebData as bH, HandleDeployWebResponse as bI, HandleDeployWebError as bJ, HandleDeployWebV2Data as bK, HandleDeployWebV2Response as bL, HandleDeployWebV2Error as bM, HandleListWebDeploysData as bN, HandleListWebDeploysError as bO, HandleGetWebDeployDetailsData as bP, HandleGrantPermissionData as ba, HandleGrantPermissionError as bb, HandleRevokePermissionData as bc, HandleRevokePermissionResponse as bd, HandleRevokePermissionError as be, HandleUpdatePermissionData as bf, HandleUpdatePermissionResponse as bg, HandleUpdatePermissionError as bh, HandleListGitTokensData as bi, HandleListGitTokensResponse as bj, HandleListGitTokensError as bk, HandleCreateGitTokenData as bl, HandleCreateGitTokenResponse as bm, HandleCreateGitTokenError as bn, HandleRevokeGitTokenData as bo, HandleRevokeGitTokenResponse as bp, HandleRevokeGitTokenError as bq, HandleListRepositoriesData as br, HandleListRepositoriesError as bs, HandleCreateRepoData as bt, HandleCreateRepoResponse as bu, HandleCreateRepoError as bv, HandleDeleteRepoData as bw, HandleDeleteRepoError as bx, HandleListGitTriggersData as by, HandleListGitTriggersError 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 };
|
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-0bQ5Wn0o.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-0bQ5Wn0o.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-0bQ5Wn0o.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-0bQ5Wn0o.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, 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,
|
|
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, HandleGetRefTagData, HandleGetRefTagError, HandleGetRefTagResponse, HandleGetTagData, HandleGetTagError, HandleGetTagResponse, HandleGetTreeData, HandleGetTreeError, HandleGetTreeResponse, HandleDownloadTarballData, HandleDownloadTarballError, HandleDownloadTarballResponse, 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
|
|
|
@@ -463,6 +463,17 @@ export const handleGetRefBranch = <ThrowOnError extends boolean = false>(options
|
|
|
463
463
|
});
|
|
464
464
|
};
|
|
465
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Get a tag reference
|
|
468
|
+
* Get a reference to a tag in the Git repository. Returns the ref name and SHA of the tag.
|
|
469
|
+
*/
|
|
470
|
+
export const handleGetRefTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetRefTagData, ThrowOnError>) => {
|
|
471
|
+
return (options?.client ?? client).get<HandleGetRefTagResponse, HandleGetRefTagError, ThrowOnError>({
|
|
472
|
+
...options,
|
|
473
|
+
url: '/git/v1/repo/{repo}/git/refs/tags/{*tag}'
|
|
474
|
+
});
|
|
475
|
+
};
|
|
476
|
+
|
|
466
477
|
/**
|
|
467
478
|
* Get a tag object
|
|
468
479
|
* Get a tag from the Git database.
|
|
@@ -540,17 +551,6 @@ export const handleGetLogs = <ThrowOnError extends boolean = false>(options?: Op
|
|
|
540
551
|
});
|
|
541
552
|
};
|
|
542
553
|
|
|
543
|
-
/**
|
|
544
|
-
* Get a tag reference
|
|
545
|
-
* Get a reference to a tag in the Git repository. Returns the ref name and SHA of the tag.
|
|
546
|
-
*/
|
|
547
|
-
export const handleGetRefTag = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<HandleGetRefTagData, ThrowOnError>) => {
|
|
548
|
-
return (options?.client ?? client).get<HandleGetRefTagResponse, HandleGetRefTagError, ThrowOnError>({
|
|
549
|
-
...options,
|
|
550
|
-
url: '/repos/{repo}/git/refs/tags/{*tag}'
|
|
551
|
-
});
|
|
552
|
-
};
|
|
553
|
-
|
|
554
554
|
/**
|
|
555
555
|
* @deprecated
|
|
556
556
|
* Deploy a Website (v1)
|
package/openapi/types.gen.ts
CHANGED
|
@@ -161,6 +161,7 @@ export type DeploymentSource = {
|
|
|
161
161
|
} | {
|
|
162
162
|
url: string;
|
|
163
163
|
branch?: (string) | null;
|
|
164
|
+
dir?: (string) | null;
|
|
164
165
|
kind: 'git';
|
|
165
166
|
};
|
|
166
167
|
|
|
@@ -1347,6 +1348,25 @@ export type HandleGetRefBranchError = (unknown | {
|
|
|
1347
1348
|
message: string;
|
|
1348
1349
|
});
|
|
1349
1350
|
|
|
1351
|
+
export type HandleGetRefTagData = {
|
|
1352
|
+
path: {
|
|
1353
|
+
/**
|
|
1354
|
+
* The repository id
|
|
1355
|
+
*/
|
|
1356
|
+
repo: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* The tag's name
|
|
1359
|
+
*/
|
|
1360
|
+
tag: string;
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
export type HandleGetRefTagResponse = (GitReference);
|
|
1365
|
+
|
|
1366
|
+
export type HandleGetRefTagError = (unknown | {
|
|
1367
|
+
message: string;
|
|
1368
|
+
});
|
|
1369
|
+
|
|
1350
1370
|
export type HandleGetTagData = {
|
|
1351
1371
|
path: {
|
|
1352
1372
|
/**
|
|
@@ -1481,25 +1501,6 @@ export type HandleGetLogsResponse = (FreestyleGetLogsResponse);
|
|
|
1481
1501
|
|
|
1482
1502
|
export type HandleGetLogsError = unknown;
|
|
1483
1503
|
|
|
1484
|
-
export type HandleGetRefTagData = {
|
|
1485
|
-
path: {
|
|
1486
|
-
/**
|
|
1487
|
-
* The repository id
|
|
1488
|
-
*/
|
|
1489
|
-
repo: string;
|
|
1490
|
-
/**
|
|
1491
|
-
* The tag's name
|
|
1492
|
-
*/
|
|
1493
|
-
tag: string;
|
|
1494
|
-
};
|
|
1495
|
-
};
|
|
1496
|
-
|
|
1497
|
-
export type HandleGetRefTagResponse = (GitReference);
|
|
1498
|
-
|
|
1499
|
-
export type HandleGetRefTagError = (unknown | {
|
|
1500
|
-
message: string;
|
|
1501
|
-
});
|
|
1502
|
-
|
|
1503
1504
|
export type HandleDeployWebData = {
|
|
1504
1505
|
body: FreestyleDeployWebPayload;
|
|
1505
1506
|
};
|