1 | const { REQ, OPT, SKP } = require("./flags.js");
|
2 | const sections = {
|
3 | CSL: {
|
4 | processor: REQ,
|
5 | style: REQ,
|
6 | type: "xml"
|
7 | },
|
8 | KEYS: {
|
9 | processor: SKP,
|
10 | style: REQ,
|
11 | type: "json"
|
12 | },
|
13 | DESCRIPTION: {
|
14 | processor: OPT,
|
15 | style: OPT,
|
16 | type: "string"
|
17 | },
|
18 | INPUT: {
|
19 | processor: REQ,
|
20 | style: REQ,
|
21 | type: "json"
|
22 | },
|
23 | MODE: {
|
24 | processor: REQ,
|
25 | style: REQ,
|
26 | type: "string"
|
27 | },
|
28 | RESULT: {
|
29 | processor: REQ,
|
30 | style: REQ,
|
31 | type: "string"
|
32 | },
|
33 | NAME: {
|
34 | processor: REQ,
|
35 | style: REQ,
|
36 | type: "string"
|
37 | },
|
38 | PATH: {
|
39 | processor: REQ,
|
40 | style: REQ,
|
41 | type: "string"
|
42 | },
|
43 | ABBREVIATIONS: {
|
44 | processor: OPT,
|
45 | style: SKP,
|
46 | type: "json"
|
47 | },
|
48 | BIBENTRIES: {
|
49 | processor: OPT,
|
50 | style: SKP,
|
51 | type: "json"
|
52 | },
|
53 | BIBSECTION: {
|
54 | processor: OPT,
|
55 | style: SKP,
|
56 | type: "json"
|
57 | },
|
58 | "CITATION-ITEMS": {
|
59 | processor: OPT,
|
60 | style: SKP,
|
61 | type: "json"
|
62 | },
|
63 | CITATIONS: {
|
64 | processor: OPT,
|
65 | style: SKP,
|
66 | type: "json"
|
67 | },
|
68 | INPUT2: {
|
69 | processor: OPT,
|
70 | style: SKP,
|
71 | type: "json"
|
72 | },
|
73 | LANGPARAMS: {
|
74 | processor: OPT,
|
75 | style: SKP,
|
76 | type: "json"
|
77 | },
|
78 | MULTIAFFIX: {
|
79 | processor: OPT,
|
80 | style: SKP,
|
81 | type: "json"
|
82 | },
|
83 | OPTIONS: {
|
84 | processor: OPT,
|
85 | style: SKP,
|
86 | type: "json"
|
87 | },
|
88 | OPTIONZ: {
|
89 | processor: OPT,
|
90 | style: SKP,
|
91 | type: "json"
|
92 | }
|
93 | };
|
94 | module.exports = sections;
|