@salesforce/lds-adapters-uiapi 1.321.0 → 1.323.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.
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,34 @@
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 = "bab371abd4de5aea22d80f5c9843eb8a";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CopilotQuickActionParameterRepresentation, existing: CopilotQuickActionParameterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CopilotQuickActionParameterRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CopilotQuickActionParameterRepresentationNormalized, incoming: CopilotQuickActionParameterRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CopilotQuickActionParameterRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Quick Action Parameter representation for a specific action api name
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CopilotQuickActionParameterRepresentationNormalized {
17
+ /** ETag like field, readOnly, handy while caching. */
18
+ eTag: string;
19
+ /** copilot action parameter name */
20
+ parameterName: string;
21
+ /** copilot quick action parameter value */
22
+ parameterValue: string;
23
+ }
24
+ /**
25
+ * Quick Action Parameter representation for a specific action api name
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface CopilotQuickActionParameterRepresentation {
31
+ eTag: string;
32
+ parameterName: string;
33
+ parameterValue: string;
34
+ }
@@ -0,0 +1,40 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ import { SearchResultCollectionRepresentation as SearchResultCollectionRepresentation_SearchResultCollectionRepresentation } from './SearchResultCollectionRepresentation';
3
+ export declare const VERSION = "04f51bdf8ed7e213acba78987e1ce377";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: NLSResultsRepresentation, existing: NLSResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NLSResultsRepresentationNormalized;
7
+ export interface DynamicIngestParams {
8
+ results: $64$luvio_engine_ResourceIngest;
9
+ }
10
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: NLSResultsRepresentation, existing: NLSResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => NLSResultsRepresentationNormalized;
11
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
12
+ export interface DynamicSelectParams {
13
+ results?: $64$luvio_engine_LinkSelection;
14
+ }
15
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
+ export declare function equals(existing: NLSResultsRepresentationNormalized, incoming: NLSResultsRepresentationNormalized): boolean;
17
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: NLSResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
20
+ /**
21
+ * Natural Language Search Results Response
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface NLSResultsRepresentationNormalized {
27
+ /** Indicates that no results were found */
28
+ hasNoResult: boolean | null;
29
+ results: $64$luvio_engine_StoreLink;
30
+ }
31
+ /**
32
+ * Natural Language Search Results Response
33
+ *
34
+ * Keys:
35
+ * (none)
36
+ */
37
+ export interface NLSResultsRepresentation {
38
+ hasNoResult: boolean | null;
39
+ results: SearchResultCollectionRepresentation_SearchResultCollectionRepresentation;
40
+ }
@@ -1,9 +1,10 @@
1
1
  import { QuickActionColorRepresentation as QuickActionColorRepresentation_QuickActionColorRepresentation } from './QuickActionColorRepresentation';
2
2
  import { CopilotQuickActionInputRepresentation as CopilotQuickActionInputRepresentation_CopilotQuickActionInputRepresentation } from './CopilotQuickActionInputRepresentation';
3
3
  import { QuickActionIconRepresentation as QuickActionIconRepresentation_QuickActionIconRepresentation } from './QuickActionIconRepresentation';
4
+ import { CopilotQuickActionParameterRepresentation as CopilotQuickActionParameterRepresentation_CopilotQuickActionParameterRepresentation } from './CopilotQuickActionParameterRepresentation';
4
5
  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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
6
  export declare const TTL = 900000;
6
- export declare const VERSION = "fa106dcb7d887c1e9b3e958336280ac8";
7
+ export declare const VERSION = "463cd270460d626d438908f8348e6dc8";
7
8
  export declare function validate(obj: any, path?: string): TypeError | null;
8
9
  export declare const RepresentationType: string;
