seed.ts — astro Source File
Architecture documentation for seed.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR caf1207d_66ff_0484_d8da_a6ed137bec0f["seed.ts"] 1d9959ed_62dc_f60c_c247_195225f24635["astro:db"] caf1207d_66ff_0484_d8da_a6ed137bec0f --> 1d9959ed_62dc_f60c_c247_195225f24635 style caf1207d_66ff_0484_d8da_a6ed137bec0f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Event, db } from 'astro:db';
export default async function () {
await db.insert(Event).values({
name: 'Sampha LIVE in Brooklyn',
description:
'Sampha is on tour with his new, flawless album Lahai. Come see the live performance outdoors in Prospect Park. Yes, there will be a grand piano 🎹',
date: new Date('2024-01-01'),
ticketPrice: 10000,
location: 'Brooklyn, NY',
});
}
Dependencies
- astro:db
Source
Frequently Asked Questions
What does seed.ts do?
seed.ts is a source file in the astro codebase, written in typescript.
What does seed.ts depend on?
seed.ts imports 1 module(s): astro:db.
Where is seed.ts in the architecture?
seed.ts is located at packages/db/test/fixtures/ticketing-example/db/seed.ts (directory: packages/db/test/fixtures/ticketing-example/db).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free