@cyberismo/assets 0.0.11 → 0.0.13
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.
- package/dist/index.js +130 -22
- package/dist/schemas.d.ts +267 -210
- package/dist/static/defaultGraphView/.schema +7 -0
- package/dist/static/defaultGraphView/parameterSchema.json +22 -0
- package/dist/static/defaultGraphView/view.lp.hbs +0 -0
- package/dist/static/defaultReport/parameterSchema.json +4 -4
- package/package.json +5 -4
- package/src/calculations/common/queryLanguage.lp +8 -1
- package/src/exportPdfReport/index.adoc.hbs +25 -6
- package/src/exportPdfReport/query.lp.hbs +112 -2
- package/src/hub/moduleList.json +34 -0
- package/src/schema/cardBaseSchema.json +6 -6
- package/src/schema/cardTreeDirectorySchema.json +179 -179
- package/src/schema/cardsConfigSchema.json +16 -4
- package/src/schema/csvSchema.json +4 -4
- package/src/schema/dotSchema.json +3 -3
- package/src/schema/hubSchema.json +58 -0
- package/src/schema/macros/createCardsMacroSchema.json +3 -3
- package/src/schema/macros/graphMacroBaseSchema.json +3 -3
- package/src/schema/macros/imageMacroSchema.json +3 -3
- package/src/schema/macros/includeMacroSchema.json +5 -5
- package/src/schema/macros/percentageMacroSchema.json +3 -3
- package/src/schema/macros/reportMacroBaseSchema.json +3 -3
- package/src/schema/macros/scoreCardMacroSchema.json +3 -3
- package/src/schema/macros/vegaLiteMacroSchema.json +8 -8
- package/src/schema/macros/vegaMacroSchema.json +10 -10
- package/src/schema/macros/xrefMacroSchema.json +3 -3
- package/src/schema/resources/cardTypeSchema.json +8 -8
- package/src/schema/resources/fieldTypeSchema.json +6 -5
- package/src/schema/resources/graphModelSchema.json +5 -5
- package/src/schema/resources/graphViewSchema.json +7 -7
- package/src/schema/resources/linkTypeSchema.json +7 -6
- package/src/schema/resources/reportSchema.json +6 -6
- package/src/schema/resources/templateSchema.json +7 -7
- package/src/schema/resources/workflowSchema.json +7 -7
- package/src/schema/schema.json +4 -4
- package/src/schemas.ts +2 -0
- package/src/static/defaultGraphView/.schema +7 -0
- package/src/static/defaultGraphView/parameterSchema.json +22 -0
- package/src/static/defaultGraphView/view.lp.hbs +0 -0
- package/src/static/defaultReport/parameterSchema.json +4 -4
- /package/{dist/THIRD-PARTY.txt → THIRD-PARTY.txt} +0 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -11,11 +11,9 @@
|
|
|
11
11
|
License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
12
12
|
*/
|
|
13
13
|
export declare const schemas: ({
|
|
14
|
-
title: string;
|
|
15
14
|
$id: string;
|
|
16
|
-
description: string;
|
|
17
|
-
type: string;
|
|
18
15
|
additionalProperties: boolean;
|
|
16
|
+
description: string;
|
|
19
17
|
properties: {
|
|
20
18
|
cardType: {
|
|
21
19
|
type: string;
|
|
@@ -85,11 +83,11 @@ export declare const schemas: ({
|
|
|
85
83
|
};
|
|
86
84
|
};
|
|
87
85
|
required: string[];
|
|
88
|
-
} | {
|
|
89
86
|
title: string;
|
|
87
|
+
type: string;
|
|
88
|
+
} | {
|
|
90
89
|
$id: string;
|
|
91
90
|
description: string;
|
|
92
|
-
type: string;
|
|
93
91
|
items: {
|
|
94
92
|
type: string;
|
|
95
93
|
additionalProperties: boolean;
|
|
@@ -114,11 +112,11 @@ export declare const schemas: ({
|
|
|
114
112
|
};
|
|
115
113
|
required: string[];
|
|
116
114
|
};
|
|
117
|
-
} | {
|
|
118
115
|
title: string;
|
|
116
|
+
type: string;
|
|
117
|
+
} | {
|
|
119
118
|
$id: string;
|
|
120
119
|
description: string;
|
|
121
|
-
type: string;
|
|
122
120
|
items: {
|
|
123
121
|
type: string;
|
|
124
122
|
additionalProperties: boolean;
|
|
@@ -138,11 +136,11 @@ export declare const schemas: ({
|
|
|
138
136
|
};
|
|
139
137
|
required: string[];
|
|
140
138
|
};
|
|
141
|
-
} | {
|
|
142
139
|
title: string;
|
|
140
|
+
type: string;
|
|
141
|
+
} | {
|
|
143
142
|
$id: string;
|
|
144
143
|
description: string;
|
|
145
|
-
type: string;
|
|
146
144
|
properties: {
|
|
147
145
|
model: {
|
|
148
146
|
description: string;
|
|
@@ -154,9 +152,68 @@ export declare const schemas: ({
|
|
|
154
152
|
};
|
|
155
153
|
};
|
|
156
154
|
required: string[];
|
|
155
|
+
title: string;
|
|
156
|
+
type: string;
|
|
157
157
|
} | {
|
|
158
|
+
$id: string;
|
|
159
|
+
additionalProperties: boolean;
|
|
160
|
+
description: string;
|
|
161
|
+
properties: {
|
|
162
|
+
displayName: {
|
|
163
|
+
description: string;
|
|
164
|
+
type: string;
|
|
165
|
+
minLength: number;
|
|
166
|
+
};
|
|
167
|
+
description: {
|
|
168
|
+
description: string;
|
|
169
|
+
type: string;
|
|
170
|
+
minLength: number;
|
|
171
|
+
};
|
|
172
|
+
modules: {
|
|
173
|
+
description: string;
|
|
174
|
+
type: string;
|
|
175
|
+
items: {
|
|
176
|
+
type: string;
|
|
177
|
+
properties: {
|
|
178
|
+
name: {
|
|
179
|
+
description: string;
|
|
180
|
+
type: string;
|
|
181
|
+
};
|
|
182
|
+
displayName: {
|
|
183
|
+
description: string;
|
|
184
|
+
type: string;
|
|
185
|
+
};
|
|
186
|
+
category: {
|
|
187
|
+
description: string;
|
|
188
|
+
type: string;
|
|
189
|
+
};
|
|
190
|
+
location: {
|
|
191
|
+
description: string;
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
documentationLocation: {
|
|
195
|
+
description: string;
|
|
196
|
+
type: string;
|
|
197
|
+
};
|
|
198
|
+
branch: {
|
|
199
|
+
description: string;
|
|
200
|
+
type: string;
|
|
201
|
+
};
|
|
202
|
+
private: {
|
|
203
|
+
description: string;
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
required: string[];
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
required: string[];
|
|
212
|
+
title: string;
|
|
158
213
|
type: string;
|
|
214
|
+
} | {
|
|
159
215
|
$id: string;
|
|
216
|
+
additionalProperties: boolean;
|
|
160
217
|
properties: {
|
|
161
218
|
title: {
|
|
162
219
|
type: string;
|
|
@@ -176,13 +233,11 @@ export declare const schemas: ({
|
|
|
176
233
|
description: string;
|
|
177
234
|
};
|
|
178
235
|
};
|
|
179
|
-
additionalProperties: boolean;
|
|
180
236
|
required: string[];
|
|
237
|
+
type: string;
|
|
181
238
|
} | {
|
|
182
|
-
title: string;
|
|
183
239
|
$id: string;
|
|
184
240
|
description: string;
|
|
185
|
-
type: string;
|
|
186
241
|
properties: {
|
|
187
242
|
name: {
|
|
188
243
|
description: string;
|
|
@@ -190,10 +245,12 @@ export declare const schemas: ({
|
|
|
190
245
|
};
|
|
191
246
|
};
|
|
192
247
|
required: string[];
|
|
248
|
+
title: string;
|
|
249
|
+
type: string;
|
|
193
250
|
} | {
|
|
194
|
-
$schema: string;
|
|
195
251
|
$id: string;
|
|
196
|
-
|
|
252
|
+
$schema: string;
|
|
253
|
+
default: boolean;
|
|
197
254
|
definitions: {
|
|
198
255
|
schemaArray: {
|
|
199
256
|
type: string;
|
|
@@ -227,7 +284,6 @@ export declare const schemas: ({
|
|
|
227
284
|
default: never[];
|
|
228
285
|
};
|
|
229
286
|
};
|
|
230
|
-
type: string[];
|
|
231
287
|
properties: {
|
|
232
288
|
$id: {
|
|
233
289
|
type: string;
|
|
@@ -413,10 +469,11 @@ export declare const schemas: ({
|
|
|
413
469
|
$ref: string;
|
|
414
470
|
};
|
|
415
471
|
};
|
|
416
|
-
|
|
472
|
+
title: string;
|
|
473
|
+
type: string[];
|
|
417
474
|
} | {
|
|
418
|
-
type: string;
|
|
419
475
|
$id: string;
|
|
476
|
+
additionalProperties: boolean;
|
|
420
477
|
properties: {
|
|
421
478
|
title: {
|
|
422
479
|
type: string;
|
|
@@ -435,18 +492,11 @@ export declare const schemas: ({
|
|
|
435
492
|
description: string;
|
|
436
493
|
};
|
|
437
494
|
};
|
|
438
|
-
additionalProperties: boolean;
|
|
439
495
|
required: string[];
|
|
496
|
+
type: string;
|
|
440
497
|
} | {
|
|
441
498
|
$id: string;
|
|
442
|
-
type: string;
|
|
443
|
-
properties: {
|
|
444
|
-
spec: {
|
|
445
|
-
$ref: string;
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
499
|
$schema: string;
|
|
449
|
-
required: string[];
|
|
450
500
|
definitions: {
|
|
451
501
|
Aggregate: {
|
|
452
502
|
anyOf: {
|
|
@@ -26990,17 +27040,16 @@ export declare const schemas: ({
|
|
|
26990
27040
|
type: string;
|
|
26991
27041
|
};
|
|
26992
27042
|
};
|
|
26993
|
-
} | {
|
|
26994
|
-
$schema: string;
|
|
26995
|
-
title: string;
|
|
26996
|
-
$id: string;
|
|
26997
|
-
type: string;
|
|
26998
27043
|
properties: {
|
|
26999
27044
|
spec: {
|
|
27000
27045
|
$ref: string;
|
|
27001
27046
|
};
|
|
27002
27047
|
};
|
|
27003
27048
|
required: string[];
|
|
27049
|
+
type: string;
|
|
27050
|
+
} | {
|
|
27051
|
+
$id: string;
|
|
27052
|
+
$schema: string;
|
|
27004
27053
|
definitions: {
|
|
27005
27054
|
autosize: {
|
|
27006
27055
|
oneOf: ({
|
|
@@ -40003,197 +40052,27 @@ export declare const schemas: ({
|
|
|
40003
40052
|
})[];
|
|
40004
40053
|
};
|
|
40005
40054
|
};
|
|
40006
|
-
|
|
40055
|
+
properties: {
|
|
40056
|
+
spec: {
|
|
40057
|
+
$ref: string;
|
|
40058
|
+
};
|
|
40059
|
+
};
|
|
40060
|
+
required: string[];
|
|
40061
|
+
title: string;
|
|
40007
40062
|
type: string;
|
|
40063
|
+
} | {
|
|
40008
40064
|
$id: string;
|
|
40065
|
+
additionalProperties: boolean;
|
|
40009
40066
|
properties: {
|
|
40010
40067
|
cardKey: {
|
|
40011
40068
|
type: string;
|
|
40012
40069
|
description: string;
|
|
40013
40070
|
};
|
|
40014
40071
|
};
|
|
40015
|
-
additionalProperties: boolean;
|
|
40016
40072
|
required: string[];
|
|
40073
|
+
type: string;
|
|
40017
40074
|
})[];
|
|
40018
40075
|
export declare const parentSchema: {
|
|
40019
|
-
title: string;
|
|
40020
|
-
$id: string;
|
|
40021
|
-
description: string;
|
|
40022
|
-
type: string;
|
|
40023
|
-
properties: {
|
|
40024
|
-
directories: {
|
|
40025
|
-
type: string;
|
|
40026
|
-
properties: {
|
|
40027
|
-
".cards": {
|
|
40028
|
-
description: string;
|
|
40029
|
-
type: string;
|
|
40030
|
-
properties: {
|
|
40031
|
-
files: {
|
|
40032
|
-
type: string;
|
|
40033
|
-
additionalProperties: boolean;
|
|
40034
|
-
};
|
|
40035
|
-
directories: {
|
|
40036
|
-
type: string;
|
|
40037
|
-
additionalProperties: boolean;
|
|
40038
|
-
properties: {
|
|
40039
|
-
modules: {
|
|
40040
|
-
$ref: string;
|
|
40041
|
-
};
|
|
40042
|
-
local: {
|
|
40043
|
-
type: string;
|
|
40044
|
-
properties: {
|
|
40045
|
-
files: {
|
|
40046
|
-
type: string;
|
|
40047
|
-
additionalProperties: boolean;
|
|
40048
|
-
properties: {
|
|
40049
|
-
".schema": {};
|
|
40050
|
-
"cardsConfig.json": {};
|
|
40051
|
-
};
|
|
40052
|
-
required: string[];
|
|
40053
|
-
};
|
|
40054
|
-
directories: {
|
|
40055
|
-
type: string;
|
|
40056
|
-
additionalProperties: boolean;
|
|
40057
|
-
properties: {
|
|
40058
|
-
calculations: {
|
|
40059
|
-
$ref: string;
|
|
40060
|
-
};
|
|
40061
|
-
cardTypes: {
|
|
40062
|
-
$ref: string;
|
|
40063
|
-
};
|
|
40064
|
-
fieldTypes: {
|
|
40065
|
-
$ref: string;
|
|
40066
|
-
};
|
|
40067
|
-
graphViews: {
|
|
40068
|
-
$ref: string;
|
|
40069
|
-
};
|
|
40070
|
-
graphModels: {
|
|
40071
|
-
$ref: string;
|
|
40072
|
-
};
|
|
40073
|
-
linkTypes: {
|
|
40074
|
-
$ref: string;
|
|
40075
|
-
};
|
|
40076
|
-
reports: {
|
|
40077
|
-
$ref: string;
|
|
40078
|
-
};
|
|
40079
|
-
templates: {
|
|
40080
|
-
$ref: string;
|
|
40081
|
-
};
|
|
40082
|
-
workflows: {
|
|
40083
|
-
$ref: string;
|
|
40084
|
-
};
|
|
40085
|
-
};
|
|
40086
|
-
};
|
|
40087
|
-
};
|
|
40088
|
-
};
|
|
40089
|
-
};
|
|
40090
|
-
required: string[];
|
|
40091
|
-
};
|
|
40092
|
-
};
|
|
40093
|
-
};
|
|
40094
|
-
cardRoot: {
|
|
40095
|
-
description: string;
|
|
40096
|
-
type: string;
|
|
40097
|
-
properties: {
|
|
40098
|
-
files: {
|
|
40099
|
-
type: string;
|
|
40100
|
-
additionalProperties: boolean;
|
|
40101
|
-
properties: {
|
|
40102
|
-
".gitkeep": {};
|
|
40103
|
-
".schema": {};
|
|
40104
|
-
};
|
|
40105
|
-
};
|
|
40106
|
-
directories: {
|
|
40107
|
-
type: string;
|
|
40108
|
-
additionalProperties: boolean;
|
|
40109
|
-
patternProperties: {
|
|
40110
|
-
"^[a-z]+_[0-9a-z]+$": {
|
|
40111
|
-
$ref: string;
|
|
40112
|
-
};
|
|
40113
|
-
};
|
|
40114
|
-
};
|
|
40115
|
-
};
|
|
40116
|
-
};
|
|
40117
|
-
".calc": {
|
|
40118
|
-
description: string;
|
|
40119
|
-
type: string;
|
|
40120
|
-
properties: {
|
|
40121
|
-
directories: {
|
|
40122
|
-
type: string;
|
|
40123
|
-
properties: {
|
|
40124
|
-
resources: {
|
|
40125
|
-
description: string;
|
|
40126
|
-
type: string;
|
|
40127
|
-
properties: {
|
|
40128
|
-
files: {
|
|
40129
|
-
type: string;
|
|
40130
|
-
additionalProperties: boolean;
|
|
40131
|
-
patternProperties: {
|
|
40132
|
-
"^.+\\.lp$": {
|
|
40133
|
-
type: string;
|
|
40134
|
-
};
|
|
40135
|
-
};
|
|
40136
|
-
};
|
|
40137
|
-
};
|
|
40138
|
-
};
|
|
40139
|
-
cards: {
|
|
40140
|
-
description: string;
|
|
40141
|
-
type: string;
|
|
40142
|
-
properties: {
|
|
40143
|
-
files: {
|
|
40144
|
-
type: string;
|
|
40145
|
-
additionalProperties: boolean;
|
|
40146
|
-
patternProperties: {
|
|
40147
|
-
"^.+\\.lp$": {
|
|
40148
|
-
type: string;
|
|
40149
|
-
};
|
|
40150
|
-
};
|
|
40151
|
-
};
|
|
40152
|
-
};
|
|
40153
|
-
};
|
|
40154
|
-
};
|
|
40155
|
-
additionalProperties: boolean;
|
|
40156
|
-
};
|
|
40157
|
-
files: {
|
|
40158
|
-
type: string;
|
|
40159
|
-
properties: {
|
|
40160
|
-
"base.lp": {
|
|
40161
|
-
description: string;
|
|
40162
|
-
type: string;
|
|
40163
|
-
};
|
|
40164
|
-
"calculations.lp": {
|
|
40165
|
-
description: string;
|
|
40166
|
-
type: string;
|
|
40167
|
-
};
|
|
40168
|
-
"cardTree.lp": {
|
|
40169
|
-
description: string;
|
|
40170
|
-
type: string;
|
|
40171
|
-
};
|
|
40172
|
-
"resourceImports.lp": {
|
|
40173
|
-
description: string;
|
|
40174
|
-
type: string;
|
|
40175
|
-
};
|
|
40176
|
-
"main.lp": {
|
|
40177
|
-
description: string;
|
|
40178
|
-
type: string;
|
|
40179
|
-
};
|
|
40180
|
-
"modules.lp": {
|
|
40181
|
-
description: string;
|
|
40182
|
-
type: string;
|
|
40183
|
-
};
|
|
40184
|
-
"queryLanguage.lp": {
|
|
40185
|
-
description: string;
|
|
40186
|
-
type: string;
|
|
40187
|
-
};
|
|
40188
|
-
};
|
|
40189
|
-
additionalProperties: boolean;
|
|
40190
|
-
};
|
|
40191
|
-
};
|
|
40192
|
-
};
|
|
40193
|
-
};
|
|
40194
|
-
required: string[];
|
|
40195
|
-
};
|
|
40196
|
-
};
|
|
40197
40076
|
$defs: {
|
|
40198
40077
|
cardModuleSchema: {
|
|
40199
40078
|
description: string;
|
|
@@ -40692,4 +40571,182 @@ export declare const parentSchema: {
|
|
|
40692
40571
|
})[];
|
|
40693
40572
|
};
|
|
40694
40573
|
};
|
|
40574
|
+
$id: string;
|
|
40575
|
+
description: string;
|
|
40576
|
+
properties: {
|
|
40577
|
+
directories: {
|
|
40578
|
+
type: string;
|
|
40579
|
+
properties: {
|
|
40580
|
+
".cards": {
|
|
40581
|
+
description: string;
|
|
40582
|
+
type: string;
|
|
40583
|
+
properties: {
|
|
40584
|
+
files: {
|
|
40585
|
+
type: string;
|
|
40586
|
+
additionalProperties: boolean;
|
|
40587
|
+
};
|
|
40588
|
+
directories: {
|
|
40589
|
+
type: string;
|
|
40590
|
+
additionalProperties: boolean;
|
|
40591
|
+
properties: {
|
|
40592
|
+
modules: {
|
|
40593
|
+
$ref: string;
|
|
40594
|
+
};
|
|
40595
|
+
local: {
|
|
40596
|
+
type: string;
|
|
40597
|
+
properties: {
|
|
40598
|
+
files: {
|
|
40599
|
+
type: string;
|
|
40600
|
+
additionalProperties: boolean;
|
|
40601
|
+
properties: {
|
|
40602
|
+
".schema": {};
|
|
40603
|
+
"cardsConfig.json": {};
|
|
40604
|
+
};
|
|
40605
|
+
required: string[];
|
|
40606
|
+
};
|
|
40607
|
+
directories: {
|
|
40608
|
+
type: string;
|
|
40609
|
+
additionalProperties: boolean;
|
|
40610
|
+
properties: {
|
|
40611
|
+
calculations: {
|
|
40612
|
+
$ref: string;
|
|
40613
|
+
};
|
|
40614
|
+
cardTypes: {
|
|
40615
|
+
$ref: string;
|
|
40616
|
+
};
|
|
40617
|
+
fieldTypes: {
|
|
40618
|
+
$ref: string;
|
|
40619
|
+
};
|
|
40620
|
+
graphViews: {
|
|
40621
|
+
$ref: string;
|
|
40622
|
+
};
|
|
40623
|
+
graphModels: {
|
|
40624
|
+
$ref: string;
|
|
40625
|
+
};
|
|
40626
|
+
linkTypes: {
|
|
40627
|
+
$ref: string;
|
|
40628
|
+
};
|
|
40629
|
+
reports: {
|
|
40630
|
+
$ref: string;
|
|
40631
|
+
};
|
|
40632
|
+
templates: {
|
|
40633
|
+
$ref: string;
|
|
40634
|
+
};
|
|
40635
|
+
workflows: {
|
|
40636
|
+
$ref: string;
|
|
40637
|
+
};
|
|
40638
|
+
};
|
|
40639
|
+
};
|
|
40640
|
+
};
|
|
40641
|
+
};
|
|
40642
|
+
};
|
|
40643
|
+
required: string[];
|
|
40644
|
+
};
|
|
40645
|
+
};
|
|
40646
|
+
};
|
|
40647
|
+
cardRoot: {
|
|
40648
|
+
description: string;
|
|
40649
|
+
type: string;
|
|
40650
|
+
properties: {
|
|
40651
|
+
files: {
|
|
40652
|
+
type: string;
|
|
40653
|
+
additionalProperties: boolean;
|
|
40654
|
+
properties: {
|
|
40655
|
+
".gitkeep": {};
|
|
40656
|
+
".schema": {};
|
|
40657
|
+
};
|
|
40658
|
+
};
|
|
40659
|
+
directories: {
|
|
40660
|
+
type: string;
|
|
40661
|
+
additionalProperties: boolean;
|
|
40662
|
+
patternProperties: {
|
|
40663
|
+
"^[a-z]+_[0-9a-z]+$": {
|
|
40664
|
+
$ref: string;
|
|
40665
|
+
};
|
|
40666
|
+
};
|
|
40667
|
+
};
|
|
40668
|
+
};
|
|
40669
|
+
};
|
|
40670
|
+
".calc": {
|
|
40671
|
+
description: string;
|
|
40672
|
+
type: string;
|
|
40673
|
+
properties: {
|
|
40674
|
+
directories: {
|
|
40675
|
+
type: string;
|
|
40676
|
+
properties: {
|
|
40677
|
+
resources: {
|
|
40678
|
+
description: string;
|
|
40679
|
+
type: string;
|
|
40680
|
+
properties: {
|
|
40681
|
+
files: {
|
|
40682
|
+
type: string;
|
|
40683
|
+
additionalProperties: boolean;
|
|
40684
|
+
patternProperties: {
|
|
40685
|
+
"^.+\\.lp$": {
|
|
40686
|
+
type: string;
|
|
40687
|
+
};
|
|
40688
|
+
};
|
|
40689
|
+
};
|
|
40690
|
+
};
|
|
40691
|
+
};
|
|
40692
|
+
cards: {
|
|
40693
|
+
description: string;
|
|
40694
|
+
type: string;
|
|
40695
|
+
properties: {
|
|
40696
|
+
files: {
|
|
40697
|
+
type: string;
|
|
40698
|
+
additionalProperties: boolean;
|
|
40699
|
+
patternProperties: {
|
|
40700
|
+
"^.+\\.lp$": {
|
|
40701
|
+
type: string;
|
|
40702
|
+
};
|
|
40703
|
+
};
|
|
40704
|
+
};
|
|
40705
|
+
};
|
|
40706
|
+
};
|
|
40707
|
+
};
|
|
40708
|
+
additionalProperties: boolean;
|
|
40709
|
+
};
|
|
40710
|
+
files: {
|
|
40711
|
+
type: string;
|
|
40712
|
+
properties: {
|
|
40713
|
+
"base.lp": {
|
|
40714
|
+
description: string;
|
|
40715
|
+
type: string;
|
|
40716
|
+
};
|
|
40717
|
+
"calculations.lp": {
|
|
40718
|
+
description: string;
|
|
40719
|
+
type: string;
|
|
40720
|
+
};
|
|
40721
|
+
"cardTree.lp": {
|
|
40722
|
+
description: string;
|
|
40723
|
+
type: string;
|
|
40724
|
+
};
|
|
40725
|
+
"resourceImports.lp": {
|
|
40726
|
+
description: string;
|
|
40727
|
+
type: string;
|
|
40728
|
+
};
|
|
40729
|
+
"main.lp": {
|
|
40730
|
+
description: string;
|
|
40731
|
+
type: string;
|
|
40732
|
+
};
|
|
40733
|
+
"modules.lp": {
|
|
40734
|
+
description: string;
|
|
40735
|
+
type: string;
|
|
40736
|
+
};
|
|
40737
|
+
"queryLanguage.lp": {
|
|
40738
|
+
description: string;
|
|
40739
|
+
type: string;
|
|
40740
|
+
};
|
|
40741
|
+
};
|
|
40742
|
+
additionalProperties: boolean;
|
|
40743
|
+
};
|
|
40744
|
+
};
|
|
40745
|
+
};
|
|
40746
|
+
};
|
|
40747
|
+
required: string[];
|
|
40748
|
+
};
|
|
40749
|
+
};
|
|
40750
|
+
title: string;
|
|
40751
|
+
type: string;
|
|
40695
40752
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "myGraphMacroSchema",
|
|
3
|
+
"additionalProperties": false,
|
|
4
|
+
"description": "Parameters for the graph macro",
|
|
5
|
+
"properties": {
|
|
6
|
+
"model": {
|
|
7
|
+
"description": "The name of the graph model",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"view": {
|
|
11
|
+
"description": "The name of the graph view",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"cardKey": {
|
|
15
|
+
"description": "Override default cardKey of the macro with another cardKey. Default cardKey is the card where the macro is defined in.",
|
|
16
|
+
"type": "string"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": ["model", "view"],
|
|
20
|
+
"title": "Graph view",
|
|
21
|
+
"type": "object"
|
|
22
|
+
}
|
|
File without changes
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "Report",
|
|
3
2
|
"$id": "reportMacroDefaultSchema",
|
|
3
|
+
"additionalProperties": false,
|
|
4
4
|
"description": "A report object provides supplemental information about a report",
|
|
5
|
-
"type": "object",
|
|
6
5
|
"properties": {
|
|
7
6
|
"name": {
|
|
8
7
|
"description": "The name of the report",
|
|
@@ -13,6 +12,7 @@
|
|
|
13
12
|
"type": "string"
|
|
14
13
|
}
|
|
15
14
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
15
|
+
"required": ["name"],
|
|
16
|
+
"title": "Report",
|
|
17
|
+
"type": "object"
|
|
18
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyberismo/assets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "This package contains static resources",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,15 +15,16 @@
|
|
|
15
15
|
"bugs": "https://github.com/CyberismoCom/cyberismo/issues",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"esbuild": "^0.25.
|
|
18
|
+
"esbuild": "^0.25.9",
|
|
19
19
|
"esbuild-plugin-import-glob": "^0.1.1"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"dist",
|
|
23
|
-
"src"
|
|
23
|
+
"src",
|
|
24
|
+
"THIRD-PARTY.txt"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
|
-
"build": "shx rm -rf dist && shx mkdir -p dist &&
|
|
27
|
+
"build": "shx rm -rf dist && shx mkdir -p dist && pnpm script:schemas && node scripts/build.js && tsc && shx cp -r src/static dist/",
|
|
27
28
|
"dev": "pnpm build && chokidar 'src/**/*' -i 'src/schemas.ts' -c 'pnpm build'",
|
|
28
29
|
"script:schemas": "node scripts/generateSchemaImports && prettier --write src/schemas.ts"
|
|
29
30
|
}
|