mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
docs: initial component examples (#123)
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Darius Cepulis <dcepulis@mux.com>
This commit is contained in:
co-authored by
Claude
Darius Cepulis
parent
77182f1ab3
commit
b9032ca387
@@ -1,5 +1,6 @@
|
||||
import { file } from 'astro/loaders';
|
||||
import { defineCollection, reference, z } from 'astro:content';
|
||||
import { SUPPORTED_FRAMEWORKS } from './types/docs';
|
||||
import { defaultGitService } from './utils/gitService';
|
||||
import { globWithParser } from './utils/globWithParser';
|
||||
|
||||
@@ -80,6 +81,7 @@ const docs = defineCollection({
|
||||
title: z.string(),
|
||||
description: z.string(),
|
||||
updatedDate: z.coerce.date().optional(),
|
||||
frameworkTitle: z.record(z.enum(SUPPORTED_FRAMEWORKS as [string, ...string[]]), z.string()).optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user