all files / src/ DefaultConfig.js

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76                                                                                                                                                   
'use strict';
 
var defaultConfig = {
	librarySettings: {},
	baseApiUrl: 'https://api.zotero.org',
	baseWebsiteUrl: 'https://zotero.org',
	baseFeedUrl: 'https://api.zotero.org',
	baseZoteroWebsiteUrl: 'https://www.zotero.org',
	baseDownloadUrl: 'https://www.zotero.org',
	nonparsedBaseUrl: '',
	debugLogEndpoint: '',
	storeDebug: true,
	directDownloads: true,
	proxyPath: '/proxyrequest',
	ignoreLoggedInStatus: false,
	storePrefsRemote: true,
	preferUrlItem: true,
	sessionAuth: false,
	proxy: false,
	apiKey: '',
	apiVersion: 3,
	locale: 'en-US',
	cacheStoreType: 'localStorage',
	preloadCachedLibrary: true,
	sortOrdering: {
		'dateAdded': 'desc',
		'dateModified': 'desc',
		'date': 'desc',
		'year': 'desc',
		'accessDate': 'desc',
		'title': 'asc',
		'creator': 'asc'
	},
	defaultSortColumn: 'title',
	defaultSortOrder: 'asc',
	largeFields: {
		'title': 1,
		'abstractNote': 1,
		'extra' : 1
	},
	richTextFields: {
		'note': 1
	},
	maxFieldSummaryLength: {title:60},
	exportFormats: [
		'bibtex',
		'bookmarks',
		'mods',
		'refer',
		'rdf_bibliontology',
		'rdf_dc',
		'rdf_zotero',
		'ris',
		'wikipedia'
		],
	exportFormatsMap: {
		'bibtex': 'BibTeX',
		'bookmarks': 'Bookmarks',
		'mods': 'MODS',
		'refer': 'Refer/BibIX',
		'rdf_bibliontology': 'Bibliontology RDF',
		'rdf_dc': 'Unqualified Dublin Core RDF',
		'rdf_zotero': 'Zotero RDF',
		'ris': 'RIS',
		'wikipedia': 'Wikipedia Citation Templates'
	},
	defaultApiArgs: {
		'order': 'title',
		'sort': 'asc',
		'limit': 50,
		'start': 0
	}
};
 
module.exports = defaultConfig;