@forge/manifest 0.0.0-experimental-e1cefc4 → 0.0.0-experimental-29a2cc1
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 +183 -2
- package/out/index.d.ts +1 -0
- package/out/index.d.ts.map +1 -1
- package/out/index.js +1 -0
- package/out/mapping/product-event-to-scope-mapping.json +110 -61
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +0 -2
- package/out/schema/manifest-schema.json +504 -3
- package/out/schema/manifest.d.ts +221 -1
- package/out/scopes/deprecated-shipyard-scopes.json +1 -24
- package/out/scopes/index.d.ts +7 -0
- package/out/scopes/index.d.ts.map +1 -0
- package/out/scopes/index.js +22 -0
- package/out/scopes/shipyard-scopes.json +22 -0
- package/out/text/errors.d.ts +12 -1
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +12 -1
- package/out/types/module-types.d.ts +7 -1
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +7 -1
- package/out/utils/get-all-modules.d.ts +3 -0
- package/out/utils/get-all-modules.d.ts.map +1 -0
- package/out/utils/get-all-modules.js +4 -0
- package/out/utils/index.d.ts +1 -0
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/index.js +1 -0
- package/out/validators/modules-validator.js +2 -2
- package/out/validators/modules-validators/confluence/index.d.ts.map +1 -1
- package/out/validators/modules-validators/confluence/index.js +6 -0
- package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts +4 -0
- package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts.map +1 -0
- package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.js +19 -0
- package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.d.ts +4 -0
- package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.d.ts.map +1 -0
- package/out/validators/modules-validators/confluence/validateCustomContentHierarchy.js +43 -0
- package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts +4 -0
- package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts.map +1 -0
- package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.js +102 -0
- package/out/validators/modules-validators/confluence/validatePropertyUniqueness.d.ts.map +1 -1
- package/out/validators/modules-validators/confluence/validatePropertyUniqueness.js +1 -1
- package/out/validators/modules-validators/confluence/validateSingleProperty.d.ts.map +1 -1
- package/out/validators/modules-validators/jira/{issue-adjustment.d.ts → ui-modifications.d.ts} +2 -2
- package/out/validators/modules-validators/jira/ui-modifications.d.ts.map +1 -0
- package/out/validators/modules-validators/jira/{issue-adjustment.js → ui-modifications.js} +4 -4
- package/out/validators/product-trigger-scopes-validator.d.ts +2 -4
- package/out/validators/product-trigger-scopes-validator.d.ts.map +1 -1
- package/out/validators/product-trigger-scopes-validator.js +7 -21
- package/package.json +2 -1
- package/out/validators/deprecated-permissions-validator.d.ts +0 -7
- package/out/validators/deprecated-permissions-validator.d.ts.map +0 -1
- package/out/validators/deprecated-permissions-validator.js +0 -31
- package/out/validators/modules-validators/jira/issue-adjustment.d.ts.map +0 -1
package/out/schema/manifest.d.ts
CHANGED
|
@@ -68,6 +68,10 @@ export type Handler = string;
|
|
|
68
68
|
*/
|
|
69
69
|
export type Cleanup = boolean;
|
|
70
70
|
export type ComponentTypes = ('APPLICATION' | 'LIBRARY' | 'OTHER' | 'SERVICE')[];
|
|
71
|
+
export type LinkTypes = [
|
|
72
|
+
'chat-channel' | 'document' | 'repository' | 'dashboard' | 'on-call' | 'project' | 'other-link',
|
|
73
|
+
...('chat-channel' | 'document' | 'repository' | 'dashboard' | 'on-call' | 'project' | 'other-link')[]
|
|
74
|
+
];
|
|
71
75
|
export type Scopes = string[];
|
|
72
76
|
export type Scripts = string[];
|
|
73
77
|
export type Styles = 'unsafe-inline'[];
|
|
@@ -247,6 +251,9 @@ export interface Modules {
|
|
|
247
251
|
title: string;
|
|
248
252
|
function: string;
|
|
249
253
|
description?: string;
|
|
254
|
+
refDataSchema?: {
|
|
255
|
+
inputType: string;
|
|
256
|
+
};
|
|
250
257
|
config?: {
|
|
251
258
|
function?: string;
|
|
252
259
|
[k: string]: unknown;
|
|
@@ -267,6 +274,9 @@ export interface Modules {
|
|
|
267
274
|
resource: string;
|
|
268
275
|
resourceUploadId?: string;
|
|
269
276
|
description?: string;
|
|
277
|
+
refDataSchema?: {
|
|
278
|
+
inputType: string;
|
|
279
|
+
};
|
|
270
280
|
config?: {
|
|
271
281
|
function?: string;
|
|
272
282
|
[k: string]: unknown;
|
|
@@ -285,6 +295,9 @@ export interface Modules {
|
|
|
285
295
|
title: string;
|
|
286
296
|
function: string;
|
|
287
297
|
description?: string;
|
|
298
|
+
refDataSchema?: {
|
|
299
|
+
inputType: string;
|
|
300
|
+
};
|
|
288
301
|
config?: {
|
|
289
302
|
function?: string;
|
|
290
303
|
[k: string]: unknown;
|
|
@@ -305,6 +318,9 @@ export interface Modules {
|
|
|
305
318
|
resource: string;
|
|
306
319
|
resourceUploadId?: string;
|
|
307
320
|
description?: string;
|
|
321
|
+
refDataSchema?: {
|
|
322
|
+
inputType: string;
|
|
323
|
+
};
|
|
308
324
|
config?: {
|
|
309
325
|
function?: string;
|
|
310
326
|
[k: string]: unknown;
|
|
@@ -795,6 +811,72 @@ export interface Modules {
|
|
|
795
811
|
}
|
|
796
812
|
)[]
|
|
797
813
|
];
|
|
814
|
+
'confluence:customContent'?: [
|
|
815
|
+
(
|
|
816
|
+
| {
|
|
817
|
+
title: string;
|
|
818
|
+
description?: string;
|
|
819
|
+
icon?: string;
|
|
820
|
+
bodyType?: 'raw' | 'storage';
|
|
821
|
+
supportedContainerTypes: [string, ...string[]];
|
|
822
|
+
supportedChildTypes?: [string, ...string[]];
|
|
823
|
+
supportedSpacePermissions?: ['read' | 'create' | 'delete', ...('read' | 'create' | 'delete')[]];
|
|
824
|
+
indexing?: boolean;
|
|
825
|
+
preventDuplicateTitle?: boolean;
|
|
826
|
+
function: string;
|
|
827
|
+
key: ModuleKeySchema;
|
|
828
|
+
}
|
|
829
|
+
| {
|
|
830
|
+
title: string;
|
|
831
|
+
description?: string;
|
|
832
|
+
icon?: string;
|
|
833
|
+
bodyType?: 'raw' | 'storage';
|
|
834
|
+
supportedContainerTypes: [string, ...string[]];
|
|
835
|
+
supportedChildTypes?: [string, ...string[]];
|
|
836
|
+
supportedSpacePermissions?: ['read' | 'create' | 'delete', ...('read' | 'create' | 'delete')[]];
|
|
837
|
+
indexing?: boolean;
|
|
838
|
+
preventDuplicateTitle?: boolean;
|
|
839
|
+
resolver?: {
|
|
840
|
+
function: string;
|
|
841
|
+
};
|
|
842
|
+
resource: string;
|
|
843
|
+
resourceUploadId?: string;
|
|
844
|
+
key: ModuleKeySchema;
|
|
845
|
+
}
|
|
846
|
+
),
|
|
847
|
+
...(
|
|
848
|
+
| {
|
|
849
|
+
title: string;
|
|
850
|
+
description?: string;
|
|
851
|
+
icon?: string;
|
|
852
|
+
bodyType?: 'raw' | 'storage';
|
|
853
|
+
supportedContainerTypes: [string, ...string[]];
|
|
854
|
+
supportedChildTypes?: [string, ...string[]];
|
|
855
|
+
supportedSpacePermissions?: ['read' | 'create' | 'delete', ...('read' | 'create' | 'delete')[]];
|
|
856
|
+
indexing?: boolean;
|
|
857
|
+
preventDuplicateTitle?: boolean;
|
|
858
|
+
function: string;
|
|
859
|
+
key: ModuleKeySchema;
|
|
860
|
+
}
|
|
861
|
+
| {
|
|
862
|
+
title: string;
|
|
863
|
+
description?: string;
|
|
864
|
+
icon?: string;
|
|
865
|
+
bodyType?: 'raw' | 'storage';
|
|
866
|
+
supportedContainerTypes: [string, ...string[]];
|
|
867
|
+
supportedChildTypes?: [string, ...string[]];
|
|
868
|
+
supportedSpacePermissions?: ['read' | 'create' | 'delete', ...('read' | 'create' | 'delete')[]];
|
|
869
|
+
indexing?: boolean;
|
|
870
|
+
preventDuplicateTitle?: boolean;
|
|
871
|
+
resolver?: {
|
|
872
|
+
function: string;
|
|
873
|
+
};
|
|
874
|
+
resource: string;
|
|
875
|
+
resourceUploadId?: string;
|
|
876
|
+
key: ModuleKeySchema;
|
|
877
|
+
}
|
|
878
|
+
)[]
|
|
879
|
+
];
|
|
798
880
|
'jira:workflowValidator'?: [
|
|
799
881
|
{
|
|
800
882
|
name: string;
|
|
@@ -1367,7 +1449,7 @@ export interface Modules {
|
|
|
1367
1449
|
}
|
|
1368
1450
|
)[]
|
|
1369
1451
|
];
|
|
1370
|
-
'jira:
|
|
1452
|
+
'jira:uiModifications'?: [
|
|
1371
1453
|
{
|
|
1372
1454
|
title: string;
|
|
1373
1455
|
resolver?: {
|
|
@@ -2211,6 +2293,70 @@ export interface Modules {
|
|
|
2211
2293
|
[k: string]: unknown;
|
|
2212
2294
|
}[]
|
|
2213
2295
|
];
|
|
2296
|
+
'jira:dashboardBackgroundScript'?: [
|
|
2297
|
+
{
|
|
2298
|
+
resource: string;
|
|
2299
|
+
resolver?: {
|
|
2300
|
+
function: string;
|
|
2301
|
+
};
|
|
2302
|
+
displayConditions?: {
|
|
2303
|
+
[k: string]: unknown;
|
|
2304
|
+
};
|
|
2305
|
+
key: ModuleKeySchema;
|
|
2306
|
+
[k: string]: unknown;
|
|
2307
|
+
},
|
|
2308
|
+
...{
|
|
2309
|
+
resource: string;
|
|
2310
|
+
resolver?: {
|
|
2311
|
+
function: string;
|
|
2312
|
+
};
|
|
2313
|
+
displayConditions?: {
|
|
2314
|
+
[k: string]: unknown;
|
|
2315
|
+
};
|
|
2316
|
+
key: ModuleKeySchema;
|
|
2317
|
+
[k: string]: unknown;
|
|
2318
|
+
}[]
|
|
2319
|
+
];
|
|
2320
|
+
'jira:workflowPostFunction'?: [
|
|
2321
|
+
{
|
|
2322
|
+
name: string;
|
|
2323
|
+
description: string;
|
|
2324
|
+
function: string;
|
|
2325
|
+
view?: {
|
|
2326
|
+
resource: string;
|
|
2327
|
+
[k: string]: unknown;
|
|
2328
|
+
};
|
|
2329
|
+
edit?: {
|
|
2330
|
+
resource: string;
|
|
2331
|
+
[k: string]: unknown;
|
|
2332
|
+
};
|
|
2333
|
+
create?: {
|
|
2334
|
+
resource: string;
|
|
2335
|
+
[k: string]: unknown;
|
|
2336
|
+
};
|
|
2337
|
+
key: ModuleKeySchema;
|
|
2338
|
+
[k: string]: unknown;
|
|
2339
|
+
},
|
|
2340
|
+
...{
|
|
2341
|
+
name: string;
|
|
2342
|
+
description: string;
|
|
2343
|
+
function: string;
|
|
2344
|
+
view?: {
|
|
2345
|
+
resource: string;
|
|
2346
|
+
[k: string]: unknown;
|
|
2347
|
+
};
|
|
2348
|
+
edit?: {
|
|
2349
|
+
resource: string;
|
|
2350
|
+
[k: string]: unknown;
|
|
2351
|
+
};
|
|
2352
|
+
create?: {
|
|
2353
|
+
resource: string;
|
|
2354
|
+
[k: string]: unknown;
|
|
2355
|
+
};
|
|
2356
|
+
key: ModuleKeySchema;
|
|
2357
|
+
[k: string]: unknown;
|
|
2358
|
+
}[]
|
|
2359
|
+
];
|
|
2214
2360
|
'compass:adminPage'?: [
|
|
2215
2361
|
(
|
|
2216
2362
|
| {
|
|
@@ -2375,6 +2521,28 @@ export interface Modules {
|
|
|
2375
2521
|
}
|
|
2376
2522
|
)[]
|
|
2377
2523
|
];
|
|
2524
|
+
'compass:dataProvider'?: [
|
|
2525
|
+
{
|
|
2526
|
+
domains: [string, ...string[]];
|
|
2527
|
+
linkTypes: LinkTypes;
|
|
2528
|
+
function: string;
|
|
2529
|
+
callback?: {
|
|
2530
|
+
function: string;
|
|
2531
|
+
[k: string]: unknown;
|
|
2532
|
+
};
|
|
2533
|
+
key: ModuleKeySchema;
|
|
2534
|
+
},
|
|
2535
|
+
...{
|
|
2536
|
+
domains: [string, ...string[]];
|
|
2537
|
+
linkTypes: LinkTypes;
|
|
2538
|
+
function: string;
|
|
2539
|
+
callback?: {
|
|
2540
|
+
function: string;
|
|
2541
|
+
[k: string]: unknown;
|
|
2542
|
+
};
|
|
2543
|
+
key: ModuleKeySchema;
|
|
2544
|
+
}[]
|
|
2545
|
+
];
|
|
2378
2546
|
'jiraServiceManagement:queuePage'?: [
|
|
2379
2547
|
(
|
|
2380
2548
|
| {
|
|
@@ -2837,6 +3005,58 @@ export interface Modules {
|
|
|
2837
3005
|
}
|
|
2838
3006
|
)[]
|
|
2839
3007
|
];
|
|
3008
|
+
'jiraServiceManagement:portalUserMenuAction'?: [
|
|
3009
|
+
(
|
|
3010
|
+
| {
|
|
3011
|
+
title: string;
|
|
3012
|
+
function: string;
|
|
3013
|
+
displayConditions?: {
|
|
3014
|
+
[k: string]: unknown;
|
|
3015
|
+
};
|
|
3016
|
+
key: ModuleKeySchema;
|
|
3017
|
+
[k: string]: unknown;
|
|
3018
|
+
}
|
|
3019
|
+
| {
|
|
3020
|
+
title: string;
|
|
3021
|
+
resolver?: {
|
|
3022
|
+
function: string;
|
|
3023
|
+
};
|
|
3024
|
+
resource: string;
|
|
3025
|
+
resourceUploadId?: string;
|
|
3026
|
+
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
3027
|
+
displayConditions?: {
|
|
3028
|
+
[k: string]: unknown;
|
|
3029
|
+
};
|
|
3030
|
+
key: ModuleKeySchema;
|
|
3031
|
+
[k: string]: unknown;
|
|
3032
|
+
}
|
|
3033
|
+
),
|
|
3034
|
+
...(
|
|
3035
|
+
| {
|
|
3036
|
+
title: string;
|
|
3037
|
+
function: string;
|
|
3038
|
+
displayConditions?: {
|
|
3039
|
+
[k: string]: unknown;
|
|
3040
|
+
};
|
|
3041
|
+
key: ModuleKeySchema;
|
|
3042
|
+
[k: string]: unknown;
|
|
3043
|
+
}
|
|
3044
|
+
| {
|
|
3045
|
+
title: string;
|
|
3046
|
+
resolver?: {
|
|
3047
|
+
function: string;
|
|
3048
|
+
};
|
|
3049
|
+
resource: string;
|
|
3050
|
+
resourceUploadId?: string;
|
|
3051
|
+
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
3052
|
+
displayConditions?: {
|
|
3053
|
+
[k: string]: unknown;
|
|
3054
|
+
};
|
|
3055
|
+
key: ModuleKeySchema;
|
|
3056
|
+
[k: string]: unknown;
|
|
3057
|
+
}
|
|
3058
|
+
)[]
|
|
3059
|
+
];
|
|
2840
3060
|
'connect-jira:keyboardShortcuts'?: [
|
|
2841
3061
|
{
|
|
2842
3062
|
shortcut?: string;
|
|
@@ -1,24 +1 @@
|
|
|
1
|
-
[
|
|
2
|
-
"manage:confluence-configuration",
|
|
3
|
-
"manage:jira-configuration",
|
|
4
|
-
"manage:jira-data-provider",
|
|
5
|
-
"manage:jira-project",
|
|
6
|
-
"manage:jira-webhook",
|
|
7
|
-
"read:confluence-content.all",
|
|
8
|
-
"read:confluence-content.permission",
|
|
9
|
-
"read:confluence-content.summary",
|
|
10
|
-
"read:confluence-groups",
|
|
11
|
-
"read:confluence-props",
|
|
12
|
-
"read:confluence-space.summary",
|
|
13
|
-
"read:confluence-user",
|
|
14
|
-
"read:jira-user",
|
|
15
|
-
"read:jira-work",
|
|
16
|
-
"readonly:content.attachment:confluence",
|
|
17
|
-
"search:confluence",
|
|
18
|
-
"write:confluence-content",
|
|
19
|
-
"write:confluence-file",
|
|
20
|
-
"write:confluence-groups",
|
|
21
|
-
"write:confluence-props",
|
|
22
|
-
"write:confluence-space",
|
|
23
|
-
"write:jira-work"
|
|
24
|
-
]
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,QAAQ,EAAE,cAAc,GAAG,MAAM,EAAE,CAoBnG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMissingScopes = void 0;
|
|
4
|
+
function getMissingScopes(existing, required) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
if (!(existing === null || existing === void 0 ? void 0 : existing.length)) {
|
|
7
|
+
return required.current;
|
|
8
|
+
}
|
|
9
|
+
if (required.current.length === 0)
|
|
10
|
+
return [];
|
|
11
|
+
const missingCurrent = required.current.filter((scope) => !(existing === null || existing === void 0 ? void 0 : existing.includes(scope)));
|
|
12
|
+
if (missingCurrent.length === 0)
|
|
13
|
+
return [];
|
|
14
|
+
const missingBeta = (_a = required.beta) === null || _a === void 0 ? void 0 : _a.filter((scope) => !(existing === null || existing === void 0 ? void 0 : existing.includes(scope)));
|
|
15
|
+
if (required.beta && (missingBeta === null || missingBeta === void 0 ? void 0 : missingBeta.length) === 0)
|
|
16
|
+
return [];
|
|
17
|
+
const missingDeprecated = (_b = required.deprecated) === null || _b === void 0 ? void 0 : _b.filter((scope) => !(existing === null || existing === void 0 ? void 0 : existing.includes(scope)));
|
|
18
|
+
if (required.deprecated && (missingDeprecated === null || missingDeprecated === void 0 ? void 0 : missingDeprecated.length) === 0)
|
|
19
|
+
return [];
|
|
20
|
+
return missingCurrent;
|
|
21
|
+
}
|
|
22
|
+
exports.getMissingScopes = getMissingScopes;
|
|
@@ -76,6 +76,11 @@
|
|
|
76
76
|
"delete:workflow-scheme:jira",
|
|
77
77
|
"delete:workflow:jira",
|
|
78
78
|
"delete:workflow.property:jira",
|
|
79
|
+
"manage:confluence-configuration",
|
|
80
|
+
"manage:jira-configuration",
|
|
81
|
+
"manage:jira-data-provider",
|
|
82
|
+
"manage:jira-project",
|
|
83
|
+
"manage:jira-webhook",
|
|
79
84
|
"manage:servicedesk-customer",
|
|
80
85
|
"project-admin:connect-jira",
|
|
81
86
|
"read:account",
|
|
@@ -96,6 +101,13 @@
|
|
|
96
101
|
"read:comment.property:jira",
|
|
97
102
|
"read:component:compass",
|
|
98
103
|
"read:configuration:confluence",
|
|
104
|
+
"read:confluence-content.all",
|
|
105
|
+
"read:confluence-content.permission",
|
|
106
|
+
"read:confluence-content.summary",
|
|
107
|
+
"read:confluence-groups",
|
|
108
|
+
"read:confluence-props",
|
|
109
|
+
"read:confluence-space.summary",
|
|
110
|
+
"read:confluence-user",
|
|
99
111
|
"read:connect-confluence",
|
|
100
112
|
"read:connect-jira",
|
|
101
113
|
"read:content-details:confluence",
|
|
@@ -158,6 +170,8 @@
|
|
|
158
170
|
"read:issue.votes:jira",
|
|
159
171
|
"read:issue.watcher:jira",
|
|
160
172
|
"read:jira-expressions:jira",
|
|
173
|
+
"read:jira-user",
|
|
174
|
+
"read:jira-work",
|
|
161
175
|
"read:jql:jira",
|
|
162
176
|
"read:knowledgebase:jira-service-management",
|
|
163
177
|
"read:label:confluence",
|
|
@@ -233,7 +247,9 @@
|
|
|
233
247
|
"read:workflow-scheme:jira",
|
|
234
248
|
"read:workflow:jira",
|
|
235
249
|
"read:workflow.property:jira",
|
|
250
|
+
"readonly:content.attachment:confluence",
|
|
236
251
|
"report:personal-data",
|
|
252
|
+
"search:confluence",
|
|
237
253
|
"send:notification:jira",
|
|
238
254
|
"space-admin:connect-confluence",
|
|
239
255
|
"storage:app",
|
|
@@ -252,6 +268,11 @@
|
|
|
252
268
|
"write:comment.property:jira",
|
|
253
269
|
"write:component:compass",
|
|
254
270
|
"write:configuration:confluence",
|
|
271
|
+
"write:confluence-content",
|
|
272
|
+
"write:confluence-file",
|
|
273
|
+
"write:confluence-groups",
|
|
274
|
+
"write:confluence-props",
|
|
275
|
+
"write:confluence-space",
|
|
255
276
|
"write:connect-confluence",
|
|
256
277
|
"write:connect-jira",
|
|
257
278
|
"write:content:confluence",
|
|
@@ -297,6 +318,7 @@
|
|
|
297
318
|
"write:issue.time-tracking:jira",
|
|
298
319
|
"write:issue.vote:jira",
|
|
299
320
|
"write:issue.watcher:jira",
|
|
321
|
+
"write:jira-work",
|
|
300
322
|
"write:label:confluence",
|
|
301
323
|
"write:metric:compass",
|
|
302
324
|
"write:organization:jira-service-management",
|
package/out/text/errors.d.ts
CHANGED
|
@@ -35,7 +35,18 @@ export declare const errors: {
|
|
|
35
35
|
};
|
|
36
36
|
confluence: {
|
|
37
37
|
multipleProperty: (property: string, moduleKey: string, keys: string[]) => string;
|
|
38
|
-
|
|
38
|
+
propertyUniqueness: (property: string, moduleKey: string, keys: string[]) => string;
|
|
39
|
+
crossModulePropertyUniqueness: (property: string, keys: string[]) => string;
|
|
40
|
+
validateCustomContentHierarchyUnknown: (property: string, moduleKey: string, unknownKey: string) => string;
|
|
41
|
+
validateCustomContentCrossReferenceMissingContainer: (moduleKey: string, referredModuleKey: string) => string;
|
|
42
|
+
validateCustomContentCrossReferenceMissingChild: (moduleKey: string, referredModuleKey: string) => string;
|
|
43
|
+
keyboardShortcuts: {
|
|
44
|
+
emptyAccelerator: () => string;
|
|
45
|
+
spaceAroundAccelerator: (accelerator: string) => string;
|
|
46
|
+
invalidPlusSyntax: (accelerator: string) => string;
|
|
47
|
+
invalidAcceleratorCombination: (accelerator: string) => string;
|
|
48
|
+
invalidKey: (accelerator: string, key: string) => string;
|
|
49
|
+
};
|
|
39
50
|
};
|
|
40
51
|
jiraWorkflowValidator: {
|
|
41
52
|
missingProperty: (key: string) => string;
|
package/out/text/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/text/errors.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;8BACS,MAAM,KAAG,MAAM;2BACpB,MAAM;yBAEN,MAAM,GAAG,SAAS,QAAQ,MAAM,EAAE,UAAU,MAAM,GAAG,SAAS,KAAG,MAAM;;uBAO3E,MAAM,EAAE,EAAE,GAAG,SAAS,KAAG,MAAM;4BAI1B,MAAM,EAAE,KAAG,MAAM;mCACV,MAAM,SAAS,MAAM,0CAA4B,MAAM;mD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AAM,UAAU,MAAM,KAAG,MAAM;gCAEjC,MAAM,KAAG,MAAM;2CAEJ,MAAM,eAAe,MAAM,KAAG,MAAM;;;uCAI1C,MAAM;uCAEJ,MAAM,KAAG,MAAM;qCAEnB,MAAM;;CAGpC,CAAC;AAEF,oBAAY,UAAU;IACpB,eAAe,2BAA2B;IAC1C,eAAe,wBAAwB;IACvC,WAAW,4BAA4B;IACvC,WAAW,+BAA+B;IAC1C,aAAa,8BAA8B;IAC3C,OAAO,0BAA0B;IACjC,cAAc,kCAAkC;IAChD,mBAAmB,0BAA0B;IAC7C,SAAS,4BAA4B;IACrC,SAAS,4BAA4B;IACrC,UAAU,wBAAwB;IAClC,GAAG,8BAA8B;CAClC"}
|
package/out/text/errors.js
CHANGED
|
@@ -47,7 +47,18 @@ exports.errors = {
|
|
|
47
47
|
},
|
|
48
48
|
confluence: {
|
|
49
49
|
multipleProperty: (property, moduleKey, keys) => `There can be only 1 ${moduleKey} module which designates "${property}": true. Modules containing designation: ${keys.join(', ')}`,
|
|
50
|
-
|
|
50
|
+
propertyUniqueness: (property, moduleKey, keys) => `${property} should be unique across all ${moduleKey} modules. Found duplicates: ${keys.join(', ')}`,
|
|
51
|
+
crossModulePropertyUniqueness: (property, keys) => `${property} should be unique across all modules. Found duplicates: ${keys.join(', ')}`,
|
|
52
|
+
validateCustomContentHierarchyUnknown: (property, moduleKey, unknownKey) => `${property} of the "${moduleKey}" module refers to unknown key: ${unknownKey}`,
|
|
53
|
+
validateCustomContentCrossReferenceMissingContainer: (moduleKey, referredModuleKey) => `supportedContainerTypes of the "${moduleKey}" module refers to "${referredModuleKey}" module. "${referredModuleKey}" module must include "${moduleKey}" in supportedChildTypes`,
|
|
54
|
+
validateCustomContentCrossReferenceMissingChild: (moduleKey, referredModuleKey) => `supportedChildTypes of the "${moduleKey}" module refers to "${referredModuleKey}" module. "${referredModuleKey}" module must include "${moduleKey}" in supportedContainerTypes`,
|
|
55
|
+
keyboardShortcuts: {
|
|
56
|
+
emptyAccelerator: () => 'Keyboard shortcut accelerator must be defined and not be an empty string.',
|
|
57
|
+
spaceAroundAccelerator: (accelerator) => `Keyboard shortcut accelerator must not have surrounding empty spaces. Accelerator issue found: [${accelerator}]`,
|
|
58
|
+
invalidPlusSyntax: (accelerator) => `Keyboard shortcut accelerator must not be single "+" character or have empty spaces on left or right of "+" character. Accelerator issue found: [${accelerator}]`,
|
|
59
|
+
invalidAcceleratorCombination: (accelerator) => `Keyboard shortcut accelerator combinations must have unique keys when joined with "+". Accelerator issue found: [${accelerator}]`,
|
|
60
|
+
invalidKey: (accelerator, key) => `Keyboard shortcut accelerator key must be a valid named key, i.e. ctrl, command, or a single key. Accelerator issue found: [${accelerator}] with invalid key: [${key}]`
|
|
61
|
+
}
|
|
51
62
|
},
|
|
52
63
|
jiraWorkflowValidator: {
|
|
53
64
|
missingProperty: (key) => `${types_1.AllModuleTypes.JiraWorkflowValidator} module '${key}' must have either a function or expression.`,
|
|
@@ -8,6 +8,7 @@ export declare enum AllModuleTypes {
|
|
|
8
8
|
ConfluenceContentAction = "confluence:contentAction",
|
|
9
9
|
ConfluenceContentBylineItem = "confluence:contentBylineItem",
|
|
10
10
|
ConfluenceContextMenu = "confluence:contextMenu",
|
|
11
|
+
ConfluenceCustomContent = "confluence:customContent",
|
|
11
12
|
ConfluenceGlobalSettings = "confluence:globalSettings",
|
|
12
13
|
ConfluenceGlobalPage = "confluence:globalPage",
|
|
13
14
|
ConfluenceHomepageFeed = "confluence:homepageFeed",
|
|
@@ -16,11 +17,12 @@ export declare enum AllModuleTypes {
|
|
|
16
17
|
JiraEntityProperty = "jira:entityProperty",
|
|
17
18
|
JiraWorkflowValidator = "jira:workflowValidator",
|
|
18
19
|
JiraWorkflowCondition = "jira:workflowCondition",
|
|
20
|
+
JiraWorkflowPostFunction = "jira:workflowPostFunction",
|
|
19
21
|
JiraCustomField = "jira:customField",
|
|
20
22
|
JiraCustomFieldType = "jira:customFieldType",
|
|
21
23
|
JiraIssueAction = "jira:issueAction",
|
|
22
24
|
JiraIssueActivity = "jira:issueActivity",
|
|
23
|
-
|
|
25
|
+
JiraUiModifications = "jira:uiModifications",
|
|
24
26
|
JiraIssueGlance = "jira:issueGlance",
|
|
25
27
|
JiraIssuePanel = "jira:issuePanel",
|
|
26
28
|
JiraAdminPage = "jira:adminPage",
|
|
@@ -28,10 +30,12 @@ export declare enum AllModuleTypes {
|
|
|
28
30
|
JiraProjectSettingsPage = "jira:projectSettingsPage",
|
|
29
31
|
JiraGlobalPage = "jira:globalPage",
|
|
30
32
|
JiraDashboardGadget = "jira:dashboardGadget",
|
|
33
|
+
JiraDashboardBackgroundScript = "jira:dashboardBackgroundScript",
|
|
31
34
|
CompassAdminPage = "compass:adminPage",
|
|
32
35
|
CompassComponentPage = "compass:componentPage",
|
|
33
36
|
CompassGlobalPage = "compass:globalPage",
|
|
34
37
|
CompassTeamPage = "compass:teamPage",
|
|
38
|
+
CompassDataProvider = "compass:dataProvider",
|
|
35
39
|
JiraServiceManagementQueuePage = "jiraServiceManagement:queuePage",
|
|
36
40
|
JiraServiceManagementPortalRequestDetail = "jiraServiceManagement:portalRequestDetail",
|
|
37
41
|
JiraServiceManagementPortalRequestDetailPanel = "jiraServiceManagement:portalRequestDetailPanel",
|
|
@@ -40,6 +44,8 @@ export declare enum AllModuleTypes {
|
|
|
40
44
|
JiraServiceManagementPortalSubheader = "jiraServiceManagement:portalSubheader",
|
|
41
45
|
JiraServiceManagementPortalFooter = "jiraServiceManagement:portalFooter",
|
|
42
46
|
JiraServiceManagementPortalProfilePanel = "jiraServiceManagement:portalProfilePanel",
|
|
47
|
+
JiraServiceManagementPortalRequestViewAction = "jiraServiceManagement:portalRequestViewAction",
|
|
48
|
+
JiraServiceManagementPortalUserMenuAction = "jiraServiceManagement:portalUserMenuAction",
|
|
43
49
|
ConnectJiraAdminPages = "connect-jira:adminPages",
|
|
44
50
|
ConnectJiraJiraBackgroundScripts = "connect-jira:jiraBackgroundScripts",
|
|
45
51
|
ConnectJiraGeneralPages = "connect-jira:generalPages",
|
|
@@ -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,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,kBAAkB,wBAAwB;IAC1C,qBAAqB,2BAA2B;IAChD,qBAAqB,2BAA2B;IAChD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;
|
|
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,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IAC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AmD;IAC/F,iCAAiC,wCAAwC;IACzE,mCAAmC,0CAA0C;IAC7E,8BAA8B,qCAAqC;IACnE,wBAAwB,+BAA+B;IACvD,qCAAqC,4CAA4C;IACjF,6BAA6B,oCAAoC;IACjE,kCAAkC,yCAAyC;IAC3E,gCAAgC,uCAAuC;IACvE,+BAA+B,sCAAsC;IACrE,oCAAoC,2CAA2C;IAC/E,yBAAyB,gCAAgC;IACzD,0BAA0B,iCAAiC;IAC3D,4BAA4B,mCAAmC;IAC/D,yBAAyB,gCAAgC;IACzD,wBAAwB,+BAA+B;IACvD,kBAAkB,yBAAyB;IAC3C,gCAAgC,uCAAuC;IACvE,qCAAqC,4CAA4C;IACjF,8BAA8B,qCAAqC;IACnE,+BAA+B,sCAAsC;IACrE,sCAAsC,6CAA6C;IACnF,4BAA4B,mCAAmC;IAC/D,6BAA6B,oCAAoC;IACjE,yBAAyB,gCAAgC;IACzD,2BAA2B,kCAAkC;IAC7D,iCAAiC,wCAAwC;IACzE,sBAAsB,6BAA6B;IACnD,iCAAiC,wCAAwC;IACzE,oCAAoC,2CAA2C;IAC/E,iCAAiC,wCAAwC;IACzE,0BAA0B,iCAAiC;IAC3D,oBAAoB,2BAA2B;IAC/C,sBAAsB,6BAA6B;IACnD,mBAAmB,0BAA0B;IAC7C,0BAA0B,iCAAiC;CAC5D;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
|
|
@@ -12,6 +12,7 @@ var AllModuleTypes;
|
|
|
12
12
|
AllModuleTypes["ConfluenceContentAction"] = "confluence:contentAction";
|
|
13
13
|
AllModuleTypes["ConfluenceContentBylineItem"] = "confluence:contentBylineItem";
|
|
14
14
|
AllModuleTypes["ConfluenceContextMenu"] = "confluence:contextMenu";
|
|
15
|
+
AllModuleTypes["ConfluenceCustomContent"] = "confluence:customContent";
|
|
15
16
|
AllModuleTypes["ConfluenceGlobalSettings"] = "confluence:globalSettings";
|
|
16
17
|
AllModuleTypes["ConfluenceGlobalPage"] = "confluence:globalPage";
|
|
17
18
|
AllModuleTypes["ConfluenceHomepageFeed"] = "confluence:homepageFeed";
|
|
@@ -20,11 +21,12 @@ var AllModuleTypes;
|
|
|
20
21
|
AllModuleTypes["JiraEntityProperty"] = "jira:entityProperty";
|
|
21
22
|
AllModuleTypes["JiraWorkflowValidator"] = "jira:workflowValidator";
|
|
22
23
|
AllModuleTypes["JiraWorkflowCondition"] = "jira:workflowCondition";
|
|
24
|
+
AllModuleTypes["JiraWorkflowPostFunction"] = "jira:workflowPostFunction";
|
|
23
25
|
AllModuleTypes["JiraCustomField"] = "jira:customField";
|
|
24
26
|
AllModuleTypes["JiraCustomFieldType"] = "jira:customFieldType";
|
|
25
27
|
AllModuleTypes["JiraIssueAction"] = "jira:issueAction";
|
|
26
28
|
AllModuleTypes["JiraIssueActivity"] = "jira:issueActivity";
|
|
27
|
-
AllModuleTypes["
|
|
29
|
+
AllModuleTypes["JiraUiModifications"] = "jira:uiModifications";
|
|
28
30
|
AllModuleTypes["JiraIssueGlance"] = "jira:issueGlance";
|
|
29
31
|
AllModuleTypes["JiraIssuePanel"] = "jira:issuePanel";
|
|
30
32
|
AllModuleTypes["JiraAdminPage"] = "jira:adminPage";
|
|
@@ -32,10 +34,12 @@ var AllModuleTypes;
|
|
|
32
34
|
AllModuleTypes["JiraProjectSettingsPage"] = "jira:projectSettingsPage";
|
|
33
35
|
AllModuleTypes["JiraGlobalPage"] = "jira:globalPage";
|
|
34
36
|
AllModuleTypes["JiraDashboardGadget"] = "jira:dashboardGadget";
|
|
37
|
+
AllModuleTypes["JiraDashboardBackgroundScript"] = "jira:dashboardBackgroundScript";
|
|
35
38
|
AllModuleTypes["CompassAdminPage"] = "compass:adminPage";
|
|
36
39
|
AllModuleTypes["CompassComponentPage"] = "compass:componentPage";
|
|
37
40
|
AllModuleTypes["CompassGlobalPage"] = "compass:globalPage";
|
|
38
41
|
AllModuleTypes["CompassTeamPage"] = "compass:teamPage";
|
|
42
|
+
AllModuleTypes["CompassDataProvider"] = "compass:dataProvider";
|
|
39
43
|
AllModuleTypes["JiraServiceManagementQueuePage"] = "jiraServiceManagement:queuePage";
|
|
40
44
|
AllModuleTypes["JiraServiceManagementPortalRequestDetail"] = "jiraServiceManagement:portalRequestDetail";
|
|
41
45
|
AllModuleTypes["JiraServiceManagementPortalRequestDetailPanel"] = "jiraServiceManagement:portalRequestDetailPanel";
|
|
@@ -44,6 +48,8 @@ var AllModuleTypes;
|
|
|
44
48
|
AllModuleTypes["JiraServiceManagementPortalSubheader"] = "jiraServiceManagement:portalSubheader";
|
|
45
49
|
AllModuleTypes["JiraServiceManagementPortalFooter"] = "jiraServiceManagement:portalFooter";
|
|
46
50
|
AllModuleTypes["JiraServiceManagementPortalProfilePanel"] = "jiraServiceManagement:portalProfilePanel";
|
|
51
|
+
AllModuleTypes["JiraServiceManagementPortalRequestViewAction"] = "jiraServiceManagement:portalRequestViewAction";
|
|
52
|
+
AllModuleTypes["JiraServiceManagementPortalUserMenuAction"] = "jiraServiceManagement:portalUserMenuAction";
|
|
47
53
|
AllModuleTypes["ConnectJiraAdminPages"] = "connect-jira:adminPages";
|
|
48
54
|
AllModuleTypes["ConnectJiraJiraBackgroundScripts"] = "connect-jira:jiraBackgroundScripts";
|
|
49
55
|
AllModuleTypes["ConnectJiraGeneralPages"] = "connect-jira:generalPages";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-all-modules.d.ts","sourceRoot":"","sources":["../../src/utils/get-all-modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,eAAO,MAAM,aAAa,eAAgB,OAAO,KAAG,GAAG,EACqD,CAAC"}
|
package/out/utils/index.d.ts
CHANGED
package/out/utils/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
|
package/out/utils/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./get-all-modules"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./line-finder"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./module-key-cleaner"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./module-references"), exports);
|
|
@@ -6,7 +6,7 @@ const utils_1 = require("../utils");
|
|
|
6
6
|
const text_1 = require("../text");
|
|
7
7
|
const fs_1 = require("fs");
|
|
8
8
|
const path_1 = require("path");
|
|
9
|
-
const
|
|
9
|
+
const ui_modifications_1 = require("./modules-validators/jira/ui-modifications");
|
|
10
10
|
const confluence_1 = require("./modules-validators/confluence");
|
|
11
11
|
class ModulesValidator {
|
|
12
12
|
constructor() {
|
|
@@ -92,7 +92,7 @@ class ModulesValidator {
|
|
|
92
92
|
validationErrors.push(Object.assign({ message: text_1.errors.modules.jiraWorkflowCondition.missingExpression(module.key), reference: text_1.References.Modules, level: 'error' }, utils_1.findPosition(module.key, yamlContentByLine)));
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
|
-
validationErrors.push(...
|
|
95
|
+
validationErrors.push(...ui_modifications_1.validateUiModificationsModule(modules, yamlContentByLine));
|
|
96
96
|
[
|
|
97
97
|
types_1.AllModuleTypes.JiraAdminPage,
|
|
98
98
|
types_1.AllModuleTypes.JiraProjectPage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/confluence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/confluence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAYjE,eAAO,MAAM,yBAAyB,YAAa,OAAO,+CAAiC,eAAe,EA8BzG,CAAC"}
|
|
@@ -4,9 +4,13 @@ exports.validateConfluenceModules = void 0;
|
|
|
4
4
|
const types_1 = require("../../../types");
|
|
5
5
|
const validateSingleProperty_1 = require("./validateSingleProperty");
|
|
6
6
|
const validatePropertyUniqueness_1 = require("./validatePropertyUniqueness");
|
|
7
|
+
const validateKeyboardShortcuts_1 = require("./validateKeyboardShortcuts");
|
|
8
|
+
const validateCrossModulePropertyUniqueness_1 = require("./validateCrossModulePropertyUniqueness");
|
|
9
|
+
const validateCustomContentHierarchy_1 = require("./validateCustomContentHierarchy");
|
|
7
10
|
const ROUTE = 'route';
|
|
8
11
|
const USE_AS_CONFIG = 'useAsConfig';
|
|
9
12
|
const USE_AS_GET_STARTED = 'useAsGetStarted';
|
|
13
|
+
const KEYBOARD_SHORTCUT_ACCELERATOR = 'keyboardShortcut.accelerator';
|
|
10
14
|
exports.validateConfluenceModules = (modules, yamlContentByLine) => {
|
|
11
15
|
const validationErrors = [];
|
|
12
16
|
[
|
|
@@ -18,5 +22,7 @@ exports.validateConfluenceModules = (modules, yamlContentByLine) => {
|
|
|
18
22
|
});
|
|
19
23
|
validationErrors.push(...validateSingleProperty_1.validateSingleProperty(modules, types_1.AllModuleTypes.ConfluenceGlobalSettings, USE_AS_CONFIG, yamlContentByLine));
|
|
20
24
|
validationErrors.push(...validateSingleProperty_1.validateSingleProperty(modules, types_1.AllModuleTypes.ConfluenceGlobalSettings, USE_AS_GET_STARTED, yamlContentByLine));
|
|
25
|
+
validationErrors.push(...validateCustomContentHierarchy_1.validateCustomContentHierarchy(modules, types_1.AllModuleTypes.ConfluenceCustomContent, yamlContentByLine));
|
|
26
|
+
validationErrors.push(...validateCrossModulePropertyUniqueness_1.validateCrossModulePropertyUniqueness(modules, KEYBOARD_SHORTCUT_ACCELERATOR, yamlContentByLine), ...validateKeyboardShortcuts_1.validateKeyboardShortcuts(modules, yamlContentByLine));
|
|
21
27
|
return validationErrors;
|
|
22
28
|
};
|
package/out/validators/modules-validators/confluence/validateCrossModulePropertyUniqueness.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ValidationError } from '../../../types';
|
|
2
|
+
import { Modules } from '../../../schema/manifest';
|
|
3
|
+
export declare const validateCrossModulePropertyUniqueness: (allModules: Modules, property: string, yamlContentByLine?: string[] | undefined) => ValidationError[];
|
|
4
|
+
//# sourceMappingURL=validateCrossModulePropertyUniqueness.d.ts.map
|