@forge/manifest 3.3.1-next.2 → 3.4.0-next.5

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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.4.0-next.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 1c6c578: Add jiraEntityProperty values validation
8
+
9
+ ## 3.4.0-next.4
10
+
11
+ ### Minor Changes
12
+
13
+ - 64dd525: Make revokeToken optional in External Auth
14
+
15
+ ### Patch Changes
16
+
17
+ - 10f147f: Update manifest definitions
18
+
19
+ ## 3.3.1-next.3
20
+
21
+ ### Patch Changes
22
+
23
+ - 1a8a4bb: Update manifest definitions
24
+
3
25
  ## 3.3.1-next.2
4
26
 
5
27
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"basic-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/basic-validation-processor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBAAa,wBAAyB,SAAQ,2BAA2B,CAAC,mBAAmB,CAAC;;CAQ7F"}
1
+ {"version":3,"file":"basic-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/basic-validation-processor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBAAa,wBAAyB,SAAQ,2BAA2B,CAAC,mBAAmB,CAAC;;CAS7F"}
@@ -10,7 +10,8 @@ class BasicValidationProcessor extends abstract_validation_processor_1.AbstractV
10
10
  super([
11
11
  new validators_1.FileValidator(),
12
12
  new validators_1.YamlValidator(),
13
- new validators_1.SchemaValidator(BASIC_SCHEMA)
13
+ new validators_1.SchemaValidator(BASIC_SCHEMA),
14
+ new validators_1.EntityPropertyValidator()
14
15
  ]);
15
16
  }
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAiBvF"}
1
+ {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAkBvF"}
@@ -21,7 +21,8 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
21
21
  new validators_1.PermissionsValidator(),
22
22
  new deprecated_permissions_validator_1.DeprecatedPermissionsValidator(),
23
23
  new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
24
- new validators_1.ProvidersValidator()
24
+ new validators_1.ProvidersValidator(),
25
+ new validators_1.EntityPropertyValidator()
25
26
  ]);
26
27
  }
27
28
  }
@@ -1361,6 +1361,72 @@
1361
1361
  },
1362
1362
  "minItems": 1
1363
1363
  },
1364
+ "jira:entityProperty": {
1365
+ "type": "array",
1366
+ "items": {
1367
+ "type": "object",
1368
+ "properties": {
1369
+ "propertyKey": {
1370
+ "minLength": 1,
1371
+ "maxLength": 255,
1372
+ "pattern": "^[a-zA-Z0-9-_]+$",
1373
+ "type": "string"
1374
+ },
1375
+ "entityType": {
1376
+ "default": "issue",
1377
+ "enum": [
1378
+ "issue",
1379
+ "project",
1380
+ "user"
1381
+ ],
1382
+ "type": "string"
1383
+ },
1384
+ "values": {
1385
+ "type": "array",
1386
+ "items": {
1387
+ "type": "object",
1388
+ "properties": {
1389
+ "path": {
1390
+ "minLength": 1,
1391
+ "maxLength": 255,
1392
+ "pattern": "^[a-zA-Z0-9-_]+$",
1393
+ "type": "string"
1394
+ },
1395
+ "type": {
1396
+ "enum": [
1397
+ "date",
1398
+ "number",
1399
+ "string",
1400
+ "text",
1401
+ "user"
1402
+ ],
1403
+ "type": "string"
1404
+ },
1405
+ "searchAlias": {
1406
+ "minLength": 1,
1407
+ "maxLength": 255,
1408
+ "pattern": "^[a-zA-Z0-9-_]+$",
1409
+ "type": "string"
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "path",
1414
+ "type"
1415
+ ]
1416
+ }
1417
+ },
1418
+ "key": {
1419
+ "$ref": "#/definitions/ModuleKeySchema"
1420
+ }
1421
+ },
1422
+ "required": [
1423
+ "propertyKey",
1424
+ "values",
1425
+ "key"
1426
+ ]
1427
+ },
1428
+ "minItems": 1
1429
+ },
1364
1430
  "jira:customField": {
1365
1431
  "type": "array",
1366
1432
  "items": {
@@ -7627,10 +7693,10 @@
7627
7693
  "type": "object",
7628
7694
  "anyOf": [
7629
7695
  {
7630
- "$ref": "#/definitions/singleCondition"
7696
+ "$ref": "#/definitions/compositeCondition"
7631
7697
  },
7632
7698
  {
7633
- "$ref": "#/definitions/compositeCondition"
7699
+ "$ref": "#/definitions/singleCondition"
7634
7700
  }
7635
7701
  ]
7636
7702
  },
@@ -7925,22 +7991,6 @@
7925
7991
  "title": "Dialog Options",
7926
7992
  "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
7927
7993
  },
7928
- {
7929
- "properties": {
7930
- "key": {
7931
- "maxLength": 100,
7932
- "type": "string",
7933
- "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
7934
- }
7935
- },
7936
- "required": [
7937
- "key"
7938
- ],
7939
- "shortClassName": "dialogModuleOptions",
7940
- "type": "object",
7941
- "title": "Dialog Module Options",
7942
- "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
7943
- },
7944
7994
  {
7945
7995
  "properties": {
7946
7996
  "offsetX": {
@@ -7987,6 +8037,22 @@
7987
8037
  "type": "object",
7988
8038
  "title": "Inline Dialog Options",
7989
8039
  "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
8040
+ },
8041
+ {
8042
+ "properties": {
8043
+ "key": {
8044
+ "maxLength": 100,
8045
+ "type": "string",
8046
+ "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
8047
+ }
8048
+ },
8049
+ "required": [
8050
+ "key"
8051
+ ],
8052
+ "shortClassName": "dialogModuleOptions",
8053
+ "type": "object",
8054
+ "title": "Dialog Module Options",
8055
+ "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
7990
8056
  }
7991
8057
  ]
7992
8058
  },
@@ -8077,10 +8143,10 @@
8077
8143
  "type": "object",
8078
8144
  "anyOf": [
8079
8145
  {
8080
- "$ref": "#/definitions/singleCondition"
8146
+ "$ref": "#"
8081
8147
  },
8082
8148
  {
8083
- "$ref": "#"
8149
+ "$ref": "#/definitions/singleCondition"
8084
8150
  }
8085
8151
  ]
8086
8152
  },
