| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/parsmega.nuxt/node_modules/sitemap/dist/lib/ |
Upload File : |
/// <reference types="node" />
import { URL } from 'url';
export declare enum EnumChangefreq {
DAILY = "daily",
MONTHLY = "monthly",
ALWAYS = "always",
HOURLY = "hourly",
WEEKLY = "weekly",
YEARLY = "yearly",
NEVER = "never"
}
export declare const CHANGEFREQ: EnumChangefreq[];
export declare enum EnumYesNo {
YES = "YES",
NO = "NO",
Yes = "Yes",
No = "No",
yes = "yes",
no = "no"
}
export declare enum EnumAllowDeny {
ALLOW = "allow",
DENY = "deny"
}
export declare type ICallback<E extends Error, T> = (err?: E, data?: T) => void;
export interface INewsItem {
access?: 'Registration' | 'Subscription';
publication: {
name: string;
language: string;
};
genres?: string;
publication_date: string;
title: string;
keywords?: string;
stock_tickers?: string;
}
export interface ISitemapImg {
url: string;
caption?: string;
title?: string;
geoLocation?: string;
license?: string;
}
interface IVideoItemBase {
thumbnail_loc: string;
title: string;
description: string;
content_loc?: string;
player_loc?: string;
'player_loc:autoplay'?: string;
duration?: number;
expiration_date?: string;
view_count?: string | number;
publication_date?: string;
category?: string;
restriction?: string;
'restriction:relationship'?: string;
gallery_loc?: string;
'gallery_loc:title'?: string;
price?: string;
'price:resolution'?: string;
'price:currency'?: string;
'price:type'?: string;
uploader?: string;
platform?: string;
id?: string;
'platform:relationship'?: EnumAllowDeny;
}
export interface IVideoItem extends IVideoItemBase {
tag: string[];
rating?: number;
family_friendly?: EnumYesNo;
requires_subscription?: EnumYesNo;
live?: EnumYesNo;
}
export interface IVideoItemLoose extends IVideoItemBase {
tag?: string | string[];
rating?: string | number;
family_friendly?: EnumYesNo | boolean;
requires_subscription?: EnumYesNo | boolean;
live?: EnumYesNo | boolean;
}
export interface ILinkItem {
lang: string;
url: string;
}
export interface ISitemapIndexItemOptions {
url: string;
lastmod?: string;
lastmodISO?: string;
}
interface ISitemapItemOptionsBase {
lastmod?: string;
changefreq?: EnumChangefreq;
fullPrecisionPriority?: boolean;
priority?: number;
news?: INewsItem;
expires?: string;
androidLink?: string;
mobile?: boolean | string;
ampLink?: string;
url: string;
cdata?: boolean;
}
/**
* Strict options for individual sitemap entries
*/
export interface SitemapItemOptions extends ISitemapItemOptionsBase {
img: ISitemapImg[];
video: IVideoItem[];
links: ILinkItem[];
}
/**
* Options for individual sitemap entries prior to normalization
*/
export interface ISitemapItemOptionsLoose extends ISitemapItemOptionsBase {
video?: IVideoItemLoose | IVideoItemLoose[];
img?: string | ISitemapImg | (string | ISitemapImg)[];
links?: ILinkItem[];
lastmodfile?: string | Buffer | URL;
lastmodISO?: string;
lastmodrealtime?: boolean;
}
/**
* How to handle errors in passed in urls
*/
export declare enum ErrorLevel {
SILENT = "silent",
WARN = "warn",
THROW = "throw"
}
export {};