@fluid-topics/public-api 1.0.89 → 1.0.91
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/.npmignore +14 -0
- package/dist/cjs/index.js +20 -6
- package/dist/cjs/types/ft-common/public.js +22 -6
- package/dist/fluidtopics.min.js +1 -1
- package/dist/mjs/index.d.ts +9 -1
- package/dist/mjs/index.js +20 -6
- package/dist/mjs/types/ft-common/public.d.ts +17 -3
- package/dist/mjs/types/ft-common/public.js +17 -3
- package/dist/mjs/types/ft-server/public.d.ts +1 -0
- package/package.json +1 -1
- package/yarn.lock +4323 -0
|
@@ -56,10 +56,8 @@ export const isFtAnalyticsEventGenAIProfileCompletionDetails = (o) => {
|
|
|
56
56
|
};
|
|
57
57
|
export const isFtAnalyticsEventGenAIProfileTranslationDetails = (o) => {
|
|
58
58
|
return isObject(o)
|
|
59
|
-
&& (isString(o.languageSource))
|
|
60
|
-
&& (o.engine == null || isString(o.engine))
|
|
61
59
|
&& (isString(o.provider))
|
|
62
|
-
&& (isString(o.
|
|
60
|
+
&& (o.engine == null || isString(o.engine));
|
|
63
61
|
};
|
|
64
62
|
export const isFtAnalyticsEventLocation = (o) => {
|
|
65
63
|
return isObject(o)
|
|
@@ -604,6 +602,14 @@ export const isFtMySearch = (o) => {
|
|
|
604
602
|
&& (isString(o.title))
|
|
605
603
|
&& (isString(o.creationDate));
|
|
606
604
|
};
|
|
605
|
+
export const isFtMySearchCreation = (o) => {
|
|
606
|
+
return isObject(o)
|
|
607
|
+
&& (isFtMySearchRequest(o.searchRequest))
|
|
608
|
+
&& (isFtMyLibraryColors(o.color))
|
|
609
|
+
&& (isBoolean(o.alert))
|
|
610
|
+
&& (isString(o.description))
|
|
611
|
+
&& (isString(o.title));
|
|
612
|
+
};
|
|
607
613
|
export const isFtMySearchRequest = (o) => {
|
|
608
614
|
return isObject(o)
|
|
609
615
|
&& (o.periodFilter == null || o.periodFilter == null || isFtPeriodFilter(o.periodFilter))
|
|
@@ -618,6 +624,14 @@ export const isFtMySearchRequest = (o) => {
|
|
|
618
624
|
&& o.metadataFilters.every((v) => isFtLabeledMetadataFilter(v))))
|
|
619
625
|
&& (o.contentLocale == null || isString(o.contentLocale));
|
|
620
626
|
};
|
|
627
|
+
export const isFtMySearchUpdate = (o) => {
|
|
628
|
+
return isObject(o)
|
|
629
|
+
&& (o.searchRequest == null || isFtMySearchRequest(o.searchRequest))
|
|
630
|
+
&& (o.color == null || isFtMyLibraryColors(o.color))
|
|
631
|
+
&& (o.alert == null || isBoolean(o.alert))
|
|
632
|
+
&& (o.description == null || isString(o.description))
|
|
633
|
+
&& (o.title == null || isString(o.title));
|
|
634
|
+
};
|
|
621
635
|
export const isFtPrivacyPolicyConfiguration = (o) => {
|
|
622
636
|
return isObject(o)
|
|
623
637
|
&& (isString(o.policyDescription))
|