@@ -8694,38 +8760,6 @@
8694
8760
  "title": "ControlGroup",
8695
8761
  "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
8696
8762
  },
8697
- {
8698
- "properties": {
8699
- "label": {
8700
- "$ref": "#/definitions/i18nProperty",
8701
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
8702
- },
8703
- "type": {
8704
- "enum": [
8705
- "button",
8706
- "BUTTON"
8707
- ],
8708
- "type": "string",
8709
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8710
- },
8711
- "key": {
8712
- "pattern": "^[a-zA-Z0-9-]+$",
8713
- "maxLength": 100,
8714
- "type": "string",
8715
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8716
- }
8717
- },
8718
- "required": [
8719
- "label",
8720
- "type",
8721
- "key"
8722
- ],
8723
- "additionalProperties": true,
8724
- "shortClassName": "buttonControlBean",
8725
- "type": "object",
8726
- "title": "ButtonControl",
8727
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8728
- },
8729
8763
  {
8730
8764
  "properties": {
8731
8765
  "controls": {
@@ -8826,6 +8860,38 @@
8826
8860
  "type": "object",
8827
8861
  "title": "TextControl",
8828
8862
  "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8863
+ },
8864
+ {
8865
+ "properties": {
8866
+ "label": {
8867
+ "$ref": "#/definitions/i18nProperty",
8868
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
8869
+ },
8870
+ "type": {
8871
+ "enum": [
8872
+ "button",
8873
+ "BUTTON"
8874
+ ],
8875
+ "type": "string",
8876
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8877
+ },
8878
+ "key": {
8879
+ "pattern": "^[a-zA-Z0-9-]+$",
8880
+ "maxLength": 100,
8881
+ "type": "string",
8882
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8883
+ }
8884
+ },
8885
+ "required": [
8886
+ "label",
8887
+ "type",
8888
+ "key"
8889
+ ],
8890
+ "additionalProperties": true,
8891
+ "shortClassName": "buttonControlBean",
8892
+ "type": "object",
8893
+ "title": "ButtonControl",
8894
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8829
8895
  }
8830
8896
  ]
8831
8897
  },
