Interface UmbDetailRepository<DetailModelType>

interface UmbDetailRepository<DetailModelType> {
    byUnique(unique: string): Promise<Observable<undefined | DetailModelType>>;
    create(data: DetailModelType, parentUnique: null | string): Promise<UmbRepositoryResponse<DetailModelType>>;
    createScaffold(preset?: Partial<DetailModelType>): Promise<UmbRepositoryResponse<DetailModelType>>;
    delete(unique: string): Promise<UmbRepositoryErrorResponse>;
    destroy(): void;
    requestByUnique(unique: string): Promise<UmbRepositoryResponseWithAsObservable<DetailModelType>>;
    save(data: DetailModelType): Promise<UmbRepositoryResponse<DetailModelType>>;
}

Type Parameters

  • DetailModelType

Hierarchy (view full)

Implemented by

Methods

""