()
| 680 | getProvidedThing(id, OFFSET_QUERIES) as Queries | undefined; |
| 681 | |
| 682 | export const getQueriesIds = (): {readonly current: Ids} => { |
| 683 | const contextValue = getContextValue(); |
| 684 | let ids = $state<Ids>(getThingIds(contextValue, OFFSET_QUERIES)); |
| 685 | if (hasWindow()) { |
| 686 | $effect(() => { |
| 687 | ids = getThingIds(contextValue, OFFSET_QUERIES); |
| 688 | }); |
| 689 | } |
| 690 | return { |
| 691 | get current() { |
| 692 | return ids; |
| 693 | }, |
| 694 | }; |
| 695 | }; |
| 696 | |
| 697 | export const getQueryIds = ( |
| 698 | queriesOrQueriesId?: MaybeGetter<Queries | Id | undefined>, |
nothing calls this directly
no test coverage detected
searching dependent graphs…