@@ -9120,38 +9186,6 @@
9120
9186
  "items": {
9121
9187
  "type": "object",
9122
9188
  "anyOf": [
9123
- {
9124
- "properties": {
9125
- "macroParameter": {
9126
- "maxLength": 100,
9127
- "type": "string",
9128
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
9129
- },
9130
- "type": {
9131
- "enum": [
9132
- "text",
9133
- "TEXT"
9134
- ],
9135
- "type": "string",
9136
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
9137
- },
9138
- "key": {
9139
- "pattern": "^[a-zA-Z0-9-]+$",
9140
- "maxLength": 100,
9141
- "type": "string",
9142
- "fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
9143
- }
9144
- },
9145
- "required": [
9146
- "macroParameter",
9147
- "type",
9148
- "key"
9149
- ],
9150
- "shortClassName": "textControlBean",
9151
- "type": "object",
9152
- "title": "TextControl",
9153
- "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9154
- },
9155
9189
  {
9156
9190
  "properties": {
9157
9191
  "controls": {
@@ -9308,6 +9342,38 @@
9308
9342
  "type": "object",
9309
9343
  "title": "ControlGroup",
9310
9344
  "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
9345
+ },
9346
+ {
9347
+ "properties": {
9348
+ "macroParameter": {
9349
+ "maxLength": 100,
9350
+ "type": "string",
9351
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
9352
+ },
9353
+ "type": {
9354
+ "enum": [
9355
+ "text",
9356
+ "TEXT"
9357
+ ],
9358
+ "type": "string",
9359
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
9360
+ },
9361
+ "key": {
9362
+ "pattern": "^[a-zA-Z0-9-]+$",
9363
+ "maxLength": 100,
9364
+ "type": "string",
9365
+ "fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
9366
+ }
9367
+ },
9368
+ "required": [
9369
+ "macroParameter",
9370
+ "type",
9371
+ "key"
9372
+ ],
9373
+ "shortClassName": "textControlBean",
9374
+ "type": "object",
9375
+ "title": "TextControl",
9376
+ "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9311
9377
  }
9312
9378
  ]
9313
9379
  },
@@ -9543,67 +9609,6 @@
9543
9609
  "type": "object",
9544
9610
  "fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
9545
9611
  "anyOf": [
9546
- {
9547
- "properties": {
9548
- "size": {
9549
- "enum": [
9550
- "small",
9551
- "SMALL",
9552
- "medium",
9553
- "MEDIUM",
9554
- "large",
9555
- "LARGE",
9556
- "x-large",
9557
- "X-LARGE",
9558
- "fullscreen",
9559
- "FULLSCREEN",
9560
- "maximum",
9561
- "MAXIMUM"
9562
- ],
9563
- "type": "string",
9564
- "fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
9565
- },
9566
- "chrome": {
9567
- "type": "boolean",
9568
- "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
9569
- "defaultValue": "true"
9570
- },
9571
- "width": {
9572
- "maxLength": 10,
9573
- "type": "string",
9574
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
9575
- },
9576
- "header": {
9577
- "$ref": "#/definitions/i18nProperty",
9578
- "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
9579
- },
9580
- "height": {
9581
- "maxLength": 10,
9582
- "type": "string",
9583
- "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
9584
- }
9585
- },
9586
- "shortClassName": "dialogOptions",
9587
- "type": "object",
9588
- "title": "Dialog Options",
9589
- "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
9590
- },
9591
- {
9592
- "properties": {
9593
- "key": {
9594
- "maxLength": 100,
9595
- "type": "string",
9596
- "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
9597
- }
9598
- },
9599
- "required": [
9600
- "key"
9601
- ],
9602
- "shortClassName": "dialogModuleOptions",
9603
- "type": "object",
9604
- "title": "Dialog Module Options",
9605
- "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
9606
- },
9607
9612
  {
9608
9613
  "properties": {
9609
9614
  "offsetX": {
@@ -9650,6 +9655,67 @@
9650
9655
  "type": "object",
9651
9656
  "title": "Inline Dialog Options",
9652
9657
  "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
9658
+ },
9659
+ {
9660
+ "properties": {
9661
+ "key": {
9662
+ "maxLength": 100,
9663
+ "type": "string",
9664
+ "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
9665
+ }
9666
+ },
9667
+ "required": [
9668
+ "key"
9669
+ ],
9670
+ "shortClassName": "dialogModuleOptions",
9671
+ "type": "object",
9672
+ "title": "Dialog Module Options",
9673
+ "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
9674
+ },
9675
+ {
9676
+ "properties": {
9677
+ "size": {
9678
+ "enum": [
9679
+ "small",
9680
+ "SMALL",
9681
+ "medium",
9682
+ "MEDIUM",
9683
+ "large",
9684
+ "LARGE",
9685
+ "x-large",
9686
+ "X-LARGE",
9687
+ "fullscreen",
9688
+ "FULLSCREEN",
9689
+ "maximum",
9690
+ "MAXIMUM"
9691
+ ],
9692
+ "type": "string",
9693
+ "fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
9694
+ },
9695
+ "chrome": {
9696
+ "type": "boolean",
9697
+ "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
9698
+ "defaultValue": "true"
9699
+ },
9700
+ "width": {
9701
+ "maxLength": 10,
9702
+ "type": "string",
9703
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
9704
+ },
9705
+ "header": {
9706
+ "$ref": "#/definitions/i18nProperty",
9707
+ "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
9708
+ },
9709
+ "height": {
9710
+ "maxLength": 10,
9711
+ "type": "string",
9712
+ "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
9713
+ }
9714
+ },
9715
+ "shortClassName": "dialogOptions",
9716
+ "type": "object",
9717
+ "title": "Dialog Options",
9718
+ "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
9653
9719
  }
9654
9720
  ]
9655
9721
  },
@@ -10233,7 +10299,6 @@
10233
10299
  "required": [
10234
10300
  "authorization",
10235
10301
  "exchange",
10236
- "revokeToken",
10237
10302
  "retrieveProfile"
10238
10303
  ],
10239
10304
  "additionalProperties": false,