theme.ts — astro Source File
Architecture documentation for theme.ts, a typescript file in the astro codebase. 1 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR 20fa38bb_7609_aa33_b515_1aabe2c22292["theme.ts"] f92f4288_d2a3_264d_4379_34b9b9c2c7f4["astro:db"] 20fa38bb_7609_aa33_b515_1aabe2c22292 --> f92f4288_d2a3_264d_4379_34b9b9c2c7f4 3667dee4_69f7_cd85_051e_e7e0f5769fc3["config.ts"] 3667dee4_69f7_cd85_051e_e7e0f5769fc3 --> 20fa38bb_7609_aa33_b515_1aabe2c22292 1211314c_19e0_57f7_1c59_3da6f60ea8e6["seed.ts"] 1211314c_19e0_57f7_1c59_3da6f60ea8e6 --> 20fa38bb_7609_aa33_b515_1aabe2c22292 style 20fa38bb_7609_aa33_b515_1aabe2c22292 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { NOW, column, defineTable, sql } from 'astro:db';
export const Themes = defineTable({
columns: {
name: column.text(),
added: column.date({
default: sql`CURRENT_TIMESTAMP`,
}),
updated: column.date({
default: NOW,
}),
isDark: column.boolean({ default: sql`TRUE`, deprecated: true }),
owner: column.text({ optional: true, default: sql`NULL` }),
},
});
Domain
Dependencies
- astro:db
Imported By
Source
Frequently Asked Questions
What does theme.ts do?
theme.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain.
What does theme.ts depend on?
theme.ts imports 1 module(s): astro:db.
What files import theme.ts?
theme.ts is imported by 2 file(s): config.ts, seed.ts.
Where is theme.ts in the architecture?
theme.ts is located at packages/db/test/fixtures/basics/db/theme.ts (domain: CoreAstro, directory: packages/db/test/fixtures/basics/db).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free