diff --git a/packages/clients/walkerjs/src/types/hooks.ts b/packages/clients/walkerjs/src/types/hooks.ts deleted file mode 100644 index 3436b3e2..00000000 --- a/packages/clients/walkerjs/src/types/hooks.ts +++ /dev/null @@ -1,22 +0,0 @@ -import type { Hooks } from '@elbwalker/types'; -import { WebDestination } from '.'; - -export type Functions = Hooks.Functions & { - preDestinationInit?: PreDestinationInit; - postDestinationInit?: PostDestinationInit; - preDestinationPush?: PreDestinationPush; - postDestinationPush?: PostDestinationPush; -}; - -export type PreDestinationInit = Hooks.HookFn< - NonNullable ->; -export type PostDestinationInit = Hooks.HookFn< - NonNullable ->; -export type PreDestinationPush = Hooks.HookFn< - WebDestination.Destination['push'] ->; -export type PostDestinationPush = Hooks.HookFn< - WebDestination.Destination['push'] ->; diff --git a/packages/clients/walkerjs/src/types/index.ts b/packages/clients/walkerjs/src/types/index.ts index b83287fd..7946d4f2 100644 --- a/packages/clients/walkerjs/src/types/index.ts +++ b/packages/clients/walkerjs/src/types/index.ts @@ -1,4 +1,3 @@ export * as Walker from './walker'; export * as WebClient from './client'; export * as WebDestination from './destination'; -export * as WebHooks from './hooks';