strapi-plugin-faqchatbot 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9314,7 +9314,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
9314
9314
|
var ys = arrObjKeys(obj, inspect2);
|
|
9315
9315
|
var isPlainObject2 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
9316
9316
|
var protoTag = obj instanceof Object ? "" : "null prototype";
|
|
9317
|
-
var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
|
|
9317
|
+
var stringTag2 = !isPlainObject2 && toStringTag$1 && Object(obj) === obj && toStringTag$1 in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? "Object" : "";
|
|
9318
9318
|
var constructorTag = isPlainObject2 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
|
|
9319
9319
|
var tag = constructorTag + (stringTag2 || protoTag ? "[" + $join.call($concat$1.call([], stringTag2 || [], protoTag || []), ": ") + "] " : "");
|
|
9320
9320
|
if (ys.length === 0) {
|
|
@@ -9339,25 +9339,25 @@ function canTrustToString(obj) {
|
|
|
9339
9339
|
return !toStringTag$1 || !(typeof obj === "object" && (toStringTag$1 in obj || typeof obj[toStringTag$1] !== "undefined"));
|
|
9340
9340
|
}
|
|
9341
9341
|
function isArray$4(obj) {
|
|
9342
|
-
return toStr(obj) === "[object Array]" && canTrustToString(obj);
|
|
9342
|
+
return toStr$1(obj) === "[object Array]" && canTrustToString(obj);
|
|
9343
9343
|
}
|
|
9344
9344
|
function isDate$2(obj) {
|
|
9345
|
-
return toStr(obj) === "[object Date]" && canTrustToString(obj);
|
|
9345
|
+
return toStr$1(obj) === "[object Date]" && canTrustToString(obj);
|
|
9346
9346
|
}
|
|
9347
9347
|
function isRegExp$2(obj) {
|
|
9348
|
-
return toStr(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
9348
|
+
return toStr$1(obj) === "[object RegExp]" && canTrustToString(obj);
|
|
9349
9349
|
}
|
|
9350
9350
|
function isError(obj) {
|
|
9351
|
-
return toStr(obj) === "[object Error]" && canTrustToString(obj);
|
|
9351
|
+
return toStr$1(obj) === "[object Error]" && canTrustToString(obj);
|
|
9352
9352
|
}
|
|
9353
9353
|
function isString$1(obj) {
|
|
9354
|
-
return toStr(obj) === "[object String]" && canTrustToString(obj);
|
|
9354
|
+
return toStr$1(obj) === "[object String]" && canTrustToString(obj);
|
|
9355
9355
|
}
|
|
9356
9356
|
function isNumber$1(obj) {
|
|
9357
|
-
return toStr(obj) === "[object Number]" && canTrustToString(obj);
|
|
9357
|
+
return toStr$1(obj) === "[object Number]" && canTrustToString(obj);
|
|
9358
9358
|
}
|
|
9359
9359
|
function isBoolean$1(obj) {
|
|
9360
|
-
return toStr(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
9360
|
+
return toStr$1(obj) === "[object Boolean]" && canTrustToString(obj);
|
|
9361
9361
|
}
|
|
9362
9362
|
function isSymbol(obj) {
|
|
9363
9363
|
if (hasShammedSymbols) {
|
|
@@ -9393,7 +9393,7 @@ var hasOwn$1 = Object.prototype.hasOwnProperty || function(key) {
|
|
|
9393
9393
|
function has$5(obj, key) {
|
|
9394
9394
|
return hasOwn$1.call(obj, key);
|
|
9395
9395
|
}
|
|
9396
|
-
function toStr(obj) {
|
|
9396
|
+
function toStr$1(obj) {
|
|
9397
9397
|
return objectToString.call(obj);
|
|
9398
9398
|
}
|
|
9399
9399
|
function nameOf(f2) {
|
|
@@ -9702,7 +9702,7 @@ var syntax = SyntaxError;
|
|
|
9702
9702
|
var uri = URIError;
|
|
9703
9703
|
var abs$1 = Math.abs;
|
|
9704
9704
|
var floor$1 = Math.floor;
|
|
9705
|
-
var max$
|
|
9705
|
+
var max$2 = Math.max;
|
|
9706
9706
|
var min$1 = Math.min;
|
|
9707
9707
|
var pow$1 = Math.pow;
|
|
9708
9708
|
var round$1 = Math.round;
|
|
@@ -9831,99 +9831,78 @@ function requireObject_getPrototypeOf() {
|
|
|
9831
9831
|
Object_getPrototypeOf = $Object2.getPrototypeOf || null;
|
|
9832
9832
|
return Object_getPrototypeOf;
|
|
9833
9833
|
}
|
|
9834
|
-
var
|
|
9835
|
-
var
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
var
|
|
9840
|
-
var
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
var
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
}
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
9834
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
9835
|
+
var toStr = Object.prototype.toString;
|
|
9836
|
+
var max$1 = Math.max;
|
|
9837
|
+
var funcType = "[object Function]";
|
|
9838
|
+
var concatty = function concatty2(a2, b2) {
|
|
9839
|
+
var arr = [];
|
|
9840
|
+
for (var i2 = 0; i2 < a2.length; i2 += 1) {
|
|
9841
|
+
arr[i2] = a2[i2];
|
|
9842
|
+
}
|
|
9843
|
+
for (var j2 = 0; j2 < b2.length; j2 += 1) {
|
|
9844
|
+
arr[j2 + a2.length] = b2[j2];
|
|
9845
|
+
}
|
|
9846
|
+
return arr;
|
|
9847
|
+
};
|
|
9848
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
9849
|
+
var arr = [];
|
|
9850
|
+
for (var i2 = offset, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
|
|
9851
|
+
arr[j2] = arrLike[i2];
|
|
9852
|
+
}
|
|
9853
|
+
return arr;
|
|
9854
|
+
};
|
|
9855
|
+
var joiny = function(arr, joiner) {
|
|
9856
|
+
var str = "";
|
|
9857
|
+
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
9858
|
+
str += arr[i2];
|
|
9859
|
+
if (i2 + 1 < arr.length) {
|
|
9860
|
+
str += joiner;
|
|
9857
9861
|
}
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9862
|
+
}
|
|
9863
|
+
return str;
|
|
9864
|
+
};
|
|
9865
|
+
var implementation$1 = function bind(that) {
|
|
9866
|
+
var target = this;
|
|
9867
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
9868
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
9869
|
+
}
|
|
9870
|
+
var args = slicy(arguments, 1);
|
|
9871
|
+
var bound;
|
|
9872
|
+
var binder = function() {
|
|
9873
|
+
if (this instanceof bound) {
|
|
9874
|
+
var result = target.apply(
|
|
9875
|
+
this,
|
|
9876
|
+
concatty(args, arguments)
|
|
9877
|
+
);
|
|
9878
|
+
if (Object(result) === result) {
|
|
9879
|
+
return result;
|
|
9866
9880
|
}
|
|
9881
|
+
return this;
|
|
9867
9882
|
}
|
|
9868
|
-
return
|
|
9883
|
+
return target.apply(
|
|
9884
|
+
that,
|
|
9885
|
+
concatty(args, arguments)
|
|
9886
|
+
);
|
|
9869
9887
|
};
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
var
|
|
9878
|
-
if (this instanceof bound) {
|
|
9879
|
-
var result = target.apply(
|
|
9880
|
-
this,
|
|
9881
|
-
concatty(args, arguments)
|
|
9882
|
-
);
|
|
9883
|
-
if (Object(result) === result) {
|
|
9884
|
-
return result;
|
|
9885
|
-
}
|
|
9886
|
-
return this;
|
|
9887
|
-
}
|
|
9888
|
-
return target.apply(
|
|
9889
|
-
that,
|
|
9890
|
-
concatty(args, arguments)
|
|
9891
|
-
);
|
|
9888
|
+
var boundLength = max$1(0, target.length - args.length);
|
|
9889
|
+
var boundArgs = [];
|
|
9890
|
+
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
9891
|
+
boundArgs[i2] = "$" + i2;
|
|
9892
|
+
}
|
|
9893
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
9894
|
+
if (target.prototype) {
|
|
9895
|
+
var Empty = function Empty2() {
|
|
9892
9896
|
};
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
|
|
9899
|
-
|
|
9900
|
-
|
|
9901
|
-
|
|
9902
|
-
Empty.prototype = target.prototype;
|
|
9903
|
-
bound.prototype = new Empty();
|
|
9904
|
-
Empty.prototype = null;
|
|
9905
|
-
}
|
|
9906
|
-
return bound;
|
|
9907
|
-
};
|
|
9908
|
-
return implementation;
|
|
9909
|
-
}
|
|
9910
|
-
var functionBind;
|
|
9911
|
-
var hasRequiredFunctionBind;
|
|
9912
|
-
function requireFunctionBind() {
|
|
9913
|
-
if (hasRequiredFunctionBind) return functionBind;
|
|
9914
|
-
hasRequiredFunctionBind = 1;
|
|
9915
|
-
var implementation2 = requireImplementation();
|
|
9916
|
-
functionBind = Function.prototype.bind || implementation2;
|
|
9917
|
-
return functionBind;
|
|
9918
|
-
}
|
|
9919
|
-
var functionCall;
|
|
9920
|
-
var hasRequiredFunctionCall;
|
|
9921
|
-
function requireFunctionCall() {
|
|
9922
|
-
if (hasRequiredFunctionCall) return functionCall;
|
|
9923
|
-
hasRequiredFunctionCall = 1;
|
|
9924
|
-
functionCall = Function.prototype.call;
|
|
9925
|
-
return functionCall;
|
|
9926
|
-
}
|
|
9897
|
+
Empty.prototype = target.prototype;
|
|
9898
|
+
bound.prototype = new Empty();
|
|
9899
|
+
Empty.prototype = null;
|
|
9900
|
+
}
|
|
9901
|
+
return bound;
|
|
9902
|
+
};
|
|
9903
|
+
var implementation = implementation$1;
|
|
9904
|
+
var functionBind = Function.prototype.bind || implementation;
|
|
9905
|
+
var functionCall = Function.prototype.call;
|
|
9927
9906
|
var functionApply;
|
|
9928
9907
|
var hasRequiredFunctionApply;
|
|
9929
9908
|
function requireFunctionApply() {
|
|
@@ -9933,14 +9912,14 @@ function requireFunctionApply() {
|
|
|
9933
9912
|
return functionApply;
|
|
9934
9913
|
}
|
|
9935
9914
|
var reflectApply = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
9936
|
-
var bind$3 =
|
|
9915
|
+
var bind$3 = functionBind;
|
|
9937
9916
|
var $apply$1 = requireFunctionApply();
|
|
9938
|
-
var $call$2 =
|
|
9917
|
+
var $call$2 = functionCall;
|
|
9939
9918
|
var $reflectApply = reflectApply;
|
|
9940
9919
|
var actualApply = $reflectApply || bind$3.call($call$2, $apply$1);
|
|
9941
|
-
var bind$2 =
|
|
9920
|
+
var bind$2 = functionBind;
|
|
9942
9921
|
var $TypeError$4 = type;
|
|
9943
|
-
var $call$1 =
|
|
9922
|
+
var $call$1 = functionCall;
|
|
9944
9923
|
var $actualApply = actualApply;
|
|
9945
9924
|
var callBindApplyHelpers = function callBindBasic(args) {
|
|
9946
9925
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
@@ -10006,8 +9985,8 @@ function requireHasown() {
|
|
|
10006
9985
|
hasRequiredHasown = 1;
|
|
10007
9986
|
var call = Function.prototype.call;
|
|
10008
9987
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
10009
|
-
var
|
|
10010
|
-
hasown =
|
|
9988
|
+
var bind3 = functionBind;
|
|
9989
|
+
hasown = bind3.call(call, $hasOwn);
|
|
10011
9990
|
return hasown;
|
|
10012
9991
|
}
|
|
10013
9992
|
var undefined$1;
|
|
@@ -10021,7 +10000,7 @@ var $TypeError$3 = type;
|
|
|
10021
10000
|
var $URIError = uri;
|
|
10022
10001
|
var abs = abs$1;
|
|
10023
10002
|
var floor = floor$1;
|
|
10024
|
-
var max = max$
|
|
10003
|
+
var max = max$2;
|
|
10025
10004
|
var min = min$1;
|
|
10026
10005
|
var pow = pow$1;
|
|
10027
10006
|
var round = round$1;
|
|
@@ -10055,7 +10034,7 @@ var getProto = requireGetProto();
|
|
|
10055
10034
|
var $ObjectGPO = requireObject_getPrototypeOf();
|
|
10056
10035
|
var $ReflectGPO = requireReflect_getPrototypeOf();
|
|
10057
10036
|
var $apply = requireFunctionApply();
|
|
10058
|
-
var $call =
|
|
10037
|
+
var $call = functionCall;
|
|
10059
10038
|
var needsEval = {};
|
|
10060
10039
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined$1 : getProto(Uint8Array);
|
|
10061
10040
|
var INTRINSICS = {
|
|
@@ -10226,7 +10205,7 @@ var LEGACY_ALIASES = {
|
|
|
10226
10205
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
10227
10206
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
10228
10207
|
};
|
|
10229
|
-
var bind$1 =
|
|
10208
|
+
var bind$1 = functionBind;
|
|
10230
10209
|
var hasOwn = requireHasown();
|
|
10231
10210
|
var $concat = bind$1.call($call, Array.prototype.concat);
|
|
10232
10211
|
var $spliceApply = bind$1.call($apply, Array.prototype.splice);
|
|
@@ -14557,7 +14536,7 @@ const admin = adminApi.enhanceEndpoints({
|
|
|
14557
14536
|
overrideExisting: false
|
|
14558
14537
|
});
|
|
14559
14538
|
const { useInitQuery, useTelemetryPropertiesQuery, useInformationQuery, useProjectSettingsQuery, useUpdateProjectSettingsMutation, useGetPluginsQuery, useGetLicenseLimitsQuery, useGetLicenseTrialTimeLeftQuery, useGetGuidedTourMetaQuery } = admin;
|
|
14560
|
-
function
|
|
14539
|
+
function bind2(fn2, thisArg) {
|
|
14561
14540
|
return function wrap() {
|
|
14562
14541
|
return fn2.apply(thisArg, arguments);
|
|
14563
14542
|
};
|
|
@@ -14694,7 +14673,7 @@ function merge2() {
|
|
|
14694
14673
|
const extend = (a2, b2, thisArg, { allOwnKeys } = {}) => {
|
|
14695
14674
|
forEach$1(b2, (val, key) => {
|
|
14696
14675
|
if (thisArg && isFunction$1(val)) {
|
|
14697
|
-
a2[key] =
|
|
14676
|
+
a2[key] = bind2(val, thisArg);
|
|
14698
14677
|
} else {
|
|
14699
14678
|
a2[key] = val;
|
|
14700
14679
|
}
|
|
@@ -16974,7 +16953,7 @@ Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
|
16974
16953
|
});
|
|
16975
16954
|
function createInstance(defaultConfig) {
|
|
16976
16955
|
const context = new Axios$1(defaultConfig);
|
|
16977
|
-
const instance =
|
|
16956
|
+
const instance = bind2(Axios$1.prototype.request, context);
|
|
16978
16957
|
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
16979
16958
|
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
16980
16959
|
instance.create = function create2(instanceConfig) {
|
|
@@ -25022,7 +25001,7 @@ const ChatbotPreview = () => {
|
|
|
25022
25001
|
setMessages((prev) => [...prev, { text: userText, isUser: true }]);
|
|
25023
25002
|
setChatInput("");
|
|
25024
25003
|
try {
|
|
25025
|
-
const res = await fetch("/api/faqchatbot
|
|
25004
|
+
const res = await fetch("/api/faqchatbot/ask", {
|
|
25026
25005
|
method: "POST",
|
|
25027
25006
|
headers: { "Content-Type": "application/json" },
|
|
25028
25007
|
body: JSON.stringify({ question: userText })
|
|
@@ -25023,7 +25023,7 @@ const ChatbotPreview = () => {
|
|
|
25023
25023
|
setMessages((prev) => [...prev, { text: userText, isUser: true }]);
|
|
25024
25024
|
setChatInput("");
|
|
25025
25025
|
try {
|
|
25026
|
-
const res = await fetch("/api/faqchatbot
|
|
25026
|
+
const res = await fetch("/api/faqchatbot/ask", {
|
|
25027
25027
|
method: "POST",
|
|
25028
25028
|
headers: { "Content-Type": "application/json" },
|
|
25029
25029
|
body: JSON.stringify({ question: userText })
|
package/dist/admin/index.js
CHANGED
|
@@ -37,7 +37,7 @@ const index = {
|
|
|
37
37
|
defaultMessage: PLUGIN_ID
|
|
38
38
|
},
|
|
39
39
|
Component: async () => {
|
|
40
|
-
const { App } = await Promise.resolve().then(() => require("../_chunks/App-
|
|
40
|
+
const { App } = await Promise.resolve().then(() => require("../_chunks/App-Cc6UTNkw.js"));
|
|
41
41
|
return App;
|
|
42
42
|
}
|
|
43
43
|
});
|
package/dist/admin/index.mjs
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -747,8 +747,8 @@ const ask = ({ strapi }) => ({
|
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
|
-
const
|
|
751
|
-
async
|
|
750
|
+
const cardMapping = ({ strapi }) => ({
|
|
751
|
+
async index(ctx) {
|
|
752
752
|
const pluginStore = strapi.store({
|
|
753
753
|
environment: null,
|
|
754
754
|
type: "plugin",
|
|
@@ -756,12 +756,12 @@ const suggestQuestions = ({ strapi }) => ({
|
|
|
756
756
|
});
|
|
757
757
|
const settings = await pluginStore.get({ key: "settings" });
|
|
758
758
|
ctx.body = {
|
|
759
|
-
|
|
759
|
+
cardStyles: settings?.cardStyles || {}
|
|
760
760
|
};
|
|
761
761
|
}
|
|
762
762
|
});
|
|
763
|
-
const
|
|
764
|
-
async
|
|
763
|
+
const suggestQuestionsAndLogo = ({ strapi }) => ({
|
|
764
|
+
async getSuggestionAndLogo(ctx) {
|
|
765
765
|
const pluginStore = strapi.store({
|
|
766
766
|
environment: null,
|
|
767
767
|
type: "plugin",
|
|
@@ -769,7 +769,8 @@ const cardMapping = ({ strapi }) => ({
|
|
|
769
769
|
});
|
|
770
770
|
const settings = await pluginStore.get({ key: "settings" });
|
|
771
771
|
ctx.body = {
|
|
772
|
-
|
|
772
|
+
suggestedQuestions: settings?.suggestedQuestions || [],
|
|
773
|
+
logoUrl: settings?.logoUrl || null
|
|
773
774
|
};
|
|
774
775
|
}
|
|
775
776
|
});
|
|
@@ -777,7 +778,7 @@ const controllers = {
|
|
|
777
778
|
controller,
|
|
778
779
|
config: config$1,
|
|
779
780
|
ask,
|
|
780
|
-
|
|
781
|
+
suggestQuestionsAndLogo,
|
|
781
782
|
cardMapping
|
|
782
783
|
};
|
|
783
784
|
const middlewares = {};
|
|
@@ -824,8 +825,8 @@ const contentApi = () => ({
|
|
|
824
825
|
},
|
|
825
826
|
{
|
|
826
827
|
method: "GET",
|
|
827
|
-
path: "/
|
|
828
|
-
handler: "
|
|
828
|
+
path: "/suggestion-and-logo",
|
|
829
|
+
handler: "suggestQuestionsAndLogo.getSuggestionAndLogo",
|
|
829
830
|
config: {
|
|
830
831
|
auth: false
|
|
831
832
|
}
|
package/dist/server/index.mjs
CHANGED
|
@@ -744,8 +744,8 @@ const ask = ({ strapi }) => ({
|
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
});
|
|
747
|
-
const
|
|
748
|
-
async
|
|
747
|
+
const cardMapping = ({ strapi }) => ({
|
|
748
|
+
async index(ctx) {
|
|
749
749
|
const pluginStore = strapi.store({
|
|
750
750
|
environment: null,
|
|
751
751
|
type: "plugin",
|
|
@@ -753,12 +753,12 @@ const suggestQuestions = ({ strapi }) => ({
|
|
|
753
753
|
});
|
|
754
754
|
const settings = await pluginStore.get({ key: "settings" });
|
|
755
755
|
ctx.body = {
|
|
756
|
-
|
|
756
|
+
cardStyles: settings?.cardStyles || {}
|
|
757
757
|
};
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
|
-
const
|
|
761
|
-
async
|
|
760
|
+
const suggestQuestionsAndLogo = ({ strapi }) => ({
|
|
761
|
+
async getSuggestionAndLogo(ctx) {
|
|
762
762
|
const pluginStore = strapi.store({
|
|
763
763
|
environment: null,
|
|
764
764
|
type: "plugin",
|
|
@@ -766,7 +766,8 @@ const cardMapping = ({ strapi }) => ({
|
|
|
766
766
|
});
|
|
767
767
|
const settings = await pluginStore.get({ key: "settings" });
|
|
768
768
|
ctx.body = {
|
|
769
|
-
|
|
769
|
+
suggestedQuestions: settings?.suggestedQuestions || [],
|
|
770
|
+
logoUrl: settings?.logoUrl || null
|
|
770
771
|
};
|
|
771
772
|
}
|
|
772
773
|
});
|
|
@@ -774,7 +775,7 @@ const controllers = {
|
|
|
774
775
|
controller,
|
|
775
776
|
config: config$1,
|
|
776
777
|
ask,
|
|
777
|
-
|
|
778
|
+
suggestQuestionsAndLogo,
|
|
778
779
|
cardMapping
|
|
779
780
|
};
|
|
780
781
|
const middlewares = {};
|
|
@@ -821,8 +822,8 @@ const contentApi = () => ({
|
|
|
821
822
|
},
|
|
822
823
|
{
|
|
823
824
|
method: "GET",
|
|
824
|
-
path: "/
|
|
825
|
-
handler: "
|
|
825
|
+
path: "/suggestion-and-logo",
|
|
826
|
+
handler: "suggestQuestionsAndLogo.getSuggestionAndLogo",
|
|
826
827
|
config: {
|
|
827
828
|
auth: false
|
|
828
829
|
}
|
package/package.json
CHANGED