@forge/manifest 2.6.0-next.13 → 2.6.0-next.17
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 +24 -0
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +1 -0
- package/out/schema/basic-manifest-schema.json +9 -0
- package/out/schema/basic-manifest.d.ts +4 -0
- package/out/schema/manifest-schema.json +371 -348
- package/out/schema/manifest.d.ts +559 -415
- package/out/text/errors.d.ts +1 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +2 -1
- package/out/validators/connect-authentication-validator.d.ts +7 -0
- package/out/validators/connect-authentication-validator.d.ts.map +1 -0
- package/out/validators/connect-authentication-validator.js +27 -0
- package/out/validators/index.d.ts +1 -0
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -0
- package/package.json +1 -1
package/out/schema/manifest.d.ts
CHANGED
|
@@ -124,6 +124,10 @@ export interface Connect {
|
|
|
124
124
|
* A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
|
|
125
125
|
*/
|
|
126
126
|
remote?: string;
|
|
127
|
+
/**
|
|
128
|
+
* The type of authentication used to communicate with tenant APIs
|
|
129
|
+
*/
|
|
130
|
+
authentication?: 'jwt' | 'oauth2';
|
|
127
131
|
}
|
|
128
132
|
export interface ConnectModules {
|
|
129
133
|
lifecycle?: [
|
|
@@ -298,6 +302,9 @@ export interface Modules {
|
|
|
298
302
|
| {
|
|
299
303
|
title: string;
|
|
300
304
|
function: string;
|
|
305
|
+
displayConditions?: {
|
|
306
|
+
[k: string]: unknown;
|
|
307
|
+
};
|
|
301
308
|
key: ModuleKeySchema;
|
|
302
309
|
[k: string]: unknown;
|
|
303
310
|
}
|
|
@@ -309,6 +316,9 @@ export interface Modules {
|
|
|
309
316
|
resource: string;
|
|
310
317
|
resourceUploadId?: string;
|
|
311
318
|
viewportSize?: 'small' | 'medium' | 'large';
|
|
319
|
+
displayConditions?: {
|
|
320
|
+
[k: string]: unknown;
|
|
321
|
+
};
|
|
312
322
|
key: ModuleKeySchema;
|
|
313
323
|
[k: string]: unknown;
|
|
314
324
|
}
|
|
@@ -317,6 +327,9 @@ export interface Modules {
|
|
|
317
327
|
| {
|
|
318
328
|
title: string;
|
|
319
329
|
function: string;
|
|
330
|
+
displayConditions?: {
|
|
331
|
+
[k: string]: unknown;
|
|
332
|
+
};
|
|
320
333
|
key: ModuleKeySchema;
|
|
321
334
|
[k: string]: unknown;
|
|
322
335
|
}
|
|
@@ -328,6 +341,9 @@ export interface Modules {
|
|
|
328
341
|
resource: string;
|
|
329
342
|
resourceUploadId?: string;
|
|
330
343
|
viewportSize?: 'small' | 'medium' | 'large';
|
|
344
|
+
displayConditions?: {
|
|
345
|
+
[k: string]: unknown;
|
|
346
|
+
};
|
|
331
347
|
key: ModuleKeySchema;
|
|
332
348
|
[k: string]: unknown;
|
|
333
349
|
}
|
|
@@ -338,6 +354,9 @@ export interface Modules {
|
|
|
338
354
|
| {
|
|
339
355
|
title: string;
|
|
340
356
|
function: string;
|
|
357
|
+
displayConditions?: {
|
|
358
|
+
[k: string]: unknown;
|
|
359
|
+
};
|
|
341
360
|
key: ModuleKeySchema;
|
|
342
361
|
[k: string]: unknown;
|
|
343
362
|
}
|
|
@@ -349,6 +368,9 @@ export interface Modules {
|
|
|
349
368
|
resource: string;
|
|
350
369
|
resourceUploadId?: string;
|
|
351
370
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
371
|
+
displayConditions?: {
|
|
372
|
+
[k: string]: unknown;
|
|
373
|
+
};
|
|
352
374
|
key: ModuleKeySchema;
|
|
353
375
|
[k: string]: unknown;
|
|
354
376
|
}
|
|
@@ -357,6 +379,9 @@ export interface Modules {
|
|
|
357
379
|
| {
|
|
358
380
|
title: string;
|
|
359
381
|
function: string;
|
|
382
|
+
displayConditions?: {
|
|
383
|
+
[k: string]: unknown;
|
|
384
|
+
};
|
|
360
385
|
key: ModuleKeySchema;
|
|
361
386
|
[k: string]: unknown;
|
|
362
387
|
}
|
|
@@ -368,6 +393,9 @@ export interface Modules {
|
|
|
368
393
|
resource: string;
|
|
369
394
|
resourceUploadId?: string;
|
|
370
395
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
396
|
+
displayConditions?: {
|
|
397
|
+
[k: string]: unknown;
|
|
398
|
+
};
|
|
371
399
|
key: ModuleKeySchema;
|
|
372
400
|
[k: string]: unknown;
|
|
373
401
|
}
|
|
@@ -450,6 +478,9 @@ export interface Modules {
|
|
|
450
478
|
| {
|
|
451
479
|
title: string;
|
|
452
480
|
function: string;
|
|
481
|
+
displayConditions?: {
|
|
482
|
+
[k: string]: unknown;
|
|
483
|
+
};
|
|
453
484
|
key: ModuleKeySchema;
|
|
454
485
|
[k: string]: unknown;
|
|
455
486
|
}
|
|
@@ -461,6 +492,9 @@ export interface Modules {
|
|
|
461
492
|
resource: string;
|
|
462
493
|
resourceUploadId?: string;
|
|
463
494
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
495
|
+
displayConditions?: {
|
|
496
|
+
[k: string]: unknown;
|
|
497
|
+
};
|
|
464
498
|
key: ModuleKeySchema;
|
|
465
499
|
[k: string]: unknown;
|
|
466
500
|
}
|
|
@@ -469,6 +503,9 @@ export interface Modules {
|
|
|
469
503
|
| {
|
|
470
504
|
title: string;
|
|
471
505
|
function: string;
|
|
506
|
+
displayConditions?: {
|
|
507
|
+
[k: string]: unknown;
|
|
508
|
+
};
|
|
472
509
|
key: ModuleKeySchema;
|
|
473
510
|
[k: string]: unknown;
|
|
474
511
|
}
|
|
@@ -480,6 +517,9 @@ export interface Modules {
|
|
|
480
517
|
resource: string;
|
|
481
518
|
resourceUploadId?: string;
|
|
482
519
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
520
|
+
displayConditions?: {
|
|
521
|
+
[k: string]: unknown;
|
|
522
|
+
};
|
|
483
523
|
key: ModuleKeySchema;
|
|
484
524
|
[k: string]: unknown;
|
|
485
525
|
}
|
|
@@ -492,6 +532,9 @@ export interface Modules {
|
|
|
492
532
|
icon?: string;
|
|
493
533
|
route: string;
|
|
494
534
|
function: string;
|
|
535
|
+
displayConditions?: {
|
|
536
|
+
[k: string]: unknown;
|
|
537
|
+
};
|
|
495
538
|
key: ModuleKeySchema;
|
|
496
539
|
[k: string]: unknown;
|
|
497
540
|
}
|
|
@@ -504,6 +547,9 @@ export interface Modules {
|
|
|
504
547
|
};
|
|
505
548
|
resource: string;
|
|
506
549
|
resourceUploadId?: string;
|
|
550
|
+
displayConditions?: {
|
|
551
|
+
[k: string]: unknown;
|
|
552
|
+
};
|
|
507
553
|
key: ModuleKeySchema;
|
|
508
554
|
[k: string]: unknown;
|
|
509
555
|
}
|
|
@@ -514,6 +560,9 @@ export interface Modules {
|
|
|
514
560
|
icon?: string;
|
|
515
561
|
route: string;
|
|
516
562
|
function: string;
|
|
563
|
+
displayConditions?: {
|
|
564
|
+
[k: string]: unknown;
|
|
565
|
+
};
|
|
517
566
|
key: ModuleKeySchema;
|
|
518
567
|
[k: string]: unknown;
|
|
519
568
|
}
|
|
@@ -526,6 +575,9 @@ export interface Modules {
|
|
|
526
575
|
};
|
|
527
576
|
resource: string;
|
|
528
577
|
resourceUploadId?: string;
|
|
578
|
+
displayConditions?: {
|
|
579
|
+
[k: string]: unknown;
|
|
580
|
+
};
|
|
529
581
|
key: ModuleKeySchema;
|
|
530
582
|
[k: string]: unknown;
|
|
531
583
|
}
|
|
@@ -536,6 +588,9 @@ export interface Modules {
|
|
|
536
588
|
| {
|
|
537
589
|
title: string;
|
|
538
590
|
function: string;
|
|
591
|
+
displayConditions?: {
|
|
592
|
+
[k: string]: unknown;
|
|
593
|
+
};
|
|
539
594
|
key: ModuleKeySchema;
|
|
540
595
|
[k: string]: unknown;
|
|
541
596
|
}
|
|
@@ -546,6 +601,9 @@ export interface Modules {
|
|
|
546
601
|
};
|
|
547
602
|
resource: string;
|
|
548
603
|
resourceUploadId?: string;
|
|
604
|
+
displayConditions?: {
|
|
605
|
+
[k: string]: unknown;
|
|
606
|
+
};
|
|
549
607
|
key: ModuleKeySchema;
|
|
550
608
|
[k: string]: unknown;
|
|
551
609
|
}
|
|
@@ -554,6 +612,9 @@ export interface Modules {
|
|
|
554
612
|
| {
|
|
555
613
|
title: string;
|
|
556
614
|
function: string;
|
|
615
|
+
displayConditions?: {
|
|
616
|
+
[k: string]: unknown;
|
|
617
|
+
};
|
|
557
618
|
key: ModuleKeySchema;
|
|
558
619
|
[k: string]: unknown;
|
|
559
620
|
}
|
|
@@ -564,6 +625,9 @@ export interface Modules {
|
|
|
564
625
|
};
|
|
565
626
|
resource: string;
|
|
566
627
|
resourceUploadId?: string;
|
|
628
|
+
displayConditions?: {
|
|
629
|
+
[k: string]: unknown;
|
|
630
|
+
};
|
|
567
631
|
key: ModuleKeySchema;
|
|
568
632
|
[k: string]: unknown;
|
|
569
633
|
}
|
|
@@ -574,6 +638,9 @@ export interface Modules {
|
|
|
574
638
|
| {
|
|
575
639
|
title: string;
|
|
576
640
|
function: string;
|
|
641
|
+
displayConditions?: {
|
|
642
|
+
[k: string]: unknown;
|
|
643
|
+
};
|
|
577
644
|
key: ModuleKeySchema;
|
|
578
645
|
[k: string]: unknown;
|
|
579
646
|
}
|
|
@@ -584,6 +651,9 @@ export interface Modules {
|
|
|
584
651
|
};
|
|
585
652
|
resource: string;
|
|
586
653
|
resourceUploadId?: string;
|
|
654
|
+
displayConditions?: {
|
|
655
|
+
[k: string]: unknown;
|
|
656
|
+
};
|
|
587
657
|
key: ModuleKeySchema;
|
|
588
658
|
[k: string]: unknown;
|
|
589
659
|
}
|
|
@@ -592,6 +662,9 @@ export interface Modules {
|
|
|
592
662
|
| {
|
|
593
663
|
title: string;
|
|
594
664
|
function: string;
|
|
665
|
+
displayConditions?: {
|
|
666
|
+
[k: string]: unknown;
|
|
667
|
+
};
|
|
595
668
|
key: ModuleKeySchema;
|
|
596
669
|
[k: string]: unknown;
|
|
597
670
|
}
|
|
@@ -602,6 +675,9 @@ export interface Modules {
|
|
|
602
675
|
};
|
|
603
676
|
resource: string;
|
|
604
677
|
resourceUploadId?: string;
|
|
678
|
+
displayConditions?: {
|
|
679
|
+
[k: string]: unknown;
|
|
680
|
+
};
|
|
605
681
|
key: ModuleKeySchema;
|
|
606
682
|
[k: string]: unknown;
|
|
607
683
|
}
|
|
@@ -614,6 +690,9 @@ export interface Modules {
|
|
|
614
690
|
icon?: string;
|
|
615
691
|
route: string;
|
|
616
692
|
function: string;
|
|
693
|
+
displayConditions?: {
|
|
694
|
+
[k: string]: unknown;
|
|
695
|
+
};
|
|
617
696
|
key: ModuleKeySchema;
|
|
618
697
|
}
|
|
619
698
|
| {
|
|
@@ -625,6 +704,9 @@ export interface Modules {
|
|
|
625
704
|
};
|
|
626
705
|
resource: string;
|
|
627
706
|
resourceUploadId?: string;
|
|
707
|
+
displayConditions?: {
|
|
708
|
+
[k: string]: unknown;
|
|
709
|
+
};
|
|
628
710
|
key: ModuleKeySchema;
|
|
629
711
|
}
|
|
630
712
|
),
|
|
@@ -634,6 +716,9 @@ export interface Modules {
|
|
|
634
716
|
icon?: string;
|
|
635
717
|
route: string;
|
|
636
718
|
function: string;
|
|
719
|
+
displayConditions?: {
|
|
720
|
+
[k: string]: unknown;
|
|
721
|
+
};
|
|
637
722
|
key: ModuleKeySchema;
|
|
638
723
|
}
|
|
639
724
|
| {
|
|
@@ -645,6 +730,9 @@ export interface Modules {
|
|
|
645
730
|
};
|
|
646
731
|
resource: string;
|
|
647
732
|
resourceUploadId?: string;
|
|
733
|
+
displayConditions?: {
|
|
734
|
+
[k: string]: unknown;
|
|
735
|
+
};
|
|
648
736
|
key: ModuleKeySchema;
|
|
649
737
|
}
|
|
650
738
|
)[]
|
|
@@ -1283,6 +1371,7 @@ export interface Modules {
|
|
|
1283
1371
|
icon?: string;
|
|
1284
1372
|
layout?: 'basic' | 'native';
|
|
1285
1373
|
key: ModuleKeySchema;
|
|
1374
|
+
[k: string]: unknown;
|
|
1286
1375
|
}
|
|
1287
1376
|
| {
|
|
1288
1377
|
resource: string;
|
|
@@ -1294,12 +1383,14 @@ export interface Modules {
|
|
|
1294
1383
|
icon?: string;
|
|
1295
1384
|
layout?: 'basic' | 'native';
|
|
1296
1385
|
key: ModuleKeySchema;
|
|
1386
|
+
[k: string]: unknown;
|
|
1297
1387
|
}
|
|
1298
1388
|
| {
|
|
1299
1389
|
pages: {
|
|
1300
1390
|
title: string;
|
|
1301
1391
|
route: string;
|
|
1302
1392
|
icon?: string;
|
|
1393
|
+
[k: string]: unknown;
|
|
1303
1394
|
}[];
|
|
1304
1395
|
resource: string;
|
|
1305
1396
|
resourceUploadId?: string;
|
|
@@ -1310,6 +1401,7 @@ export interface Modules {
|
|
|
1310
1401
|
icon?: string;
|
|
1311
1402
|
layout?: 'basic' | 'native';
|
|
1312
1403
|
key: ModuleKeySchema;
|
|
1404
|
+
[k: string]: unknown;
|
|
1313
1405
|
}
|
|
1314
1406
|
| {
|
|
1315
1407
|
sections: {
|
|
@@ -1318,7 +1410,9 @@ export interface Modules {
|
|
|
1318
1410
|
title: string;
|
|
1319
1411
|
route: string;
|
|
1320
1412
|
icon?: string;
|
|
1413
|
+
[k: string]: unknown;
|
|
1321
1414
|
}[];
|
|
1415
|
+
[k: string]: unknown;
|
|
1322
1416
|
}[];
|
|
1323
1417
|
resource: string;
|
|
1324
1418
|
resourceUploadId?: string;
|
|
@@ -1329,6 +1423,7 @@ export interface Modules {
|
|
|
1329
1423
|
icon?: string;
|
|
1330
1424
|
layout?: 'basic' | 'native';
|
|
1331
1425
|
key: ModuleKeySchema;
|
|
1426
|
+
[k: string]: unknown;
|
|
1332
1427
|
}
|
|
1333
1428
|
),
|
|
1334
1429
|
...(
|
|
@@ -1338,6 +1433,7 @@ export interface Modules {
|
|
|
1338
1433
|
icon?: string;
|
|
1339
1434
|
layout?: 'basic' | 'native';
|
|
1340
1435
|
key: ModuleKeySchema;
|
|
1436
|
+
[k: string]: unknown;
|
|
1341
1437
|
}
|
|
1342
1438
|
| {
|
|
1343
1439
|
resource: string;
|
|
@@ -1349,12 +1445,14 @@ export interface Modules {
|
|
|
1349
1445
|
icon?: string;
|
|
1350
1446
|
layout?: 'basic' | 'native';
|
|
1351
1447
|
key: ModuleKeySchema;
|
|
1448
|
+
[k: string]: unknown;
|
|
1352
1449
|
}
|
|
1353
1450
|
| {
|
|
1354
1451
|
pages: {
|
|
1355
1452
|
title: string;
|
|
1356
1453
|
route: string;
|
|
1357
1454
|
icon?: string;
|
|
1455
|
+
[k: string]: unknown;
|
|
1358
1456
|
}[];
|
|
1359
1457
|
resource: string;
|
|
1360
1458
|
resourceUploadId?: string;
|
|
@@ -1365,6 +1463,7 @@ export interface Modules {
|
|
|
1365
1463
|
icon?: string;
|
|
1366
1464
|
layout?: 'basic' | 'native';
|
|
1367
1465
|
key: ModuleKeySchema;
|
|
1466
|
+
[k: string]: unknown;
|
|
1368
1467
|
}
|
|
1369
1468
|
| {
|
|
1370
1469
|
sections: {
|
|
@@ -1373,7 +1472,9 @@ export interface Modules {
|
|
|
1373
1472
|
title: string;
|
|
1374
1473
|
route: string;
|
|
1375
1474
|
icon?: string;
|
|
1475
|
+
[k: string]: unknown;
|
|
1376
1476
|
}[];
|
|
1477
|
+
[k: string]: unknown;
|
|
1377
1478
|
}[];
|
|
1378
1479
|
resource: string;
|
|
1379
1480
|
resourceUploadId?: string;
|
|
@@ -1384,6 +1485,7 @@ export interface Modules {
|
|
|
1384
1485
|
icon?: string;
|
|
1385
1486
|
layout?: 'basic' | 'native';
|
|
1386
1487
|
key: ModuleKeySchema;
|
|
1488
|
+
[k: string]: unknown;
|
|
1387
1489
|
}
|
|
1388
1490
|
)[]
|
|
1389
1491
|
];
|
|
@@ -1395,6 +1497,7 @@ export interface Modules {
|
|
|
1395
1497
|
icon?: string;
|
|
1396
1498
|
layout?: 'basic' | 'native';
|
|
1397
1499
|
key: ModuleKeySchema;
|
|
1500
|
+
[k: string]: unknown;
|
|
1398
1501
|
}
|
|
1399
1502
|
| {
|
|
1400
1503
|
resource: string;
|
|
@@ -1406,12 +1509,14 @@ export interface Modules {
|
|
|
1406
1509
|
icon?: string;
|
|
1407
1510
|
layout?: 'basic' | 'native';
|
|
1408
1511
|
key: ModuleKeySchema;
|
|
1512
|
+
[k: string]: unknown;
|
|
1409
1513
|
}
|
|
1410
1514
|
| {
|
|
1411
1515
|
pages: {
|
|
1412
1516
|
title: string;
|
|
1413
1517
|
route: string;
|
|
1414
1518
|
icon?: string;
|
|
1519
|
+
[k: string]: unknown;
|
|
1415
1520
|
}[];
|
|
1416
1521
|
resource: string;
|
|
1417
1522
|
resourceUploadId?: string;
|
|
@@ -1422,6 +1527,7 @@ export interface Modules {
|
|
|
1422
1527
|
icon?: string;
|
|
1423
1528
|
layout?: 'basic' | 'native';
|
|
1424
1529
|
key: ModuleKeySchema;
|
|
1530
|
+
[k: string]: unknown;
|
|
1425
1531
|
}
|
|
1426
1532
|
| {
|
|
1427
1533
|
sections: {
|
|
@@ -1430,7 +1536,9 @@ export interface Modules {
|
|
|
1430
1536
|
title: string;
|
|
1431
1537
|
route: string;
|
|
1432
1538
|
icon?: string;
|
|
1539
|
+
[k: string]: unknown;
|
|
1433
1540
|
}[];
|
|
1541
|
+
[k: string]: unknown;
|
|
1434
1542
|
}[];
|
|
1435
1543
|
resource: string;
|
|
1436
1544
|
resourceUploadId?: string;
|
|
@@ -1441,6 +1549,7 @@ export interface Modules {
|
|
|
1441
1549
|
icon?: string;
|
|
1442
1550
|
layout?: 'basic' | 'native';
|
|
1443
1551
|
key: ModuleKeySchema;
|
|
1552
|
+
[k: string]: unknown;
|
|
1444
1553
|
}
|
|
1445
1554
|
),
|
|
1446
1555
|
...(
|
|
@@ -1450,6 +1559,7 @@ export interface Modules {
|
|
|
1450
1559
|
icon?: string;
|
|
1451
1560
|
layout?: 'basic' | 'native';
|
|
1452
1561
|
key: ModuleKeySchema;
|
|
1562
|
+
[k: string]: unknown;
|
|
1453
1563
|
}
|
|
1454
1564
|
| {
|
|
1455
1565
|
resource: string;
|
|
@@ -1461,12 +1571,14 @@ export interface Modules {
|
|
|
1461
1571
|
icon?: string;
|
|
1462
1572
|
layout?: 'basic' | 'native';
|
|
1463
1573
|
key: ModuleKeySchema;
|
|
1574
|
+
[k: string]: unknown;
|
|
1464
1575
|
}
|
|
1465
1576
|
| {
|
|
1466
1577
|
pages: {
|
|
1467
1578
|
title: string;
|
|
1468
1579
|
route: string;
|
|
1469
1580
|
icon?: string;
|
|
1581
|
+
[k: string]: unknown;
|
|
1470
1582
|
}[];
|
|
1471
1583
|
resource: string;
|
|
1472
1584
|
resourceUploadId?: string;
|
|
@@ -1477,6 +1589,7 @@ export interface Modules {
|
|
|
1477
1589
|
icon?: string;
|
|
1478
1590
|
layout?: 'basic' | 'native';
|
|
1479
1591
|
key: ModuleKeySchema;
|
|
1592
|
+
[k: string]: unknown;
|
|
1480
1593
|
}
|
|
1481
1594
|
| {
|
|
1482
1595
|
sections: {
|
|
@@ -1485,7 +1598,9 @@ export interface Modules {
|
|
|
1485
1598
|
title: string;
|
|
1486
1599
|
route: string;
|
|
1487
1600
|
icon?: string;
|
|
1601
|
+
[k: string]: unknown;
|
|
1488
1602
|
}[];
|
|
1603
|
+
[k: string]: unknown;
|
|
1489
1604
|
}[];
|
|
1490
1605
|
resource: string;
|
|
1491
1606
|
resourceUploadId?: string;
|
|
@@ -1496,6 +1611,7 @@ export interface Modules {
|
|
|
1496
1611
|
icon?: string;
|
|
1497
1612
|
layout?: 'basic' | 'native';
|
|
1498
1613
|
key: ModuleKeySchema;
|
|
1614
|
+
[k: string]: unknown;
|
|
1499
1615
|
}
|
|
1500
1616
|
)[]
|
|
1501
1617
|
];
|
|
@@ -1507,6 +1623,7 @@ export interface Modules {
|
|
|
1507
1623
|
icon?: string;
|
|
1508
1624
|
layout?: 'basic' | 'native';
|
|
1509
1625
|
key: ModuleKeySchema;
|
|
1626
|
+
[k: string]: unknown;
|
|
1510
1627
|
}
|
|
1511
1628
|
| {
|
|
1512
1629
|
resource: string;
|
|
@@ -1518,12 +1635,14 @@ export interface Modules {
|
|
|
1518
1635
|
icon?: string;
|
|
1519
1636
|
layout?: 'basic' | 'native';
|
|
1520
1637
|
key: ModuleKeySchema;
|
|
1638
|
+
[k: string]: unknown;
|
|
1521
1639
|
}
|
|
1522
1640
|
| {
|
|
1523
1641
|
pages: {
|
|
1524
1642
|
title: string;
|
|
1525
1643
|
route: string;
|
|
1526
1644
|
icon?: string;
|
|
1645
|
+
[k: string]: unknown;
|
|
1527
1646
|
}[];
|
|
1528
1647
|
resource: string;
|
|
1529
1648
|
resourceUploadId?: string;
|
|
@@ -1534,6 +1653,7 @@ export interface Modules {
|
|
|
1534
1653
|
icon?: string;
|
|
1535
1654
|
layout?: 'basic' | 'native';
|
|
1536
1655
|
key: ModuleKeySchema;
|
|
1656
|
+
[k: string]: unknown;
|
|
1537
1657
|
}
|
|
1538
1658
|
| {
|
|
1539
1659
|
sections: {
|
|
@@ -1542,7 +1662,9 @@ export interface Modules {
|
|
|
1542
1662
|
title: string;
|
|
1543
1663
|
route: string;
|
|
1544
1664
|
icon?: string;
|
|
1665
|
+
[k: string]: unknown;
|
|
1545
1666
|
}[];
|
|
1667
|
+
[k: string]: unknown;
|
|
1546
1668
|
}[];
|
|
1547
1669
|
resource: string;
|
|
1548
1670
|
resourceUploadId?: string;
|
|
@@ -1553,6 +1675,7 @@ export interface Modules {
|
|
|
1553
1675
|
icon?: string;
|
|
1554
1676
|
layout?: 'basic' | 'native';
|
|
1555
1677
|
key: ModuleKeySchema;
|
|
1678
|
+
[k: string]: unknown;
|
|
1556
1679
|
}
|
|
1557
1680
|
),
|
|
1558
1681
|
...(
|
|
@@ -1562,6 +1685,7 @@ export interface Modules {
|
|
|
1562
1685
|
icon?: string;
|
|
1563
1686
|
layout?: 'basic' | 'native';
|
|
1564
1687
|
key: ModuleKeySchema;
|
|
1688
|
+
[k: string]: unknown;
|
|
1565
1689
|
}
|
|
1566
1690
|
| {
|
|
1567
1691
|
resource: string;
|
|
@@ -1573,12 +1697,14 @@ export interface Modules {
|
|
|
1573
1697
|
icon?: string;
|
|
1574
1698
|
layout?: 'basic' | 'native';
|
|
1575
1699
|
key: ModuleKeySchema;
|
|
1700
|
+
[k: string]: unknown;
|
|
1576
1701
|
}
|
|
1577
1702
|
| {
|
|
1578
1703
|
pages: {
|
|
1579
1704
|
title: string;
|
|
1580
1705
|
route: string;
|
|
1581
1706
|
icon?: string;
|
|
1707
|
+
[k: string]: unknown;
|
|
1582
1708
|
}[];
|
|
1583
1709
|
resource: string;
|
|
1584
1710
|
resourceUploadId?: string;
|
|
@@ -1589,6 +1715,7 @@ export interface Modules {
|
|
|
1589
1715
|
icon?: string;
|
|
1590
1716
|
layout?: 'basic' | 'native';
|
|
1591
1717
|
key: ModuleKeySchema;
|
|
1718
|
+
[k: string]: unknown;
|
|
1592
1719
|
}
|
|
1593
1720
|
| {
|
|
1594
1721
|
sections: {
|
|
@@ -1597,7 +1724,9 @@ export interface Modules {
|
|
|
1597
1724
|
title: string;
|
|
1598
1725
|
route: string;
|
|
1599
1726
|
icon?: string;
|
|
1727
|
+
[k: string]: unknown;
|
|
1600
1728
|
}[];
|
|
1729
|
+
[k: string]: unknown;
|
|
1601
1730
|
}[];
|
|
1602
1731
|
resource: string;
|
|
1603
1732
|
resourceUploadId?: string;
|
|
@@ -1608,6 +1737,7 @@ export interface Modules {
|
|
|
1608
1737
|
icon?: string;
|
|
1609
1738
|
layout?: 'basic' | 'native';
|
|
1610
1739
|
key: ModuleKeySchema;
|
|
1740
|
+
[k: string]: unknown;
|
|
1611
1741
|
}
|
|
1612
1742
|
)[]
|
|
1613
1743
|
];
|
|
@@ -1619,6 +1749,7 @@ export interface Modules {
|
|
|
1619
1749
|
icon?: string;
|
|
1620
1750
|
layout?: 'basic' | 'native';
|
|
1621
1751
|
key: ModuleKeySchema;
|
|
1752
|
+
[k: string]: unknown;
|
|
1622
1753
|
}
|
|
1623
1754
|
| {
|
|
1624
1755
|
resource: string;
|
|
@@ -1630,12 +1761,14 @@ export interface Modules {
|
|
|
1630
1761
|
icon?: string;
|
|
1631
1762
|
layout?: 'basic' | 'native';
|
|
1632
1763
|
key: ModuleKeySchema;
|
|
1764
|
+
[k: string]: unknown;
|
|
1633
1765
|
}
|
|
1634
1766
|
| {
|
|
1635
1767
|
pages: {
|
|
1636
1768
|
title: string;
|
|
1637
1769
|
route: string;
|
|
1638
1770
|
icon?: string;
|
|
1771
|
+
[k: string]: unknown;
|
|
1639
1772
|
}[];
|
|
1640
1773
|
resource: string;
|
|
1641
1774
|
resourceUploadId?: string;
|
|
@@ -1646,6 +1779,7 @@ export interface Modules {
|
|
|
1646
1779
|
icon?: string;
|
|
1647
1780
|
layout?: 'basic' | 'native';
|
|
1648
1781
|
key: ModuleKeySchema;
|
|
1782
|
+
[k: string]: unknown;
|
|
1649
1783
|
}
|
|
1650
1784
|
| {
|
|
1651
1785
|
sections: {
|
|
@@ -1654,7 +1788,9 @@ export interface Modules {
|
|
|
1654
1788
|
title: string;
|
|
1655
1789
|
route: string;
|
|
1656
1790
|
icon?: string;
|
|
1791
|
+
[k: string]: unknown;
|
|
1657
1792
|
}[];
|
|
1793
|
+
[k: string]: unknown;
|
|
1658
1794
|
}[];
|
|
1659
1795
|
resource: string;
|
|
1660
1796
|
resourceUploadId?: string;
|
|
@@ -1665,6 +1801,7 @@ export interface Modules {
|
|
|
1665
1801
|
icon?: string;
|
|
1666
1802
|
layout?: 'basic' | 'native';
|
|
1667
1803
|
key: ModuleKeySchema;
|
|
1804
|
+
[k: string]: unknown;
|
|
1668
1805
|
}
|
|
1669
1806
|
),
|
|
1670
1807
|
...(
|
|
@@ -1674,6 +1811,7 @@ export interface Modules {
|
|
|
1674
1811
|
icon?: string;
|
|
1675
1812
|
layout?: 'basic' | 'native';
|
|
1676
1813
|
key: ModuleKeySchema;
|
|
1814
|
+
[k: string]: unknown;
|
|
1677
1815
|
}
|
|
1678
1816
|
| {
|
|
1679
1817
|
resource: string;
|
|
@@ -1685,12 +1823,14 @@ export interface Modules {
|
|
|
1685
1823
|
icon?: string;
|
|
1686
1824
|
layout?: 'basic' | 'native';
|
|
1687
1825
|
key: ModuleKeySchema;
|
|
1826
|
+
[k: string]: unknown;
|
|
1688
1827
|
}
|
|
1689
1828
|
| {
|
|
1690
1829
|
pages: {
|
|
1691
1830
|
title: string;
|
|
1692
1831
|
route: string;
|
|
1693
1832
|
icon?: string;
|
|
1833
|
+
[k: string]: unknown;
|
|
1694
1834
|
}[];
|
|
1695
1835
|
resource: string;
|
|
1696
1836
|
resourceUploadId?: string;
|
|
@@ -1701,6 +1841,7 @@ export interface Modules {
|
|
|
1701
1841
|
icon?: string;
|
|
1702
1842
|
layout?: 'basic' | 'native';
|
|
1703
1843
|
key: ModuleKeySchema;
|
|
1844
|
+
[k: string]: unknown;
|
|
1704
1845
|
}
|
|
1705
1846
|
| {
|
|
1706
1847
|
sections: {
|
|
@@ -1709,7 +1850,9 @@ export interface Modules {
|
|
|
1709
1850
|
title: string;
|
|
1710
1851
|
route: string;
|
|
1711
1852
|
icon?: string;
|
|
1853
|
+
[k: string]: unknown;
|
|
1712
1854
|
}[];
|
|
1855
|
+
[k: string]: unknown;
|
|
1713
1856
|
}[];
|
|
1714
1857
|
resource: string;
|
|
1715
1858
|
resourceUploadId?: string;
|
|
@@ -1720,6 +1863,7 @@ export interface Modules {
|
|
|
1720
1863
|
icon?: string;
|
|
1721
1864
|
layout?: 'basic' | 'native';
|
|
1722
1865
|
key: ModuleKeySchema;
|
|
1866
|
+
[k: string]: unknown;
|
|
1723
1867
|
}
|
|
1724
1868
|
)[]
|
|
1725
1869
|
];
|
|
@@ -2202,7 +2346,7 @@ export interface Modules {
|
|
|
2202
2346
|
| 'TIME_TRACKING'
|
|
2203
2347
|
| 'other'
|
|
2204
2348
|
| 'OTHER';
|
|
2205
|
-
conditions?: (
|
|
2349
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2206
2350
|
key: ModuleKeySchema;
|
|
2207
2351
|
[k: string]: unknown;
|
|
2208
2352
|
},
|
|
@@ -2224,7 +2368,7 @@ export interface Modules {
|
|
|
2224
2368
|
| 'TIME_TRACKING'
|
|
2225
2369
|
| 'other'
|
|
2226
2370
|
| 'OTHER';
|
|
2227
|
-
conditions?: (
|
|
2371
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2228
2372
|
key: ModuleKeySchema;
|
|
2229
2373
|
[k: string]: unknown;
|
|
2230
2374
|
}[]
|
|
@@ -2332,7 +2476,7 @@ export interface Modules {
|
|
|
2332
2476
|
name?: I18NProperty20;
|
|
2333
2477
|
weight?: number;
|
|
2334
2478
|
iconUrl?: string;
|
|
2335
|
-
conditions?: (
|
|
2479
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2336
2480
|
url?: string;
|
|
2337
2481
|
key: ModuleKeySchema;
|
|
2338
2482
|
[k: string]: unknown;
|
|
@@ -2341,7 +2485,7 @@ export interface Modules {
|
|
|
2341
2485
|
name?: I18NProperty20;
|
|
2342
2486
|
weight?: number;
|
|
2343
2487
|
iconUrl?: string;
|
|
2344
|
-
conditions?: (
|
|
2488
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2345
2489
|
url?: string;
|
|
2346
2490
|
key: ModuleKeySchema;
|
|
2347
2491
|
[k: string]: unknown;
|
|
@@ -2352,7 +2496,7 @@ export interface Modules {
|
|
|
2352
2496
|
name?: I18NProperty21;
|
|
2353
2497
|
weight?: number;
|
|
2354
2498
|
description?: I18NProperty22;
|
|
2355
|
-
conditions?: (
|
|
2499
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2356
2500
|
params?: {
|
|
2357
2501
|
[k: string]: unknown;
|
|
2358
2502
|
};
|
|
@@ -2364,7 +2508,7 @@ export interface Modules {
|
|
|
2364
2508
|
name?: I18NProperty21;
|
|
2365
2509
|
weight?: number;
|
|
2366
2510
|
description?: I18NProperty22;
|
|
2367
|
-
conditions?: (
|
|
2511
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2368
2512
|
params?: {
|
|
2369
2513
|
[k: string]: unknown;
|
|
2370
2514
|
};
|
|
@@ -2377,7 +2521,7 @@ export interface Modules {
|
|
|
2377
2521
|
{
|
|
2378
2522
|
name?: I18NProperty23;
|
|
2379
2523
|
description?: I18NProperty24;
|
|
2380
|
-
conditions?: (
|
|
2524
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2381
2525
|
url?: string;
|
|
2382
2526
|
configurable?: boolean;
|
|
2383
2527
|
thumbnailUrl?: string;
|
|
@@ -2387,7 +2531,7 @@ export interface Modules {
|
|
|
2387
2531
|
...{
|
|
2388
2532
|
name?: I18NProperty23;
|
|
2389
2533
|
description?: I18NProperty24;
|
|
2390
|
-
conditions?: (
|
|
2534
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2391
2535
|
url?: string;
|
|
2392
2536
|
configurable?: boolean;
|
|
2393
2537
|
thumbnailUrl?: string;
|
|
@@ -2446,7 +2590,7 @@ export interface Modules {
|
|
|
2446
2590
|
name?: I18NProperty30;
|
|
2447
2591
|
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2448
2592
|
target?: IssuePageTargetWebPanel;
|
|
2449
|
-
contentPresentConditions?: (
|
|
2593
|
+
contentPresentConditions?: (SingleCondition | CompositeCondition)[];
|
|
2450
2594
|
jiraNativeAppsEnabled?: boolean;
|
|
2451
2595
|
key: ModuleKeySchema;
|
|
2452
2596
|
[k: string]: unknown;
|
|
@@ -2457,7 +2601,7 @@ export interface Modules {
|
|
|
2457
2601
|
name?: I18NProperty30;
|
|
2458
2602
|
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2459
2603
|
target?: IssuePageTargetWebPanel;
|
|
2460
|
-
contentPresentConditions?: (
|
|
2604
|
+
contentPresentConditions?: (SingleCondition | CompositeCondition)[];
|
|
2461
2605
|
jiraNativeAppsEnabled?: boolean;
|
|
2462
2606
|
key: ModuleKeySchema;
|
|
2463
2607
|
[k: string]: unknown;
|
|
@@ -2489,7 +2633,7 @@ export interface Modules {
|
|
|
2489
2633
|
{
|
|
2490
2634
|
name?: I18NProperty33;
|
|
2491
2635
|
weight?: number;
|
|
2492
|
-
conditions?: (
|
|
2636
|
+
conditions?: (CompositeCondition2 | SingleCondition2)[];
|
|
2493
2637
|
params?: {
|
|
2494
2638
|
[k: string]: unknown;
|
|
2495
2639
|
};
|
|
@@ -2500,7 +2644,7 @@ export interface Modules {
|
|
|
2500
2644
|
...{
|
|
2501
2645
|
name?: I18NProperty33;
|
|
2502
2646
|
weight?: number;
|
|
2503
|
-
conditions?: (
|
|
2647
|
+
conditions?: (CompositeCondition2 | SingleCondition2)[];
|
|
2504
2648
|
params?: {
|
|
2505
2649
|
[k: string]: unknown;
|
|
2506
2650
|
};
|
|
@@ -2581,7 +2725,7 @@ export interface Modules {
|
|
|
2581
2725
|
{
|
|
2582
2726
|
name?: I18NProperty38;
|
|
2583
2727
|
weight?: number;
|
|
2584
|
-
conditions?: (
|
|
2728
|
+
conditions?: (CompositeCondition4 | SingleCondition3)[];
|
|
2585
2729
|
params?: {
|
|
2586
2730
|
[k: string]: unknown;
|
|
2587
2731
|
};
|
|
@@ -2592,7 +2736,7 @@ export interface Modules {
|
|
|
2592
2736
|
...{
|
|
2593
2737
|
name?: I18NProperty38;
|
|
2594
2738
|
weight?: number;
|
|
2595
|
-
conditions?: (
|
|
2739
|
+
conditions?: (CompositeCondition4 | SingleCondition3)[];
|
|
2596
2740
|
params?: {
|
|
2597
2741
|
[k: string]: unknown;
|
|
2598
2742
|
};
|
|
@@ -2686,7 +2830,7 @@ export interface Modules {
|
|
|
2686
2830
|
name?: I18NProperty44;
|
|
2687
2831
|
weight?: number;
|
|
2688
2832
|
location?: string;
|
|
2689
|
-
conditions?: (
|
|
2833
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2690
2834
|
params?: {
|
|
2691
2835
|
[k: string]: unknown;
|
|
2692
2836
|
};
|
|
@@ -2698,7 +2842,7 @@ export interface Modules {
|
|
|
2698
2842
|
name?: I18NProperty44;
|
|
2699
2843
|
weight?: number;
|
|
2700
2844
|
location?: string;
|
|
2701
|
-
conditions?: (
|
|
2845
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2702
2846
|
params?: {
|
|
2703
2847
|
[k: string]: unknown;
|
|
2704
2848
|
};
|
|
@@ -2823,7 +2967,7 @@ export interface Modules {
|
|
|
2823
2967
|
fullPage?: boolean;
|
|
2824
2968
|
cacheable?: boolean;
|
|
2825
2969
|
location?: string;
|
|
2826
|
-
conditions?: (
|
|
2970
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2827
2971
|
params?: {
|
|
2828
2972
|
[k: string]: unknown;
|
|
2829
2973
|
};
|
|
@@ -2838,7 +2982,7 @@ export interface Modules {
|
|
|
2838
2982
|
fullPage?: boolean;
|
|
2839
2983
|
cacheable?: boolean;
|
|
2840
2984
|
location?: string;
|
|
2841
|
-
conditions?: (
|
|
2985
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
2842
2986
|
params?: {
|
|
2843
2987
|
[k: string]: unknown;
|
|
2844
2988
|
};
|
|
@@ -2886,7 +3030,7 @@ export interface Modules {
|
|
|
2886
3030
|
filter?: string;
|
|
2887
3031
|
excludeBody?: boolean;
|
|
2888
3032
|
event?: string;
|
|
2889
|
-
conditions?: (
|
|
3033
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2890
3034
|
propertyKeys?: string[];
|
|
2891
3035
|
url?: string;
|
|
2892
3036
|
key: ModuleKeySchema;
|
|
@@ -2896,7 +3040,7 @@ export interface Modules {
|
|
|
2896
3040
|
filter?: string;
|
|
2897
3041
|
excludeBody?: boolean;
|
|
2898
3042
|
event?: string;
|
|
2899
|
-
conditions?: (
|
|
3043
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2900
3044
|
propertyKeys?: string[];
|
|
2901
3045
|
url?: string;
|
|
2902
3046
|
key: ModuleKeySchema;
|
|
@@ -2939,7 +3083,7 @@ export interface Modules {
|
|
|
2939
3083
|
name?: I18NProperty55;
|
|
2940
3084
|
weight?: number;
|
|
2941
3085
|
location?: string;
|
|
2942
|
-
conditions?: (
|
|
3086
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2943
3087
|
params?: {
|
|
2944
3088
|
[k: string]: unknown;
|
|
2945
3089
|
};
|
|
@@ -2951,7 +3095,7 @@ export interface Modules {
|
|
|
2951
3095
|
name?: I18NProperty55;
|
|
2952
3096
|
weight?: number;
|
|
2953
3097
|
location?: string;
|
|
2954
|
-
conditions?: (
|
|
3098
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
2955
3099
|
params?: {
|
|
2956
3100
|
[k: string]: unknown;
|
|
2957
3101
|
};
|
|
@@ -3004,7 +3148,7 @@ export interface Modules {
|
|
|
3004
3148
|
name?: I18NProperty59;
|
|
3005
3149
|
location?: string;
|
|
3006
3150
|
cacheable?: boolean;
|
|
3007
|
-
conditions?: (
|
|
3151
|
+
conditions?: (SingleCondition4 | CompositeCondition6)[];
|
|
3008
3152
|
key: ModuleKeySchema;
|
|
3009
3153
|
[k: string]: unknown;
|
|
3010
3154
|
},
|
|
@@ -3022,7 +3166,7 @@ export interface Modules {
|
|
|
3022
3166
|
name?: I18NProperty59;
|
|
3023
3167
|
location?: string;
|
|
3024
3168
|
cacheable?: boolean;
|
|
3025
|
-
conditions?: (
|
|
3169
|
+
conditions?: (SingleCondition4 | CompositeCondition6)[];
|
|
3026
3170
|
key: ModuleKeySchema;
|
|
3027
3171
|
[k: string]: unknown;
|
|
3028
3172
|
}[]
|
|
@@ -3035,7 +3179,7 @@ export interface Modules {
|
|
|
3035
3179
|
fullPage?: boolean;
|
|
3036
3180
|
cacheable?: boolean;
|
|
3037
3181
|
location?: string;
|
|
3038
|
-
conditions?: (
|
|
3182
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3039
3183
|
params?: {
|
|
3040
3184
|
[k: string]: unknown;
|
|
3041
3185
|
};
|
|
@@ -3050,7 +3194,7 @@ export interface Modules {
|
|
|
3050
3194
|
fullPage?: boolean;
|
|
3051
3195
|
cacheable?: boolean;
|
|
3052
3196
|
location?: string;
|
|
3053
|
-
conditions?: (
|
|
3197
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3054
3198
|
params?: {
|
|
3055
3199
|
[k: string]: unknown;
|
|
3056
3200
|
};
|
|
@@ -3100,7 +3244,7 @@ export interface Modules {
|
|
|
3100
3244
|
name?: I18NProperty63;
|
|
3101
3245
|
weight?: number;
|
|
3102
3246
|
location?: string;
|
|
3103
|
-
conditions?: (
|
|
3247
|
+
conditions?: (SingleCondition5 | CompositeCondition7)[];
|
|
3104
3248
|
params?: {
|
|
3105
3249
|
[k: string]: unknown;
|
|
3106
3250
|
};
|
|
@@ -3112,7 +3256,7 @@ export interface Modules {
|
|
|
3112
3256
|
name?: I18NProperty63;
|
|
3113
3257
|
weight?: number;
|
|
3114
3258
|
location?: string;
|
|
3115
|
-
conditions?: (
|
|
3259
|
+
conditions?: (SingleCondition5 | CompositeCondition7)[];
|
|
3116
3260
|
params?: {
|
|
3117
3261
|
[k: string]: unknown;
|
|
3118
3262
|
};
|
|
@@ -3921,10 +4065,47 @@ export interface Icon3 {
|
|
|
3921
4065
|
*
|
|
3922
4066
|
*/
|
|
3923
4067
|
export interface WebItemTarget {
|
|
3924
|
-
options?:
|
|
4068
|
+
options?: InlineDialogOptions | DialogOptions | DialogModuleOptions;
|
|
3925
4069
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
3926
4070
|
[k: string]: unknown;
|
|
3927
4071
|
}
|
|
4072
|
+
/**
|
|
4073
|
+
*
|
|
4074
|
+
*
|
|
4075
|
+
* Options for an inline dialog target
|
|
4076
|
+
*
|
|
4077
|
+
* <h3>Example</h3>
|
|
4078
|
+
*
|
|
4079
|
+
*
|
|
4080
|
+
*
|
|
4081
|
+
*
|
|
4082
|
+
*
|
|
4083
|
+
* {
|
|
4084
|
+
* "target": {
|
|
4085
|
+
* "type": "inlinedialog",
|
|
4086
|
+
* "options": {
|
|
4087
|
+
* "onHover": true,
|
|
4088
|
+
* "offsetX": "30px",
|
|
4089
|
+
* "offsetY": "20px"
|
|
4090
|
+
* }
|
|
4091
|
+
* }
|
|
4092
|
+
* }
|
|
4093
|
+
*
|
|
4094
|
+
*
|
|
4095
|
+
*
|
|
4096
|
+
*/
|
|
4097
|
+
export interface InlineDialogOptions {
|
|
4098
|
+
offsetX?: string;
|
|
4099
|
+
offsetY?: string;
|
|
4100
|
+
width?: string;
|
|
4101
|
+
onTop?: boolean;
|
|
4102
|
+
showDelay?: number;
|
|
4103
|
+
closeOthers?: boolean;
|
|
4104
|
+
persistent?: boolean;
|
|
4105
|
+
onHover?: boolean;
|
|
4106
|
+
isRelativeToMouse?: boolean;
|
|
4107
|
+
[k: string]: unknown;
|
|
4108
|
+
}
|
|
3928
4109
|
/**
|
|
3929
4110
|
*
|
|
3930
4111
|
*
|
|
@@ -4050,43 +4231,6 @@ export interface DialogModuleOptions {
|
|
|
4050
4231
|
key: string;
|
|
4051
4232
|
[k: string]: unknown;
|
|
4052
4233
|
}
|
|
4053
|
-
/**
|
|
4054
|
-
*
|
|
4055
|
-
*
|
|
4056
|
-
* Options for an inline dialog target
|
|
4057
|
-
*
|
|
4058
|
-
* <h3>Example</h3>
|
|
4059
|
-
*
|
|
4060
|
-
*
|
|
4061
|
-
*
|
|
4062
|
-
*
|
|
4063
|
-
*
|
|
4064
|
-
* {
|
|
4065
|
-
* "target": {
|
|
4066
|
-
* "type": "inlinedialog",
|
|
4067
|
-
* "options": {
|
|
4068
|
-
* "onHover": true,
|
|
4069
|
-
* "offsetX": "30px",
|
|
4070
|
-
* "offsetY": "20px"
|
|
4071
|
-
* }
|
|
4072
|
-
* }
|
|
4073
|
-
* }
|
|
4074
|
-
*
|
|
4075
|
-
*
|
|
4076
|
-
*
|
|
4077
|
-
*/
|
|
4078
|
-
export interface InlineDialogOptions {
|
|
4079
|
-
offsetX?: string;
|
|
4080
|
-
offsetY?: string;
|
|
4081
|
-
width?: string;
|
|
4082
|
-
onTop?: boolean;
|
|
4083
|
-
showDelay?: number;
|
|
4084
|
-
closeOthers?: boolean;
|
|
4085
|
-
persistent?: boolean;
|
|
4086
|
-
onHover?: boolean;
|
|
4087
|
-
isRelativeToMouse?: boolean;
|
|
4088
|
-
[k: string]: unknown;
|
|
4089
|
-
}
|
|
4090
4234
|
/**
|
|
4091
4235
|
*
|
|
4092
4236
|
*
|
|
@@ -5085,37 +5229,6 @@ export interface I18NProperty33 {
|
|
|
5085
5229
|
i18n?: string;
|
|
5086
5230
|
[k: string]: unknown;
|
|
5087
5231
|
}
|
|
5088
|
-
/**
|
|
5089
|
-
*
|
|
5090
|
-
*
|
|
5091
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
5092
|
-
* [Conditions](../../conditions/) for more information.
|
|
5093
|
-
*
|
|
5094
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
5095
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
5096
|
-
*
|
|
5097
|
-
* <h3>Example</h3>
|
|
5098
|
-
*
|
|
5099
|
-
*
|
|
5100
|
-
*
|
|
5101
|
-
*
|
|
5102
|
-
*
|
|
5103
|
-
* {
|
|
5104
|
-
* "condition": "user_is_logged_in",
|
|
5105
|
-
* "invert": false
|
|
5106
|
-
* }
|
|
5107
|
-
*
|
|
5108
|
-
*
|
|
5109
|
-
*
|
|
5110
|
-
*/
|
|
5111
|
-
export interface SingleCondition2 {
|
|
5112
|
-
condition: string;
|
|
5113
|
-
invert?: boolean;
|
|
5114
|
-
params?: {
|
|
5115
|
-
[k: string]: unknown;
|
|
5116
|
-
};
|
|
5117
|
-
[k: string]: unknown;
|
|
5118
|
-
}
|
|
5119
5232
|
/**
|
|
5120
5233
|
*
|
|
5121
5234
|
*
|
|
@@ -5194,10 +5307,41 @@ export interface CompositeCondition2 {
|
|
|
5194
5307
|
*
|
|
5195
5308
|
*/
|
|
5196
5309
|
export interface CompositeCondition3 {
|
|
5197
|
-
conditions?: (
|
|
5310
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
5198
5311
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
5199
5312
|
[k: string]: unknown;
|
|
5200
5313
|
}
|
|
5314
|
+
/**
|
|
5315
|
+
*
|
|
5316
|
+
*
|
|
5317
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
5318
|
+
* [Conditions](../../conditions/) for more information.
|
|
5319
|
+
*
|
|
5320
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
5321
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
5322
|
+
*
|
|
5323
|
+
* <h3>Example</h3>
|
|
5324
|
+
*
|
|
5325
|
+
*
|
|
5326
|
+
*
|
|
5327
|
+
*
|
|
5328
|
+
*
|
|
5329
|
+
* {
|
|
5330
|
+
* "condition": "user_is_logged_in",
|
|
5331
|
+
* "invert": false
|
|
5332
|
+
* }
|
|
5333
|
+
*
|
|
5334
|
+
*
|
|
5335
|
+
*
|
|
5336
|
+
*/
|
|
5337
|
+
export interface SingleCondition2 {
|
|
5338
|
+
condition: string;
|
|
5339
|
+
invert?: boolean;
|
|
5340
|
+
params?: {
|
|
5341
|
+
[k: string]: unknown;
|
|
5342
|
+
};
|
|
5343
|
+
[k: string]: unknown;
|
|
5344
|
+
}
|
|
5201
5345
|
/**
|
|
5202
5346
|
*
|
|
5203
5347
|
*
|
|
@@ -5390,37 +5534,6 @@ export interface I18NProperty38 {
|
|
|
5390
5534
|
i18n?: string;
|
|
5391
5535
|
[k: string]: unknown;
|
|
5392
5536
|
}
|
|
5393
|
-
/**
|
|
5394
|
-
*
|
|
5395
|
-
*
|
|
5396
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
5397
|
-
* [Conditions](../../conditions/) for more information.
|
|
5398
|
-
*
|
|
5399
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
5400
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
5401
|
-
*
|
|
5402
|
-
* <h3>Example</h3>
|
|
5403
|
-
*
|
|
5404
|
-
*
|
|
5405
|
-
*
|
|
5406
|
-
*
|
|
5407
|
-
*
|
|
5408
|
-
* {
|
|
5409
|
-
* "condition": "user_is_logged_in",
|
|
5410
|
-
* "invert": false
|
|
5411
|
-
* }
|
|
5412
|
-
*
|
|
5413
|
-
*
|
|
5414
|
-
*
|
|
5415
|
-
*/
|
|
5416
|
-
export interface SingleCondition3 {
|
|
5417
|
-
condition: string;
|
|
5418
|
-
invert?: boolean;
|
|
5419
|
-
params?: {
|
|
5420
|
-
[k: string]: unknown;
|
|
5421
|
-
};
|
|
5422
|
-
[k: string]: unknown;
|
|
5423
|
-
}
|
|
5424
5537
|
/**
|
|
5425
5538
|
*
|
|
5426
5539
|
*
|
|
@@ -5499,10 +5612,41 @@ export interface CompositeCondition4 {
|
|
|
5499
5612
|
*
|
|
5500
5613
|
*/
|
|
5501
5614
|
export interface CompositeCondition5 {
|
|
5502
|
-
conditions?: (
|
|
5615
|
+
conditions?: (ManifestSchema | SingleCondition)[];
|
|
5503
5616
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
5504
5617
|
[k: string]: unknown;
|
|
5505
5618
|
}
|
|
5619
|
+
/**
|
|
5620
|
+
*
|
|
5621
|
+
*
|
|
5622
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
5623
|
+
* [Conditions](../../conditions/) for more information.
|
|
5624
|
+
*
|
|
5625
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
5626
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
5627
|
+
*
|
|
5628
|
+
* <h3>Example</h3>
|
|
5629
|
+
*
|
|
5630
|
+
*
|
|
5631
|
+
*
|
|
5632
|
+
*
|
|
5633
|
+
*
|
|
5634
|
+
* {
|
|
5635
|
+
* "condition": "user_is_logged_in",
|
|
5636
|
+
* "invert": false
|
|
5637
|
+
* }
|
|
5638
|
+
*
|
|
5639
|
+
*
|
|
5640
|
+
*
|
|
5641
|
+
*/
|
|
5642
|
+
export interface SingleCondition3 {
|
|
5643
|
+
condition: string;
|
|
5644
|
+
invert?: boolean;
|
|
5645
|
+
params?: {
|
|
5646
|
+
[k: string]: unknown;
|
|
5647
|
+
};
|
|
5648
|
+
[k: string]: unknown;
|
|
5649
|
+
}
|
|
5506
5650
|
/**
|
|
5507
5651
|
*
|
|
5508
5652
|
*
|
|
@@ -6251,10 +6395,37 @@ export interface Icon10 {
|
|
|
6251
6395
|
*
|
|
6252
6396
|
*/
|
|
6253
6397
|
export interface WebItemTarget1 {
|
|
6254
|
-
options?:
|
|
6398
|
+
options?: DialogModuleOptions1 | DialogOptions2 | InlineDialogOptions1;
|
|
6255
6399
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
6256
6400
|
[k: string]: unknown;
|
|
6257
6401
|
}
|
|
6402
|
+
/**
|
|
6403
|
+
*
|
|
6404
|
+
*
|
|
6405
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
6406
|
+
*
|
|
6407
|
+
* <h3>Example</h3>
|
|
6408
|
+
*
|
|
6409
|
+
*
|
|
6410
|
+
*
|
|
6411
|
+
*
|
|
6412
|
+
*
|
|
6413
|
+
* {
|
|
6414
|
+
* "target": {
|
|
6415
|
+
* "type": "dialogmodule",
|
|
6416
|
+
* "options": {
|
|
6417
|
+
* "key": "dialog-module-key"
|
|
6418
|
+
* }
|
|
6419
|
+
* }
|
|
6420
|
+
* }
|
|
6421
|
+
*
|
|
6422
|
+
*
|
|
6423
|
+
*
|
|
6424
|
+
*/
|
|
6425
|
+
export interface DialogModuleOptions1 {
|
|
6426
|
+
key: string;
|
|
6427
|
+
[k: string]: unknown;
|
|
6428
|
+
}
|
|
6258
6429
|
/**
|
|
6259
6430
|
*
|
|
6260
6431
|
*
|
|
@@ -6353,33 +6524,6 @@ export interface I18NProperty58 {
|
|
|
6353
6524
|
i18n?: string;
|
|
6354
6525
|
[k: string]: unknown;
|
|
6355
6526
|
}
|
|
6356
|
-
/**
|
|
6357
|
-
*
|
|
6358
|
-
*
|
|
6359
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
6360
|
-
*
|
|
6361
|
-
* <h3>Example</h3>
|
|
6362
|
-
*
|
|
6363
|
-
*
|
|
6364
|
-
*
|
|
6365
|
-
*
|
|
6366
|
-
*
|
|
6367
|
-
* {
|
|
6368
|
-
* "target": {
|
|
6369
|
-
* "type": "dialogmodule",
|
|
6370
|
-
* "options": {
|
|
6371
|
-
* "key": "dialog-module-key"
|
|
6372
|
-
* }
|
|
6373
|
-
* }
|
|
6374
|
-
* }
|
|
6375
|
-
*
|
|
6376
|
-
*
|
|
6377
|
-
*
|
|
6378
|
-
*/
|
|
6379
|
-
export interface DialogModuleOptions1 {
|
|
6380
|
-
key: string;
|
|
6381
|
-
[k: string]: unknown;
|
|
6382
|
-
}
|
|
6383
6527
|
/**
|
|
6384
6528
|
*
|
|
6385
6529
|
*
|
|
@@ -6441,6 +6585,37 @@ export interface I18NProperty59 {
|
|
|
6441
6585
|
i18n?: string;
|
|
6442
6586
|
[k: string]: unknown;
|
|
6443
6587
|
}
|
|
6588
|
+
/**
|
|
6589
|
+
*
|
|
6590
|
+
*
|
|
6591
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6592
|
+
* [Conditions](../../conditions/) for more information.
|
|
6593
|
+
*
|
|
6594
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6595
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6596
|
+
*
|
|
6597
|
+
* <h3>Example</h3>
|
|
6598
|
+
*
|
|
6599
|
+
*
|
|
6600
|
+
*
|
|
6601
|
+
*
|
|
6602
|
+
*
|
|
6603
|
+
* {
|
|
6604
|
+
* "condition": "user_is_logged_in",
|
|
6605
|
+
* "invert": false
|
|
6606
|
+
* }
|
|
6607
|
+
*
|
|
6608
|
+
*
|
|
6609
|
+
*
|
|
6610
|
+
*/
|
|
6611
|
+
export interface SingleCondition4 {
|
|
6612
|
+
condition: string;
|
|
6613
|
+
invert?: boolean;
|
|
6614
|
+
params?: {
|
|
6615
|
+
[k: string]: unknown;
|
|
6616
|
+
};
|
|
6617
|
+
[k: string]: unknown;
|
|
6618
|
+
}
|
|
6444
6619
|
/**
|
|
6445
6620
|
*
|
|
6446
6621
|
*
|
|
@@ -6482,37 +6657,6 @@ export interface CompositeCondition6 {
|
|
|
6482
6657
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6483
6658
|
[k: string]: unknown;
|
|
6484
6659
|
}
|
|
6485
|
-
/**
|
|
6486
|
-
*
|
|
6487
|
-
*
|
|
6488
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6489
|
-
* [Conditions](../../conditions/) for more information.
|
|
6490
|
-
*
|
|
6491
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6492
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6493
|
-
*
|
|
6494
|
-
* <h3>Example</h3>
|
|
6495
|
-
*
|
|
6496
|
-
*
|
|
6497
|
-
*
|
|
6498
|
-
*
|
|
6499
|
-
*
|
|
6500
|
-
* {
|
|
6501
|
-
* "condition": "user_is_logged_in",
|
|
6502
|
-
* "invert": false
|
|
6503
|
-
* }
|
|
6504
|
-
*
|
|
6505
|
-
*
|
|
6506
|
-
*
|
|
6507
|
-
*/
|
|
6508
|
-
export interface SingleCondition4 {
|
|
6509
|
-
condition: string;
|
|
6510
|
-
invert?: boolean;
|
|
6511
|
-
params?: {
|
|
6512
|
-
[k: string]: unknown;
|
|
6513
|
-
};
|
|
6514
|
-
[k: string]: unknown;
|
|
6515
|
-
}
|
|
6516
6660
|
/**
|
|
6517
6661
|
*
|
|
6518
6662
|
*
|
|
@@ -6867,6 +7011,37 @@ export interface I18NProperty63 {
|
|
|
6867
7011
|
i18n?: string;
|
|
6868
7012
|
[k: string]: unknown;
|
|
6869
7013
|
}
|
|
7014
|
+
/**
|
|
7015
|
+
*
|
|
7016
|
+
*
|
|
7017
|
+
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
7018
|
+
* [Conditions](../../conditions/) for more information.
|
|
7019
|
+
*
|
|
7020
|
+
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
7021
|
+
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
7022
|
+
*
|
|
7023
|
+
* <h3>Example</h3>
|
|
7024
|
+
*
|
|
7025
|
+
*
|
|
7026
|
+
*
|
|
7027
|
+
*
|
|
7028
|
+
*
|
|
7029
|
+
* {
|
|
7030
|
+
* "condition": "user_is_logged_in",
|
|
7031
|
+
* "invert": false
|
|
7032
|
+
* }
|
|
7033
|
+
*
|
|
7034
|
+
*
|
|
7035
|
+
*
|
|
7036
|
+
*/
|
|
7037
|
+
export interface SingleCondition5 {
|
|
7038
|
+
condition: string;
|
|
7039
|
+
invert?: boolean;
|
|
7040
|
+
params?: {
|
|
7041
|
+
[k: string]: unknown;
|
|
7042
|
+
};
|
|
7043
|
+
[k: string]: unknown;
|
|
7044
|
+
}
|
|
6870
7045
|
/**
|
|
6871
7046
|
*
|
|
6872
7047
|
*
|
|
@@ -6908,37 +7083,6 @@ export interface CompositeCondition7 {
|
|
|
6908
7083
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
6909
7084
|
[k: string]: unknown;
|
|
6910
7085
|
}
|
|
6911
|
-
/**
|
|
6912
|
-
*
|
|
6913
|
-
*
|
|
6914
|
-
* Single Conditions are either provided by the host application. See the complete documentation of
|
|
6915
|
-
* [Conditions](../../conditions/) for more information.
|
|
6916
|
-
*
|
|
6917
|
-
* To invert a condition, add the attribute ``invert="true"`` to the condition element.
|
|
6918
|
-
* This is useful where you want to show the section if a certain condition is not satisfied.
|
|
6919
|
-
*
|
|
6920
|
-
* <h3>Example</h3>
|
|
6921
|
-
*
|
|
6922
|
-
*
|
|
6923
|
-
*
|
|
6924
|
-
*
|
|
6925
|
-
*
|
|
6926
|
-
* {
|
|
6927
|
-
* "condition": "user_is_logged_in",
|
|
6928
|
-
* "invert": false
|
|
6929
|
-
* }
|
|
6930
|
-
*
|
|
6931
|
-
*
|
|
6932
|
-
*
|
|
6933
|
-
*/
|
|
6934
|
-
export interface SingleCondition5 {
|
|
6935
|
-
condition: string;
|
|
6936
|
-
invert?: boolean;
|
|
6937
|
-
params?: {
|
|
6938
|
-
[k: string]: unknown;
|
|
6939
|
-
};
|
|
6940
|
-
[k: string]: unknown;
|
|
6941
|
-
}
|
|
6942
7086
|
/**
|
|
6943
7087
|
*
|
|
6944
7088
|
*
|
|
@@ -8312,137 +8456,57 @@ export interface Icon16 {
|
|
|
8312
8456
|
*
|
|
8313
8457
|
*
|
|
8314
8458
|
*/
|
|
8315
|
-
export interface I18NProperty74 {
|
|
8316
|
-
value: string;
|
|
8317
|
-
i18n?: string;
|
|
8318
|
-
[k: string]: unknown;
|
|
8319
|
-
}
|
|
8320
|
-
/**
|
|
8321
|
-
*
|
|
8322
|
-
*
|
|
8323
|
-
* Defining a Macro Property panel allows you to add a hidden iframe to your macro's
|
|
8324
|
-
* property panel. The iframe is loaded as soon as the property panel is opened.
|
|
8325
|
-
*
|
|
8326
|
-
* In order to persist custom data using your property panel, use the Javascript
|
|
8327
|
-
* <a href="../../jsapi/confluence/">Confluence API</a>.
|
|
8328
|
-
* For example:
|
|
8329
|
-
*
|
|
8330
|
-
* AP.require(["confluence"], function (confluence) {
|
|
8331
|
-
* var macroParams = {
|
|
8332
|
-
* myParameter: value
|
|
8333
|
-
* };
|
|
8334
|
-
* confluence.saveMacro(macroParams);
|
|
8335
|
-
* });
|
|
8336
|
-
*
|
|
8337
|
-
* In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
|
|
8338
|
-
* <a href="../../jsapi/confluence/">Confluence API</a>):
|
|
8339
|
-
*
|
|
8340
|
-
* AP.require("confluence", function (confluence) {
|
|
8341
|
-
* var macroData = confluence.getMacroData(function(macroParams) {
|
|
8342
|
-
* doSomethingWith(macroParams.myParameter);
|
|
8343
|
-
* });
|
|
8344
|
-
* });
|
|
8345
|
-
*
|
|
8346
|
-
* Dialogs may also be created. Use `dialog.create` (see
|
|
8347
|
-
* <a href="../../jsapi/dialog/">Dialog API</a>):
|
|
8348
|
-
*
|
|
8349
|
-
* AP.require('dialog', function(dialog) {
|
|
8350
|
-
* dialog.create({
|
|
8351
|
-
* key: 'my-module-key',
|
|
8352
|
-
* width: '500px',
|
|
8353
|
-
* height: '200px',
|
|
8354
|
-
* chrome: true
|
|
8355
|
-
* }).on("close", callbackFunc);
|
|
8356
|
-
* });
|
|
8357
|
-
*
|
|
8358
|
-
*
|
|
8359
|
-
*/
|
|
8360
|
-
export interface MacroPropertyPanel {
|
|
8361
|
-
controls?: (TextControl | ButtonControl | ToggleGroup | ControlGroup)[];
|
|
8362
|
-
cacheable?: boolean;
|
|
8363
|
-
url: string;
|
|
8364
|
-
[k: string]: unknown;
|
|
8365
|
-
}
|
|
8366
|
-
/**
|
|
8367
|
-
*
|
|
8368
|
-
*
|
|
8369
|
-
* Defines a text field which may appear in control extension points such as the property panel
|
|
8370
|
-
*
|
|
8371
|
-
* <p><b>Example</b></p>
|
|
8372
|
-
*
|
|
8373
|
-
*
|
|
8374
|
-
*
|
|
8375
|
-
*
|
|
8376
|
-
*
|
|
8377
|
-
* {
|
|
8378
|
-
* "type": "button",
|
|
8379
|
-
* "label": {
|
|
8380
|
-
* "value": "My Custom Control 0"
|
|
8381
|
-
* },
|
|
8382
|
-
* "key": "my-custom-control-0"
|
|
8383
|
-
* }
|
|
8384
|
-
*
|
|
8385
|
-
*
|
|
8386
|
-
*
|
|
8387
|
-
*/
|
|
8388
|
-
export interface TextControl {
|
|
8389
|
-
macroParameter: string;
|
|
8390
|
-
type: 'text' | 'TEXT';
|
|
8391
|
-
key: string;
|
|
8392
|
-
[k: string]: unknown;
|
|
8393
|
-
}
|
|
8394
|
-
/**
|
|
8395
|
-
*
|
|
8396
|
-
*
|
|
8397
|
-
* Defines a button which may appear in control extension points such as the property panel
|
|
8398
|
-
*
|
|
8399
|
-
* <p><b>Example</b></p>
|
|
8400
|
-
*
|
|
8401
|
-
*
|
|
8402
|
-
*
|
|
8403
|
-
*
|
|
8404
|
-
*
|
|
8405
|
-
* {
|
|
8406
|
-
* "type": "button",
|
|
8407
|
-
* "label": {
|
|
8408
|
-
* "value": "My Custom Control 0"
|
|
8409
|
-
* },
|
|
8410
|
-
* "key": "my-custom-control-0"
|
|
8411
|
-
* }
|
|
8412
|
-
*
|
|
8413
|
-
*
|
|
8414
|
-
*
|
|
8415
|
-
*/
|
|
8416
|
-
export interface ButtonControl {
|
|
8417
|
-
label: I18NProperty75;
|
|
8418
|
-
type: 'button' | 'BUTTON';
|
|
8419
|
-
key: string;
|
|
8420
|
-
[k: string]: unknown;
|
|
8421
|
-
}
|
|
8422
|
-
/**
|
|
8423
|
-
*
|
|
8424
|
-
*
|
|
8425
|
-
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8426
|
-
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8427
|
-
*
|
|
8428
|
-
* <h3>Example</h3>
|
|
8429
|
-
*
|
|
8430
|
-
*
|
|
8431
|
-
*
|
|
8432
|
-
*
|
|
8433
|
-
*
|
|
8434
|
-
* {
|
|
8435
|
-
* "value": "My text"
|
|
8436
|
-
* }
|
|
8437
|
-
*
|
|
8438
|
-
*
|
|
8439
|
-
*
|
|
8440
|
-
*/
|
|
8441
|
-
export interface I18NProperty75 {
|
|
8459
|
+
export interface I18NProperty74 {
|
|
8442
8460
|
value: string;
|
|
8443
8461
|
i18n?: string;
|
|
8444
8462
|
[k: string]: unknown;
|
|
8445
8463
|
}
|
|
8464
|
+
/**
|
|
8465
|
+
*
|
|
8466
|
+
*
|
|
8467
|
+
* Defining a Macro Property panel allows you to add a hidden iframe to your macro's
|
|
8468
|
+
* property panel. The iframe is loaded as soon as the property panel is opened.
|
|
8469
|
+
*
|
|
8470
|
+
* In order to persist custom data using your property panel, use the Javascript
|
|
8471
|
+
* <a href="../../jsapi/confluence/">Confluence API</a>.
|
|
8472
|
+
* For example:
|
|
8473
|
+
*
|
|
8474
|
+
* AP.require(["confluence"], function (confluence) {
|
|
8475
|
+
* var macroParams = {
|
|
8476
|
+
* myParameter: value
|
|
8477
|
+
* };
|
|
8478
|
+
* confluence.saveMacro(macroParams);
|
|
8479
|
+
* });
|
|
8480
|
+
*
|
|
8481
|
+
* In order to retrieve the custom data again when the property panel is opened, use `confluence.getMacroData` (see
|
|
8482
|
+
* <a href="../../jsapi/confluence/">Confluence API</a>):
|
|
8483
|
+
*
|
|
8484
|
+
* AP.require("confluence", function (confluence) {
|
|
8485
|
+
* var macroData = confluence.getMacroData(function(macroParams) {
|
|
8486
|
+
* doSomethingWith(macroParams.myParameter);
|
|
8487
|
+
* });
|
|
8488
|
+
* });
|
|
8489
|
+
*
|
|
8490
|
+
* Dialogs may also be created. Use `dialog.create` (see
|
|
8491
|
+
* <a href="../../jsapi/dialog/">Dialog API</a>):
|
|
8492
|
+
*
|
|
8493
|
+
* AP.require('dialog', function(dialog) {
|
|
8494
|
+
* dialog.create({
|
|
8495
|
+
* key: 'my-module-key',
|
|
8496
|
+
* width: '500px',
|
|
8497
|
+
* height: '200px',
|
|
8498
|
+
* chrome: true
|
|
8499
|
+
* }).on("close", callbackFunc);
|
|
8500
|
+
* });
|
|
8501
|
+
*
|
|
8502
|
+
*
|
|
8503
|
+
*/
|
|
8504
|
+
export interface MacroPropertyPanel {
|
|
8505
|
+
controls?: (ToggleGroup | ControlGroup | TextControl | ButtonControl1)[];
|
|
8506
|
+
cacheable?: boolean;
|
|
8507
|
+
url: string;
|
|
8508
|
+
[k: string]: unknown;
|
|
8509
|
+
}
|
|
8446
8510
|
/**
|
|
8447
8511
|
*
|
|
8448
8512
|
*
|
|
@@ -8513,7 +8577,7 @@ export interface ToggleGroup {
|
|
|
8513
8577
|
*/
|
|
8514
8578
|
export interface ToggleButtonControl {
|
|
8515
8579
|
macroParameterValue: string;
|
|
8516
|
-
label:
|
|
8580
|
+
label: I18NProperty75;
|
|
8517
8581
|
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
8518
8582
|
key: string;
|
|
8519
8583
|
[k: string]: unknown;
|
|
@@ -8537,7 +8601,7 @@ export interface ToggleButtonControl {
|
|
|
8537
8601
|
*
|
|
8538
8602
|
*
|
|
8539
8603
|
*/
|
|
8540
|
-
export interface
|
|
8604
|
+
export interface I18NProperty75 {
|
|
8541
8605
|
value: string;
|
|
8542
8606
|
i18n?: string;
|
|
8543
8607
|
[k: string]: unknown;
|
|
@@ -8579,10 +8643,90 @@ export interface I18NProperty76 {
|
|
|
8579
8643
|
*
|
|
8580
8644
|
*/
|
|
8581
8645
|
export interface ControlGroup {
|
|
8582
|
-
controls:
|
|
8646
|
+
controls: ButtonControl[];
|
|
8583
8647
|
type: 'group' | 'GROUP';
|
|
8584
8648
|
[k: string]: unknown;
|
|
8585
8649
|
}
|
|
8650
|
+
/**
|
|
8651
|
+
*
|
|
8652
|
+
*
|
|
8653
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
8654
|
+
*
|
|
8655
|
+
* <p><b>Example</b></p>
|
|
8656
|
+
*
|
|
8657
|
+
*
|
|
8658
|
+
*
|
|
8659
|
+
*
|
|
8660
|
+
*
|
|
8661
|
+
* {
|
|
8662
|
+
* "type": "button",
|
|
8663
|
+
* "label": {
|
|
8664
|
+
* "value": "My Custom Control 0"
|
|
8665
|
+
* },
|
|
8666
|
+
* "key": "my-custom-control-0"
|
|
8667
|
+
* }
|
|
8668
|
+
*
|
|
8669
|
+
*
|
|
8670
|
+
*
|
|
8671
|
+
*/
|
|
8672
|
+
export interface ButtonControl {
|
|
8673
|
+
label: I18NProperty76;
|
|
8674
|
+
type: 'button' | 'BUTTON';
|
|
8675
|
+
key: string;
|
|
8676
|
+
[k: string]: unknown;
|
|
8677
|
+
}
|
|
8678
|
+
/**
|
|
8679
|
+
*
|
|
8680
|
+
*
|
|
8681
|
+
* Represents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key
|
|
8682
|
+
* and value in multiple places if you like, but identical keys must have identical values.
|
|
8683
|
+
*
|
|
8684
|
+
* <h3>Example</h3>
|
|
8685
|
+
*
|
|
8686
|
+
*
|
|
8687
|
+
*
|
|
8688
|
+
*
|
|
8689
|
+
*
|
|
8690
|
+
* {
|
|
8691
|
+
* "value": "My text"
|
|
8692
|
+
* }
|
|
8693
|
+
*
|
|
8694
|
+
*
|
|
8695
|
+
*
|
|
8696
|
+
*/
|
|
8697
|
+
export interface I18NProperty76 {
|
|
8698
|
+
value: string;
|
|
8699
|
+
i18n?: string;
|
|
8700
|
+
[k: string]: unknown;
|
|
8701
|
+
}
|
|
8702
|
+
/**
|
|
8703
|
+
*
|
|
8704
|
+
*
|
|
8705
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
8706
|
+
*
|
|
8707
|
+
* <p><b>Example</b></p>
|
|
8708
|
+
*
|
|
8709
|
+
*
|
|
8710
|
+
*
|
|
8711
|
+
*
|
|
8712
|
+
*
|
|
8713
|
+
* {
|
|
8714
|
+
* "type": "button",
|
|
8715
|
+
* "label": {
|
|
8716
|
+
* "value": "My Custom Control 0"
|
|
8717
|
+
* },
|
|
8718
|
+
* "key": "my-custom-control-0"
|
|
8719
|
+
* }
|
|
8720
|
+
*
|
|
8721
|
+
*
|
|
8722
|
+
*
|
|
8723
|
+
*/
|
|
8724
|
+
export interface TextControl {
|
|
8725
|
+
macroParameter: string;
|
|
8726
|
+
type: 'text' | 'TEXT';
|
|
8727
|
+
key: string;
|
|
8728
|
+
[k: string]: unknown;
|
|
8729
|
+
}
|
|
8586
8730
|
/**
|
|
8587
8731
|
*
|
|
8588
8732
|
*
|
|
@@ -50729,10 +50873,74 @@ export interface I18NProperty91 {
|
|
|
50729
50873
|
*
|
|
50730
50874
|
*/
|
|
50731
50875
|
export interface WebItemTarget2 {
|
|
50732
|
-
options?:
|
|
50876
|
+
options?: InlineDialogOptions2 | DialogModuleOptions2 | DialogOptions4;
|
|
50733
50877
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
50734
50878
|
[k: string]: unknown;
|
|
50735
50879
|
}
|
|
50880
|
+
/**
|
|
50881
|
+
*
|
|
50882
|
+
*
|
|
50883
|
+
* Options for an inline dialog target
|
|
50884
|
+
*
|
|
50885
|
+
* <h3>Example</h3>
|
|
50886
|
+
*
|
|
50887
|
+
*
|
|
50888
|
+
*
|
|
50889
|
+
*
|
|
50890
|
+
*
|
|
50891
|
+
* {
|
|
50892
|
+
* "target": {
|
|
50893
|
+
* "type": "inlinedialog",
|
|
50894
|
+
* "options": {
|
|
50895
|
+
* "onHover": true,
|
|
50896
|
+
* "offsetX": "30px",
|
|
50897
|
+
* "offsetY": "20px"
|
|
50898
|
+
* }
|
|
50899
|
+
* }
|
|
50900
|
+
* }
|
|
50901
|
+
*
|
|
50902
|
+
*
|
|
50903
|
+
*
|
|
50904
|
+
*/
|
|
50905
|
+
export interface InlineDialogOptions2 {
|
|
50906
|
+
offsetX?: string;
|
|
50907
|
+
offsetY?: string;
|
|
50908
|
+
width?: string;
|
|
50909
|
+
onTop?: boolean;
|
|
50910
|
+
showDelay?: number;
|
|
50911
|
+
closeOthers?: boolean;
|
|
50912
|
+
persistent?: boolean;
|
|
50913
|
+
onHover?: boolean;
|
|
50914
|
+
isRelativeToMouse?: boolean;
|
|
50915
|
+
[k: string]: unknown;
|
|
50916
|
+
}
|
|
50917
|
+
/**
|
|
50918
|
+
*
|
|
50919
|
+
*
|
|
50920
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50921
|
+
*
|
|
50922
|
+
* <h3>Example</h3>
|
|
50923
|
+
*
|
|
50924
|
+
*
|
|
50925
|
+
*
|
|
50926
|
+
*
|
|
50927
|
+
*
|
|
50928
|
+
* {
|
|
50929
|
+
* "target": {
|
|
50930
|
+
* "type": "dialogmodule",
|
|
50931
|
+
* "options": {
|
|
50932
|
+
* "key": "dialog-module-key"
|
|
50933
|
+
* }
|
|
50934
|
+
* }
|
|
50935
|
+
* }
|
|
50936
|
+
*
|
|
50937
|
+
*
|
|
50938
|
+
*
|
|
50939
|
+
*/
|
|
50940
|
+
export interface DialogModuleOptions2 {
|
|
50941
|
+
key: string;
|
|
50942
|
+
[k: string]: unknown;
|
|
50943
|
+
}
|
|
50736
50944
|
/**
|
|
50737
50945
|
*
|
|
50738
50946
|
*
|
|
@@ -50831,70 +51039,6 @@ export interface I18NProperty92 {
|
|
|
50831
51039
|
i18n?: string;
|
|
50832
51040
|
[k: string]: unknown;
|
|
50833
51041
|
}
|
|
50834
|
-
/**
|
|
50835
|
-
*
|
|
50836
|
-
*
|
|
50837
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
50838
|
-
*
|
|
50839
|
-
* <h3>Example</h3>
|
|
50840
|
-
*
|
|
50841
|
-
*
|
|
50842
|
-
*
|
|
50843
|
-
*
|
|
50844
|
-
*
|
|
50845
|
-
* {
|
|
50846
|
-
* "target": {
|
|
50847
|
-
* "type": "dialogmodule",
|
|
50848
|
-
* "options": {
|
|
50849
|
-
* "key": "dialog-module-key"
|
|
50850
|
-
* }
|
|
50851
|
-
* }
|
|
50852
|
-
* }
|
|
50853
|
-
*
|
|
50854
|
-
*
|
|
50855
|
-
*
|
|
50856
|
-
*/
|
|
50857
|
-
export interface DialogModuleOptions2 {
|
|
50858
|
-
key: string;
|
|
50859
|
-
[k: string]: unknown;
|
|
50860
|
-
}
|
|
50861
|
-
/**
|
|
50862
|
-
*
|
|
50863
|
-
*
|
|
50864
|
-
* Options for an inline dialog target
|
|
50865
|
-
*
|
|
50866
|
-
* <h3>Example</h3>
|
|
50867
|
-
*
|
|
50868
|
-
*
|
|
50869
|
-
*
|
|
50870
|
-
*
|
|
50871
|
-
*
|
|
50872
|
-
* {
|
|
50873
|
-
* "target": {
|
|
50874
|
-
* "type": "inlinedialog",
|
|
50875
|
-
* "options": {
|
|
50876
|
-
* "onHover": true,
|
|
50877
|
-
* "offsetX": "30px",
|
|
50878
|
-
* "offsetY": "20px"
|
|
50879
|
-
* }
|
|
50880
|
-
* }
|
|
50881
|
-
* }
|
|
50882
|
-
*
|
|
50883
|
-
*
|
|
50884
|
-
*
|
|
50885
|
-
*/
|
|
50886
|
-
export interface InlineDialogOptions2 {
|
|
50887
|
-
offsetX?: string;
|
|
50888
|
-
offsetY?: string;
|
|
50889
|
-
width?: string;
|
|
50890
|
-
onTop?: boolean;
|
|
50891
|
-
showDelay?: number;
|
|
50892
|
-
closeOthers?: boolean;
|
|
50893
|
-
persistent?: boolean;
|
|
50894
|
-
onHover?: boolean;
|
|
50895
|
-
isRelativeToMouse?: boolean;
|
|
50896
|
-
[k: string]: unknown;
|
|
50897
|
-
}
|
|
50898
51042
|
/**
|
|
50899
51043
|
*
|
|
50900
51044
|
*
|