You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -9,7 +10,7 @@ class ProcessGraphQLConfig extends Moduleconfig {
9
10
publicfunctiongetDefaults()
10
11
{
11
12
returnarray(
12
-
'maxLimit' => 100,
13
+
'maxLimit' => 50,
13
14
'debug' => false,
14
15
'legalTemplates' => [],
15
16
'legalFields' => [],
@@ -21,6 +22,11 @@ public function getDefaults()
21
22
'name',
22
23
'httpUrl',
23
24
],
25
+
'legalPageFileFields' => [
26
+
'url',
27
+
'httpUrl',
28
+
'description',
29
+
],
24
30
'fullWidthGraphiql' => false,
25
31
);
26
32
}
@@ -35,15 +41,15 @@ public function getInputFields()
35
41
$f->label = 'Max Limit';
36
42
$f->description = 'Set the maximum value for `limit` selector field.';
37
43
$f->required = true;
38
-
$f->columnWidth = 35;
44
+
$f->columnWidth = 50;
39
45
$inputfields->add($f);
40
46
41
47
// GraphiQL full width
42
48
$f = $this->modules->get('InputfieldCheckbox');
43
49
$f->attr('name', 'fullWidthGraphiQL');
44
50
$f->label = 'Full width GraphiQL';
45
51
$f->description = 'Check this if you want GraphiQL on the backend to stretch to full width.';
46
-
$f->columnWidth = 30;
52
+
$f->columnWidth = 50;
47
53
$inputfields->add($f);
48
54
49
55
// legalTemplates
@@ -78,13 +84,24 @@ public function getInputFields()
78
84
$f->optionColumns = 4;
79
85
$f->attr('name', 'legalPageFields');
80
86
$f->label = 'Legal Page Fields';
81
-
$f->description = 'Choose which built in page fields you wish to be available via GraphQL api.';
87
+
$f->description = 'Choose which built in `Page` fields you wish to be available via GraphQL api.';
82
88
$f->notes = 'Be careful with fields like `parents` & `children` that will allow user to construct deeply nested queries that might be very expensive for your server to fulfill.';
0 commit comments