datocms-plugin-sdk 0.3.2 → 0.3.3

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/types.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "flags": {},
15
15
  "comment": {
16
16
  "shortText": "DatoCMS account",
17
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"account\".\n"
17
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"account\".\n"
18
18
  },
19
19
  "children": [
20
20
  {
@@ -26,7 +26,7 @@
26
26
  "sources": [
27
27
  {
28
28
  "fileName": "SiteApiSchema.ts",
29
- "line": 2088,
29
+ "line": 1907,
30
30
  "character": 2
31
31
  }
32
32
  ],
@@ -44,7 +44,7 @@
44
44
  "sources": [
45
45
  {
46
46
  "fileName": "SiteApiSchema.ts",
47
- "line": 2087,
47
+ "line": 1906,
48
48
  "character": 2
49
49
  }
50
50
  ],
@@ -62,7 +62,7 @@
62
62
  "sources": [
63
63
  {
64
64
  "fileName": "SiteApiSchema.ts",
65
- "line": 2086,
65
+ "line": 1905,
66
66
  "character": 2
67
67
  }
68
68
  ],
@@ -86,7 +86,7 @@
86
86
  "sources": [
87
87
  {
88
88
  "fileName": "SiteApiSchema.ts",
89
- "line": 2085,
89
+ "line": 1904,
90
90
  "character": 17
91
91
  }
92
92
  ]
@@ -98,8 +98,8 @@
98
98
  "kindString": "Interface",
99
99
  "flags": {},
100
100
  "comment": {
101
- "shortText": "Each Model consists of a set of fields. Using the database metaphore, fields\nare like table columns, and when creating them you need to specify their type\n(`string`, `file`, `float`, etc.) and any required validation.",
102
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"field\".\n"
101
+ "shortText": "Each Model consists of a set of fields. Using the database metaphore, fields are like\ntable columns, and when creating them you need to specify their type (`string`, `file`,\n`float`, etc.) and any required validation.",
102
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"field\".\n"
103
103
  },
104
104
  "children": [
105
105
  {
@@ -111,7 +111,7 @@
111
111
  "sources": [
112
112
  {
113
113
  "fileName": "SiteApiSchema.ts",
114
- "line": 2767,
114
+ "line": 2513,
115
115
  "character": 2
116
116
  }
117
117
  ],
@@ -129,7 +129,7 @@
129
129
  "sources": [
130
130
  {
131
131
  "fileName": "SiteApiSchema.ts",
132
- "line": 2766,
132
+ "line": 2512,
133
133
  "character": 2
134
134
  }
135
135
  ],
@@ -147,7 +147,7 @@
147
147
  "sources": [
148
148
  {
149
149
  "fileName": "SiteApiSchema.ts",
150
- "line": 2768,
150
+ "line": 2514,
151
151
  "character": 2
152
152
  }
153
153
  ],
@@ -165,7 +165,7 @@
165
165
  "sources": [
166
166
  {
167
167
  "fileName": "SiteApiSchema.ts",
168
- "line": 2765,
168
+ "line": 2511,
169
169
  "character": 2
170
170
  }
171
171
  ],
@@ -190,7 +190,7 @@
190
190
  "sources": [
191
191
  {
192
192
  "fileName": "SiteApiSchema.ts",
193
- "line": 2764,
193
+ "line": 2510,
194
194
  "character": 17
195
195
  }
196
196
  ]
@@ -202,8 +202,8 @@
202
202
  "kindString": "Interface",
203
203
  "flags": {},
204
204
  "comment": {
205
- "shortText": "DatoCMS stores the individual pieces of content you create from a model as\nrecords, which are much like table rows in a database. For\nbackward-compatibility reasons, the API refers to records as \"items\".",
206
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"item\".\n"
205
+ "shortText": "DatoCMS stores the individual pieces of content you create from a model as records,\nwhich are much like table rows in a database. For backward-compatibility reasons, the\nAPI refers to records as \"items\".",
206
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"item\".\n"
207
207
  },
208
208
  "children": [
209
209
  {
@@ -215,7 +215,7 @@
215
215
  "sources": [
216
216
  {
217
217
  "fileName": "SiteApiSchema.ts",
218
- "line": 3919,
218
+ "line": 3523,
219
219
  "character": 2
220
220
  }
221
221
  ],
@@ -233,7 +233,7 @@
233
233
  "sources": [
234
234
  {
235
235
  "fileName": "SiteApiSchema.ts",
236
- "line": 3918,
236
+ "line": 3522,
237
237
  "character": 2
238
238
  }
239
239
  ],
@@ -251,7 +251,7 @@
251
251
  "sources": [
252
252
  {
253
253
  "fileName": "SiteApiSchema.ts",
254
- "line": 3921,
254
+ "line": 3525,
255
255
  "character": 2
256
256
  }
257
257
  ],
@@ -269,7 +269,7 @@
269
269
  "sources": [
270
270
  {
271
271
  "fileName": "SiteApiSchema.ts",
272
- "line": 3920,
272
+ "line": 3524,
273
273
  "character": 2
274
274
  }
275
275
  ],
@@ -287,7 +287,7 @@
287
287
  "sources": [
288
288
  {
289
289
  "fileName": "SiteApiSchema.ts",
290
- "line": 3917,
290
+ "line": 3521,
291
291
  "character": 2
292
292
  }
293
293
  ],
@@ -313,7 +313,7 @@
313
313
  "sources": [
314
314
  {
315
315
  "fileName": "SiteApiSchema.ts",
316
- "line": 3916,
316
+ "line": 3520,
317
317
  "character": 17
318
318
  }
319
319
  ]
@@ -325,8 +325,8 @@
325
325
  "kindString": "Interface",
326
326
  "flags": {},
327
327
  "comment": {
328
- "shortText": "The way you define the kind of content you can edit inside your\nadministrative area passes through the concept of Models, which are much like\ndatabase tables. For backward-compatibility reasons, the API refers to models\nas \"item types\".",
329
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"item_type\".\n"
328
+ "shortText": "The way you define the kind of content you can edit inside your administrative area\npasses through the concept of Models, which are much like database tables. For\nbackward-compatibility reasons, the API refers to models as \"item types\".",
329
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"item_type\".\n"
330
330
  },
331
331
  "children": [
332
332
  {
@@ -338,7 +338,7 @@
338
338
  "sources": [
339
339
  {
340
340
  "fileName": "SiteApiSchema.ts",
341
- "line": 2442,
341
+ "line": 2236,
342
342
  "character": 2
343
343
  }
344
344
  ],
@@ -356,7 +356,7 @@
356
356
  "sources": [
357
357
  {
358
358
  "fileName": "SiteApiSchema.ts",
359
- "line": 2441,
359
+ "line": 2235,
360
360
  "character": 2
361
361
  }
362
362
  ],
@@ -374,7 +374,7 @@
374
374
  "sources": [
375
375
  {
376
376
  "fileName": "SiteApiSchema.ts",
377
- "line": 2443,
377
+ "line": 2237,
378
378
  "character": 2
379
379
  }
380
380
  ],
@@ -392,7 +392,7 @@
392
392
  "sources": [
393
393
  {
394
394
  "fileName": "SiteApiSchema.ts",
395
- "line": 2440,
395
+ "line": 2234,
396
396
  "character": 2
397
397
  }
398
398
  ],
@@ -417,7 +417,7 @@
417
417
  "sources": [
418
418
  {
419
419
  "fileName": "SiteApiSchema.ts",
420
- "line": 2439,
420
+ "line": 2233,
421
421
  "character": 17
422
422
  }
423
423
  ]
@@ -429,8 +429,8 @@
429
429
  "kindString": "Interface",
430
430
  "flags": {},
431
431
  "comment": {
432
- "shortText": "Plugins enable developers to replace DatoCMS field components with HTML5\napplications so the editing experiences of the DatoCMS web app can be customized.",
433
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"plugin\".\n"
432
+ "shortText": "Plugins enable developers to replace DatoCMS field components with HTML5 applications\nso the editing experiences of the DatoCMS web app can be customized.",
433
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"plugin\".\n"
434
434
  },
435
435
  "children": [
436
436
  {
@@ -442,7 +442,7 @@
442
442
  "sources": [
443
443
  {
444
444
  "fileName": "SiteApiSchema.ts",
445
- "line": 3484,
445
+ "line": 3130,
446
446
  "character": 2
447
447
  }
448
448
  ],
@@ -460,7 +460,7 @@
460
460
  "sources": [
461
461
  {
462
462
  "fileName": "SiteApiSchema.ts",
463
- "line": 3483,
463
+ "line": 3129,
464
464
  "character": 2
465
465
  }
466
466
  ],
@@ -478,7 +478,7 @@
478
478
  "sources": [
479
479
  {
480
480
  "fileName": "SiteApiSchema.ts",
481
- "line": 3485,
481
+ "line": 3131,
482
482
  "character": 2
483
483
  }
484
484
  ],
@@ -496,7 +496,7 @@
496
496
  "sources": [
497
497
  {
498
498
  "fileName": "SiteApiSchema.ts",
499
- "line": 3482,
499
+ "line": 3128,
500
500
  "character": 2
501
501
  }
502
502
  ],
@@ -521,7 +521,7 @@
521
521
  "sources": [
522
522
  {
523
523
  "fileName": "SiteApiSchema.ts",
524
- "line": 3481,
524
+ "line": 3127,
525
525
  "character": 17
526
526
  }
527
527
  ]
@@ -533,8 +533,8 @@
533
533
  "kindString": "Interface",
534
534
  "flags": {},
535
535
  "comment": {
536
- "shortText": "A Role represents a specific set of actions an editor (or an API token) can\nperform on your administrative area.",
537
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"role\".\n"
536
+ "shortText": "A Role represents a specific set of actions an editor (or an API token) can perform on\nyour administrative area.",
537
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"role\".\n"
538
538
  },
539
539
  "children": [
540
540
  {
@@ -546,7 +546,7 @@
546
546
  "sources": [
547
547
  {
548
548
  "fileName": "SiteApiSchema.ts",
549
- "line": 1037,
549
+ "line": 924,
550
550
  "character": 2
551
551
  }
552
552
  ],
@@ -564,7 +564,7 @@
564
564
  "sources": [
565
565
  {
566
566
  "fileName": "SiteApiSchema.ts",
567
- "line": 1036,
567
+ "line": 923,
568
568
  "character": 2
569
569
  }
570
570
  ],
@@ -582,7 +582,7 @@
582
582
  "sources": [
583
583
  {
584
584
  "fileName": "SiteApiSchema.ts",
585
- "line": 1039,
585
+ "line": 926,
586
586
  "character": 2
587
587
  }
588
588
  ],
@@ -600,7 +600,7 @@
600
600
  "sources": [
601
601
  {
602
602
  "fileName": "SiteApiSchema.ts",
603
- "line": 1038,
603
+ "line": 925,
604
604
  "character": 2
605
605
  }
606
606
  ],
@@ -618,7 +618,7 @@
618
618
  "sources": [
619
619
  {
620
620
  "fileName": "SiteApiSchema.ts",
621
- "line": 1035,
621
+ "line": 922,
622
622
  "character": 2
623
623
  }
624
624
  ],
@@ -644,7 +644,7 @@
644
644
  "sources": [
645
645
  {
646
646
  "fileName": "SiteApiSchema.ts",
647
- "line": 1034,
647
+ "line": 921,
648
648
  "character": 17
649
649
  }
650
650
  ]
@@ -657,7 +657,7 @@
657
657
  "flags": {},
658
658
  "comment": {
659
659
  "shortText": "A site represents a specific DatoCMS administrative area",
660
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"site\".\n"
660
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"site\".\n"
661
661
  },
662
662
  "children": [
663
663
  {
@@ -669,7 +669,7 @@
669
669
  "sources": [
670
670
  {
671
671
  "fileName": "SiteApiSchema.ts",
672
- "line": 6695,
672
+ "line": 5969,
673
673
  "character": 2
674
674
  }
675
675
  ],
@@ -687,7 +687,7 @@
687
687
  "sources": [
688
688
  {
689
689
  "fileName": "SiteApiSchema.ts",
690
- "line": 6694,
690
+ "line": 5968,
691
691
  "character": 2
692
692
  }
693
693
  ],
@@ -705,7 +705,7 @@
705
705
  "sources": [
706
706
  {
707
707
  "fileName": "SiteApiSchema.ts",
708
- "line": 6696,
708
+ "line": 5970,
709
709
  "character": 2
710
710
  }
711
711
  ],
@@ -723,7 +723,7 @@
723
723
  "sources": [
724
724
  {
725
725
  "fileName": "SiteApiSchema.ts",
726
- "line": 6693,
726
+ "line": 5967,
727
727
  "character": 2
728
728
  }
729
729
  ],
@@ -748,7 +748,7 @@
748
748
  "sources": [
749
749
  {
750
750
  "fileName": "SiteApiSchema.ts",
751
- "line": 6692,
751
+ "line": 5966,
752
752
  "character": 17
753
753
  }
754
754
  ]
@@ -760,8 +760,8 @@
760
760
  "kindString": "Interface",
761
761
  "flags": {},
762
762
  "comment": {
763
- "shortText": "A Single Sign-On user exists when a DatoCMS project is connected to an\nexternal Identity Provider. An SSO user will not use the standard login\nprocedure but has to go through SAML authentication. It can also be linked to\none or more IdP groups.",
764
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"sso_user\".\n"
763
+ "shortText": "A Single Sign-On user exists when a DatoCMS project is connected to an external\nIdentity Provider. An SSO user will not use the standard login procedure but has to go\nthrough SAML authentication. It can also be linked to one or more IdP groups.",
764
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"sso_user\".\n"
765
765
  },
766
766
  "children": [
767
767
  {
@@ -773,7 +773,7 @@
773
773
  "sources": [
774
774
  {
775
775
  "fileName": "SiteApiSchema.ts",
776
- "line": 1852,
776
+ "line": 1699,
777
777
  "character": 2
778
778
  }
779
779
  ],
@@ -791,7 +791,7 @@
791
791
  "sources": [
792
792
  {
793
793
  "fileName": "SiteApiSchema.ts",
794
- "line": 1851,
794
+ "line": 1698,
795
795
  "character": 2
796
796
  }
797
797
  ],
@@ -809,7 +809,7 @@
809
809
  "sources": [
810
810
  {
811
811
  "fileName": "SiteApiSchema.ts",
812
- "line": 1854,
812
+ "line": 1701,
813
813
  "character": 2
814
814
  }
815
815
  ],
@@ -827,7 +827,7 @@
827
827
  "sources": [
828
828
  {
829
829
  "fileName": "SiteApiSchema.ts",
830
- "line": 1853,
830
+ "line": 1700,
831
831
  "character": 2
832
832
  }
833
833
  ],
@@ -845,7 +845,7 @@
845
845
  "sources": [
846
846
  {
847
847
  "fileName": "SiteApiSchema.ts",
848
- "line": 1850,
848
+ "line": 1697,
849
849
  "character": 2
850
850
  }
851
851
  ],
@@ -871,7 +871,7 @@
871
871
  "sources": [
872
872
  {
873
873
  "fileName": "SiteApiSchema.ts",
874
- "line": 1849,
874
+ "line": 1696,
875
875
  "character": 17
876
876
  }
877
877
  ]
@@ -884,7 +884,7 @@
884
884
  "flags": {},
885
885
  "comment": {
886
886
  "shortText": "Every file you upload to DatoCMS will be retrievable from this endpoint.",
887
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"upload\".\n"
887
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"upload\".\n"
888
888
  },
889
889
  "children": [
890
890
  {
@@ -896,7 +896,7 @@
896
896
  "sources": [
897
897
  {
898
898
  "fileName": "SiteApiSchema.ts",
899
- "line": 4488,
899
+ "line": 3998,
900
900
  "character": 2
901
901
  }
902
902
  ],
@@ -914,7 +914,7 @@
914
914
  "sources": [
915
915
  {
916
916
  "fileName": "SiteApiSchema.ts",
917
- "line": 4487,
917
+ "line": 3997,
918
918
  "character": 2
919
919
  }
920
920
  ],
@@ -932,7 +932,7 @@
932
932
  "sources": [
933
933
  {
934
934
  "fileName": "SiteApiSchema.ts",
935
- "line": 4489,
935
+ "line": 3999,
936
936
  "character": 2
937
937
  }
938
938
  ],
@@ -950,7 +950,7 @@
950
950
  "sources": [
951
951
  {
952
952
  "fileName": "SiteApiSchema.ts",
953
- "line": 4486,
953
+ "line": 3996,
954
954
  "character": 2
955
955
  }
956
956
  ],
@@ -975,7 +975,7 @@
975
975
  "sources": [
976
976
  {
977
977
  "fileName": "SiteApiSchema.ts",
978
- "line": 4485,
978
+ "line": 3995,
979
979
  "character": 17
980
980
  }
981
981
  ]
@@ -987,8 +987,8 @@
987
987
  "kindString": "Interface",
988
988
  "flags": {},
989
989
  "comment": {
990
- "shortText": "A DatoCMS administrative area can be accessed by multiple people. Every\ncollaborator is linked to a specific Role, which describes what actions it\nwill be able to perform once logged in.",
991
- "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the\n`definition` \"user\".\n"
990
+ "shortText": "A DatoCMS administrative area can be accessed by multiple people. Every collaborator is\nlinked to a specific Role, which describes what actions it will be able to perform once\nlogged in.",
991
+ "text": "This interface was referenced by `DatoCMSSiteAPI`'s JSON-Schema via the `definition` \"user\".\n"
992
992
  },
993
993
  "children": [
994
994
  {
@@ -1000,7 +1000,7 @@
1000
1000
  "sources": [
1001
1001
  {
1002
1002
  "fileName": "SiteApiSchema.ts",
1003
- "line": 1748,
1003
+ "line": 1608,
1004
1004
  "character": 2
1005
1005
  }
1006
1006
  ],
@@ -1018,7 +1018,7 @@
1018
1018
  "sources": [
1019
1019
  {
1020
1020
  "fileName": "SiteApiSchema.ts",
1021
- "line": 1747,
1021
+ "line": 1607,
1022
1022
  "character": 2
1023
1023
  }
1024
1024
  ],
@@ -1038,7 +1038,7 @@
1038
1038
  "sources": [
1039
1039
  {
1040
1040
  "fileName": "SiteApiSchema.ts",
1041
- "line": 1750,
1041
+ "line": 1610,
1042
1042
  "character": 2
1043
1043
  }
1044
1044
  ],
@@ -1056,7 +1056,7 @@
1056
1056
  "sources": [
1057
1057
  {
1058
1058
  "fileName": "SiteApiSchema.ts",
1059
- "line": 1749,
1059
+ "line": 1609,
1060
1060
  "character": 2
1061
1061
  }
1062
1062
  ],
@@ -1074,7 +1074,7 @@
1074
1074
  "sources": [
1075
1075
  {
1076
1076
  "fileName": "SiteApiSchema.ts",
1077
- "line": 1746,
1077
+ "line": 1606,
1078
1078
  "character": 2
1079
1079
  }
1080
1080
  ],
@@ -1100,7 +1100,7 @@
1100
1100
  "sources": [
1101
1101
  {
1102
1102
  "fileName": "SiteApiSchema.ts",
1103
- "line": 1745,
1103
+ "line": 1605,
1104
1104
  "character": 17
1105
1105
  }
1106
1106
  ]
@@ -1117,7 +1117,7 @@
1117
1117
  "sources": [
1118
1118
  {
1119
1119
  "fileName": "types.ts",
1120
- "line": 265,
1120
+ "line": 242,
1121
1121
  "character": 12
1122
1122
  }
1123
1123
  ],
@@ -1137,12 +1137,12 @@
1137
1137
  "kindString": "Property",
1138
1138
  "flags": {},
1139
1139
  "comment": {
1140
- "shortText": "ID of field extension. Will be the first argument for the\n`renderFieldExtension` function"
1140
+ "shortText": "ID of field extension. Will be the first argument for the `renderFieldExtension` function"
1141
1141
  },
1142
1142
  "sources": [
1143
1143
  {
1144
1144
  "fileName": "types.ts",
1145
- "line": 270,
1145
+ "line": 244,
1146
1146
  "character": 2
1147
1147
  }
1148
1148
  ],
@@ -1165,7 +1165,7 @@
1165
1165
  "sources": [
1166
1166
  {
1167
1167
  "fileName": "types.ts",
1168
- "line": 285,
1168
+ "line": 258,
1169
1169
  "character": 2
1170
1170
  }
1171
1171
  ],
@@ -1183,12 +1183,12 @@
1183
1183
  "isOptional": true
1184
1184
  },
1185
1185
  "comment": {
1186
- "shortText": "An arbitrary configuration object that will be passed as the `parameters`\nproperty of the second argument of the `renderFieldExtension` function"
1186
+ "shortText": "An arbitrary configuration object that will be passed as the `parameters` property of\nthe second argument of the `renderFieldExtension` function"
1187
1187
  },
1188
1188
  "sources": [
1189
1189
  {
1190
1190
  "fileName": "types.ts",
1191
- "line": 275,
1191
+ "line": 249,
1192
1192
  "character": 2
1193
1193
  }
1194
1194
  ],
@@ -1216,12 +1216,12 @@
1216
1216
  "isOptional": true
1217
1217
  },
1218
1218
  "comment": {
1219
- "shortText": "If multiple addons are present for a field, they will be sorted by\nascending `rank`. If you want to specify an explicit value for `rank`, make\nsure to offer a way for final users to customize it inside the plugin's\nsettings form, otherwise the hardcoded value you choose might clash with\nthe one of another plugin! *"
1219
+ "shortText": "If multiple addons are present for a field, they will be sorted by ascending `rank`.\nIf you want to specify an explicit value for `rank`, make sure to offer a way for\nfinal users to customize it inside the plugin's settings form, otherwise the\nhardcoded value you choose might clash with the one of another plugin! *"
1220
1220
  },
1221
1221
  "sources": [
1222
1222
  {
1223
1223
  "fileName": "types.ts",
1224
- "line": 283,
1224
+ "line": 256,
1225
1225
  "character": 2
1226
1226
  }
1227
1227
  ],
@@ -1246,7 +1246,7 @@
1246
1246
  "sources": [
1247
1247
  {
1248
1248
  "fileName": "types.ts",
1249
- "line": 265,
1249
+ "line": 242,
1250
1250
  "character": 28
1251
1251
  }
1252
1252
  ]
@@ -1265,7 +1265,7 @@
1265
1265
  "sources": [
1266
1266
  {
1267
1267
  "fileName": "types.ts",
1268
- "line": 400,
1268
+ "line": 367,
1269
1269
  "character": 12
1270
1270
  }
1271
1271
  ],
@@ -1285,12 +1285,12 @@
1285
1285
  "kindString": "Property",
1286
1286
  "flags": {},
1287
1287
  "comment": {
1288
- "shortText": "The access token to perform API calls on behalf of the current user. Only\navailable if `currentAccessToken` permission is granted"
1288
+ "shortText": "The access token to perform API calls on behalf of the current user. Only available\nif `currentAccessToken` permission is granted"
1289
1289
  },
1290
1290
  "sources": [
1291
1291
  {
1292
1292
  "fileName": "types.ts",
1293
- "line": 418,
1293
+ "line": 385,
1294
1294
  "character": 2
1295
1295
  }
1296
1296
  ],
@@ -1320,7 +1320,7 @@
1320
1320
  "sources": [
1321
1321
  {
1322
1322
  "fileName": "types.ts",
1323
- "line": 413,
1323
+ "line": 380,
1324
1324
  "character": 2
1325
1325
  }
1326
1326
  ],
@@ -1337,12 +1337,12 @@
1337
1337
  "kindString": "Property",
1338
1338
  "flags": {},
1339
1339
  "comment": {
1340
- "shortText": "The current DatoCMS user. It can either be the owner or one of the\ncollaborators (regular or SSO)."
1340
+ "shortText": "The current DatoCMS user. It can either be the owner or one of the collaborators\n(regular or SSO)."
1341
1341
  },
1342
1342
  "sources": [
1343
1343
  {
1344
1344
  "fileName": "types.ts",
1345
- "line": 411,
1345
+ "line": 378,
1346
1346
  "character": 2
1347
1347
  }
1348
1348
  ],
@@ -1379,7 +1379,7 @@
1379
1379
  "sources": [
1380
1380
  {
1381
1381
  "fileName": "types.ts",
1382
- "line": 404,
1382
+ "line": 371,
1383
1383
  "character": 2
1384
1384
  }
1385
1385
  ],
@@ -1400,7 +1400,7 @@
1400
1400
  "sources": [
1401
1401
  {
1402
1402
  "fileName": "types.ts",
1403
- "line": 406,
1403
+ "line": 373,
1404
1404
  "character": 2
1405
1405
  }
1406
1406
  ],
@@ -1438,7 +1438,7 @@
1438
1438
  "sources": [
1439
1439
  {
1440
1440
  "fileName": "types.ts",
1441
- "line": 420,
1441
+ "line": 387,
1442
1442
  "character": 2
1443
1443
  }
1444
1444
  ],
@@ -1460,7 +1460,7 @@
1460
1460
  "sources": [
1461
1461
  {
1462
1462
  "fileName": "types.ts",
1463
- "line": 402,
1463
+ "line": 369,
1464
1464
  "character": 2
1465
1465
  }
1466
1466
  ],
@@ -1477,12 +1477,12 @@
1477
1477
  "kindString": "Property",
1478
1478
  "flags": {},
1479
1479
  "comment": {
1480
- "shortText": "UI preferences of the current user (right now, only the preferred locale is\navailable)"
1480
+ "shortText": "UI preferences of the current user (right now, only the preferred locale is available)"
1481
1481
  },
1482
1482
  "sources": [
1483
1483
  {
1484
1484
  "fileName": "types.ts",
1485
- "line": 425,
1485
+ "line": 389,
1486
1486
  "character": 2
1487
1487
  }
1488
1488
  ],
@@ -1507,7 +1507,7 @@
1507
1507
  "sources": [
1508
1508
  {
1509
1509
  "fileName": "types.ts",
1510
- "line": 427,
1510
+ "line": 391,
1511
1511
  "character": 4
1512
1512
  }
1513
1513
  ],
@@ -1529,7 +1529,7 @@
1529
1529
  "sources": [
1530
1530
  {
1531
1531
  "fileName": "types.ts",
1532
- "line": 425,
1532
+ "line": 389,
1533
1533
  "character": 6
1534
1534
  }
1535
1535
  ]
@@ -1556,7 +1556,7 @@
1556
1556
  "sources": [
1557
1557
  {
1558
1558
  "fileName": "types.ts",
1559
- "line": 400,
1559
+ "line": 367,
1560
1560
  "character": 31
1561
1561
  }
1562
1562
  ]
@@ -1575,7 +1575,7 @@
1575
1575
  "sources": [
1576
1576
  {
1577
1577
  "fileName": "types.ts",
1578
- "line": 375,
1578
+ "line": 345,
1579
1579
  "character": 12
1580
1580
  }
1581
1581
  ],
@@ -1602,7 +1602,7 @@
1602
1602
  "sources": [
1603
1603
  {
1604
1604
  "fileName": "types.ts",
1605
- "line": 384,
1605
+ "line": 351,
1606
1606
  "character": 2
1607
1607
  }
1608
1608
  ],
@@ -1632,7 +1632,7 @@
1632
1632
  "sources": [
1633
1633
  {
1634
1634
  "fileName": "types.ts",
1635
- "line": 377,
1635
+ "line": 347,
1636
1636
  "character": 2
1637
1637
  }
1638
1638
  ],
@@ -1648,12 +1648,12 @@
1648
1648
  "kindString": "Property",
1649
1649
  "flags": {},
1650
1650
  "comment": {
1651
- "shortText": "The value to be returned by the `openConfirm` promise if the button is\nclicked by the user"
1651
+ "shortText": "The value to be returned by the `openConfirm` promise if the button is clicked by the user"
1652
1652
  },
1653
1653
  "sources": [
1654
1654
  {
1655
1655
  "fileName": "types.ts",
1656
- "line": 382,
1656
+ "line": 349,
1657
1657
  "character": 2
1658
1658
  }
1659
1659
  ],
@@ -1677,7 +1677,7 @@
1677
1677
  "sources": [
1678
1678
  {
1679
1679
  "fileName": "types.ts",
1680
- "line": 375,
1680
+ "line": 345,
1681
1681
  "character": 28
1682
1682
  }
1683
1683
  ]
@@ -1696,7 +1696,7 @@
1696
1696
  "sources": [
1697
1697
  {
1698
1698
  "fileName": "types.ts",
1699
- "line": 388,
1699
+ "line": 355,
1700
1700
  "character": 12
1701
1701
  }
1702
1702
  ],
@@ -1721,7 +1721,7 @@
1721
1721
  "sources": [
1722
1722
  {
1723
1723
  "fileName": "types.ts",
1724
- "line": 396,
1724
+ "line": 363,
1725
1725
  "character": 2
1726
1726
  }
1727
1727
  ],
@@ -1743,7 +1743,7 @@
1743
1743
  "sources": [
1744
1744
  {
1745
1745
  "fileName": "types.ts",
1746
- "line": 394,
1746
+ "line": 361,
1747
1747
  "character": 2
1748
1748
  }
1749
1749
  ],
@@ -1768,7 +1768,7 @@
1768
1768
  "sources": [
1769
1769
  {
1770
1770
  "fileName": "types.ts",
1771
- "line": 392,
1771
+ "line": 359,
1772
1772
  "character": 2
1773
1773
  }
1774
1774
  ],
@@ -1789,7 +1789,7 @@
1789
1789
  "sources": [
1790
1790
  {
1791
1791
  "fileName": "types.ts",
1792
- "line": 390,
1792
+ "line": 357,
1793
1793
  "character": 2
1794
1794
  }
1795
1795
  ],
@@ -1814,7 +1814,7 @@
1814
1814
  "sources": [
1815
1815
  {
1816
1816
  "fileName": "types.ts",
1817
- "line": 388,
1817
+ "line": 355,
1818
1818
  "character": 29
1819
1819
  }
1820
1820
  ]
@@ -1828,12 +1828,12 @@
1828
1828
  "kindString": "Type alias",
1829
1829
  "flags": {},
1830
1830
  "comment": {
1831
- "shortText": "The sidebar in the Content Area presents a number of user-defined menu-items.\nThis object represents a new item to be added in the sidebar."
1831
+ "shortText": "The sidebar in the Content Area presents a number of user-defined menu-items. This\nobject represents a new item to be added in the sidebar."
1832
1832
  },
1833
1833
  "sources": [
1834
1834
  {
1835
1835
  "fileName": "types.ts",
1836
- "line": 127,
1836
+ "line": 120,
1837
1837
  "character": 12
1838
1838
  }
1839
1839
  ],
@@ -1858,7 +1858,7 @@
1858
1858
  "sources": [
1859
1859
  {
1860
1860
  "fileName": "types.ts",
1861
- "line": 131,
1861
+ "line": 124,
1862
1862
  "character": 2
1863
1863
  }
1864
1864
  ],
@@ -1879,7 +1879,7 @@
1879
1879
  "sources": [
1880
1880
  {
1881
1881
  "fileName": "types.ts",
1882
- "line": 129,
1882
+ "line": 122,
1883
1883
  "character": 2
1884
1884
  }
1885
1885
  ],
@@ -1897,12 +1897,12 @@
1897
1897
  "isOptional": true
1898
1898
  },
1899
1899
  "comment": {
1900
- "shortText": "Expresses where you want the item to be placed inside the sidebar. If not\nspecified, the item will be placed after the standard items provided by\nDatoCMS itself."
1900
+ "shortText": "Expresses where you want the item to be placed inside the sidebar. If not specified,\nthe item will be placed after the standard items provided by DatoCMS itself."
1901
1901
  },
1902
1902
  "sources": [
1903
1903
  {
1904
1904
  "fileName": "types.ts",
1905
- "line": 141,
1905
+ "line": 133,
1906
1906
  "character": 2
1907
1907
  }
1908
1908
  ],
@@ -1950,7 +1950,7 @@
1950
1950
  "sources": [
1951
1951
  {
1952
1952
  "fileName": "types.ts",
1953
- "line": 133,
1953
+ "line": 126,
1954
1954
  "character": 2
1955
1955
  }
1956
1956
  ],
@@ -1972,7 +1972,7 @@
1972
1972
  "sources": [
1973
1973
  {
1974
1974
  "fileName": "types.ts",
1975
- "line": 134,
1975
+ "line": 127,
1976
1976
  "character": 4
1977
1977
  }
1978
1978
  ],
@@ -1994,7 +1994,7 @@
1994
1994
  "sources": [
1995
1995
  {
1996
1996
  "fileName": "types.ts",
1997
- "line": 133,
1997
+ "line": 126,
1998
1998
  "character": 12
1999
1999
  }
2000
2000
  ]
@@ -2010,12 +2010,12 @@
2010
2010
  "isOptional": true
2011
2011
  },
2012
2012
  "comment": {
2013
- "shortText": "If different plugins specify the same `placement` for their panels, they\nwill be displayed by ascending `rank`. If you want to specify an explicit\nvalue for `rank`, make sure to offer a way for final users to customize it\ninside the plugin's settings form, otherwise the hardcoded value you choose\nmight clash with the one of another plugin! *"
2013
+ "shortText": "If different plugins specify the same `placement` for their panels, they will be\ndisplayed by ascending `rank`. If you want to specify an explicit value for `rank`,\nmake sure to offer a way for final users to customize it inside the plugin's settings\nform, otherwise the hardcoded value you choose might clash with the one of another plugin! *"
2014
2014
  },
2015
2015
  "sources": [
2016
2016
  {
2017
2017
  "fileName": "types.ts",
2018
- "line": 149,
2018
+ "line": 140,
2019
2019
  "character": 2
2020
2020
  }
2021
2021
  ],
@@ -2041,7 +2041,7 @@
2041
2041
  "sources": [
2042
2042
  {
2043
2043
  "fileName": "types.ts",
2044
- "line": 127,
2044
+ "line": 120,
2045
2045
  "character": 37
2046
2046
  }
2047
2047
  ]
@@ -2060,7 +2060,7 @@
2060
2060
  "sources": [
2061
2061
  {
2062
2062
  "fileName": "types.ts",
2063
- "line": 795,
2063
+ "line": 757,
2064
2064
  "character": 12
2065
2065
  }
2066
2066
  ],
@@ -2082,7 +2082,7 @@
2082
2082
  "sources": [
2083
2083
  {
2084
2084
  "fileName": "types.ts",
2085
- "line": 848,
2085
+ "line": 810,
2086
2086
  "character": 2
2087
2087
  }
2088
2088
  ],
@@ -2094,7 +2094,7 @@
2094
2094
  "kindString": "Call signature",
2095
2095
  "flags": {},
2096
2096
  "comment": {
2097
- "shortText": "Opens a UI-consistent confirmation dialog. Returns a promise resolved with\nthe value of the choice made by the user",
2097
+ "shortText": "Opens a UI-consistent confirmation dialog. Returns a promise resolved with the value\nof the choice made by the user",
2098
2098
  "tags": [
2099
2099
  {
2100
2100
  "tag": "example",
@@ -2138,7 +2138,7 @@
2138
2138
  "sources": [
2139
2139
  {
2140
2140
  "fileName": "types.ts",
2141
- "line": 814,
2141
+ "line": 776,
2142
2142
  "character": 2
2143
2143
  }
2144
2144
  ],
@@ -2150,7 +2150,7 @@
2150
2150
  "kindString": "Call signature",
2151
2151
  "flags": {},
2152
2152
  "comment": {
2153
- "shortText": "Opens a custom modal. Returns a promise resolved with what the modal itself\nreturns calling the `resolve()` function",
2153
+ "shortText": "Opens a custom modal. Returns a promise resolved with what the modal itself returns\ncalling the `resolve()` function",
2154
2154
  "tags": [
2155
2155
  {
2156
2156
  "tag": "example",
@@ -2199,7 +2199,7 @@
2199
2199
  "sources": [
2200
2200
  {
2201
2201
  "fileName": "types.ts",
2202
- "line": 795,
2202
+ "line": 757,
2203
2203
  "character": 34
2204
2204
  }
2205
2205
  ]
@@ -2218,7 +2218,7 @@
2218
2218
  "sources": [
2219
2219
  {
2220
2220
  "fileName": "types.ts",
2221
- "line": 237,
2221
+ "line": 218,
2222
2222
  "character": 12
2223
2223
  }
2224
2224
  ],
@@ -2245,7 +2245,7 @@
2245
2245
  "sources": [
2246
2246
  {
2247
2247
  "fileName": "types.ts",
2248
- "line": 244,
2248
+ "line": 222,
2249
2249
  "character": 2
2250
2250
  }
2251
2251
  ],
@@ -2276,7 +2276,7 @@
2276
2276
  "sources": [
2277
2277
  {
2278
2278
  "fileName": "types.ts",
2279
- "line": 246,
2279
+ "line": 224,
2280
2280
  "character": 29
2281
2281
  }
2282
2282
  ],
@@ -2297,7 +2297,7 @@
2297
2297
  "sources": [
2298
2298
  {
2299
2299
  "fileName": "types.ts",
2300
- "line": 246,
2300
+ "line": 224,
2301
2301
  "character": 8
2302
2302
  }
2303
2303
  ],
@@ -2320,7 +2320,7 @@
2320
2320
  "sources": [
2321
2321
  {
2322
2322
  "fileName": "types.ts",
2323
- "line": 246,
2323
+ "line": 224,
2324
2324
  "character": 6
2325
2325
  }
2326
2326
  ]
@@ -2336,12 +2336,12 @@
2336
2336
  "kindString": "Property",
2337
2337
  "flags": {},
2338
2338
  "comment": {
2339
- "shortText": "ID of field extension. Will be the first argument for the\n`renderFieldExtension` function"
2339
+ "shortText": "ID of field extension. Will be the first argument for the `renderFieldExtension` function"
2340
2340
  },
2341
2341
  "sources": [
2342
2342
  {
2343
2343
  "fileName": "types.ts",
2344
- "line": 242,
2344
+ "line": 220,
2345
2345
  "character": 2
2346
2346
  }
2347
2347
  ],
@@ -2364,7 +2364,7 @@
2364
2364
  "sources": [
2365
2365
  {
2366
2366
  "fileName": "types.ts",
2367
- "line": 261,
2367
+ "line": 238,
2368
2368
  "character": 2
2369
2369
  }
2370
2370
  ],
@@ -2382,12 +2382,12 @@
2382
2382
  "isOptional": true
2383
2383
  },
2384
2384
  "comment": {
2385
- "shortText": "An arbitrary configuration object that will be passed as the `parameters`\nproperty of the second argument of the `renderFieldExtension` function"
2385
+ "shortText": "An arbitrary configuration object that will be passed as the `parameters` property of\nthe second argument of the `renderFieldExtension` function"
2386
2386
  },
2387
2387
  "sources": [
2388
2388
  {
2389
2389
  "fileName": "types.ts",
2390
- "line": 251,
2390
+ "line": 229,
2391
2391
  "character": 2
2392
2392
  }
2393
2393
  ],
@@ -2415,12 +2415,12 @@
2415
2415
  "isOptional": true
2416
2416
  },
2417
2417
  "comment": {
2418
- "shortText": "If multiple plugins override a field, the one with the highest `rank` will\nwin. If you want to specify an explicit value for `rank`, make sure to\noffer a way for final users to customize it inside the plugin's settings\nform, otherwise the hardcoded value you choose might clash with the one of\nanother plugin! *"
2418
+ "shortText": "If multiple plugins override a field, the one with the highest `rank` will win. If\nyou want to specify an explicit value for `rank`, make sure to offer a way for final\nusers to customize it inside the plugin's settings form, otherwise the hardcoded\nvalue you choose might clash with the one of another plugin! *"
2419
2419
  },
2420
2420
  "sources": [
2421
2421
  {
2422
2422
  "fileName": "types.ts",
2423
- "line": 259,
2423
+ "line": 236,
2424
2424
  "character": 2
2425
2425
  }
2426
2426
  ],
@@ -2446,7 +2446,7 @@
2446
2446
  "sources": [
2447
2447
  {
2448
2448
  "fileName": "types.ts",
2449
- "line": 237,
2449
+ "line": 218,
2450
2450
  "character": 29
2451
2451
  }
2452
2452
  ]
@@ -2462,7 +2462,7 @@
2462
2462
  "sources": [
2463
2463
  {
2464
2464
  "fileName": "types.ts",
2465
- "line": 475,
2465
+ "line": 438,
2466
2466
  "character": 12
2467
2467
  }
2468
2468
  ],
@@ -2487,7 +2487,7 @@
2487
2487
  "sources": [
2488
2488
  {
2489
2489
  "fileName": "types.ts",
2490
- "line": 477,
2490
+ "line": 440,
2491
2491
  "character": 6
2492
2492
  }
2493
2493
  ],
@@ -2509,7 +2509,7 @@
2509
2509
  "sources": [
2510
2510
  {
2511
2511
  "fileName": "types.ts",
2512
- "line": 476,
2512
+ "line": 439,
2513
2513
  "character": 4
2514
2514
  }
2515
2515
  ]
@@ -2535,7 +2535,7 @@
2535
2535
  "sources": [
2536
2536
  {
2537
2537
  "fileName": "types.ts",
2538
- "line": 481,
2538
+ "line": 444,
2539
2539
  "character": 6
2540
2540
  }
2541
2541
  ],
@@ -2546,7 +2546,7 @@
2546
2546
  },
2547
2547
  {
2548
2548
  "id": 288,
2549
- "name": "newFieldExtensionParameters",
2549
+ "name": "newParameters",
2550
2550
  "kind": 1024,
2551
2551
  "kindString": "Property",
2552
2552
  "flags": {
@@ -2555,7 +2555,7 @@
2555
2555
  "sources": [
2556
2556
  {
2557
2557
  "fileName": "types.ts",
2558
- "line": 482,
2558
+ "line": 445,
2559
2559
  "character": 6
2560
2560
  }
2561
2561
  ],
@@ -2583,7 +2583,7 @@
2583
2583
  "sources": [
2584
2584
  {
2585
2585
  "fileName": "types.ts",
2586
- "line": 480,
2586
+ "line": 443,
2587
2587
  "character": 6
2588
2588
  }
2589
2589
  ],
@@ -2607,7 +2607,7 @@
2607
2607
  "sources": [
2608
2608
  {
2609
2609
  "fileName": "types.ts",
2610
- "line": 479,
2610
+ "line": 442,
2611
2611
  "character": 4
2612
2612
  }
2613
2613
  ]
@@ -2631,7 +2631,7 @@
2631
2631
  "sources": [
2632
2632
  {
2633
2633
  "fileName": "types.ts",
2634
- "line": 486,
2634
+ "line": 449,
2635
2635
  "character": 6
2636
2636
  }
2637
2637
  ],
@@ -2649,7 +2649,7 @@
2649
2649
  "sources": [
2650
2650
  {
2651
2651
  "fileName": "types.ts",
2652
- "line": 485,
2652
+ "line": 448,
2653
2653
  "character": 6
2654
2654
  }
2655
2655
  ],
@@ -2667,7 +2667,7 @@
2667
2667
  "sources": [
2668
2668
  {
2669
2669
  "fileName": "types.ts",
2670
- "line": 487,
2670
+ "line": 450,
2671
2671
  "character": 6
2672
2672
  }
2673
2673
  ],
@@ -2701,7 +2701,7 @@
2701
2701
  "sources": [
2702
2702
  {
2703
2703
  "fileName": "types.ts",
2704
- "line": 484,
2704
+ "line": 447,
2705
2705
  "character": 4
2706
2706
  }
2707
2707
  ]
@@ -2725,7 +2725,7 @@
2725
2725
  "sources": [
2726
2726
  {
2727
2727
  "fileName": "types.ts",
2728
- "line": 491,
2728
+ "line": 454,
2729
2729
  "character": 6
2730
2730
  }
2731
2731
  ],
@@ -2743,7 +2743,7 @@
2743
2743
  "sources": [
2744
2744
  {
2745
2745
  "fileName": "types.ts",
2746
- "line": 490,
2746
+ "line": 453,
2747
2747
  "character": 6
2748
2748
  }
2749
2749
  ],
@@ -2766,7 +2766,7 @@
2766
2766
  "sources": [
2767
2767
  {
2768
2768
  "fileName": "types.ts",
2769
- "line": 489,
2769
+ "line": 452,
2770
2770
  "character": 4
2771
2771
  }
2772
2772
  ]
@@ -2790,7 +2790,7 @@
2790
2790
  "sources": [
2791
2791
  {
2792
2792
  "fileName": "types.ts",
2793
- "line": 495,
2793
+ "line": 458,
2794
2794
  "character": 6
2795
2795
  }
2796
2796
  ],
@@ -2810,7 +2810,7 @@
2810
2810
  "sources": [
2811
2811
  {
2812
2812
  "fileName": "types.ts",
2813
- "line": 496,
2813
+ "line": 459,
2814
2814
  "character": 6
2815
2815
  }
2816
2816
  ],
@@ -2830,7 +2830,7 @@
2830
2830
  "sources": [
2831
2831
  {
2832
2832
  "fileName": "types.ts",
2833
- "line": 497,
2833
+ "line": 460,
2834
2834
  "character": 6
2835
2835
  }
2836
2836
  ],
@@ -2858,7 +2858,7 @@
2858
2858
  "sources": [
2859
2859
  {
2860
2860
  "fileName": "types.ts",
2861
- "line": 494,
2861
+ "line": 457,
2862
2862
  "character": 6
2863
2863
  }
2864
2864
  ],
@@ -2883,7 +2883,7 @@
2883
2883
  "sources": [
2884
2884
  {
2885
2885
  "fileName": "types.ts",
2886
- "line": 493,
2886
+ "line": 456,
2887
2887
  "character": 4
2888
2888
  }
2889
2889
  ]
@@ -2907,7 +2907,7 @@
2907
2907
  "sources": [
2908
2908
  {
2909
2909
  "fileName": "types.ts",
2910
- "line": 502,
2910
+ "line": 465,
2911
2911
  "character": 6
2912
2912
  }
2913
2913
  ],
@@ -2925,7 +2925,7 @@
2925
2925
  "sources": [
2926
2926
  {
2927
2927
  "fileName": "types.ts",
2928
- "line": 501,
2928
+ "line": 464,
2929
2929
  "character": 6
2930
2930
  }
2931
2931
  ],
@@ -2943,7 +2943,7 @@
2943
2943
  "sources": [
2944
2944
  {
2945
2945
  "fileName": "types.ts",
2946
- "line": 500,
2946
+ "line": 463,
2947
2947
  "character": 6
2948
2948
  }
2949
2949
  ],
@@ -2961,7 +2961,7 @@
2961
2961
  "sources": [
2962
2962
  {
2963
2963
  "fileName": "types.ts",
2964
- "line": 503,
2964
+ "line": 466,
2965
2965
  "character": 6
2966
2966
  }
2967
2967
  ],
@@ -2996,7 +2996,7 @@
2996
2996
  "sources": [
2997
2997
  {
2998
2998
  "fileName": "types.ts",
2999
- "line": 499,
2999
+ "line": 462,
3000
3000
  "character": 4
3001
3001
  }
3002
3002
  ]
@@ -3017,7 +3017,7 @@
3017
3017
  "sources": [
3018
3018
  {
3019
3019
  "fileName": "types.ts",
3020
- "line": 289,
3020
+ "line": 262,
3021
3021
  "character": 12
3022
3022
  }
3023
3023
  ],
@@ -3044,7 +3044,7 @@
3044
3044
  "sources": [
3045
3045
  {
3046
3046
  "fileName": "types.ts",
3047
- "line": 293,
3047
+ "line": 266,
3048
3048
  "character": 2
3049
3049
  }
3050
3050
  ],
@@ -3071,7 +3071,7 @@
3071
3071
  "sources": [
3072
3072
  {
3073
3073
  "fileName": "types.ts",
3074
- "line": 291,
3074
+ "line": 264,
3075
3075
  "character": 2
3076
3076
  }
3077
3077
  ],
@@ -3095,7 +3095,7 @@
3095
3095
  "sources": [
3096
3096
  {
3097
3097
  "fileName": "types.ts",
3098
- "line": 289,
3098
+ "line": 262,
3099
3099
  "character": 37
3100
3100
  }
3101
3101
  ]
@@ -3111,7 +3111,7 @@
3111
3111
  "sources": [
3112
3112
  {
3113
3113
  "fileName": "types.ts",
3114
- "line": 157,
3114
+ "line": 148,
3115
3115
  "character": 12
3116
3116
  }
3117
3117
  ],
@@ -3138,7 +3138,7 @@
3138
3138
  "sources": [
3139
3139
  {
3140
3140
  "fileName": "connect.ts",
3141
- "line": 55,
3141
+ "line": 54,
3142
3142
  "character": 12
3143
3143
  }
3144
3144
  ],
@@ -3168,7 +3168,7 @@
3168
3168
  "sources": [
3169
3169
  {
3170
3170
  "fileName": "connect.ts",
3171
- "line": 56,
3171
+ "line": 55,
3172
3172
  "character": 2
3173
3173
  }
3174
3174
  ],
@@ -3191,7 +3191,7 @@
3191
3191
  "sources": [
3192
3192
  {
3193
3193
  "fileName": "connect.ts",
3194
- "line": 55,
3194
+ "line": 54,
3195
3195
  "character": 56
3196
3196
  }
3197
3197
  ]
@@ -3212,7 +3212,7 @@
3212
3212
  "sources": [
3213
3213
  {
3214
3214
  "fileName": "types.ts",
3215
- "line": 314,
3215
+ "line": 287,
3216
3216
  "character": 12
3217
3217
  }
3218
3218
  ],
@@ -3237,7 +3237,7 @@
3237
3237
  "sources": [
3238
3238
  {
3239
3239
  "fileName": "types.ts",
3240
- "line": 319,
3240
+ "line": 292,
3241
3241
  "character": 2
3242
3242
  }
3243
3243
  ],
@@ -3267,7 +3267,7 @@
3267
3267
  "sources": [
3268
3268
  {
3269
3269
  "fileName": "types.ts",
3270
- "line": 327,
3270
+ "line": 300,
3271
3271
  "character": 2
3272
3272
  }
3273
3273
  ],
@@ -3298,7 +3298,7 @@
3298
3298
  "sources": [
3299
3299
  {
3300
3300
  "fileName": "types.ts",
3301
- "line": 324,
3301
+ "line": 297,
3302
3302
  "character": 2
3303
3303
  }
3304
3304
  ],
@@ -3329,7 +3329,7 @@
3329
3329
  "sources": [
3330
3330
  {
3331
3331
  "fileName": "types.ts",
3332
- "line": 321,
3332
+ "line": 294,
3333
3333
  "character": 2
3334
3334
  }
3335
3335
  ],
@@ -3359,7 +3359,7 @@
3359
3359
  "sources": [
3360
3360
  {
3361
3361
  "fileName": "types.ts",
3362
- "line": 317,
3362
+ "line": 290,
3363
3363
  "character": 2
3364
3364
  }
3365
3365
  ],
@@ -3385,7 +3385,7 @@
3385
3385
  "sources": [
3386
3386
  {
3387
3387
  "fileName": "types.ts",
3388
- "line": 314,
3388
+ "line": 287,
3389
3389
  "character": 29
3390
3390
  }
3391
3391
  ]
@@ -3404,7 +3404,7 @@
3404
3404
  "sources": [
3405
3405
  {
3406
3406
  "fileName": "types.ts",
3407
- "line": 306,
3407
+ "line": 279,
3408
3408
  "character": 12
3409
3409
  }
3410
3410
  ],
@@ -3429,7 +3429,7 @@
3429
3429
  "sources": [
3430
3430
  {
3431
3431
  "fileName": "types.ts",
3432
- "line": 308,
3432
+ "line": 281,
3433
3433
  "character": 2
3434
3434
  }
3435
3435
  ],
@@ -3450,7 +3450,7 @@
3450
3450
  "sources": [
3451
3451
  {
3452
3452
  "fileName": "types.ts",
3453
- "line": 310,
3453
+ "line": 283,
3454
3454
  "character": 2
3455
3455
  }
3456
3456
  ],
@@ -3473,7 +3473,7 @@
3473
3473
  "sources": [
3474
3474
  {
3475
3475
  "fileName": "types.ts",
3476
- "line": 306,
3476
+ "line": 279,
3477
3477
  "character": 25
3478
3478
  }
3479
3479
  ]
@@ -3492,7 +3492,7 @@
3492
3492
  "sources": [
3493
3493
  {
3494
3494
  "fileName": "connect.ts",
3495
- "line": 70,
3495
+ "line": 69,
3496
3496
  "character": 12
3497
3497
  }
3498
3498
  ],
@@ -3514,7 +3514,7 @@
3514
3514
  "sources": [
3515
3515
  {
3516
3516
  "fileName": "connect.ts",
3517
- "line": 97,
3517
+ "line": 94,
3518
3518
  "character": 2
3519
3519
  }
3520
3520
  ],
@@ -3568,7 +3568,7 @@
3568
3568
  "sources": [
3569
3569
  {
3570
3570
  "fileName": "connect.ts",
3571
- "line": 111,
3571
+ "line": 108,
3572
3572
  "character": 2
3573
3573
  }
3574
3574
  ],
@@ -3580,7 +3580,7 @@
3580
3580
  "kindString": "Call signature",
3581
3581
  "flags": {},
3582
3582
  "comment": {
3583
- "shortText": "Use this function to declare new sidebar panels to be shown when the user\nedits records of a particular model",
3583
+ "shortText": "Use this function to declare new sidebar panels to be shown when the user edits\nrecords of a particular model",
3584
3584
  "tags": [
3585
3585
  {
3586
3586
  "tag": "group",
@@ -3634,7 +3634,7 @@
3634
3634
  "sources": [
3635
3635
  {
3636
3636
  "fileName": "connect.ts",
3637
- "line": 83,
3637
+ "line": 82,
3638
3638
  "character": 2
3639
3639
  }
3640
3640
  ],
@@ -3688,7 +3688,7 @@
3688
3688
  "sources": [
3689
3689
  {
3690
3690
  "fileName": "connect.ts",
3691
- "line": 104,
3691
+ "line": 101,
3692
3692
  "character": 2
3693
3693
  }
3694
3694
  ],
@@ -3700,7 +3700,7 @@
3700
3700
  "kindString": "Call signature",
3701
3701
  "flags": {},
3702
3702
  "comment": {
3703
- "shortText": "Use this function to declare new field extensions that users will be able\nto install manually in some field",
3703
+ "shortText": "Use this function to declare new field extensions that users will be able to install\nmanually in some field",
3704
3704
  "tags": [
3705
3705
  {
3706
3706
  "tag": "group",
@@ -3742,7 +3742,7 @@
3742
3742
  "sources": [
3743
3743
  {
3744
3744
  "fileName": "connect.ts",
3745
- "line": 77,
3745
+ "line": 76,
3746
3746
  "character": 2
3747
3747
  }
3748
3748
  ],
@@ -3754,7 +3754,7 @@
3754
3754
  "kindString": "Call signature",
3755
3755
  "flags": {},
3756
3756
  "comment": {
3757
- "shortText": "This function will be called once at boot time and can be used to perform\nie. some initial integrity checks on the configuration.",
3757
+ "shortText": "This function will be called once at boot time and can be used to perform ie. some\ninitial integrity checks on the configuration.",
3758
3758
  "tags": [
3759
3759
  {
3760
3760
  "tag": "group",
@@ -3792,7 +3792,7 @@
3792
3792
  "sources": [
3793
3793
  {
3794
3794
  "fileName": "connect.ts",
3795
- "line": 121,
3795
+ "line": 114,
3796
3796
  "character": 2
3797
3797
  }
3798
3798
  ],
@@ -3804,7 +3804,7 @@
3804
3804
  "kindString": "Call signature",
3805
3805
  "flags": {},
3806
3806
  "comment": {
3807
- "shortText": "Use this function to automatically force one or more field extensions to a\nparticular field",
3807
+ "shortText": "Use this function to automatically force one or more field extensions to a particular field",
3808
3808
  "tags": [
3809
3809
  {
3810
3810
  "tag": "group",
@@ -3864,7 +3864,7 @@
3864
3864
  "sources": [
3865
3865
  {
3866
3866
  "fileName": "connect.ts",
3867
- "line": 131,
3867
+ "line": 123,
3868
3868
  "character": 2
3869
3869
  }
3870
3870
  ],
@@ -3876,7 +3876,7 @@
3876
3876
  "kindString": "Call signature",
3877
3877
  "flags": {},
3878
3878
  "comment": {
3879
- "shortText": "This function will be called when the plugin needs to render the plugin's\nconfiguration form",
3879
+ "shortText": "This function will be called when the plugin needs to render the plugin's configuration form",
3880
3880
  "tags": [
3881
3881
  {
3882
3882
  "tag": "group",
@@ -3914,7 +3914,7 @@
3914
3914
  "sources": [
3915
3915
  {
3916
3916
  "fileName": "connect.ts",
3917
- "line": 163,
3917
+ "line": 154,
3918
3918
  "character": 2
3919
3919
  }
3920
3920
  ],
@@ -3926,7 +3926,7 @@
3926
3926
  "kindString": "Call signature",
3927
3927
  "flags": {},
3928
3928
  "comment": {
3929
- "shortText": "This function will be called when the plugin needs to render a field\nextension (see the `manualFieldExtensions` and `overrideFieldExtensions` functions)",
3929
+ "shortText": "This function will be called when the plugin needs to render a field extension (see\nthe `manualFieldExtensions` and `overrideFieldExtensions` functions)",
3930
3930
  "tags": [
3931
3931
  {
3932
3932
  "tag": "group",
@@ -3975,7 +3975,7 @@
3975
3975
  "sources": [
3976
3976
  {
3977
3977
  "fileName": "connect.ts",
3978
- "line": 153,
3978
+ "line": 144,
3979
3979
  "character": 2
3980
3980
  }
3981
3981
  ],
@@ -3987,7 +3987,7 @@
3987
3987
  "kindString": "Call signature",
3988
3988
  "flags": {},
3989
3989
  "comment": {
3990
- "shortText": "This function will be called when the plugin needs to render a sidebar\npanel (see the `itemFormSidebarPanels` function)",
3990
+ "shortText": "This function will be called when the plugin needs to render a sidebar panel (see the\n`itemFormSidebarPanels` function)",
3991
3991
  "tags": [
3992
3992
  {
3993
3993
  "tag": "group",
@@ -4036,7 +4036,7 @@
4036
4036
  "sources": [
4037
4037
  {
4038
4038
  "fileName": "connect.ts",
4039
- "line": 173,
4039
+ "line": 161,
4040
4040
  "character": 2
4041
4041
  }
4042
4042
  ],
@@ -4048,7 +4048,7 @@
4048
4048
  "kindString": "Call signature",
4049
4049
  "flags": {},
4050
4050
  "comment": {
4051
- "shortText": "This function will be called when the plugin needs to render the\nconfiguration form for installing a field extension inside a particular field",
4051
+ "shortText": "This function will be called when the plugin needs to render the configuration form\nfor installing a field extension inside a particular field",
4052
4052
  "tags": [
4053
4053
  {
4054
4054
  "tag": "group",
@@ -4097,7 +4097,7 @@
4097
4097
  "sources": [
4098
4098
  {
4099
4099
  "fileName": "connect.ts",
4100
- "line": 146,
4100
+ "line": 137,
4101
4101
  "character": 2
4102
4102
  }
4103
4103
  ],
@@ -4109,7 +4109,7 @@
4109
4109
  "kindString": "Call signature",
4110
4110
  "flags": {},
4111
4111
  "comment": {
4112
- "shortText": "This function will be called when the plugin requested to open a modal (see\nthe `openModal` function)",
4112
+ "shortText": "This function will be called when the plugin requested to open a modal (see the\n`openModal` function)",
4113
4113
  "tags": [
4114
4114
  {
4115
4115
  "tag": "group",
@@ -4158,7 +4158,7 @@
4158
4158
  "sources": [
4159
4159
  {
4160
4160
  "fileName": "connect.ts",
4161
- "line": 139,
4161
+ "line": 130,
4162
4162
  "character": 2
4163
4163
  }
4164
4164
  ],
@@ -4170,7 +4170,7 @@
4170
4170
  "kindString": "Call signature",
4171
4171
  "flags": {},
4172
4172
  "comment": {
4173
- "shortText": "This function will be called when the plugin needs to render a specific\npage (see the `mainNavigationTabs`, `settingsAreaSidebarItemGroups` and\n`contentAreaSidebarItems` functions)",
4173
+ "shortText": "This function will be called when the plugin needs to render a specific page (see the\n`mainNavigationTabs`, `settingsAreaSidebarItemGroups` and `contentAreaSidebarItems` functions)",
4174
4174
  "tags": [
4175
4175
  {
4176
4176
  "tag": "group",
@@ -4219,7 +4219,7 @@
4219
4219
  "sources": [
4220
4220
  {
4221
4221
  "fileName": "connect.ts",
4222
- "line": 89,
4222
+ "line": 88,
4223
4223
  "character": 2
4224
4224
  }
4225
4225
  ],
@@ -4273,7 +4273,7 @@
4273
4273
  "sources": [
4274
4274
  {
4275
4275
  "fileName": "connect.ts",
4276
- "line": 183,
4276
+ "line": 171,
4277
4277
  "character": 2
4278
4278
  }
4279
4279
  ],
@@ -4285,7 +4285,7 @@
4285
4285
  "kindString": "Call signature",
4286
4286
  "flags": {},
4287
4287
  "comment": {
4288
- "shortText": "This function will be called each time the configuration object changes. It\nmust return an object containing possible validation errors",
4288
+ "shortText": "This function will be called each time the configuration object changes. It must\nreturn an object containing possible validation errors",
4289
4289
  "tags": [
4290
4290
  {
4291
4291
  "tag": "group",
@@ -4395,7 +4395,7 @@
4395
4395
  "sources": [
4396
4396
  {
4397
4397
  "fileName": "connect.ts",
4398
- "line": 70,
4398
+ "line": 69,
4399
4399
  "character": 36
4400
4400
  }
4401
4401
  ]
@@ -4414,7 +4414,7 @@
4414
4414
  "sources": [
4415
4415
  {
4416
4416
  "fileName": "types.ts",
4417
- "line": 863,
4417
+ "line": 825,
4418
4418
  "character": 12
4419
4419
  }
4420
4420
  ],
@@ -4436,7 +4436,7 @@
4436
4436
  "sources": [
4437
4437
  {
4438
4438
  "fileName": "types.ts",
4439
- "line": 865,
4439
+ "line": 827,
4440
4440
  "character": 2
4441
4441
  }
4442
4442
  ],
@@ -4464,8 +4464,14 @@
4464
4464
  }
4465
4465
  ],
4466
4466
  "type": {
4467
- "type": "intrinsic",
4468
- "name": "void"
4467
+ "type": "reference",
4468
+ "typeArguments": [
4469
+ {
4470
+ "type": "intrinsic",
4471
+ "name": "void"
4472
+ }
4473
+ ],
4474
+ "name": "Promise"
4469
4475
  }
4470
4476
  }
4471
4477
  ]
@@ -4483,7 +4489,7 @@
4483
4489
  "sources": [
4484
4490
  {
4485
4491
  "fileName": "types.ts",
4486
- "line": 863,
4492
+ "line": 825,
4487
4493
  "character": 28
4488
4494
  }
4489
4495
  ]
@@ -4499,7 +4505,7 @@
4499
4505
  "sources": [
4500
4506
  {
4501
4507
  "fileName": "types.ts",
4502
- "line": 431,
4508
+ "line": 395,
4503
4509
  "character": 12
4504
4510
  }
4505
4511
  ],
@@ -4521,7 +4527,7 @@
4521
4527
  "sources": [
4522
4528
  {
4523
4529
  "fileName": "types.ts",
4524
- "line": 432,
4530
+ "line": 396,
4525
4531
  "character": 2
4526
4532
  }
4527
4533
  ],
@@ -4543,7 +4549,7 @@
4543
4549
  "sources": [
4544
4550
  {
4545
4551
  "fileName": "types.ts",
4546
- "line": 431,
4552
+ "line": 395,
4547
4553
  "character": 39
4548
4554
  }
4549
4555
  ]
@@ -4559,7 +4565,7 @@
4559
4565
  "sources": [
4560
4566
  {
4561
4567
  "fileName": "types.ts",
4562
- "line": 437,
4568
+ "line": 401,
4563
4569
  "character": 12
4564
4570
  }
4565
4571
  ],
@@ -4581,7 +4587,7 @@
4581
4587
  "sources": [
4582
4588
  {
4583
4589
  "fileName": "types.ts",
4584
- "line": 438,
4590
+ "line": 402,
4585
4591
  "character": 2
4586
4592
  }
4587
4593
  ],
@@ -4619,7 +4625,7 @@
4619
4625
  "sources": [
4620
4626
  {
4621
4627
  "fileName": "types.ts",
4622
- "line": 437,
4628
+ "line": 401,
4623
4629
  "character": 26
4624
4630
  }
4625
4631
  ]
@@ -4635,7 +4641,7 @@
4635
4641
  "sources": [
4636
4642
  {
4637
4643
  "fileName": "types.ts",
4638
- "line": 435,
4644
+ "line": 399,
4639
4645
  "character": 12
4640
4646
  }
4641
4647
  ],
@@ -4664,7 +4670,7 @@
4664
4670
  "sources": [
4665
4671
  {
4666
4672
  "fileName": "types.ts",
4667
- "line": 441,
4673
+ "line": 405,
4668
4674
  "character": 12
4669
4675
  }
4670
4676
  ],
@@ -4693,7 +4699,7 @@
4693
4699
  "sources": [
4694
4700
  {
4695
4701
  "fileName": "connect.ts",
4696
- "line": 53,
4702
+ "line": 52,
4697
4703
  "character": 12
4698
4704
  }
4699
4705
  ],
@@ -4715,7 +4721,7 @@
4715
4721
  "sources": [
4716
4722
  {
4717
4723
  "fileName": "types.ts",
4718
- "line": 610,
4724
+ "line": 588,
4719
4725
  "character": 12
4720
4726
  }
4721
4727
  ],
@@ -4737,7 +4743,7 @@
4737
4743
  "sources": [
4738
4744
  {
4739
4745
  "fileName": "types.ts",
4740
- "line": 645,
4746
+ "line": 621,
4741
4747
  "character": 2
4742
4748
  }
4743
4749
  ],
@@ -4752,7 +4758,7 @@
4752
4758
  "sources": [
4753
4759
  {
4754
4760
  "fileName": "types.ts",
4755
- "line": 645,
4761
+ "line": 621,
4756
4762
  "character": 14
4757
4763
  }
4758
4764
  ],
@@ -4764,7 +4770,7 @@
4764
4770
  "kindString": "Call signature",
4765
4771
  "flags": {},
4766
4772
  "comment": {
4767
- "shortText": "Opens a dialog for selecting one (or multiple) record(s) from a list of\nexisting records of type `itemTypeId`. It returns a promise resolved with\nthe selected record(s), or `null` if the user closes the dialog without\nchoosing any record.",
4773
+ "shortText": "Opens a dialog for selecting one (or multiple) record(s) from a list of existing\nrecords of type `itemTypeId`. It returns a promise resolved with the selected\nrecord(s), or `null` if the user closes the dialog without choosing any record.",
4768
4774
  "tags": [
4769
4775
  {
4770
4776
  "tag": "example",
@@ -4808,7 +4814,7 @@
4808
4814
  "sources": [
4809
4815
  {
4810
4816
  "fileName": "types.ts",
4811
- "line": 646,
4817
+ "line": 622,
4812
4818
  "character": 36
4813
4819
  }
4814
4820
  ],
@@ -4862,7 +4868,7 @@
4862
4868
  "kindString": "Call signature",
4863
4869
  "flags": {},
4864
4870
  "comment": {
4865
- "shortText": "Opens a dialog for selecting one (or multiple) record(s) from a list of\nexisting records of type `itemTypeId`. It returns a promise resolved with\nthe selected record(s), or `null` if the user closes the dialog without\nchoosing any record.",
4871
+ "shortText": "Opens a dialog for selecting one (or multiple) record(s) from a list of existing\nrecords of type `itemTypeId`. It returns a promise resolved with the selected\nrecord(s), or `null` if the user closes the dialog without choosing any record.",
4866
4872
  "tags": [
4867
4873
  {
4868
4874
  "tag": "example",
@@ -4908,7 +4914,7 @@
4908
4914
  "sources": [
4909
4915
  {
4910
4916
  "fileName": "types.ts",
4911
- "line": 647,
4917
+ "line": 623,
4912
4918
  "character": 37
4913
4919
  }
4914
4920
  ],
@@ -4965,7 +4971,7 @@
4965
4971
  "sources": [
4966
4972
  {
4967
4973
  "fileName": "types.ts",
4968
- "line": 627,
4974
+ "line": 604,
4969
4975
  "character": 2
4970
4976
  }
4971
4977
  ],
@@ -4977,7 +4983,7 @@
4977
4983
  "kindString": "Call signature",
4978
4984
  "flags": {},
4979
4985
  "comment": {
4980
- "shortText": "Opens a dialog for creating a new record. It returns a promise resolved\nwith the newly created record or `null` if the user closes the dialog\nwithout creating anything.",
4986
+ "shortText": "Opens a dialog for creating a new record. It returns a promise resolved with the\nnewly created record or `null` if the user closes the dialog without creating anything.",
4981
4987
  "tags": [
4982
4988
  {
4983
4989
  "tag": "example",
@@ -5030,7 +5036,7 @@
5030
5036
  "sources": [
5031
5037
  {
5032
5038
  "fileName": "types.ts",
5033
- "line": 665,
5039
+ "line": 640,
5034
5040
  "character": 2
5035
5041
  }
5036
5042
  ],
@@ -5042,7 +5048,7 @@
5042
5048
  "kindString": "Call signature",
5043
5049
  "flags": {},
5044
5050
  "comment": {
5045
- "shortText": "Opens a dialog for editing an existing record. It returns a promise\nresolved with the edited record, or `null` if the user closes the dialog\nwithout persisting any change.",
5051
+ "shortText": "Opens a dialog for editing an existing record. It returns a promise resolved with the\nedited record, or `null` if the user closes the dialog without persisting any change.",
5046
5052
  "tags": [
5047
5053
  {
5048
5054
  "tag": "example",
@@ -5107,7 +5113,7 @@
5107
5113
  "sources": [
5108
5114
  {
5109
5115
  "fileName": "types.ts",
5110
- "line": 610,
5116
+ "line": 588,
5111
5117
  "character": 32
5112
5118
  }
5113
5119
  ]
@@ -5121,12 +5127,12 @@
5121
5127
  "kindString": "Type alias",
5122
5128
  "flags": {},
5123
5129
  "comment": {
5124
- "shortText": "These methods can be used to interact with the form that's being shown to the\nend-user to edit a record"
5130
+ "shortText": "These methods can be used to interact with the form that's being shown to the end-user\nto edit a record"
5125
5131
  },
5126
5132
  "sources": [
5127
5133
  {
5128
5134
  "fileName": "types.ts",
5129
- "line": 902,
5135
+ "line": 863,
5130
5136
  "character": 12
5131
5137
  }
5132
5138
  ],
@@ -5148,7 +5154,7 @@
5148
5154
  "sources": [
5149
5155
  {
5150
5156
  "fileName": "types.ts",
5151
- "line": 925,
5157
+ "line": 887,
5152
5158
  "character": 2
5153
5159
  }
5154
5160
  ],
@@ -5164,7 +5170,7 @@
5164
5170
  "tags": [
5165
5171
  {
5166
5172
  "tag": "example",
5167
- "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n ctx.disableField(fieldPath, true);\n"
5173
+ "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n\n await ctx.disableField(fieldPath, true);\n"
5168
5174
  }
5169
5175
  ]
5170
5176
  },
@@ -5193,8 +5199,14 @@
5193
5199
  }
5194
5200
  ],
5195
5201
  "type": {
5196
- "type": "intrinsic",
5197
- "name": "void"
5202
+ "type": "reference",
5203
+ "typeArguments": [
5204
+ {
5205
+ "type": "intrinsic",
5206
+ "name": "void"
5207
+ }
5208
+ ],
5209
+ "name": "Promise"
5198
5210
  }
5199
5211
  }
5200
5212
  ]
@@ -5208,7 +5220,7 @@
5208
5220
  "sources": [
5209
5221
  {
5210
5222
  "fileName": "types.ts",
5211
- "line": 955,
5223
+ "line": 919,
5212
5224
  "character": 2
5213
5225
  }
5214
5226
  ],
@@ -5250,7 +5262,7 @@
5250
5262
  "sources": [
5251
5263
  {
5252
5264
  "fileName": "types.ts",
5253
- "line": 937,
5265
+ "line": 900,
5254
5266
  "character": 2
5255
5267
  }
5256
5268
  ],
@@ -5262,11 +5274,11 @@
5262
5274
  "kindString": "Call signature",
5263
5275
  "flags": {},
5264
5276
  "comment": {
5265
- "shortText": "Smoothly navigates to a specific field in the form. If the field is\nlocalized it will switch language tab and then navigate to the chosen field.",
5277
+ "shortText": "Smoothly navigates to a specific field in the form. If the field is localized it will\nswitch language tab and then navigate to the chosen field.",
5266
5278
  "tags": [
5267
5279
  {
5268
5280
  "tag": "example",
5269
- "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n ctx.scrollToField(fieldPath);\n"
5281
+ "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n\n await ctx.scrollToField(fieldPath);\n"
5270
5282
  }
5271
5283
  ]
5272
5284
  },
@@ -5297,8 +5309,14 @@
5297
5309
  }
5298
5310
  ],
5299
5311
  "type": {
5300
- "type": "intrinsic",
5301
- "name": "void"
5312
+ "type": "reference",
5313
+ "typeArguments": [
5314
+ {
5315
+ "type": "intrinsic",
5316
+ "name": "void"
5317
+ }
5318
+ ],
5319
+ "name": "Promise"
5302
5320
  }
5303
5321
  }
5304
5322
  ]
@@ -5312,7 +5330,7 @@
5312
5330
  "sources": [
5313
5331
  {
5314
5332
  "fileName": "types.ts",
5315
- "line": 948,
5333
+ "line": 912,
5316
5334
  "character": 2
5317
5335
  }
5318
5336
  ],
@@ -5328,7 +5346,7 @@
5328
5346
  "tags": [
5329
5347
  {
5330
5348
  "tag": "example",
5331
- "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n ctx.setFieldValue(fieldPath, 'new value');\n"
5349
+ "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n\n await ctx.setFieldValue(fieldPath, 'new value');\n"
5332
5350
  }
5333
5351
  ]
5334
5352
  },
@@ -5357,8 +5375,14 @@
5357
5375
  }
5358
5376
  ],
5359
5377
  "type": {
5360
- "type": "intrinsic",
5361
- "name": "void"
5378
+ "type": "reference",
5379
+ "typeArguments": [
5380
+ {
5381
+ "type": "intrinsic",
5382
+ "name": "void"
5383
+ }
5384
+ ],
5385
+ "name": "Promise"
5362
5386
  }
5363
5387
  }
5364
5388
  ]
@@ -5372,7 +5396,7 @@
5372
5396
  "sources": [
5373
5397
  {
5374
5398
  "fileName": "types.ts",
5375
- "line": 914,
5399
+ "line": 875,
5376
5400
  "character": 2
5377
5401
  }
5378
5402
  ],
@@ -5388,7 +5412,7 @@
5388
5412
  "tags": [
5389
5413
  {
5390
5414
  "tag": "example",
5391
- "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n\n ctx.toggleField(fieldPath, true);\n"
5415
+ "text": "\n const fieldPath = prompt(\n 'Please insert the path of a field in the form',\n ctx.fieldPath,\n );\n\n await ctx.toggleField(fieldPath, true);\n"
5392
5416
  }
5393
5417
  ]
5394
5418
  },
@@ -5417,8 +5441,14 @@
5417
5441
  }
5418
5442
  ],
5419
5443
  "type": {
5420
- "type": "intrinsic",
5421
- "name": "void"
5444
+ "type": "reference",
5445
+ "typeArguments": [
5446
+ {
5447
+ "type": "intrinsic",
5448
+ "name": "void"
5449
+ }
5450
+ ],
5451
+ "name": "Promise"
5422
5452
  }
5423
5453
  }
5424
5454
  ]
@@ -5440,7 +5470,7 @@
5440
5470
  "sources": [
5441
5471
  {
5442
5472
  "fileName": "types.ts",
5443
- "line": 902,
5473
+ "line": 863,
5444
5474
  "character": 40
5445
5475
  }
5446
5476
  ]
@@ -5454,12 +5484,12 @@
5454
5484
  "kindString": "Type alias",
5455
5485
  "flags": {},
5456
5486
  "comment": {
5457
- "shortText": "These information describe the current state of the form that's being shown\nto the end-user to edit a record"
5487
+ "shortText": "These information describe the current state of the form that's being shown to the\nend-user to edit a record"
5458
5488
  },
5459
5489
  "sources": [
5460
5490
  {
5461
5491
  "fileName": "types.ts",
5462
- "line": 878,
5492
+ "line": 840,
5463
5493
  "character": 12
5464
5494
  }
5465
5495
  ],
@@ -5484,7 +5514,7 @@
5484
5514
  "sources": [
5485
5515
  {
5486
5516
  "fileName": "types.ts",
5487
- "line": 886,
5517
+ "line": 848,
5488
5518
  "character": 2
5489
5519
  }
5490
5520
  ],
@@ -5515,7 +5545,7 @@
5515
5545
  "sources": [
5516
5546
  {
5517
5547
  "fileName": "types.ts",
5518
- "line": 892,
5548
+ "line": 854,
5519
5549
  "character": 2
5520
5550
  }
5521
5551
  ],
@@ -5536,7 +5566,7 @@
5536
5566
  "sources": [
5537
5567
  {
5538
5568
  "fileName": "types.ts",
5539
- "line": 890,
5569
+ "line": 852,
5540
5570
  "character": 2
5541
5571
  }
5542
5572
  ],
@@ -5557,7 +5587,7 @@
5557
5587
  "sources": [
5558
5588
  {
5559
5589
  "fileName": "types.ts",
5560
- "line": 882,
5590
+ "line": 844,
5561
5591
  "character": 2
5562
5592
  }
5563
5593
  ],
@@ -5588,7 +5618,7 @@
5588
5618
  "sources": [
5589
5619
  {
5590
5620
  "fileName": "types.ts",
5591
- "line": 888,
5621
+ "line": 850,
5592
5622
  "character": 2
5593
5623
  }
5594
5624
  ],
@@ -5626,7 +5656,7 @@
5626
5656
  "sources": [
5627
5657
  {
5628
5658
  "fileName": "types.ts",
5629
- "line": 884,
5659
+ "line": 846,
5630
5660
  "character": 2
5631
5661
  }
5632
5662
  ],
@@ -5648,7 +5678,7 @@
5648
5678
  "sources": [
5649
5679
  {
5650
5680
  "fileName": "types.ts",
5651
- "line": 880,
5681
+ "line": 842,
5652
5682
  "character": 2
5653
5683
  }
5654
5684
  ],
@@ -5676,7 +5706,7 @@
5676
5706
  "sources": [
5677
5707
  {
5678
5708
  "fileName": "types.ts",
5679
- "line": 878,
5709
+ "line": 840,
5680
5710
  "character": 43
5681
5711
  }
5682
5712
  ]
@@ -5692,7 +5722,7 @@
5692
5722
  "sources": [
5693
5723
  {
5694
5724
  "fileName": "types.ts",
5695
- "line": 958,
5725
+ "line": 922,
5696
5726
  "character": 12
5697
5727
  }
5698
5728
  ],
@@ -5726,7 +5756,7 @@
5726
5756
  "sources": [
5727
5757
  {
5728
5758
  "fileName": "types.ts",
5729
- "line": 895,
5759
+ "line": 857,
5730
5760
  "character": 12
5731
5761
  }
5732
5762
  ],
@@ -5758,7 +5788,7 @@
5758
5788
  "sources": [
5759
5789
  {
5760
5790
  "fileName": "types.ts",
5761
- "line": 203,
5791
+ "line": 189,
5762
5792
  "character": 12
5763
5793
  }
5764
5794
  ],
@@ -5778,12 +5808,12 @@
5778
5808
  "kindString": "Property",
5779
5809
  "flags": {},
5780
5810
  "comment": {
5781
- "shortText": "ID of the panel. Will be the first argument for the\n`renderItemFormSidebarPanel` function"
5811
+ "shortText": "ID of the panel. Will be the first argument for the `renderItemFormSidebarPanel` function"
5782
5812
  },
5783
5813
  "sources": [
5784
5814
  {
5785
5815
  "fileName": "types.ts",
5786
- "line": 208,
5816
+ "line": 191,
5787
5817
  "character": 2
5788
5818
  }
5789
5819
  ],
@@ -5806,7 +5836,7 @@
5806
5836
  "sources": [
5807
5837
  {
5808
5838
  "fileName": "types.ts",
5809
- "line": 233,
5839
+ "line": 214,
5810
5840
  "character": 2
5811
5841
  }
5812
5842
  ],
@@ -5827,7 +5857,7 @@
5827
5857
  "sources": [
5828
5858
  {
5829
5859
  "fileName": "types.ts",
5830
- "line": 210,
5860
+ "line": 193,
5831
5861
  "character": 2
5832
5862
  }
5833
5863
  ],
@@ -5845,12 +5875,12 @@
5845
5875
  "isOptional": true
5846
5876
  },
5847
5877
  "comment": {
5848
- "shortText": "An arbitrary configuration object that will be passed as the `parameters`\nproperty of the second argument of the `renderItemFormSidebarPanel` function"
5878
+ "shortText": "An arbitrary configuration object that will be passed as the `parameters` property of\nthe second argument of the `renderItemFormSidebarPanel` function"
5849
5879
  },
5850
5880
  "sources": [
5851
5881
  {
5852
5882
  "fileName": "types.ts",
5853
- "line": 215,
5883
+ "line": 198,
5854
5884
  "character": 2
5855
5885
  }
5856
5886
  ],
@@ -5878,12 +5908,12 @@
5878
5908
  "isOptional": true
5879
5909
  },
5880
5910
  "comment": {
5881
- "shortText": "Expresses where you want the item to be placed inside the sidebar. If not\nspecified, the item will be placed after the standard panels provided by\nDatoCMS itself."
5911
+ "shortText": "Expresses where you want the item to be placed inside the sidebar. If not specified,\nthe item will be placed after the standard panels provided by DatoCMS itself."
5882
5912
  },
5883
5913
  "sources": [
5884
5914
  {
5885
5915
  "fileName": "types.ts",
5886
- "line": 223,
5916
+ "line": 205,
5887
5917
  "character": 2
5888
5918
  }
5889
5919
  ],
@@ -5902,12 +5932,12 @@
5902
5932
  "isOptional": true
5903
5933
  },
5904
5934
  "comment": {
5905
- "shortText": "If multiple sidebar panels specify the same `placement`, they will be\nsorted by ascending `rank`. If you want to specify an explicit value for\n`rank`, make sure to offer a way for final users to customize it inside the\nplugin's settings form, otherwise the hardcoded value you choose might\nclash with the one of another plugin! *"
5935
+ "shortText": "If multiple sidebar panels specify the same `placement`, they will be sorted by\nascending `rank`. If you want to specify an explicit value for `rank`, make sure to\noffer a way for final users to customize it inside the plugin's settings form,\notherwise the hardcoded value you choose might clash with the one of another plugin! *"
5906
5936
  },
5907
5937
  "sources": [
5908
5938
  {
5909
5939
  "fileName": "types.ts",
5910
- "line": 231,
5940
+ "line": 212,
5911
5941
  "character": 2
5912
5942
  }
5913
5943
  ],
@@ -5930,7 +5960,7 @@
5930
5960
  "sources": [
5931
5961
  {
5932
5962
  "fileName": "types.ts",
5933
- "line": 217,
5963
+ "line": 200,
5934
5964
  "character": 2
5935
5965
  }
5936
5966
  ],
@@ -5958,7 +5988,7 @@
5958
5988
  "sources": [
5959
5989
  {
5960
5990
  "fileName": "types.ts",
5961
- "line": 203,
5991
+ "line": 189,
5962
5992
  "character": 35
5963
5993
  }
5964
5994
  ]
@@ -5974,7 +6004,7 @@
5974
6004
  "sources": [
5975
6005
  {
5976
6006
  "fileName": "types.ts",
5977
- "line": 197,
6007
+ "line": 183,
5978
6008
  "character": 12
5979
6009
  }
5980
6010
  ],
@@ -6025,12 +6055,12 @@
6025
6055
  "kindString": "Type alias",
6026
6056
  "flags": {},
6027
6057
  "comment": {
6028
- "shortText": "These methods can be used to asyncronously load additional information your\nplugin needs to work"
6058
+ "shortText": "These methods can be used to asyncronously load additional information your plugin needs to work"
6029
6059
  },
6030
6060
  "sources": [
6031
6061
  {
6032
6062
  "fileName": "types.ts",
6033
- "line": 556,
6063
+ "line": 538,
6034
6064
  "character": 12
6035
6065
  }
6036
6066
  ],
@@ -6052,7 +6082,7 @@
6052
6082
  "sources": [
6053
6083
  {
6054
6084
  "fileName": "types.ts",
6055
- "line": 586,
6085
+ "line": 564,
6056
6086
  "character": 2
6057
6087
  }
6058
6088
  ],
@@ -6064,11 +6094,11 @@
6064
6094
  "kindString": "Call signature",
6065
6095
  "flags": {},
6066
6096
  "comment": {
6067
- "shortText": "Loads all the fields in the project that are currently using the plugin for\none of its manual field extensions.",
6097
+ "shortText": "Loads all the fields in the project that are currently using the plugin for one of\nits manual field extensions.",
6068
6098
  "tags": [
6069
6099
  {
6070
6100
  "tag": "example",
6071
- "text": "\n const fields = await ctx.loadFieldsUsingPlugin();\n\n ctx.notice(\n `Success! ${fields\n .map((field) => field.attributes.api_key)\n .join(', ')}`,\n );\n"
6101
+ "text": "\n const fields = await ctx.loadFieldsUsingPlugin();\n\n ctx.notice(\n `Success! ${fields.map((field) => field.attributes.api_key).join(', ')}`,\n );\n"
6072
6102
  }
6073
6103
  ]
6074
6104
  },
@@ -6098,7 +6128,7 @@
6098
6128
  "sources": [
6099
6129
  {
6100
6130
  "fileName": "types.ts",
6101
- "line": 572,
6131
+ "line": 552,
6102
6132
  "character": 2
6103
6133
  }
6104
6134
  ],
@@ -6110,11 +6140,11 @@
6110
6140
  "kindString": "Call signature",
6111
6141
  "flags": {},
6112
6142
  "comment": {
6113
- "shortText": "Loads all the fields for a specific model (or block). Fields will be\nreturned and will also be available in the the `fields` property.",
6143
+ "shortText": "Loads all the fields for a specific model (or block). Fields will be returned and\nwill also be available in the the `fields` property.",
6114
6144
  "tags": [
6115
6145
  {
6116
6146
  "tag": "example",
6117
- "text": "\n const fieldId = prompt('Please insert a field ID:');\n\n const fields = await ctx.loadItemTypeFields(fieldId);\n\n ctx.notice(\n `Success! ${fields\n .map((field) => field.attributes.api_key)\n .join(', ')}`,\n );\n"
6147
+ "text": "\n const fieldId = prompt('Please insert a field ID:');\n\n const fields = await ctx.loadItemTypeFields(fieldId);\n\n ctx.notice(\n `Success! ${fields.map((field) => field.attributes.api_key).join(', ')}`,\n );\n"
6118
6148
  }
6119
6149
  ]
6120
6150
  },
@@ -6157,7 +6187,7 @@
6157
6187
  "sources": [
6158
6188
  {
6159
6189
  "fileName": "types.ts",
6160
- "line": 606,
6190
+ "line": 584,
6161
6191
  "character": 2
6162
6192
  }
6163
6193
  ],
@@ -6169,11 +6199,11 @@
6169
6199
  "kindString": "Call signature",
6170
6200
  "flags": {},
6171
6201
  "comment": {
6172
- "shortText": "Loads all SSO users. Users will be returned and will also be available in\nthe the `ssoUsers` property.",
6202
+ "shortText": "Loads all SSO users. Users will be returned and will also be available in the the\n`ssoUsers` property.",
6173
6203
  "tags": [
6174
6204
  {
6175
6205
  "tag": "example",
6176
- "text": "\n const users = await ctx.loadSsoUsers();\n\n ctx.notice(`Success! ${users.map((user) => i.id).join(', ')}`);\n"
6206
+ "text": "\n const users = await ctx.loadSsoUsers();\n\n ctx.notice(`Success! ${users.map((user) => user.id).join(', ')}`);\n"
6177
6207
  }
6178
6208
  ]
6179
6209
  },
@@ -6203,7 +6233,7 @@
6203
6233
  "sources": [
6204
6234
  {
6205
6235
  "fileName": "types.ts",
6206
- "line": 596,
6236
+ "line": 574,
6207
6237
  "character": 2
6208
6238
  }
6209
6239
  ],
@@ -6215,11 +6245,11 @@
6215
6245
  "kindString": "Call signature",
6216
6246
  "flags": {},
6217
6247
  "comment": {
6218
- "shortText": "Loads all regular users. Users will be returned and will also be available\nin the the `users` property.",
6248
+ "shortText": "Loads all regular users. Users will be returned and will also be available in the the\n`users` property.",
6219
6249
  "tags": [
6220
6250
  {
6221
6251
  "tag": "example",
6222
- "text": "\n const users = await ctx.loadUsers();\n\n ctx.notice(`Success! ${users.map((user) => i.id).join(', ')}`);\n"
6252
+ "text": "\n const users = await ctx.loadUsers();\n\n ctx.notice(`Success! ${users.map((user) => user.id).join(', ')}`);\n"
6223
6253
  }
6224
6254
  ]
6225
6255
  },
@@ -6256,7 +6286,7 @@
6256
6286
  "sources": [
6257
6287
  {
6258
6288
  "fileName": "types.ts",
6259
- "line": 556,
6289
+ "line": 538,
6260
6290
  "character": 30
6261
6291
  }
6262
6292
  ]
@@ -6339,7 +6369,7 @@
6339
6369
  "isOptional": true
6340
6370
  },
6341
6371
  "comment": {
6342
- "shortText": "Expresses where you want to place the tab in the top-bar. If not specified,\nthe tab will be placed after the standard tabs provided by DatoCMS itself."
6372
+ "shortText": "Expresses where you want to place the tab in the top-bar. If not specified, the tab\nwill be placed after the standard tabs provided by DatoCMS itself."
6343
6373
  },
6344
6374
  "sources": [
6345
6375
  {
@@ -6460,12 +6490,12 @@
6460
6490
  "isOptional": true
6461
6491
  },
6462
6492
  "comment": {
6463
- "shortText": "If different plugins specify the same `placement` for their tabs, they will\nbe displayed by ascending `rank`. If you want to specify an explicit value\nfor `rank`, make sure to offer a way for final users to customize it inside\nthe plugin's settings form, otherwise the hardcoded value you choose might\nclash with the one of another plugin! *"
6493
+ "shortText": "If different plugins specify the same `placement` for their tabs, they will be\ndisplayed by ascending `rank`. If you want to specify an explicit value for `rank`,\nmake sure to offer a way for final users to customize it inside the plugin's settings\nform, otherwise the hardcoded value you choose might clash with the one of another plugin! *"
6464
6494
  },
6465
6495
  "sources": [
6466
6496
  {
6467
6497
  "fileName": "types.ts",
6468
- "line": 52,
6498
+ "line": 48,
6469
6499
  "character": 2
6470
6500
  }
6471
6501
  ],
@@ -6505,12 +6535,12 @@
6505
6535
  "kindString": "Type alias",
6506
6536
  "flags": {},
6507
6537
  "comment": {
6508
- "shortText": "Field extensions extend the basic functionality of DatoCMS when it comes to\npresenting record's fields to the final user. Depending on the extension type\n(`editor` or `addon`) they will be shown in different places of the interface."
6538
+ "shortText": "Field extensions extend the basic functionality of DatoCMS when it comes to presenting\nrecord's fields to the final user. Depending on the extension type (`editor` or\n`addon`) they will be shown in different places of the interface."
6509
6539
  },
6510
6540
  "sources": [
6511
6541
  {
6512
6542
  "fileName": "types.ts",
6513
- "line": 164,
6543
+ "line": 155,
6514
6544
  "character": 12
6515
6545
  }
6516
6546
  ],
@@ -6532,12 +6562,12 @@
6532
6562
  "isOptional": true
6533
6563
  },
6534
6564
  "comment": {
6535
- "shortText": "For `editor` extensions: moves the field to the sidebar of the record\nediting page, mimicking a sidebar panel"
6565
+ "shortText": "For `editor` extensions: moves the field to the sidebar of the record editing page,\nmimicking a sidebar panel"
6536
6566
  },
6537
6567
  "sources": [
6538
6568
  {
6539
6569
  "fileName": "types.ts",
6540
- "line": 183,
6570
+ "line": 170,
6541
6571
  "character": 2
6542
6572
  }
6543
6573
  ],
@@ -6566,7 +6596,7 @@
6566
6596
  "sources": [
6567
6597
  {
6568
6598
  "fileName": "types.ts",
6569
- "line": 183,
6599
+ "line": 170,
6570
6600
  "character": 31
6571
6601
  }
6572
6602
  ],
@@ -6588,7 +6618,7 @@
6588
6618
  "sources": [
6589
6619
  {
6590
6620
  "fileName": "types.ts",
6591
- "line": 183,
6621
+ "line": 170,
6592
6622
  "character": 29
6593
6623
  }
6594
6624
  ]
@@ -6606,12 +6636,12 @@
6606
6636
  "isOptional": true
6607
6637
  },
6608
6638
  "comment": {
6609
- "shortText": "Whether this field extension needs some configuration options before being\ninstalled in a field or not. Will trigger the\n`renderManualFieldExtensionConfigScreen` and\n`validateManualFieldExtensionParameters` methods"
6639
+ "shortText": "Whether this field extension needs some configuration options before being installed\nin a field or not. Will trigger the `renderManualFieldExtensionConfigScreen` and\n`validateManualFieldExtensionParameters` methods"
6610
6640
  },
6611
6641
  "sources": [
6612
6642
  {
6613
6643
  "fileName": "types.ts",
6614
- "line": 192,
6644
+ "line": 178,
6615
6645
  "character": 2
6616
6646
  }
6617
6647
  ],
@@ -6640,7 +6670,7 @@
6640
6670
  "sources": [
6641
6671
  {
6642
6672
  "fileName": "types.ts",
6643
- "line": 192,
6673
+ "line": 178,
6644
6674
  "character": 29
6645
6675
  }
6646
6676
  ],
@@ -6662,7 +6692,7 @@
6662
6692
  "sources": [
6663
6693
  {
6664
6694
  "fileName": "types.ts",
6665
- "line": 192,
6695
+ "line": 178,
6666
6696
  "character": 27
6667
6697
  }
6668
6698
  ]
@@ -6683,7 +6713,7 @@
6683
6713
  "sources": [
6684
6714
  {
6685
6715
  "fileName": "types.ts",
6686
- "line": 185,
6716
+ "line": 172,
6687
6717
  "character": 2
6688
6718
  }
6689
6719
  ],
@@ -6712,12 +6742,12 @@
6712
6742
  "kindString": "Property",
6713
6743
  "flags": {},
6714
6744
  "comment": {
6715
- "shortText": "ID of field extension. Will be the first argument for the\n`renderFieldExtension` function"
6745
+ "shortText": "ID of field extension. Will be the first argument for the `renderFieldExtension` function"
6716
6746
  },
6717
6747
  "sources": [
6718
6748
  {
6719
6749
  "fileName": "types.ts",
6720
- "line": 169,
6750
+ "line": 157,
6721
6751
  "character": 2
6722
6752
  }
6723
6753
  ],
@@ -6740,7 +6770,7 @@
6740
6770
  "sources": [
6741
6771
  {
6742
6772
  "fileName": "types.ts",
6743
- "line": 194,
6773
+ "line": 180,
6744
6774
  "character": 2
6745
6775
  }
6746
6776
  ],
@@ -6761,7 +6791,7 @@
6761
6791
  "sources": [
6762
6792
  {
6763
6793
  "fileName": "types.ts",
6764
- "line": 171,
6794
+ "line": 159,
6765
6795
  "character": 2
6766
6796
  }
6767
6797
  ],
@@ -6777,12 +6807,12 @@
6777
6807
  "kindString": "Property",
6778
6808
  "flags": {},
6779
6809
  "comment": {
6780
- "shortText": "Type of field extension. An `editor` extension replaces the default field\neditor that DatoCMS provides, while an `addon` extension is placed\nunderneath the field editor to provide additional info/behaviour. You can\nsetup multiple field addons for every field."
6810
+ "shortText": "Type of field extension. An `editor` extension replaces the default field editor that\nDatoCMS provides, while an `addon` extension is placed underneath the field editor to\nprovide additional info/behaviour. You can setup multiple field addons for every field."
6781
6811
  },
6782
6812
  "sources": [
6783
6813
  {
6784
6814
  "fileName": "types.ts",
6785
- "line": 178,
6815
+ "line": 165,
6786
6816
  "character": 2
6787
6817
  }
6788
6818
  ],
@@ -6811,7 +6841,7 @@
6811
6841
  "sources": [
6812
6842
  {
6813
6843
  "fileName": "types.ts",
6814
- "line": 164,
6844
+ "line": 155,
6815
6845
  "character": 35
6816
6846
  }
6817
6847
  ]
@@ -6830,7 +6860,7 @@
6830
6860
  "sources": [
6831
6861
  {
6832
6862
  "fileName": "types.ts",
6833
- "line": 331,
6863
+ "line": 304,
6834
6864
  "character": 12
6835
6865
  }
6836
6866
  ],
@@ -6857,7 +6887,7 @@
6857
6887
  "sources": [
6858
6888
  {
6859
6889
  "fileName": "types.ts",
6860
- "line": 337,
6890
+ "line": 310,
6861
6891
  "character": 2
6862
6892
  }
6863
6893
  ],
@@ -6878,7 +6908,7 @@
6878
6908
  "sources": [
6879
6909
  {
6880
6910
  "fileName": "types.ts",
6881
- "line": 333,
6911
+ "line": 306,
6882
6912
  "character": 2
6883
6913
  }
6884
6914
  ],
@@ -6901,7 +6931,7 @@
6901
6931
  "sources": [
6902
6932
  {
6903
6933
  "fileName": "types.ts",
6904
- "line": 346,
6934
+ "line": 319,
6905
6935
  "character": 2
6906
6936
  }
6907
6937
  ],
@@ -6919,12 +6949,12 @@
6919
6949
  "isOptional": true
6920
6950
  },
6921
6951
  "comment": {
6922
- "shortText": "An arbitrary configuration object that will be passed as the `parameters`\nproperty of the second argument of the `renderModal` function"
6952
+ "shortText": "An arbitrary configuration object that will be passed as the `parameters` property of\nthe second argument of the `renderModal` function"
6923
6953
  },
6924
6954
  "sources": [
6925
6955
  {
6926
6956
  "fileName": "types.ts",
6927
- "line": 344,
6957
+ "line": 317,
6928
6958
  "character": 2
6929
6959
  }
6930
6960
  ],
@@ -6957,7 +6987,7 @@
6957
6987
  "sources": [
6958
6988
  {
6959
6989
  "fileName": "types.ts",
6960
- "line": 335,
6990
+ "line": 308,
6961
6991
  "character": 2
6962
6992
  }
6963
6993
  ],
@@ -6980,7 +7010,7 @@
6980
7010
  "sources": [
6981
7011
  {
6982
7012
  "fileName": "types.ts",
6983
- "line": 339,
7013
+ "line": 312,
6984
7014
  "character": 2
6985
7015
  }
6986
7016
  ],
@@ -7032,7 +7062,7 @@
7032
7062
  "sources": [
7033
7063
  {
7034
7064
  "fileName": "types.ts",
7035
- "line": 331,
7065
+ "line": 304,
7036
7066
  "character": 20
7037
7067
  }
7038
7068
  ]
@@ -7051,7 +7081,7 @@
7051
7081
  "sources": [
7052
7082
  {
7053
7083
  "fileName": "types.ts",
7054
- "line": 852,
7084
+ "line": 814,
7055
7085
  "character": 12
7056
7086
  }
7057
7087
  ],
@@ -7073,7 +7103,7 @@
7073
7103
  "sources": [
7074
7104
  {
7075
7105
  "fileName": "types.ts",
7076
- "line": 859,
7106
+ "line": 821,
7077
7107
  "character": 2
7078
7108
  }
7079
7109
  ],
@@ -7089,7 +7119,7 @@
7089
7119
  "tags": [
7090
7120
  {
7091
7121
  "tag": "example",
7092
- "text": "\n ctx.navigateTo('/');\n"
7122
+ "text": "\n await ctx.navigateTo('/');\n"
7093
7123
  }
7094
7124
  ]
7095
7125
  },
@@ -7107,8 +7137,14 @@
7107
7137
  }
7108
7138
  ],
7109
7139
  "type": {
7110
- "type": "intrinsic",
7111
- "name": "void"
7140
+ "type": "reference",
7141
+ "typeArguments": [
7142
+ {
7143
+ "type": "intrinsic",
7144
+ "name": "void"
7145
+ }
7146
+ ],
7147
+ "name": "Promise"
7112
7148
  }
7113
7149
  }
7114
7150
  ]
@@ -7126,7 +7162,7 @@
7126
7162
  "sources": [
7127
7163
  {
7128
7164
  "fileName": "types.ts",
7129
- "line": 852,
7165
+ "line": 814,
7130
7166
  "character": 30
7131
7167
  }
7132
7168
  ]
@@ -7142,7 +7178,7 @@
7142
7178
  "sources": [
7143
7179
  {
7144
7180
  "fileName": "types.ts",
7145
- "line": 1151,
7181
+ "line": 1100,
7146
7182
  "character": 12
7147
7183
  }
7148
7184
  ],
@@ -7164,7 +7200,7 @@
7164
7200
  "sources": [
7165
7201
  {
7166
7202
  "fileName": "types.ts",
7167
- "line": 1152,
7203
+ "line": 1101,
7168
7204
  "character": 2
7169
7205
  }
7170
7206
  ],
@@ -7202,7 +7238,7 @@
7202
7238
  "sources": [
7203
7239
  {
7204
7240
  "fileName": "types.ts",
7205
- "line": 1151,
7241
+ "line": 1100,
7206
7242
  "character": 38
7207
7243
  }
7208
7244
  ]
@@ -7218,7 +7254,7 @@
7218
7254
  "sources": [
7219
7255
  {
7220
7256
  "fileName": "types.ts",
7221
- "line": 1145,
7257
+ "line": 1094,
7222
7258
  "character": 12
7223
7259
  }
7224
7260
  ],
@@ -7240,7 +7276,7 @@
7240
7276
  "sources": [
7241
7277
  {
7242
7278
  "fileName": "types.ts",
7243
- "line": 1146,
7279
+ "line": 1095,
7244
7280
  "character": 2
7245
7281
  }
7246
7282
  ],
@@ -7262,7 +7298,7 @@
7262
7298
  "sources": [
7263
7299
  {
7264
7300
  "fileName": "types.ts",
7265
- "line": 1145,
7301
+ "line": 1094,
7266
7302
  "character": 41
7267
7303
  }
7268
7304
  ]
@@ -7278,7 +7314,7 @@
7278
7314
  "sources": [
7279
7315
  {
7280
7316
  "fileName": "connect.ts",
7281
- "line": 54,
7317
+ "line": 53,
7282
7318
  "character": 12
7283
7319
  }
7284
7320
  ],
@@ -7297,7 +7333,7 @@
7297
7333
  "sources": [
7298
7334
  {
7299
7335
  "fileName": "types.ts",
7300
- "line": 1155,
7336
+ "line": 1104,
7301
7337
  "character": 12
7302
7338
  }
7303
7339
  ],
@@ -7326,7 +7362,7 @@
7326
7362
  "sources": [
7327
7363
  {
7328
7364
  "fileName": "types.ts",
7329
- "line": 1149,
7365
+ "line": 1098,
7330
7366
  "character": 12
7331
7367
  }
7332
7368
  ],
@@ -7355,7 +7391,7 @@
7355
7391
  "sources": [
7356
7392
  {
7357
7393
  "fileName": "types.ts",
7358
- "line": 1157,
7394
+ "line": 1106,
7359
7395
  "character": 12
7360
7396
  }
7361
7397
  ],
@@ -7387,7 +7423,7 @@
7387
7423
  "sources": [
7388
7424
  {
7389
7425
  "fileName": "types.ts",
7390
- "line": 444,
7426
+ "line": 408,
7391
7427
  "character": 12
7392
7428
  }
7393
7429
  ],
@@ -7412,7 +7448,7 @@
7412
7448
  "sources": [
7413
7449
  {
7414
7450
  "fileName": "types.ts",
7415
- "line": 468,
7451
+ "line": 431,
7416
7452
  "character": 2
7417
7453
  }
7418
7454
  ],
@@ -7434,7 +7470,7 @@
7434
7470
  "sources": [
7435
7471
  {
7436
7472
  "fileName": "types.ts",
7437
- "line": 470,
7473
+ "line": 433,
7438
7474
  "character": 2
7439
7475
  }
7440
7476
  ],
@@ -7467,12 +7503,12 @@
7467
7503
  "kindString": "Property",
7468
7504
  "flags": {},
7469
7505
  "comment": {
7470
- "shortText": "All the fields currently loaded for the current DatoCMS project, indexed by\nID. It will always contain the current model fields and all the fields of\nthe blocks it might contain via Modular Content/Structured Text fields. If\nsome fields you need are not present, use the `loadItemTypeFields` function\nto load them."
7506
+ "shortText": "All the fields currently loaded for the current DatoCMS project, indexed by ID. It\nwill always contain the current model fields and all the fields of the blocks it\nmight contain via Modular Content/Structured Text fields. If some fields you need are\nnot present, use the `loadItemTypeFields` function to load them."
7471
7507
  },
7472
7508
  "sources": [
7473
7509
  {
7474
7510
  "fileName": "types.ts",
7475
- "line": 452,
7511
+ "line": 415,
7476
7512
  "character": 2
7477
7513
  }
7478
7514
  ],
@@ -7505,12 +7541,12 @@
7505
7541
  "kindString": "Property",
7506
7542
  "flags": {},
7507
7543
  "comment": {
7508
- "shortText": "All the SSO users currently loaded for the current DatoCMS project, indexed\nby ID. It will always contain the current user. If some users you need are\nnot present, use the `loadSsoUsers` function to load them."
7544
+ "shortText": "All the SSO users currently loaded for the current DatoCMS project, indexed by ID. It\nwill always contain the current user. If some users you need are not present, use the\n`loadSsoUsers` function to load them."
7509
7545
  },
7510
7546
  "sources": [
7511
7547
  {
7512
7548
  "fileName": "types.ts",
7513
- "line": 466,
7549
+ "line": 429,
7514
7550
  "character": 2
7515
7551
  }
7516
7552
  ],
@@ -7548,7 +7584,7 @@
7548
7584
  "sources": [
7549
7585
  {
7550
7586
  "fileName": "types.ts",
7551
- "line": 454,
7587
+ "line": 417,
7552
7588
  "character": 2
7553
7589
  }
7554
7590
  ],
@@ -7565,12 +7601,12 @@
7565
7601
  "kindString": "Property",
7566
7602
  "flags": {},
7567
7603
  "comment": {
7568
- "shortText": "All the regular users currently loaded for the current DatoCMS project,\nindexed by ID. It will always contain the current user. If some users you\nneed are not present, use the `loadUsers` function to load them."
7604
+ "shortText": "All the regular users currently loaded for the current DatoCMS project, indexed by\nID. It will always contain the current user. If some users you need are not present,\nuse the `loadUsers` function to load them."
7569
7605
  },
7570
7606
  "sources": [
7571
7607
  {
7572
7608
  "fileName": "types.ts",
7573
- "line": 460,
7609
+ "line": 423,
7574
7610
  "character": 2
7575
7611
  }
7576
7612
  ],
@@ -7614,7 +7650,7 @@
7614
7650
  "sources": [
7615
7651
  {
7616
7652
  "fileName": "types.ts",
7617
- "line": 444,
7653
+ "line": 408,
7618
7654
  "character": 41
7619
7655
  }
7620
7656
  ]
@@ -7633,7 +7669,7 @@
7633
7669
  "sources": [
7634
7670
  {
7635
7671
  "fileName": "types.ts",
7636
- "line": 1134,
7672
+ "line": 1083,
7637
7673
  "character": 12
7638
7674
  }
7639
7675
  ],
@@ -7655,7 +7691,7 @@
7655
7691
  "sources": [
7656
7692
  {
7657
7693
  "fileName": "types.ts",
7658
- "line": 1135,
7694
+ "line": 1084,
7659
7695
  "character": 2
7660
7696
  }
7661
7697
  ],
@@ -7693,7 +7729,7 @@
7693
7729
  "sources": [
7694
7730
  {
7695
7731
  "fileName": "types.ts",
7696
- "line": 1134,
7732
+ "line": 1083,
7697
7733
  "character": 50
7698
7734
  }
7699
7735
  ]
@@ -7709,7 +7745,7 @@
7709
7745
  "sources": [
7710
7746
  {
7711
7747
  "fileName": "types.ts",
7712
- "line": 1126,
7748
+ "line": 1075,
7713
7749
  "character": 12
7714
7750
  }
7715
7751
  ],
@@ -7731,7 +7767,7 @@
7731
7767
  "sources": [
7732
7768
  {
7733
7769
  "fileName": "types.ts",
7734
- "line": 1127,
7770
+ "line": 1076,
7735
7771
  "character": 2
7736
7772
  }
7737
7773
  ],
@@ -7753,7 +7789,7 @@
7753
7789
  "sources": [
7754
7790
  {
7755
7791
  "fileName": "types.ts",
7756
- "line": 1126,
7792
+ "line": 1075,
7757
7793
  "character": 53
7758
7794
  }
7759
7795
  ]
@@ -7769,7 +7805,7 @@
7769
7805
  "sources": [
7770
7806
  {
7771
7807
  "fileName": "connect.ts",
7772
- "line": 66,
7808
+ "line": 65,
7773
7809
  "character": 12
7774
7810
  }
7775
7811
  ],
@@ -7798,7 +7834,7 @@
7798
7834
  "sources": [
7799
7835
  {
7800
7836
  "fileName": "types.ts",
7801
- "line": 1138,
7837
+ "line": 1087,
7802
7838
  "character": 12
7803
7839
  }
7804
7840
  ],
@@ -7832,7 +7868,7 @@
7832
7868
  "sources": [
7833
7869
  {
7834
7870
  "fileName": "types.ts",
7835
- "line": 1130,
7871
+ "line": 1079,
7836
7872
  "character": 12
7837
7873
  }
7838
7874
  ],
@@ -7861,7 +7897,7 @@
7861
7897
  "sources": [
7862
7898
  {
7863
7899
  "fileName": "types.ts",
7864
- "line": 1142,
7900
+ "line": 1091,
7865
7901
  "character": 12
7866
7902
  }
7867
7903
  ],
@@ -7890,7 +7926,7 @@
7890
7926
  "sources": [
7891
7927
  {
7892
7928
  "fileName": "types.ts",
7893
- "line": 1015,
7929
+ "line": 971,
7894
7930
  "character": 12
7895
7931
  }
7896
7932
  ],
@@ -7912,7 +7948,7 @@
7912
7948
  "sources": [
7913
7949
  {
7914
7950
  "fileName": "types.ts",
7915
- "line": 1016,
7951
+ "line": 972,
7916
7952
  "character": 2
7917
7953
  }
7918
7954
  ],
@@ -7950,7 +7986,7 @@
7950
7986
  "sources": [
7951
7987
  {
7952
7988
  "fileName": "types.ts",
7953
- "line": 1015,
7989
+ "line": 971,
7954
7990
  "character": 52
7955
7991
  }
7956
7992
  ]
@@ -7964,12 +8000,12 @@
7964
8000
  "kindString": "Type alias",
7965
8001
  "flags": {},
7966
8002
  "comment": {
7967
- "shortText": "Information regarding the state of a specific field where you need to render\nthe field extension"
8003
+ "shortText": "Information regarding the state of a specific field where you need to render the field extension"
7968
8004
  },
7969
8005
  "sources": [
7970
8006
  {
7971
8007
  "fileName": "types.ts",
7972
- "line": 991,
8008
+ "line": 947,
7973
8009
  "character": 12
7974
8010
  }
7975
8011
  ],
@@ -7994,7 +8030,7 @@
7994
8030
  "sources": [
7995
8031
  {
7996
8032
  "fileName": "types.ts",
7997
- "line": 1000,
8033
+ "line": 956,
7998
8034
  "character": 2
7999
8035
  }
8000
8036
  ],
@@ -8015,7 +8051,7 @@
8015
8051
  "sources": [
8016
8052
  {
8017
8053
  "fileName": "types.ts",
8018
- "line": 1004,
8054
+ "line": 960,
8019
8055
  "character": 2
8020
8056
  }
8021
8057
  ],
@@ -8037,7 +8073,7 @@
8037
8073
  "sources": [
8038
8074
  {
8039
8075
  "fileName": "types.ts",
8040
- "line": 994,
8076
+ "line": 950,
8041
8077
  "character": 2
8042
8078
  }
8043
8079
  ],
@@ -8058,7 +8094,7 @@
8058
8094
  "sources": [
8059
8095
  {
8060
8096
  "fileName": "types.ts",
8061
- "line": 1002,
8097
+ "line": 958,
8062
8098
  "character": 2
8063
8099
  }
8064
8100
  ],
@@ -8076,7 +8112,7 @@
8076
8112
  "sources": [
8077
8113
  {
8078
8114
  "fileName": "types.ts",
8079
- "line": 992,
8115
+ "line": 948,
8080
8116
  "character": 2
8081
8117
  }
8082
8118
  ],
@@ -8097,7 +8133,7 @@
8097
8133
  "sources": [
8098
8134
  {
8099
8135
  "fileName": "types.ts",
8100
- "line": 996,
8136
+ "line": 952,
8101
8137
  "character": 2
8102
8138
  }
8103
8139
  ],
@@ -8123,12 +8159,12 @@
8123
8159
  "kindString": "Property",
8124
8160
  "flags": {},
8125
8161
  "comment": {
8126
- "shortText": "If the field extension is installed in a field of a block, returns the top\nlevel Modular Content/Structured Text field containing the block itself"
8162
+ "shortText": "If the field extension is installed in a field of a block, returns the top level\nModular Content/Structured Text field containing the block itself"
8127
8163
  },
8128
8164
  "sources": [
8129
8165
  {
8130
8166
  "fileName": "types.ts",
8131
- "line": 1009,
8167
+ "line": 965,
8132
8168
  "character": 2
8133
8169
  }
8134
8170
  ],
@@ -8159,7 +8195,7 @@
8159
8195
  "sources": [
8160
8196
  {
8161
8197
  "fileName": "types.ts",
8162
- "line": 998,
8198
+ "line": 954,
8163
8199
  "character": 2
8164
8200
  }
8165
8201
  ],
@@ -8188,7 +8224,7 @@
8188
8224
  "sources": [
8189
8225
  {
8190
8226
  "fileName": "types.ts",
8191
- "line": 991,
8227
+ "line": 947,
8192
8228
  "character": 55
8193
8229
  }
8194
8230
  ]
@@ -8204,7 +8240,7 @@
8204
8240
  "sources": [
8205
8241
  {
8206
8242
  "fileName": "connect.ts",
8207
- "line": 62,
8243
+ "line": 61,
8208
8244
  "character": 12
8209
8245
  }
8210
8246
  ],
@@ -8233,7 +8269,7 @@
8233
8269
  "sources": [
8234
8270
  {
8235
8271
  "fileName": "types.ts",
8236
- "line": 1019,
8272
+ "line": 975,
8237
8273
  "character": 12
8238
8274
  }
8239
8275
  ],
@@ -8262,7 +8298,7 @@
8262
8298
  "sources": [
8263
8299
  {
8264
8300
  "fileName": "types.ts",
8265
- "line": 1012,
8301
+ "line": 968,
8266
8302
  "character": 12
8267
8303
  }
8268
8304
  ],
@@ -8291,7 +8327,7 @@
8291
8327
  "sources": [
8292
8328
  {
8293
8329
  "fileName": "types.ts",
8294
- "line": 1022,
8330
+ "line": 978,
8295
8331
  "character": 12
8296
8332
  }
8297
8333
  ],
@@ -8320,7 +8356,7 @@
8320
8356
  "sources": [
8321
8357
  {
8322
8358
  "fileName": "connect.ts",
8323
- "line": 60,
8359
+ "line": 59,
8324
8360
  "character": 12
8325
8361
  }
8326
8362
  ],
@@ -8347,12 +8383,12 @@
8347
8383
  "kindString": "Type alias",
8348
8384
  "flags": {},
8349
8385
  "comment": {
8350
- "shortText": "These methods can be used to update the configuration object of a specific\nfield extension"
8386
+ "shortText": "These methods can be used to update the configuration object of a specific field extension"
8351
8387
  },
8352
8388
  "sources": [
8353
8389
  {
8354
8390
  "fileName": "types.ts",
8355
- "line": 1108,
8391
+ "line": 1057,
8356
8392
  "character": 12
8357
8393
  }
8358
8394
  ],
@@ -8374,7 +8410,7 @@
8374
8410
  "sources": [
8375
8411
  {
8376
8412
  "fileName": "types.ts",
8377
- "line": 1109,
8413
+ "line": 1058,
8378
8414
  "character": 2
8379
8415
  }
8380
8416
  ],
@@ -8408,7 +8444,7 @@
8408
8444
  "sources": [
8409
8445
  {
8410
8446
  "fileName": "types.ts",
8411
- "line": 1116,
8447
+ "line": 1065,
8412
8448
  "character": 2
8413
8449
  }
8414
8450
  ],
@@ -8424,7 +8460,7 @@
8424
8460
  "tags": [
8425
8461
  {
8426
8462
  "tag": "example",
8427
- "text": "\n ctx.setParameters({ color: '#ff0000' });\n"
8463
+ "text": "\n await ctx.setParameters({ color: '#ff0000' });\n"
8428
8464
  }
8429
8465
  ]
8430
8466
  },
@@ -8478,7 +8514,7 @@
8478
8514
  "sources": [
8479
8515
  {
8480
8516
  "fileName": "types.ts",
8481
- "line": 1108,
8517
+ "line": 1057,
8482
8518
  "character": 70
8483
8519
  }
8484
8520
  ]
@@ -8492,12 +8528,12 @@
8492
8528
  "kindString": "Type alias",
8493
8529
  "flags": {},
8494
8530
  "comment": {
8495
- "shortText": "Information regarding the specific form that you need to render to let the\nend-user edit the configuration object of a field extension"
8531
+ "shortText": "Information regarding the specific form that you need to render to let the end-user\nedit the configuration object of a field extension"
8496
8532
  },
8497
8533
  "sources": [
8498
8534
  {
8499
8535
  "fileName": "types.ts",
8500
- "line": 1085,
8536
+ "line": 1037,
8501
8537
  "character": 12
8502
8538
  }
8503
8539
  ],
@@ -8517,12 +8553,12 @@
8517
8553
  "kindString": "Property",
8518
8554
  "flags": {},
8519
8555
  "comment": {
8520
- "shortText": "The current validation errors for the parameters (you can set them\nimplementing the `validateManualFieldExtensionParameters` function)"
8556
+ "shortText": "The current validation errors for the parameters (you can set them implementing the\n`validateManualFieldExtensionParameters` function)"
8521
8557
  },
8522
8558
  "sources": [
8523
8559
  {
8524
8560
  "fileName": "types.ts",
8525
- "line": 1098,
8561
+ "line": 1050,
8526
8562
  "character": 2
8527
8563
  }
8528
8564
  ],
@@ -8553,7 +8589,7 @@
8553
8589
  "sources": [
8554
8590
  {
8555
8591
  "fileName": "types.ts",
8556
- "line": 1088,
8592
+ "line": 1040,
8557
8593
  "character": 2
8558
8594
  }
8559
8595
  ],
@@ -8571,7 +8607,7 @@
8571
8607
  "sources": [
8572
8608
  {
8573
8609
  "fileName": "types.ts",
8574
- "line": 1086,
8610
+ "line": 1038,
8575
8611
  "character": 2
8576
8612
  }
8577
8613
  ],
@@ -8592,7 +8628,7 @@
8592
8628
  "sources": [
8593
8629
  {
8594
8630
  "fileName": "types.ts",
8595
- "line": 1093,
8631
+ "line": 1045,
8596
8632
  "character": 2
8597
8633
  }
8598
8634
  ],
@@ -8627,7 +8663,7 @@
8627
8663
  "sources": [
8628
8664
  {
8629
8665
  "fileName": "types.ts",
8630
- "line": 1085,
8666
+ "line": 1037,
8631
8667
  "character": 73
8632
8668
  }
8633
8669
  ]
@@ -8643,7 +8679,7 @@
8643
8679
  "sources": [
8644
8680
  {
8645
8681
  "fileName": "connect.ts",
8646
- "line": 64,
8682
+ "line": 63,
8647
8683
  "character": 12
8648
8684
  }
8649
8685
  ],
@@ -8672,7 +8708,7 @@
8672
8708
  "sources": [
8673
8709
  {
8674
8710
  "fileName": "types.ts",
8675
- "line": 1119,
8711
+ "line": 1068,
8676
8712
  "character": 12
8677
8713
  }
8678
8714
  ],
@@ -8706,7 +8742,7 @@
8706
8742
  "sources": [
8707
8743
  {
8708
8744
  "fileName": "types.ts",
8709
- "line": 1101,
8745
+ "line": 1053,
8710
8746
  "character": 12
8711
8747
  }
8712
8748
  ],
@@ -8735,7 +8771,7 @@
8735
8771
  "sources": [
8736
8772
  {
8737
8773
  "fileName": "types.ts",
8738
- "line": 1123,
8774
+ "line": 1072,
8739
8775
  "character": 12
8740
8776
  }
8741
8777
  ],
@@ -8764,7 +8800,7 @@
8764
8800
  "sources": [
8765
8801
  {
8766
8802
  "fileName": "types.ts",
8767
- "line": 868,
8803
+ "line": 830,
8768
8804
  "character": 12
8769
8805
  }
8770
8806
  ],
@@ -8811,7 +8847,7 @@
8811
8847
  "sources": [
8812
8848
  {
8813
8849
  "fileName": "types.ts",
8814
- "line": 1038,
8850
+ "line": 993,
8815
8851
  "character": 12
8816
8852
  }
8817
8853
  ],
@@ -8833,7 +8869,7 @@
8833
8869
  "sources": [
8834
8870
  {
8835
8871
  "fileName": "types.ts",
8836
- "line": 1039,
8872
+ "line": 994,
8837
8873
  "character": 2
8838
8874
  }
8839
8875
  ],
@@ -8867,7 +8903,7 @@
8867
8903
  "sources": [
8868
8904
  {
8869
8905
  "fileName": "types.ts",
8870
- "line": 1052,
8906
+ "line": 1007,
8871
8907
  "character": 2
8872
8908
  }
8873
8909
  ],
@@ -8879,11 +8915,11 @@
8879
8915
  "kindString": "Call signature",
8880
8916
  "flags": {},
8881
8917
  "comment": {
8882
- "shortText": "A function to be called by the plugin to close the modal. The `openModal`\ncall will be resolved with the passed return value",
8918
+ "shortText": "A function to be called by the plugin to close the modal. The `openModal` call will\nbe resolved with the passed return value",
8883
8919
  "tags": [
8884
8920
  {
8885
8921
  "tag": "example",
8886
- "text": "\n const returnValue = prompt(\n 'Please specify the value to return to the caller:',\n 'success',\n );\n\n ctx.resolve(returnValue);\n"
8922
+ "text": "\n const returnValue = prompt(\n 'Please specify the value to return to the caller:',\n 'success',\n );\n\n await ctx.resolve(returnValue);\n"
8887
8923
  }
8888
8924
  ]
8889
8925
  },
@@ -8901,8 +8937,14 @@
8901
8937
  }
8902
8938
  ],
8903
8939
  "type": {
8904
- "type": "intrinsic",
8905
- "name": "void"
8940
+ "type": "reference",
8941
+ "typeArguments": [
8942
+ {
8943
+ "type": "intrinsic",
8944
+ "name": "void"
8945
+ }
8946
+ ],
8947
+ "name": "Promise"
8906
8948
  }
8907
8949
  }
8908
8950
  ]
@@ -8921,7 +8963,7 @@
8921
8963
  "sources": [
8922
8964
  {
8923
8965
  "fileName": "types.ts",
8924
- "line": 1038,
8966
+ "line": 993,
8925
8967
  "character": 43
8926
8968
  }
8927
8969
  ]
@@ -8940,7 +8982,7 @@
8940
8982
  "sources": [
8941
8983
  {
8942
8984
  "fileName": "types.ts",
8943
- "line": 1026,
8985
+ "line": 982,
8944
8986
  "character": 12
8945
8987
  }
8946
8988
  ],
@@ -8965,7 +9007,7 @@
8965
9007
  "sources": [
8966
9008
  {
8967
9009
  "fileName": "types.ts",
8968
- "line": 1029,
9010
+ "line": 985,
8969
9011
  "character": 2
8970
9012
  }
8971
9013
  ],
@@ -8983,7 +9025,7 @@
8983
9025
  "sources": [
8984
9026
  {
8985
9027
  "fileName": "types.ts",
8986
- "line": 1027,
9028
+ "line": 983,
8987
9029
  "character": 2
8988
9030
  }
8989
9031
  ],
@@ -9004,7 +9046,7 @@
9004
9046
  "sources": [
9005
9047
  {
9006
9048
  "fileName": "types.ts",
9007
- "line": 1031,
9049
+ "line": 987,
9008
9050
  "character": 2
9009
9051
  }
9010
9052
  ],
@@ -9038,7 +9080,7 @@
9038
9080
  "sources": [
9039
9081
  {
9040
9082
  "fileName": "types.ts",
9041
- "line": 1026,
9083
+ "line": 982,
9042
9084
  "character": 46
9043
9085
  }
9044
9086
  ]
@@ -9054,7 +9096,7 @@
9054
9096
  "sources": [
9055
9097
  {
9056
9098
  "fileName": "connect.ts",
9057
- "line": 59,
9099
+ "line": 58,
9058
9100
  "character": 12
9059
9101
  }
9060
9102
  ],
@@ -9083,7 +9125,7 @@
9083
9125
  "sources": [
9084
9126
  {
9085
9127
  "fileName": "types.ts",
9086
- "line": 1055,
9128
+ "line": 1010,
9087
9129
  "character": 12
9088
9130
  }
9089
9131
  ],
@@ -9117,7 +9159,7 @@
9117
9159
  "sources": [
9118
9160
  {
9119
9161
  "fileName": "types.ts",
9120
- "line": 1034,
9162
+ "line": 990,
9121
9163
  "character": 12
9122
9164
  }
9123
9165
  ],
@@ -9146,7 +9188,7 @@
9146
9188
  "sources": [
9147
9189
  {
9148
9190
  "fileName": "types.ts",
9149
- "line": 1059,
9191
+ "line": 1014,
9150
9192
  "character": 12
9151
9193
  }
9152
9194
  ],
@@ -9175,7 +9217,7 @@
9175
9217
  "sources": [
9176
9218
  {
9177
9219
  "fileName": "types.ts",
9178
- "line": 1072,
9220
+ "line": 1025,
9179
9221
  "character": 12
9180
9222
  }
9181
9223
  ],
@@ -9197,7 +9239,7 @@
9197
9239
  "sources": [
9198
9240
  {
9199
9241
  "fileName": "types.ts",
9200
- "line": 1073,
9242
+ "line": 1026,
9201
9243
  "character": 2
9202
9244
  }
9203
9245
  ],
@@ -9235,7 +9277,7 @@
9235
9277
  "sources": [
9236
9278
  {
9237
9279
  "fileName": "types.ts",
9238
- "line": 1072,
9280
+ "line": 1025,
9239
9281
  "character": 42
9240
9282
  }
9241
9283
  ]
@@ -9254,7 +9296,7 @@
9254
9296
  "sources": [
9255
9297
  {
9256
9298
  "fileName": "types.ts",
9257
- "line": 1063,
9299
+ "line": 1017,
9258
9300
  "character": 12
9259
9301
  }
9260
9302
  ],
@@ -9276,7 +9318,7 @@
9276
9318
  "sources": [
9277
9319
  {
9278
9320
  "fileName": "types.ts",
9279
- "line": 1064,
9321
+ "line": 1018,
9280
9322
  "character": 2
9281
9323
  }
9282
9324
  ],
@@ -9297,7 +9339,7 @@
9297
9339
  "sources": [
9298
9340
  {
9299
9341
  "fileName": "types.ts",
9300
- "line": 1066,
9342
+ "line": 1020,
9301
9343
  "character": 2
9302
9344
  }
9303
9345
  ],
@@ -9320,7 +9362,7 @@
9320
9362
  "sources": [
9321
9363
  {
9322
9364
  "fileName": "types.ts",
9323
- "line": 1063,
9365
+ "line": 1017,
9324
9366
  "character": 45
9325
9367
  }
9326
9368
  ]
@@ -9336,7 +9378,7 @@
9336
9378
  "sources": [
9337
9379
  {
9338
9380
  "fileName": "connect.ts",
9339
- "line": 58,
9381
+ "line": 57,
9340
9382
  "character": 12
9341
9383
  }
9342
9384
  ],
@@ -9355,7 +9397,7 @@
9355
9397
  "sources": [
9356
9398
  {
9357
9399
  "fileName": "types.ts",
9358
- "line": 1076,
9400
+ "line": 1029,
9359
9401
  "character": 12
9360
9402
  }
9361
9403
  ],
@@ -9384,7 +9426,7 @@
9384
9426
  "sources": [
9385
9427
  {
9386
9428
  "fileName": "types.ts",
9387
- "line": 1069,
9429
+ "line": 1023,
9388
9430
  "character": 12
9389
9431
  }
9390
9432
  ],
@@ -9413,7 +9455,7 @@
9413
9455
  "sources": [
9414
9456
  {
9415
9457
  "fileName": "types.ts",
9416
- "line": 1078,
9458
+ "line": 1031,
9417
9459
  "character": 12
9418
9460
  }
9419
9461
  ],
@@ -9442,7 +9484,7 @@
9442
9484
  "sources": [
9443
9485
  {
9444
9486
  "fileName": "types.ts",
9445
- "line": 473,
9487
+ "line": 436,
9446
9488
  "character": 12
9447
9489
  }
9448
9490
  ],
@@ -9471,7 +9513,7 @@
9471
9513
  "sources": [
9472
9514
  {
9473
9515
  "fileName": "types.ts",
9474
- "line": 984,
9516
+ "line": 943,
9475
9517
  "character": 12
9476
9518
  }
9477
9519
  ],
@@ -9500,7 +9542,7 @@
9500
9542
  "sources": [
9501
9543
  {
9502
9544
  "fileName": "types.ts",
9503
- "line": 977,
9545
+ "line": 936,
9504
9546
  "character": 12
9505
9547
  }
9506
9548
  ],
@@ -9522,7 +9564,7 @@
9522
9564
  "sources": [
9523
9565
  {
9524
9566
  "fileName": "types.ts",
9525
- "line": 978,
9567
+ "line": 937,
9526
9568
  "character": 2
9527
9569
  }
9528
9570
  ],
@@ -9560,7 +9602,7 @@
9560
9602
  "sources": [
9561
9603
  {
9562
9604
  "fileName": "types.ts",
9563
- "line": 977,
9605
+ "line": 936,
9564
9606
  "character": 50
9565
9607
  }
9566
9608
  ]
@@ -9579,7 +9621,7 @@
9579
9621
  "sources": [
9580
9622
  {
9581
9623
  "fileName": "types.ts",
9582
- "line": 963,
9624
+ "line": 925,
9583
9625
  "character": 12
9584
9626
  }
9585
9627
  ],
@@ -9601,7 +9643,7 @@
9601
9643
  "sources": [
9602
9644
  {
9603
9645
  "fileName": "types.ts",
9604
- "line": 964,
9646
+ "line": 926,
9605
9647
  "character": 2
9606
9648
  }
9607
9649
  ],
@@ -9617,12 +9659,12 @@
9617
9659
  "kindString": "Property",
9618
9660
  "flags": {},
9619
9661
  "comment": {
9620
- "shortText": "The arbitrary `parameters` of the panel declared in the\n`itemFormSidebarPanels` function"
9662
+ "shortText": "The arbitrary `parameters` of the panel declared in the `itemFormSidebarPanels` function"
9621
9663
  },
9622
9664
  "sources": [
9623
9665
  {
9624
9666
  "fileName": "types.ts",
9625
- "line": 971,
9667
+ "line": 930,
9626
9668
  "character": 2
9627
9669
  }
9628
9670
  ],
@@ -9653,7 +9695,7 @@
9653
9695
  "sources": [
9654
9696
  {
9655
9697
  "fileName": "types.ts",
9656
- "line": 966,
9698
+ "line": 928,
9657
9699
  "character": 2
9658
9700
  }
9659
9701
  ],
@@ -9677,7 +9719,7 @@
9677
9719
  "sources": [
9678
9720
  {
9679
9721
  "fileName": "types.ts",
9680
- "line": 963,
9722
+ "line": 925,
9681
9723
  "character": 53
9682
9724
  }
9683
9725
  ]
@@ -9693,7 +9735,7 @@
9693
9735
  "sources": [
9694
9736
  {
9695
9737
  "fileName": "types.ts",
9696
- "line": 981,
9738
+ "line": 940,
9697
9739
  "character": 12
9698
9740
  }
9699
9741
  ],
@@ -9722,7 +9764,7 @@
9722
9764
  "sources": [
9723
9765
  {
9724
9766
  "fileName": "types.ts",
9725
- "line": 974,
9767
+ "line": 933,
9726
9768
  "character": 12
9727
9769
  }
9728
9770
  ],
@@ -9754,7 +9796,7 @@
9754
9796
  "sources": [
9755
9797
  {
9756
9798
  "fileName": "types.ts",
9757
- "line": 61,
9799
+ "line": 57,
9758
9800
  "character": 12
9759
9801
  }
9760
9802
  ],
@@ -9779,7 +9821,7 @@
9779
9821
  "sources": [
9780
9822
  {
9781
9823
  "fileName": "types.ts",
9782
- "line": 65,
9824
+ "line": 61,
9783
9825
  "character": 2
9784
9826
  }
9785
9827
  ],
@@ -9800,7 +9842,7 @@
9800
9842
  "sources": [
9801
9843
  {
9802
9844
  "fileName": "types.ts",
9803
- "line": 63,
9845
+ "line": 59,
9804
9846
  "character": 2
9805
9847
  }
9806
9848
  ],
@@ -9821,7 +9863,7 @@
9821
9863
  "sources": [
9822
9864
  {
9823
9865
  "fileName": "types.ts",
9824
- "line": 67,
9866
+ "line": 63,
9825
9867
  "character": 2
9826
9868
  }
9827
9869
  ],
@@ -9843,7 +9885,7 @@
9843
9885
  "sources": [
9844
9886
  {
9845
9887
  "fileName": "types.ts",
9846
- "line": 68,
9888
+ "line": 64,
9847
9889
  "character": 4
9848
9890
  }
9849
9891
  ],
@@ -9865,7 +9907,7 @@
9865
9907
  "sources": [
9866
9908
  {
9867
9909
  "fileName": "types.ts",
9868
- "line": 67,
9910
+ "line": 63,
9869
9911
  "character": 12
9870
9912
  }
9871
9913
  ]
@@ -9887,7 +9929,7 @@
9887
9929
  "sources": [
9888
9930
  {
9889
9931
  "fileName": "types.ts",
9890
- "line": 61,
9932
+ "line": 57,
9891
9933
  "character": 38
9892
9934
  }
9893
9935
  ]
@@ -9901,12 +9943,12 @@
9901
9943
  "kindString": "Type alias",
9902
9944
  "flags": {},
9903
9945
  "comment": {
9904
- "shortText": "The sidebar in the Settings Area presents a number of pages grouped by topic.\nThis object represents a new group to be added in the sideebar to the\nstandard ones DatoCMS provides."
9946
+ "shortText": "The sidebar in the Settings Area presents a number of pages grouped by topic. This\nobject represents a new group to be added in the sideebar to the standard ones DatoCMS provides."
9905
9947
  },
9906
9948
  "sources": [
9907
9949
  {
9908
9950
  "fileName": "types.ts",
9909
- "line": 77,
9951
+ "line": 72,
9910
9952
  "character": 12
9911
9953
  }
9912
9954
  ],
@@ -9931,7 +9973,7 @@
9931
9973
  "sources": [
9932
9974
  {
9933
9975
  "fileName": "types.ts",
9934
- "line": 81,
9976
+ "line": 76,
9935
9977
  "character": 2
9936
9978
  }
9937
9979
  ],
@@ -9956,7 +9998,7 @@
9956
9998
  "sources": [
9957
9999
  {
9958
10000
  "fileName": "types.ts",
9959
- "line": 79,
10001
+ "line": 74,
9960
10002
  "character": 2
9961
10003
  }
9962
10004
  ],
@@ -9974,12 +10016,12 @@
9974
10016
  "isOptional": true
9975
10017
  },
9976
10018
  "comment": {
9977
- "shortText": "Expresses where you want the group to be placed inside the sidebar. If not\nspecified, the item will be placed after the standard items provided by\nDatoCMS itself."
10019
+ "shortText": "Expresses where you want the group to be placed inside the sidebar. If not specified,\nthe item will be placed after the standard items provided by DatoCMS itself."
9978
10020
  },
9979
10021
  "sources": [
9980
10022
  {
9981
10023
  "fileName": "types.ts",
9982
- "line": 87,
10024
+ "line": 81,
9983
10025
  "character": 2
9984
10026
  }
9985
10027
  ],
@@ -10048,12 +10090,12 @@
10048
10090
  "isOptional": true
10049
10091
  },
10050
10092
  "comment": {
10051
- "shortText": "If different plugins specify the same `placement` for their sections, they\nwill be displayed by ascending `rank`. If you want to specify an explicit\nvalue for `rank`, make sure to offer a way for final users to customize it\ninside the plugin's settings form, otherwise the hardcoded value you choose\nmight clash with the one of another plugin! *"
10093
+ "shortText": "If different plugins specify the same `placement` for their sections, they will be\ndisplayed by ascending `rank`. If you want to specify an explicit value for `rank`,\nmake sure to offer a way for final users to customize it inside the plugin's settings\nform, otherwise the hardcoded value you choose might clash with the one of another plugin! *"
10052
10094
  },
10053
10095
  "sources": [
10054
10096
  {
10055
10097
  "fileName": "types.ts",
10056
- "line": 107,
10098
+ "line": 100,
10057
10099
  "character": 2
10058
10100
  }
10059
10101
  ],
@@ -10078,7 +10120,7 @@
10078
10120
  "sources": [
10079
10121
  {
10080
10122
  "fileName": "types.ts",
10081
- "line": 77,
10123
+ "line": 72,
10082
10124
  "character": 43
10083
10125
  }
10084
10126
  ]
@@ -10176,7 +10218,7 @@
10176
10218
  "sources": [
10177
10219
  {
10178
10220
  "fileName": "connect.ts",
10179
- "line": 48,
10221
+ "line": 47,
10180
10222
  "character": 2
10181
10223
  }
10182
10224
  ],
@@ -10188,7 +10230,7 @@
10188
10230
  "kindString": "Call signature",
10189
10231
  "flags": {},
10190
10232
  "comment": {
10191
- "shortText": "Triggers a change in the size of the iframe. If you don't explicitely pass\na `newHeight` it will be automatically calculated using the iframe content\nat the moment"
10233
+ "shortText": "Triggers a change in the size of the iframe. If you don't explicitely pass a\n`newHeight` it will be automatically calculated using the iframe content at the moment"
10192
10234
  },
10193
10235
  "parameters": [
10194
10236
  {
@@ -10246,7 +10288,7 @@
10246
10288
  "sources": [
10247
10289
  {
10248
10290
  "fileName": "types.ts",
10249
- "line": 297,
10291
+ "line": 270,
10250
10292
  "character": 12
10251
10293
  }
10252
10294
  ],
@@ -10268,7 +10310,7 @@
10268
10310
  "sources": [
10269
10311
  {
10270
10312
  "fileName": "types.ts",
10271
- "line": 299,
10313
+ "line": 272,
10272
10314
  "character": 2
10273
10315
  }
10274
10316
  ],
@@ -10286,7 +10328,7 @@
10286
10328
  "sources": [
10287
10329
  {
10288
10330
  "fileName": "types.ts",
10289
- "line": 302,
10331
+ "line": 275,
10290
10332
  "character": 2
10291
10333
  }
10292
10334
  ],
@@ -10304,7 +10346,7 @@
10304
10346
  "sources": [
10305
10347
  {
10306
10348
  "fileName": "types.ts",
10307
- "line": 301,
10349
+ "line": 274,
10308
10350
  "character": 2
10309
10351
  }
10310
10352
  ],
@@ -10322,7 +10364,7 @@
10322
10364
  "sources": [
10323
10365
  {
10324
10366
  "fileName": "types.ts",
10325
- "line": 298,
10367
+ "line": 271,
10326
10368
  "character": 2
10327
10369
  }
10328
10370
  ],
@@ -10340,7 +10382,7 @@
10340
10382
  "sources": [
10341
10383
  {
10342
10384
  "fileName": "types.ts",
10343
- "line": 300,
10385
+ "line": 273,
10344
10386
  "character": 2
10345
10387
  }
10346
10388
  ],
@@ -10366,7 +10408,7 @@
10366
10408
  "sources": [
10367
10409
  {
10368
10410
  "fileName": "types.ts",
10369
- "line": 297,
10411
+ "line": 270,
10370
10412
  "character": 20
10371
10413
  }
10372
10414
  ]
@@ -10385,7 +10427,7 @@
10385
10427
  "sources": [
10386
10428
  {
10387
10429
  "fileName": "types.ts",
10388
- "line": 350,
10430
+ "line": 323,
10389
10431
  "character": 12
10390
10432
  }
10391
10433
  ],
@@ -10425,7 +10467,7 @@
10425
10467
  "sources": [
10426
10468
  {
10427
10469
  "fileName": "types.ts",
10428
- "line": 356,
10470
+ "line": 329,
10429
10471
  "character": 2
10430
10472
  }
10431
10473
  ],
@@ -10450,7 +10492,7 @@
10450
10492
  "sources": [
10451
10493
  {
10452
10494
  "fileName": "types.ts",
10453
- "line": 358,
10495
+ "line": 331,
10454
10496
  "character": 4
10455
10497
  }
10456
10498
  ],
@@ -10466,12 +10508,12 @@
10466
10508
  "kindString": "Property",
10467
10509
  "flags": {},
10468
10510
  "comment": {
10469
- "shortText": "The value to be returned by the `customToast` promise if the button is\nclicked by the user"
10511
+ "shortText": "The value to be returned by the `customToast` promise if the button is clicked by the user"
10470
10512
  },
10471
10513
  "sources": [
10472
10514
  {
10473
10515
  "fileName": "types.ts",
10474
- "line": 363,
10516
+ "line": 333,
10475
10517
  "character": 4
10476
10518
  }
10477
10519
  ],
@@ -10495,7 +10537,7 @@
10495
10537
  "sources": [
10496
10538
  {
10497
10539
  "fileName": "types.ts",
10498
- "line": 356,
10540
+ "line": 329,
10499
10541
  "character": 8
10500
10542
  }
10501
10543
  ]
@@ -10511,12 +10553,12 @@
10511
10553
  "isOptional": true
10512
10554
  },
10513
10555
  "comment": {
10514
- "shortText": "Whether the toast is to be automatically closed after some time (`true`\nwill use the default DatoCMS time interval)"
10556
+ "shortText": "Whether the toast is to be automatically closed after some time (`true` will use the\ndefault DatoCMS time interval)"
10515
10557
  },
10516
10558
  "sources": [
10517
10559
  {
10518
10560
  "fileName": "types.ts",
10519
- "line": 371,
10561
+ "line": 341,
10520
10562
  "character": 2
10521
10563
  }
10522
10564
  ],
@@ -10548,7 +10590,7 @@
10548
10590
  "sources": [
10549
10591
  {
10550
10592
  "fileName": "types.ts",
10551
- "line": 366,
10593
+ "line": 336,
10552
10594
  "character": 2
10553
10595
  }
10554
10596
  ],
@@ -10569,7 +10611,7 @@
10569
10611
  "sources": [
10570
10612
  {
10571
10613
  "fileName": "types.ts",
10572
- "line": 352,
10614
+ "line": 325,
10573
10615
  "character": 2
10574
10616
  }
10575
10617
  ],
@@ -10590,7 +10632,7 @@
10590
10632
  "sources": [
10591
10633
  {
10592
10634
  "fileName": "types.ts",
10593
- "line": 354,
10635
+ "line": 327,
10594
10636
  "character": 2
10595
10637
  }
10596
10638
  ],
@@ -10629,7 +10671,7 @@
10629
10671
  "sources": [
10630
10672
  {
10631
10673
  "fileName": "types.ts",
10632
- "line": 350,
10674
+ "line": 323,
10633
10675
  "character": 40
10634
10676
  }
10635
10677
  ]
@@ -10648,7 +10690,7 @@
10648
10690
  "sources": [
10649
10691
  {
10650
10692
  "fileName": "types.ts",
10651
- "line": 669,
10693
+ "line": 644,
10652
10694
  "character": 12
10653
10695
  }
10654
10696
  ],
@@ -10670,7 +10712,7 @@
10670
10712
  "sources": [
10671
10713
  {
10672
10714
  "fileName": "types.ts",
10673
- "line": 681,
10715
+ "line": 653,
10674
10716
  "character": 2
10675
10717
  }
10676
10718
  ],
@@ -10686,7 +10728,7 @@
10686
10728
  "tags": [
10687
10729
  {
10688
10730
  "tag": "example",
10689
- "text": "\n const message = prompt(\n 'Please insert a message:',\n 'This is an alert message!',\n );\n\n ctx.alert(message);\n"
10731
+ "text": "\n const message = prompt('Please insert a message:', 'This is an alert message!');\n\n await ctx.alert(message);\n"
10690
10732
  }
10691
10733
  ]
10692
10734
  },
@@ -10704,8 +10746,14 @@
10704
10746
  }
10705
10747
  ],
10706
10748
  "type": {
10707
- "type": "intrinsic",
10708
- "name": "void"
10749
+ "type": "reference",
10750
+ "typeArguments": [
10751
+ {
10752
+ "type": "intrinsic",
10753
+ "name": "void"
10754
+ }
10755
+ ],
10756
+ "name": "Promise"
10709
10757
  }
10710
10758
  }
10711
10759
  ]
@@ -10719,7 +10767,7 @@
10719
10767
  "sources": [
10720
10768
  {
10721
10769
  "fileName": "types.ts",
10722
- "line": 713,
10770
+ "line": 682,
10723
10771
  "character": 2
10724
10772
  }
10725
10773
  ],
@@ -10805,7 +10853,7 @@
10805
10853
  "sources": [
10806
10854
  {
10807
10855
  "fileName": "types.ts",
10808
- "line": 693,
10856
+ "line": 662,
10809
10857
  "character": 2
10810
10858
  }
10811
10859
  ],
@@ -10821,7 +10869,7 @@
10821
10869
  "tags": [
10822
10870
  {
10823
10871
  "tag": "example",
10824
- "text": "\n const message = prompt(\n 'Please insert a message:',\n 'This is a notice message!',\n );\n\n ctx.notice(message);\n"
10872
+ "text": "\n const message = prompt('Please insert a message:', 'This is a notice message!');\n\n await ctx.notice(message);\n"
10825
10873
  }
10826
10874
  ]
10827
10875
  },
@@ -10839,8 +10887,14 @@
10839
10887
  }
10840
10888
  ],
10841
10889
  "type": {
10842
- "type": "intrinsic",
10843
- "name": "void"
10890
+ "type": "reference",
10891
+ "typeArguments": [
10892
+ {
10893
+ "type": "intrinsic",
10894
+ "name": "void"
10895
+ }
10896
+ ],
10897
+ "name": "Promise"
10844
10898
  }
10845
10899
  }
10846
10900
  ]
@@ -10860,7 +10914,7 @@
10860
10914
  "sources": [
10861
10915
  {
10862
10916
  "fileName": "types.ts",
10863
- "line": 669,
10917
+ "line": 644,
10864
10918
  "character": 27
10865
10919
  }
10866
10920
  ]
@@ -10874,12 +10928,12 @@
10874
10928
  "kindString": "Type alias",
10875
10929
  "flags": {},
10876
10930
  "comment": {
10877
- "shortText": "These methods can be used to update both plugin parameters and manual field\nextensions configuration."
10931
+ "shortText": "These methods can be used to update both plugin parameters and manual field extensions\nconfiguration."
10878
10932
  },
10879
10933
  "sources": [
10880
10934
  {
10881
10935
  "fileName": "types.ts",
10882
- "line": 510,
10936
+ "line": 473,
10883
10937
  "character": 12
10884
10938
  }
10885
10939
  ],
@@ -10901,7 +10955,7 @@
10901
10955
  "sources": [
10902
10956
  {
10903
10957
  "fileName": "types.ts",
10904
- "line": 546,
10958
+ "line": 531,
10905
10959
  "character": 2
10906
10960
  }
10907
10961
  ],
@@ -10913,12 +10967,12 @@
10913
10967
  "kindString": "Call signature",
10914
10968
  "flags": {},
10915
10969
  "comment": {
10916
- "shortText": "Performs changes in the appearance of a field. You can install/remove a\nmanual field extension, or tweak their parameters. If multiple changes are\npassed, they will be applied sequencially.",
10917
- "text": "Always check `ctx.currentRole.meta.final_permissions.can_edit_schema`\nbefore calling this, as the user might not have the permission to perform\nthe operation.\n",
10970
+ "shortText": "Performs changes in the appearance of a field. You can install/remove a manual field\nextension, or tweak their parameters. If multiple changes are passed, they will be\napplied sequencially.",
10971
+ "text": "Always check `ctx.currentRole.meta.final_permissions.can_edit_schema` before calling\nthis, as the user might not have the permission to perform the operation.\n",
10918
10972
  "tags": [
10919
10973
  {
10920
10974
  "tag": "example",
10921
- "text": "\n const fieldId = prompt('Please insert a field ID:');\n\n ctx.updateFieldAppearance(fieldId, [\n {\n operation: 'updateEditor',\n newFieldExtensionParameters: { foo: 'bar' },\n },\n {\n operation: 'updateAddon',\n index: 2,\n newFieldExtensionParameters: { bar: 'qux' },\n },\n ]);\n"
10975
+ "text": "\n const fields = await ctx.loadFieldsUsingPlugin();\n\n if (fields.length === 0) {\n ctx.alert('No field is using this plugin as a manual extension!');\n return;\n }\n\n for (const field of fields) {\n const { appearance } = field.attributes;\n const operations = [];\n\n if (appearance.editor === ctx.plugin.id) {\n operations.push({\n operation: 'updateEditor',\n newParameters: {\n ...appearance.parameters,\n foo: 'bar',\n },\n });\n }\n\n appearance.addons.forEach((addon, i) => {\n if (addon.id !== ctx.plugin.id) {\n return;\n }\n\n operations.push({\n operation: 'updateAddon',\n index: i,\n newParameters: { ...addon.parameters, foo: 'bar' },\n });\n });\n\n await ctx.updateFieldAppearance(field.id, operations);\n await ctx.notice(`Successfully edited field ${field.attributes.api_key}`);\n }\n"
10922
10976
  }
10923
10977
  ]
10924
10978
  },
@@ -10972,7 +11026,7 @@
10972
11026
  "sources": [
10973
11027
  {
10974
11028
  "fileName": "types.ts",
10975
- "line": 521,
11029
+ "line": 484,
10976
11030
  "character": 2
10977
11031
  }
10978
11032
  ],
@@ -10985,11 +11039,11 @@
10985
11039
  "flags": {},
10986
11040
  "comment": {
10987
11041
  "shortText": "Updates the plugin parameters.",
10988
- "text": "Always check `ctx.currentRole.meta.final_permissions.can_edit_schema`\nbefore calling this, as the user might not have the permission to perform\nthe operation.\n",
11042
+ "text": "Always check `ctx.currentRole.meta.final_permissions.can_edit_schema` before calling\nthis, as the user might not have the permission to perform the operation.\n",
10989
11043
  "tags": [
10990
11044
  {
10991
11045
  "tag": "example",
10992
- "text": "\n ctx.updatePluginParameters({ debugMode: true });\n"
11046
+ "text": "\n await ctx.updatePluginParameters({ debugMode: true });\n await ctx.notice('Plugin parameters successfully updated!');\n"
10993
11047
  }
10994
11048
  ]
10995
11049
  },
@@ -11043,7 +11097,7 @@
11043
11097
  "sources": [
11044
11098
  {
11045
11099
  "fileName": "types.ts",
11046
- "line": 510,
11100
+ "line": 473,
11047
11101
  "character": 38
11048
11102
  }
11049
11103
  ]
@@ -11057,12 +11111,12 @@
11057
11111
  "kindString": "Type alias",
11058
11112
  "flags": {},
11059
11113
  "comment": {
11060
- "shortText": "These methods let you open the standard DatoCMS dialogs needed to interact\nwith Media Area assets"
11114
+ "shortText": "These methods let you open the standard DatoCMS dialogs needed to interact with Media Area assets"
11061
11115
  },
11062
11116
  "sources": [
11063
11117
  {
11064
11118
  "fileName": "types.ts",
11065
- "line": 722,
11119
+ "line": 686,
11066
11120
  "character": 12
11067
11121
  }
11068
11122
  ],
@@ -11084,7 +11138,7 @@
11084
11138
  "sources": [
11085
11139
  {
11086
11140
  "fileName": "types.ts",
11087
- "line": 737,
11141
+ "line": 701,
11088
11142
  "character": 2
11089
11143
  }
11090
11144
  ],
@@ -11099,7 +11153,7 @@
11099
11153
  "sources": [
11100
11154
  {
11101
11155
  "fileName": "types.ts",
11102
- "line": 737,
11156
+ "line": 701,
11103
11157
  "character": 16
11104
11158
  }
11105
11159
  ],
@@ -11111,7 +11165,7 @@
11111
11165
  "kindString": "Call signature",
11112
11166
  "flags": {},
11113
11167
  "comment": {
11114
- "shortText": "Opens a dialog for selecting one (or multiple) existing asset(s). It\nreturns a promise resolved with the selected asset(s), or `null` if the\nuser closes the dialog without selecting any upload.",
11168
+ "shortText": "Opens a dialog for selecting one (or multiple) existing asset(s). It returns a\npromise resolved with the selected asset(s), or `null` if the user closes the dialog\nwithout selecting any upload.",
11115
11169
  "tags": [
11116
11170
  {
11117
11171
  "tag": "example",
@@ -11144,7 +11198,7 @@
11144
11198
  "sources": [
11145
11199
  {
11146
11200
  "fileName": "types.ts",
11147
- "line": 738,
11201
+ "line": 702,
11148
11202
  "character": 16
11149
11203
  }
11150
11204
  ],
@@ -11198,7 +11252,7 @@
11198
11252
  "kindString": "Call signature",
11199
11253
  "flags": {},
11200
11254
  "comment": {
11201
- "shortText": "Opens a dialog for selecting one (or multiple) existing asset(s). It\nreturns a promise resolved with the selected asset(s), or `null` if the\nuser closes the dialog without selecting any upload.",
11255
+ "shortText": "Opens a dialog for selecting one (or multiple) existing asset(s). It returns a\npromise resolved with the selected asset(s), or `null` if the user closes the dialog\nwithout selecting any upload.",
11202
11256
  "tags": [
11203
11257
  {
11204
11258
  "tag": "example",
@@ -11233,7 +11287,7 @@
11233
11287
  "sources": [
11234
11288
  {
11235
11289
  "fileName": "types.ts",
11236
- "line": 739,
11290
+ "line": 703,
11237
11291
  "character": 17
11238
11292
  }
11239
11293
  ],
@@ -11290,7 +11344,7 @@
11290
11344
  "sources": [
11291
11345
  {
11292
11346
  "fileName": "types.ts",
11293
- "line": 761,
11347
+ "line": 725,
11294
11348
  "character": 2
11295
11349
  }
11296
11350
  ],
@@ -11303,7 +11357,7 @@
11303
11357
  "flags": {},
11304
11358
  "comment": {
11305
11359
  "shortText": "Opens a dialog for editing a Media Area asset. It returns a promise resolved with:",
11306
- "text": "- The updated asset, if the user persists some changes to the asset itself\n- `null`, if the user closes the dialog without persisting any change\n- An asset structure with an additional `deleted` property set to true, if\n the user deletes the asset\n",
11360
+ "text": "- The updated asset, if the user persists some changes to the asset itself\n- `null`, if the user closes the dialog without persisting any change\n- An asset structure with an additional `deleted` property set to true, if the user\n deletes the asset\n",
11307
11361
  "tags": [
11308
11362
  {
11309
11363
  "tag": "example",
@@ -11362,8 +11416,8 @@
11362
11416
  "sources": [
11363
11417
  {
11364
11418
  "fileName": "types.ts",
11365
- "line": 763,
11366
- "character": 27
11419
+ "line": 725,
11420
+ "character": 56
11367
11421
  }
11368
11422
  ],
11369
11423
  "type": {
@@ -11402,7 +11456,7 @@
11402
11456
  "sources": [
11403
11457
  {
11404
11458
  "fileName": "types.ts",
11405
- "line": 786,
11459
+ "line": 748,
11406
11460
  "character": 2
11407
11461
  }
11408
11462
  ],
@@ -11414,7 +11468,7 @@
11414
11468
  "kindString": "Call signature",
11415
11469
  "flags": {},
11416
11470
  "comment": {
11417
- "shortText": "Opens a dialog for editing a \"single asset\" field structure. It returns a\npromise resolved with the updated structure, or `null` if the user closes\nthe dialog without persisting any change.",
11471
+ "shortText": "Opens a dialog for editing a \"single asset\" field structure. It returns a promise\nresolved with the updated structure, or `null` if the user closes the dialog without\npersisting any change.",
11418
11472
  "tags": [
11419
11473
  {
11420
11474
  "tag": "example",
@@ -11493,7 +11547,7 @@
11493
11547
  "sources": [
11494
11548
  {
11495
11549
  "fileName": "types.ts",
11496
- "line": 722,
11550
+ "line": 686,
11497
11551
  "character": 34
11498
11552
  }
11499
11553
  ]
@@ -11509,7 +11563,7 @@
11509
11563
  "sources": [
11510
11564
  {
11511
11565
  "fileName": "connect.ts",
11512
- "line": 283,
11566
+ "line": 266,
11513
11567
  "character": 22
11514
11568
  }
11515
11569
  ],