MCPcopy
hub / github.com/dittofeed/dittofeed / useAppStorePick

Function useAppStorePick

packages/dashboard/src/lib/appStore.ts:17–21  ·  view source on GitHub ↗
(
  params: K[],
)

Source from the content-addressed store, hash-verified

15export const { Provider } = zustandContext;
16export const useAppStore = zustandContext.useStore;
17export function useAppStorePick<K extends keyof AppContents>(
18 params: K[],
19): Pick<AppContents, K> {
20 return useAppStore((store) => pick(store, params));
21}
22
23export const initializeStore = (preloadedState: PreloadedState = {}) =>
24 create(

Callers 15

AuthorizeGmailFunction · 0.90
AdminApiKeyTableFunction · 0.90
WebhookSecretTableFunction · 0.90
UserEventsTableFunction · 0.90
DeliveriesTableFunction · 0.90
SegmentSelectorFunction · 0.90
UserPropertySelectorFunction · 0.90
JourneysTableFunction · 0.90
DashboardHeadFunction · 0.90
UsersFilterFunction · 0.90
SecretEditorLoadedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected