Skip to content

Commit 9956df8

Browse files
authored
chore: update thv bin (#489)
1 parent 8caaf30 commit 9956df8

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"lint-staged": {
132132
"*.{ts,tsx}": [
133133
"prettier --write",
134-
"eslint --max-warnings 0 ."
134+
"eslint --max-warnings 0 --no-warn-ignored"
135135
]
136136
}
137137
}

renderer/src/common/api/generated/types.gen.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export type PermissionsOutboundNetworkPermissions = {
5151
}
5252

5353
/**
54-
* Permissions defines the security profile and access permissions for the server
54+
* Permission profile to apply
5555
*/
5656
export type PermissionsProfile = {
5757
/**
@@ -292,11 +292,12 @@ export type V1CreateRequest = {
292292
* Name of the workload
293293
*/
294294
name?: string
295-
oidc?: V1OidcOptions
296295
/**
297-
* Permission profile to apply
296+
* Whether network isolation is turned on. This applies the rules in the permission profile.
298297
*/
299-
permission_profile?: string
298+
network_isolation?: boolean
299+
oidc?: V1OidcOptions
300+
permission_profile?: PermissionsProfile
300301
/**
301302
* Proxy mode to use
302303
*/

renderer/src/common/api/openapi.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"type": "object"
8282
},
8383
"permissions.Profile": {
84-
"description": "Permissions defines the security profile and access permissions for the server",
84+
"description": "Permission profile to apply",
8585
"properties": {
8686
"name": {
8787
"description": "Name is the name of the profile",
@@ -378,10 +378,13 @@
378378
"host": { "description": "Host to bind to", "type": "string" },
379379
"image": { "description": "Docker image to use", "type": "string" },
380380
"name": { "description": "Name of the workload", "type": "string" },
381+
"network_isolation": {
382+
"description": "Whether network isolation is turned on. This applies the rules in the permission profile.",
383+
"type": "boolean"
384+
},
381385
"oidc": { "$ref": "#/components/schemas/v1.oidcOptions" },
382386
"permission_profile": {
383-
"description": "Permission profile to apply",
384-
"type": "string"
387+
"$ref": "#/components/schemas/permissions.Profile"
385388
},
386389
"proxy_mode": {
387390
"description": "Proxy mode to use",

utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const TOOLHIVE_VERSION = process.env.THV_VERSION ?? 'v0.1.5'
1+
export const TOOLHIVE_VERSION = process.env.THV_VERSION ?? 'v0.1.7'

0 commit comments

Comments
 (0)