Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Feb 5, 2025
1 parent fe99226 commit 731758d
Show file tree
Hide file tree
Showing 56 changed files with 29 additions and 194 deletions.
49 changes: 25 additions & 24 deletions .astro/content.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ declare module 'astro:content' {
ContentEntryMap[C]
>['slug'];

export type ReferenceDataEntry<
C extends CollectionKey,
E extends keyof DataEntryMap[C] = string,
> = {
collection: C;
id: E;
};
export type ReferenceContentEntry<
C extends keyof ContentEntryMap,
E extends ValidContentEntrySlug<C> | (string & {}) = string,
> = {
collection: C;
slug: E;
};

/** @deprecated Use `getEntry` instead. */
export function getEntryBySlug<
C extends keyof ContentEntryMap,
Expand Down Expand Up @@ -61,19 +76,17 @@ declare module 'astro:content' {
export function getEntry<
C extends keyof ContentEntryMap,
E extends ValidContentEntrySlug<C> | (string & {}),
>(entry: {
collection: C;
slug: E;
}): E extends ValidContentEntrySlug<C>
>(
entry: ReferenceContentEntry<C, 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]
>(
entry: ReferenceDataEntry<C, E>,
): E extends keyof DataEntryMap[C]
? Promise<DataEntryMap[C][E]>
: Promise<CollectionEntry<C> | undefined>;
export function getEntry<
Expand All @@ -99,16 +112,10 @@ declare module 'astro:content' {

/** Resolve an array of entry references from the same collection */
export function getEntries<C extends keyof ContentEntryMap>(
entries: {
collection: C;
slug: ValidContentEntrySlug<C>;
}[],
entries: ReferenceContentEntry<C, ValidContentEntrySlug<C>>[],
): Promise<CollectionEntry<C>[]>;
export function getEntries<C extends keyof DataEntryMap>(
entries: {
collection: C;
id: keyof DataEntryMap[C];
}[],
entries: ReferenceDataEntry<C, keyof DataEntryMap[C]>[],
): Promise<CollectionEntry<C>[]>;

export function render<C extends keyof AnyEntryMap>(
Expand All @@ -120,14 +127,8 @@ declare module 'astro:content' {
): import('astro/zod').ZodEffects<
import('astro/zod').ZodString,
C extends keyof ContentEntryMap
? {
collection: C;
slug: ValidContentEntrySlug<C>;
}
: {
collection: C;
id: keyof DataEntryMap[C];
}
? ReferenceContentEntry<C, ValidContentEntrySlug<C>>
: ReferenceDataEntry<C, keyof DataEntryMap[C]>
>;
// Allow generic `string` to avoid excessive type errors in the config
// if `dev` is not running to update as you edit.
Expand Down
3 changes: 2 additions & 1 deletion Source/Layout/Base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ interface Props {
<meta name="description" content={Description} />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#fa5252" />
<meta name="apple-mobile-web-app-capable" content="no" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="msapplication-TileColor" content="#fa5252" />
<meta name="msapplication-config" content="/browserconfig.xml" />
Expand Down
Binary file removed Target/Favicon/android-chrome-144x144.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-192x192.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-256x256.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-36x36.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-384x384.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-48x48.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-512x512.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-72x72.png
Binary file not shown.
Binary file removed Target/Favicon/android-chrome-96x96.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-114x114.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-120x120.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-144x144.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-152x152.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-180x180.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-57x57.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-60x60.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-72x72.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon-76x76.png
Binary file not shown.
Binary file removed Target/Favicon/apple-touch-icon.png
Binary file not shown.
Binary file removed Target/Favicon/favicon-16x16.png
Binary file not shown.
Binary file removed Target/Favicon/favicon-194x194.png
Binary file not shown.
Binary file removed Target/Favicon/favicon-32x32.png
Binary file not shown.
Binary file removed Target/Favicon/mstile-144x144.png
Binary file not shown.
Binary file removed Target/Favicon/mstile-150x150.png
Binary file not shown.
Binary file removed Target/Favicon/mstile-310x150.png
Binary file not shown.
Binary file removed Target/Favicon/mstile-310x310.png
Diff not rendered.
Binary file removed Target/Favicon/mstile-70x70.png
Diff not rendered.
1 change: 0 additions & 1 deletion Target/Favicon/safari-pinned-tab.svg
Diff not rendered.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 731758d

Please sign in to comment.