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 ce9c0382_ca2b_59f9_1116_1ce3efa2e03c["seed.ts"] 1d9959ed_62dc_f60c_c247_195225f24635["astro:db"] ce9c0382_ca2b_59f9_1116_1ce3efa2e03c --> 1d9959ed_62dc_f60c_c247_195225f24635 style ce9c0382_ca2b_59f9_1116_1ce3efa2e03c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Author, db } from 'astro:db';
export default async () => {
await db
.insert(Author)
.values([
{ name: 'Ben' },
{ name: 'Nate' },
{ name: 'Erika' },
{ name: 'Bjorn' },
{ name: 'Sarah' },
]);
};
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/integrations/db/seed.ts (directory: packages/db/test/fixtures/integrations/db).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free