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