Documentation
    Preparing search index...

    Interface ListsServiceOptions

    Options for createListsService.

    interface ListsServiceOptions {
        add?: (
            list: ListRef,
            items: readonly ListItem[],
            options: ListOptions | undefined,
            context: ListsServiceContext,
        ) => ListMutationResult | Promise<ListMutationResult>;
        remove?: (
            list: ListRef,
            items: readonly ListItem[],
            options: ListOptions | undefined,
            context: ListsServiceContext,
        ) => ListMutationResult | Promise<ListMutationResult>;
        supported?: (
            context: ListsServiceContext,
        ) => readonly ListSupport[] | Promise<readonly ListSupport[]>;
    }
    Index

    Properties

    add?: (
        list: ListRef,
        items: readonly ListItem[],
        options: ListOptions | undefined,
        context: ListsServiceContext,
    ) => ListMutationResult | Promise<ListMutationResult>

    Host-owned add mutation.

    remove?: (
        list: ListRef,
        items: readonly ListItem[],
        options: ListOptions | undefined,
        context: ListsServiceContext,
    ) => ListMutationResult | Promise<ListMutationResult>

    Host-owned remove mutation.

    supported?: (
        context: ListsServiceContext,
    ) => readonly ListSupport[] | Promise<readonly ListSupport[]>

    Host-owned supported list metadata.