zotero-ts-api
Version:
A TypeScript API wrapper for Zotero
79 lines • 1.64 kB
TypeScript
export declare const mockLibraryData: {
id: number;
name: string;
type: string;
description: string;
};
export declare const mockItemData: {
key: string;
version: number;
title: string;
itemType: string;
creators: {
creatorType: string;
firstName: string;
lastName: string;
}[];
tags: {
tag: string;
}[];
collections: string[];
url: string;
abstractNote: string;
date: string;
language: string;
relations: {};
};
export declare const mockCollectionData: {
key: string;
version: number;
name: string;
parentCollection: undefined;
};
export declare const mockZoteroAPIResponse: {
data: {
key: string;
version: number;
title: string;
itemType: string;
creators: {
creatorType: string;
firstName: string;
lastName: string;
}[];
tags: {
tag: string;
}[];
collections: string[];
url: string;
abstractNote: string;
date: string;
language: string;
relations: {};
};
key: string;
version: number;
library: {
type: "user";
id: number;
name: string;
links: {
alternate: {
href: string;
type: string;
};
};
};
links: {
self: {
href: string;
type: string;
};
alternate: {
href: string;
type: string;
};
};
meta: {};
};
//# sourceMappingURL=zotero-responses.d.ts.map