@adobe/data - v0.10.30
    Preparing search index...

    Variable combineConst

    combine: <
        const Plugins extends
            readonly Database.Plugin<any, any, any, any, any, any, any, any, any>[],
    >(
        ...plugins: Plugins,
    ) => Database.Plugin<
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["components"] },
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["resources"] },
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["archetypes"] },
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["transactions"] },
        >,
        Extract<
            {
                [K in string
                | number
                | symbol]: StringKeyof<Plugins[K<K>]["systems"]>
            }[number],
            string,
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["actions"] },
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["services"] },
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["computed"] },
        >,
        {} & IntersectAll<
            { [K in string
            | number
            | symbol]: Plugins[K<K>]["indexes"] },
        >,
    > = combinePlugins

    Type declaration

      • <
            const Plugins extends
                readonly Database.Plugin<any, any, any, any, any, any, any, any, any>[],
        >(
            ...plugins: Plugins,
        ): Database.Plugin<
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["components"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["resources"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["archetypes"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["transactions"] },
            >,
            Extract<
                {
                    [K in string
                    | number
                    | symbol]: StringKeyof<Plugins[K<K>]["systems"]>
                }[number],
                string,
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["actions"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["services"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["computed"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["indexes"] },
            >,
        >
      • Combines multiple plugins into a single plugin. All plugin properties (components, resources, archetypes, indexes, computed, transactions, systems, actions, services) require identity (===) when the same key exists across plugins.

        IMPORTANT: Services are merged in order, preserving the initialization order so that extended plugin services are initialized before current plugin services.

        Type Parameters

        • const Plugins extends readonly Database.Plugin<any, any, any, any, any, any, any, any, any>[]

        Parameters

        Returns Database.Plugin<
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["components"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["resources"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["archetypes"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["transactions"] },
            >,
            Extract<
                {
                    [K in string
                    | number
                    | symbol]: StringKeyof<Plugins[K<K>]["systems"]>
                }[number],
                string,
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["actions"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["services"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["computed"] },
            >,
            {} & IntersectAll<
                { [K in string
                | number
                | symbol]: Plugins[K<K>]["indexes"] },
            >,
        >