New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

manifesto.js

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manifesto.js - npm Package Compare versions

Comparing version

to
0.1.27

.vscode/launch.json

309

dist/manifesto.d.ts

@@ -0,1 +1,2 @@

// manifesto.js v0.1.26 https://github.com/universalviewer/manifesto
declare module Manifesto {

@@ -8,2 +9,3 @@ class StringValue {

}
declare module Manifesto {

@@ -24,2 +26,3 @@ class AnnotationMotivation extends StringValue {

static TAGGING: AnnotationMotivation;
static TRANSCRIBING: AnnotationMotivation;
bookmarking(): AnnotationMotivation;

@@ -38,12 +41,9 @@ classifying(): AnnotationMotivation;

tagging(): AnnotationMotivation;
transcribing(): AnnotationMotivation;
}
}
declare module Manifesto {
class CanvasType extends StringValue {
static CANVAS: CanvasType;
canvas(): CanvasType;
}
}
declare module Manifesto {
class ElementType extends StringValue {
static CANVAS: ElementType;
static DOCUMENT: ElementType;

@@ -54,2 +54,3 @@ static IMAGE: ElementType;

static SOUND: ElementType;
canvas(): ElementType;
document(): ElementType;

@@ -62,2 +63,3 @@ image(): ElementType;

}
declare module Manifesto {

@@ -71,2 +73,3 @@ class IIIFResourceType extends StringValue {

}
declare module Manifesto {

@@ -82,2 +85,3 @@ class ManifestType extends StringValue {

}
declare module Manifesto {

@@ -93,8 +97,12 @@ class RenderingFormat extends StringValue {

}
declare module Manifesto {
class ResourceFormat extends StringValue {
static JPGIMAGE: ResourceFormat;
static PDF: ResourceFormat;
jpgimage(): ResourceFormat;
pdf(): ResourceFormat;
}
}
declare module Manifesto {

@@ -106,20 +114,34 @@ class ResourceType extends StringValue {

}
declare module Manifesto {
class ServiceProfile extends StringValue {
static AUTOCOMPLETE: ServiceProfile;
static CLICKTHROUGH: ServiceProfile;
static STANFORDIIIFIMAGECOMPLIANCE0: ServiceProfile;
static STANFORDIIIFIMAGECOMPLIANCE1: ServiceProfile;
static STANFORDIIIFIMAGECOMPLIANCE2: ServiceProfile;
static STANFORDIIIFIMAGECONFORMANCE0: ServiceProfile;
static STANFORDIIIFIMAGECONFORMANCE1: ServiceProfile;
static STANFORDIIIFIMAGECONFORMANCE2: ServiceProfile;
static STANFORDIIIF1IMAGECOMPLIANCE0: ServiceProfile;
static STANFORDIIIF1IMAGECOMPLIANCE1: ServiceProfile;
static STANFORDIIIF1IMAGECOMPLIANCE2: ServiceProfile;
static STANFORDIIIF1IMAGECONFORMANCE0: ServiceProfile;
static STANFORDIIIF1IMAGECONFORMANCE1: ServiceProfile;
static STANFORDIIIF1IMAGECONFORMANCE2: ServiceProfile;
static IIIF1IMAGELEVEL0: ServiceProfile;
static IIIF1IMAGELEVEL0PROFILE: ServiceProfile;
static IIIF1IMAGELEVEL1: ServiceProfile;
static IIIF1IMAGELEVEL1PROFILE: ServiceProfile;
static IIIF1IMAGELEVEL2: ServiceProfile;
static IIIF1IMAGELEVEL2PROFILE: ServiceProfile;
static IIIF2IMAGELEVEL0: ServiceProfile;
static IIIF2IMAGELEVEL0PROFILE: ServiceProfile;
static IIIF2IMAGELEVEL1: ServiceProfile;
static IIIF2IMAGELEVEL1PROFILE: ServiceProfile;
static IIIF2IMAGELEVEL2: ServiceProfile;
static IIIF2IMAGELEVEL2PROFILE: ServiceProfile;
static IXIF: ServiceProfile;
static LOGIN: ServiceProfile;
static CLICKTHROUGH: ServiceProfile;
static RESTRICTED: ServiceProfile;
static LOGOUT: ServiceProfile;

@@ -129,5 +151,5 @@ static OTHERMANIFESTATIONS: ServiceProfile;

static TOKEN: ServiceProfile;
static TRACKINGEXTENSIONS: ServiceProfile;
static UIEXTENSIONS: ServiceProfile;
autoComplete(): ServiceProfile;
clickThrough(): ServiceProfile;
iiif1ImageLevel1(): ServiceProfile;

@@ -139,2 +161,4 @@ iiif1ImageLevel2(): ServiceProfile;

login(): ServiceProfile;
clickThrough(): ServiceProfile;
restricted(): ServiceProfile;
logout(): ServiceProfile;

@@ -152,5 +176,7 @@ otherManifestations(): ServiceProfile;

token(): ServiceProfile;
trackingExtensions(): ServiceProfile;
uiExtensions(): ServiceProfile;
}
}
declare module Manifesto {

@@ -168,2 +194,3 @@ class ViewingDirection extends StringValue {

}
declare module Manifesto {

@@ -185,2 +212,3 @@ class ViewingHint extends StringValue {

}
declare module Manifesto {

@@ -195,4 +223,6 @@ class JSONLDResource implements IJSONLDResource {

}
declare module Manifesto {
class ManifestResource extends JSONLDResource implements IManifestResource {
externalResource: IExternalResource;
options: IManifestoOptions;

@@ -208,11 +238,22 @@ constructor(jsonld: any, options: IManifestoOptions);

}
declare module Manifesto {
class Element extends ManifestResource implements IElement {
index: number;
type: ElementType;
constructor(jsonld: any, options: IManifestoOptions);
getResources(): IAnnotation[];
getType(): ElementType;
}
}
declare var _endsWith: any;
declare var _last: any;
declare module Manifesto {
class Canvas extends ManifestResource implements ICanvas {
class Canvas extends Element implements ICanvas {
ranges: IRange[];
constructor(jsonld: any, options: IManifestoOptions);
getCanonicalImageUri(w?: number): string;
getImages(): IAnnotation[];
getThumbUri(width: number, height: number): string;
getType(): CanvasType;
getIndex(): number;
getWidth(): number;

@@ -222,9 +263,3 @@ getHeight(): number;

}
declare module Manifesto {
class Element extends ManifestResource implements IElement {
type: ElementType;
constructor(jsonld: any, options: IManifestoOptions);
getType(): ElementType;
}
}
declare var _assign: any;

@@ -236,5 +271,6 @@ declare module Manifesto {

parentCollection: ICollection;
treeRoot: TreeNode;
parentLabel: string;
treeRoot: ITreeNode;
constructor(jsonld: any, options?: IManifestoOptions);
generateTreeNodeIds(treeNode: TreeNode, index?: number): void;
generateTreeNodeIds(treeNode: ITreeNode, index?: number): void;
getAttribution(): string;

@@ -246,8 +282,10 @@ getDescription(): string;

getNavDate(): Date;
getRelated(): any;
getSeeAlso(): any;
getTitle(): string;
getTree(): TreeNode;
getLabel(): string;
getTree(): ITreeNode;
load(): Promise<IIIIFResource>;
}
}
declare var _isArray: any;

@@ -259,3 +297,4 @@ declare var _map: any;

rootRange: IRange;
private sequences;
private _ranges;
private _sequences;
constructor(jsonld: any, options?: IManifestoOptions);

@@ -271,8 +310,12 @@ private _getRootRange();

getTotalSequences(): number;
getTree(): TreeNode;
getTree(): ITreeNode;
private _parseTreeNode(node, range);
getManifestType(): ManifestType;
getTrackingLabel(): string;
isMultiSequence(): boolean;
getViewingDirection(): ViewingDirection;
getViewingHint(): ViewingHint;
}
}
declare module Manifesto {

@@ -287,3 +330,3 @@ class Collection extends IIIFResource implements ICollection {

getTotalManifests(): number;
getTree(): TreeNode;
getTree(): ITreeNode;
private _parseManifests(parentCollection);

@@ -293,10 +336,12 @@ private _parseCollections(parentCollection);

}
declare module Manifesto {
class Range extends ManifestResource implements IRange {
canvases: ICanvas[];
parentRange: Range;
path: string;
ranges: Range[];
treeNode: TreeNode;
treeNode: ITreeNode;
constructor(jsonld: any, options: IManifestoOptions);
getCanvases(): string[];
getCanvasIds(): string[];
getViewingDirection(): ViewingDirection;

@@ -306,2 +351,3 @@ getViewingHint(): ViewingHint;

}
declare module Manifesto {

@@ -313,2 +359,3 @@ class Rendering extends ManifestResource implements IRendering {

}
declare var _last: any;

@@ -330,3 +377,3 @@ declare module Manifesto {

getStartCanvasIndex(): number;
getThumbs(width: number, height?: number): Manifesto.Thumb[];
getThumbs(width: number, height?: number): Manifesto.IThumb[];
getStartCanvas(): string;

@@ -344,2 +391,3 @@ getTotalCanvases(): number;

}
declare var _isString: any;

@@ -359,2 +407,3 @@ declare module Manifesto {

}
declare var _endsWith: any;

@@ -370,6 +419,20 @@ declare var _isArray: any;

}
declare module Manifesto {
class Thumb {
interface IThumb {
data: any;
height: number;
index: number;
label: string;
uri: string;
visible: boolean;
width: number;
}
}
declare module Manifesto {
class Thumb implements IThumb {
data: any;
index: number;
uri: string;
label: string;

@@ -379,19 +442,41 @@ width: number;

visible: boolean;
constructor(index: number, uri: string, label: string, width: number, height: number, visible: boolean);
constructor(width: number, canvas: ICanvas);
}
}
declare module Manifesto {
class TreeNode {
interface ITreeNode {
data: any;
nodes: ITreeNode[];
selected: boolean;
expanded: boolean;
id: string;
label: string;
navDate: Date;
parentNode: ITreeNode;
addNode(node: ITreeNode): void;
isCollection(): boolean;
isManifest(): boolean;
isRange(): boolean;
}
}
declare module Manifesto {
class TreeNode implements ITreeNode {
data: any;
nodes: TreeNode[];
nodes: ITreeNode[];
selected: boolean;
expanded: boolean;
id: string;
label: string;
navDate: Date;
parentNode: TreeNode;
parentNode: ITreeNode;
constructor(label?: string, data?: any);
addNode(node: TreeNode): void;
addNode(node: ITreeNode): void;
isCollection(): boolean;
isManifest(): boolean;
isRange(): boolean;
}
}
declare module Manifesto {

@@ -407,18 +492,59 @@ class TreeNodeType extends StringValue {

}
declare var http: any;
declare var https: any;
declare var url: any;
declare var manifesto: IManifesto;
declare module Manifesto {
class Utils {
static getImageQuality(profile: Manifesto.ServiceProfile): string;
static getLocalisedValue(resource: any, locale: string): string;
static loadResource(uri: string): Promise<string>;
static loadExternalResource(resource: IExternalResource, clickThrough: (resource: IExternalResource) => Promise<void>, login: (resource: IExternalResource) => Promise<void>, getAccessToken: (resource: IExternalResource) => Promise<IAccessToken>, storeAccessToken: (resource: IExternalResource, token: IAccessToken) => Promise<void>, getStoredAccessToken: (resource: IExternalResource) => Promise<IAccessToken>, handleResourceResponse: (resource: IExternalResource) => Promise<any>, options?: IManifestoOptions): Promise<IExternalResource>;
static loadExternalResources(resources: IExternalResource[], clickThrough: (resource: IExternalResource) => Promise<void>, login: (resource: IExternalResource) => Promise<void>, getAccessToken: (resource: IExternalResource) => Promise<IAccessToken>, storeAccessToken: (resource: IExternalResource, token: IAccessToken) => Promise<void>, getStoredAccessToken: (resource: IExternalResource) => Promise<IAccessToken>, handleResourceResponse: (resource: IExternalResource) => Promise<any>, options?: IManifestoOptions): Promise<IExternalResource[]>;
static authorize(resource: IExternalResource, clickThrough: (resource: IExternalResource) => Promise<void>, login: (resource: IExternalResource) => Promise<void>, getAccessToken: (resource: IExternalResource) => Promise<IAccessToken>, storeAccessToken: (resource: IExternalResource, token: IAccessToken) => Promise<void>, getStoredAccessToken: (resource: IExternalResource) => Promise<IAccessToken>): Promise<IExternalResource>;
static getRendering(resource: any, format: RenderingFormat | string): IRendering;
static getRenderings(resource: any): IRendering[];
static loadExternalResource(resource: IExternalResource, tokenStorageStrategy: string, clickThrough: (resource: IExternalResource) => Promise<void>, restricted: (resource: IExternalResource) => Promise<void>, login: (resource: IExternalResource) => Promise<void>, getAccessToken: (resource: IExternalResource, rejectOnError: boolean) => Promise<IAccessToken>, storeAccessToken: (resource: IExternalResource, token: IAccessToken, tokenStorageStrategy: string) => Promise<void>, getStoredAccessToken: (resource: IExternalResource, tokenStorageStrategy: string) => Promise<IAccessToken>, handleResourceResponse: (resource: IExternalResource) => Promise<any>, options?: IManifestoOptions): Promise<IExternalResource>;
static createError(name: string, message: string): Error;
static createAuthorizationFailedError(): Error;
static createRestrictedError(): Error;
static createInternalServerError(message: string): Error;
static loadExternalResources(resources: IExternalResource[], tokenStorageStrategy: string, clickThrough: (resource: IExternalResource) => Promise<void>, restricted: (resource: IExternalResource) => Promise<void>, login: (resource: IExternalResource) => Promise<void>, getAccessToken: (resource: IExternalResource, rejectOnError: boolean) => Promise<IAccessToken>, storeAccessToken: (resource: IExternalResource, token: IAccessToken, tokenStorageStrategy: string) => Promise<void>, getStoredAccessToken: (resource: IExternalResource, tokenStorageStrategy: string) => Promise<IAccessToken>, handleResourceResponse: (resource: IExternalResource) => Promise<any>, options?: IManifestoOptions): Promise<IExternalResource[]>;
static authorize(resource: IExternalResource, tokenStorageStrategy: string, clickThrough: (resource: IExternalResource) => Promise<void>, restricted: (resource: IExternalResource) => Promise<void>, login: (resource: IExternalResource) => Promise<void>, getAccessToken: (resource: IExternalResource, rejectOnError: boolean) => Promise<IAccessToken>, storeAccessToken: (resource: IExternalResource, token: IAccessToken, tokenStorageStrategy: string) => Promise<void>, getStoredAccessToken: (resource: IExternalResource, tokenStorageStrategy: string) => Promise<IAccessToken>): Promise<IExternalResource>;
private static showAuthInteraction(resource, tokenStorageStrategy, clickThrough, restricted, login, getAccessToken, storeAccessToken, resolve, reject);
static getService(resource: any, profile: ServiceProfile | string): IService;
static getServiceByReference(resource: any, id: string): any;
static getResourceById(parentResource: IJSONLDResource, id: string): IJSONLDResource;
static getAllArrays(obj: any): exjs.IEnumerable<any>;
static getServices(resource: any): IService[];
}
}
/// <reference path="StringValue.d.ts" />
/// <reference path="AnnotationMotivation.d.ts" />
/// <reference path="ElementType.d.ts" />
/// <reference path="IIIFResourceType.d.ts" />
/// <reference path="ManifestType.d.ts" />
/// <reference path="RenderingFormat.d.ts" />
/// <reference path="ResourceFormat.d.ts" />
/// <reference path="ResourceType.d.ts" />
/// <reference path="ServiceProfile.d.ts" />
/// <reference path="ViewingDirection.d.ts" />
/// <reference path="ViewingHint.d.ts" />
/// <reference path="JSONLDResource.d.ts" />
/// <reference path="ManifestResource.d.ts" />
/// <reference path="Element.d.ts" />
/// <reference path="Canvas.d.ts" />
/// <reference path="IIIFResource.d.ts" />
/// <reference path="Manifest.d.ts" />
/// <reference path="Collection.d.ts" />
/// <reference path="Range.d.ts" />
/// <reference path="Rendering.d.ts" />
/// <reference path="Sequence.d.ts" />
/// <reference path="Serialisation.d.ts" />
/// <reference path="Service.d.ts" />
/// <reference path="IThumb.d.ts" />
/// <reference path="Thumb.d.ts" />
/// <reference path="ITreeNode.d.ts" />
/// <reference path="TreeNode.d.ts" />
/// <reference path="TreeNodeType.d.ts" />
/// <reference path="Utils.d.ts" />
/// <reference path="Manifesto.d.ts" />
declare module Manifesto {

@@ -432,2 +558,3 @@ class Annotation extends ManifestResource implements IAnnotation {

}
declare module Manifesto {

@@ -442,2 +569,3 @@ interface IAccessToken {

}
declare module Manifesto {

@@ -450,11 +578,14 @@ interface IAnnotation extends IJSONLDResource {

}
declare module Manifesto {
interface ICanvas extends IManifestResource {
interface ICanvas extends IElement {
ranges: IRange[];
getCanonicalImageUri(width?: number): string;
getHeight(): number;
getImages(): IAnnotation[];
getThumbUri(width: number, height: number): string;
getType(): CanvasType;
getIndex(): number;
getWidth(): number;
}
}
declare module Manifesto {

@@ -467,11 +598,14 @@ interface ICollection extends IIIIFResource {

getTotalManifests(): number;
getTree(): TreeNode;
manifests: IManifest[];
}
}
declare module Manifesto {
interface IElement extends IManifestResource {
index: number;
getResources(): IAnnotation[];
getType(): ElementType;
}
}
declare module Manifesto {

@@ -483,11 +617,17 @@ interface IExternalResource {

error: any;
getData(accessToken?: IAccessToken): Promise<IExternalResource>;
height: number;
isAccessControlled(): boolean;
isResponseHandled: boolean;
loginService: IService;
logoutService: IService;
restrictedService: IService;
status: number;
tokenService: IService;
getData(accessToken?: IAccessToken): Promise<IExternalResource>;
isAccessControlled(): boolean;
width: number;
x: number;
y: number;
}
}
declare module Manifesto {

@@ -498,8 +638,9 @@ interface IIIIFResource extends IManifestResource {

getIIIFResourceType(): IIIFResourceType;
getLabel(): string;
getLicense(): string;
getLogo(): string;
getNavDate(): Date;
getRelated(): any;
getSeeAlso(): any;
getTitle(): string;
getTree(): TreeNode;
getTree(): ITreeNode;
index: number;

@@ -509,5 +650,7 @@ isLoaded: boolean;

parentCollection: ICollection;
treeRoot: TreeNode;
parentLabel: string;
treeRoot: ITreeNode;
}
}
declare module Manifesto {

@@ -521,5 +664,6 @@ interface IJSONLDResource {

}
declare module Manifesto {
interface IManifest extends IIIIFResource {
getRangeById(id: string): IRange;
interface IManifest extends Manifesto.IIIIFResource {
getRangeById(id: string): Manifesto.IRange;
getRangeByPath(path: string): IRange;

@@ -530,4 +674,6 @@ getRanges(): IRange[];

getTotalSequences(): number;
getTree(): TreeNode;
getManifestType(): ManifestType;
getViewingDirection(): Manifesto.ViewingDirection;
getViewingHint(): ViewingHint;
getTrackingLabel(): string;
isMultiSequence(): boolean;

@@ -537,16 +683,5 @@ rootRange: IRange;

}
declare module Manifesto {
interface IManifestResource extends IJSONLDResource {
options: IManifestoOptions;
getLabel(): string;
getMetadata(): any;
getRendering(format: RenderingFormat | string): IRendering;
getRenderings(): IRendering[];
getService(profile: ServiceProfile | string): IService;
getServices(): IService[];
}
}
interface IManifesto {
AnnotationMotivation: Manifesto.AnnotationMotivation;
CanvasType: Manifesto.CanvasType;
create: (manifest: string, options?: Manifesto.IManifestoOptions) => Manifesto.IIIIFResource;

@@ -556,6 +691,9 @@ ElementType: Manifesto.ElementType;

getService: (resource: any, profile: Manifesto.ServiceProfile | string) => Manifesto.IService;
getTreeNode(): Manifesto.TreeNode;
getTreeNode(): Manifesto.ITreeNode;
IIIFResourceType: Manifesto.IIIFResourceType;
isImageProfile(profile: Manifesto.ServiceProfile): boolean;
loadExternalResources: (resources: Manifesto.IExternalResource[], clickThrough: (resource: Manifesto.IExternalResource) => Promise<void>, login: (resource: Manifesto.IExternalResource) => Promise<void>, getAccessToken: (resource: Manifesto.IExternalResource) => Promise<Manifesto.IAccessToken>, storeAccessToken: (resource: Manifesto.IExternalResource, token: Manifesto.IAccessToken) => Promise<void>, getStoredAccessToken: (resource: Manifesto.IExternalResource) => Promise<Manifesto.IAccessToken>, handleResourceResponse: (resource: Manifesto.IExternalResource) => Promise<any>, options?: Manifesto.IManifestoOptions) => Promise<Manifesto.IExternalResource[]>;
isLevel0ImageProfile(profile: Manifesto.ServiceProfile): boolean;
isLevel1ImageProfile(profile: Manifesto.ServiceProfile): boolean;
isLevel2ImageProfile(profile: Manifesto.ServiceProfile): boolean;
loadExternalResources: (resources: Manifesto.IExternalResource[], tokenStorageStrategy: string, clickThrough: (resource: Manifesto.IExternalResource) => Promise<void>, restricted: (resource: Manifesto.IExternalResource) => Promise<void>, login: (resource: Manifesto.IExternalResource) => Promise<void>, getAccessToken: (resource: Manifesto.IExternalResource, rejectOnError: boolean) => Promise<Manifesto.IAccessToken>, storeAccessToken: (resource: Manifesto.IExternalResource, token: Manifesto.IAccessToken, tokenStorageStrategy: string) => Promise<void>, getStoredAccessToken: (resource: Manifesto.IExternalResource, tokenStorageStrategy: string) => Promise<Manifesto.IAccessToken>, handleResourceResponse: (resource: Manifesto.IExternalResource) => Promise<any>, options?: Manifesto.IManifestoOptions) => Promise<Manifesto.IExternalResource[]>;
loadManifest: (uri: string) => Promise<string>;

@@ -567,2 +705,3 @@ ManifestType: Manifesto.ManifestType;

ServiceProfile: Manifesto.ServiceProfile;
StatusCodes: Manifesto.IStatusCodes;
TreeNodeType: Manifesto.TreeNodeType;

@@ -572,2 +711,3 @@ ViewingDirection: Manifesto.ViewingDirection;

}
declare module Manifesto {

@@ -577,2 +717,3 @@ interface IManifestoOptions {

locale: string;
index?: number;
resource: IIIIFResource;

@@ -583,5 +724,19 @@ navDate?: Date;

}
declare module Manifesto {
interface IManifestResource extends IJSONLDResource {
externalResource: Manifesto.IExternalResource;
options: IManifestoOptions;
getLabel(): string;
getMetadata(): any;
getRendering(format: RenderingFormat | string): IRendering;
getRenderings(): IRendering[];
getService(profile: ServiceProfile | string): IService;
getServices(): IService[];
}
}
declare module Manifesto {
interface IRange extends IManifestResource {
getCanvases(): string[];
getCanvasIds(): string[];
getViewingDirection(): ViewingDirection;

@@ -592,5 +747,6 @@ getViewingHint(): ViewingHint;

ranges: IRange[];
treeNode: TreeNode;
treeNode: ITreeNode;
}
}
declare module Manifesto {

@@ -601,2 +757,3 @@ interface IRendering extends IManifestResource {

}
declare module Manifesto {

@@ -609,2 +766,3 @@ interface IResource extends IManifestResource {

}
declare module Manifesto {

@@ -625,3 +783,3 @@ interface ISequence extends IManifestResource {

getStartCanvasIndex(): number;
getThumbs(width: number, height: number): Manifesto.Thumb[];
getThumbs(width: number, height: number): Manifesto.IThumb[];
getTotalCanvases(): number;

@@ -638,2 +796,3 @@ getViewingDirection(): Manifesto.ViewingDirection;

}
declare module Manifesto {

@@ -645,3 +804,13 @@ interface IService extends IManifestResource {

}
declare module Manifesto {
interface IStatusCodes {
AUTHORIZATION_FAILED: number;
FORBIDDEN: number;
INTERNAL_SERVER_ERROR: number;
RESTRICTED: number;
}
}
declare module Manifesto {
class Resource extends ManifestResource implements IResource {

@@ -653,3 +822,5 @@ constructor(jsonld: any, options: IManifestoOptions);

getHeight(): number;
getMaxWidth(): number;
getMaxHeight(): number;
}
}
{
"name": "manifesto.js",
"version": "0.1.20",
"version": "0.1.27",
"description": "IIIF Presentation API utility library for client and server",

@@ -23,3 +23,3 @@ "main": "dist/server/manifesto.js",

"devDependencies": {
"browserify": "^11.0.0",
"browserify": "^13.0.1",
"chai": "^2.3.0",

@@ -29,5 +29,5 @@ "del": "^1.1.1",

"gulp": "^3.8.11",
"gulp-browserify": "^0.5.1",
"gulp-bump": "^0.3.1",
"gulp-concat": "^2.6.0",
"gulp-insert": "^0.5.0",
"gulp-istanbul": "^0.10.0",

@@ -39,4 +39,4 @@ "gulp-mocha": "^2.0.1",

"gulp-typescript": "^2.9.2",
"gulp-uglify": "^1.2.0",
"gulp-util": "^3.0.6",
"gulp-uglify": "^1.5.3",
"gulp-utils": "git://github.com/edsilv/gulp-utils",
"http": "0.0.0",

@@ -49,10 +49,12 @@ "lodash": "^3.10.0",

"serve-static": "^1.10.0",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"through2": "^2.0.1",
"yargs": "^3.10.0"
},
"dependencies": {
"exjs": "git://github.com/BSick7/exjs.git",
"extensions": "git://github.com/edsilv/extensions.git",
"http-status-codes": "git://github.com/edsilv/http-status-codes.git",
"lodash.assign": "^3.2.0",
"lodash.endswith": "^3.0.2",
"lodash.findindex": "^4.3.0",
"lodash.isarray": "^3.0.4",

@@ -59,0 +61,0 @@ "lodash.isdate": "^3.0.1",

@@ -16,9 +16,24 @@ # manifesto

Documentation
###Documentation
http://universalviewer.github.io/manifesto-docs/
http://universalviewer.io/manifesto-docs/
Tutorial
###Tutorial
http://blog.edsilv.com/manifesto/
http://blog.edsilv.com/manifesto/
###Developer Setup
git clone https://github.com/UniversalViewer/manifesto.git
npm install
bower install
gulp
gulp test
###Building
gulp
gulp compressClient
gulp compressServer

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display