src/types.ts

better-stack · packages/cli/src/types.ts · typescript · MIT
database

Core type definitions for Better Stack CLI scaffolding tool

// Source: https://github.com/better-stack-ai/better-stack | License: MIT | Copyright 2025 - present, olliethedev
// Provided via justclaw.it.com; keep this notice with the code.
export type Framework = "nextjs" | "react-router" | "tanstack";

export type Adapter = "memory" | "prisma" | "drizzle" | "kysely" | "mongodb";

export type PluginKey =
	| "blog"
	| "ai-chat"
	| "cms"
	| "form-builder"
	| "ui-builder"
	| "job-board"
	| "kanban"
	| "crm"
	| "newsletter"
	| "school"
	| "affiliate"
	| "analytics"
	| "ecommerce"
	| "feature-flags"
	| "calendar"
	| "comments"
	| "media"
	| "route-docs"
	| "open-api"
	| "better-auth-ui";

export type PackageManager = "pnpm" | "npm" | "yarn";

export type AliasPrefix = "@/" | "~/" | "./";

export interface InitOptions {
	cwd?: string;
	framework?: Framewo

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key