@umbraco-cms/backoffice

    Interface UmbItemServerDataSourceBaseArgs<ServerItemType, ClientItemType>

    interface UmbItemServerDataSourceBaseArgs<
        ServerItemType,
        ClientItemType extends { unique: string },
    > {
        getItems?: (
            uniques: string[],
        ) => Promise<UmbDataSourceResponse<ServerItemType[]>>;
        mapper: (item: ServerItemType) => ClientItemType;
    }

    Type Parameters

    • ServerItemType
    • ClientItemType extends { unique: string }
    Index

    Properties

    Properties

    getItems?: (
        uniques: string[],
    ) => Promise<UmbDataSourceResponse<ServerItemType[]>>
    mapper: (item: ServerItemType) => ClientItemType
    MMNEPVFCICPMFPCPTTAAATR