Home / File/ definitions.ts — astro Source File

definitions.ts — astro Source File

Architecture documentation for definitions.ts, a typescript file in the astro codebase. 2 imports, 0 dependents.

File typescript CoreAstro RenderingEngine 2 imports 5 functions

Entity Profile

Dependency Diagram

graph LR
  fcc234d8_87d2_27a2_b9b0_ff011220b6be["definitions.ts"]
  baa53824_73a3_1e03_2043_4d0c058ecca5["../types/public/index.js"]
  fcc234d8_87d2_27a2_b9b0_ff011220b6be --> baa53824_73a3_1e03_2043_4d0c058ecca5
  e5ceaf46_c86f_15d7_841c_6af002438fd8["../domain/debug-info.js"]
  fcc234d8_87d2_27a2_b9b0_ff011220b6be --> e5ceaf46_c86f_15d7_841c_6af002438fd8
  style fcc234d8_87d2_27a2_b9b0_ff011220b6be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import type { AstroConfig } from '../../types/public/index.js';
import type { DebugInfo } from './domain/debug-info.js';

export interface DebugInfoProvider {
	get: () => Promise<DebugInfo>;
}

export interface DebugInfoFormatter {
	format: (info: DebugInfo) => string;
}

export interface Clipboard {
	copy: (text: string) => Promise<void>;
}

export interface PackageManager {
	readonly name: string;
	getPackageVersion: (name: string) => Promise<string | undefined>;
}

export interface AstroConfigResolver {
	resolve: () => Promise<AstroConfig>;
}

export interface Prompt {
	confirm: (input: { message: string; defaultValue?: boolean }) => Promise<boolean>;
}

export interface PackageManagerUserAgentProvider {
	readonly userAgent: string | null;
}

export interface NodeVersionProvider {
	readonly version: string;
}

Domain

Subdomains

Dependencies

  • ../domain/debug-info.js
  • ../types/public/index.js

Frequently Asked Questions

What does definitions.ts do?
definitions.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, RenderingEngine subdomain.
What functions are defined in definitions.ts?
definitions.ts defines 5 function(s): Promise, info, input, name, text.
What does definitions.ts depend on?
definitions.ts imports 2 module(s): ../domain/debug-info.js, ../types/public/index.js.
Where is definitions.ts in the architecture?
definitions.ts is located at packages/astro/src/cli/info/definitions.ts (domain: CoreAstro, subdomain: RenderingEngine, directory: packages/astro/src/cli/info).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free