Skip to content

Commit

Permalink
built the modules with new code
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmarchetti committed May 28, 2024
1 parent 037c61f commit f160629
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 4 deletions.
11 changes: 11 additions & 0 deletions dist-commonjs/ManifestResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ export declare class ManifestResource extends JSONLDResource {
options: IManifestoOptions;
constructor(jsonld: any, options?: IManifestoOptions);
getIIIFResourceType(): IIIFResourceType;
/**
* returns the PropertyValue which in turn allows a language-specific string
* encoded in the json as the "label" property
* @example
* var label = manifest.getLabel().getValue(); // returns the string for default locale
*
* @example
* var label = manifest.getLabel().getValue(locale); // locale a string , examples
* // would be "fr", "en-US",
**/
getLabel(): PropertyValue;
getSummary(): PropertyValue;
getDefaultLabel(): string | null;
getMetadata(): LabelValuePair[];
getRendering(format: RenderingFormat): Rendering | null;
Expand Down
17 changes: 17 additions & 0 deletions dist-commonjs/ManifestResource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist-commonjs/ManifestResource.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions dist-esmodule/ManifestResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ export declare class ManifestResource extends JSONLDResource {
options: IManifestoOptions;
constructor(jsonld: any, options?: IManifestoOptions);
getIIIFResourceType(): IIIFResourceType;
/**
* returns the PropertyValue which in turn allows a language-specific string
* encoded in the json as the "label" property
* @example
* var label = manifest.getLabel().getValue(); // returns the string for default locale
*
* @example
* var label = manifest.getLabel().getValue(locale); // locale a string , examples
* // would be "fr", "en-US",
**/
getLabel(): PropertyValue;
getSummary(): PropertyValue;
getDefaultLabel(): string | null;
getMetadata(): LabelValuePair[];
getRendering(format: RenderingFormat): Rendering | null;
Expand Down
17 changes: 17 additions & 0 deletions dist-esmodule/ManifestResource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist-esmodule/ManifestResource.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist-umd/manifesto.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist-var/manifesto.js

Large diffs are not rendered by default.

Loading

0 comments on commit f160629

Please sign in to comment.