@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/dist/es/es2018/types/src/generated/adapters/getSearchFilterMetadata.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersByObjectApiName.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/types/ListInfoShareRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/SearchDataCategoryFilterDefinitionRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/{SearchFilterAttributesRepresentation.d.ts → SearchFieldFilterAttributesRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/SearchFieldFilterDefinitionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/{SearchFilterSelectAttributesRepresentation.d.ts → SearchFieldFilterSelectAttributesRepresentation.d.ts} +10 -7
- package/dist/es/es2018/types/src/generated/types/SearchFieldFilterTextAttributesRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterDefinitionRepresentation.d.ts +16 -16
- package/dist/es/es2018/types/src/generated/types/SearchFilterMetadataCollectionRepresentation.d.ts +12 -4
- package/dist/es/es2018/uiapi-records-service.js +944 -1118
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +19 -13
- package/sfdc/index.js +927 -1101
- package/src/raml/api.raml +73 -33
- package/src/raml/luvio.raml +3 -0
- package/dist/es/es2018/types/src/generated/types/SearchFilterTextAttributesRepresentation.d.ts +0 -30
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
-
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
3
|
import { ResourceRequestConfig as resources_getUiApiSearchInfoFiltersByObjectApiName_ResourceRequestConfig } from '../resources/getUiApiSearchInfoFiltersByObjectApiName';
|
|
4
|
-
import { SearchFilterMetadataCollectionRepresentation as types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation
|
|
4
|
+
import { SearchFilterMetadataCollectionRepresentation as types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation } from '../types/SearchFilterMetadataCollectionRepresentation';
|
|
5
5
|
export declare const adapterName = "getSearchFilterMetadata";
|
|
6
6
|
export declare const getSearchFilterMetadata_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
7
|
export declare const getSearchFilterMetadata_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetSearchFilterMetadataConfig {
|
|
9
9
|
objectApiName: string;
|
|
10
|
+
channel?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: GetSearchFilterMetadataConfig) => resources_getUiApiSearchInfoFiltersByObjectApiName_ResourceRequestConfig;
|
|
12
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSearchFilterMetadataConfig): string;
|
|
@@ -25,4 +26,3 @@ export type BuildSnapshotContext = {
|
|
|
25
26
|
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation, any>>;
|
|
26
27
|
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation>): $64$luvio_engine_Snapshot<types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation, any>;
|
|
27
28
|
export declare const getSearchFilterMetadataAdapterFactory: $64$luvio_engine_AdapterFactory<GetSearchFilterMetadataConfig, types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation>;
|
|
28
|
-
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_SearchFilterMetadataCollectionRepresentation_KeyParams, any>[]) => void;
|
package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersByObjectApiName.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
objectApiName: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
channel?: string;
|
|
9
|
+
};
|
|
7
10
|
}
|
|
8
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
@@ -13,4 +16,3 @@ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourcePar
|
|
|
13
16
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
17
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
18
|
export default createResourceRequest;
|
|
16
|
-
export declare function createResourceRequestFromRepresentation(representation: types_SearchFilterMetadataCollectionRepresentation_SearchFilterMetadataCollectionRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ListInfoShareRepresentation, existing: ListInfoShareRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInfoShareRepresentationNormalized;
|
|
@@ -14,10 +14,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ListInfoShareRepresentationNormalized {
|
|
17
|
-
/** The group API name for this shared item. */
|
|
18
|
-
groupApiName: string;
|
|
19
17
|
/** The label for this shared item. */
|
|
20
18
|
label: string;
|
|
19
|
+
/** The group API name for this shared item. */
|
|
20
|
+
shareApiName: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* ListInfoShareRepresentation
|
|
@@ -26,6 +26,6 @@ export interface ListInfoShareRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface ListInfoShareRepresentation {
|
|
29
|
-
groupApiName: string;
|
|
30
29
|
label: string;
|
|
30
|
+
shareApiName: string;
|
|
31
31
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SearchFilterDefinitionRepresentation as SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation } from './SearchFilterDefinitionRepresentation';
|
|
2
|
+
import { SearchFilterOptionRepresentation as SearchFilterOptionRepresentation_SearchFilterOptionRepresentation } from './SearchFilterOptionRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const VERSION = "60f445c4218b422f8ddf6f7b4dcb302a";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: SearchDataCategoryFilterDefinitionRepresentation, existing: SearchDataCategoryFilterDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchDataCategoryFilterDefinitionRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: SearchDataCategoryFilterDefinitionRepresentationNormalized, incoming: SearchDataCategoryFilterDefinitionRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchDataCategoryFilterDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Data category filter definition
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchDataCategoryFilterDefinitionRepresentationNormalized extends SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation {
|
|
19
|
+
/** Possible values */
|
|
20
|
+
categories: Array<SearchFilterOptionRepresentation_SearchFilterOptionRepresentation>;
|
|
21
|
+
/** Group name */
|
|
22
|
+
groupName: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Data category filter definition
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SearchDataCategoryFilterDefinitionRepresentation extends SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation {
|
|
31
|
+
categories: Array<SearchFilterOptionRepresentation_SearchFilterOptionRepresentation>;
|
|
32
|
+
groupName: string;
|
|
33
|
+
type: 'DataCategory';
|
|
34
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, 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';
|
|
2
2
|
export declare enum DiscriminatorValues {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Text = "Text",
|
|
4
|
+
Select = "Select"
|
|
5
5
|
}
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "7943e649ae9bbae64859968c31431447";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
|
-
export declare function normalize(input:
|
|
9
|
+
export declare function normalize(input: SearchFieldFilterAttributesRepresentation, existing: SearchFieldFilterAttributesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFieldFilterAttributesRepresentationNormalized;
|
|
10
10
|
export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
|
|
11
11
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
-
export declare function equals(existing:
|
|
12
|
+
export declare function equals(existing: SearchFieldFilterAttributesRepresentationNormalized, incoming: SearchFieldFilterAttributesRepresentationNormalized): boolean;
|
|
13
13
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
14
14
|
export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
|
|
15
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input:
|
|
15
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFieldFilterAttributesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
16
16
|
/**
|
|
17
17
|
* Attributes of the different filters.
|
|
18
18
|
*
|
|
19
19
|
* Keys:
|
|
20
20
|
* (none)
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface SearchFieldFilterAttributesRepresentationNormalized {
|
|
23
23
|
/** Target affordance for which properties will apply. */
|
|
24
24
|
affordance: string;
|
|
25
25
|
}
|
|
@@ -29,6 +29,6 @@ export interface SearchFilterAttributesRepresentationNormalized {
|
|
|
29
29
|
* Keys:
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
|
-
export interface
|
|
32
|
+
export interface SearchFieldFilterAttributesRepresentation {
|
|
33
33
|
affordance: string;
|
|
34
34
|
}
|
package/dist/es/es2018/types/src/generated/types/SearchFieldFilterDefinitionRepresentation.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SearchFilterDefinitionRepresentation as SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation } from './SearchFilterDefinitionRepresentation';
|
|
2
|
+
import { SearchFieldFilterAttributesRepresentation as SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation } from './SearchFieldFilterAttributesRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
import { SearchFieldFilterTextAttributesRepresentation as SearchFieldFilterTextAttributesRepresentation_SearchFieldFilterTextAttributesRepresentation } from './SearchFieldFilterTextAttributesRepresentation';
|
|
5
|
+
import { SearchFieldFilterSelectAttributesRepresentation as SearchFieldFilterSelectAttributesRepresentation_SearchFieldFilterSelectAttributesRepresentation } from './SearchFieldFilterSelectAttributesRepresentation';
|
|
6
|
+
export declare const VERSION = "527a4aeda553e8850b37d1c5340c7985";
|
|
7
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
|
+
export declare const RepresentationType: string;
|
|
9
|
+
export declare function normalize(input: SearchFieldFilterDefinitionRepresentation, existing: SearchFieldFilterDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFieldFilterDefinitionRepresentationNormalized;
|
|
10
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
11
|
+
export declare function equals(existing: SearchFieldFilterDefinitionRepresentationNormalized, incoming: SearchFieldFilterDefinitionRepresentationNormalized): boolean;
|
|
12
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFieldFilterDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
14
|
+
/**
|
|
15
|
+
* Field filter definition
|
|
16
|
+
*
|
|
17
|
+
* Keys:
|
|
18
|
+
* (none)
|
|
19
|
+
*/
|
|
20
|
+
export interface SearchFieldFilterDefinitionRepresentationNormalized extends SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation {
|
|
21
|
+
/** The affordance name that displays the filter */
|
|
22
|
+
affordance: string;
|
|
23
|
+
/** Api name of the object with filter field */
|
|
24
|
+
attributes: SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation;
|
|
25
|
+
/** The field's path targeted by this filter. Examples: CaseNumber, Account.ParentId */
|
|
26
|
+
targetFieldPath: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Field filter definition
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface SearchFieldFilterDefinitionRepresentation extends SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation {
|
|
35
|
+
affordance: string;
|
|
36
|
+
attributes: SearchFieldFilterTextAttributesRepresentation_SearchFieldFilterTextAttributesRepresentation | SearchFieldFilterSelectAttributesRepresentation_SearchFieldFilterSelectAttributesRepresentation;
|
|
37
|
+
targetFieldPath: string;
|
|
38
|
+
type: 'Field';
|
|
39
|
+
}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SearchFieldFilterAttributesRepresentation as SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation } from './SearchFieldFilterAttributesRepresentation';
|
|
2
2
|
import { SearchFilterOptionRepresentation as SearchFilterOptionRepresentation_SearchFilterOptionRepresentation } from './SearchFilterOptionRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "1af03aae58e04198cb5fcba0871b6534";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
|
-
export declare function normalize(input:
|
|
7
|
+
export declare function normalize(input: SearchFieldFilterSelectAttributesRepresentation, existing: SearchFieldFilterSelectAttributesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFieldFilterSelectAttributesRepresentationNormalized;
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
-
export declare function equals(existing:
|
|
9
|
+
export declare function equals(existing: SearchFieldFilterSelectAttributesRepresentationNormalized, incoming: SearchFieldFilterSelectAttributesRepresentationNormalized): boolean;
|
|
10
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input:
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFieldFilterSelectAttributesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
12
|
/**
|
|
13
13
|
* Attributes for Select affordances.
|
|
14
14
|
*
|
|
15
15
|
* Keys:
|
|
16
16
|
* (none)
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface SearchFieldFilterSelectAttributesRepresentationNormalized extends SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation {
|
|
19
19
|
/** Indicates if this select has static options. */
|
|
20
20
|
isStatic: boolean;
|
|
21
|
+
/** Indicates how many values are required. By default: 0 */
|
|
22
|
+
minNumValues: number;
|
|
21
23
|
/** Indicates if this select allows multiple values selection */
|
|
22
24
|
multiple: boolean;
|
|
23
25
|
/** Static options that will populate the select filter. */
|
|
@@ -29,8 +31,9 @@ export interface SearchFilterSelectAttributesRepresentationNormalized extends Se
|
|
|
29
31
|
* Keys:
|
|
30
32
|
* (none)
|
|
31
33
|
*/
|
|
32
|
-
export interface
|
|
34
|
+
export interface SearchFieldFilterSelectAttributesRepresentation extends SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation {
|
|
33
35
|
isStatic: boolean;
|
|
36
|
+
minNumValues: number;
|
|
34
37
|
multiple: boolean;
|
|
35
38
|
staticOptions: Array<SearchFilterOptionRepresentation_SearchFilterOptionRepresentation>;
|
|
36
39
|
affordance: 'Select';
|
package/dist/es/es2018/types/src/generated/types/SearchFieldFilterTextAttributesRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SearchFieldFilterAttributesRepresentation as SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation } from './SearchFieldFilterAttributesRepresentation';
|
|
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 = "2be1487c0cb8ac23fdeab8604240681b";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchFieldFilterTextAttributesRepresentation, existing: SearchFieldFilterTextAttributesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFieldFilterTextAttributesRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SearchFieldFilterTextAttributesRepresentationNormalized, incoming: SearchFieldFilterTextAttributesRepresentationNormalized): 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: SearchFieldFilterTextAttributesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Attributes for Text affordances.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchFieldFilterTextAttributesRepresentationNormalized extends SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation {
|
|
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 SearchFieldFilterTextAttributesRepresentation extends SearchFieldFilterAttributesRepresentation_SearchFieldFilterAttributesRepresentation {
|
|
28
|
+
placeholder: string;
|
|
29
|
+
affordance: 'Text';
|
|
30
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, 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';
|
|
2
|
+
export declare enum DiscriminatorValues {
|
|
3
|
+
Field = "Field",
|
|
4
|
+
DataCategory = "DataCategory"
|
|
5
|
+
}
|
|
6
|
+
export declare const VERSION = "0e68638d2ecbc6d68a4667abbc01f186";
|
|
6
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
8
|
export declare const RepresentationType: string;
|
|
8
9
|
export declare function normalize(input: SearchFilterDefinitionRepresentation, existing: SearchFilterDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFilterDefinitionRepresentationNormalized;
|
|
10
|
+
export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
|
|
9
11
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
12
|
export declare function equals(existing: SearchFilterDefinitionRepresentationNormalized, incoming: SearchFilterDefinitionRepresentationNormalized): boolean;
|
|
11
13
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
14
|
+
export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
|
|
12
15
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFilterDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
16
|
/**
|
|
14
|
-
*
|
|
17
|
+
* Definition of the different filters.
|
|
15
18
|
*
|
|
16
19
|
* Keys:
|
|
17
20
|
* (none)
|
|
18
21
|
*/
|
|
19
22
|
export interface SearchFilterDefinitionRepresentationNormalized {
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/** Api name of the object with filter field */
|
|
23
|
-
attributes: SearchFilterAttributesRepresentation_SearchFilterAttributesRepresentation;
|
|
23
|
+
/** List of default values */
|
|
24
|
+
defaultValues: Array<string>;
|
|
24
25
|
/** An optional help message. */
|
|
25
26
|
helpMessage?: string | null;
|
|
26
27
|
/** The filter display label. */
|
|
27
28
|
label: string;
|
|
28
|
-
/**
|
|
29
|
-
|
|
29
|
+
/** Type of the definition filter */
|
|
30
|
+
type: string;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Definition of the different filters.
|
|
33
34
|
*
|
|
34
35
|
* Keys:
|
|
35
36
|
* (none)
|
|
36
37
|
*/
|
|
37
38
|
export interface SearchFilterDefinitionRepresentation {
|
|
38
|
-
|
|
39
|
-
attributes: SearchFilterSelectAttributesRepresentation_SearchFilterSelectAttributesRepresentation | SearchFilterTextAttributesRepresentation_SearchFilterTextAttributesRepresentation;
|
|
39
|
+
defaultValues: Array<string>;
|
|
40
40
|
helpMessage?: string | null;
|
|
41
41
|
label: string;
|
|
42
|
-
|
|
42
|
+
type: string;
|
|
43
43
|
}
|
package/dist/es/es2018/types/src/generated/types/SearchFilterMetadataCollectionRepresentation.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { SearchFilterDefinitionRepresentation as SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation } from './SearchFilterDefinitionRepresentation';
|
|
2
|
-
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store,
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
import { SearchFieldFilterDefinitionRepresentation as SearchFieldFilterDefinitionRepresentation_SearchFieldFilterDefinitionRepresentation } from './SearchFieldFilterDefinitionRepresentation';
|
|
4
|
+
import { SearchDataCategoryFilterDefinitionRepresentation as SearchDataCategoryFilterDefinitionRepresentation_SearchDataCategoryFilterDefinitionRepresentation } from './SearchDataCategoryFilterDefinitionRepresentation';
|
|
3
5
|
export declare const TTL = 30000;
|
|
4
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
5
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
8
|
export declare const RepresentationType: string;
|
|
7
9
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
10
|
objectApiName: string;
|
|
11
|
+
channel: string | null;
|
|
9
12
|
}
|
|
10
13
|
export type SearchFilterMetadataCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
14
|
export type PartialSearchFilterMetadataCollectionRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -14,7 +17,7 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
|
|
|
14
17
|
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SearchFilterMetadataCollectionRepresentation): string;
|
|
15
18
|
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SearchFilterMetadataCollectionRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
19
|
export declare function normalize(input: SearchFilterMetadataCollectionRepresentation, existing: SearchFilterMetadataCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFilterMetadataCollectionRepresentationNormalized;
|
|
17
|
-
export declare const select: () => $64$
|
|
20
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
18
21
|
export declare function equals(existing: SearchFilterMetadataCollectionRepresentationNormalized, incoming: SearchFilterMetadataCollectionRepresentationNormalized): boolean;
|
|
19
22
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
23
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFilterMetadataCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -23,8 +26,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
23
26
|
*
|
|
24
27
|
* Keys:
|
|
25
28
|
* objectApiName (string): objectApiName
|
|
29
|
+
* channel (string | null): channel
|
|
26
30
|
*/
|
|
27
31
|
export interface SearchFilterMetadataCollectionRepresentationNormalized {
|
|
32
|
+
/** Additional channel associated to the object. */
|
|
33
|
+
channel: string | null;
|
|
28
34
|
/** List of filter definitions. */
|
|
29
35
|
filters: Array<SearchFilterDefinitionRepresentation_SearchFilterDefinitionRepresentation>;
|
|
30
36
|
/** Api name of the object associated to the metadata. */
|
|
@@ -35,8 +41,10 @@ export interface SearchFilterMetadataCollectionRepresentationNormalized {
|
|
|
35
41
|
*
|
|
36
42
|
* Keys:
|
|
37
43
|
* objectApiName (string): objectApiName
|
|
44
|
+
* channel (string | null): channel
|
|
38
45
|
*/
|
|
39
46
|
export interface SearchFilterMetadataCollectionRepresentation {
|
|
40
|
-
|
|
47
|
+
channel: string | null;
|
|
48
|
+
filters: Array<SearchFieldFilterDefinitionRepresentation_SearchFieldFilterDefinitionRepresentation | SearchDataCategoryFilterDefinitionRepresentation_SearchDataCategoryFilterDefinitionRepresentation>;
|
|
41
49
|
objectApiName: string;
|
|
42
50
|
}
|