Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Nov 23, 2024
1 parent 7e179bd commit 3f5e39a
Show file tree
Hide file tree
Showing 22 changed files with 29 additions and 51 deletions.
44 changes: 11 additions & 33 deletions .astro/content.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ 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;
Expand Down Expand Up @@ -55,7 +53,6 @@ declare module 'astro:content' {
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,
Expand All @@ -70,7 +67,6 @@ declare module 'astro:content' {
}): E extends ValidContentEntrySlug<C>
? Promise<CollectionEntry<C>>
: Promise<CollectionEntry<C> | undefined>;

export function getEntry<
C extends keyof DataEntryMap,
E extends keyof DataEntryMap[C] | (string & {}),
Expand All @@ -80,7 +76,6 @@ declare module 'astro:content' {
}): 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 & {}),
Expand All @@ -90,7 +85,6 @@ declare module 'astro:content' {
): E extends ValidContentEntrySlug<C>
? Promise<CollectionEntry<C>>
: Promise<CollectionEntry<C> | undefined>;

export function getEntry<
C extends keyof DataEntryMap,
E extends keyof DataEntryMap[C] | (string & {}),
Expand All @@ -108,7 +102,6 @@ declare module 'astro:content' {
slug: ValidContentEntrySlug<C>;
}[],
): Promise<CollectionEntry<C>[]>;

export function getEntries<C extends keyof DataEntryMap>(
entries: {
collection: C;
Expand Down Expand Up @@ -147,37 +140,22 @@ declare module 'astro:content' {
>;

type ContentEntryMap = {
"en": {
"personal-data-protection-policy.md": {
id: "personal-data-protection-policy.md";
slug: "personal-data-protection-policy";
body: string;
collection: "en";
data: any
} & { render(): Render[".md"] };
"privacy-policy.md": {
id: "privacy-policy.md";
slug: "privacy-policy";
body: string;
collection: "en";
data: any
} & { render(): Render[".md"] };
"terms-of-service.md": {
id: "terms-of-service.md";
slug: "terms-of-service";
body: string;
collection: "en";
data: any
} & { render(): Render[".md"] };
};


};

type DataEntryMap = {

"en": Record<string, {
id: string;
body?: string;
collection: "en";
data: any;
rendered?: RenderedContent;
filePath?: string;
}>;

};

type AnyEntryMap = ContentEntryMap & DataEntryMap;

export type ContentConfig = typeof import("./../Source/content/config.mjs");
export type ContentConfig = typeof import("./../Source/content.config.mjs");
}
2 changes: 1 addition & 1 deletion Target/404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/GDPR/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/PERSONAL DATA PROTECTION POLICY/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/PERSONAL-DATA-PROTECTION-POLICY/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/PRIVACY POLICY/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/PRIVACY-POLICY/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/TERMS OF SERVICE/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/TERMS-OF-SERVICE/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Target/chunks/Base_C6QPIOhz.mjs.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion Target/chunks/Base_DV7gkH_j.mjs.map

This file was deleted.

1 change: 0 additions & 1 deletion Target/chunks/astro/server_B1aewJ70.mjs.map

This file was deleted.

1 change: 1 addition & 0 deletions Target/chunks/astro/server_Da53ieLQ.mjs.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Target/chunks/astro_BYXcfF7P.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Target/chunks/astro_DE5DHthN.mjs.map

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Target/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 3f5e39a

Please sign in to comment.