manifesto.js
Advanced tools
Comparing version
@@ -250,2 +250,3 @@ // manifesto v2.1.13 https://github.com/iiif-commons/manifesto | ||
getServices(): IService[]; | ||
getThumbnail(): Thumbnail | null; | ||
isAnnotation(): boolean; | ||
@@ -284,2 +285,3 @@ isCanvas(): boolean; | ||
getIndex(): number; | ||
getOtherContent(): Promise<AnnotationList[]>; | ||
getWidth(): number; | ||
@@ -391,3 +393,4 @@ getHeight(): number; | ||
class Sequence extends ManifestResource implements ISequence { | ||
private canvases; | ||
private _canvases; | ||
private _thumbnails; | ||
constructor(jsonld?: any, options?: IManifestoOptions); | ||
@@ -406,2 +409,3 @@ getCanvases(): ICanvas[]; | ||
getThumbs(width: number, height?: number): Manifesto.IThumb[]; | ||
getThumbnails(): Manifesto.IThumbnail[]; | ||
getStartCanvas(): string; | ||
@@ -618,2 +622,15 @@ getTotalCanvases(): number; | ||
declare namespace Manifesto { | ||
class AnnotationList extends JSONLDResource implements IAnnotationList { | ||
options: IManifestoOptions; | ||
label: string; | ||
isLoaded: boolean; | ||
constructor(label: any, jsonld?: any, options?: IManifestoOptions); | ||
getIIIFResourceType(): IIIFResourceType; | ||
getLabel(): string; | ||
getResources(): Annotation[]; | ||
load(): Promise<AnnotationList>; | ||
} | ||
} | ||
declare namespace Manifesto { | ||
class AnnotationPage extends ManifestResource implements IAnnotationPage { | ||
@@ -653,2 +670,7 @@ constructor(jsonld: any, options: IManifestoOptions); | ||
declare namespace Manifesto { | ||
interface IAnnotationList extends IJSONLDResource { | ||
} | ||
} | ||
declare namespace Manifesto { | ||
interface IAnnotationPage extends IManifestResource { | ||
@@ -827,2 +849,3 @@ getItems(): IAnnotation[]; | ||
getServices(): IService[]; | ||
getThumbnail(): Thumbnail | null; | ||
isAnnotation(): boolean; | ||
@@ -885,2 +908,3 @@ isCanvas(): boolean; | ||
getThumbs(width: number, height: number): Manifesto.IThumb[]; | ||
getThumbnails(): Manifesto.IThumbnail[]; | ||
getTotalCanvases(): number; | ||
@@ -919,1 +943,12 @@ getViewingDirection(): Manifesto.ViewingDirection; | ||
} | ||
declare namespace Manifesto { | ||
interface IThumbnail { | ||
} | ||
} | ||
declare namespace Manifesto { | ||
class Thumbnail extends Resource implements IThumbnail { | ||
constructor(jsonld: any, options: IManifestoOptions); | ||
} | ||
} |
{ | ||
"name": "manifesto.js", | ||
"version": "2.1.13", | ||
"version": "2.2.0", | ||
"description": "IIIF Presentation API utility library for client and server", | ||
@@ -5,0 +5,0 @@ "main": "./dist/server/manifesto.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1213657
20.2%20
5.26%29743
25.44%