@umbraco-cms/backoffice

    Interface UmbDetailDataSource<DetailType>

    interface UmbDetailDataSource<DetailType> {
        create(
            data: DetailType,
            parentUnique: null | string,
        ): Promise<UmbDataSourceResponse<DetailType>>;
        createScaffold(
            preset?: Partial<DetailType>,
        ): Promise<UmbDataSourceResponse<DetailType>>;
        delete(unique: string): Promise<UmbDataSourceResponse<unknown>>;
        read(unique: string): Promise<UmbDataSourceResponse<DetailType>>;
        update(data: DetailType): Promise<UmbDataSourceResponse<DetailType>>;
    }

    Type Parameters

    • DetailType

    Hierarchy (View Summary)

    Index

    Methods

    MMNEPVFCICPMFPCPTTAAATR