MCPcopy Create free account
hub / github.com/monitoror/monitoror / tileStateKeys

Function tileStateKeys

ui/src/store.ts:113–127  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

111 return theme
112 },
113 tileStateKeys(state): string[] {
114 const tileStateKeys: string[] = []
115 state.tiles.forEach((tile: TileConfig) => {
116 tileStateKeys.push(tile.stateKey)
117
118 // Add group subTiles stateKeys
119 if (tile.tiles) {
120 tile.tiles.forEach((subTile) => {
121 tileStateKeys.push(subTile.stateKey)
122 })
123 }
124 })
125
126 return tileStateKeys
127 },
128 taskIds(state): string[] {
129 return state.tasks.map((task: Task) => task.id)
130 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected