blogger-feeds
Version:
Read-only utilities and client for Blogger feeds
38 lines (37 loc) • 872 B
TypeScript
/**
* Default blogger feeds origin
*/
export declare const BLOGGER = "https://www.blogger.com";
/**
* Path required by all flows
* * adpted to blogger if necessary
*/
export declare const REQ_PATH = "/feeds/posts/default";
/**
* Params shared by all flows
* * always required
* * pre-sorted
*/
export declare const REQ_PARS: URLSearchParams;
/**
* Allowed max-results param values
*/
export declare const OK_MAXRES: {
max: number;
def: number;
min: number;
};
/**
* Allowed orderby param values
*/
export declare const OK_ORDERBY: Set<any>;
export type Ordering = 'published' | 'updated';
/**
* Allowed date filtering keys
*/
export declare const OK_DATES: Set<DatePar>;
export type DatePar = 'published-max' | 'published-min' | 'updated-max' | 'updated-min';
/**
* All of the allowed params
*/
export declare const ALLOWED_PARS: Set<string>;