@internetarchive/ia-item-navigator 1.0.3 → 1.0.4-a1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/src/item-navigator.d.ts +1 -1
- package/dist/src/item-navigator.js +1 -1
- package/dist/src/item-navigator.js.map +1 -1
- package/dist/src/menu-slider/ia-menu-slider.d.ts +30 -0
- package/dist/src/menu-slider/ia-menu-slider.js +160 -0
- package/dist/src/menu-slider/ia-menu-slider.js.map +1 -0
- package/dist/src/menu-slider/menu-button.d.ts +19 -0
- package/dist/src/menu-slider/menu-button.js +91 -0
- package/dist/src/menu-slider/menu-button.js.map +1 -0
- package/dist/src/menu-slider/styles/menu-button.d.ts +2 -0
- package/dist/src/menu-slider/styles/menu-button.js +79 -0
- package/dist/src/menu-slider/styles/menu-button.js.map +1 -0
- package/dist/src/menu-slider/styles/menu-slider.d.ts +2 -0
- package/dist/src/menu-slider/styles/menu-slider.js +129 -0
- package/dist/src/menu-slider/styles/menu-slider.js.map +1 -0
- package/index.ts +2 -0
- package/package.json +3 -3
- package/src/item-navigator.ts +2 -2
- package/src/menu-slider/ia-menu-slider.ts +161 -0
- package/src/menu-slider/menu-button.ts +80 -0
- package/src/menu-slider/styles/menu-button.ts +79 -0
- package/src/menu-slider/styles/menu-slider.ts +130 -0
- package/test/ia-menu-slider.test.js +273 -0
- package/dist/src/event-interfaces.d.ts +0 -37
- package/dist/src/event-interfaces.js +0 -2
- package/dist/src/event-interfaces.js.map +0 -1
- package/dist/src/grouped-files-provider.d.ts +0 -0
- package/dist/src/grouped-files-provider.js +0 -2
- package/dist/src/grouped-files-provider.js.map +0 -1
- package/dist/src/interfaces/nav-controller-interface.d.ts +0 -20
- package/dist/src/interfaces/nav-controller-interface.js +0 -2
- package/dist/src/interfaces/nav-controller-interface.js.map +0 -1
- package/dist/src/item-inspector/files-by-type/files-by-type-provider.d.ts +0 -14
- package/dist/src/item-inspector/files-by-type/files-by-type-provider.js +0 -29
- package/dist/src/item-inspector/files-by-type/files-by-type-provider.js.map +0 -1
- package/dist/src/item-inspector/files-by-type/ia-files-by-type.d.ts +0 -16
- package/dist/src/item-inspector/files-by-type/ia-files-by-type.js +0 -95
- package/dist/src/item-inspector/files-by-type/ia-files-by-type.js.map +0 -1
- package/dist/src/item-inspector/files-by-type/ia-grouped-files-by-type.d.ts +0 -0
- package/dist/src/item-inspector/files-by-type/ia-grouped-files-by-type.js +0 -2
- package/dist/src/item-inspector/files-by-type/ia-grouped-files-by-type.js.map +0 -1
- package/dist/src/item-inspector/grouped-files/files-by-type-provider.d.ts +0 -15
- package/dist/src/item-inspector/grouped-files/files-by-type-provider.js +0 -33
- package/dist/src/item-inspector/grouped-files/files-by-type-provider.js.map +0 -1
- package/dist/src/item-inspector/grouped-files/grouped-files-provider.d.ts +0 -15
- package/dist/src/item-inspector/grouped-files/grouped-files-provider.js +0 -33
- package/dist/src/item-inspector/grouped-files/grouped-files-provider.js.map +0 -1
- package/dist/src/item-inspector/grouped-files/ia-grouped-files-by-type.d.ts +0 -0
- package/dist/src/item-inspector/grouped-files/ia-grouped-files-by-type.js +0 -2
- package/dist/src/item-inspector/grouped-files/ia-grouped-files-by-type.js.map +0 -1
- package/dist/src/item-inspector/grouped-files/ia-grouped-files.d.ts +0 -0
- package/dist/src/item-inspector/grouped-files/ia-grouped-files.js +0 -2
- package/dist/src/item-inspector/grouped-files/ia-grouped-files.js.map +0 -1
- package/dist/src/item-inspector/grouped-files-provider.d.ts +0 -15
- package/dist/src/item-inspector/grouped-files-provider.js +0 -33
- package/dist/src/item-inspector/grouped-files-provider.js.map +0 -1
- package/dist/src/item-inspector/item-inspector.d.ts +0 -0
- package/dist/src/item-inspector/item-inspector.js +0 -254
- package/dist/src/item-inspector/item-inspector.js.map +0 -1
- package/dist/src/item-inspector/share-provider.d.ts +0 -15
- package/dist/src/item-inspector/share-provider.js +0 -35
- package/dist/src/item-inspector/share-provider.js.map +0 -1
- package/dist/src/item-inspector/visual-mod-provider.d.ts +0 -19
- package/dist/src/item-inspector/visual-mod-provider.js +0 -46
- package/dist/src/item-inspector/visual-mod-provider.js.map +0 -1
- package/dist/src/item-inspector.d.ts +0 -24
- package/dist/src/item-inspector.js +0 -92
- package/dist/src/item-inspector.js.map +0 -1
- package/dist/src/menu-interfaces.d.ts +0 -16
- package/dist/src/menu-interfaces.js +0 -2
- package/dist/src/menu-interfaces.js.map +0 -1
- package/dist/src/nav-controller-interface.d.ts +0 -9
- package/dist/src/nav-controller-interface.js +0 -2
- package/dist/src/nav-controller-interface.js.map +0 -1
- package/dist/src/your-webcomponent.d.ts +0 -8
- package/dist/src/your-webcomponent.js +0 -37
- package/dist/src/your-webcomponent.js.map +0 -1
- package/dist/test/book-nav-stub.d.ts +0 -22
- package/dist/test/book-nav-stub.js +0 -49
- package/dist/test/book-nav-stub.js.map +0 -1
- package/dist/test/ia-stub-goody.d.ts +0 -210
- package/dist/test/ia-stub-goody.js +0 -276
- package/dist/test/ia-stub-goody.js.map +0 -1
- package/dist/test/your-webcomponent.test.d.ts +0 -0
- package/dist/test/your-webcomponent.test.js +0 -33
- package/dist/test/your-webcomponent.test.js.map +0 -1
@@ -1,16 +0,0 @@
|
|
1
|
-
import { TemplateResult } from "lit-html";
|
2
|
-
export interface IntMenuShortcut {
|
3
|
-
icon: TemplateResult;
|
4
|
-
id: string;
|
5
|
-
}
|
6
|
-
export interface IntMenuIconAndDetails extends IntMenuShortcut {
|
7
|
-
icon: TemplateResult;
|
8
|
-
id: string;
|
9
|
-
label: string;
|
10
|
-
menuDetails: TemplateResult;
|
11
|
-
selected: boolean;
|
12
|
-
followable: boolean;
|
13
|
-
href: string;
|
14
|
-
}
|
15
|
-
export interface IntMenuProvider extends IntMenuIconAndDetails {
|
16
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"menu-interfaces.js","sourceRoot":"","sources":["../../src/menu-interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import { TemplateResult } from \"lit-html\";\n\nexport interface IntMenuShortcut {\n icon: TemplateResult;\n id: string;\n}\n\nexport interface IntMenuIconAndDetails extends IntMenuShortcut {\n icon: TemplateResult;\n id: string;\n label: string;\n menuDetails: TemplateResult;\n selected: boolean;\n followable: boolean;\n href: string;\n}\n\nexport interface IntMenuProvider extends IntMenuIconAndDetails {\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"nav-controller-interface.js","sourceRoot":"","sources":["../../src/nav-controller-interface.ts"],"names":[],"mappings":"","sourcesContent":["import { property, LitElement } from \"lit-element\";\nimport { nothing, TemplateResult } from 'lit-html';\n\nexport interface NavControllerInterface extends LitElement {\n baseHost: string;\n signedIn: boolean;\n \n}\n\nexport interface BookNavInterface extends NavControllerInterface {\n baseHost: string;\n signedIn: boolean;\n \n}"]}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { html, css, LitElement, property, customElement } from 'lit-element';
|
3
|
-
let YourWebComponent = class YourWebComponent extends LitElement {
|
4
|
-
constructor() {
|
5
|
-
super(...arguments);
|
6
|
-
this.title = 'Hey there';
|
7
|
-
this.counter = 5;
|
8
|
-
}
|
9
|
-
increment() {
|
10
|
-
this.counter += 1;
|
11
|
-
}
|
12
|
-
render() {
|
13
|
-
return html `
|
14
|
-
<h2>${this.title}, Number: ${this.counter}!</h2>
|
15
|
-
<button @click=${this.increment}>increment</button>
|
16
|
-
<slot name="my-slot"> </slot>
|
17
|
-
`;
|
18
|
-
}
|
19
|
-
};
|
20
|
-
YourWebComponent.styles = css `
|
21
|
-
:host {
|
22
|
-
display: block;
|
23
|
-
padding: 25px;
|
24
|
-
color: var(--your-webcomponent-text-color, #000);
|
25
|
-
}
|
26
|
-
`;
|
27
|
-
__decorate([
|
28
|
-
property({ type: String })
|
29
|
-
], YourWebComponent.prototype, "title", void 0);
|
30
|
-
__decorate([
|
31
|
-
property({ type: Number })
|
32
|
-
], YourWebComponent.prototype, "counter", void 0);
|
33
|
-
YourWebComponent = __decorate([
|
34
|
-
customElement('your-webcomponent')
|
35
|
-
], YourWebComponent);
|
36
|
-
export { YourWebComponent };
|
37
|
-
//# sourceMappingURL=your-webcomponent.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"your-webcomponent.js","sourceRoot":"","sources":["../../src/your-webcomponent.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG7E,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,UAAU;IAAhD;;QAC8B,UAAK,GAAG,WAAW,CAAC;QAEpB,YAAO,GAAG,CAAC,CAAC;IAqB1C,CAAC;IAnBS,SAAS;QACf,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;IACpB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA;YACH,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,OAAO;uBACxB,IAAI,CAAC,SAAS;;KAEhC,CAAC;IACJ,CAAC;CASF,CAAA;AAPQ,uBAAM,GAAG,GAAG,CAAA;;;;;;GAMlB,CAAC;AAtB0B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAqB;AAEpB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iDAAa;AAH7B,gBAAgB;IAD5B,aAAa,CAAC,mBAAmB,CAAC;GACtB,gBAAgB,CAwB5B;SAxBY,gBAAgB","sourcesContent":["import { html, css, LitElement, property, customElement } from 'lit-element';\n\n@customElement('your-webcomponent')\nexport class YourWebComponent extends LitElement {\n @property({ type: String }) title = 'Hey there';\n\n @property({ type: Number }) counter = 5;\n\n private increment() {\n this.counter += 1;\n }\n\n render() {\n return html`\n <h2>${this.title}, Number: ${this.counter}!</h2>\n <button @click=${this.increment}>increment</button>\n <slot name=\"my-slot\"> </slot>\n `;\n }\n\n static styles = css`\n :host {\n display: block;\n padding: 25px;\n color: var(--your-webcomponent-text-color, #000);\n }\n `;\n}\n"]}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { ModalManager } from '@internetarchive/modal-manager';
|
2
|
-
import { SharedResizeObserver } from '@internetarchive/shared-resize-observer';
|
3
|
-
import { LitElement } from 'lit-element';
|
4
|
-
import { MetadataResponse } from '@internetarchive/search-service';
|
5
|
-
import { MenuProviderInterface, MenuShortcutInterface } from '../src/interfaces/menu-interfaces';
|
6
|
-
import { CustomTheaterInterface } from '../src/interfaces/custom-theater-interface';
|
7
|
-
export declare class BookNavigator extends LitElement implements CustomTheaterInterface {
|
8
|
-
modal?: ModalManager;
|
9
|
-
itemMD?: MetadataResponse;
|
10
|
-
baseHost?: string;
|
11
|
-
signedIn?: boolean | null;
|
12
|
-
sideMenuOpen: boolean;
|
13
|
-
sharedObserver?: SharedResizeObserver;
|
14
|
-
menuProviders?: MenuProviderInterface[];
|
15
|
-
menuShortcuts?: MenuShortcutInterface[];
|
16
|
-
emitLoadingStatusUpdate(): void;
|
17
|
-
addMenuShortcut(menuId: string): string;
|
18
|
-
removeMenuShortcut(menuId: string): string;
|
19
|
-
sortMenuShortcuts(): void;
|
20
|
-
emitMenuShortcutsUpdated(): void;
|
21
|
-
render(): import("lit-element").TemplateResult;
|
22
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import { html, customElement, LitElement, property } from 'lit-element';
|
3
|
-
let BookNavigator = class BookNavigator extends LitElement {
|
4
|
-
constructor() {
|
5
|
-
super(...arguments);
|
6
|
-
this.signedIn = null;
|
7
|
-
}
|
8
|
-
emitLoadingStatusUpdate() { }
|
9
|
-
addMenuShortcut(menuId) {
|
10
|
-
return menuId;
|
11
|
-
}
|
12
|
-
removeMenuShortcut(menuId) {
|
13
|
-
return menuId;
|
14
|
-
}
|
15
|
-
sortMenuShortcuts() { }
|
16
|
-
emitMenuShortcutsUpdated() { }
|
17
|
-
render() {
|
18
|
-
return html ` <p>foo</p> `;
|
19
|
-
}
|
20
|
-
};
|
21
|
-
__decorate([
|
22
|
-
property({ attribute: false })
|
23
|
-
], BookNavigator.prototype, "modal", void 0);
|
24
|
-
__decorate([
|
25
|
-
property({ type: Object })
|
26
|
-
], BookNavigator.prototype, "itemMD", void 0);
|
27
|
-
__decorate([
|
28
|
-
property({ type: String })
|
29
|
-
], BookNavigator.prototype, "baseHost", void 0);
|
30
|
-
__decorate([
|
31
|
-
property({ type: Boolean, reflect: true })
|
32
|
-
], BookNavigator.prototype, "signedIn", void 0);
|
33
|
-
__decorate([
|
34
|
-
property({ type: Boolean })
|
35
|
-
], BookNavigator.prototype, "sideMenuOpen", void 0);
|
36
|
-
__decorate([
|
37
|
-
property({ attribute: false })
|
38
|
-
], BookNavigator.prototype, "sharedObserver", void 0);
|
39
|
-
__decorate([
|
40
|
-
property({ type: Array })
|
41
|
-
], BookNavigator.prototype, "menuProviders", void 0);
|
42
|
-
__decorate([
|
43
|
-
property({ type: Array })
|
44
|
-
], BookNavigator.prototype, "menuShortcuts", void 0);
|
45
|
-
BookNavigator = __decorate([
|
46
|
-
customElement('book-navigator')
|
47
|
-
], BookNavigator);
|
48
|
-
export { BookNavigator };
|
49
|
-
//# sourceMappingURL=book-nav-stub.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"book-nav-stub.js","sourceRoot":"","sources":["../../test/book-nav-stub.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQxE,IAAa,aAAa,GAA1B,MAAa,aACX,SAAQ,UAAU;IADpB;;QAS8C,aAAQ,GAAoB,IAAI,CAAC;IA2B/E,CAAC;IAjBC,uBAAuB,KAAI,CAAC;IAE5B,eAAe,CAAC,MAAc;QAC5B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,kBAAkB,CAAC,MAAc;QAC/B,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,iBAAiB,KAAI,CAAC;IAEtB,wBAAwB,KAAI,CAAC;IAE7B,MAAM;QACJ,OAAO,IAAI,CAAA,cAAc,CAAC;IAC5B,CAAC;CACF,CAAA;AAjCiC;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;4CAAsB;AAEzB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAA2B;AAE1B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAmB;AAEF;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAAkC;AAEhD;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;mDAAwB;AAEpB;IAA/B,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;qDAAuC;AAE3C;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;oDAAyC;AAExC;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;oDAAyC;AAjBxD,aAAa;IADzB,aAAa,CAAC,gBAAgB,CAAC;GACnB,aAAa,CAoCzB;SApCY,aAAa","sourcesContent":["import { ModalManager } from '@internetarchive/modal-manager';\nimport { SharedResizeObserver } from '@internetarchive/shared-resize-observer';\nimport { html, customElement, LitElement, property } from 'lit-element';\nimport { MetadataResponse } from '@internetarchive/search-service';\nimport {\n MenuProviderInterface,\n MenuShortcutInterface,\n} from '../src/interfaces/menu-interfaces';\nimport { CustomTheaterInterface } from '../src/interfaces/custom-theater-interface';\n@customElement('book-navigator')\nexport class BookNavigator\n extends LitElement\n implements CustomTheaterInterface {\n @property({ attribute: false }) modal?: ModalManager;\n\n @property({ type: Object }) itemMD?: MetadataResponse;\n\n @property({ type: String }) baseHost?: string;\n\n @property({ type: Boolean, reflect: true }) signedIn?: boolean | null = null;\n\n @property({ type: Boolean }) sideMenuOpen!: boolean;\n\n @property({ attribute: false }) sharedObserver?: SharedResizeObserver;\n\n @property({ type: Array }) menuProviders?: MenuProviderInterface[];\n\n @property({ type: Array }) menuShortcuts?: MenuShortcutInterface[];\n\n emitLoadingStatusUpdate() {}\n\n addMenuShortcut(menuId: string) {\n return menuId;\n }\n\n removeMenuShortcut(menuId: string) {\n return menuId;\n }\n\n sortMenuShortcuts() {}\n\n emitMenuShortcutsUpdated() {}\n\n render() {\n return html` <p>foo</p> `;\n }\n}\n"]}
|
@@ -1,210 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
rawResponse: {
|
3
|
-
created: number;
|
4
|
-
d1: string;
|
5
|
-
d2: string;
|
6
|
-
dir: string;
|
7
|
-
files: ({
|
8
|
-
name: string;
|
9
|
-
source: string;
|
10
|
-
mtime: string;
|
11
|
-
size: string;
|
12
|
-
md5: string;
|
13
|
-
crc32: string;
|
14
|
-
sha1: string;
|
15
|
-
format: string;
|
16
|
-
rotation: string;
|
17
|
-
original?: undefined;
|
18
|
-
btih?: undefined;
|
19
|
-
summation?: undefined;
|
20
|
-
} | {
|
21
|
-
name: string;
|
22
|
-
source: string;
|
23
|
-
format: string;
|
24
|
-
original: string;
|
25
|
-
mtime: string;
|
26
|
-
size: string;
|
27
|
-
md5: string;
|
28
|
-
crc32: string;
|
29
|
-
sha1: string;
|
30
|
-
rotation?: undefined;
|
31
|
-
btih?: undefined;
|
32
|
-
summation?: undefined;
|
33
|
-
} | {
|
34
|
-
name: string;
|
35
|
-
source: string;
|
36
|
-
btih: string;
|
37
|
-
mtime: string;
|
38
|
-
size: string;
|
39
|
-
md5: string;
|
40
|
-
crc32: string;
|
41
|
-
sha1: string;
|
42
|
-
format: string;
|
43
|
-
rotation?: undefined;
|
44
|
-
original?: undefined;
|
45
|
-
summation?: undefined;
|
46
|
-
} | {
|
47
|
-
name: string;
|
48
|
-
source: string;
|
49
|
-
format: string;
|
50
|
-
md5: string;
|
51
|
-
summation: string;
|
52
|
-
mtime?: undefined;
|
53
|
-
size?: undefined;
|
54
|
-
crc32?: undefined;
|
55
|
-
sha1?: undefined;
|
56
|
-
rotation?: undefined;
|
57
|
-
original?: undefined;
|
58
|
-
btih?: undefined;
|
59
|
-
} | {
|
60
|
-
name: string;
|
61
|
-
source: string;
|
62
|
-
mtime: string;
|
63
|
-
size: string;
|
64
|
-
md5: string;
|
65
|
-
crc32: string;
|
66
|
-
sha1: string;
|
67
|
-
format: string;
|
68
|
-
rotation?: undefined;
|
69
|
-
original?: undefined;
|
70
|
-
btih?: undefined;
|
71
|
-
summation?: undefined;
|
72
|
-
})[];
|
73
|
-
files_count: number;
|
74
|
-
item_last_updated: number;
|
75
|
-
item_size: number;
|
76
|
-
metadata: {
|
77
|
-
identifier: string;
|
78
|
-
mediatype: string;
|
79
|
-
collection: string[];
|
80
|
-
description: string;
|
81
|
-
scanner: string;
|
82
|
-
subject: string;
|
83
|
-
title: string;
|
84
|
-
uploader: string;
|
85
|
-
publicdate: string;
|
86
|
-
addeddate: string;
|
87
|
-
curation: string;
|
88
|
-
};
|
89
|
-
server: string;
|
90
|
-
uniq: number;
|
91
|
-
workable_servers: string[];
|
92
|
-
};
|
93
|
-
created: number;
|
94
|
-
d1: string;
|
95
|
-
d2: string;
|
96
|
-
dir: string;
|
97
|
-
files: ({
|
98
|
-
name: string;
|
99
|
-
source: string;
|
100
|
-
md5: string;
|
101
|
-
format: string;
|
102
|
-
mtime: string;
|
103
|
-
crc32: string;
|
104
|
-
sha1: string;
|
105
|
-
size: number;
|
106
|
-
original?: undefined;
|
107
|
-
btih?: undefined;
|
108
|
-
} | {
|
109
|
-
name: string;
|
110
|
-
source: string;
|
111
|
-
md5: string;
|
112
|
-
format: string;
|
113
|
-
mtime: string;
|
114
|
-
crc32: string;
|
115
|
-
sha1: string;
|
116
|
-
original: string;
|
117
|
-
size: number;
|
118
|
-
btih?: undefined;
|
119
|
-
} | {
|
120
|
-
name: string;
|
121
|
-
source: string;
|
122
|
-
btih: string;
|
123
|
-
md5: string;
|
124
|
-
format: string;
|
125
|
-
mtime: string;
|
126
|
-
crc32: string;
|
127
|
-
sha1: string;
|
128
|
-
size: number;
|
129
|
-
original?: undefined;
|
130
|
-
} | {
|
131
|
-
name: string;
|
132
|
-
source: string;
|
133
|
-
md5: string;
|
134
|
-
format: string;
|
135
|
-
mtime?: undefined;
|
136
|
-
crc32?: undefined;
|
137
|
-
sha1?: undefined;
|
138
|
-
size?: undefined;
|
139
|
-
original?: undefined;
|
140
|
-
btih?: undefined;
|
141
|
-
})[];
|
142
|
-
files_count: number;
|
143
|
-
item_last_updated: number;
|
144
|
-
item_size: number;
|
145
|
-
metadata: {
|
146
|
-
rawMetadata: {
|
147
|
-
identifier: string;
|
148
|
-
mediatype: string;
|
149
|
-
collection: string[];
|
150
|
-
description: string;
|
151
|
-
scanner: string;
|
152
|
-
subject: string;
|
153
|
-
title: string;
|
154
|
-
uploader: string;
|
155
|
-
publicdate: string;
|
156
|
-
addeddate: string;
|
157
|
-
curation: string;
|
158
|
-
};
|
159
|
-
identifier: string;
|
160
|
-
addeddate: {
|
161
|
-
values: string[];
|
162
|
-
parser: {};
|
163
|
-
rawValue: string;
|
164
|
-
};
|
165
|
-
publicdate: {
|
166
|
-
values: string[];
|
167
|
-
parser: {};
|
168
|
-
rawValue: string;
|
169
|
-
};
|
170
|
-
collection: {
|
171
|
-
values: string[];
|
172
|
-
parser: {};
|
173
|
-
rawValue: string[];
|
174
|
-
};
|
175
|
-
description: {
|
176
|
-
values: string[];
|
177
|
-
parser: {};
|
178
|
-
rawValue: string;
|
179
|
-
};
|
180
|
-
mediatype: {
|
181
|
-
values: string[];
|
182
|
-
parser: {};
|
183
|
-
rawValue: string;
|
184
|
-
};
|
185
|
-
scanner: {
|
186
|
-
values: string[];
|
187
|
-
parser: {};
|
188
|
-
rawValue: string;
|
189
|
-
};
|
190
|
-
subject: {
|
191
|
-
values: string[];
|
192
|
-
parser: {};
|
193
|
-
rawValue: string;
|
194
|
-
};
|
195
|
-
title: {
|
196
|
-
values: string[];
|
197
|
-
parser: {};
|
198
|
-
rawValue: string;
|
199
|
-
};
|
200
|
-
uploader: {
|
201
|
-
values: string[];
|
202
|
-
parser: {};
|
203
|
-
rawValue: string;
|
204
|
-
};
|
205
|
-
};
|
206
|
-
server: string;
|
207
|
-
uniq: number;
|
208
|
-
workable_servers: string[];
|
209
|
-
};
|
210
|
-
export default _default;
|