import type { ModelQueryBuilderContract } from '@ioc:Adonis/Lucid/Orm' import type { ObserverContract } from '@ioc:Adonis/Addons/LucidObserver' import {{ modelName }} from '{{{ modelPath }}}' export default class {{ filename }} implements ObserverContract { public async beforeFind(query: ModelQueryBuilderContract): Promise {} public async afterFind({{ camelCasedModelName }}: {{ modelName }}): Promise {} public async beforeFetch(query: ModelQueryBuilderContract): Promise {} public async beforeSave({{ camelCasedModelName }}: {{ modelName }}): Promise {} public async afterSave({{ camelCasedModelName }}: {{ modelName }}): Promise {} }