Skip to content

Commit

Permalink
added blog posts (sorry) image loading, event ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaumohl committed Jan 12, 2024
1 parent 14fcb4b commit 4f9d7fe
Show file tree
Hide file tree
Showing 32 changed files with 1,249 additions and 2,845 deletions.
40 changes: 30 additions & 10 deletions .astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ declare module 'astro:content' {
export { z } from 'astro/zod';

type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
export type CollectionEntry<C extends keyof AnyEntryMap> = Flatten<AnyEntryMap[C]>;

export type CollectionKey = keyof AnyEntryMap;
export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;

export type ContentCollectionKey = keyof ContentEntryMap;
export type DataCollectionKey = keyof DataEntryMap;

// This needs to be in sync with ImageMetadata
export type ImageFunction = () => import('astro/zod').ZodObject<{
Expand All @@ -28,6 +33,7 @@ declare module 'astro:content' {
import('astro/zod').ZodLiteral<'webp'>,
import('astro/zod').ZodLiteral<'gif'>,
import('astro/zod').ZodLiteral<'svg'>,
import('astro/zod').ZodLiteral<'avif'>,
]
>;
}>;
Expand Down Expand Up @@ -176,13 +182,27 @@ declare module 'astro:content' {
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"artificial-consciousness-and-phenomenology/index.md": {
id: "artificial-consciousness-and-phenomenology/index.md";
slug: "artificial-consciousness-and-phenomenology";
body: string;
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"exploiting-github-actions/index.md": {
id: "exploiting-github-actions/index.md";
slug: "exploiting-github-actions";
body: string;
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"game-design-and-education/index.md": {
id: "game-design-and-education/index.md";
slug: "game-design-and-education";
body: string;
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"incorrect-reification/index.md": {
id: "incorrect-reification/index.md";
slug: "incorrect-reification";
Expand All @@ -197,23 +217,23 @@ declare module 'astro:content' {
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"markdown-style-guide.md": {
id: "markdown-style-guide.md";
slug: "markdown-style-guide";
"swe-job-primer.md": {
id: "swe-job-primer.md";
slug: "swe-job-primer";
body: string;
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"swe-job-primer.md": {
id: "swe-job-primer.md";
slug: "swe-job-primer";
"using-gpt3-to-write-a-blog-post/index.md": {
id: "using-gpt3-to-write-a-blog-post/index.md";
slug: "using-gpt3-to-write-a-blog-post";
body: string;
collection: "blog";
data: InferEntrySchema<"blog">
} & { render(): Render[".md"] };
"test-post-please-ignore/index.md": {
id: "test-post-please-ignore/index.md";
slug: "test-post-please-ignore";
"why-i-use-firefox/index.md": {
id: "why-i-use-firefox/index.md";
slug: "why-i-use-firefox";
body: string;
collection: "blog";
data: InferEntrySchema<"blog">
Expand Down
Loading

0 comments on commit 4f9d7fe

Please sign in to comment.