a71f801c3f
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings - Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers - Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page - Docker Compose and Dockerfile for self-hosted deployment - Uses bcryptjs for Node 24 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
1.2 KiB
TypeScript
23 lines
1.2 KiB
TypeScript
import { ConsolaInstance, ConsolaOptions } from './core.mjs';
|
|
export { ConfirmPromptOptions, Consola, ConsolaReporter, FormatOptions, InputLogObject, LogLevel, LogLevels, LogObject, LogType, LogTypes, MultiSelectOptions, PromptOptions, SelectPromptOptions, TextPromptOptions } from './core.mjs';
|
|
|
|
/**
|
|
* Factory function to create a new Consola instance tailored for use in different environments.
|
|
* It automatically adjusts logging levels based on environment variables and execution context.
|
|
*
|
|
* @param {Partial<ConsolaOptions & { fancy: boolean }>} [options={}] - Optional configuration options. See {@link ConsolaOptions}.
|
|
* @returns {ConsolaInstance} A new Consola instance with configurations based on the given options and the execution environment.
|
|
*/
|
|
declare function createConsola(options?: Partial<ConsolaOptions & {
|
|
fancy: boolean;
|
|
}>): ConsolaInstance;
|
|
/**
|
|
* A default instance of Consola, created and configured for immediate use.
|
|
* This instance is configured based on the execution environment and the options provided.
|
|
*
|
|
* @type {ConsolaInstance} consola - The default Consola instance, ready to use.
|
|
*/
|
|
declare const consola: ConsolaInstance;
|
|
|
|
export { ConsolaInstance, ConsolaOptions, consola, createConsola, consola as default };
|