freestyle-sandboxes 0.1.38 → 0.1.39
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/index.cjs +8 -0
- package/index.d.cts +2 -0
- package/index.d.mts +2 -0
- package/index.mjs +8 -0
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -6460,6 +6460,14 @@ class VmSpec {
|
|
|
6460
6460
|
const existing = this.raw.aptDeps ?? [];
|
|
6461
6461
|
return this.mergeRaw({ aptDeps: [...existing, ...deps] });
|
|
6462
6462
|
}
|
|
6463
|
+
users(users) {
|
|
6464
|
+
const existing = this.raw.users ?? [];
|
|
6465
|
+
return this.mergeRaw({ users: [...existing, ...users] });
|
|
6466
|
+
}
|
|
6467
|
+
groups(groups) {
|
|
6468
|
+
const existing = this.raw.groups ?? [];
|
|
6469
|
+
return this.mergeRaw({ groups: [...existing, ...groups] });
|
|
6470
|
+
}
|
|
6463
6471
|
additionalFiles(files) {
|
|
6464
6472
|
const existing = this.raw.additionalFiles ?? {};
|
|
6465
6473
|
this.raw.additionalFiles = {
|
package/index.d.cts
CHANGED
|
@@ -12475,6 +12475,8 @@ declare class VmSpec<T extends Record<string, VmWithLike> = {}> {
|
|
|
12475
12475
|
discriminator(value: string): this;
|
|
12476
12476
|
workdir(path: string): this;
|
|
12477
12477
|
aptDeps(...deps: string[]): this;
|
|
12478
|
+
users(users: NonNullable<CreateVmOptions["users"]>): this;
|
|
12479
|
+
groups(groups: NonNullable<CreateVmOptions["groups"]>): this;
|
|
12478
12480
|
additionalFiles(files: NonNullable<CreateVmOptions["additionalFiles"]>): this;
|
|
12479
12481
|
runCommands(...commands: string[]): this;
|
|
12480
12482
|
repo(repo: string, path: string): this;
|
package/index.d.mts
CHANGED
|
@@ -12475,6 +12475,8 @@ declare class VmSpec<T extends Record<string, VmWithLike> = {}> {
|
|
|
12475
12475
|
discriminator(value: string): this;
|
|
12476
12476
|
workdir(path: string): this;
|
|
12477
12477
|
aptDeps(...deps: string[]): this;
|
|
12478
|
+
users(users: NonNullable<CreateVmOptions["users"]>): this;
|
|
12479
|
+
groups(groups: NonNullable<CreateVmOptions["groups"]>): this;
|
|
12478
12480
|
additionalFiles(files: NonNullable<CreateVmOptions["additionalFiles"]>): this;
|
|
12479
12481
|
runCommands(...commands: string[]): this;
|
|
12480
12482
|
repo(repo: string, path: string): this;
|
package/index.mjs
CHANGED
|
@@ -6458,6 +6458,14 @@ class VmSpec {
|
|
|
6458
6458
|
const existing = this.raw.aptDeps ?? [];
|
|
6459
6459
|
return this.mergeRaw({ aptDeps: [...existing, ...deps] });
|
|
6460
6460
|
}
|
|
6461
|
+
users(users) {
|
|
6462
|
+
const existing = this.raw.users ?? [];
|
|
6463
|
+
return this.mergeRaw({ users: [...existing, ...users] });
|
|
6464
|
+
}
|
|
6465
|
+
groups(groups) {
|
|
6466
|
+
const existing = this.raw.groups ?? [];
|
|
6467
|
+
return this.mergeRaw({ groups: [...existing, ...groups] });
|
|
6468
|
+
}
|
|
6461
6469
|
additionalFiles(files) {
|
|
6462
6470
|
const existing = this.raw.additionalFiles ?? {};
|
|
6463
6471
|
this.raw.additionalFiles = {
|