@salesforce/lds-adapters-uiapi 1.249.0 → 1.250.0

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/src/raml/api.raml CHANGED
@@ -1515,7 +1515,7 @@ types:
1515
1515
  description: ListInfoShareRepresentation
1516
1516
  type: object
1517
1517
  properties:
1518
- groupApiName:
1518
+ shareApiName:
1519
1519
  description: The group API name for this shared item.
1520
1520
  type: string
1521
1521
  label:
@@ -4004,7 +4004,20 @@ types:
4004
4004
  type: array
4005
4005
  items:
4006
4006
  type: SearchAnswersRecordRepresentation
4007
- SearchFilterAttributesRepresentation:
4007
+ SearchDataCategoryFilterDefinitionRepresentation:
4008
+ description: Data category filter definition
4009
+ discriminatorValue: DataCategory
4010
+ type: SearchFilterDefinitionRepresentation
4011
+ properties:
4012
+ categories:
4013
+ description: Possible values
4014
+ type: array
4015
+ items:
4016
+ type: SearchFilterOptionRepresentation
4017
+ groupName:
4018
+ description: Group name
4019
+ type: string
4020
+ SearchFieldFilterAttributesRepresentation:
4008
4021
  description: Attributes of the different filters.
4009
4022
  discriminator: affordance
4010
4023
  type: object
@@ -4017,9 +4030,10 @@ types:
4017
4030
  - Range
4018
4031
  - Select
4019
4032
  - Text
4020
- SearchFilterDefinitionRepresentation:
4021
- description: Individual metadata that represents a filter.
4022
- type: object
4033
+ SearchFieldFilterDefinitionRepresentation:
4034
+ description: Field filter definition
4035
+ discriminatorValue: Field
4036
+ type: SearchFilterDefinitionRepresentation
4023
4037
  properties:
4024
4038
  affordance:
4025
4039
  description: The affordance name that displays the filter
@@ -4031,7 +4045,48 @@ types:
4031
4045
  - Text
4032
4046
  attributes:
4033
4047
  description: Api name of the object with filter field
4034
- type: SearchFilterAttributesRepresentation
4048
+ type: SearchFieldFilterAttributesRepresentation
4049
+ targetFieldPath:
4050
+ description: "The field's path targeted by this filter. Examples: CaseNumber,
4051
+ Account.ParentId"
4052
+ type: string
4053
+ SearchFieldFilterSelectAttributesRepresentation:
4054
+ description: Attributes for Select affordances.
4055
+ discriminatorValue: Select
4056
+ type: SearchFieldFilterAttributesRepresentation
4057
+ properties:
4058
+ isStatic:
4059
+ description: Indicates if this select has static options.
4060
+ type: boolean
4061
+ minNumValues:
4062
+ description: 'Indicates how many values are required. By default: 0'
4063
+ type: integer
4064
+ multiple:
4065
+ description: Indicates if this select allows multiple values selection
4066
+ type: boolean
4067
+ staticOptions:
4068
+ description: Static options that will populate the select filter.
4069
+ type: array
4070
+ items:
4071
+ type: SearchFilterOptionRepresentation
4072
+ SearchFieldFilterTextAttributesRepresentation:
4073
+ description: Attributes for Text affordances.
4074
+ discriminatorValue: Text
4075
+ type: SearchFieldFilterAttributesRepresentation
4076
+ properties:
4077
+ placeholder:
4078
+ description: Placeholder to default the text affordance.
4079
+ type: string
4080
+ SearchFilterDefinitionRepresentation:
4081
+ description: Definition of the different filters.
4082
+ discriminator: type
4083
+ type: object
4084
+ properties:
4085
+ defaultValues:
4086
+ description: List of default values
4087
+ type: array
4088
+ items:
4089
+ type: string
4035
4090
  helpMessage:
4036
4091
  description: An optional help message.
4037
4092
  type: string | nil
@@ -4039,10 +4094,12 @@ types:
4039
4094
  label:
4040
4095
  description: The filter display label.
4041
4096
  type: string
4042
- targetFieldPath:
4043
- description: "The field's path targeted by this filter. Examples: CaseNumber,
4044
- Account.ParentId"
4097
+ type:
4098
+ description: Type of the definition filter
4045
4099
  type: string
4100
+ enum:
4101
+ - DataCategory
4102
+ - Field
4046
4103
  SearchFilterInputRepresentation:
4047
4104
  description: Input parameters to pilot filtering of our results
4048
4105
  type: object
