video-ad-sdk
Version:
VAST/VPAID SDK that allows video ads to be played on top of any player
24 lines (23 loc) • 421 B
TypeScript
/**
* XML node type
*/
export declare enum NodeType {
CDATA = "cdata",
DOCUMENT = "document",
ELEMENT = "element",
TEXT = "text"
}
/**
* XML attribute map
*/
export type Attributes = Partial<Record<string, string>>;
/**
* JS XML deserialised object.
*/
export interface ParsedXML {
type: NodeType;
name?: string;
text?: string;
elements?: ParsedXML[];
attributes?: Attributes;
}