test02/node_modules/@vuepress/plugin-sitemap/lib/typings/frontmatter.d.ts
罗佳鸿 6aa1ebe342
Some checks are pending
部署文档 / deploy-gh-pages (push) Waiting to run
first commit
2024-08-13 10:11:19 +08:00

38 lines
860 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageFrontmatter } from 'vuepress/core';
import type { SitemapChangeFrequency, SitemapImageOption, SitemapNewsOption, SitemapVideoOption } from './sitemap.js';
export interface SitemapFrontmatterOption {
/**
* Update Frequency
*
* 更新频率
*/
changefreq?: SitemapChangeFrequency;
/**
* Priority of this page, supports 0.0 -1.0
*
* 页面优先级0.0 - 1.0
*/
priority?: number;
/**
* Image config
*
* 图片配置
*/
img?: SitemapImageOption[];
/**
* Video config
*
* 视频配置
*/
video?: SitemapVideoOption[];
/**
* News config
*
* 新闻配置
*/
news?: SitemapNewsOption[];
}
export interface SitemapPluginFrontmatter extends PageFrontmatter {
sitemap?: SitemapFrontmatterOption | false;
}