FindManyById.ts 279 B

12345678
  1. import FindManyByIdJob from "@/modules/DataModule/FindManyByIdJob";
  2. import isAdmin from "@/modules/DataModule/permissions/isAdmin";
  3. export default class FindManyById extends FindManyByIdJob {
  4. protected static _modelName = "news";
  5. protected static _hasPermission = isAdmin;
  6. }