SitemapEntry · Node.js
Sitemap URL metadata. lastmod and priority are source strings, not validated dates or numbers.
In this guide
Purpose and lifecycle
Sitemap URL metadata. lastmod and priority are source strings, not validated dates or numbers.
Definition and availability
Source snapshot: 1.0.0-alpha.3. Package export. Declared in source; this is not a runtime test result.
Signatures and source locations are generated from the SDK wrappers. Clean snapshots link to the recorded commit. Modified snapshots link to main, which may differ; file hashes identify the local inputs.
export interface SitemapEntry {
loc: string;
lastmod?: string;
changefreq?: string;
priority?: string;
}Members
| Member | Kind | Return / value type | Source status |
|---|---|---|---|
| loc | property | string | Present in source |
| lastmod | property | string | undefined | Present in source |
| changefreq | property | string | undefined | Present in source |
| priority | property | string | undefined | Present in source |
loc
URL supplied by the sitemap.
Returns / value: string.
loc: string;lastmod
Optional last-modified string from the sitemap.
Returns / value: string | undefined.
lastmod?: string;changefreq
Optional advisory update frequency.
Returns / value: string | undefined.
changefreq?: string;priority
Optional advisory priority string.
Returns / value: string | undefined.
priority?: string;Errors and operational limits
See the consuming API for validation and failure behavior. Types and enum declarations do not perform network requests by themselves.
Source availability, package publication and runtime validation are separate facts. These pages describe the source snapshot, not a claim that all platforms or every API path have passed production acceptance.