Skip to content

Commit 1331ac1

Browse files
authored
feat(instance): add server dns (#2676)
1 parent d369c62 commit 1331ac1

File tree

5 files changed

+27
-22
lines changed

5 files changed

+27
-22
lines changed

packages_generated/instance/src/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ const unmarshalServer = (data: unknown): Server => {
424424
bootType: data.boot_type,
425425
commercialType: data.commercial_type,
426426
creationDate: unmarshalDate(data.creation_date),
427+
dns: data.dns,
427428
dynamicIpRequired: data.dynamic_ip_required,
428429
enableIpv6: data.enable_ipv6,
429430
endOfService: data.end_of_service,

packages_generated/instance/src/v1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,10 @@ export interface Server {
667667
* True if the Instance type has reached end of service.
668668
*/
669669
endOfService: boolean
670+
/**
671+
* Public DNS of the server.
672+
*/
673+
dns?: string
670674
}
671675

672676
export interface VolumeTemplate {
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"noEmit": false,
5-
"emitDeclarationOnly": true,
6-
"rootDir": "src",
7-
"outDir": "dist"
8-
},
9-
"exclude": [
10-
"dist/*",
11-
"*.config.ts",
12-
"*.setup.ts",
13-
"**/__tests__",
14-
"**/__mocks__",
15-
"src/**/*.test.tsx"
16-
]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": false,
5+
"emitDeclarationOnly": true,
6+
"rootDir": "src",
7+
"outDir": "dist"
8+
},
9+
"exclude": [
10+
"dist/*",
11+
"*.config.ts",
12+
"*.setup.ts",
13+
"**/__tests__",
14+
"**/__mocks__",
15+
"src/**/*.test.tsx"
16+
]
1717
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"extends": "../../tsconfig.json",
3-
"include": ["src/**/*.ts", "src/**/*.tsx", "*.config.ts"]
2+
"extends": "../../tsconfig.json",
3+
"include": ["src/**/*.ts", "src/**/*.tsx", "*.config.ts"]
44
}

packages_generated/instance/vite.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import { defineConfig, mergeConfig } from 'vite'
66
import { defaultConfig } from '../../vite.config'
77

88
export default mergeConfig(defineConfig(defaultConfig), {
9-
build: {
10-
lib: {
11-
entry: 'src/index.gen.ts',
12-
},
13-
},
9+
build: {
10+
lib: {
11+
entry: 'src/index.gen.ts',
12+
},
13+
},
1414
})

0 commit comments

Comments
 (0)