(slug: string, action?: typeof ActionType.Type)
| 51 | new RegExp(`^https://${appId}.${UFS_HOST}/f/.+$`); |
| 52 | |
| 53 | export const createApiUrl = (slug: string, action?: typeof ActionType.Type) => { |
| 54 | const url = new URL("http://localhost:3000"); |
| 55 | url.searchParams.set("slug", slug); |
| 56 | if (action) url.searchParams.set("actionType", action); |
| 57 | return url; |
| 58 | }; |
| 59 | |
| 60 | export const doNotExecute = (_fn: (...args: any[]) => any) => { |
| 61 | // noop |
no outgoing calls
no test coverage detected