freestyle-sandboxes 0.0.45 → 0.0.46
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/index.d.cts +1 -1
- package/dist/ai/index.d.mts +1 -1
- 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 +132 -49
- package/dist/index.d.cts +74 -47
- package/dist/index.d.mts +74 -47
- package/dist/index.mjs +132 -49
- package/dist/langgraph/index.d.cts +1 -1
- package/dist/langgraph/index.d.mts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.mts +1 -1
- package/dist/{types.gen-DDYpuDzZ.d.ts → types.gen-BJArgpto.d.ts} +50 -10
- 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/index.d.cts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/openapi/types.gen.ts +23 -5
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +193 -101
- 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-BCdfx7yt.d.ts +0 -760
- package/dist/types.gen-BaMKzqxQ.d.ts +0 -233
- 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-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-uDTr6v-7.d.ts +0 -731
|
@@ -23,6 +23,13 @@ type CreatedToken = {
|
|
|
23
23
|
id: string;
|
|
24
24
|
token: string;
|
|
25
25
|
};
|
|
26
|
+
type CreateRecordParams = {
|
|
27
|
+
domain: string;
|
|
28
|
+
record: DnsRecordData;
|
|
29
|
+
};
|
|
30
|
+
type CreateRepoRequest = {
|
|
31
|
+
source?: (null | CreateRepoSource);
|
|
32
|
+
};
|
|
26
33
|
type CreateRepositoryRequest = {
|
|
27
34
|
/**
|
|
28
35
|
* This name is not visible to users, and is only accessible to you via API and in the
|
|
@@ -30,10 +37,18 @@ type CreateRepositoryRequest = {
|
|
|
30
37
|
*/
|
|
31
38
|
name?: (string) | null;
|
|
32
39
|
public?: boolean;
|
|
40
|
+
source?: CreateRepoSource;
|
|
33
41
|
};
|
|
34
42
|
type CreateRepositoryResponseSuccess = {
|
|
35
43
|
repoId: string;
|
|
36
44
|
};
|
|
45
|
+
type CreateRepoSource = {
|
|
46
|
+
url: string;
|
|
47
|
+
branch?: (string) | null;
|
|
48
|
+
depth?: (number) | null;
|
|
49
|
+
type: 'git';
|
|
50
|
+
};
|
|
51
|
+
type type = 'git';
|
|
37
52
|
type DeploymentLogEntry = {
|
|
38
53
|
deploymentId: string;
|
|
39
54
|
accountId: string;
|
|
@@ -62,6 +77,10 @@ type DescribePermissionResponseSuccess = {
|
|
|
62
77
|
repo: string;
|
|
63
78
|
accessLevel?: (null | AccessLevel);
|
|
64
79
|
};
|
|
80
|
+
type DevServer = {
|
|
81
|
+
domain?: (string) | null;
|
|
82
|
+
command?: (string) | null;
|
|
83
|
+
};
|
|
65
84
|
type DnsRecord = {
|
|
66
85
|
kind: DnsRecordKind;
|
|
67
86
|
name: string;
|
|
@@ -70,6 +89,13 @@ type DnsRecord = {
|
|
|
70
89
|
priority?: (number) | null;
|
|
71
90
|
managed: boolean;
|
|
72
91
|
};
|
|
92
|
+
type DnsRecordData = {
|
|
93
|
+
kind: DnsRecordKind;
|
|
94
|
+
name: string;
|
|
95
|
+
value: string;
|
|
96
|
+
ttl?: (string) | null;
|
|
97
|
+
priority?: (number) | null;
|
|
98
|
+
};
|
|
73
99
|
type DnsRecordKind = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'NS';
|
|
74
100
|
type DomainVerificationRequest = {
|
|
75
101
|
id: string;
|
|
@@ -160,6 +186,10 @@ type FreestyleDeployWebConfiguration = {
|
|
|
160
186
|
serverStartCheck?: boolean;
|
|
161
187
|
networkPermissions?: Array<FreestyleNetworkPermission> | null;
|
|
162
188
|
build?: (null | BuildOptions);
|
|
189
|
+
/**
|
|
190
|
+
* Timeout for the deployment in seconds. If not provided, the default is 10 seconds.
|
|
191
|
+
*/
|
|
192
|
+
timeout?: (number) | null;
|
|
163
193
|
};
|
|
164
194
|
type FreestyleDeployWebErrorResponse = {
|
|
165
195
|
message: string;
|
|
@@ -322,6 +352,7 @@ type GitTriggerAction = {
|
|
|
322
352
|
type GrantPermissionRequest = {
|
|
323
353
|
permission: AccessLevel;
|
|
324
354
|
};
|
|
355
|
+
type InternalServerError = string;
|
|
325
356
|
type ListGitTokensResponseSuccess = {
|
|
326
357
|
tokens: Array<AccessTokenInfo>;
|
|
327
358
|
};
|
|
@@ -370,10 +401,7 @@ type HandleListRecordsError = ({
|
|
|
370
401
|
message: string;
|
|
371
402
|
});
|
|
372
403
|
type HandleCreateRecordData = {
|
|
373
|
-
|
|
374
|
-
domain: string;
|
|
375
|
-
record: DnsRecord;
|
|
376
|
-
};
|
|
404
|
+
body: CreateRecordParams;
|
|
377
405
|
};
|
|
378
406
|
type HandleCreateRecordResponse = ({
|
|
379
407
|
record: DnsRecord;
|
|
@@ -464,6 +492,14 @@ type HandleDeleteDomainVerificationResponse = ({
|
|
|
464
492
|
type HandleDeleteDomainVerificationError = ({
|
|
465
493
|
message: string;
|
|
466
494
|
});
|
|
495
|
+
type HandleEphemeralDevServerData = {
|
|
496
|
+
body: DevServer;
|
|
497
|
+
};
|
|
498
|
+
type HandleEphemeralDevServerResponse = ({
|
|
499
|
+
url: string;
|
|
500
|
+
isNew: boolean;
|
|
501
|
+
});
|
|
502
|
+
type HandleEphemeralDevServerError = (InternalServerError);
|
|
467
503
|
type HandleListExecuteRunsData = {
|
|
468
504
|
query?: {
|
|
469
505
|
limit?: (number) | null;
|
|
@@ -636,7 +672,15 @@ type HandleListRepositoriesError = ({
|
|
|
636
672
|
message: string;
|
|
637
673
|
});
|
|
638
674
|
type HandleCreateRepoData = {
|
|
639
|
-
body:
|
|
675
|
+
body: {
|
|
676
|
+
/**
|
|
677
|
+
* This name is not visible to users, and is only accessible to you via API and in the
|
|
678
|
+
* dashboard. Mostly useful for observability.
|
|
679
|
+
*/
|
|
680
|
+
name?: (string) | null;
|
|
681
|
+
public?: boolean;
|
|
682
|
+
source?: CreateRepoSource;
|
|
683
|
+
};
|
|
640
684
|
};
|
|
641
685
|
type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
|
|
642
686
|
type HandleCreateRepoError = ({
|
|
@@ -699,10 +743,6 @@ type HandleCreateGitTriggerError = ({
|
|
|
699
743
|
});
|
|
700
744
|
type HandleDeleteGitTriggerData = {
|
|
701
745
|
path: {
|
|
702
|
-
/**
|
|
703
|
-
* The repository id
|
|
704
|
-
*/
|
|
705
|
-
repo: string;
|
|
706
746
|
/**
|
|
707
747
|
* The trigger id
|
|
708
748
|
*/
|
|
@@ -761,4 +801,4 @@ type HandleGetWebDeployDetailsData = {
|
|
|
761
801
|
};
|
|
762
802
|
};
|
|
763
803
|
|
|
764
|
-
export type {
|
|
804
|
+
export type { ExecuteRunInfo 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, CreateRepoRequest as O, CreateRepositoryRequest as P, CreateRepoSource as Q, type as R, DeploymentLogEntry as S, kind as T, DeploymentState as U, DevServer as V, DnsRecord as W, DnsRecordData as X, DnsRecordKind as Y, DomainVerificationRequest as Z, ExecuteLogEntry as _, FreestyleExecuteScriptResultSuccess as a, HandleExecuteScriptData as a$, ExecuteRunState as a0, FreestyleCloudstateDeployConfiguration as a1, FreestyleCloudstateDeployErrorResponse as a2, FreestyleDeleteDomainVerificationRequest as a3, FreestyleDeployWebErrorResponse as a4, FreestyleDeployWebPayload as a5, FreestyleDeployWebPayloadV2 as a6, FreestyleDomainVerificationRequest as a7, FreestyleExecuteScriptParams as a8, FreestyleFile as a9, HandleCreateRecordResponse as aA, HandleCreateRecordError as aB, HandleDeleteRecordData as aC, HandleDeleteRecordResponse as aD, HandleDeleteRecordError as aE, HandleVerifyWildcardData as aF, HandleVerifyWildcardError as aG, HandleListDomainsError as aH, HandleInsertDomainMappingData as aI, HandleInsertDomainMappingResponse as aJ, HandleInsertDomainMappingError as aK, HandleDeleteDomainMappingData as aL, HandleDeleteDomainMappingResponse as aM, HandleDeleteDomainMappingError as aN, HandleListDomainVerificationRequestsError as aO, HandleVerifyDomainData as aP, HandleCreateDomainVerificationData as aQ, HandleCreateDomainVerificationError as aR, HandleDeleteDomainVerificationData as aS, HandleDeleteDomainVerificationError as aT, HandleEphemeralDevServerData as aU, HandleEphemeralDevServerResponse as aV, HandleEphemeralDevServerError as aW, HandleListExecuteRunsData as aX, HandleListExecuteRunsError as aY, HandleGetExecuteRunData as aZ, HandleGetExecuteRunError as a_, FreestyleGetLogsResponse as aa, FreestyleJavaScriptLog as ab, FreestyleLogResponseObject as ac, FreestyleNetworkPermission as ad, action as ae, FreestyleVerifyDomainRequest as af, GitRepositoryTrigger as ag, event as ah, action2 as ai, GrantPermissionRequest as aj, InternalServerError as ak, ListRecordsResponse as al, NetworkPermissionData as am, RepositoryInfo as an, RevokeGitTokenRequest as ao, UpdatePermissionRequest as ap, Visibility as aq, HandleDeployCloudstateData as ar, HandleDeployCloudstateResponse as as, HandleDeployCloudstateError as at, HandleBackupCloudstateData as au, HandleBackupCloudstateError as av, HandleListRecordsData as aw, HandleListRecordsResponse as ax, HandleListRecordsError as ay, HandleCreateRecordData 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 };
|
|
@@ -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/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeploymentSource } from '../types.gen-
|
|
1
|
+
import { D as DeploymentSource } from '../types.gen-BJArgpto.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-BJArgpto.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|
package/openapi/types.gen.ts
CHANGED
|
@@ -37,6 +37,10 @@ export type CreateRecordParams = {
|
|
|
37
37
|
record: DnsRecordData;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
+
export type CreateRepoRequest = {
|
|
41
|
+
source?: (null | CreateRepoSource);
|
|
42
|
+
};
|
|
43
|
+
|
|
40
44
|
export type CreateRepositoryRequest = {
|
|
41
45
|
/**
|
|
42
46
|
* This name is not visible to users, and is only accessible to you via API and in the
|
|
@@ -44,12 +48,22 @@ export type CreateRepositoryRequest = {
|
|
|
44
48
|
*/
|
|
45
49
|
name?: (string) | null;
|
|
46
50
|
public?: boolean;
|
|
51
|
+
source?: CreateRepoSource;
|
|
47
52
|
};
|
|
48
53
|
|
|
49
54
|
export type CreateRepositoryResponseSuccess = {
|
|
50
55
|
repoId: string;
|
|
51
56
|
};
|
|
52
57
|
|
|
58
|
+
export type CreateRepoSource = {
|
|
59
|
+
url: string;
|
|
60
|
+
branch?: (string) | null;
|
|
61
|
+
depth?: (number) | null;
|
|
62
|
+
type: 'git';
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export type type = 'git';
|
|
66
|
+
|
|
53
67
|
export type DeploymentLogEntry = {
|
|
54
68
|
deploymentId: string;
|
|
55
69
|
accountId: string;
|
|
@@ -804,7 +818,15 @@ export type HandleListRepositoriesError = ({
|
|
|
804
818
|
});
|
|
805
819
|
|
|
806
820
|
export type HandleCreateRepoData = {
|
|
807
|
-
body:
|
|
821
|
+
body: {
|
|
822
|
+
/**
|
|
823
|
+
* This name is not visible to users, and is only accessible to you via API and in the
|
|
824
|
+
* dashboard. Mostly useful for observability.
|
|
825
|
+
*/
|
|
826
|
+
name?: (string) | null;
|
|
827
|
+
public?: boolean;
|
|
828
|
+
source?: CreateRepoSource;
|
|
829
|
+
};
|
|
808
830
|
};
|
|
809
831
|
|
|
810
832
|
export type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
|
|
@@ -879,10 +901,6 @@ export type HandleCreateGitTriggerError = ({
|
|
|
879
901
|
|
|
880
902
|
export type HandleDeleteGitTriggerData = {
|
|
881
903
|
path: {
|
|
882
|
-
/**
|
|
883
|
-
* The repository id
|
|
884
|
-
*/
|
|
885
|
-
repo: string;
|
|
886
904
|
/**
|
|
887
905
|
* The trigger id
|
|
888
906
|
*/
|