()
| 567 | getProvidedThing(id, OFFSET_STORE) as Store | undefined; |
| 568 | |
| 569 | export const getStoreIds = (): {readonly current: Ids} => { |
| 570 | const contextValue = getContextValue(); |
| 571 | let ids = $state<Ids>(getThingIds(contextValue, OFFSET_STORE)); |
| 572 | if (hasWindow()) { |
| 573 | $effect(() => { |
| 574 | ids = getThingIds(contextValue, OFFSET_STORE); |
| 575 | }); |
| 576 | } |
| 577 | return { |
| 578 | get current() { |
| 579 | return ids; |
| 580 | }, |
| 581 | }; |
| 582 | }; |
| 583 | |
| 584 | export const getMetrics = (id?: Id): Metrics | undefined => |
| 585 | getProvidedThing(id, OFFSET_METRICS) as Metrics | undefined; |
nothing calls this directly
no test coverage detected
searching dependent graphs…