()
| 619 | getProvidedThing(id, OFFSET_INDEXES) as Indexes | undefined; |
| 620 | |
| 621 | export const getIndexesIds = (): {readonly current: Ids} => { |
| 622 | const contextValue = getContextValue(); |
| 623 | let ids = $state<Ids>(getThingIds(contextValue, OFFSET_INDEXES)); |
| 624 | if (hasWindow()) { |
| 625 | $effect(() => { |
| 626 | ids = getThingIds(contextValue, OFFSET_INDEXES); |
| 627 | }); |
| 628 | } |
| 629 | return { |
| 630 | get current() { |
| 631 | return ids; |
| 632 | }, |
| 633 | }; |
| 634 | }; |
| 635 | |
| 636 | export const getIndexIds = ( |
| 637 | indexesOrIndexesId?: MaybeGetter<Indexes | Id | undefined>, |
nothing calls this directly
no test coverage detected
searching dependent graphs…