@aloma.io/integration-sdk 3.3.47 → 3.3.49
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.
@@ -8,9 +8,11 @@ export class Dispatcher {
|
|
8
8
|
_oauth: any;
|
9
9
|
types(what: any): this;
|
10
10
|
_types: any;
|
11
|
-
config({ fields, oauth }: {
|
11
|
+
config({ fields, oauth, description, summary }: {
|
12
12
|
fields: any;
|
13
13
|
oauth: any;
|
14
|
+
description: any;
|
15
|
+
summary: any;
|
14
16
|
}): this;
|
15
17
|
resolvers(what: any): this;
|
16
18
|
_resolvers: any;
|
@@ -32,6 +32,7 @@ class Dispatcher {
|
|
32
32
|
name: "OAuth Result",
|
33
33
|
placeholder: "will be set by finishing the oauth flow",
|
34
34
|
type: "managed",
|
35
|
+
optional: !!arg.connectionOptional,
|
35
36
|
},
|
36
37
|
},
|
37
38
|
});
|
@@ -77,8 +78,10 @@ ${arg.configurableClientScope}
|
|
77
78
|
this._types = what;
|
78
79
|
return this;
|
79
80
|
}
|
80
|
-
config({ fields, oauth }) {
|
81
|
+
config({ fields, oauth, description, summary }) {
|
81
82
|
this._config.oauth = this._config.oauth || oauth;
|
83
|
+
this._config.description = this._config.description || description;
|
84
|
+
this._config.summary = this._config.summary || summary;
|
82
85
|
this._config.fields = { ...fields, ...this._config.fields };
|
83
86
|
return this;
|
84
87
|
}
|
package/package.json
CHANGED
@@ -38,6 +38,7 @@ class Dispatcher {
|
|
38
38
|
name: "OAuth Result",
|
39
39
|
placeholder: "will be set by finishing the oauth flow",
|
40
40
|
type: "managed",
|
41
|
+
optional: !!arg.connectionOptional,
|
41
42
|
},
|
42
43
|
},
|
43
44
|
});
|
@@ -89,8 +90,10 @@ ${arg.configurableClientScope}
|
|
89
90
|
return this;
|
90
91
|
}
|
91
92
|
|
92
|
-
config({ fields, oauth }) {
|
93
|
+
config({ fields, oauth, description, summary }) {
|
93
94
|
this._config.oauth = this._config.oauth || oauth;
|
95
|
+
this._config.description = this._config.description || description;
|
96
|
+
this._config.summary = this._config.summary || summary;
|
94
97
|
this._config.fields = { ...fields, ...this._config.fields };
|
95
98
|
|
96
99
|
return this;
|