Skip to content

Commit b5a51b7

Browse files
chore: update astro (#41)
1 parent 4e8aaaf commit b5a51b7

File tree

3 files changed

+149
-85
lines changed

3 files changed

+149
-85
lines changed

.astro/types.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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<{

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
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",

0 commit comments

Comments
 (0)