import BaseHook from '~/services/data/hooks/baseHook'
import { DataProviderArgs, HookProvider } from '~/types/interfaces'

class HookProviderExample extends BaseHook implements HookProvider {
  public static  priority = 10

  async invoke (_args: DataProviderArgs): Promise<any> {
    // eslint-disable-next-line no-console
    await console.log('This is a provider hook')
  }

  static support (_args: DataProviderArgs): boolean {
    return false
  }
}

export default HookProviderExample
