diff --git a/src/models/abstractModel.ts b/src/models/abstractModel.ts index a0b76164..9592ec55 100644 --- a/src/models/abstractModel.ts +++ b/src/models/abstractModel.ts @@ -3,10 +3,10 @@ import {omitBy, isNil} from '@/helpers/utils' import type {Right} from '@/constants/rights' export interface IAbstract { - maxRight: Right | null + maxRight: Right | null // FIXME: should this be readonly? } -export default class AbstractModel implements IAbstract { +export default abstract class AbstractModel implements IAbstract { /** * The max right the user has on this object, as returned by the x-max-right header from the api. diff --git a/src/services/abstractService.ts b/src/services/abstractService.ts index 1cc74e9f..8f97bb37 100644 --- a/src/services/abstractService.ts +++ b/src/services/abstractService.ts @@ -40,7 +40,7 @@ function prepareParams(params: Record) { return objectToSnakeCase(params) } -export default class AbstractService { +export default abstract class AbstractService { ///////////////////////////// // Initial variable definitions