9
10
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -35,7 +36,7 @@ export interface QuickActionInfoRepresentationNormalized {
35
36
  colors: Array<QuickActionColorRepresentation_QuickActionColorRepresentation>;
36
37
  /** copilot quick action description */
37
38
  copilotActionDescription: string | null;
38
- /** copilot quick action user input list */
39
+ /** copilot quick action input list */
39
40
  copilotInputs: Array<CopilotQuickActionInputRepresentation_CopilotQuickActionInputRepresentation>;
40
41
  /** copilot quick action intention */
41
42
  copilotIntent: string | null;
@@ -63,6 +64,8 @@ export interface QuickActionInfoRepresentationNormalized {
63
64
  lightningWebComponentBundleName: string | null;
64
65
  /** quick action lightning web component qualified name */
65
66
  lightningWebComponentQualifiedName: string | null;
67
+ /** copilot quick action parameter list */
68
+ parameters: Array<CopilotQuickActionParameterRepresentation_CopilotQuickActionParameterRepresentation>;
66
69
  /** quick action target parent field */
67
70
  targetParentField: string | null;
68
71
  /** quick action target record type ID */
@@ -97,6 +100,7 @@ export interface QuickActionInfoRepresentation {
97
100
  lightningComponentQualifiedName: string | null;
98
101
  lightningWebComponentBundleName: string | null;
99
102
  lightningWebComponentQualifiedName: string | null;
103
+ parameters: Array<CopilotQuickActionParameterRepresentation_CopilotQuickActionParameterRepresentation>;
100
104
  targetParentField: string | null;
101
105
  targetRecordTypeId: string | null;
102
106
  targetSobjectType: string | null;
@@ -1,7 +1,7 @@
1
1
  import { RecordLayoutSectionUserStateRepresentation as RecordLayoutSectionUserStateRepresentation_RecordLayoutSectionUserStateRepresentation } from './RecordLayoutSectionUserStateRepresentation';
2
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
3
  export declare const TTL = 900000;
4
- export declare const VERSION = "4ba42e1fa0fb00cf78fce86082da41c9";
4
+ export declare const VERSION = "12123f1aca1b5a48303b1d099f9f5629";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -33,7 +33,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
33
33
  export interface RecordLayoutUserStateRepresentationNormalized {
34
34
  apiName: string;
35
35
  /** Layout ID. */
36
- id: string;
36
+ id: string | null;
37
37
  /** Layout type. */
38
38
  layoutType: string;
39
39
  /** Mode. */
@@ -55,7 +55,7 @@ export interface RecordLayoutUserStateRepresentationNormalized {
55
55
  */
56
56
  export interface RecordLayoutUserStateRepresentation {
57
57
  apiName: string;
58
- id: string;
58
+ id: string | null;
59
59
  layoutType: string;
60
60
  mode: string;
61
61
  recordTypeId: string;
@@ -1,9 +1,10 @@
1
1
  import { KeywordSearchResultsRepresentation as KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation } from './KeywordSearchResultsRepresentation';
2
+ import { NLSResultsRepresentation as NLSResultsRepresentation_NLSResultsRepresentation } from './NLSResultsRepresentation';
2
3
  import { SearchAnswersResultRepresentation as SearchAnswersResultRepresentation_SearchAnswersResultRepresentation } from './SearchAnswersResultRepresentation';
3
4
  import { SearchObjectOptionsOutputRepresentation as SearchObjectOptionsOutputRepresentation_SearchObjectOptionsOutputRepresentation } from './SearchObjectOptionsOutputRepresentation';
4
5
  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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
6
  export declare const TTL = 200;
6
- export declare const VERSION = "c3b86b51e83e00857929bc3dd6742a85";
7
+ export declare const VERSION = "94ab97aedd252f899c90d52d898e547f";
7
8
  export declare function validate(obj: any, path?: string): TypeError | null;
8
9
  export declare const RepresentationType: string;
9
10
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -33,6 +34,8 @@ export interface SearchResultsSummaryRepresentationNormalized {
33
34
  configurationName: string | null;
34
35
  /** Keyword Search Results Response */
35
36
  keywordSearchResults: $64$luvio_engine_StoreLink | null;
37
+ /** Natural Language Search Results Response */
38
+ nlsResults: $64$luvio_engine_StoreLink | null;
36
39
  /** Search Answers Response */
37
40
  qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
38
41
  /** Search query that yielded the search results */
@@ -54,6 +57,7 @@ export interface SearchResultsSummaryRepresentationNormalized {
54
57
  export interface SearchResultsSummaryRepresentation {
55
58
  configurationName: string | null;
56
59
  keywordSearchResults: KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation | null;
60
+ nlsResults: NLSResultsRepresentation_NLSResultsRepresentation | null;
57
61
  qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
58
62
  query: string;
59
63
  queryId: string;
@@ -0,0 +1,5 @@
1
+ import type { FieldNode } from '@luvio/graphql-parser';
2
+ export declare function getFieldType(field: FieldNode): {
3
+ isArray: boolean;
4
+ typename: string;
5
+ } | undefined;
@@ -47,7 +47,7 @@ export declare const BLANK_RECORD_FIELDS_TRIE: Readonly<{
47
47
  name: "";
48
48
  children: {};
49
49
  }>;
50
- export declare const convertFieldsToTrie: (fields?: string[], isOptional?: boolean) => RecordFieldTrie;
50
+ export declare const convertFieldsToTrie: (fields?: string[], isOptional?: boolean, objectName?: string) => RecordFieldTrie;
51
51
  export declare function getTrackedFields(key: string | NormalizedKeyMetadata, graphNode: ProxyGraphNode<FieldMapRepresentationNormalized, FieldMapRepresentation>, config: TrackedFieldsConfig, fieldsFromConfig?: string[]): string[];
52
52
  /**
53
53
  * Returns a new object that has a list of fields that has been filtered by