Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iiif/presentation-3

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iiif/presentation-3 - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

51

dist/presentation-3.d.ts

@@ -5,2 +5,18 @@ // Generated by dts-bundle-generator v6.12.0

export declare type Required<T> = T extends object ? {
[P in keyof T]-?: NonNullable<T[P]>;
} : T;
export declare type SomeRequired<T, K extends keyof T> = (T extends object ? {
[P in K]-?: NonNullable<T[P]>;
} : T) & Partial<Pick<Required<T>, Exclude<keyof T, K>>>;
export declare type OmitProperties<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export declare type JsonLDContext = {
"@context"?: string | string[];
};
export declare type IdOrAtId<T> = {
id: T;
} | {
"@id": T;
};
export declare type LiteralUnion<T extends string> = T | Omit<string, T>;
export declare type ResourceType = "Collection" | "Manifest" | "Canvas" | "Annotation" | "AnnotationPage" | "AnnotationCollection" | "Range" | "ContentResource" | "Choice" | "CanvasReference" | "Service";

@@ -34,3 +50,3 @@ export declare type ViewingDirection = "left-to-right" | "right-to-left" | "top-to-bottom" | "bottom-to-top";

*/
type: ResourceType;
type: LiteralUnion<ResourceType>;
/**

@@ -159,3 +175,3 @@ * The specific media type (often called a MIME type) for a content resource, for example `image/jpeg`. This is important for distinguishing different formats of the same overall type of resource, such as distinguishing text in XML from plain text.

*/
behavior: SpecificationBehaviors[] | string[];
behavior: Array<LiteralUnion<SpecificationBehaviors>>;
/**

@@ -185,17 +201,2 @@ * A mode associated with an Annotation that is to be applied to the rendering of any time-based media, or otherwise could be considered to have a duration, used as a body resource of that Annotation. Note that the association of `timeMode` with the Annotation means that different resources in the body cannot have different values. This specification defines the values specified in the table below. Others may be defined externally as an [extension][prezi30-ldce].

};
export declare type Required<T> = T extends object ? {
[P in keyof T]-?: NonNullable<T[P]>;
} : T;
export declare type SomeRequired<T, K extends keyof T> = (T extends object ? {
[P in K]-?: NonNullable<T[P]>;
} : T) & Partial<Pick<Required<T>, Exclude<keyof T, K>>>;
export declare type OmitProperties<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export declare type JsonLDContext = {
"@context"?: string | string[];
};
export declare type IdOrAtId<T> = {
id: T;
} | {
"@id": T;
};
export declare type AuthAccessTokenService = IdOrAtId<string> & {

@@ -431,3 +432,3 @@ profile: "http://iiif.io/api/auth/1/token" | "AuthTokenService1";

export declare type ManifestItems = Canvas;
export type ManifestOmittedTechnical = "format" | "profile" | "height" | "width" | "duration" | "timeMode";
export type ManifestOmittedTechnical = "format" | "profile" | "height" | "width" | "duration" | "timeMode" | "motivation";
export type ManifestOmittedDescriptive = "language";

@@ -443,3 +444,3 @@ export type ManifestOmittedLinking = "supplementary";

export declare type CollectionItems = Collection | Manifest;
export type CollectionOmittedTechnical = "format" | "profile" | "height" | "width" | "duration" | "timeMode";
export type CollectionOmittedTechnical = "format" | "profile" | "height" | "width" | "duration" | "timeMode" | "motivation";
export type CollectionOmittedDescriptive = "language";

@@ -455,3 +456,3 @@ export type CollectionOmittedStructural = "structures";

export declare type CollectionItemSchemas = "Collection" | "Manifest";
export type AnnotationCollectionOmittedTechnical = "type" | "format" | "profile" | "height" | "width" | "duration" | "viewingDirection" | "timeMode";
export type AnnotationCollectionOmittedTechnical = "type" | "format" | "profile" | "height" | "width" | "duration" | "viewingDirection" | "timeMode" | "motivation";
export type AnnotationCollectionOmittedDescriptive = "posterCanvas" | "accompanyingCanvas" | "placeholderCanvas" | "navDate" | "language";

@@ -474,3 +475,3 @@ export type AnnotationCollectionOmittedLinking = "services" | "partOf" | "start" | "supplementary";

}
export type AnnotationPageOmittedTechnical = "type" | "format" | "profile" | "height" | "width" | "duration" | "viewingDirection" | "timeMode";
export type AnnotationPageOmittedTechnical = "type" | "format" | "profile" | "height" | "width" | "duration" | "viewingDirection" | "timeMode" | "motivation";
export type AnnotationPageOmittedDescriptive = "posterCanvas" | "accompanyingCanvas" | "placeholderCanvas" | "navDate" | "language";

@@ -496,3 +497,3 @@ export type AnnotationPageOmittedLinking = "services" | "partOf" | "start" | "supplementary";

export declare type RangeItems = Range | Canvas | string | SpecificResource<Reference<"Canvas">>;
export type RangeOmittedTechnical = "format" | "profile" | "height" | "width" | "duration" | "timeMode";
export type RangeOmittedTechnical = "format" | "profile" | "height" | "width" | "duration" | "timeMode" | "motivation";
export type RangeOmittedDescriptive = "language";

@@ -513,3 +514,3 @@ export type RangeOmittedStructural = "structures";

export declare type CanvasItems = AnnotationPage;
export type CanvasOmittedTechnical = "format" | "profile" | "viewingDirection" | "timeMode";
export type CanvasOmittedTechnical = "format" | "profile" | "viewingDirection" | "timeMode" | "motivation";
export type CanvasOmittedDescriptive = "language";

@@ -525,3 +526,3 @@ export type CanvasOmittedLinking = "services" | "start" | "supplementary";

}
export type CanvasItemSchemas = "AnnotationPage";
export declare type CanvasItemSchemas = "AnnotationPage";
export declare type InternationalString = {

@@ -700,3 +701,3 @@ [language: string]: string[] | undefined;

export declare type W3CMotivation = "assessing" | "bookmarking" | "classifying" | "commenting" | "describing" | "editing" | "highlighting" | "identifying" | "linking" | "moderating" | "questioning" | "replying" | "tagging";
export declare type AnyMotivation = W3CMotivation | string;
export declare type AnyMotivation = LiteralUnion<W3CMotivation>;
export declare type LinkedResource = string | {

@@ -703,0 +704,0 @@ id: string;

{
"name": "@iiif/presentation-3",
"description": "IIIF Presentation v3.0 typescript types",
"version": "2.0.0",
"version": "2.0.1",
"source": "index.js",

@@ -6,0 +6,0 @@ "types": "dist/presentation-3.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc