@forge/manifest 7.12.0-next.3 → 8.0.0-next.10
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/CHANGELOG.md +42 -0
- package/out/schema/display-conditions-schema.json +3 -0
- package/out/schema/manifest-schema.json +144 -11
- package/out/schema/manifest.d.ts +47 -6
- package/out/types/display-condition-types.d.ts +1 -0
- package/out/types/display-condition-types.d.ts.map +1 -1
- package/out/types/module-types.d.ts +1 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +1 -0
- package/out/validators/storage-validator.d.ts +2 -0
- package/out/validators/storage-validator.d.ts.map +1 -1
- package/out/validators/storage-validator.js +80 -69
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 8.0.0-next.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c84549a: Update manifest definitions
|
|
8
|
+
|
|
9
|
+
## 8.0.0-next.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 8ca9a19: Update manifest definitions
|
|
14
|
+
|
|
15
|
+
## 8.0.0-next.8
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- a9c6303: Update manifest definitions
|
|
20
|
+
|
|
21
|
+
## 8.0.0-next.7
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 5d4af6e: Added storage modules
|
|
26
|
+
|
|
27
|
+
## 8.0.0-next.6
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- da32dcc: Improve i18n unit tests process to avoid breaking pipeline unexpectly
|
|
32
|
+
|
|
33
|
+
## 8.0.0-next.5
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- 0e1b960: Update manifest definitions
|
|
38
|
+
|
|
39
|
+
## 8.0.0-next.4
|
|
40
|
+
|
|
41
|
+
### Major Changes
|
|
42
|
+
|
|
43
|
+
- 9dc2ad3: Lint display conditions of dashboard gadget module
|
|
44
|
+
|
|
3
45
|
## 7.12.0-next.3
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
"type": "string"
|
|
879
879
|
},
|
|
880
880
|
"actionType": {
|
|
881
|
-
"description": "The action-type defines the action inputs and how actions can be categorised and discovered
|
|
881
|
+
"description": "The action-type defines the action inputs and how actions can be categorised and discovered.\neg an action-type atlassian:issue:create:comment defines the inputs issueId and comment.\nDifferent implementations of actions with action-type of atlassian:issue:create:comment can be\nswapped depending on what integrations a tenant might have.",
|
|
882
882
|
"type": "string",
|
|
883
883
|
"minLength": 1,
|
|
884
884
|
"maxLength": 255,
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
"type": "string"
|
|
1316
1316
|
},
|
|
1317
1317
|
"actionType": {
|
|
1318
|
-
"description": "The action-type defines the action inputs and how actions can be categorised and discovered
|
|
1318
|
+
"description": "The action-type defines the action inputs and how actions can be categorised and discovered.\neg an action-type atlassian:issue:create:comment defines the inputs issueId and comment.\nDifferent implementations of actions with action-type of atlassian:issue:create:comment can be\nswapped depending on what integrations a tenant might have.",
|
|
1319
1319
|
"type": "string",
|
|
1320
1320
|
"minLength": 1,
|
|
1321
1321
|
"maxLength": 255,
|
|
@@ -1354,6 +1354,36 @@
|
|
|
1354
1354
|
},
|
|
1355
1355
|
"minItems": 1
|
|
1356
1356
|
},
|
|
1357
|
+
"sql": {
|
|
1358
|
+
"type": "array",
|
|
1359
|
+
"items": {
|
|
1360
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1361
|
+
"additionalProperties": false,
|
|
1362
|
+
"type": "object",
|
|
1363
|
+
"properties": {
|
|
1364
|
+
"engine": {
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"enum": [
|
|
1367
|
+
"mysql"
|
|
1368
|
+
],
|
|
1369
|
+
"description": "The SQL engine to be used for storage"
|
|
1370
|
+
},
|
|
1371
|
+
"key": {
|
|
1372
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
1373
|
+
}
|
|
1374
|
+
},
|
|
1375
|
+
"required": [
|
|
1376
|
+
"engine",
|
|
1377
|
+
"key"
|
|
1378
|
+
],
|
|
1379
|
+
"not": {
|
|
1380
|
+
"required": [
|
|
1381
|
+
"unlicensedAccess"
|
|
1382
|
+
]
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"minItems": 1
|
|
1386
|
+
},
|
|
1357
1387
|
"macro": {
|
|
1358
1388
|
"type": "array",
|
|
1359
1389
|
"items": {
|
|
@@ -1744,17 +1774,12 @@
|
|
|
1744
1774
|
"layout": {
|
|
1745
1775
|
"enum": [
|
|
1746
1776
|
"inline",
|
|
1747
|
-
"block"
|
|
1777
|
+
"block",
|
|
1778
|
+
"bodied"
|
|
1748
1779
|
],
|
|
1749
1780
|
"type": "string",
|
|
1750
1781
|
"default": "block"
|
|
1751
1782
|
},
|
|
1752
|
-
"bodyType": {
|
|
1753
|
-
"enum": [
|
|
1754
|
-
"rich-text"
|
|
1755
|
-
],
|
|
1756
|
-
"type": "string"
|
|
1757
|
-
},
|
|
1758
1783
|
"key": {
|
|
1759
1784
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1760
1785
|
}
|
|
@@ -12219,6 +12244,15 @@
|
|
|
12219
12244
|
"minLength": 1,
|
|
12220
12245
|
"maxLength": 255
|
|
12221
12246
|
},
|
|
12247
|
+
"actionType": {
|
|
12248
|
+
"minLength": 1,
|
|
12249
|
+
"maxLength": 255,
|
|
12250
|
+
"enum": [
|
|
12251
|
+
"dynamic",
|
|
12252
|
+
"modal"
|
|
12253
|
+
],
|
|
12254
|
+
"type": "string"
|
|
12255
|
+
},
|
|
12222
12256
|
"viewportSize": {
|
|
12223
12257
|
"minLength": 1,
|
|
12224
12258
|
"maxLength": 255,
|
|
@@ -12243,6 +12277,27 @@
|
|
|
12243
12277
|
"maxLength": 23,
|
|
12244
12278
|
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
12245
12279
|
},
|
|
12280
|
+
"actionType": {
|
|
12281
|
+
"minLength": 1,
|
|
12282
|
+
"maxLength": 255,
|
|
12283
|
+
"enum": [
|
|
12284
|
+
"dynamic",
|
|
12285
|
+
"modal"
|
|
12286
|
+
],
|
|
12287
|
+
"type": "string"
|
|
12288
|
+
},
|
|
12289
|
+
"viewPortSize": {
|
|
12290
|
+
"minLength": 1,
|
|
12291
|
+
"maxLength": 255,
|
|
12292
|
+
"enum": [
|
|
12293
|
+
"large",
|
|
12294
|
+
"max",
|
|
12295
|
+
"medium",
|
|
12296
|
+
"small",
|
|
12297
|
+
"xlarge"
|
|
12298
|
+
],
|
|
12299
|
+
"type": "string"
|
|
12300
|
+
},
|
|
12246
12301
|
"title": {
|
|
12247
12302
|
"anyOf": [
|
|
12248
12303
|
{
|
|
@@ -12723,6 +12778,15 @@
|
|
|
12723
12778
|
"minLength": 1,
|
|
12724
12779
|
"maxLength": 255
|
|
12725
12780
|
},
|
|
12781
|
+
"actionType": {
|
|
12782
|
+
"minLength": 1,
|
|
12783
|
+
"maxLength": 255,
|
|
12784
|
+
"enum": [
|
|
12785
|
+
"dynamic",
|
|
12786
|
+
"modal"
|
|
12787
|
+
],
|
|
12788
|
+
"type": "string"
|
|
12789
|
+
},
|
|
12726
12790
|
"viewportSize": {
|
|
12727
12791
|
"minLength": 1,
|
|
12728
12792
|
"maxLength": 255,
|
|
@@ -12747,6 +12811,27 @@
|
|
|
12747
12811
|
"maxLength": 23,
|
|
12748
12812
|
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
12749
12813
|
},
|
|
12814
|
+
"actionType": {
|
|
12815
|
+
"minLength": 1,
|
|
12816
|
+
"maxLength": 255,
|
|
12817
|
+
"enum": [
|
|
12818
|
+
"dynamic",
|
|
12819
|
+
"modal"
|
|
12820
|
+
],
|
|
12821
|
+
"type": "string"
|
|
12822
|
+
},
|
|
12823
|
+
"viewPortSize": {
|
|
12824
|
+
"minLength": 1,
|
|
12825
|
+
"maxLength": 255,
|
|
12826
|
+
"enum": [
|
|
12827
|
+
"large",
|
|
12828
|
+
"max",
|
|
12829
|
+
"medium",
|
|
12830
|
+
"small",
|
|
12831
|
+
"xlarge"
|
|
12832
|
+
],
|
|
12833
|
+
"type": "string"
|
|
12834
|
+
},
|
|
12750
12835
|
"title": {
|
|
12751
12836
|
"anyOf": [
|
|
12752
12837
|
{
|
|
@@ -12959,6 +13044,15 @@
|
|
|
12959
13044
|
"minLength": 1,
|
|
12960
13045
|
"maxLength": 255
|
|
12961
13046
|
},
|
|
13047
|
+
"actionType": {
|
|
13048
|
+
"minLength": 1,
|
|
13049
|
+
"maxLength": 255,
|
|
13050
|
+
"enum": [
|
|
13051
|
+
"dynamic",
|
|
13052
|
+
"modal"
|
|
13053
|
+
],
|
|
13054
|
+
"type": "string"
|
|
13055
|
+
},
|
|
12962
13056
|
"viewportSize": {
|
|
12963
13057
|
"minLength": 1,
|
|
12964
13058
|
"maxLength": 255,
|
|
@@ -12983,6 +13077,27 @@
|
|
|
12983
13077
|
"maxLength": 23,
|
|
12984
13078
|
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
12985
13079
|
},
|
|
13080
|
+
"actionType": {
|
|
13081
|
+
"minLength": 1,
|
|
13082
|
+
"maxLength": 255,
|
|
13083
|
+
"enum": [
|
|
13084
|
+
"dynamic",
|
|
13085
|
+
"modal"
|
|
13086
|
+
],
|
|
13087
|
+
"type": "string"
|
|
13088
|
+
},
|
|
13089
|
+
"viewPortSize": {
|
|
13090
|
+
"minLength": 1,
|
|
13091
|
+
"maxLength": 255,
|
|
13092
|
+
"enum": [
|
|
13093
|
+
"large",
|
|
13094
|
+
"max",
|
|
13095
|
+
"medium",
|
|
13096
|
+
"small",
|
|
13097
|
+
"xlarge"
|
|
13098
|
+
],
|
|
13099
|
+
"type": "string"
|
|
13100
|
+
},
|
|
12986
13101
|
"title": {
|
|
12987
13102
|
"anyOf": [
|
|
12988
13103
|
{
|
|
@@ -25618,6 +25733,18 @@
|
|
|
25618
25733
|
"title": "expression",
|
|
25619
25734
|
"description": "The app will ignore events filtered out by expression",
|
|
25620
25735
|
"type": "string"
|
|
25736
|
+
},
|
|
25737
|
+
"onError": {
|
|
25738
|
+
"title": "onError",
|
|
25739
|
+
"description": "The default behavior when an error during event filtering occurs",
|
|
25740
|
+
"type": "string",
|
|
25741
|
+
"default": "IGNORE_AND_LOG",
|
|
25742
|
+
"enum": [
|
|
25743
|
+
"IGNORE",
|
|
25744
|
+
"IGNORE_AND_LOG",
|
|
25745
|
+
"RECEIVE",
|
|
25746
|
+
"RECEIVE_AND_LOG"
|
|
25747
|
+
]
|
|
25621
25748
|
}
|
|
25622
25749
|
},
|
|
25623
25750
|
"anyOf": [
|
|
@@ -25630,6 +25757,12 @@
|
|
|
25630
25757
|
"required": [
|
|
25631
25758
|
"expression"
|
|
25632
25759
|
]
|
|
25760
|
+
},
|
|
25761
|
+
{
|
|
25762
|
+
"required": [
|
|
25763
|
+
"expression",
|
|
25764
|
+
"onError"
|
|
25765
|
+
]
|
|
25633
25766
|
}
|
|
25634
25767
|
]
|
|
25635
25768
|
},
|
|
@@ -25774,7 +25907,7 @@
|
|
|
25774
25907
|
},
|
|
25775
25908
|
"description": {
|
|
25776
25909
|
"type": "string",
|
|
25777
|
-
"description": "A description of what this particular input is intended for.
|
|
25910
|
+
"description": "A description of what this particular input is intended for. Example: 'ID of the Issue that will be updated as a result of this action'\n"
|
|
25778
25911
|
},
|
|
25779
25912
|
"type": {
|
|
25780
25913
|
"$ref": "#/definitions/CoreActionIOType"
|
|
@@ -25791,7 +25924,7 @@
|
|
|
25791
25924
|
"properties": {
|
|
25792
25925
|
"description": {
|
|
25793
25926
|
"type": "string",
|
|
25794
|
-
"description": "A description of what this particular output represents.
|
|
25927
|
+
"description": "A description of what this particular output represents. Example: 'ID of the Issue that was created as a result of this action'\n"
|
|
25795
25928
|
},
|
|
25796
25929
|
"nullable": {
|
|
25797
25930
|
"type": "boolean",
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -52,6 +52,9 @@ export type Filter =
|
|
|
52
52
|
| {
|
|
53
53
|
[k: string]: unknown;
|
|
54
54
|
}
|
|
55
|
+
| {
|
|
56
|
+
[k: string]: unknown;
|
|
57
|
+
}
|
|
55
58
|
| {
|
|
56
59
|
[k: string]: unknown;
|
|
57
60
|
};
|
|
@@ -71,6 +74,9 @@ export type Filter1 =
|
|
|
71
74
|
| {
|
|
72
75
|
[k: string]: unknown;
|
|
73
76
|
}
|
|
77
|
+
| {
|
|
78
|
+
[k: string]: unknown;
|
|
79
|
+
}
|
|
74
80
|
| {
|
|
75
81
|
[k: string]: unknown;
|
|
76
82
|
};
|
|
@@ -86,6 +92,9 @@ export type Filter2 =
|
|
|
86
92
|
| {
|
|
87
93
|
[k: string]: unknown;
|
|
88
94
|
}
|
|
95
|
+
| {
|
|
96
|
+
[k: string]: unknown;
|
|
97
|
+
}
|
|
89
98
|
| {
|
|
90
99
|
[k: string]: unknown;
|
|
91
100
|
};
|
|
@@ -1351,6 +1360,22 @@ export interface Modules {
|
|
|
1351
1360
|
}
|
|
1352
1361
|
)[]
|
|
1353
1362
|
];
|
|
1363
|
+
sql?: [
|
|
1364
|
+
{
|
|
1365
|
+
/**
|
|
1366
|
+
* The SQL engine to be used for storage
|
|
1367
|
+
*/
|
|
1368
|
+
engine: 'mysql';
|
|
1369
|
+
key: ModuleKeySchema;
|
|
1370
|
+
},
|
|
1371
|
+
...{
|
|
1372
|
+
/**
|
|
1373
|
+
* The SQL engine to be used for storage
|
|
1374
|
+
*/
|
|
1375
|
+
engine: 'mysql';
|
|
1376
|
+
key: ModuleKeySchema;
|
|
1377
|
+
}[]
|
|
1378
|
+
];
|
|
1354
1379
|
macro?: [
|
|
1355
1380
|
(
|
|
1356
1381
|
| {
|
|
@@ -1433,8 +1458,7 @@ export interface Modules {
|
|
|
1433
1458
|
[k: string]: unknown;
|
|
1434
1459
|
};
|
|
1435
1460
|
render?: 'native' | 'default';
|
|
1436
|
-
layout?: 'inline' | 'block';
|
|
1437
|
-
bodyType?: 'rich-text';
|
|
1461
|
+
layout?: 'inline' | 'block' | 'bodied';
|
|
1438
1462
|
key: ModuleKeySchema;
|
|
1439
1463
|
[k: string]: unknown;
|
|
1440
1464
|
}
|
|
@@ -1520,8 +1544,7 @@ export interface Modules {
|
|
|
1520
1544
|
[k: string]: unknown;
|
|
1521
1545
|
};
|
|
1522
1546
|
render?: 'native' | 'default';
|
|
1523
|
-
layout?: 'inline' | 'block';
|
|
1524
|
-
bodyType?: 'rich-text';
|
|
1547
|
+
layout?: 'inline' | 'block' | 'bodied';
|
|
1525
1548
|
key: ModuleKeySchema;
|
|
1526
1549
|
[k: string]: unknown;
|
|
1527
1550
|
}
|
|
@@ -6361,9 +6384,12 @@ export interface Modules {
|
|
|
6361
6384
|
endpoint: string;
|
|
6362
6385
|
};
|
|
6363
6386
|
resourceUploadId?: string;
|
|
6387
|
+
actionType?: 'dynamic' | 'modal';
|
|
6364
6388
|
viewportSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6365
6389
|
actions?: {
|
|
6366
6390
|
key: string;
|
|
6391
|
+
actionType?: 'dynamic' | 'modal';
|
|
6392
|
+
viewPortSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6367
6393
|
title:
|
|
6368
6394
|
| string
|
|
6369
6395
|
| {
|
|
@@ -6406,9 +6432,12 @@ export interface Modules {
|
|
|
6406
6432
|
endpoint: string;
|
|
6407
6433
|
};
|
|
6408
6434
|
resourceUploadId?: string;
|
|
6435
|
+
actionType?: 'dynamic' | 'modal';
|
|
6409
6436
|
viewportSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6410
6437
|
actions?: {
|
|
6411
6438
|
key: string;
|
|
6439
|
+
actionType?: 'dynamic' | 'modal';
|
|
6440
|
+
viewPortSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6412
6441
|
title:
|
|
6413
6442
|
| string
|
|
6414
6443
|
| {
|
|
@@ -6565,9 +6594,12 @@ export interface Modules {
|
|
|
6565
6594
|
endpoint: string;
|
|
6566
6595
|
};
|
|
6567
6596
|
resourceUploadId?: string;
|
|
6597
|
+
actionType?: 'dynamic' | 'modal';
|
|
6568
6598
|
viewportSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6569
6599
|
actions?: {
|
|
6570
6600
|
key: string;
|
|
6601
|
+
actionType?: 'dynamic' | 'modal';
|
|
6602
|
+
viewPortSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6571
6603
|
title:
|
|
6572
6604
|
| string
|
|
6573
6605
|
| {
|
|
@@ -6610,9 +6642,12 @@ export interface Modules {
|
|
|
6610
6642
|
endpoint: string;
|
|
6611
6643
|
};
|
|
6612
6644
|
resourceUploadId?: string;
|
|
6645
|
+
actionType?: 'dynamic' | 'modal';
|
|
6613
6646
|
viewportSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6614
6647
|
actions?: {
|
|
6615
6648
|
key: string;
|
|
6649
|
+
actionType?: 'dynamic' | 'modal';
|
|
6650
|
+
viewPortSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6616
6651
|
title:
|
|
6617
6652
|
| string
|
|
6618
6653
|
| {
|
|
@@ -6657,9 +6692,12 @@ export interface Modules {
|
|
|
6657
6692
|
endpoint: string;
|
|
6658
6693
|
};
|
|
6659
6694
|
resourceUploadId?: string;
|
|
6695
|
+
actionType?: 'dynamic' | 'modal';
|
|
6660
6696
|
viewportSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6661
6697
|
actions?: {
|
|
6662
6698
|
key: string;
|
|
6699
|
+
actionType?: 'dynamic' | 'modal';
|
|
6700
|
+
viewPortSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6663
6701
|
title:
|
|
6664
6702
|
| string
|
|
6665
6703
|
| {
|
|
@@ -6702,9 +6740,12 @@ export interface Modules {
|
|
|
6702
6740
|
endpoint: string;
|
|
6703
6741
|
};
|
|
6704
6742
|
resourceUploadId?: string;
|
|
6743
|
+
actionType?: 'dynamic' | 'modal';
|
|
6705
6744
|
viewportSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6706
6745
|
actions?: {
|
|
6707
6746
|
key: string;
|
|
6747
|
+
actionType?: 'dynamic' | 'modal';
|
|
6748
|
+
viewPortSize?: 'large' | 'max' | 'medium' | 'small' | 'xlarge';
|
|
6708
6749
|
title:
|
|
6709
6750
|
| string
|
|
6710
6751
|
| {
|
|
@@ -11249,7 +11290,7 @@ export interface ExternalAuthFunctionProvider {
|
|
|
11249
11290
|
export interface ActionInput {
|
|
11250
11291
|
title: string;
|
|
11251
11292
|
/**
|
|
11252
|
-
* A description of what this particular input is intended for.
|
|
11293
|
+
* A description of what this particular input is intended for. Example: 'ID of the Issue that will be updated as a result of this action'
|
|
11253
11294
|
*
|
|
11254
11295
|
*/
|
|
11255
11296
|
description: string;
|
|
@@ -11258,7 +11299,7 @@ export interface ActionInput {
|
|
|
11258
11299
|
}
|
|
11259
11300
|
export interface ActionOutput {
|
|
11260
11301
|
/**
|
|
11261
|
-
* A description of what this particular output represents.
|
|
11302
|
+
* A description of what this particular output represents. Example: 'ID of the Issue that was created as a result of this action'
|
|
11262
11303
|
*
|
|
11263
11304
|
*/
|
|
11264
11305
|
description: string;
|
|
@@ -114,6 +114,7 @@ export declare type DisplayConditions = {
|
|
|
114
114
|
'jira:issueGlance'?: IssueView;
|
|
115
115
|
'jira:issueContext'?: IssueView;
|
|
116
116
|
'jira:customField'?: IssueView;
|
|
117
|
+
'jira:dashboardGadget'?: Jira;
|
|
117
118
|
'jira:adminPage'?: Jira;
|
|
118
119
|
'jira:globalPage'?: Jira;
|
|
119
120
|
'jira:projectPage'?: ProjectPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-condition-types.d.ts","sourceRoot":"","sources":["../../src/types/display-condition-types.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,aAAK,IAAI,GAAG,OAAO,GACjB,8BAA8B,GAAG;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEJ,UAAU,2BAA2B;IACnC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,8BAA8B;IACtC,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;CAC3D;AAED,aAAK,qBAAqB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAC/C,aAAK,SAAS,GAAG,IAAI,GAAG;IACtB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,SAAS,CAAC,EAAE,qBAAqB,CAAC;IAClC,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO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O,EAAE;QACP,iBAAiB,CAAC,EAAE,SAAS,CAAC;QAC9B,oBAAoB,CAAC,EAAE,SAAS,CAAC;QACjC,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAC;QAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;QAC/B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,iBAAiB,CAAC,EAAE,IAAI,CAAC;QACzB,kBAAkB,CAAC,EAAE,WAAW,CAAC;QACjC,0BAA0B,CAAC,EAAE,mBAAmB,CAAC;QACjD,0BAA0B,CAAC,EAAE,UAAU,CAAC;QACxC,8BAA8B,CAAC,EAAE,UAAU,CAAC;QAC5C,wBAAwB,CAAC,EAAE,UAAU,CAAC;QACtC,uBAAuB,CAAC,EAAE,UAAU,CAAC;QACrC,2BAA2B,CAAC,EAAE,UAAU,CAAC;QACzC,0BAA0B,CAAC,EAAE,UAAU,CAAC;KACzC,CAAC;CACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"display-condition-types.d.ts","sourceRoot":"","sources":["../../src/types/display-condition-types.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,aAAK,IAAI,GAAG,OAAO,GACjB,8BAA8B,GAAG;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEJ,UAAU,2BAA2B;IACnC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,8BAA8B;IACtC,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C,2BAA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C,EAAE,UAAU,CAAC;QACzC,0BAA0B,CAAC,EAAE,UAAU,CAAC;KACzC,CAAC;CACH,CAAC"}
|
|
@@ -7,6 +7,7 @@ export declare enum AllModuleTypes {
|
|
|
7
7
|
CoreEndpoint = "core:endpoint",
|
|
8
8
|
CoreMigration = "core:migration",
|
|
9
9
|
CoreRemote = "core:remote",
|
|
10
|
+
CoreSql = "core:sql",
|
|
10
11
|
XenMacro = "xen:macro",
|
|
11
12
|
ConfluenceContentAction = "confluence:contentAction",
|
|
12
13
|
ConfluenceContentBylineItem = "confluence:contentBylineItem",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,kBAAkB,wBAAwB;IAC1C,qBAAqB,2BAA2B;IAChD,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,cAAc,oBAAoB;IAClC,wBAAwB,8BAA8B;IACtD,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6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CAAiC;IAC3D,8BAA8B,yCAAyC;IACvE,6BAA6B,oCAAoC;IACjE,mCAAmC,0CAA0C;IAC7E,mCAAmC,0CAA0C;IAC7E,sCAAsC,6CAA6C;IACnF,mCAAmC,0CAA0C;IAC7E,uDAAuD,8DAA8D;IACrH,oDAAoD,2DAA2D;IAC/G,6CAA6C,oDAAoD;IACjG,yCAAyC,gDAAgD;IACzF,4BAA4B,mCAAmC;IAC/D,6BAA6B,oCAAoC;IACjE,wCAAwC,+CAA+C;IACvF,kCAAkC,yCAAyC;IAC3E,iCAAiC,wCAAwC;IACzE,2CAA2C,kDAAkD;IAC7F,0CAA0C,iDAAiD;IAC3F,8CAA8C,qDAAqD;IACnG,yCAAyC,gDAAgD;IACzF,4BAA4B,mCAAmC;IAC/D,+BAA+B,sCAAsC;IACrE,sBAAsB,6BAA6B;IACnD,2BAA2B,kCAAkC;IAE7D,8BAA8B,uBAAuB;IACrD,6BAA6B,sBAAsB;IACnD,6BAA6B,sBAAsB;IACnD,gCAAgC,yBAAyB;IACzD,wCAAwC,iCAAiC;IACzE,+BAA+B,wBAAwB;IACvD,2BAA2B,oBAAoB;IAE/C,SAAS,eAAe;IACxB,UAAU,gBAAgB;CAC3B;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
|
|
@@ -11,6 +11,7 @@ var AllModuleTypes;
|
|
|
11
11
|
AllModuleTypes["CoreEndpoint"] = "core:endpoint";
|
|
12
12
|
AllModuleTypes["CoreMigration"] = "core:migration";
|
|
13
13
|
AllModuleTypes["CoreRemote"] = "core:remote";
|
|
14
|
+
AllModuleTypes["CoreSql"] = "core:sql";
|
|
14
15
|
AllModuleTypes["XenMacro"] = "xen:macro";
|
|
15
16
|
AllModuleTypes["ConfluenceContentAction"] = "confluence:contentAction";
|
|
16
17
|
AllModuleTypes["ConfluenceContentBylineItem"] = "confluence:contentBylineItem";
|
|
@@ -7,5 +7,7 @@ export declare class StorageValidator implements ValidatorInterface<ManifestObje
|
|
|
7
7
|
private entityIndexesMaxCount;
|
|
8
8
|
private reservedIndexName;
|
|
9
9
|
validate(manifest: ManifestObject<ManifestSchema> | undefined): Promise<ManifestValidationResult<ManifestSchema>>;
|
|
10
|
+
private validateSqlModules;
|
|
11
|
+
private validateCustomEntities;
|
|
10
12
|
}
|
|
11
13
|
//# sourceMappingURL=storage-validator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage-validator.d.ts","sourceRoot":"","sources":["../../src/validators/storage-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIpD,qBAAa,gBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,wBAAwB,CAAM;IACtC,OAAO,CAAC,wBAAwB,CAAM;IACtC,OAAO,CAAC,qBAAqB,CAAK;IAClC,OAAO,CAAC,iBAAiB,CAAY;IAE/B,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"storage-validator.d.ts","sourceRoot":"","sources":["../../src/validators/storage-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AACrF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIpD,qBAAa,gBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,wBAAwB,CAAM;IACtC,OAAO,CAAC,wBAAwB,CAAM;IACtC,OAAO,CAAC,qBAAqB,CAAK;IAClC,OAAO,CAAC,iBAAiB,CAAY;IAE/B,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;IAYpD,OAAO,CAAC,kBAAkB;IAkB1B,OAAO,CAAC,sBAAsB;CAwG/B"}
|
|
@@ -9,100 +9,111 @@ class StorageValidator {
|
|
|
9
9
|
entityIndexesMaxCount = 7;
|
|
10
10
|
reservedIndexName = 'by-key';
|
|
11
11
|
async validate(manifest) {
|
|
12
|
-
if (!manifest?.typedContent?.app?.storage) {
|
|
13
|
-
return {
|
|
14
|
-
success: true,
|
|
15
|
-
manifestObject: manifest
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
12
|
const validationErrors = [];
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
validationErrors.push(...this.validateSqlModules(manifest));
|
|
14
|
+
validationErrors.push(...this.validateCustomEntities(manifest));
|
|
15
|
+
return {
|
|
16
|
+
success: validationErrors.length === 0,
|
|
17
|
+
manifestObject: manifest,
|
|
18
|
+
...(validationErrors.length ? { errors: validationErrors } : {})
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
validateSqlModules(manifest) {
|
|
22
|
+
const validationErrors = [];
|
|
23
|
+
const sqlModules = manifest?.typedContent?.modules?.sql;
|
|
24
|
+
if (sqlModules && sqlModules.length) {
|
|
25
|
+
if (sqlModules.length > 1) {
|
|
29
26
|
validationErrors.push({
|
|
30
|
-
message:
|
|
31
|
-
reference: text_1.References.
|
|
27
|
+
message: `Found ${sqlModules.length} SQL modules; only one is allowed.`,
|
|
28
|
+
reference: text_1.References.Modules,
|
|
32
29
|
level: 'error',
|
|
33
|
-
...(0, utils_1.findPosition)('
|
|
30
|
+
...(0, utils_1.findPosition)('sql', manifest.yamlContentByLine)
|
|
34
31
|
});
|
|
35
32
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
if (entity.indexes) {
|
|
47
|
-
const { indexes } = entity;
|
|
48
|
-
if (indexes.length > this.entityIndexesMaxCount) {
|
|
33
|
+
}
|
|
34
|
+
return validationErrors;
|
|
35
|
+
}
|
|
36
|
+
validateCustomEntities(manifest) {
|
|
37
|
+
const validationErrors = [];
|
|
38
|
+
const entities = manifest?.typedContent?.app?.storage?.entities;
|
|
39
|
+
if (entities) {
|
|
40
|
+
entities.forEach((entity) => {
|
|
41
|
+
const { name, attributes } = entity;
|
|
42
|
+
if (Object.keys(attributes).length > this.entityAttributesMaxCount) {
|
|
49
43
|
validationErrors.push({
|
|
50
|
-
message: text_1.errors.app.storage.entities.
|
|
44
|
+
message: text_1.errors.app.storage.entities.tooManyAttributes(name, this.entityAttributesMaxCount),
|
|
51
45
|
reference: text_1.References.App,
|
|
52
46
|
level: 'error',
|
|
53
47
|
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
54
48
|
});
|
|
55
49
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
indexName.push(index.name);
|
|
65
|
-
indexRange.push(...index.range);
|
|
66
|
-
if (index.partition) {
|
|
67
|
-
indexPartition.push(...index.partition);
|
|
68
|
-
}
|
|
50
|
+
Object.keys(attributes).forEach((attributeKey) => {
|
|
51
|
+
if (attributeKey.length > this.entityAttributeMaxLength) {
|
|
52
|
+
validationErrors.push({
|
|
53
|
+
message: text_1.errors.app.storage.entities.attributeNameTooLong(name, attributeKey, this.entityAttributeMaxLength),
|
|
54
|
+
reference: text_1.References.App,
|
|
55
|
+
level: 'error',
|
|
56
|
+
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
57
|
+
});
|
|
69
58
|
}
|
|
70
59
|
});
|
|
71
|
-
if (
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
reference: text_1.References.App,
|
|
75
|
-
level: 'error',
|
|
76
|
-
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
indexRange.forEach((range) => {
|
|
80
|
-
if (!Object.keys(attributes).length || !attributes[range]) {
|
|
60
|
+
if (entity.indexes) {
|
|
61
|
+
const { indexes } = entity;
|
|
62
|
+
if (indexes.length > this.entityIndexesMaxCount) {
|
|
81
63
|
validationErrors.push({
|
|
82
|
-
message: text_1.errors.app.storage.entities.
|
|
64
|
+
message: text_1.errors.app.storage.entities.tooManyIndexes(name, this.entityIndexesMaxCount),
|
|
83
65
|
reference: text_1.References.App,
|
|
84
66
|
level: 'error',
|
|
85
67
|
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
86
68
|
});
|
|
87
69
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
70
|
+
const indexName = [];
|
|
71
|
+
const indexRange = [];
|
|
72
|
+
const indexPartition = [];
|
|
73
|
+
indexes.forEach((index) => {
|
|
74
|
+
if (typeof index === 'string') {
|
|
75
|
+
indexRange.push(index);
|
|
76
|
+
}
|
|
77
|
+
else if (typeof index === 'object') {
|
|
78
|
+
indexName.push(index.name);
|
|
79
|
+
indexRange.push(...index.range);
|
|
80
|
+
if (index.partition) {
|
|
81
|
+
indexPartition.push(...index.partition);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
if (indexName.find((name) => name === this.reservedIndexName)) {
|
|
91
86
|
validationErrors.push({
|
|
92
|
-
message: text_1.errors.app.storage.entities.
|
|
87
|
+
message: text_1.errors.app.storage.entities.reservedIndexName(name, this.reservedIndexName),
|
|
93
88
|
reference: text_1.References.App,
|
|
94
89
|
level: 'error',
|
|
95
90
|
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
96
91
|
});
|
|
97
92
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
93
|
+
indexRange.forEach((range) => {
|
|
94
|
+
if (!Object.keys(attributes).length || !attributes[range]) {
|
|
95
|
+
validationErrors.push({
|
|
96
|
+
message: text_1.errors.app.storage.entities.invalidIndexRange(name, range),
|
|
97
|
+
reference: text_1.References.App,
|
|
98
|
+
level: 'error',
|
|
99
|
+
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
indexPartition.forEach((partition) => {
|
|
104
|
+
if (!Object.keys(attributes).length || !attributes[partition]) {
|
|
105
|
+
validationErrors.push({
|
|
106
|
+
message: text_1.errors.app.storage.entities.invalidIndexPartition(name, partition),
|
|
107
|
+
reference: text_1.References.App,
|
|
108
|
+
level: 'error',
|
|
109
|
+
...(0, utils_1.findPosition)('entities', manifest.yamlContentByLine)
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return validationErrors;
|
|
106
117
|
}
|
|
107
118
|
}
|
|
108
119
|
exports.StorageValidator = StorageValidator;
|