@@ -4078,6 +4135,9 @@ types:
4078
4135
  description: Search filter metadata response.
4079
4136
  type: object
4080
4137
  properties:
4138
+ channel:
4139
+ description: Additional channel associated to the object.
4140
+ type: string | nil
4081
4141
  filters:
4082
4142
  description: List of filter definitions.
4083
4143
  type: array
@@ -4114,30 +4174,6 @@ types:
4114
4174
  value:
4115
4175
  description: Value of the search filter option.
4116
4176
  type: string
4117
- SearchFilterSelectAttributesRepresentation:
4118
- description: Attributes for Select affordances.
4119
- discriminatorValue: Select
4120
- type: SearchFilterAttributesRepresentation
4121
- properties:
4122
- isStatic:
4123
- description: Indicates if this select has static options.
4124
- type: boolean
4125
- multiple:
4126
- description: Indicates if this select allows multiple values selection
4127
- type: boolean
4128
- staticOptions:
4129
- description: Static options that will populate the select filter.
4130
- type: array
4131
- items:
4132
- type: SearchFilterOptionRepresentation
4133
- SearchFilterTextAttributesRepresentation:
4134
- description: Attributes for Text affordances.
4135
- discriminatorValue: Text
4136
- type: SearchFilterAttributesRepresentation
4137
- properties:
4138
- placeholder:
4139
- description: Placeholder to default the text affordance.
4140
- type: string
4141
4177
  SearchRecordHighlightRepresentation:
4142
4178
  description: Record-level search information
4143
4179
  type: object
@@ -7399,6 +7435,10 @@ types:
7399
7435
  body:
7400
7436
  application/json:
7401
7437
  type: SearchFilterMetadataCollectionRepresentation
7438
+ queryParameters:
7439
+ channel:
7440
+ type: string
7441
+ required: false
7402
7442
  uriParameters:
7403
7443
  objectApiName:
7404
7444
  type: string
@@ -433,9 +433,11 @@ types:
433
433
  SalesforceFormFactor:
434
434
  (luvio.coerceFunction): ../primitives/FormFactor/coerce
435
435
  SearchFilterMetadataCollectionRepresentation:
436
+ (luvio.opaque): true
436
437
  (luvio.ttl): 30000
437
438
  (luvio.key):
438
439
  objectApiName: objectApiName
440
+ channel: channel
439
441
  SearchFilterOptionCollectionRepresentation:
440
442
  (luvio.opaque): true
441
443
  (luvio.ttl): 30000
@@ -1707,6 +1709,7 @@ types:
1707
1709
  name: getSearchFilterMetadata
1708
1710
  (luvio.key):
1709
1711
  objectApiName: urlParams.objectApiName
1712
+ channel: queryParams.channel || null
1710
1713
  '/search-info/{objectApiName}/filters/{filterApiName}/options':
1711
1714
  get:
1712
1715
  (luvio.adapter):
@@ -1,30 +0,0 @@
1
- import { SearchFilterAttributesRepresentation as SearchFilterAttributesRepresentation_SearchFilterAttributesRepresentation } from './SearchFilterAttributesRepresentation';
2
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "d6e96768ef23ee3c72141c83dc91c1ab";
4
- export declare function validate(obj: any, path?: string): TypeError | null;
5
- export declare const RepresentationType: string;
6
- export declare function normalize(input: SearchFilterTextAttributesRepresentation, existing: SearchFilterTextAttributesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFilterTextAttributesRepresentationNormalized;
7
- export declare const select: () => $64$luvio_engine_FragmentSelection;
8
- export declare function equals(existing: SearchFilterTextAttributesRepresentationNormalized, incoming: SearchFilterTextAttributesRepresentationNormalized): boolean;
9
- export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFilterTextAttributesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
- /**
12
- * Attributes for Text affordances.
13
- *
14
- * Keys:
15
- * (none)
16
- */
17
- export interface SearchFilterTextAttributesRepresentationNormalized extends SearchFilterAttributesRepresentation_SearchFilterAttributesRepresentation {
18
- /** Placeholder to default the text affordance. */
19
- placeholder: string;
20
- }
21
- /**
22
- * Attributes for Text affordances.
23
- *
24
- * Keys:
25
- * (none)
26
- */
27
- export interface SearchFilterTextAttributesRepresentation extends SearchFilterAttributesRepresentation_SearchFilterAttributesRepresentation {
28
- placeholder: string;
29
- affordance: 'Text';
30
- }