Skip to content

Commit de01417

Browse files
committed
fix: remove hardcoded token and id
1 parent e91d4e5 commit de01417

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/common/constants.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/common/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export * from './get-series'
2-
export * from './constants'
32
export * from './colors'
43
export * from './nodes'

src/module.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { floorId, token } from './common'
21
import { PanelPlugin } from '@grafana/data'
32
import { FloorOptions } from './types'
43
import FloorPanel from './components/FloorPanel'
@@ -8,14 +7,14 @@ export const plugin = new PanelPlugin<FloorOptions>(FloorPanel).setPanelOptions(
87
.addTextInput({
98
path: 'id',
109
name: 'Floor plan ID',
11-
description: 'Description of panel option',
12-
defaultValue: floorId
10+
description: 'Please provide the floor plan ID from your Archilogic account',
11+
defaultValue: ''
1312
})
1413
.addTextInput({
1514
path: 'token',
1615
name: 'Publishable Token',
17-
description: 'Description of panel option',
18-
defaultValue: token
16+
description: 'You can find or create a token in the settings page of your Archilogic account',
17+
defaultValue: ''
1918
})
2019
.addTextInput({
2120
path: 'nodeId',

0 commit comments

Comments
 (0)