Initial commit: New MoreminiMore website with fresh design
This commit is contained in:
46
node_modules/astro/templates/content/module.mjs
generated
vendored
Normal file
46
node_modules/astro/templates/content/module.mjs
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
// astro-head-inject
|
||||
import {
|
||||
createDeprecatedFunction,
|
||||
createGetCollection,
|
||||
createGetEntries,
|
||||
createGetEntry,
|
||||
createGetLiveCollection,
|
||||
createGetLiveEntry,
|
||||
createReference,
|
||||
} from 'astro/content/runtime';
|
||||
|
||||
export {
|
||||
defineCollection,
|
||||
defineLiveCollection,
|
||||
renderEntry as render,
|
||||
} from 'astro/content/runtime';
|
||||
// TODO: remove in Astro 7
|
||||
export { z } from 'astro/zod';
|
||||
|
||||
/* @@LIVE_CONTENT_CONFIG@@ */
|
||||
|
||||
export const getCollection = createGetCollection({
|
||||
liveCollections,
|
||||
});
|
||||
|
||||
export const getEntry = createGetEntry({
|
||||
liveCollections,
|
||||
});
|
||||
|
||||
export const getEntries = createGetEntries(getEntry);
|
||||
|
||||
export const reference = createReference();
|
||||
|
||||
export const getLiveCollection = createGetLiveCollection({
|
||||
liveCollections,
|
||||
});
|
||||
|
||||
export const getLiveEntry = createGetLiveEntry({
|
||||
liveCollections,
|
||||
});
|
||||
|
||||
// TODO: remove in Astro 7
|
||||
export const getEntryBySlug = createDeprecatedFunction('getEntryBySlug');
|
||||
|
||||
// TODO: remove in Astro 7
|
||||
export const getDataEntryById = createDeprecatedFunction('getDataEntryById');
|
||||
Reference in New Issue
Block a user