UNPKG

zotero-ts-api

Version:
61 lines 1.59 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mockZoteroAPIResponse = exports.mockCollectionData = exports.mockItemData = exports.mockLibraryData = void 0; exports.mockLibraryData = { id: 123, name: 'Test Library', type: 'user', description: 'Test library description' }; exports.mockItemData = { key: 'TESTITEM123', version: 1, title: 'Test Article', itemType: 'journalArticle', creators: [ { creatorType: 'author', firstName: 'John', lastName: 'Doe' } ], tags: [ { tag: 'science' } ], collections: ['COLLECTION123'], url: 'https://example.com', abstractNote: 'Test abstract', date: '2023-01-15', language: 'en', relations: {} }; exports.mockCollectionData = { key: 'COLLECTION123', version: 1, name: 'Test Collection', parentCollection: undefined }; exports.mockZoteroAPIResponse = { data: exports.mockItemData, key: 'TESTITEM123', version: 1, library: { type: 'user', id: 123, name: 'Test Library', links: { alternate: { href: 'https://www.zotero.org/user123', type: 'text/html' } } }, links: { self: { href: 'https://api.zotero.org/users/123/items/TESTITEM123', type: 'application/json' }, alternate: { href: 'https://www.zotero.org/user123/items/TESTITEM123', type: 'text/html' } }, meta: {} }; //# sourceMappingURL=zotero-responses.js.map