@salesforce/lds-adapters-uiapi 1.360.1 → 1.362.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.
@@ -2,12 +2,13 @@ import { Interface as StringValue_Interface } from './StringValue';
2
2
  import { Interface as IDValue_Interface } from './IDValue';
3
3
  import { Interface as DateTimeValue_Interface } from './DateTimeValue';
4
4
  import { Interface as Analytics__AnalyticsWorkspaceAssetConnection_Interface } from './Analytics__AnalyticsWorkspaceAssetConnection';
5
+ import { Interface as Analytics__DataspaceRepresentation_Interface } from './Analytics__DataspaceRepresentation';
5
6
  import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
6
7
  import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
7
8
  import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
8
9
  import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
9
10
  export declare const name = "Analytics__AnalyticsRepresentation";
10
- export declare const VERSION = "97ffe784049254d57e3831a3e3a0b79b";
11
+ export declare const VERSION = "172943d1ba3f675519d2a5365b343d67";
11
12
  export interface Interface {
12
13
  MasterLabel: StringValue_Interface | undefined;
13
14
  DeveloperName: StringValue_Interface | undefined;
@@ -20,6 +21,7 @@ export interface Interface {
20
21
  NamespacePrefix: StringValue_Interface | undefined;
21
22
  RecordOperations: StringValue_Interface[] | undefined;
22
23
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection_Interface | undefined;
24
+ Dataspaces: Analytics__DataspaceRepresentation_Interface[] | undefined;
23
25
  }
24
26
  export interface MinimumInterface {
25
27
  Id: Interface["Id"];
@@ -2,6 +2,7 @@ import { Interface as StringValue_Interface } from './StringValue';
2
2
  import { Interface as IDValue_Interface } from './IDValue';
3
3
  import { Interface as DateTimeValue_Interface } from './DateTimeValue';
4
4
  import { Interface as Analytics__AnalyticsWorkspaceAssetConnection_Interface } from './Analytics__AnalyticsWorkspaceAssetConnection';
5
+ import { Interface as Analytics__DataspaceRepresentation_Interface } from './Analytics__DataspaceRepresentation';
5
6
  import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode } from '@luvio/graphql-parser';
6
7
  import { GraphQLIngestState as type$45$util_GraphQLIngestState, NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
7
8
  import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
@@ -18,6 +19,7 @@ export interface Interface {
18
19
  ApiName: string;
19
20
  NamespacePrefix: StringValue_Interface | null;
20
21
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection_Interface | null;
22
+ Dataspaces: Analytics__DataspaceRepresentation_Interface[] | null;
21
23
  }
22
24
  export interface MinimumInterface {
23
25
  Id: Interface["Id"];
@@ -0,0 +1,39 @@
1
+ import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
3
+ import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
4
+ import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
5
+ export declare const name = "Analytics__DataspaceRepresentation";
6
+ export declare const VERSION = "4a6e1f2a6dd94abc6d42c2995046ecb6";
7
+ export interface Interface {
8
+ Id: string;
9
+ ApiName: string;
10
+ MasterLabel: string | undefined;
11
+ DeveloperName: string | undefined;
12
+ }
13
+ export interface MinimumInterface {
14
+ Id: Interface["Id"];
15
+ }
16
+ export type PartialInterface = Record<string, any> & MinimumInterface;
17
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string;
18
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): $64$luvio_engine_NormalizedKeyMetadata;
19
+ export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
20
+ data: Record<string, any>;
21
+ };
22
+ export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
23
+ __ref: string;
24
+ };
25
+ export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
26
+ export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
27
+ export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
28
+ export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
29
+ export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
30
+ export declare const getMinimumSelections: $64$luvio_graphql_GetMinimumSelectionsFunction;
31
+ export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
32
+ export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
33
+ isArray: boolean;
34
+ typename: string;
35
+ } | undefined;
36
+ export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
37
+ export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
38
+ export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
39
+ export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
@@ -3,12 +3,13 @@ import { Interface as IDValue_Interface } from './IDValue';
3
3
  import { Interface as DateTimeValue_Interface } from './DateTimeValue';
