import BaseHook from '~/services/data/hooks/baseHook'
import { DataDeleterArgs, HookDeleter } from '~/types/interfaces'

class HookDeleterExample extends BaseHook implements HookDeleter {
  public static priority = 10

  // eslint-disable-next-line @typescript-eslint/no-unused-vars
  async invoke (args: DataDeleterArgs): Promise<any> {
    // eslint-disable-next-line no-console
    await console.log('This is a deleter hook')
  }

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

export default HookDeleterExample
