trigger.dev
Version:
A Command-Line Interface for Trigger.dev (v3) projects
14 lines (13 loc) • 354 B
TypeScript
export type ApiKeyType = {
environment: "dev" | "prod";
type: "server" | "public";
};
type Result = {
success: true;
} | {
success: false;
type: ApiKeyType | undefined;
};
export declare function checkApiKeyIsDevServer(apiKey: string): Result;
export declare function getApiKeyType(apiKey: string): ApiKeyType | undefined;
export {};