freestyle-sandboxes 0.0.80 → 0.0.81
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/inde.d.cts +0 -1
- package/dist/inde.d.mts +0 -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 +5 -14
- package/dist/index.d.cts +0 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.mjs +5 -14
- 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/openapi/sdk.gen.ts +57 -2
- package/openapi/types.gen.ts +133 -2
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +143 -0
- 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
package/openapi/types.gen.ts
CHANGED
|
@@ -42,6 +42,12 @@ export type BlobObject = {
|
|
|
42
42
|
sha: string;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
export type BranchDetails = {
|
|
46
|
+
default: boolean;
|
|
47
|
+
name: string;
|
|
48
|
+
target?: (string) | null;
|
|
49
|
+
};
|
|
50
|
+
|
|
45
51
|
/**
|
|
46
52
|
* Commit object
|
|
47
53
|
*/
|
|
@@ -86,6 +92,13 @@ export type CommitTree = {
|
|
|
86
92
|
sha: string;
|
|
87
93
|
};
|
|
88
94
|
|
|
95
|
+
export type ConfigureGithubSyncRequest = {
|
|
96
|
+
/**
|
|
97
|
+
* The GitHub repository name in "owner/repo" format
|
|
98
|
+
*/
|
|
99
|
+
githubRepoName: string;
|
|
100
|
+
};
|
|
101
|
+
|
|
89
102
|
export type CreateDomainMappingRequest = {
|
|
90
103
|
deploymentId: string;
|
|
91
104
|
};
|
|
@@ -137,6 +150,7 @@ export type type = 'files';
|
|
|
137
150
|
export type CreateRepoRequest = {
|
|
138
151
|
source?: (null | CreateRepoSource);
|
|
139
152
|
import?: (null | CreateRepoImport);
|
|
153
|
+
defaultBranch?: (string) | null;
|
|
140
154
|
};
|
|
141
155
|
|
|
142
156
|
export type CreateRepositoryRequest = {
|
|
@@ -146,6 +160,10 @@ export type CreateRepositoryRequest = {
|
|
|
146
160
|
*/
|
|
147
161
|
name?: (string) | null;
|
|
148
162
|
public?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* The default branch name for the repository. Defaults to "main" if not specified.
|
|
165
|
+
*/
|
|
166
|
+
defaultBranch?: (string) | null;
|
|
149
167
|
source?: CreateRepoSource;
|
|
150
168
|
import?: CreateRepoImport;
|
|
151
169
|
};
|
|
@@ -466,7 +484,7 @@ export type FreestyleExecuteScriptParamsConfiguration = {
|
|
|
466
484
|
/**
|
|
467
485
|
* The script timeout
|
|
468
486
|
*/
|
|
469
|
-
timeout?: (
|
|
487
|
+
timeout?: (number) | null;
|
|
470
488
|
/**
|
|
471
489
|
* If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified.
|
|
472
490
|
*/
|
|
@@ -540,6 +558,10 @@ export type FreestyleVerifyDomainRequest = {
|
|
|
540
558
|
id: string;
|
|
541
559
|
};
|
|
542
560
|
|
|
561
|
+
export type GetDefaultBranchResponse = {
|
|
562
|
+
defaultBranch: string;
|
|
563
|
+
};
|
|
564
|
+
|
|
543
565
|
export type GitCommitPushRequest = {
|
|
544
566
|
devServer: DevServer;
|
|
545
567
|
message: string;
|
|
@@ -593,6 +615,19 @@ export type GitContentsDirEntryItem = {
|
|
|
593
615
|
type: 'dir';
|
|
594
616
|
};
|
|
595
617
|
|
|
618
|
+
export type GithubRepoSyncConfig = {
|
|
619
|
+
freestyleRepoId: string;
|
|
620
|
+
accountId: string;
|
|
621
|
+
installationId: number;
|
|
622
|
+
githubRepoId: number;
|
|
623
|
+
githubRepoName: string;
|
|
624
|
+
createdAt: string;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
export type GithubSyncConfigResponse = {
|
|
628
|
+
githubRepoName: string;
|
|
629
|
+
};
|
|
630
|
+
|
|
596
631
|
export type GitIdentity = {
|
|
597
632
|
id: string;
|
|
598
633
|
managed: boolean;
|
|
@@ -692,12 +727,31 @@ export type RepositoryInfo = {
|
|
|
692
727
|
name?: (string) | null;
|
|
693
728
|
accountId: string;
|
|
694
729
|
visibility: Visibility;
|
|
730
|
+
defaultBranch: string;
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
export type RepositoryMetadata = {
|
|
734
|
+
branches: {
|
|
735
|
+
[key: string]: BranchDetails;
|
|
736
|
+
};
|
|
737
|
+
tags: {
|
|
738
|
+
[key: string]: TagDetails;
|
|
739
|
+
};
|
|
740
|
+
defaultBranch: string;
|
|
695
741
|
};
|
|
696
742
|
|
|
697
743
|
export type RevokeGitTokenRequest = {
|
|
698
744
|
tokenId: string;
|
|
699
745
|
};
|
|
700
746
|
|
|
747
|
+
export type SetDefaultBranchRequest = {
|
|
748
|
+
defaultBranch: string;
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
export type SetDefaultBranchResponse = {
|
|
752
|
+
[key: string]: unknown;
|
|
753
|
+
};
|
|
754
|
+
|
|
701
755
|
export type ShutdownDevServerRequest = {
|
|
702
756
|
/**
|
|
703
757
|
* The dev server to shutdown
|
|
@@ -714,6 +768,12 @@ export type Signature = {
|
|
|
714
768
|
email: string;
|
|
715
769
|
};
|
|
716
770
|
|
|
771
|
+
export type TagDetails = {
|
|
772
|
+
name: string;
|
|
773
|
+
target: string;
|
|
774
|
+
message?: (string) | null;
|
|
775
|
+
};
|
|
776
|
+
|
|
717
777
|
/**
|
|
718
778
|
* Tag object
|
|
719
779
|
*/
|
|
@@ -1261,7 +1321,7 @@ export type HandleListRepositoriesData = {
|
|
|
1261
1321
|
};
|
|
1262
1322
|
|
|
1263
1323
|
export type HandleListRepositoriesResponse = ({
|
|
1264
|
-
repositories: Array<
|
|
1324
|
+
repositories: Array<RepositoryMetadata>;
|
|
1265
1325
|
total: number;
|
|
1266
1326
|
offset: number;
|
|
1267
1327
|
});
|
|
@@ -1278,6 +1338,10 @@ export type HandleCreateRepoData = {
|
|
|
1278
1338
|
*/
|
|
1279
1339
|
name?: (string) | null;
|
|
1280
1340
|
public?: boolean;
|
|
1341
|
+
/**
|
|
1342
|
+
* The default branch name for the repository. Defaults to "main" if not specified.
|
|
1343
|
+
*/
|
|
1344
|
+
defaultBranch?: (string) | null;
|
|
1281
1345
|
source?: CreateRepoSource;
|
|
1282
1346
|
import?: CreateRepoImport;
|
|
1283
1347
|
};
|
|
@@ -1289,6 +1353,73 @@ export type HandleCreateRepoError = ({
|
|
|
1289
1353
|
message: string;
|
|
1290
1354
|
});
|
|
1291
1355
|
|
|
1356
|
+
export type HandleGetDefaultBranchData = {
|
|
1357
|
+
path: {
|
|
1358
|
+
/**
|
|
1359
|
+
* The repository ID
|
|
1360
|
+
*/
|
|
1361
|
+
repo_id: string;
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
export type HandleGetDefaultBranchResponse = (GetDefaultBranchResponse);
|
|
1366
|
+
|
|
1367
|
+
export type HandleGetDefaultBranchError = unknown;
|
|
1368
|
+
|
|
1369
|
+
export type HandleSetDefaultBranchData = {
|
|
1370
|
+
body: SetDefaultBranchRequest;
|
|
1371
|
+
path: {
|
|
1372
|
+
/**
|
|
1373
|
+
* The repository ID
|
|
1374
|
+
*/
|
|
1375
|
+
repo_id: string;
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
export type HandleSetDefaultBranchResponse = (SetDefaultBranchResponse);
|
|
1380
|
+
|
|
1381
|
+
export type HandleSetDefaultBranchError = unknown;
|
|
1382
|
+
|
|
1383
|
+
export type GetGithubSyncData = {
|
|
1384
|
+
path: {
|
|
1385
|
+
/**
|
|
1386
|
+
* Repository ID
|
|
1387
|
+
*/
|
|
1388
|
+
repo_id: string;
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
export type GetGithubSyncResponse = (GithubSyncConfigResponse);
|
|
1393
|
+
|
|
1394
|
+
export type GetGithubSyncError = (unknown);
|
|
1395
|
+
|
|
1396
|
+
export type ConfigureGithubSyncData = {
|
|
1397
|
+
body: ConfigureGithubSyncRequest;
|
|
1398
|
+
path: {
|
|
1399
|
+
/**
|
|
1400
|
+
* Repository ID
|
|
1401
|
+
*/
|
|
1402
|
+
repo_id: string;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
export type ConfigureGithubSyncResponse = (unknown);
|
|
1407
|
+
|
|
1408
|
+
export type ConfigureGithubSyncError = (unknown);
|
|
1409
|
+
|
|
1410
|
+
export type RemoveGithubSyncData = {
|
|
1411
|
+
path: {
|
|
1412
|
+
/**
|
|
1413
|
+
* Repository ID
|
|
1414
|
+
*/
|
|
1415
|
+
repo_id: string;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
export type RemoveGithubSyncResponse = (unknown);
|
|
1420
|
+
|
|
1421
|
+
export type RemoveGithubSyncError = (unknown);
|
|
1422
|
+
|
|
1292
1423
|
export type HandleDeleteRepoData = {
|
|
1293
1424
|
path: {
|
|
1294
1425
|
/**
|