
New localDbSvc.getWorkspaceItems method used to export workspaces. Added offline availability in the workspace management modal. New accordion in the badge management modal. Add badge creation checks in unit tests.
28 lines
551 B
JavaScript
28 lines
551 B
JavaScript
const origin = `${window.location.protocol}//${window.location.host}`;
|
|
|
|
export default {
|
|
cleanTrashAfter: 7 * 24 * 60 * 60 * 1000, // 7 days
|
|
origin,
|
|
oauth2RedirectUri: `${origin}/oauth2/callback`,
|
|
types: [
|
|
'contentState',
|
|
'syncedContent',
|
|
'content',
|
|
'file',
|
|
'folder',
|
|
'syncLocation',
|
|
'publishLocation',
|
|
'data',
|
|
],
|
|
localStorageDataIds: [
|
|
'workspaces',
|
|
'settings',
|
|
'layoutSettings',
|
|
'tokens',
|
|
'badgeCreations',
|
|
'serverConf',
|
|
],
|
|
textMaxLength: 250000,
|
|
defaultName: 'Untitled',
|
|
};
|