UNPKG

@authup/core-http-kit

Version:

Package containing global constants, types & interfaces.

12 lines 835 B
import type { BuildInput } from 'rapiq'; import type { RoleAttribute } from '@authup/core-kit'; import { BaseAPI } from '../../base'; import type { EntityAPI, EntityCollectionResponse, EntityRecordResponse } from '../../types-base'; export declare class RoleAttributeAPI extends BaseAPI implements EntityAPI<RoleAttribute> { getMany(data?: BuildInput<RoleAttribute>): Promise<EntityCollectionResponse<RoleAttribute>>; getOne(roleId: RoleAttribute['id']): Promise<EntityRecordResponse<RoleAttribute>>; delete(roleId: RoleAttribute['id']): Promise<EntityRecordResponse<RoleAttribute>>; create(data: Partial<RoleAttribute>): Promise<EntityRecordResponse<RoleAttribute>>; update(id: RoleAttribute['id'], data: Partial<RoleAttribute>): Promise<EntityRecordResponse<RoleAttribute>>; } //# sourceMappingURL=module.d.ts.map