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
19 lines
1.3 KiB
Plaintext
19 lines
1.3 KiB
Plaintext
import { Attributes } from '@opentelemetry/api';
|
|
import type * as Hapi from '@hapi/hapi';
|
|
import { HapiPluginObject, PatchableExtMethod, ServerExtDirectInput } from './internal-types';
|
|
import { SemconvStability } from '@opentelemetry/instrumentation';
|
|
export declare function getPluginName<T>(plugin: Hapi.Plugin<T>): string;
|
|
export declare const isLifecycleExtType: (variableToCheck: unknown) => variableToCheck is Hapi.ServerRequestExtType;
|
|
export declare const isLifecycleExtEventObj: (variableToCheck: unknown) => variableToCheck is Hapi.ServerExtEventsRequestObject;
|
|
export declare const isDirectExtInput: (variableToCheck: unknown) => variableToCheck is ServerExtDirectInput;
|
|
export declare const isPatchableExtMethod: (variableToCheck: PatchableExtMethod | PatchableExtMethod[]) => variableToCheck is PatchableExtMethod;
|
|
export declare const getRouteMetadata: (route: Hapi.ServerRoute, semconvStability: SemconvStability, pluginName?: string) => {
|
|
attributes: Attributes;
|
|
name: string;
|
|
};
|
|
export declare const getExtMetadata: (extPoint: Hapi.ServerRequestExtType, pluginName?: string) => {
|
|
attributes: Attributes;
|
|
name: string;
|
|
};
|
|
export declare const getPluginFromInput: <T>(pluginObj: HapiPluginObject<T>) => Hapi.Plugin<T, void>;
|
|
//# sourceMappingURL=utils.d.ts.map |