schemas.ts — astro Source File
Architecture documentation for schemas.ts, a typescript file in the astro codebase. 7 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3["schemas.ts"] 40623e73_5e17_dcb7_33c3_96c235f8ca99["../../src/assets/fonts/config.js"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> 40623e73_5e17_dcb7_33c3_96c235f8ca99 eaf527c4_9b3f_3d34_ddf2_af313104d698["../../src/assets/fonts/types.js"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> eaf527c4_9b3f_3d34_ddf2_af313104d698 9c84b456_abcc_d8aa_878c_5a09747131f6["../../dist/core/session/config.js"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> 9c84b456_abcc_d8aa_878c_5a09747131f6 829cd1b6_14ff_8131_a76b_d66dbc743aa2["../../dist/core/session/types.js"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> 829cd1b6_14ff_8131_a76b_d66dbc743aa2 fa887d9d_247c_d770_d661_490745669024["node:test"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> fa887d9d_247c_d770_d661_490745669024 65ea4242_5c60_ea26_4513_ac13dc9e070f["expect-type"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> 65ea4242_5c60_ea26_4513_ac13dc9e070f b2011373_185b_1e0c_fa93_67eb5d0cb334["v4"] 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 --> b2011373_185b_1e0c_fa93_67eb5d0cb334 style 1f9fbcc6_6ebf_79cc_0b23_b2f362d316a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { describe, it } from 'node:test';
import { expectTypeOf } from 'expect-type';
import type * as z from 'zod/v4';
import { type FontProviderSchema, FontFamilySchema } from '../../src/assets/fonts/config.js';
import type { FontProvider, FontFamily } from '../../src/assets/fonts/types.js';
import type { SessionDriverConfigSchema } from '../../dist/core/session/config.js';
import type { SessionDriverConfig } from '../../dist/core/session/types.js';
describe('fonts', () => {
it('FontFamily type matches FontFamilySchema', () => {
const _schema = FontFamilySchema.omit({ options: true });
expectTypeOf<z.input<typeof _schema>>().toEqualTypeOf<Omit<FontFamily, 'options'>>();
});
it('FontProvider type matches fontProviderSchema', () => {
expectTypeOf<z.input<typeof FontProviderSchema>>().toEqualTypeOf<FontProvider>();
});
});
describe('session', () => {
it('SessionDriverConfig type matches SessionDriverConfigSchema', () => {
expectTypeOf<z.input<typeof SessionDriverConfigSchema>>().toEqualTypeOf<SessionDriverConfig>();
});
});
Domain
Dependencies
- ../../dist/core/session/config.js
- ../../dist/core/session/types.js
- ../../src/assets/fonts/config.js
- ../../src/assets/fonts/types.js
- expect-type
- node:test
- v4
Source
Frequently Asked Questions
What does schemas.ts do?
schemas.ts is a source file in the astro codebase, written in typescript. It belongs to the TestingInfrastructure domain.
What does schemas.ts depend on?
schemas.ts imports 7 module(s): ../../dist/core/session/config.js, ../../dist/core/session/types.js, ../../src/assets/fonts/config.js, ../../src/assets/fonts/types.js, expect-type, node:test, v4.
Where is schemas.ts in the architecture?
schemas.ts is located at packages/astro/test/types/schemas.ts (domain: TestingInfrastructure, directory: packages/astro/test/types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free