Skip to content

Commit

Permalink
fixed part of
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwf committed Oct 2, 2023
1 parent d46b5b2 commit 4594528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@iiif/presentation-3",
"description": "IIIF Presentation v3.0 typescript types",
"version": "2.1.1",
"version": "2.1.2",
"source": "index.js",
"types": "dist/presentation-3.d.ts",
"author": "Stephen Fraser <[email protected]>",
Expand Down
3 changes: 2 additions & 1 deletion src/iiif/linking.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ContentResource } from '../resources/contentResource';
import { Service } from '../resources/service';
import { Canvas } from '../resources/canvas';
import { AnnotationCollection } from '../resources/annotationCollection';
import { Reference } from '../reference';

export type LinkingProperties = {
/**
Expand Down Expand Up @@ -106,7 +107,7 @@ export type LinkingProperties = {
* * Any resource type may have the partOf property with at least one item
* * Clients may render partOf on any resource type.
*/
partOf: Array<ContentResource | Canvas | AnnotationCollection>;
partOf: Array<ContentResource | Canvas | AnnotationCollection | Reference<'Manifest'> | Reference<'Collection'>>;

/**
* A Canvas, or part of a Canvas, which the client should show on initialization for the resource that has the start
Expand Down

0 comments on commit 4594528

Please sign in to comment.