@salesforce/lds-adapters-uiapi 1.136.2 → 1.136.4
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/__mocks__/force/luvioGraphql.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/graphql.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/category.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/deprecated.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/directive-util.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/fieldCategory.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/generic.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/include.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/skip.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/directives/specifiedBy.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/types/Base64Value.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/BooleanAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/BooleanValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/ChildRelationship.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/CurrencyAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/CurrencyValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DateAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DateFunctionAggregation.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DateOnlyAggregation.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DateTimeAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DateTimeValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DateValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DependentField.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DoubleAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/DoubleValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/EmailAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/EmailValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/EncryptedStringValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/Field.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/FieldValue.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/graphql/types/FilteredLookupInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/IDAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/IDValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/IntAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/IntValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/JSONValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LatitudeAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LatitudeValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/ListColumn.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/ListOrder.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LongAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LongTextAreaValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LongValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LongitudeAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/LongitudeValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/MultiPicklistValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/ObjectInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PageInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PercentAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PercentValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PhoneNumberAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PhoneNumberValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PicklistAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PicklistValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/PolymorphicParentRelationship.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/graphql/types/Query.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RateLimit.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/Record.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/graphql/types/RecordConnection.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RecordEdge.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RecordQuery.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RecordRepresentation.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RecordTypeInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/ReferenceToInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RelatedListInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/RichTextAreaValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/StringAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/StringValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/TextAreaAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/TextAreaValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/ThemeInfo.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/TimeAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/TimeValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/UIAPI.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/UrlAggregate.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/UrlValue.d.ts +7 -6
- package/dist/es/es2018/types/src/generated/graphql/types/type-util.d.ts +10 -11
- package/dist/es/es2018/types/src/generated/resources/postGraphql.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/GraphQLRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getFieldData.d.ts +2 -1
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/selectType.d.ts +2 -1
- package/dist/es/es2018/uiapi-records-service.js +30 -50
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +2 -43
- package/sfdc/index.js +30 -9
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +1 -1
|
@@ -2,8 +2,9 @@ import { Interface as RecordQuery_Interface } from './RecordQuery';
|
|
|
2
2
|
import { Interface as ObjectInfo_Interface } from './ObjectInfo';
|
|
3
3
|
import { Interface as RelatedListInfo_Interface } from './RelatedListInfo';
|
|
4
4
|
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';
|
|
5
|
-
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState,
|
|
5
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLFragmentMap as type$45$util_GraphQLFragmentMap, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
6
6
|
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';
|
|
7
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables } from '@luvio/graphql';
|
|
7
8
|
export declare const name = "UIAPI";
|
|
8
9
|
export declare const VERSION = "e958f3329b5c6b7fa8d54aad8db926d5";
|
|
9
10
|
export interface Interface {
|
|
@@ -21,11 +22,11 @@ export declare function mergeData(existingData: type$45$util_NormalizedGraphQL,
|
|
|
21
22
|
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
22
23
|
__ref: string;
|
|
23
24
|
};
|
|
24
|
-
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
25
|
-
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:
|
|
26
|
-
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
27
|
-
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:
|
|
28
|
-
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
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: type$45$util_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: type$45$util_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: type$45$util_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: type$45$util_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
29
30
|
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
30
31
|
export declare function getTypeCacheKeys(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
31
32
|
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
@@ -2,8 +2,9 @@ import { Interface as LongValue_Interface } from './LongValue';
|
|
|
2
2
|
import { Interface as IntValue_Interface } from './IntValue';
|
|
3
3
|
import { Interface as UrlValue_Interface } from './UrlValue';
|
|
4
4
|
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';
|
|
5
|
-
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState,
|
|
5
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLFragmentMap as type$45$util_GraphQLFragmentMap, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
6
6
|
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';
|
|
7
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables } from '@luvio/graphql';
|
|
7
8
|
export declare const name = "UrlAggregate";
|
|
8
9
|
export declare const VERSION = "a20a03966540b9046db5f606e20e3c8a";
|
|
9
10
|
export interface Interface {
|
|
@@ -25,11 +26,11 @@ export declare function mergeData(existingData: type$45$util_NormalizedGraphQL,
|
|
|
25
26
|
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
26
27
|
__ref: string;
|
|
27
28
|
};
|
|
28
|
-
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
29
|
-
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:
|
|
30
|
-
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
31
|
-
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:
|
|
32
|
-
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
29
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
30
|
+
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: type$45$util_GraphQLFragmentMap, parentRecordId: string): any;
|
|
31
|
+
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: type$45$util_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
32
|
+
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: type$45$util_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
33
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: type$45$util_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
33
34
|
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
34
35
|
export declare function getTypeCacheKeys(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
35
36
|
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
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,
|
|
2
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLFragmentMap as type$45$util_GraphQLFragmentMap, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
3
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 } from '@luvio/graphql';
|
|
4
5
|
export declare const name = "UrlValue";
|
|
5
6
|
export declare const VERSION = "c8376c7f60ac5cfe1c2c1521cd4664fa";
|
|
6
7
|
export interface Interface {
|
|
@@ -17,11 +18,11 @@ export declare function mergeData(existingData: type$45$util_NormalizedGraphQL,
|
|
|
17
18
|
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
18
19
|
__ref: string;
|
|
19
20
|
};
|
|
20
|
-
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
21
|
-
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:
|
|
22
|
-
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
23
|
-
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:
|
|
24
|
-
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
21
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
22
|
+
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: type$45$util_GraphQLFragmentMap, parentRecordId: string): any;
|
|
23
|
+
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: type$45$util_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
24
|
+
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: type$45$util_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
25
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: type$45$util_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
25
26
|
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
26
27
|
export declare function getTypeCacheKeys(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
27
28
|
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoreLink as $64$luvio_engine_StoreLink, IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, Reader as $64$luvio_engine_Reader } from '@luvio/engine';
|
|
2
|
-
import { FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FieldNode as $64$luvio_graphql$45$parser_FieldNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode,
|
|
2
|
+
import { FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FieldNode as $64$luvio_graphql$45$parser_FieldNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, DocumentNode as $64$luvio_graphql$45$parser_DocumentNode, SelectionSetNode as $64$luvio_graphql$45$parser_SelectionSetNode, ArgumentNode as $64$luvio_graphql$45$parser_ArgumentNode, VariableDefinitionNode as $64$luvio_graphql$45$parser_VariableDefinitionNode } from '@luvio/graphql-parser';
|
|
3
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables } from '@luvio/graphql';
|
|
3
4
|
import { PaginationMetadata as pagination_cursor_PaginationMetadata, PaginationParams as pagination_cursor_PaginationParams, PageMetadata as pagination_cursor_PageMetadata } from '../../pagination/cursor';
|
|
4
|
-
export type GraphQLVariables = Record<string, any>;
|
|
5
5
|
export type NormalizedGraphQL<D = undefined> = {
|
|
6
6
|
data: Record<string, any>;
|
|
7
7
|
__link?: $64$luvio_engine_StoreLink;
|
|
@@ -16,7 +16,7 @@ type IsFragmentApplicableType = (fragment: $64$luvio_graphql$45$parser_FragmentD
|
|
|
16
16
|
export interface GraphQLState<D = unknown> {
|
|
17
17
|
data: D;
|
|
18
18
|
path: $64$luvio_engine_IngestPath;
|
|
19
|
-
variables:
|
|
19
|
+
variables: $64$luvio_graphql_GraphQLVariables;
|
|
20
20
|
fragments: GraphQLFragmentMap;
|
|
21
21
|
}
|
|
22
22
|
export interface GraphQLLuvioState<D> extends GraphQLState<D> {
|
|
@@ -75,28 +75,27 @@ export declare function ingestCursorConnectionType<StateType extends GraphQLInge
|
|
|
75
75
|
export declare function ingestNonCursorConnectionType<AstNodeType extends $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, StateType extends GraphQLIngestState<Record<string, any>>>(astNode: AstNodeType, state: StateType, specifics: NonCursorBasedIngestParams<AstNodeType, StateType>): {
|
|
76
76
|
__ref: string;
|
|
77
77
|
};
|
|
78
|
-
export declare function serializeFieldArguments(argumentNodes: Readonly<$64$luvio_graphql$45$parser_ArgumentNode[]>, variables: GraphQLVariables): string;
|
|
79
78
|
export declare const TTL = 900000;
|
|
80
79
|
export declare function applyMinimumFieldsToQuery(query: $64$luvio_graphql$45$parser_DocumentNode): $64$luvio_graphql$45$parser_DocumentNode;
|
|
81
80
|
export declare function injectSelectionSet(selectionSetNode: $64$luvio_graphql$45$parser_SelectionSetNode | undefined, queryTransformHelper: QueryTransformHelper | undefined, fragmentMap: GraphQLFragmentMap): void;
|
|
82
81
|
export declare function getRequestedField(responseDataFieldName: string, requestedFields: $64$luvio_graphql$45$parser_FieldNode[]): $64$luvio_graphql$45$parser_FieldNode | undefined;
|
|
83
82
|
export declare function getPageMetadata(paginationMetadata: pagination_cursor_PaginationMetadata | undefined, paginationParams: pagination_cursor_PaginationParams): pagination_cursor_PageMetadata;
|
|
84
83
|
export declare function isCursorConnectionType(fieldType: GraphQLTypeDetails | undefined): boolean;
|
|
85
|
-
export declare function getSerializedKeyForField(field: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
84
|
+
export declare function getSerializedKeyForField(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fieldType: GraphQLTypeDetails | undefined): string;
|
|
86
85
|
export declare function getRequestedFieldsForType(typename: string, selectionSet: $64$luvio_graphql$45$parser_SelectionSetNode, namedFragmentsMap: GraphQLFragmentMap, isFragmentApplicable: IsFragmentApplicableType): $64$luvio_graphql$45$parser_FieldNode[];
|
|
87
86
|
export declare function getQueryTransformerForType(typename: string, fragmentMap: GraphQLFragmentMap): QueryTransformHelper | undefined;
|
|
88
87
|
export declare function sharedGetFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: GraphQLFragmentMap): string | undefined;
|
|
89
88
|
export declare function getSelectionSetFromFragment(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: GraphQLFragmentMap): $64$luvio_graphql$45$parser_SelectionSetNode | undefined;
|
|
90
89
|
export declare function createFragmentMap(document: $64$luvio_graphql$45$parser_DocumentNode): GraphQLFragmentMap;
|
|
91
90
|
export declare function getCursorConnectionMinimumSelections(): $64$luvio_graphql$45$parser_FieldNode[];
|
|
92
|
-
export declare function evaluateArgumentValue(argumentNode: $64$luvio_graphql$45$parser_ArgumentNode | undefined, expectedKind: 'IntValue' | 'FloatValue' | 'StringValue' | 'BooleanValue' | 'EnumValue', variables:
|
|
91
|
+
export declare function evaluateArgumentValue(argumentNode: $64$luvio_graphql$45$parser_ArgumentNode | undefined, expectedKind: 'IntValue' | 'FloatValue' | 'StringValue' | 'BooleanValue' | 'EnumValue', variables: $64$luvio_graphql_GraphQLVariables): any | undefined;
|
|
93
92
|
export declare function getArrayOffsetForPage(state: GraphQLIngestState<any>, node: $64$luvio_graphql$45$parser_FieldNode, key: string | $64$luvio_engine_NormalizedKeyMetadata): number;
|
|
94
93
|
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, implementedInterfaces: string[], graphqlTypeName: string, typename?: string): boolean;
|
|
95
|
-
export declare function buildSelectionForNode<D = undefined>(source: NormalizedGraphQL<D>, 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:
|
|
96
|
-
export declare function buildSelectionForField<SourceType>(source: SourceType, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables:
|
|
94
|
+
export declare function buildSelectionForNode<D = undefined>(source: NormalizedGraphQL<D>, 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: GraphQLFragmentMap, isFragmentApplicable: IsFragmentApplicableType, buildSelectionForField: (source: NormalizedGraphQL<D>, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: GraphQLFragmentMap, parentRecordId: string) => unknown, parentRecordId: string): Record<string, any> | undefined;
|
|
95
|
+
export declare function buildSelectionForField<SourceType>(source: SourceType, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: GraphQLFragmentMap, isCursorConnectionType: boolean, getFieldData: (source: SourceType, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables) => any, getFieldType: (field: $64$luvio_graphql$45$parser_FieldNode) => {
|
|
97
96
|
isArray: boolean;
|
|
98
97
|
typename: string;
|
|
99
|
-
} | undefined, 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:
|
|
100
|
-
export declare function selectTypeLink<T extends Function, NormalizedGraphQLType extends NormalizedGraphQL<unknown>>(sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables:
|
|
101
|
-
export declare function augmentDefaultVariableValues(variableDefinitions: readonly $64$luvio_graphql$45$parser_VariableDefinitionNode[], variables:
|
|
98
|
+
} | undefined, 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: GraphQLFragmentMap, parentRecordId: string) => void, parentRecordId: string): Record<string, any> | undefined;
|
|
99
|
+
export declare function selectTypeLink<T extends Function, NormalizedGraphQLType extends NormalizedGraphQL<unknown>>(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: GraphQLFragmentMap, version: string | undefined, selectFn: (field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: GraphQLFragmentMap) => T, isCursorConnection: boolean): void;
|
|
100
|
+
export declare function augmentDefaultVariableValues(variableDefinitions: readonly $64$luvio_graphql$45$parser_VariableDefinitionNode[], variables: $64$luvio_graphql_GraphQLVariables): void;
|
|
102
101
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentNode as $64$luvio_graphql$45$parser_DocumentNode } from '@luvio/graphql-parser';
|
|
2
|
-
import { GraphQLVariables as
|
|
2
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables } from '@luvio/graphql';
|
|
3
3
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
4
|
import { GraphqlConfig as adapters_graphql_GraphqlConfig } from '../adapters/graphql';
|
|
5
5
|
import { GraphQLRepresentation as types_GraphQLRepresentation_GraphQLRepresentation } from '../types/GraphQLRepresentation';
|
|
@@ -7,7 +7,7 @@ export interface ResourceRequestConfig {
|
|
|
7
7
|
body: {
|
|
8
8
|
operationName?: string;
|
|
9
9
|
query: $64$luvio_graphql$45$parser_DocumentNode;
|
|
10
|
-
variables?:
|
|
10
|
+
variables?: $64$luvio_graphql_GraphQLVariables;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, config: adapters_graphql_GraphqlConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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, 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 } from '@luvio/engine';
|
|
2
2
|
import { NavItemRepresentation as NavItemRepresentation_NavItemRepresentation } from './NavItemRepresentation';
|
|
3
3
|
export declare const TTL = 300000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "38ee38ead5262047cfa7604e8bf72d4b";
|
|
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 {
|
|
@@ -49,7 +49,7 @@ export interface AppRepresentationNormalized {
|
|
|
49
49
|
/** Primary color selected by admin for this app. Ex: #0070D2 */
|
|
50
50
|
headerColor: string;
|
|
51
51
|
/** Icon URL of the App */
|
|
52
|
-
iconUrl: string;
|
|
52
|
+
iconUrl: string | null;
|
|
53
53
|
/** Nav automatically create temporary tabs setting */
|
|
54
54
|
isNavAutoTempTabsDisabled: boolean;
|
|
55
55
|
/** Nav personalization setting */
|
|
@@ -86,7 +86,7 @@ export interface AppRepresentation {
|
|
|
86
86
|
eTag: string;
|
|
87
87
|
formFactors: Array<string>;
|
|
88
88
|
headerColor: string;
|
|
89
|
-
iconUrl: string;
|
|
89
|
+
iconUrl: string | null;
|
|
90
90
|
isNavAutoTempTabsDisabled: boolean;
|
|
91
91
|
isNavPersonalizationDisabled: boolean;
|
|
92
92
|
isNavTabPersistenceDisabled: boolean;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ReaderFragment as $64$luvio_engine_ReaderFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { DocumentNode as $64$luvio_graphql$45$parser_DocumentNode } from '@luvio/graphql-parser';
|
|
3
|
-
import { GraphQLVariables as
|
|
3
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables } from '@luvio/graphql';
|
|
4
4
|
import { PartialInterface as graphql_types_Query_PartialInterface } from '../graphql/types/Query';
|
|
5
5
|
export declare const TTL = 900000;
|
|
6
6
|
export declare const VERSION = "b440235e7e724631f92002fe50e3e096";
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GraphQLRepresentation): string;
|
|
9
9
|
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GraphQLRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
-
export declare function select(luvio: $64$luvio_engine_Luvio, query: $64$luvio_graphql$45$parser_DocumentNode, variables:
|
|
11
|
-
export declare const ingest: (query: $64$luvio_graphql$45$parser_DocumentNode, variables:
|
|
12
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, query: $64$luvio_graphql$45$parser_DocumentNode, variables:
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, query: $64$luvio_graphql$45$parser_DocumentNode, variables: $64$luvio_graphql_GraphQLVariables): $64$luvio_engine_ReaderFragment;
|
|
11
|
+
export declare const ingest: (query: $64$luvio_graphql$45$parser_DocumentNode, variables: $64$luvio_graphql_GraphQLVariables) => $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, query: $64$luvio_graphql$45$parser_DocumentNode, variables: $64$luvio_graphql_GraphQLVariables, data: GraphQLRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
13
|
export type GraphQLRepresentation = GraphQLRepresentationData | GraphQLRepresentationErrors;
|
|
14
14
|
export interface GraphQLRepresentationData {
|
|
15
15
|
data: graphql_types_Query_PartialInterface;
|
package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getFieldData.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FieldNode } from '@luvio/graphql-parser';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NormalizedGraphQL } from '../../../generated/graphql/types/type-util';
|
|
3
3
|
import type { RecordRepresentationNormalized } from './../../../generated/types/RecordRepresentation';
|
|
4
|
+
import type { GraphQLVariables } from '@luvio/graphql';
|
|
4
5
|
export declare function getFieldData(source: NormalizedGraphQL<RecordRepresentationNormalized>, sel: FieldNode, variables: GraphQLVariables): any;
|
package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/selectType.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FieldNode } from '@luvio/graphql-parser';
|
|
2
|
+
import type { GraphQLVariables } from '@luvio/graphql';
|
|
2
3
|
import type { Reader, SelectionPropertyKey } from '@luvio/engine';
|
|
3
|
-
import type {
|
|
4
|
+
import type { GraphQLFragmentMap } from '../../../generated/graphql/types/type-util';
|
|
4
5
|
import { selectType as generatedSelectType } from '../../../generated/graphql/types/RecordRepresentation';
|
|
5
6
|
export declare function selectType(typename: string, sel: FieldNode, fieldData: any, reader: Reader<any>, key: SelectionPropertyKey, sink: any, variables: GraphQLVariables, fragments: GraphQLFragmentMap, parentRecordId: string): typeof generatedSelectType;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { register } from '@salesforce/lds-default-luvio';
|
|
8
8
|
import { serializeStructuredKey, StoreKeyMap, StoreKeySet, deepFreeze, coerceAdapterRequestContext, Wildcard } from '@luvio/engine';
|
|
9
9
|
import { print, visit, parse as parse$1 } from '@luvio/graphql-parser';
|
|
10
|
+
import { serializeFieldArguments } from '@luvio/graphql';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Defines configuration for the module with a default value which can be overridden by the runtime environment.
|
|
@@ -17314,7 +17315,7 @@ function getTypeCacheKeys$1d(luvio, input, fullPathFactory) {
|
|
|
17314
17315
|
}
|
|
17315
17316
|
|
|
17316
17317
|
const TTL$q = 300000;
|
|
17317
|
-
const VERSION$1y = "
|
|
17318
|
+
const VERSION$1y = "38ee38ead5262047cfa7604e8bf72d4b";
|
|
17318
17319
|
function validate$11(obj, path = 'AppRepresentation') {
|
|
17319
17320
|
const v_error = (() => {
|
|
17320
17321
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -17380,8 +17381,29 @@ function validate$11(obj, path = 'AppRepresentation') {
|
|
|
17380
17381
|
}
|
|
17381
17382
|
const obj_iconUrl = obj.iconUrl;
|
|
17382
17383
|
const path_iconUrl = path + '.iconUrl';
|
|
17383
|
-
|
|
17384
|
-
|
|
17384
|
+
let obj_iconUrl_union0 = null;
|
|
17385
|
+
const obj_iconUrl_union0_error = (() => {
|
|
17386
|
+
if (typeof obj_iconUrl !== 'string') {
|
|
17387
|
+
return new TypeError('Expected "string" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
|
|
17388
|
+
}
|
|
17389
|
+
})();
|
|
17390
|
+
if (obj_iconUrl_union0_error != null) {
|
|
17391
|
+
obj_iconUrl_union0 = obj_iconUrl_union0_error.message;
|
|
17392
|
+
}
|
|
17393
|
+
let obj_iconUrl_union1 = null;
|
|
17394
|
+
const obj_iconUrl_union1_error = (() => {
|
|
17395
|
+
if (obj_iconUrl !== null) {
|
|
17396
|
+
return new TypeError('Expected "null" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
|
|
17397
|
+
}
|
|
17398
|
+
})();
|
|
17399
|
+
if (obj_iconUrl_union1_error != null) {
|
|
17400
|
+
obj_iconUrl_union1 = obj_iconUrl_union1_error.message;
|
|
17401
|
+
}
|
|
17402
|
+
if (obj_iconUrl_union0 && obj_iconUrl_union1) {
|
|
17403
|
+
let message = 'Object doesn\'t match union (at "' + path_iconUrl + '")';
|
|
17404
|
+
message += '\n' + obj_iconUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
17405
|
+
message += '\n' + obj_iconUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
17406
|
+
return new TypeError(message);
|
|
17385
17407
|
}
|
|
17386
17408
|
const obj_isNavAutoTempTabsDisabled = obj.isNavAutoTempTabsDisabled;
|
|
17387
17409
|
const path_isNavAutoTempTabsDisabled = path + '.isNavAutoTempTabsDisabled';
|
|
@@ -17646,11 +17668,6 @@ function equals$E(existing, incoming) {
|
|
|
17646
17668
|
if (!(existing_headerColor === incoming_headerColor)) {
|
|
17647
17669
|
return false;
|
|
17648
17670
|
}
|
|
17649
|
-
const existing_iconUrl = existing.iconUrl;
|
|
17650
|
-
const incoming_iconUrl = incoming.iconUrl;
|
|
17651
|
-
if (!(existing_iconUrl === incoming_iconUrl)) {
|
|
17652
|
-
return false;
|
|
17653
|
-
}
|
|
17654
17671
|
const existing_label = existing.label;
|
|
17655
17672
|
const incoming_label = incoming.label;
|
|
17656
17673
|
if (!(existing_label === incoming_label)) {
|
|
@@ -17686,6 +17703,11 @@ function equals$E(existing, incoming) {
|
|
|
17686
17703
|
if (equals_formFactors_items === false) {
|
|
17687
17704
|
return false;
|
|
17688
17705
|
}
|
|
17706
|
+
const existing_iconUrl = existing.iconUrl;
|
|
17707
|
+
const incoming_iconUrl = incoming.iconUrl;
|
|
17708
|
+
if (!(existing_iconUrl === incoming_iconUrl)) {
|
|
17709
|
+
return false;
|
|
17710
|
+
}
|
|
17689
17711
|
const existing_mobileStartUrl = existing.mobileStartUrl;
|
|
17690
17712
|
const incoming_mobileStartUrl = incoming.mobileStartUrl;
|
|
17691
17713
|
if (!(existing_mobileStartUrl === incoming_mobileStartUrl)) {
|
|
@@ -43030,48 +43052,6 @@ function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, i
|
|
|
43030
43052
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
43031
43053
|
return createLink(key);
|
|
43032
43054
|
}
|
|
43033
|
-
function serializeFieldArguments(argumentNodes, variables) {
|
|
43034
|
-
const mutableArgumentNodes = Object.assign([], argumentNodes);
|
|
43035
|
-
return `args__(${mutableArgumentNodes.sort((a, b) => {
|
|
43036
|
-
const aName = a.name.value.toUpperCase();
|
|
43037
|
-
const bName = b.name.value.toUpperCase();
|
|
43038
|
-
return aName < bName ? -1 : (aName > bName) ? 1 : 0;
|
|
43039
|
-
}).map(node => serializeArgNode(node, variables)).join("::")})`;
|
|
43040
|
-
}
|
|
43041
|
-
function serializeArgNode(argumentNode, variables) {
|
|
43042
|
-
const argName = argumentNode.name.value;
|
|
43043
|
-
return `${argName}:${serializeValueNode(argumentNode.value, variables)}`;
|
|
43044
|
-
}
|
|
43045
|
-
function serializeValueNode(valueNode, variables) {
|
|
43046
|
-
switch (valueNode.kind) {
|
|
43047
|
-
case ("BooleanValue"):
|
|
43048
|
-
return valueNode.value + '';
|
|
43049
|
-
case ("IntValue"):
|
|
43050
|
-
case ("FloatValue"):
|
|
43051
|
-
case ("EnumValue"):
|
|
43052
|
-
case ("StringValue"):
|
|
43053
|
-
return valueNode.value;
|
|
43054
|
-
case ("ListValue"):
|
|
43055
|
-
const mutableValueNodeList = Object.assign([], valueNode.values);
|
|
43056
|
-
return mutableValueNodeList.sort((a, b) => {
|
|
43057
|
-
const aVal = serializeValueNode(a, variables).toUpperCase();
|
|
43058
|
-
const bVal = serializeValueNode(b, variables).toUpperCase();
|
|
43059
|
-
return aVal < bVal ? -1 : (aVal > bVal) ? 1 : 0;
|
|
43060
|
-
}).map((val, i) => serializeValueNode(val, variables) + `[${i}]`).join(',');
|
|
43061
|
-
case ("Variable"):
|
|
43062
|
-
const variableValue = variables[valueNode.name.value];
|
|
43063
|
-
return typeof variableValue === "string" ? variableValue : JSON.stringify(variableValue);
|
|
43064
|
-
case ("NullValue"):
|
|
43065
|
-
return "null";
|
|
43066
|
-
case ("ObjectValue"):
|
|
43067
|
-
const mutableFieldNodeList = Object.assign([], valueNode.fields);
|
|
43068
|
-
return mutableFieldNodeList.sort((a, b) => {
|
|
43069
|
-
const aName = a.name.value.toUpperCase();
|
|
43070
|
-
const bName = b.name.value.toUpperCase();
|
|
43071
|
-
return aName < bName ? -1 : (aName > bName) ? 1 : 0;
|
|
43072
|
-
}).map(field => field.name.value + ":" + serializeValueNode(field.value, variables)).join(',');
|
|
43073
|
-
}
|
|
43074
|
-
}
|
|
43075
43055
|
const TTL$6 = 900000;
|
|
43076
43056
|
function applyMinimumFieldsToQuery(query) {
|
|
43077
43057
|
const fragmentMap = createFragmentMap(query);
|
package/package.json
CHANGED
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -17,6 +17,7 @@ import { print, visit, parse, astResolver } from 'force/ldsGraphqlParser';
|
|
|
17
17
|
import { createInstrumentedAdapter, createLDSAdapter, createGraphQLWireAdapterConstructor, createGraphQLImperativeAdapter } from 'force/ldsBindings';
|
|
18
18
|
export { refresh as refreshGraphQL } from 'force/ldsBindings';
|
|
19
19
|
import { serializeStructuredKey, StoreKeyMap, deepFreeze, StoreKeySet } from 'force/luvioEngine';
|
|
20
|
+
import { serializeFieldArguments } from 'force/luvioGraphql';
|
|
20
21
|
import { createIngestRecordWithFields } from 'force/ldsAdaptersUiapi';
|
|
21
22
|
|
|
22
23
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
@@ -12221,48 +12222,6 @@ function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, i
|
|
|
12221
12222
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
12222
12223
|
return createLink(key);
|
|
12223
12224
|
}
|
|
12224
|
-
function serializeFieldArguments(argumentNodes, variables) {
|
|
12225
|
-
const mutableArgumentNodes = Object.assign([], argumentNodes);
|
|
12226
|
-
return `args__(${mutableArgumentNodes.sort((a, b) => {
|
|
12227
|
-
const aName = a.name.value.toUpperCase();
|
|
12228
|
-
const bName = b.name.value.toUpperCase();
|
|
12229
|
-
return aName < bName ? -1 : (aName > bName) ? 1 : 0;
|
|
12230
|
-
}).map(node => serializeArgNode(node, variables)).join("::")})`;
|
|
12231
|
-
}
|
|
12232
|
-
function serializeArgNode(argumentNode, variables) {
|
|
12233
|
-
const argName = argumentNode.name.value;
|
|
12234
|
-
return `${argName}:${serializeValueNode(argumentNode.value, variables)}`;
|
|
12235
|
-
}
|
|
12236
|
-
function serializeValueNode(valueNode, variables) {
|
|
12237
|
-
switch (valueNode.kind) {
|
|
12238
|
-
case ("BooleanValue"):
|
|
12239
|
-
return valueNode.value + '';
|
|
12240
|
-
case ("IntValue"):
|
|
12241
|
-
case ("FloatValue"):
|
|
12242
|
-
case ("EnumValue"):
|
|
12243
|
-
case ("StringValue"):
|
|
12244
|
-
return valueNode.value;
|
|
12245
|
-
case ("ListValue"):
|
|
12246
|
-
const mutableValueNodeList = Object.assign([], valueNode.values);
|
|
12247
|
-
return mutableValueNodeList.sort((a, b) => {
|
|
12248
|
-
const aVal = serializeValueNode(a, variables).toUpperCase();
|
|
12249
|
-
const bVal = serializeValueNode(b, variables).toUpperCase();
|
|
12250
|
-
return aVal < bVal ? -1 : (aVal > bVal) ? 1 : 0;
|
|
12251
|
-
}).map((val, i) => serializeValueNode(val, variables) + `[${i}]`).join(',');
|
|
12252
|
-
case ("Variable"):
|
|
12253
|
-
const variableValue = variables[valueNode.name.value];
|
|
12254
|
-
return typeof variableValue === "string" ? variableValue : JSON.stringify(variableValue);
|
|
12255
|
-
case ("NullValue"):
|
|
12256
|
-
return "null";
|
|
12257
|
-
case ("ObjectValue"):
|
|
12258
|
-
const mutableFieldNodeList = Object.assign([], valueNode.fields);
|
|
12259
|
-
return mutableFieldNodeList.sort((a, b) => {
|
|
12260
|
-
const aName = a.name.value.toUpperCase();
|
|
12261
|
-
const bName = b.name.value.toUpperCase();
|
|
12262
|
-
return aName < bName ? -1 : (aName > bName) ? 1 : 0;
|
|
12263
|
-
}).map(field => field.name.value + ":" + serializeValueNode(field.value, variables)).join(',');
|
|
12264
|
-
}
|
|
12265
|
-
}
|
|
12266
12225
|
const TTL$1 = 900000;
|
|
12267
12226
|
function applyMinimumFieldsToQuery(query) {
|
|
12268
12227
|
const fragmentMap = createFragmentMap(query);
|
|
@@ -14501,4 +14460,4 @@ register({
|
|
|
14501
14460
|
});
|
|
14502
14461
|
|
|
14503
14462
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
14504
|
-
// version: 1.136.
|
|
14463
|
+
// version: 1.136.4-1b206f2a8
|
package/sfdc/index.js
CHANGED
|
@@ -16839,7 +16839,7 @@ function getTypeCacheKeys$x(luvio, input, fullPathFactory) {
|
|
|
16839
16839
|
}
|
|
16840
16840
|
|
|
16841
16841
|
const TTL$l = 300000;
|
|
16842
|
-
const VERSION$N = "
|
|
16842
|
+
const VERSION$N = "38ee38ead5262047cfa7604e8bf72d4b";
|
|
16843
16843
|
function validate$Z(obj, path = 'AppRepresentation') {
|
|
16844
16844
|
const v_error = (() => {
|
|
16845
16845
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -16905,8 +16905,29 @@ function validate$Z(obj, path = 'AppRepresentation') {
|
|
|
16905
16905
|
}
|
|
16906
16906
|
const obj_iconUrl = obj.iconUrl;
|
|
16907
16907
|
const path_iconUrl = path + '.iconUrl';
|
|
16908
|
-
|
|
16909
|
-
|
|
16908
|
+
let obj_iconUrl_union0 = null;
|
|
16909
|
+
const obj_iconUrl_union0_error = (() => {
|
|
16910
|
+
if (typeof obj_iconUrl !== 'string') {
|
|
16911
|
+
return new TypeError('Expected "string" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
|
|
16912
|
+
}
|
|
16913
|
+
})();
|
|
16914
|
+
if (obj_iconUrl_union0_error != null) {
|
|
16915
|
+
obj_iconUrl_union0 = obj_iconUrl_union0_error.message;
|
|
16916
|
+
}
|
|
16917
|
+
let obj_iconUrl_union1 = null;
|
|
16918
|
+
const obj_iconUrl_union1_error = (() => {
|
|
16919
|
+
if (obj_iconUrl !== null) {
|
|
16920
|
+
return new TypeError('Expected "null" but received "' + typeof obj_iconUrl + '" (at "' + path_iconUrl + '")');
|
|
16921
|
+
}
|
|
16922
|
+
})();
|
|
16923
|
+
if (obj_iconUrl_union1_error != null) {
|
|
16924
|
+
obj_iconUrl_union1 = obj_iconUrl_union1_error.message;
|
|
16925
|
+
}
|
|
16926
|
+
if (obj_iconUrl_union0 && obj_iconUrl_union1) {
|
|
16927
|
+
let message = 'Object doesn\'t match union (at "' + path_iconUrl + '")';
|
|
16928
|
+
message += '\n' + obj_iconUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
16929
|
+
message += '\n' + obj_iconUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
16930
|
+
return new TypeError(message);
|
|
16910
16931
|
}
|
|
16911
16932
|
const obj_isNavAutoTempTabsDisabled = obj.isNavAutoTempTabsDisabled;
|
|
16912
16933
|
const path_isNavAutoTempTabsDisabled = path + '.isNavAutoTempTabsDisabled';
|
|
@@ -17171,11 +17192,6 @@ function equals$A(existing, incoming) {
|
|
|
17171
17192
|
if (!(existing_headerColor === incoming_headerColor)) {
|
|
17172
17193
|
return false;
|
|
17173
17194
|
}
|
|
17174
|
-
const existing_iconUrl = existing.iconUrl;
|
|
17175
|
-
const incoming_iconUrl = incoming.iconUrl;
|
|
17176
|
-
if (!(existing_iconUrl === incoming_iconUrl)) {
|
|
17177
|
-
return false;
|
|
17178
|
-
}
|
|
17179
17195
|
const existing_label = existing.label;
|
|
17180
17196
|
const incoming_label = incoming.label;
|
|
17181
17197
|
if (!(existing_label === incoming_label)) {
|
|
@@ -17211,6 +17227,11 @@ function equals$A(existing, incoming) {
|
|
|
17211
17227
|
if (equals_formFactors_items === false) {
|
|
17212
17228
|
return false;
|
|
17213
17229
|
}
|
|
17230
|
+
const existing_iconUrl = existing.iconUrl;
|
|
17231
|
+
const incoming_iconUrl = incoming.iconUrl;
|
|
17232
|
+
if (!(existing_iconUrl === incoming_iconUrl)) {
|
|
17233
|
+
return false;
|
|
17234
|
+
}
|
|
17214
17235
|
const existing_mobileStartUrl = existing.mobileStartUrl;
|
|
17215
17236
|
const incoming_mobileStartUrl = incoming.mobileStartUrl;
|
|
17216
17237
|
if (!(existing_mobileStartUrl === incoming_mobileStartUrl)) {
|
|
@@ -35518,4 +35539,4 @@ withDefaultLuvio((luvio) => {
|
|
|
35518
35539
|
});
|
|
35519
35540
|
|
|
35520
35541
|
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$P as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35521
|
-
// version: 1.136.
|
|
35542
|
+
// version: 1.136.4-1b206f2a8
|
package/src/raml/api.raml
CHANGED