freestyle-sandboxes 0.0.76 → 0.0.77
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 +34 -12
- package/dist/inde.d.mts +34 -12
- 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 +17 -6
- package/dist/index.d.cts +34 -12
- package/dist/index.d.mts +34 -12
- package/dist/index.mjs +17 -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-BbekD8Sd.d.ts → types.gen-DkFlXKTr.d.ts} +266 -31
- 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 +22 -11
- package/openapi/types.gen.ts +80 -20
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/dev-server.ts +3 -0
- package/src/index.ts +86 -55
- 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-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
|
@@ -86,8 +86,41 @@ type CreateRecordParams = {
|
|
|
86
86
|
domain: string;
|
|
87
87
|
record: DnsRecordData;
|
|
88
88
|
};
|
|
89
|
+
type CreateRepoImport = {
|
|
90
|
+
files: {
|
|
91
|
+
[key: string]: (string);
|
|
92
|
+
};
|
|
93
|
+
commit_message: string;
|
|
94
|
+
author_name?: (string) | null;
|
|
95
|
+
author_email?: (string) | null;
|
|
96
|
+
type: 'files';
|
|
97
|
+
} | {
|
|
98
|
+
url: string;
|
|
99
|
+
dir?: (string) | null;
|
|
100
|
+
commit_message: string;
|
|
101
|
+
author_name?: (string) | null;
|
|
102
|
+
author_email?: (string) | null;
|
|
103
|
+
type: 'tar';
|
|
104
|
+
} | {
|
|
105
|
+
url: string;
|
|
106
|
+
dir?: (string) | null;
|
|
107
|
+
commit_message: string;
|
|
108
|
+
author_name?: (string) | null;
|
|
109
|
+
author_email?: (string) | null;
|
|
110
|
+
type: 'zip';
|
|
111
|
+
} | {
|
|
112
|
+
url: string;
|
|
113
|
+
branch?: (string) | null;
|
|
114
|
+
dir?: (string) | null;
|
|
115
|
+
commit_message: string;
|
|
116
|
+
author_name?: (string) | null;
|
|
117
|
+
author_email?: (string) | null;
|
|
118
|
+
type: 'git';
|
|
119
|
+
};
|
|
120
|
+
type type = 'files';
|
|
89
121
|
type CreateRepoRequest = {
|
|
90
122
|
source?: (null | CreateRepoSource);
|
|
123
|
+
import?: (null | CreateRepoImport);
|
|
91
124
|
};
|
|
92
125
|
type CreateRepositoryRequest = {
|
|
93
126
|
/**
|
|
@@ -97,6 +130,7 @@ type CreateRepositoryRequest = {
|
|
|
97
130
|
name?: (string) | null;
|
|
98
131
|
public?: boolean;
|
|
99
132
|
source?: CreateRepoSource;
|
|
133
|
+
import?: CreateRepoImport;
|
|
100
134
|
};
|
|
101
135
|
type CreateRepositoryResponseSuccess = {
|
|
102
136
|
repoId: string;
|
|
@@ -107,7 +141,7 @@ type CreateRepoSource = {
|
|
|
107
141
|
depth?: (number) | null;
|
|
108
142
|
type: 'git';
|
|
109
143
|
};
|
|
110
|
-
type
|
|
144
|
+
type type2 = 'git';
|
|
111
145
|
type CustomBuildOptions = {
|
|
112
146
|
command?: (string) | null;
|
|
113
147
|
envVars?: {
|
|
@@ -115,7 +149,7 @@ type CustomBuildOptions = {
|
|
|
115
149
|
} | null;
|
|
116
150
|
outDir?: (string) | null;
|
|
117
151
|
};
|
|
118
|
-
type DeploymentBuildOptions = CustomBuildOptions | boolean;
|
|
152
|
+
type DeploymentBuildOptions = (CustomBuildOptions) | boolean;
|
|
119
153
|
type DeploymentLogEntry = {
|
|
120
154
|
deploymentId: string;
|
|
121
155
|
accountId: string;
|
|
@@ -139,6 +173,7 @@ type DeploymentSource = {
|
|
|
139
173
|
} | {
|
|
140
174
|
url: string;
|
|
141
175
|
branch?: (string) | null;
|
|
176
|
+
dir?: (string) | null;
|
|
142
177
|
kind: 'git';
|
|
143
178
|
};
|
|
144
179
|
type kind = 'files';
|
|
@@ -161,6 +196,11 @@ type DevServerRequest = {
|
|
|
161
196
|
[key: string]: (string);
|
|
162
197
|
} | null;
|
|
163
198
|
repoId?: (string) | null;
|
|
199
|
+
computeClass?: (string) | null;
|
|
200
|
+
/**
|
|
201
|
+
* Timeout in seconds
|
|
202
|
+
*/
|
|
203
|
+
timeout?: (number) | null;
|
|
164
204
|
/**
|
|
165
205
|
* @deprecated
|
|
166
206
|
*/
|
|
@@ -173,6 +213,9 @@ type DevServerRequest = {
|
|
|
173
213
|
type DevServerStatusRequest = {
|
|
174
214
|
devServer: DevServer;
|
|
175
215
|
};
|
|
216
|
+
type DevServerWatchFilesRequest = {
|
|
217
|
+
devServer: DevServer;
|
|
218
|
+
};
|
|
176
219
|
type DnsRecord = {
|
|
177
220
|
kind: DnsRecordKind;
|
|
178
221
|
name: string;
|
|
@@ -194,7 +237,7 @@ type DomainVerificationRequest = {
|
|
|
194
237
|
domain: string;
|
|
195
238
|
accountId: string;
|
|
196
239
|
verificationCode: string;
|
|
197
|
-
createdAt:
|
|
240
|
+
createdAt: string;
|
|
198
241
|
};
|
|
199
242
|
type ExecRequest = {
|
|
200
243
|
devServer: DevServer;
|
|
@@ -437,10 +480,68 @@ type GitCommitPushRequest = {
|
|
|
437
480
|
devServer: DevServer;
|
|
438
481
|
message: string;
|
|
439
482
|
};
|
|
483
|
+
type GitContents = {
|
|
484
|
+
name: string;
|
|
485
|
+
path: string;
|
|
486
|
+
/**
|
|
487
|
+
* The hash / object ID of the file.
|
|
488
|
+
*/
|
|
489
|
+
sha: string;
|
|
490
|
+
size: number;
|
|
491
|
+
/**
|
|
492
|
+
* Base64-encoded content.
|
|
493
|
+
*/
|
|
494
|
+
content: string;
|
|
495
|
+
type: 'file';
|
|
496
|
+
} | {
|
|
497
|
+
name: string;
|
|
498
|
+
path: string;
|
|
499
|
+
/**
|
|
500
|
+
* The hash / object ID of the directory.
|
|
501
|
+
*/
|
|
502
|
+
sha: string;
|
|
503
|
+
entries: Array<GitContentsDirEntryItem>;
|
|
504
|
+
type: 'dir';
|
|
505
|
+
};
|
|
506
|
+
type type3 = 'file';
|
|
507
|
+
type GitContentsDirEntryItem = {
|
|
508
|
+
name: string;
|
|
509
|
+
path: string;
|
|
510
|
+
/**
|
|
511
|
+
* The hash / object ID of the file.
|
|
512
|
+
*/
|
|
513
|
+
sha: string;
|
|
514
|
+
size: number;
|
|
515
|
+
type: 'file';
|
|
516
|
+
} | {
|
|
517
|
+
name: string;
|
|
518
|
+
path: string;
|
|
519
|
+
/**
|
|
520
|
+
* The hash / object ID of the directory.
|
|
521
|
+
*/
|
|
522
|
+
sha: string;
|
|
523
|
+
entries: Array<({
|
|
524
|
+
[key: string]: unknown;
|
|
525
|
+
})>;
|
|
526
|
+
type: 'dir';
|
|
527
|
+
};
|
|
440
528
|
type GitIdentity = {
|
|
441
529
|
id: string;
|
|
442
530
|
managed: boolean;
|
|
443
531
|
};
|
|
532
|
+
/**
|
|
533
|
+
* A reference to a Git object
|
|
534
|
+
*/
|
|
535
|
+
type GitReference = {
|
|
536
|
+
/**
|
|
537
|
+
* The name of the ref (e.g., "refs/heads/main" or "refs/tags/v1.0.0")
|
|
538
|
+
*/
|
|
539
|
+
name: string;
|
|
540
|
+
/**
|
|
541
|
+
* The SHA-1 hash of the Git object this reference points to
|
|
542
|
+
*/
|
|
543
|
+
sha: string;
|
|
544
|
+
};
|
|
444
545
|
type GitRepositoryTrigger = {
|
|
445
546
|
repositoryId: string;
|
|
446
547
|
trigger: ({
|
|
@@ -454,7 +555,7 @@ type GitRepositoryTrigger = {
|
|
|
454
555
|
});
|
|
455
556
|
managed: boolean;
|
|
456
557
|
id: string;
|
|
457
|
-
createdAt:
|
|
558
|
+
createdAt: string;
|
|
458
559
|
};
|
|
459
560
|
type event = 'push';
|
|
460
561
|
type action2 = 'webhook';
|
|
@@ -484,6 +585,21 @@ type NetworkPermissionData = {
|
|
|
484
585
|
query: string;
|
|
485
586
|
behavior?: Behavior;
|
|
486
587
|
};
|
|
588
|
+
type ReadFileEphemeralDevServerResponses = {
|
|
589
|
+
id: string;
|
|
590
|
+
isNew: boolean;
|
|
591
|
+
content: ({
|
|
592
|
+
content: string;
|
|
593
|
+
encoding: string;
|
|
594
|
+
kind: 'file';
|
|
595
|
+
} | {
|
|
596
|
+
files: Array<(string)>;
|
|
597
|
+
kind: 'directory';
|
|
598
|
+
});
|
|
599
|
+
} | {
|
|
600
|
+
id: string;
|
|
601
|
+
isNew: boolean;
|
|
602
|
+
} | InternalServerError;
|
|
487
603
|
type ReadFileRequest = {
|
|
488
604
|
devServer: DevServer;
|
|
489
605
|
encoding?: string;
|
|
@@ -497,6 +613,12 @@ type RepositoryInfo = {
|
|
|
497
613
|
type RevokeGitTokenRequest = {
|
|
498
614
|
tokenId: string;
|
|
499
615
|
};
|
|
616
|
+
type ShutdownDevServerRequest = {
|
|
617
|
+
/**
|
|
618
|
+
* The dev server to shutdown
|
|
619
|
+
*/
|
|
620
|
+
devServer: DevServer;
|
|
621
|
+
};
|
|
500
622
|
type Signature = {
|
|
501
623
|
/**
|
|
502
624
|
* The date marker for this signature
|
|
@@ -542,7 +664,7 @@ type TreeEntry = {
|
|
|
542
664
|
sha: string;
|
|
543
665
|
type: 'tree';
|
|
544
666
|
};
|
|
545
|
-
type
|
|
667
|
+
type type4 = 'blob';
|
|
546
668
|
/**
|
|
547
669
|
* Tree object
|
|
548
670
|
*/
|
|
@@ -620,7 +742,7 @@ type HandleVerifyWildcardError = ({
|
|
|
620
742
|
});
|
|
621
743
|
type HandleListDomainsResponse = (Array<{
|
|
622
744
|
domain: string;
|
|
623
|
-
createdAt:
|
|
745
|
+
createdAt: string;
|
|
624
746
|
}>);
|
|
625
747
|
type HandleListDomainsError = ({
|
|
626
748
|
message: string;
|
|
@@ -647,7 +769,7 @@ type HandleDeleteDomainMappingError = ({
|
|
|
647
769
|
type HandleListDomainVerificationRequestsResponse = (Array<{
|
|
648
770
|
verificationCode: string;
|
|
649
771
|
domain: string;
|
|
650
|
-
createdAt:
|
|
772
|
+
createdAt: string;
|
|
651
773
|
}>);
|
|
652
774
|
type HandleListDomainVerificationRequestsError = ({
|
|
653
775
|
message: string;
|
|
@@ -717,9 +839,19 @@ type HandleReadFileFromEphemeralDevServerData = {
|
|
|
717
839
|
type HandleReadFileFromEphemeralDevServerResponse = ({
|
|
718
840
|
id: string;
|
|
719
841
|
isNew: boolean;
|
|
720
|
-
content
|
|
842
|
+
content: ({
|
|
843
|
+
content: string;
|
|
844
|
+
encoding: string;
|
|
845
|
+
kind: 'file';
|
|
846
|
+
} | {
|
|
847
|
+
files: Array<(string)>;
|
|
848
|
+
kind: 'directory';
|
|
849
|
+
});
|
|
721
850
|
});
|
|
722
|
-
type HandleReadFileFromEphemeralDevServerError = (
|
|
851
|
+
type HandleReadFileFromEphemeralDevServerError = ({
|
|
852
|
+
id: string;
|
|
853
|
+
isNew: boolean;
|
|
854
|
+
} | InternalServerError);
|
|
723
855
|
type HandleGitCommitPushData = {
|
|
724
856
|
body: GitCommitPushRequest;
|
|
725
857
|
};
|
|
@@ -728,6 +860,16 @@ type HandleGitCommitPushResponse = ({
|
|
|
728
860
|
isNew: boolean;
|
|
729
861
|
});
|
|
730
862
|
type HandleGitCommitPushError = (InternalServerError);
|
|
863
|
+
type HandleShutdownDevServerData = {
|
|
864
|
+
body: ShutdownDevServerRequest;
|
|
865
|
+
};
|
|
866
|
+
type HandleShutdownDevServerResponse = ({
|
|
867
|
+
success: boolean;
|
|
868
|
+
message: string;
|
|
869
|
+
});
|
|
870
|
+
type HandleShutdownDevServerError = ({
|
|
871
|
+
message: string;
|
|
872
|
+
} | InternalServerError);
|
|
731
873
|
type HandleDevServerStatusData = {
|
|
732
874
|
body: DevServerStatusRequest;
|
|
733
875
|
};
|
|
@@ -736,6 +878,11 @@ type HandleDevServerStatusResponse = ({
|
|
|
736
878
|
devRunning: boolean;
|
|
737
879
|
});
|
|
738
880
|
type HandleDevServerStatusError = (InternalServerError);
|
|
881
|
+
type HandleWatchDevServerFilesData = {
|
|
882
|
+
body: DevServerWatchFilesRequest;
|
|
883
|
+
};
|
|
884
|
+
type HandleWatchDevServerFilesResponse = (string);
|
|
885
|
+
type HandleWatchDevServerFilesError = unknown;
|
|
739
886
|
type HandleListExecuteRunsData = {
|
|
740
887
|
query?: {
|
|
741
888
|
limit?: (number) | null;
|
|
@@ -917,6 +1064,7 @@ type HandleListRepositoriesData = {
|
|
|
917
1064
|
};
|
|
918
1065
|
type HandleListRepositoriesResponse = ({
|
|
919
1066
|
repositories: Array<RepositoryInfo>;
|
|
1067
|
+
total: number;
|
|
920
1068
|
offset: number;
|
|
921
1069
|
});
|
|
922
1070
|
type HandleListRepositoriesError = ({
|
|
@@ -931,22 +1079,57 @@ type HandleCreateRepoData = {
|
|
|
931
1079
|
name?: (string) | null;
|
|
932
1080
|
public?: boolean;
|
|
933
1081
|
source?: CreateRepoSource;
|
|
1082
|
+
import?: CreateRepoImport;
|
|
934
1083
|
};
|
|
935
1084
|
};
|
|
936
1085
|
type HandleCreateRepoResponse = (CreateRepositoryResponseSuccess);
|
|
937
1086
|
type HandleCreateRepoError = ({
|
|
938
1087
|
message: string;
|
|
939
1088
|
});
|
|
940
|
-
type
|
|
1089
|
+
type HandleDeleteRepoData = {
|
|
941
1090
|
path: {
|
|
942
1091
|
/**
|
|
943
|
-
* The
|
|
1092
|
+
* The repository id
|
|
944
1093
|
*/
|
|
945
|
-
|
|
1094
|
+
repo: string;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
type HandleDeleteRepoResponse = ({
|
|
1098
|
+
[key: string]: unknown;
|
|
1099
|
+
});
|
|
1100
|
+
type HandleDeleteRepoError = ({
|
|
1101
|
+
message: string;
|
|
1102
|
+
} | {
|
|
1103
|
+
[key: string]: unknown;
|
|
1104
|
+
});
|
|
1105
|
+
type HandleGetContentsData = {
|
|
1106
|
+
path: {
|
|
1107
|
+
/**
|
|
1108
|
+
* The path to the file or directory. Empty for root.
|
|
1109
|
+
*/
|
|
1110
|
+
'*path': (string) | null;
|
|
1111
|
+
/**
|
|
1112
|
+
* The repository ID.
|
|
1113
|
+
*/
|
|
1114
|
+
repo: string;
|
|
1115
|
+
};
|
|
1116
|
+
query?: {
|
|
946
1117
|
/**
|
|
947
|
-
* The
|
|
1118
|
+
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
948
1119
|
*/
|
|
949
|
-
|
|
1120
|
+
ref?: string;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
type HandleGetContentsResponse = (GitContents);
|
|
1124
|
+
type HandleGetContentsError = ({
|
|
1125
|
+
message: string;
|
|
1126
|
+
});
|
|
1127
|
+
type HandleGetBlobData = {
|
|
1128
|
+
path: {
|
|
1129
|
+
/**
|
|
1130
|
+
* The repository id
|
|
1131
|
+
*/
|
|
1132
|
+
repo: string;
|
|
950
1133
|
};
|
|
951
1134
|
};
|
|
952
1135
|
type HandleGetBlobResponse = (BlobObject);
|
|
@@ -956,29 +1139,61 @@ type HandleGetBlobError = ({
|
|
|
956
1139
|
type HandleGetCommitData = {
|
|
957
1140
|
path: {
|
|
958
1141
|
/**
|
|
959
|
-
* The
|
|
1142
|
+
* The object's hash
|
|
960
1143
|
*/
|
|
961
1144
|
hash: string;
|
|
962
1145
|
/**
|
|
963
|
-
* The repository
|
|
1146
|
+
* The repository id
|
|
964
1147
|
*/
|
|
965
|
-
|
|
1148
|
+
repo: string;
|
|
966
1149
|
};
|
|
967
1150
|
};
|
|
968
1151
|
type HandleGetCommitResponse = (CommitObject);
|
|
969
1152
|
type HandleGetCommitError = ({
|
|
970
1153
|
message: string;
|
|
971
1154
|
});
|
|
1155
|
+
type HandleGetRefBranchData = {
|
|
1156
|
+
path: {
|
|
1157
|
+
/**
|
|
1158
|
+
* The branch's name
|
|
1159
|
+
*/
|
|
1160
|
+
branch: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* The repository id
|
|
1163
|
+
*/
|
|
1164
|
+
repo: string;
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
type HandleGetRefBranchResponse = (GitReference);
|
|
1168
|
+
type HandleGetRefBranchError = (unknown | {
|
|
1169
|
+
message: string;
|
|
1170
|
+
});
|
|
1171
|
+
type HandleGetRefTagData = {
|
|
1172
|
+
path: {
|
|
1173
|
+
/**
|
|
1174
|
+
* The repository id
|
|
1175
|
+
*/
|
|
1176
|
+
repo: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* The tag's name
|
|
1179
|
+
*/
|
|
1180
|
+
tag: string;
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
type HandleGetRefTagResponse = (GitReference);
|
|
1184
|
+
type HandleGetRefTagError = (unknown | {
|
|
1185
|
+
message: string;
|
|
1186
|
+
});
|
|
972
1187
|
type HandleGetTagData = {
|
|
973
1188
|
path: {
|
|
974
1189
|
/**
|
|
975
|
-
* The
|
|
1190
|
+
* The object's hash
|
|
976
1191
|
*/
|
|
977
1192
|
hash: string;
|
|
978
1193
|
/**
|
|
979
|
-
* The repository
|
|
1194
|
+
* The repository id
|
|
980
1195
|
*/
|
|
981
|
-
|
|
1196
|
+
repo: string;
|
|
982
1197
|
};
|
|
983
1198
|
};
|
|
984
1199
|
type HandleGetTagResponse = (TagObject);
|
|
@@ -988,34 +1203,36 @@ type HandleGetTagError = ({
|
|
|
988
1203
|
type HandleGetTreeData = {
|
|
989
1204
|
path: {
|
|
990
1205
|
/**
|
|
991
|
-
* The
|
|
1206
|
+
* The object's hash
|
|
992
1207
|
*/
|
|
993
1208
|
hash: string;
|
|
994
1209
|
/**
|
|
995
|
-
* The repository
|
|
1210
|
+
* The repository id
|
|
996
1211
|
*/
|
|
997
|
-
|
|
1212
|
+
repo: string;
|
|
998
1213
|
};
|
|
999
1214
|
};
|
|
1000
1215
|
type HandleGetTreeResponse = (TreeObject);
|
|
1001
1216
|
type HandleGetTreeError = ({
|
|
1002
1217
|
message: string;
|
|
1003
1218
|
});
|
|
1004
|
-
type
|
|
1219
|
+
type HandleDownloadTarballData = {
|
|
1005
1220
|
path: {
|
|
1006
1221
|
/**
|
|
1007
1222
|
* The repository id
|
|
1008
1223
|
*/
|
|
1009
1224
|
repo: string;
|
|
1010
1225
|
};
|
|
1226
|
+
query?: {
|
|
1227
|
+
/**
|
|
1228
|
+
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
1229
|
+
*/
|
|
1230
|
+
ref?: string;
|
|
1231
|
+
};
|
|
1011
1232
|
};
|
|
1012
|
-
type
|
|
1013
|
-
|
|
1014
|
-
});
|
|
1015
|
-
type HandleDeleteRepoError = ({
|
|
1233
|
+
type HandleDownloadTarballResponse = (unknown);
|
|
1234
|
+
type HandleDownloadTarballError = ({
|
|
1016
1235
|
message: string;
|
|
1017
|
-
} | {
|
|
1018
|
-
[key: string]: unknown;
|
|
1019
1236
|
});
|
|
1020
1237
|
type HandleListGitTriggersData = {
|
|
1021
1238
|
path: {
|
|
@@ -1072,6 +1289,24 @@ type HandleDeleteGitTriggerError = ({
|
|
|
1072
1289
|
} | {
|
|
1073
1290
|
[key: string]: unknown;
|
|
1074
1291
|
});
|
|
1292
|
+
type HandleDownloadZipData = {
|
|
1293
|
+
path: {
|
|
1294
|
+
/**
|
|
1295
|
+
* The repository id
|
|
1296
|
+
*/
|
|
1297
|
+
repo: string;
|
|
1298
|
+
};
|
|
1299
|
+
query?: {
|
|
1300
|
+
/**
|
|
1301
|
+
* The git reference (branch name, commit SHA, etc.). Defaults to HEAD.
|
|
1302
|
+
*/
|
|
1303
|
+
ref?: string;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
type HandleDownloadZipResponse = (unknown);
|
|
1307
|
+
type HandleDownloadZipError = ({
|
|
1308
|
+
message: string;
|
|
1309
|
+
});
|
|
1075
1310
|
type HandleGetLogsData = {
|
|
1076
1311
|
query?: {
|
|
1077
1312
|
deploymentId?: (string) | null;
|
|
@@ -1116,4 +1351,4 @@ type HandleGetWebDeployDetailsData = {
|
|
|
1116
1351
|
};
|
|
1117
1352
|
};
|
|
1118
1353
|
|
|
1119
|
-
export type {
|
|
1354
|
+
export type { kind as $, AccessLevel as A, GitTrigger as B, CreateRepoSource as C, DeploymentSource as D, GitTriggerAction as E, FreestyleExecuteScriptParamsConfiguration as F, GitIdentity as G, HandleBackupCloudstateResponse as H, HandleCreateGitTriggerResponse as I, DeploymentBuildOptions as J, AccessibleRepository as K, ListPermissionResponseSuccess as L, AccessTokenInfo as M, Behavior as N, BlobEncoding as O, BlobObject as P, CommitObject as Q, CommitParent as R, CommitTree as S, CreateDomainMappingRequest as T, CreateRecordParams as U, type as V, CreateRepoRequest as W, CreateRepositoryRequest as X, type2 as Y, CustomBuildOptions as Z, DeploymentLogEntry as _, FreestyleExecuteScriptResultSuccess as a, HandleListRecordsResponse as a$, DeploymentState as a0, DevServer as a1, kind2 as a2, DevServerRequest as a3, DevServerStatusRequest as a4, DevServerWatchFilesRequest as a5, DnsRecord as a6, DnsRecordData as a7, DnsRecordKind as a8, DomainVerificationRequest as a9, GitRepositoryTrigger as aA, event as aB, action2 as aC, GrantPermissionRequest as aD, InternalServerError as aE, ListRecordsResponse as aF, NetworkPermissionData as aG, ReadFileEphemeralDevServerResponses as aH, ReadFileRequest as aI, RepositoryInfo as aJ, RevokeGitTokenRequest as aK, ShutdownDevServerRequest as aL, Signature as aM, TagObject as aN, TagTarget as aO, TreeEntry as aP, type4 as aQ, TreeObject as aR, UpdatePermissionRequest as aS, Visibility as aT, WriteFileRequest as aU, HandleDeployCloudstateData as aV, HandleDeployCloudstateResponse as aW, HandleDeployCloudstateError as aX, HandleBackupCloudstateData as aY, HandleBackupCloudstateError as aZ, HandleListRecordsData as a_, ExecRequest as aa, ExecuteLogEntry as ab, ExecuteRunInfo as ac, ExecuteRunState as ad, FileReadContent as ae, kind3 as af, FreestyleCloudstateDeployConfiguration as ag, FreestyleCloudstateDeployErrorResponse as ah, FreestyleDeleteDomainVerificationRequest as ai, FreestyleDeployWebErrorResponse as aj, FreestyleDeployWebPayload as ak, FreestyleDeployWebPayloadV2 as al, FreestyleDomainVerificationRequest as am, FreestyleExecuteScriptParams as an, FreestyleFile as ao, FreestyleGetLogsResponse as ap, FreestyleJavaScriptLog as aq, FreestyleLogResponseObject as ar, FreestyleNetworkPermission as as, action as at, FreestyleVerifyDomainRequest as au, GitCommitPushRequest as av, GitContents as aw, type3 as ax, GitContentsDirEntryItem as ay, GitReference as az, FreestyleDeployWebConfiguration as b, HandleDescribePermissionData as b$, HandleListRecordsError as b0, HandleCreateRecordData as b1, HandleCreateRecordResponse as b2, HandleCreateRecordError as b3, HandleDeleteRecordData as b4, HandleDeleteRecordResponse as b5, HandleDeleteRecordError as b6, HandleVerifyWildcardData as b7, HandleVerifyWildcardError as b8, HandleListDomainsError as b9, HandleGitCommitPushError as bA, HandleShutdownDevServerData as bB, HandleShutdownDevServerResponse as bC, HandleShutdownDevServerError as bD, HandleDevServerStatusData as bE, HandleDevServerStatusResponse as bF, HandleDevServerStatusError as bG, HandleWatchDevServerFilesData as bH, HandleWatchDevServerFilesResponse as bI, HandleWatchDevServerFilesError as bJ, HandleListExecuteRunsData as bK, HandleListExecuteRunsError as bL, HandleGetExecuteRunData as bM, HandleGetExecuteRunError as bN, HandleExecuteScriptData as bO, HandleExecuteScriptResponse as bP, HandleExecuteScriptError as bQ, HandleListIdentitiesData as bR, HandleListIdentitiesResponse as bS, HandleListIdentitiesError as bT, HandleCreateIdentityResponse as bU, HandleCreateIdentityError as bV, HandleDeleteIdentityData as bW, HandleDeleteIdentityError as bX, HandleListPermissionsData as bY, HandleListPermissionsResponse as bZ, HandleListPermissionsError as b_, HandleInsertDomainMappingData as ba, HandleInsertDomainMappingResponse as bb, HandleInsertDomainMappingError as bc, HandleDeleteDomainMappingData as bd, HandleDeleteDomainMappingResponse as be, HandleDeleteDomainMappingError as bf, HandleListDomainVerificationRequestsError as bg, HandleVerifyDomainData as bh, HandleCreateDomainVerificationData as bi, HandleCreateDomainVerificationError as bj, HandleDeleteDomainVerificationData as bk, HandleDeleteDomainVerificationError as bl, HandleEphemeralDevServerData as bm, HandleEphemeralDevServerResponse as bn, HandleEphemeralDevServerError as bo, HandleExecOnEphemeralDevServerData as bp, HandleExecOnEphemeralDevServerResponse as bq, HandleExecOnEphemeralDevServerError as br, HandleWriteFileFromEphemeralDevServerData as bs, HandleWriteFileFromEphemeralDevServerResponse as bt, HandleWriteFileFromEphemeralDevServerError as bu, HandleReadFileFromEphemeralDevServerData as bv, HandleReadFileFromEphemeralDevServerResponse as bw, HandleReadFileFromEphemeralDevServerError as bx, HandleGitCommitPushData as by, HandleGitCommitPushResponse as bz, FreestyleDeployWebSuccessResponseV2 as c, HandleDeployWebResponse as c$, HandleDescribePermissionResponse as c0, HandleDescribePermissionError as c1, HandleGrantPermissionData as c2, HandleGrantPermissionError as c3, HandleRevokePermissionData as c4, HandleRevokePermissionResponse as c5, HandleRevokePermissionError as c6, HandleUpdatePermissionData as c7, HandleUpdatePermissionResponse as c8, HandleUpdatePermissionError as c9, HandleGetRefBranchResponse as cA, HandleGetRefBranchError as cB, HandleGetRefTagData as cC, HandleGetRefTagResponse as cD, HandleGetRefTagError as cE, HandleGetTagData as cF, HandleGetTagResponse as cG, HandleGetTagError as cH, HandleGetTreeData as cI, HandleGetTreeResponse as cJ, HandleGetTreeError as cK, HandleDownloadTarballData as cL, HandleDownloadTarballResponse as cM, HandleDownloadTarballError as cN, HandleListGitTriggersData as cO, HandleListGitTriggersError as cP, HandleCreateGitTriggerData as cQ, HandleCreateGitTriggerError as cR, HandleDeleteGitTriggerData as cS, HandleDeleteGitTriggerResponse as cT, HandleDeleteGitTriggerError as cU, HandleDownloadZipData as cV, HandleDownloadZipResponse as cW, HandleDownloadZipError as cX, HandleGetLogsData as cY, HandleGetLogsError as cZ, HandleDeployWebData as c_, HandleListGitTokensData as ca, HandleListGitTokensResponse as cb, HandleListGitTokensError as cc, HandleCreateGitTokenData as cd, HandleCreateGitTokenResponse as ce, HandleCreateGitTokenError as cf, HandleRevokeGitTokenData as cg, HandleRevokeGitTokenResponse as ch, HandleRevokeGitTokenError as ci, HandleListRepositoriesData as cj, HandleListRepositoriesError as ck, HandleCreateRepoData as cl, HandleCreateRepoResponse as cm, HandleCreateRepoError as cn, HandleDeleteRepoData as co, HandleDeleteRepoError as cp, HandleGetContentsData as cq, HandleGetContentsResponse as cr, HandleGetContentsError as cs, HandleGetBlobData as ct, HandleGetBlobResponse as cu, HandleGetBlobError as cv, HandleGetCommitData as cw, HandleGetCommitResponse as cx, HandleGetCommitError as cy, HandleGetRefBranchData as cz, FreestyleCloudstateDeployRequest as d, HandleDeployWebError as d0, HandleDeployWebV2Data as d1, HandleDeployWebV2Response as d2, HandleDeployWebV2Error as d3, HandleListWebDeploysData as d4, HandleListWebDeploysError as d5, HandleGetWebDeployDetailsData as d6, 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, CreateRepoImport as q, CreateRepositoryResponseSuccess as r, HandleListRepositoriesResponse as s, HandleDeleteRepoResponse as t, HandleDeleteIdentityResponse as u, HandleGrantPermissionResponse as v, DescribePermissionResponseSuccess as w, CreatedToken as x, ListGitTokensResponseSuccess as y, HandleListGitTriggersResponse 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-DkFlXKTr.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-DkFlXKTr.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-DkFlXKTr.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-DkFlXKTr.js';
|
|
2
2
|
|
|
3
3
|
declare const prepareDirForDeployment: (directory: string) => Promise<DeploymentSource>;
|
|
4
4
|
declare const prepareDirForDeploymentSync: (directory: string) => DeploymentSource;
|