Interface UmbItemServerDataSourceBaseArgs<ServerItemType, ClientItemType>

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

Type Parameters

  • ServerItemType
  • ClientItemType extends {
        unique: string;
    }

Properties

Properties

getItems: ((uniques: string[]) => Promise<ServerItemType[]>)
mapper: ((item: ServerItemType) => ClientItemType)
""