Files
klz-cables.com/.pnpm-store/v10/files/e0/b10ecd1813c2b5b9e77572907e6912724b33c224730ed25a6db677f7176832e1ec124a01c3c85e4aa32d5d9a214759a7ba13e92aafadab4467f57dc06cd4cd
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

31 lines
1.7 KiB
Plaintext

import type { Client } from './client';
import type { Integration, IntegrationFn } from './types-hoist/integration';
import type { CoreOptions } from './types-hoist/options';
export declare const installedIntegrations: string[];
/** Map of integrations assigned to a client */
export type IntegrationIndex = {
[key: string]: Integration;
};
/** Gets integrations to install */
export declare function getIntegrationsToSetup(options: Pick<CoreOptions, 'defaultIntegrations' | 'integrations'>): Integration[];
/**
* Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default
* integrations are added unless they were already provided before.
* @param integrations array of integration instances
* @param withDefault should enable default integrations
*/
export declare function setupIntegrations(client: Client, integrations: Integration[]): IntegrationIndex;
/**
* Execute the `afterAllSetup` hooks of the given integrations.
*/
export declare function afterSetupIntegrations(client: Client, integrations: Integration[]): void;
/** Setup a single integration. */
export declare function setupIntegration(client: Client, integration: Integration, integrationIndex: IntegrationIndex): void;
/** Add an integration to the current scope's client. */
export declare function addIntegration(integration: Integration): void;
/**
* Define an integration function that can be used to create an integration instance.
* Note that this by design hides the implementation details of the integration, as they are considered internal.
*/
export declare function defineIntegration<Fn extends IntegrationFn>(fn: Fn): (...args: Parameters<Fn>) => Integration;
//# sourceMappingURL=integration.d.ts.map