auth0
Version:
Auth0 Node.js SDK for the Management API v2.
13 lines (12 loc) • 452 B
TypeScript
import type { EndpointMetadata } from "./EndpointMetadata.js";
import type { Supplier } from "./Supplier.js";
type EndpointSupplierFn<T> = (arg: {
endpointMetadata: EndpointMetadata;
}) => T | Promise<T>;
export type EndpointSupplier<T> = Supplier<T> | EndpointSupplierFn<T>;
export declare const EndpointSupplier: {
get: <T>(supplier: EndpointSupplier<T>, arg: {
endpointMetadata: EndpointMetadata;
}) => Promise<T>;
};
export {};