lsync API
    Preparing search index...

    Type Alias CollectionType<T, TKey, TChildren, TApi>

    CollectionType: {
        all(params?: CollectionScopeParams): Collection<T, TKey>;
        dispose(): Promise<void>;
        usage(): CollectionUsage[];
        with(
            params: CollectionScopeParams,
        ): CollectionType<T, TKey, TChildren, TApi>;
        withId(id: TKey, childParam?: string): CollectionEntity<T, TKey, TChildren>;
    } & CollectionMutations<T, TKey> & ChildManagers<TChildren> & CollectionApiMethods<
        TApi,
    >

    Type Parameters

    • T extends object
    • TKey extends string | number
    • TChildren extends CollectionTypeChildren = {}
    • TApi extends CollectionTypeApi<T, TKey> = {}

    Type Declaration