MCPcopy Create free account
hub / github.com/ShipSecAI/studio / createInitialState

Function createInitialState

frontend/src/store/webhookStore.ts:55–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53};
54
55const createInitialState = (): WebhookStoreState => ({
56 webhooks: [],
57 deliveries: {},
58 isLoading: false,
59 isDeliveriesLoading: {},
60 error: null,
61 lastFetched: null,
62 filters: { ...INITIAL_FILTERS },
63});
64
65async function fetchWithHeaders(url: string, options: RequestInit = {}): Promise<Response> {
66 const { getApiAuthHeaders } = await import('@/services/api');

Callers 2

webhookStore.tsFile · 0.70
resetWebhookStoreStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected