const require_common = require('./common.cjs');
const require_generated_blog_entry = require('./generated/blog.entry.cjs');

//#region src/blog.ts
const getBlogsKeys = () => require_common.getKeys(require_generated_blog_entry.blogEntry);
const getBlogs = async (locale = require_common.defaultLocale) => await require_common.getFiles(require_generated_blog_entry.blogEntry, locale);
const getBlog = async (docName, locale = require_common.defaultLocale) => await require_common.getFile(require_generated_blog_entry.blogEntry, docName, locale);
const getBlogMetadataRecord = async (locale = require_common.defaultLocale) => await require_common.getFileMetadataRecord(require_generated_blog_entry.blogEntry, locale);
const getBlogMetadata = async (docName, locale = require_common.defaultLocale) => await require_common.getFileMetadata(require_generated_blog_entry.blogEntry, docName, locale);
const getBlogMetadataBySlug = async (slugs, locale = require_common.defaultLocale, strict = false) => await require_common.getFileMetadataBySlug(require_generated_blog_entry.blogEntry, slugs, locale, strict);
const getBlogBySlug = async (slugs, locale = require_common.defaultLocale, strict = false) => await require_common.getFileBySlug(require_generated_blog_entry.blogEntry, slugs, locale, strict);

//#endregion
exports.getBlog = getBlog;
exports.getBlogBySlug = getBlogBySlug;
exports.getBlogMetadata = getBlogMetadata;
exports.getBlogMetadataBySlug = getBlogMetadataBySlug;
exports.getBlogMetadataRecord = getBlogMetadataRecord;
exports.getBlogs = getBlogs;
exports.getBlogsKeys = getBlogsKeys;
//# sourceMappingURL=blog.cjs.map