@datarailsshared/dr_renderer 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,127 @@
1
+ [{
2
+ "id": 2,
3
+ "name": "New Dynamic Range",
4
+ "fields": [
5
+ {
6
+ "field": 161918,
7
+ "name": "Account level 1",
8
+ "format": null,
9
+ "sorting": null,
10
+ "type": "Text"
11
+ },
12
+ {
13
+ "field": 161919,
14
+ "name": "Account level 2",
15
+ "format": null,
16
+ "sorting": null,
17
+ "type": "Text"
18
+ },
19
+ {
20
+ "field": 161917,
21
+ "name": "Account Name",
22
+ "format": null,
23
+ "sorting": null,
24
+ "type": "Text"
25
+ },
26
+ {
27
+ "field": 161925,
28
+ "name": "Amount",
29
+ "format": null,
30
+ "sorting": null,
31
+ "type": "Float"
32
+ },
33
+ {
34
+ "field": 161924,
35
+ "name": "Reporting Date",
36
+ "format": null,
37
+ "sorting": null,
38
+ "type": "Date"
39
+ },
40
+ {
41
+ "field": 161928,
42
+ "name": "System_Date",
43
+ "format": null,
44
+ "sorting": null,
45
+ "type": "Date"
46
+ }
47
+ ],
48
+ "filters": [
49
+ {
50
+ "field": 161918,
51
+ "name": "Account level 1",
52
+ "values": [
53
+ "Expenses",
54
+ "Income"
55
+ ],
56
+ "is_excluded": false,
57
+ "type": "Text",
58
+ "override_global_filter": false
59
+ },
60
+ {
61
+ "field": 161919,
62
+ "name": "Account level 2",
63
+ "values": [
64
+ "Auto"
65
+ ],
66
+ "is_excluded": true,
67
+ "type": "Text",
68
+ "override_global_filter": false
69
+ },
70
+ {
71
+ "field": 161917,
72
+ "name": "Account Name",
73
+ "values": {
74
+ "type": "advanced",
75
+ "val": [
76
+ {
77
+ "operator": null,
78
+ "condition": "contains",
79
+ "value": "a"
80
+ }
81
+ ]
82
+ },
83
+ "is_excluded": false,
84
+ "type": "Text",
85
+ "override_global_filter": false
86
+ },
87
+ {
88
+ "field": 161924,
89
+ "name": "Reporting Date",
90
+ "values": [
91
+ 1646006400,
92
+ 1643587200
93
+ ],
94
+ "is_excluded": false,
95
+ "type": "Date",
96
+ "override_global_filter": false
97
+ },
98
+ {
99
+ "field": 161928,
100
+ "name": "System_Date",
101
+ "values": {
102
+ "datetype": "list",
103
+ "val": [
104
+ 1677542400
105
+ ]
106
+ },
107
+ "is_excluded": true,
108
+ "type": "Date",
109
+ "override_global_filter": false
110
+ },
111
+ {
112
+ "field": 161923,
113
+ "name": "Posting Date",
114
+ "values": {
115
+ "datetype": "range",
116
+ "val": {
117
+ "fromdate": 1641859200,
118
+ "todate": 1653696000
119
+ }
120
+ },
121
+ "is_excluded": false,
122
+ "type": "Date",
123
+ "override_global_filter": false
124
+ }
125
+ ],
126
+ "table_id": 7199
127
+ }]
@@ -0,0 +1,410 @@
1
+ [
2
+ {
3
+ "id": 171,
4
+ "name": "Unit_tests_function",
5
+ "value_field": 161925,
6
+ "aggfun": "SUM",
7
+ "template_id": 7199,
8
+ "filters": [
9
+ {
10
+ "field": 161918,
11
+ "name": "Account level 1",
12
+ "values": [
13
+ "Expenses",
14
+ "Income"
15
+ ],
16
+ "is_excluded": false,
17
+ "show_in_graph": true,
18
+ "type": "Text",
19
+ "override_global_filter": true
20
+ },
21
+ {
22
+ "field": 161919,
23
+ "name": "Account level 2",
24
+ "values": {
25
+ "type": "advanced",
26
+ "val": [
27
+ {
28
+ "operator": null,
29
+ "condition": "contains",
30
+ "value": "a"
31
+ }
32
+ ]
33
+ },
34
+ "is_excluded": false,
35
+ "show_in_graph": false,
36
+ "type": "Text",
37
+ "override_global_filter": false
38
+ },
39
+ {
40
+ "field": 161923,
41
+ "name": "Posting Date",
42
+ "values": [
43
+ 1653696000,
44
+ 1653350400,
45
+ 1645660800
46
+ ],
47
+ "is_excluded": false,
48
+ "show_in_graph": false,
49
+ "type": "Date",
50
+ "override_global_filter": false
51
+ },
52
+ {
53
+ "field": 161924,
54
+ "name": "Reporting Date",
55
+ "values": {
56
+ "datetype": "range",
57
+ "val": {
58
+ "fromdate": 1643587200,
59
+ "todate": 1653955200
60
+ }
61
+ },
62
+ "is_excluded": false,
63
+ "show_in_graph": false,
64
+ "type": "Date",
65
+ "override_global_filter": false
66
+ },
67
+ {
68
+ "field": 161908,
69
+ "name": "Submission_Date",
70
+ "values": [
71
+ 1676200849
72
+ ],
73
+ "is_excluded": true,
74
+ "show_in_graph": false,
75
+ "type": "Date",
76
+ "override_global_filter": false
77
+ },
78
+ {
79
+ "field": 161928,
80
+ "name": "System_Date",
81
+ "values": {
82
+ "datetype": "list",
83
+ "val": [
84
+ 1677542400
85
+ ]
86
+ },
87
+ "is_excluded": true,
88
+ "type": "Date",
89
+ "override_global_filter": false
90
+ }
91
+ ],
92
+ "vals": [
93
+ {
94
+ "id": 161925,
95
+ "name": "Amount",
96
+ "type": "Float",
97
+ "aggregator": "SUM"
98
+ }
99
+ ],
100
+ "fields": [
101
+ {
102
+ "type": "Integer",
103
+ "id": 161904,
104
+ "name": "Doc_ID",
105
+ "trim": false,
106
+ "letter_case": null,
107
+ "sorting": null
108
+ },
109
+ {
110
+ "type": "Integer",
111
+ "id": 161905,
112
+ "name": "Doc_version",
113
+ "trim": false,
114
+ "letter_case": null,
115
+ "sorting": null
116
+ },
117
+ {
118
+ "type": "Text",
119
+ "id": 161906,
120
+ "name": "Tab_name",
121
+ "trim": false,
122
+ "letter_case": null,
123
+ "sorting": null
124
+ },
125
+ {
126
+ "type": "Text",
127
+ "id": 161907,
128
+ "name": "Label",
129
+ "trim": false,
130
+ "letter_case": null,
131
+ "sorting": null
132
+ },
133
+ {
134
+ "type": "Date",
135
+ "id": 161908,
136
+ "name": "Submission_Date",
137
+ "trim": false,
138
+ "letter_case": null,
139
+ "sorting": null
140
+ },
141
+ {
142
+ "type": "Text",
143
+ "id": 161909,
144
+ "name": "User",
145
+ "trim": false,
146
+ "letter_case": null,
147
+ "sorting": null
148
+ },
149
+ {
150
+ "type": "Boolean",
151
+ "id": 161910,
152
+ "name": "Latest_In_Dim",
153
+ "trim": false,
154
+ "letter_case": null,
155
+ "sorting": null
156
+ },
157
+ {
158
+ "type": "Text",
159
+ "id": 161911,
160
+ "name": "DataMapper_Name",
161
+ "trim": false,
162
+ "letter_case": null,
163
+ "sorting": null
164
+ },
165
+ {
166
+ "type": "Integer",
167
+ "id": 161912,
168
+ "name": "Parent_Id",
169
+ "trim": false,
170
+ "letter_case": null,
171
+ "sorting": null
172
+ },
173
+ {
174
+ "type": "Text",
175
+ "id": 161913,
176
+ "name": "Parent_Name",
177
+ "trim": false,
178
+ "letter_case": null,
179
+ "sorting": null
180
+ },
181
+ {
182
+ "type": "Integer",
183
+ "id": 161914,
184
+ "name": "FileBox_ID",
185
+ "trim": false,
186
+ "letter_case": null,
187
+ "sorting": null
188
+ },
189
+ {
190
+ "type": "Text",
191
+ "id": 161915,
192
+ "name": "FileBox_Name",
193
+ "trim": false,
194
+ "letter_case": null,
195
+ "sorting": null
196
+ },
197
+ {
198
+ "type": "Float",
199
+ "id": 161916,
200
+ "name": "Account #",
201
+ "trim": true,
202
+ "letter_case": null,
203
+ "sorting": null
204
+ },
205
+ {
206
+ "type": "Text",
207
+ "id": 161917,
208
+ "name": "Account Name",
209
+ "trim": true,
210
+ "letter_case": null,
211
+ "sorting": null
212
+ },
213
+ {
214
+ "type": "Text",
215
+ "id": 161918,
216
+ "name": "Account level 1",
217
+ "trim": true,
218
+ "letter_case": null,
219
+ "sorting": null
220
+ },
221
+ {
222
+ "type": "Text",
223
+ "id": 161919,
224
+ "name": "Account level 2",
225
+ "trim": true,
226
+ "letter_case": null,
227
+ "sorting": null
228
+ },
229
+ {
230
+ "type": "Text",
231
+ "id": 161920,
232
+ "name": "Department",
233
+ "trim": true,
234
+ "letter_case": null,
235
+ "sorting": null
236
+ },
237
+ {
238
+ "type": "Text",
239
+ "id": 161921,
240
+ "name": "Sub Department",
241
+ "trim": true,
242
+ "letter_case": null,
243
+ "sorting": null
244
+ },
245
+ {
246
+ "type": "Text",
247
+ "id": 161922,
248
+ "name": "Scenario",
249
+ "trim": true,
250
+ "letter_case": null,
251
+ "sorting": null
252
+ },
253
+ {
254
+ "type": "Date",
255
+ "id": 161923,
256
+ "name": "Posting Date",
257
+ "trim": true,
258
+ "letter_case": null,
259
+ "sorting": null
260
+ },
261
+ {
262
+ "type": "Date",
263
+ "id": 161924,
264
+ "name": "Reporting Date",
265
+ "trim": true,
266
+ "letter_case": null,
267
+ "sorting": null
268
+ },
269
+ {
270
+ "type": "Text",
271
+ "id": 161926,
272
+ "name": "P&L",
273
+ "trim": true,
274
+ "letter_case": null,
275
+ "sorting": null
276
+ },
277
+ {
278
+ "type": "Text",
279
+ "id": 161927,
280
+ "name": "5550",
281
+ "trim": true,
282
+ "letter_case": null,
283
+ "sorting": null
284
+ },
285
+ {
286
+ "type": "Date",
287
+ "id": 161928,
288
+ "name": "System_Date",
289
+ "trim": false,
290
+ "letter_case": null,
291
+ "sorting": null
292
+ },
293
+ {
294
+ "type": "Integer",
295
+ "id": 161929,
296
+ "name": "System_Year",
297
+ "trim": false,
298
+ "letter_case": null,
299
+ "sorting": null
300
+ },
301
+ {
302
+ "type": "Text",
303
+ "id": 161930,
304
+ "name": "System_Quarter",
305
+ "trim": false,
306
+ "letter_case": null,
307
+ "sorting": null
308
+ },
309
+ {
310
+ "type": "Text",
311
+ "id": 161931,
312
+ "name": "System_Month",
313
+ "trim": false,
314
+ "letter_case": null,
315
+ "sorting": null
316
+ },
317
+ {
318
+ "type": "Integer",
319
+ "id": 161932,
320
+ "name": "System_Month_Num",
321
+ "trim": false,
322
+ "letter_case": null,
323
+ "sorting": null
324
+ },
325
+ {
326
+ "type": "Integer",
327
+ "id": 161933,
328
+ "name": "System_Week",
329
+ "trim": false,
330
+ "letter_case": null,
331
+ "sorting": null
332
+ },
333
+ {
334
+ "type": "Integer",
335
+ "id": 161934,
336
+ "name": "System_Day",
337
+ "trim": false,
338
+ "letter_case": null,
339
+ "sorting": null
340
+ },
341
+ {
342
+ "type": "Text",
343
+ "id": 161935,
344
+ "name": "System_Date_Tag",
345
+ "trim": false,
346
+ "letter_case": null,
347
+ "sorting": null
348
+ },
349
+ {
350
+ "type": "Text",
351
+ "id": 161936,
352
+ "name": "DT_scenario",
353
+ "trim": false,
354
+ "letter_case": null,
355
+ "sorting": null
356
+ }
357
+ ],
358
+ "calculated_value_names": [],
359
+ "calculated_values": [
360
+ {
361
+ "calc_id": 23,
362
+ "name": "Test value",
363
+ "field": 161925,
364
+ "side": "legend"
365
+ }
366
+ ],
367
+ "default_agg_datefield": 161923,
368
+ "default_agg_config": {
369
+ "YTD": {
370
+ "aggregate_by": "month",
371
+ "fnc": "sum",
372
+ "is_end_of_period": true
373
+ },
374
+ "QTD": {
375
+ "aggregate_by": "month",
376
+ "fnc": "sum",
377
+ "is_end_of_period": true
378
+ },
379
+ "RM": {
380
+ "rolling_month_before": 0,
381
+ "is_end_of_period": true
382
+ },
383
+ "SA": {
384
+ "aggregate_by": "month",
385
+ "fnc": "sum",
386
+ "is_end_of_period": true
387
+ },
388
+ "YTG": {
389
+ "aggregate_by": "month",
390
+ "fnc": "sum",
391
+ "is_end_of_period": true
392
+ },
393
+ "QTG": {
394
+ "aggregate_by": "month",
395
+ "fnc": "sum",
396
+ "is_end_of_period": true
397
+ },
398
+ "MTD": {
399
+ "aggregate_by": "day",
400
+ "fnc": "sum",
401
+ "is_end_of_period": true
402
+ },
403
+ "MTG": {
404
+ "aggregate_by": "day",
405
+ "fnc": "sum",
406
+ "is_end_of_period": true
407
+ }
408
+ }
409
+ }
410
+ ]