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