UNPKG

@readium/shared

Version:

Shared models to be used across other Readium projects and implementations in Typescript

24 lines (23 loc) 741 B
/** * Represents an alternate identifier for a publication. * https://readium.org/webpub-manifest/schema/altIdentifier.schema.json */ export declare class AltIdentifier { /** The value of the alternate identifier. */ readonly value: string; /** The scheme of the alternate identifier (URI format). */ readonly scheme?: string; /** Creates an AltIdentifier object */ constructor(values: { value: string; scheme?: string; }); /** * Parses an AltIdentifier from its RWPM JSON representation. */ static deserialize(json: string | any): AltIdentifier | undefined; /** * Serializes an AltIdentifier to its RWPM JSON representation. */ serialize(): string | any; }