File tree Expand file tree Collapse file tree 3 files changed +149
-85
lines changed Expand file tree Collapse file tree 3 files changed +149
-85
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,12 @@ declare module 'astro:content' {
2222 export { z } from 'astro/zod' ;
2323
2424 type Flatten < T > = T extends { [ K : string ] : infer U } ? U : never ;
25- export type CollectionEntry < C extends keyof AnyEntryMap > = Flatten < AnyEntryMap [ C ] > ;
25+
26+ export type CollectionKey = keyof AnyEntryMap ;
27+ export type CollectionEntry < C extends CollectionKey > = Flatten < AnyEntryMap [ C ] > ;
28+
29+ export type ContentCollectionKey = keyof ContentEntryMap ;
30+ export type DataCollectionKey = keyof DataEntryMap ;
2631
2732 // This needs to be in sync with ImageMetadata
2833 export type ImageFunction = ( ) => import ( 'astro/zod' ) . ZodObject < {
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "dependencies" : {
66 "@astrojs/image" : " ^0.18.0" ,
7- "@astrojs/mdx" : " ^1.0 .0" ,
8- "@astrojs/react" : " ^3.0.0 " ,
7+ "@astrojs/mdx" : " ^1.1 .0" ,
8+ "@astrojs/react" : " ^3.0.2 " ,
99 "@astrojs/sitemap" : " ^3.0.0" ,
10- "@astrojs/solid-js" : " ^3.0.0 " ,
10+ "@astrojs/solid-js" : " ^3.0.1 " ,
1111 "@astrojs/tailwind" : " ^5.0.0" ,
1212 "@tailwindcss/typography" : " ^0.5.9" ,
1313 "@types/react" : " ^18.2.21" ,
1414 "@types/react-dom" : " ^18.2.7" ,
15- "astro" : " ^3.0.8 " ,
15+ "astro" : " ^3.1.0 " ,
1616 "astro-icon" : " ^0.8.1" ,
1717 "clsx" : " ^2.0.0" ,
1818 "debounce" : " ^1.2.1" ,
You can’t perform that action at this time.
0 commit comments