-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b41ce31
commit 2c7e9e7
Showing
14 changed files
with
167 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"collections": [], | ||
"entries": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default new Map(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default new Map(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
declare module 'astro:content' { | ||
export interface RenderResult { | ||
Content: import('astro/runtime/server/index.js').AstroComponentFactory; | ||
headings: import('astro').MarkdownHeading[]; | ||
remarkPluginFrontmatter: Record<string, any>; | ||
} | ||
interface Render { | ||
'.md': Promise<RenderResult>; | ||
} | ||
|
||
export interface RenderedContent { | ||
html: string; | ||
metadata?: { | ||
imagePaths: Array<string>; | ||
[key: string]: unknown; | ||
}; | ||
} | ||
} | ||
|
||
declare module 'astro:content' { | ||
type Flatten<T> = T extends { [K: string]: infer U } ? U : never; | ||
|
||
export type CollectionKey = keyof AnyEntryMap; | ||
export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>; | ||
|
||
export type ContentCollectionKey = keyof ContentEntryMap; | ||
export type DataCollectionKey = keyof DataEntryMap; | ||
|
||
type AllValuesOf<T> = T extends any ? T[keyof T] : never; | ||
type ValidContentEntrySlug<C extends keyof ContentEntryMap> = AllValuesOf< | ||
ContentEntryMap[C] | ||
>['slug']; | ||
|
||
/** @deprecated Use `getEntry` instead. */ | ||
export function getEntryBySlug< | ||
C extends keyof ContentEntryMap, | ||
E extends ValidContentEntrySlug<C> | (string & {}), | ||
>( | ||
collection: C, | ||
// Note that this has to accept a regular string too, for SSR | ||
entrySlug: E, | ||
): E extends ValidContentEntrySlug<C> | ||
? Promise<CollectionEntry<C>> | ||
: Promise<CollectionEntry<C> | undefined>; | ||
|
||
/** @deprecated Use `getEntry` instead. */ | ||
export function getDataEntryById<C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]>( | ||
collection: C, | ||
entryId: E, | ||
): Promise<CollectionEntry<C>>; | ||
|
||
export function getCollection<C extends keyof AnyEntryMap, E extends CollectionEntry<C>>( | ||
collection: C, | ||
filter?: (entry: CollectionEntry<C>) => entry is E, | ||
): Promise<E[]>; | ||
export function getCollection<C extends keyof AnyEntryMap>( | ||
collection: C, | ||
filter?: (entry: CollectionEntry<C>) => unknown, | ||
): Promise<CollectionEntry<C>[]>; | ||
|
||
export function getEntry< | ||
C extends keyof ContentEntryMap, | ||
E extends ValidContentEntrySlug<C> | (string & {}), | ||
>(entry: { | ||
collection: C; | ||
slug: E; | ||
}): E extends ValidContentEntrySlug<C> | ||
? Promise<CollectionEntry<C>> | ||
: Promise<CollectionEntry<C> | undefined>; | ||
export function getEntry< | ||
C extends keyof DataEntryMap, | ||
E extends keyof DataEntryMap[C] | (string & {}), | ||
>(entry: { | ||
collection: C; | ||
id: E; | ||
}): E extends keyof DataEntryMap[C] | ||
? Promise<DataEntryMap[C][E]> | ||
: Promise<CollectionEntry<C> | undefined>; | ||
export function getEntry< | ||
C extends keyof ContentEntryMap, | ||
E extends ValidContentEntrySlug<C> | (string & {}), | ||
>( | ||
collection: C, | ||
slug: E, | ||
): E extends ValidContentEntrySlug<C> | ||
? Promise<CollectionEntry<C>> | ||
: Promise<CollectionEntry<C> | undefined>; | ||
export function getEntry< | ||
C extends keyof DataEntryMap, | ||
E extends keyof DataEntryMap[C] | (string & {}), | ||
>( | ||
collection: C, | ||
id: E, | ||
): E extends keyof DataEntryMap[C] | ||
? Promise<DataEntryMap[C][E]> | ||
: Promise<CollectionEntry<C> | undefined>; | ||
|
||
/** Resolve an array of entry references from the same collection */ | ||
export function getEntries<C extends keyof ContentEntryMap>( | ||
entries: { | ||
collection: C; | ||
slug: ValidContentEntrySlug<C>; | ||
}[], | ||
): Promise<CollectionEntry<C>[]>; | ||
export function getEntries<C extends keyof DataEntryMap>( | ||
entries: { | ||
collection: C; | ||
id: keyof DataEntryMap[C]; | ||
}[], | ||
): Promise<CollectionEntry<C>[]>; | ||
|
||
export function render<C extends keyof AnyEntryMap>( | ||
entry: AnyEntryMap[C][string], | ||
): Promise<RenderResult>; | ||
|
||
export function reference<C extends keyof AnyEntryMap>( | ||
collection: C, | ||
): import('astro/zod').ZodEffects< | ||
import('astro/zod').ZodString, | ||
C extends keyof ContentEntryMap | ||
? { | ||
collection: C; | ||
slug: ValidContentEntrySlug<C>; | ||
} | ||
: { | ||
collection: C; | ||
id: keyof DataEntryMap[C]; | ||
} | ||
>; | ||
// Allow generic `string` to avoid excessive type errors in the config | ||
// if `dev` is not running to update as you edit. | ||
// Invalid collection names will be caught at build time. | ||
export function reference<C extends string>( | ||
collection: C, | ||
): import('astro/zod').ZodEffects<import('astro/zod').ZodString, never>; | ||
|
||
type ReturnTypeOrOriginal<T> = T extends (...args: any[]) => infer R ? R : T; | ||
type InferEntrySchema<C extends keyof AnyEntryMap> = import('astro/zod').infer< | ||
ReturnTypeOrOriginal<Required<ContentConfig['collections'][C]>['schema']> | ||
>; | ||
|
||
type ContentEntryMap = { | ||
|
||
}; | ||
|
||
type DataEntryMap = { | ||
|
||
}; | ||
|
||
type AnyEntryMap = ContentEntryMap & DataEntryMap; | ||
|
||
export type ContentConfig = typeof import("./../Source/content.config.mjs"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/// <reference types="astro/client" /> | ||
/// <reference path="content.d.ts" /> |
2 changes: 1 addition & 1 deletion
2
...stro_type_script_index_0_lang.C9pvYmHU.js → ...stro_type_script_index_0_lang.CEjSBjq3.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
..._type_script_index_0_lang.C9pvYmHU.js.map → ..._type_script_index_0_lang.CEjSBjq3.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html class=no-js data-critters-container dir=ltr lang=en><head data-capo><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>GrenadierJS</title><link href=https://fonts.googleapis.com rel=preconnect crossorigin><link href=https://fonts.gstatic.com rel=preconnect crossorigin><link href="https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap" rel=stylesheet><style>*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:Fira Sans,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}a{color:inherit;text-decoration:inherit}:root{--background-light:#fff}.flex{display:flex}.h-screen{height:100vh}.flex-grow,.grow{flex-grow:1}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.tracking-wider{letter-spacing:.05em}html{-webkit-tap-highlight-color:transparent}body,html{height:100%;width:100%}body{display:flex;flex-direction:column;flex-grow:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:no-common-ligatures}@media (min-width:640px){body{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}}a[data-astro-cid-e7cdmem7]{color:#0ca678}</style><link href=/_astro/index.Dup6pabj.css rel=stylesheet media=print onload="this.media="all""><noscript><link href=/_astro/index.Dup6pabj.css rel=stylesheet></noscript><script type=module src=/_astro/Base.astro_astro_type_script_index_0_lang.Di8kiTcb.js></script><script type=module src=/_astro/ClientRouter.astro_astro_type_script_index_0_lang.C9pvYmHU.js></script><script type=module src=/_astro/page.C1i_5bqm.js></script><meta content="Full-stack, multi-client JavaScript Framework built on Solid, GraphQL, and Prisma" name=description><meta content=#0ca678 name=theme-color><meta content=no name=apple-mobile-web-app-capable><meta content=default name=apple-mobile-web-app-status-bar-style><meta content=#0ca678 name=msapplication-TileColor><meta content=/browserconfig.xml name=msapplication-config><meta content="telephone=no" name=format-detection><meta content=on name=twitter:dnt><link href=/site.webmanifest rel=manifest crossorigin=use-credentials><link href=/Favicon/apple-touch-icon-114x114.png rel=apple-touch-icon sizes=114x114><link href=/Favicon/apple-touch-icon-120x120.png rel=apple-touch-icon sizes=120x120><link href=/Favicon/apple-touch-icon-144x144.png rel=apple-touch-icon sizes=144x144><link href=/Favicon/apple-touch-icon-152x152.png rel=apple-touch-icon sizes=152x152><link href=/Favicon/apple-touch-icon-180x180.png rel=apple-touch-icon sizes=180x180><link href=/Favicon/apple-touch-icon-57x57.png rel=apple-touch-icon sizes=57x57><link href=/Favicon/apple-touch-icon-60x60.png rel=apple-touch-icon sizes=60x60><link href=/Favicon/apple-touch-icon-72x72.png rel=apple-touch-icon sizes=72x72><link href=/Favicon/apple-touch-icon-76x76.png rel=apple-touch-icon sizes=76x76><link href=/Favicon/favicon-16x16.png rel=icon sizes=16x16 type=image/png><link href=/Favicon/android-chrome-192x192.png rel=icon sizes=192x192 type=image/png><link href=/Favicon/favicon-194x194.png rel=icon sizes=194x194 type=image/png><link href=/Favicon/favicon-32x32.png rel=icon sizes=32x32 type=image/png><link href=/Favicon/safari-pinned-tab.svg rel=mask-icon color=#0ca678><link href=/favicon.ico rel="shortcut icon"><meta content=/Favicon/mstile-144x144.png name=msapplication-TileImage><meta content=true name=astro-view-transitions-enabled><meta content=animate name=astro-view-transitions-fallback></head><body class="flex flex-grow"><div class=grow><section class="flex flex-grow flex-col h-screen items-center justify-center text-center" data-astro-cid-e7cdmem7><a class="text-2xl tracking-wider" data-astro-cid-e7cdmem7 href=mailto:[email protected] rel="noopener noreferrer" target=_blank>[email protected]</a></section></div><script type=module>document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js")</script></body></html> | ||
<!DOCTYPE html><html class=no-js data-critters-container dir=ltr lang=en><head data-capo><meta charset=utf-8><meta content="width=device-width,initial-scale=1" name=viewport><title>GrenadierJS</title><link href=https://fonts.googleapis.com rel=preconnect crossorigin><link href=https://fonts.gstatic.com rel=preconnect crossorigin><link href="https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap" rel=stylesheet><style>*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:Fira Sans,ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}a{color:inherit;text-decoration:inherit}:root{--background-light:#fff}.flex{display:flex}.h-screen{height:100vh}.flex-grow,.grow{flex-grow:1}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.tracking-wider{letter-spacing:.05em}html{-webkit-tap-highlight-color:transparent}body,html{height:100%;width:100%}body{display:flex;flex-direction:column;flex-grow:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:no-common-ligatures}@media (min-width:640px){body{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}}a[data-astro-cid-e7cdmem7]{color:#0ca678}</style><link href=/_astro/index.Dup6pabj.css rel=stylesheet media=print onload="this.media="all""><noscript><link href=/_astro/index.Dup6pabj.css rel=stylesheet></noscript><script type=module src=/_astro/Base.astro_astro_type_script_index_0_lang.Di8kiTcb.js></script><script type=module src=/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CEjSBjq3.js></script><script type=module src=/_astro/page.C1i_5bqm.js></script><meta content="Full-stack, multi-client JavaScript Framework built on Solid, GraphQL, and Prisma" name=description><meta content=#0ca678 name=theme-color><meta content=no name=apple-mobile-web-app-capable><meta content=default name=apple-mobile-web-app-status-bar-style><meta content=#0ca678 name=msapplication-TileColor><meta content=/browserconfig.xml name=msapplication-config><meta content="telephone=no" name=format-detection><meta content=on name=twitter:dnt><link href=/site.webmanifest rel=manifest crossorigin=use-credentials><link href=/Favicon/apple-touch-icon-114x114.png rel=apple-touch-icon sizes=114x114><link href=/Favicon/apple-touch-icon-120x120.png rel=apple-touch-icon sizes=120x120><link href=/Favicon/apple-touch-icon-144x144.png rel=apple-touch-icon sizes=144x144><link href=/Favicon/apple-touch-icon-152x152.png rel=apple-touch-icon sizes=152x152><link href=/Favicon/apple-touch-icon-180x180.png rel=apple-touch-icon sizes=180x180><link href=/Favicon/apple-touch-icon-57x57.png rel=apple-touch-icon sizes=57x57><link href=/Favicon/apple-touch-icon-60x60.png rel=apple-touch-icon sizes=60x60><link href=/Favicon/apple-touch-icon-72x72.png rel=apple-touch-icon sizes=72x72><link href=/Favicon/apple-touch-icon-76x76.png rel=apple-touch-icon sizes=76x76><link href=/Favicon/favicon-16x16.png rel=icon sizes=16x16 type=image/png><link href=/Favicon/android-chrome-192x192.png rel=icon sizes=192x192 type=image/png><link href=/Favicon/favicon-194x194.png rel=icon sizes=194x194 type=image/png><link href=/Favicon/favicon-32x32.png rel=icon sizes=32x32 type=image/png><link href=/Favicon/safari-pinned-tab.svg rel=mask-icon color=#0ca678><link href=/favicon.ico rel="shortcut icon"><meta content=/Favicon/mstile-144x144.png name=msapplication-TileImage><meta content=true name=astro-view-transitions-enabled><meta content=animate name=astro-view-transitions-fallback></head><body class="flex flex-grow"><div class=grow><section class="flex flex-grow flex-col h-screen items-center justify-center text-center" data-astro-cid-e7cdmem7><a class="text-2xl tracking-wider" data-astro-cid-e7cdmem7 href=mailto:[email protected] rel="noopener noreferrer" target=_blank>[email protected]</a></section></div><script type=module>document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js")</script></body></html> |
Oops, something went wrong.