mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 06:06:37 +03:00
* Add design-aware detector rules * Fix design-aware detector noise * Unify CLI and hook detector ignores * Fix remaining design-system review findings * Add detector ignore CLI * Fix design detector review findings * Fix design color source false positives * Fix core test suite registration * Add design-aware detector docs * Fix font priority design-system parsing * Fix color ignore value matching
33 lines
863 B
TypeScript
33 lines
863 B
TypeScript
import { defineCollection, z } from 'astro:content';
|
|
import { glob } from 'astro/loaders';
|
|
|
|
const skills = defineCollection({
|
|
loader: glob({ pattern: '**/*.md', base: './site/content/skills' }),
|
|
schema: z.object({
|
|
tagline: z.string(),
|
|
}),
|
|
});
|
|
|
|
const tutorials = defineCollection({
|
|
loader: glob({ pattern: '**/*.md', base: './site/content/tutorials' }),
|
|
schema: z.object({
|
|
title: z.string(),
|
|
tagline: z.string(),
|
|
order: z.number(),
|
|
description: z.string(),
|
|
}),
|
|
});
|
|
|
|
const reference = defineCollection({
|
|
loader: glob({ pattern: '**/*.md', base: './site/content/reference' }),
|
|
schema: z.object({
|
|
title: z.string(),
|
|
tagline: z.string(),
|
|
description: z.string(),
|
|
section: z.enum(['concepts', 'automation', 'reference']),
|
|
order: z.number(),
|
|
}),
|
|
});
|
|
|
|
export const collections = { skills, tutorials, reference };
|