@fluid-topics/public-api 1.0.89 → 1.0.90

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.
@@ -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.languageTarget));
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))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/public-api",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "Fluid Topics Public API",
5
5
  "author": "Fluid Topics dev team <opensource@antidot.net>",
6
6
  "license": "LGPL-3.0-only",