UNPKG

@avonjs/avonjs

Version:

A fluent Node.js API generator.

14 lines (13 loc) 521 B
import { type Model, RequestTypes, type SoftDeletes } from '../../Contracts'; import type { Repository } from '../../Repositories'; import ResourceSoftDeleteRequest from './ResourceSoftDeleteRequest'; export default class ResourceForceDeleteRequest extends ResourceSoftDeleteRequest { /** * Indicates type of the request instance. */ type(): RequestTypes; /** * Find the model instance for the request. */ findModelQuery(resourceId?: number): Repository<Model> & SoftDeletes<Model>; }