-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathconfig.js
41 lines (31 loc) · 1.09 KB
/
config.js
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
/* Evolutility config options */
const config = {
// - Path to GraphQL API
apiPath: "TODO: ENTER GRAPHQL API PATH HERE",
adminSecret: "TODO: ENTER ADMIN SECRET HERE",
// - prefix run app in sub-directory (also define as "homepage" in package.json)
// baseName: "/evodemo/",
// - Path to uploaded files
filesUrl: "/pix/",
// - get models from server at startup (and add/replace json models)
queryModels: false,
// - Pagination
pageSize: 50,
// - Language
locale: "en",
// - Data Caching
useCache: true,
cacheDuration: 180, // time in seconds
// - Timestamp columns updated_at and created_at w/ date of record creation and last update
withTimestamp: true,
// - "WhoIs" columns updated_by and created_by w/ userid of creator and last modifier
withWhoIs: false,
// - Track last viewed record names in localstorage
withActivity: false,
// max number of activity records tracked
activityListSize: 50,
// - Comments & Ratings (community feature)
withComments: false, // not implemented yet
withRating: false, // not implemented yet
};
export default config;