4
4
  import { Interface as Analytics__AnalyticsWorkspaceAssetConnection_Interface } from './Analytics__AnalyticsWorkspaceAssetConnection';
5
5
  import { Interface as Analytics__SemanticSubMetricDefinitionConnection_Interface } from './Analytics__SemanticSubMetricDefinitionConnection';
6
+ import { Interface as Analytics__DataspaceRepresentation_Interface } from './Analytics__DataspaceRepresentation';
6
7
  import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
7
8
  import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
8
9
  import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
9
10
  import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, GetMinimumSelectionsFunction as $64$luvio_graphql_GetMinimumSelectionsFunction } from '@luvio/graphql';
10
11
  export declare const name = "Analytics__SemanticDefinition";
11
- export declare const VERSION = "919b4ca618e6cf1e805632d194e4c1d6";
12
+ export declare const VERSION = "f00ff254090d469c43c2ddb0592ebfff";
12
13
  export interface Interface {
13
14
  MasterLabel: StringValue_Interface | undefined;
14
15
  DeveloperName: StringValue_Interface | undefined;
@@ -21,6 +22,7 @@ export interface Interface {
21
22
  NamespacePrefix: StringValue_Interface | undefined;
22
23
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection_Interface | undefined;
23
24
  SubMetrics: Analytics__SemanticSubMetricDefinitionConnection_Interface | undefined;
25
+ Dataspaces: Analytics__DataspaceRepresentation_Interface[] | undefined;
24
26
  }
25
27
  export interface MinimumInterface {
26
28
  Id: Interface["Id"];
@@ -1,6 +1,6 @@
1
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
2
  import { RecordRepresentation as RecordRepresentation_RecordRepresentation } from './RecordRepresentation';
3
- export declare const VERSION = "195d918987a35f45e1aa4dce9a11d8c5";
3
+ export declare const VERSION = "2738fe8faf98ecd076d7c4df86fd5bf0";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: FieldValueRepresentation, existing: FieldValueRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FieldValueRepresentationNormalized;
@@ -27,7 +27,7 @@ export interface FieldValueRepresentationNormalized {
27
27
  /** The displayable value for a field. For a date, this will be a value familiar to users rather than an ISO 8601 formatted date value, which is what the raw value would be. Similarly, currency values will also have a formatted display value. For data that can be localized to the context user's language using the toLabel() function, that value will also be displayed here. */
28
28
  displayValue: string | null;
29
29
  /** The value of a field in its raw data form. */
30
- value: $64$luvio_engine_StoreLink | boolean | number | string | null;
30
+ value: $64$luvio_engine_StoreLink | boolean | number | string | Array<string> | null;
31
31
  }
32
32
  /**
33
33
  * Contains both the raw and displayable field values for a field in a Record.
@@ -37,5 +37,5 @@ export interface FieldValueRepresentationNormalized {
37
37
  */
38
38
  export interface FieldValueRepresentation {
39
39
  displayValue: string | null;
40
- value: RecordRepresentation_RecordRepresentation | boolean | number | string | null;
40
+ value: RecordRepresentation_RecordRepresentation | boolean | number | string | Array<string> | null;
41
41
  }
@@ -2,7 +2,7 @@ import type { PathSelection } from '@luvio/engine';
2
2
  import type { RecordFieldTrie } from '../util/records';
3
3
  import type { RecordRepresentation } from '../generated/types/RecordRepresentation';
4
4
  import type { FieldMapRepresentation } from '../util/fields';
5
- export declare function isSpanningRecord(fieldValue: null | string | number | boolean | RecordRepresentation): fieldValue is RecordRepresentation;
5
+ export declare function isSpanningRecord(fieldValue: null | string | string[] | number | boolean | RecordRepresentation): fieldValue is RecordRepresentation;
6
6
  export declare function createRecordSelection(fieldDefinition: RecordFieldTrie): PathSelection[];
7
7
  /**
8
8
  * Convert a list of fields and optional fields into RecordRepresentation its equivalent