@authup/core
Version:
Package containing global constants, types & interfaces.
12 lines • 831 B
TypeScript
import type { BuildInput } from 'rapiq';
import { BaseAPI } from '../base';
import type { RoleAttribute } from './types';
import type { CollectionResourceResponse, DomainAPI, SingleResourceResponse } from '../types-base';
export declare class RoleAttributeAPI extends BaseAPI implements DomainAPI<RoleAttribute> {
getMany(data?: BuildInput<RoleAttribute>): Promise<CollectionResourceResponse<RoleAttribute>>;
getOne(roleId: RoleAttribute['id']): Promise<SingleResourceResponse<RoleAttribute>>;
delete(roleId: RoleAttribute['id']): Promise<SingleResourceResponse<RoleAttribute>>;
create(data: Partial<RoleAttribute>): Promise<SingleResourceResponse<RoleAttribute>>;
update(id: RoleAttribute['id'], data: Partial<RoleAttribute>): Promise<SingleResourceResponse<RoleAttribute>>;
}
//# sourceMappingURL=api.d.ts.map