@salesforce/lds-adapters-uiapi 1.170.0 → 1.171.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/graphql/types/Base64Value.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/BooleanAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/BooleanValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/ChildRelationship.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/CurrencyAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/CurrencyValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateFunctionAggregation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateOnlyAggregation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateTimeAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateTimeValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DependentField.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DoubleAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DoubleValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/EmailAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/EmailValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/EncryptedStringValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/Field.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/FieldValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/FilteredLookupInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/IDAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/IDValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/IntAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/IntValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/JSONValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LatitudeAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LatitudeValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/ListColumn.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/ListOrder.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LongAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LongTextAreaValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LongValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LongitudeAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/LongitudeValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/MultiPicklistValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/ObjectInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PageInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PercentAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PercentValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PhoneNumberAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PhoneNumberValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PicklistAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PicklistValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/PolymorphicParentRelationship.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/Query.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RateLimit.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/Record.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordAggregateConnection.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordAggregateEdge.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordConnection.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordEdge.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordQuery.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordQueryAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/types/RecordResult.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordTypeInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/ReferenceToInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RelatedListInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RichTextAreaValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/StringAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/StringValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/TextAreaAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/TextAreaValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/ThemeInfo.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/TimeAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/TimeValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/UIAPI.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/UrlAggregate.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/graphql/types/UrlValue.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiFavoritesByFavoriteId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiRecordsByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiRelatedListPreferencesByPreferencesId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getConnectBriefcasePrimingRecords.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsFlexipageByFlexipageNames.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsGlobal.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsLayoutByActionApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsListViewByListViewIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsListViewChartByObjectApiNames.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsListViewRecordByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsLookupByObjectApiNames.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsMruListByObjectApiNames.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsObjectRecordCreateByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsOverridesByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsPhotoByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRecordEditByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRelatedListRecordByRecordIdsAndRelatedListRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiAggregateUi.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiApps.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiAppsByAppId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiAppsSelected.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiAppsUserNavItemsByAppId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiDuplicatesByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiFavorites.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiFavoritesByFavoriteId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiFormsByApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiLayoutByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiLayoutUserStateByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoBatch.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoByListViewId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListUiByListViewApiNameAndObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListUiByListViewId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiListUiByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiLookupsByFieldApiNameAndObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiLookupsByFieldApiNameAndObjectApiNameAndTargetApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiMruListInfoByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiMruListRecordsByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiMruListUiByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiNavItems.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfo.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoBatchByObjectApiNames.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoPicklistValuesByFieldApiNameAndObjectApiNameAndRecordTypeId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoPicklistValuesByObjectApiNameAndRecordTypeId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiObjectInfoValidationRulesInfoByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiPrimingRecords.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiPrimingRoutes.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordAvatarsBatchByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordAvatarsByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsCloneByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsCreateByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordUiByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordsBatchByRecordIds.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordsByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRecordsChildRelationshipsByRecordIdAndRelationshipName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListCountBatchByParentRecordIdAndRelatedListNames.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListCountByParentRecordIdAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoBatchByParentObjectApiNameAndRelatedListNames.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoByParentObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoByParentObjectApiNameAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListInfoByParentRecordIdAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListPreferencesBatchByPreferencesIds.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListPreferencesByPreferencesId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListRecordsBatchByParentRecordId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListRecordsBatchByParentRecordIdAndRelatedListIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoFiltersOptionsByFilterApiNameAndObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiSearchInfoLookupByFieldApiNameAndObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getUiApiThemesActive.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiActionsPerformQuickActionByActionApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiAppsByAppId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiLayoutUserStateByObjectApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRecordsByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRelatedListInfoByParentObjectApiNameAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRelatedListInfoByParentRecordIdAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchUiApiRelatedListPreferencesByPreferencesId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postGraphql.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postGraphqlBatch.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsPerformQuickActionByActionApiName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListByRecordIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiAggregateUi.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiFavorites.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiPredupe.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecordAvatarsAssociationByRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecords.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecordsContentDocumentsContentVersions.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiRecordsContentDocumentsContentVersionsByContentDocumentId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordIdAndRelatedListIds.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResults.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postUiApiSearchResultsKeyword.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AbstractFormSubitemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AbstractPicklistValueAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AbstractRecordAvatarBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AbstractRecordAvatarRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/AbstractRecordLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionBatchResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionOverrideRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionRelatedListSingleBatchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionRelatedListsBatchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionRelatedListsCollectionBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AggregateInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AggregateRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AggregateUiRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/AppsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AvatarAssociationInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/BatchRelatedListCountRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/BatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/BatchResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CanvasLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CaseStatusPicklistValueAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ChildRelationshipRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CompositeActionRelatedListsCollectionResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CompositeGraphQLResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ContentDocumentCompositeRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ContentInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CustomLinkLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DisplayLayoutAndMatchingInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DisplayLayoutRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicateRecordErrorRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicateResultInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicateRuleFilterItemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicateRuleFilterRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicateRuleRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicatesConfigurationRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DuplicatesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/EmptySpaceFormSubitemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/EntityActionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ErrorBadRequestRecordAvatarBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ErrorMessageRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ErrorRecordAvatarBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ErrorSingleRecordAvatarRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FavoriteBatchCollectionInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FavoriteBatchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FavoriteCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FavoriteInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FavoriteRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FieldFormSubitemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FieldLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FieldRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FieldValueRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FilteredLookupInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FormItemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FormRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FormRowRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FormSectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/GraphQLBatchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/GraphQLBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/GraphQLErrorLocation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/GraphQLErrorRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/GraphQLInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/GraphQLRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/KeywordSearchRequestInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/KeywordSearchResultsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/KeywordSearchResultsSummaryRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LeadStatusPicklistValueAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListColumnRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListFilterByInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListInfoBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ListOrderByInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListOrderedByInfoInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation212.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListReferenceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListScopeEntityRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListScopeRelatedEntityRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListScopeRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListUiRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ListUiRepresentation212.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListUserPreferenceInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListUserPreferenceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ListViewSummaryCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ListViewSummaryRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LocationFieldRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LookupMetadataRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LookupMetadataTargetInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LookupValuesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/MatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/MatchResultInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/MatchResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/MatchRuleRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/MatchingInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/NavItemInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/NavItemRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/NavItemsInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/NavItemsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryEntryRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ObjectInfoRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/OperationInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/OperationResponseRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/OpportunityStagePicklistValueAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PageReferenceInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PageReferenceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PerformActionInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PhotoMetadataRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PhotoRecordAvatarRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/PicklistValueRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PicklistValuesCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PicklistValuesRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/PlatformActionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/PrimingGeneratedModuleRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PrimingRecordCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PrimingRecordRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PrimingRecordsStatsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PrimingRoutesCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/PrimingRuleErrorRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/QnASearchResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/QuickActionDefaultsRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/QuickActionExecutionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/QuickActionLayoutRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkMapRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordAvatarBulkRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordCreateDefaultRecordRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordDefaultsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordDefaultsTemplateCloneRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordDefaultsTemplateCreateRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordExceptionErrorRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordExceptionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutItemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordLayoutRowRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSaveOptionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSectionUserStateInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutSectionUserStateRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutUserStateInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordLayoutUserStateRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordTemplateCloneRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordTemplateCreateRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RecordTypeInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RecordUiRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ReferenceToInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListColumnRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListInfoBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListInfoInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListInfoRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RelatedListPreferencesBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCollectionBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCountCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordCountRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordsBatchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordsInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListRecordsSingleBatchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListReferenceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListSummaryInfoCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/RelatedListSummaryInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListUserPreferencesInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelatedListUserPreferencesRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ReportLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ResourceReferenceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchAnswersRecordRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFilterAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFilterDefinitionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFilterInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFilterMetadataCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/SearchFilterOptionCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/SearchFilterOptionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFilterSelectAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFilterTextAttributesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchRecordHighlightRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchRecordInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchRequestInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchResultCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/SimpleListInfoResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SimpleRelatedListCountBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SimpleRelatedListInfoResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SimpleRelatedListPreferencesResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SimplifiedBatchRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SimplifiedBatchResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ThemeBannerRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ThemeImageRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ThemeInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ThemeRecordAvatarRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ThemeRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ValidationRuleRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ValidationRulesRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/VisualforceLayoutComponentRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/WireDataRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordConnection/getTypeCacheKeys.d.ts +1 -1
- package/dist/es/es2018/types/src/graphql-artifacts/types/RecordRepresentation/getMappedTypeCacheKeys.d.ts +1 -1
- package/dist/es/es2018/types/src/overrides/resources/getUiApiListInfoBatch.d.ts +1 -1
- package/dist/es/es2018/types/src/overrides/resources/postGraphqlBatch.d.ts +1 -1
- package/dist/es/es2018/types/src/overrides/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +1 -1
- package/dist/es/es2018/types/src/overrides/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +798 -827
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +267 -406
- package/sfdc/index.js +520 -430
- package/sfdc/uiapi-static-functions.js +1 -1
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -17,7 +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 { buildFieldState, createFragmentMap, serializeFieldArguments, buildQueryTypeStringKey, getOperationFromDocument } from 'force/luvioGraphql';
|
|
20
|
-
import { serializeStructuredKey,
|
|
20
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, StoreKeySet } from 'force/luvioEngine';
|
|
21
21
|
import { createIngestRecordWithFields } from 'force/ldsAdaptersUiapi';
|
|
22
22
|
|
|
23
23
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
@@ -439,10 +439,9 @@ function select$1b(field, variables, fragments) {
|
|
|
439
439
|
return selectCalculateSink(sink, field, buildSelectionForNode$12, source, reader, variables, fragments, parentRecordId);
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function getTypeCacheKeys$16(astNode, state) {
|
|
442
|
+
function getTypeCacheKeys$16(cacheKeySink, astNode, state) {
|
|
443
443
|
const { path, data, luvio } = state;
|
|
444
444
|
const rootKey = keyBuilder$16(luvio, path);
|
|
445
|
-
const cacheKeySink = new StoreKeyMap();
|
|
446
445
|
cacheKeySink.set(rootKey, {
|
|
447
446
|
namespace: keyPrefix,
|
|
448
447
|
mergeable: true,
|
|
@@ -450,7 +449,6 @@ function getTypeCacheKeys$16(astNode, state) {
|
|
|
450
449
|
});
|
|
451
450
|
// get all cache keys from normalizable fields
|
|
452
451
|
// Deal with mapped types' cache keys
|
|
453
|
-
return cacheKeySink;
|
|
454
452
|
}
|
|
455
453
|
function getFieldType$16(field) {
|
|
456
454
|
switch (field.name.value) {
|
|
@@ -583,10 +581,9 @@ function select$1a(field, variables, fragments) {
|
|
|
583
581
|
return selectCalculateSink(sink, field, buildSelectionForNode$11, source, reader, variables, fragments, parentRecordId);
|
|
584
582
|
};
|
|
585
583
|
}
|
|
586
|
-
function getTypeCacheKeys$15(astNode, state) {
|
|
584
|
+
function getTypeCacheKeys$15(cacheKeySink, astNode, state) {
|
|
587
585
|
const { path, data, luvio } = state;
|
|
588
586
|
const rootKey = keyBuilder$15(luvio, path);
|
|
589
|
-
const cacheKeySink = new StoreKeyMap();
|
|
590
587
|
cacheKeySink.set(rootKey, {
|
|
591
588
|
namespace: keyPrefix,
|
|
592
589
|
mergeable: true,
|
|
@@ -594,7 +591,6 @@ function getTypeCacheKeys$15(astNode, state) {
|
|
|
594
591
|
});
|
|
595
592
|
// get all cache keys from normalizable fields
|
|
596
593
|
// Deal with mapped types' cache keys
|
|
597
|
-
return cacheKeySink;
|
|
598
594
|
}
|
|
599
595
|
function getFieldType$15(field) {
|
|
600
596
|
switch (field.name.value) {
|
|
@@ -727,10 +723,9 @@ function select$19(field, variables, fragments) {
|
|
|
727
723
|
return selectCalculateSink(sink, field, buildSelectionForNode$10, source, reader, variables, fragments, parentRecordId);
|
|
728
724
|
};
|
|
729
725
|
}
|
|
730
|
-
function getTypeCacheKeys$14(astNode, state) {
|
|
726
|
+
function getTypeCacheKeys$14(cacheKeySink, astNode, state) {
|
|
731
727
|
const { path, data, luvio } = state;
|
|
732
728
|
const rootKey = keyBuilder$14(luvio, path);
|
|
733
|
-
const cacheKeySink = new StoreKeyMap();
|
|
734
729
|
cacheKeySink.set(rootKey, {
|
|
735
730
|
namespace: keyPrefix,
|
|
736
731
|
mergeable: true,
|
|
@@ -738,7 +733,6 @@ function getTypeCacheKeys$14(astNode, state) {
|
|
|
738
733
|
});
|
|
739
734
|
// get all cache keys from normalizable fields
|
|
740
735
|
// Deal with mapped types' cache keys
|
|
741
|
-
return cacheKeySink;
|
|
742
736
|
}
|
|
743
737
|
function getFieldType$14(field) {
|
|
744
738
|
switch (field.name.value) {
|
|
@@ -895,10 +889,9 @@ function getMinimumSelections$L() {
|
|
|
895
889
|
];
|
|
896
890
|
return minimumSelections;
|
|
897
891
|
}
|
|
898
|
-
function getTypeCacheKeys$13(astNode, state) {
|
|
892
|
+
function getTypeCacheKeys$13(cacheKeySink, astNode, state) {
|
|
899
893
|
const { path, data, luvio } = state;
|
|
900
894
|
const rootKey = keyBuilder$13(luvio, path);
|
|
901
|
-
const cacheKeySink = new StoreKeyMap();
|
|
902
895
|
cacheKeySink.set(rootKey, {
|
|
903
896
|
namespace: keyPrefix,
|
|
904
897
|
mergeable: true,
|
|
@@ -920,38 +913,37 @@ function getTypeCacheKeys$13(astNode, state) {
|
|
|
920
913
|
switch (fieldType.typename) {
|
|
921
914
|
case 'DoubleValue': {
|
|
922
915
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
923
|
-
|
|
916
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
924
917
|
break;
|
|
925
918
|
}
|
|
926
919
|
case 'LongValue': {
|
|
927
920
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
928
|
-
|
|
921
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
929
922
|
break;
|
|
930
923
|
}
|
|
931
924
|
case 'LongValue': {
|
|
932
925
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
933
|
-
|
|
926
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
934
927
|
break;
|
|
935
928
|
}
|
|
936
929
|
case 'PercentValue': {
|
|
937
930
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
938
|
-
|
|
931
|
+
getTypeCacheKeys$14(cacheKeySink, requestedField, maxState);
|
|
939
932
|
break;
|
|
940
933
|
}
|
|
941
934
|
case 'PercentValue': {
|
|
942
935
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
943
|
-
|
|
936
|
+
getTypeCacheKeys$14(cacheKeySink, requestedField, minState);
|
|
944
937
|
break;
|
|
945
938
|
}
|
|
946
939
|
case 'PercentValue': {
|
|
947
940
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
948
|
-
|
|
941
|
+
getTypeCacheKeys$14(cacheKeySink, requestedField, sumState);
|
|
949
942
|
break;
|
|
950
943
|
}
|
|
951
944
|
}
|
|
952
945
|
}
|
|
953
946
|
// Deal with mapped types' cache keys
|
|
954
|
-
return cacheKeySink;
|
|
955
947
|
}
|
|
956
948
|
function getFieldType$13(field) {
|
|
957
949
|
switch (field.name.value) {
|
|
@@ -1135,10 +1127,9 @@ function select$17(field, variables, fragments) {
|
|
|
1135
1127
|
return selectCalculateSink(sink, field, buildSelectionForNode$_, source, reader, variables, fragments, parentRecordId);
|
|
1136
1128
|
};
|
|
1137
1129
|
}
|
|
1138
|
-
function getTypeCacheKeys$12(astNode, state) {
|
|
1130
|
+
function getTypeCacheKeys$12(cacheKeySink, astNode, state) {
|
|
1139
1131
|
const { path, data, luvio } = state;
|
|
1140
1132
|
const rootKey = keyBuilder$12(luvio, path);
|
|
1141
|
-
const cacheKeySink = new StoreKeyMap();
|
|
1142
1133
|
cacheKeySink.set(rootKey, {
|
|
1143
1134
|
namespace: keyPrefix,
|
|
1144
1135
|
mergeable: true,
|
|
@@ -1146,7 +1137,6 @@ function getTypeCacheKeys$12(astNode, state) {
|
|
|
1146
1137
|
});
|
|
1147
1138
|
// get all cache keys from normalizable fields
|
|
1148
1139
|
// Deal with mapped types' cache keys
|
|
1149
|
-
return cacheKeySink;
|
|
1150
1140
|
}
|
|
1151
1141
|
function getFieldType$12(field) {
|
|
1152
1142
|
switch (field.name.value) {
|
|
@@ -1274,10 +1264,9 @@ function select$16(field, variables, fragments) {
|
|
|
1274
1264
|
return selectCalculateSink(sink, field, buildSelectionForNode$Z, source, reader, variables, fragments, parentRecordId);
|
|
1275
1265
|
};
|
|
1276
1266
|
}
|
|
1277
|
-
function getTypeCacheKeys$11(astNode, state) {
|
|
1267
|
+
function getTypeCacheKeys$11(cacheKeySink, astNode, state) {
|
|
1278
1268
|
const { path, data, luvio } = state;
|
|
1279
1269
|
const rootKey = keyBuilder$11(luvio, path);
|
|
1280
|
-
const cacheKeySink = new StoreKeyMap();
|
|
1281
1270
|
cacheKeySink.set(rootKey, {
|
|
1282
1271
|
namespace: keyPrefix,
|
|
1283
1272
|
mergeable: true,
|
|
@@ -1285,7 +1274,6 @@ function getTypeCacheKeys$11(astNode, state) {
|
|
|
1285
1274
|
});
|
|
1286
1275
|
// get all cache keys from normalizable fields
|
|
1287
1276
|
// Deal with mapped types' cache keys
|
|
1288
|
-
return cacheKeySink;
|
|
1289
1277
|
}
|
|
1290
1278
|
function getFieldType$11(field) {
|
|
1291
1279
|
switch (field.name.value) {
|
|
@@ -1433,10 +1421,9 @@ function getMinimumSelections$K() {
|
|
|
1433
1421
|
];
|
|
1434
1422
|
return minimumSelections;
|
|
1435
1423
|
}
|
|
1436
|
-
function getTypeCacheKeys$10(astNode, state) {
|
|
1424
|
+
function getTypeCacheKeys$10(cacheKeySink, astNode, state) {
|
|
1437
1425
|
const { path, data, luvio } = state;
|
|
1438
1426
|
const rootKey = keyBuilder$10(luvio, path);
|
|
1439
|
-
const cacheKeySink = new StoreKeyMap();
|
|
1440
1427
|
cacheKeySink.set(rootKey, {
|
|
1441
1428
|
namespace: keyPrefix,
|
|
1442
1429
|
mergeable: true,
|
|
@@ -1458,33 +1445,32 @@ function getTypeCacheKeys$10(astNode, state) {
|
|
|
1458
1445
|
switch (fieldType.typename) {
|
|
1459
1446
|
case 'LongValue': {
|
|
1460
1447
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
1461
|
-
|
|
1448
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
1462
1449
|
break;
|
|
1463
1450
|
}
|
|
1464
1451
|
case 'LongValue': {
|
|
1465
1452
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
1466
|
-
|
|
1453
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
1467
1454
|
break;
|
|
1468
1455
|
}
|
|
1469
1456
|
case 'IntValue': {
|
|
1470
1457
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
1471
|
-
|
|
1458
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
1472
1459
|
break;
|
|
1473
1460
|
}
|
|
1474
1461
|
case 'StringValue': {
|
|
1475
1462
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
1476
|
-
|
|
1463
|
+
getTypeCacheKeys$11(cacheKeySink, requestedField, maxState);
|
|
1477
1464
|
break;
|
|
1478
1465
|
}
|
|
1479
1466
|
case 'StringValue': {
|
|
1480
1467
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
1481
|
-
|
|
1468
|
+
getTypeCacheKeys$11(cacheKeySink, requestedField, minState);
|
|
1482
1469
|
break;
|
|
1483
1470
|
}
|
|
1484
1471
|
}
|
|
1485
1472
|
}
|
|
1486
1473
|
// Deal with mapped types' cache keys
|
|
1487
|
-
return cacheKeySink;
|
|
1488
1474
|
}
|
|
1489
1475
|
function getFieldType$10(field) {
|
|
1490
1476
|
switch (field.name.value) {
|
|
@@ -1710,10 +1696,9 @@ function getMinimumSelections$I() {
|
|
|
1710
1696
|
];
|
|
1711
1697
|
return minimumSelections;
|
|
1712
1698
|
}
|
|
1713
|
-
function getTypeCacheKeys$$(astNode, state) {
|
|
1699
|
+
function getTypeCacheKeys$$(cacheKeySink, astNode, state) {
|
|
1714
1700
|
const { path, data, luvio } = state;
|
|
1715
1701
|
const rootKey = keyBuilder$$(luvio, path);
|
|
1716
|
-
const cacheKeySink = new StoreKeyMap();
|
|
1717
1702
|
cacheKeySink.set(rootKey, {
|
|
1718
1703
|
namespace: keyPrefix,
|
|
1719
1704
|
mergeable: true,
|
|
@@ -1721,7 +1706,6 @@ function getTypeCacheKeys$$(astNode, state) {
|
|
|
1721
1706
|
});
|
|
1722
1707
|
// get all cache keys from normalizable fields
|
|
1723
1708
|
// Deal with mapped types' cache keys
|
|
1724
|
-
return cacheKeySink;
|
|
1725
1709
|
}
|
|
1726
1710
|
function getFieldType$_(field) {
|
|
1727
1711
|
switch (field.name.value) {
|
|
@@ -1848,10 +1832,9 @@ function select$13(field, variables, fragments) {
|
|
|
1848
1832
|
return selectCalculateSink(sink, field, buildSelectionForNode$W, source, reader, variables, fragments, parentRecordId);
|
|
1849
1833
|
};
|
|
1850
1834
|
}
|
|
1851
|
-
function getTypeCacheKeys$_(astNode, state) {
|
|
1835
|
+
function getTypeCacheKeys$_(cacheKeySink, astNode, state) {
|
|
1852
1836
|
const { path, data, luvio } = state;
|
|
1853
1837
|
const rootKey = keyBuilder$_(luvio, path);
|
|
1854
|
-
const cacheKeySink = new StoreKeyMap();
|
|
1855
1838
|
cacheKeySink.set(rootKey, {
|
|
1856
1839
|
namespace: keyPrefix,
|
|
1857
1840
|
mergeable: true,
|
|
@@ -1859,7 +1842,6 @@ function getTypeCacheKeys$_(astNode, state) {
|
|
|
1859
1842
|
});
|
|
1860
1843
|
// get all cache keys from normalizable fields
|
|
1861
1844
|
// Deal with mapped types' cache keys
|
|
1862
|
-
return cacheKeySink;
|
|
1863
1845
|
}
|
|
1864
1846
|
function getFieldType$Z(field) {
|
|
1865
1847
|
switch (field.name.value) {
|
|
@@ -2020,10 +2002,9 @@ function getMinimumSelections$H() {
|
|
|
2020
2002
|
];
|
|
2021
2003
|
return minimumSelections;
|
|
2022
2004
|
}
|
|
2023
|
-
function getTypeCacheKeys$Z(astNode, state) {
|
|
2005
|
+
function getTypeCacheKeys$Z(cacheKeySink, astNode, state) {
|
|
2024
2006
|
const { path, data, luvio } = state;
|
|
2025
2007
|
const rootKey = keyBuilder$Z(luvio, path);
|
|
2026
|
-
const cacheKeySink = new StoreKeyMap();
|
|
2027
2008
|
cacheKeySink.set(rootKey, {
|
|
2028
2009
|
namespace: keyPrefix,
|
|
2029
2010
|
mergeable: true,
|
|
@@ -2045,88 +2026,87 @@ function getTypeCacheKeys$Z(astNode, state) {
|
|
|
2045
2026
|
switch (fieldType.typename) {
|
|
2046
2027
|
case 'DateFunctionAggregation': {
|
|
2047
2028
|
const calendarMonthState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2048
|
-
|
|
2029
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, calendarMonthState);
|
|
2049
2030
|
break;
|
|
2050
2031
|
}
|
|
2051
2032
|
case 'DateFunctionAggregation': {
|
|
2052
2033
|
const calendarQuarterState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2053
|
-
|
|
2034
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, calendarQuarterState);
|
|
2054
2035
|
break;
|
|
2055
2036
|
}
|
|
2056
2037
|
case 'DateFunctionAggregation': {
|
|
2057
2038
|
const calendarYearState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2058
|
-
|
|
2039
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, calendarYearState);
|
|
2059
2040
|
break;
|
|
2060
2041
|
}
|
|
2061
2042
|
case 'LongValue': {
|
|
2062
2043
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2063
|
-
|
|
2044
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
2064
2045
|
break;
|
|
2065
2046
|
}
|
|
2066
2047
|
case 'LongValue': {
|
|
2067
2048
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2068
|
-
|
|
2049
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
2069
2050
|
break;
|
|
2070
2051
|
}
|
|
2071
2052
|
case 'DateFunctionAggregation': {
|
|
2072
2053
|
const dayInMonthState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2073
|
-
|
|
2054
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, dayInMonthState);
|
|
2074
2055
|
break;
|
|
2075
2056
|
}
|
|
2076
2057
|
case 'DateFunctionAggregation': {
|
|
2077
2058
|
const dayInWeekState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2078
|
-
|
|
2059
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, dayInWeekState);
|
|
2079
2060
|
break;
|
|
2080
2061
|
}
|
|
2081
2062
|
case 'DateFunctionAggregation': {
|
|
2082
2063
|
const dayInYearState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2083
|
-
|
|
2064
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, dayInYearState);
|
|
2084
2065
|
break;
|
|
2085
2066
|
}
|
|
2086
2067
|
case 'DateFunctionAggregation': {
|
|
2087
2068
|
const fiscalMonthState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2088
|
-
|
|
2069
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, fiscalMonthState);
|
|
2089
2070
|
break;
|
|
2090
2071
|
}
|
|
2091
2072
|
case 'DateFunctionAggregation': {
|
|
2092
2073
|
const fiscalQuarterState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2093
|
-
|
|
2074
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, fiscalQuarterState);
|
|
2094
2075
|
break;
|
|
2095
2076
|
}
|
|
2096
2077
|
case 'DateFunctionAggregation': {
|
|
2097
2078
|
const fiscalYearState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2098
|
-
|
|
2079
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, fiscalYearState);
|
|
2099
2080
|
break;
|
|
2100
2081
|
}
|
|
2101
2082
|
case 'IntValue': {
|
|
2102
2083
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2103
|
-
|
|
2084
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
2104
2085
|
break;
|
|
2105
2086
|
}
|
|
2106
2087
|
case 'DateValue': {
|
|
2107
2088
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2108
|
-
|
|
2089
|
+
getTypeCacheKeys$_(cacheKeySink, requestedField, maxState);
|
|
2109
2090
|
break;
|
|
2110
2091
|
}
|
|
2111
2092
|
case 'DateValue': {
|
|
2112
2093
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2113
|
-
|
|
2094
|
+
getTypeCacheKeys$_(cacheKeySink, requestedField, minState);
|
|
2114
2095
|
break;
|
|
2115
2096
|
}
|
|
2116
2097
|
case 'DateFunctionAggregation': {
|
|
2117
2098
|
const weekInMonthState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2118
|
-
|
|
2099
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, weekInMonthState);
|
|
2119
2100
|
break;
|
|
2120
2101
|
}
|
|
2121
2102
|
case 'DateFunctionAggregation': {
|
|
2122
2103
|
const weekInYearState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2123
|
-
|
|
2104
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, weekInYearState);
|
|
2124
2105
|
break;
|
|
2125
2106
|
}
|
|
2126
2107
|
}
|
|
2127
2108
|
}
|
|
2128
2109
|
// Deal with mapped types' cache keys
|
|
2129
|
-
return cacheKeySink;
|
|
2130
2110
|
}
|
|
2131
2111
|
function getFieldType$Y(field) {
|
|
2132
2112
|
switch (field.name.value) {
|
|
@@ -2392,10 +2372,9 @@ function getMinimumSelections$G() {
|
|
|
2392
2372
|
];
|
|
2393
2373
|
return minimumSelections;
|
|
2394
2374
|
}
|
|
2395
|
-
function getTypeCacheKeys$Y(astNode, state) {
|
|
2375
|
+
function getTypeCacheKeys$Y(cacheKeySink, astNode, state) {
|
|
2396
2376
|
const { path, data, luvio } = state;
|
|
2397
2377
|
const rootKey = keyBuilder$Y(luvio, path);
|
|
2398
|
-
const cacheKeySink = new StoreKeyMap();
|
|
2399
2378
|
cacheKeySink.set(rootKey, {
|
|
2400
2379
|
namespace: keyPrefix,
|
|
2401
2380
|
mergeable: true,
|
|
@@ -2403,7 +2382,6 @@ function getTypeCacheKeys$Y(astNode, state) {
|
|
|
2403
2382
|
});
|
|
2404
2383
|
// get all cache keys from normalizable fields
|
|
2405
2384
|
// Deal with mapped types' cache keys
|
|
2406
|
-
return cacheKeySink;
|
|
2407
2385
|
}
|
|
2408
2386
|
function getFieldType$X(field) {
|
|
2409
2387
|
switch (field.name.value) {
|
|
@@ -2580,10 +2558,9 @@ function select$10(field, variables, fragments) {
|
|
|
2580
2558
|
return selectCalculateSink(sink, field, buildSelectionForNode$T, source, reader, variables, fragments, parentRecordId);
|
|
2581
2559
|
};
|
|
2582
2560
|
}
|
|
2583
|
-
function getTypeCacheKeys$X(astNode, state) {
|
|
2561
|
+
function getTypeCacheKeys$X(cacheKeySink, astNode, state) {
|
|
2584
2562
|
const { path, data, luvio } = state;
|
|
2585
2563
|
const rootKey = keyBuilder$X(luvio, path);
|
|
2586
|
-
const cacheKeySink = new StoreKeyMap();
|
|
2587
2564
|
cacheKeySink.set(rootKey, {
|
|
2588
2565
|
namespace: keyPrefix,
|
|
2589
2566
|
mergeable: true,
|
|
@@ -2591,7 +2568,6 @@ function getTypeCacheKeys$X(astNode, state) {
|
|
|
2591
2568
|
});
|
|
2592
2569
|
// get all cache keys from normalizable fields
|
|
2593
2570
|
// Deal with mapped types' cache keys
|
|
2594
|
-
return cacheKeySink;
|
|
2595
2571
|
}
|
|
2596
2572
|
function getFieldType$W(field) {
|
|
2597
2573
|
switch (field.name.value) {
|
|
@@ -2729,10 +2705,9 @@ function getMinimumSelections$E() {
|
|
|
2729
2705
|
];
|
|
2730
2706
|
return minimumSelections;
|
|
2731
2707
|
}
|
|
2732
|
-
function getTypeCacheKeys$W(astNode, state) {
|
|
2708
|
+
function getTypeCacheKeys$W(cacheKeySink, astNode, state) {
|
|
2733
2709
|
const { path, data, luvio } = state;
|
|
2734
2710
|
const rootKey = keyBuilder$W(luvio, path);
|
|
2735
|
-
const cacheKeySink = new StoreKeyMap();
|
|
2736
2711
|
cacheKeySink.set(rootKey, {
|
|
2737
2712
|
namespace: keyPrefix,
|
|
2738
2713
|
mergeable: true,
|
|
@@ -2754,13 +2729,12 @@ function getTypeCacheKeys$W(astNode, state) {
|
|
|
2754
2729
|
switch (fieldType.typename) {
|
|
2755
2730
|
case 'ObjectInfo': {
|
|
2756
2731
|
const objectInfoState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
2757
|
-
|
|
2732
|
+
getTypeCacheKeys$R(cacheKeySink, requestedField, objectInfoState);
|
|
2758
2733
|
break;
|
|
2759
2734
|
}
|
|
2760
2735
|
}
|
|
2761
2736
|
}
|
|
2762
2737
|
// Deal with mapped types' cache keys
|
|
2763
|
-
return cacheKeySink;
|
|
2764
2738
|
}
|
|
2765
2739
|
function getFieldType$V(field) {
|
|
2766
2740
|
switch (field.name.value) {
|
|
@@ -2919,10 +2893,9 @@ function getMinimumSelections$D() {
|
|
|
2919
2893
|
];
|
|
2920
2894
|
return minimumSelections;
|
|
2921
2895
|
}
|
|
2922
|
-
function getTypeCacheKeys$V(astNode, state) {
|
|
2896
|
+
function getTypeCacheKeys$V(cacheKeySink, astNode, state) {
|
|
2923
2897
|
const { path, data, luvio } = state;
|
|
2924
2898
|
const rootKey = keyBuilder$V(luvio, path);
|
|
2925
|
-
const cacheKeySink = new StoreKeyMap();
|
|
2926
2899
|
cacheKeySink.set(rootKey, {
|
|
2927
2900
|
namespace: keyPrefix,
|
|
2928
2901
|
mergeable: true,
|
|
@@ -2930,7 +2903,6 @@ function getTypeCacheKeys$V(astNode, state) {
|
|
|
2930
2903
|
});
|
|
2931
2904
|
// get all cache keys from normalizable fields
|
|
2932
2905
|
// Deal with mapped types' cache keys
|
|
2933
|
-
return cacheKeySink;
|
|
2934
2906
|
}
|
|
2935
2907
|
function getFieldType$U(field) {
|
|
2936
2908
|
switch (field.name.value) {
|
|
@@ -3065,10 +3037,9 @@ function getMinimumSelections$C() {
|
|
|
3065
3037
|
];
|
|
3066
3038
|
return minimumSelections;
|
|
3067
3039
|
}
|
|
3068
|
-
function getTypeCacheKeys$U(astNode, state) {
|
|
3040
|
+
function getTypeCacheKeys$U(cacheKeySink, astNode, state) {
|
|
3069
3041
|
const { path, data, luvio } = state;
|
|
3070
3042
|
const rootKey = keyBuilder$U(luvio, path);
|
|
3071
|
-
const cacheKeySink = new StoreKeyMap();
|
|
3072
3043
|
cacheKeySink.set(rootKey, {
|
|
3073
3044
|
namespace: keyPrefix,
|
|
3074
3045
|
mergeable: true,
|
|
@@ -3076,7 +3047,6 @@ function getTypeCacheKeys$U(astNode, state) {
|
|
|
3076
3047
|
});
|
|
3077
3048
|
// get all cache keys from normalizable fields
|
|
3078
3049
|
// Deal with mapped types' cache keys
|
|
3079
|
-
return cacheKeySink;
|
|
3080
3050
|
}
|
|
3081
3051
|
function getFieldType$T(field) {
|
|
3082
3052
|
switch (field.name.value) {
|
|
@@ -3244,10 +3214,9 @@ function getMinimumSelections$B() {
|
|
|
3244
3214
|
];
|
|
3245
3215
|
return minimumSelections;
|
|
3246
3216
|
}
|
|
3247
|
-
function getTypeCacheKeys$T(astNode, state) {
|
|
3217
|
+
function getTypeCacheKeys$T(cacheKeySink, astNode, state) {
|
|
3248
3218
|
const { path, data, luvio } = state;
|
|
3249
3219
|
const rootKey = keyBuilder$T(luvio, path);
|
|
3250
|
-
const cacheKeySink = new StoreKeyMap();
|
|
3251
3220
|
cacheKeySink.set(rootKey, {
|
|
3252
3221
|
namespace: keyPrefix,
|
|
3253
3222
|
mergeable: true,
|
|
@@ -3269,7 +3238,7 @@ function getTypeCacheKeys$T(astNode, state) {
|
|
|
3269
3238
|
switch (fieldType.typename) {
|
|
3270
3239
|
case 'FilteredLookupInfo': {
|
|
3271
3240
|
const filteredLookupInfoState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
3272
|
-
|
|
3241
|
+
getTypeCacheKeys$U(cacheKeySink, requestedField, filteredLookupInfoState);
|
|
3273
3242
|
break;
|
|
3274
3243
|
}
|
|
3275
3244
|
case 'ReferenceToInfo': {
|
|
@@ -3285,14 +3254,13 @@ function getTypeCacheKeys$T(astNode, state) {
|
|
|
3285
3254
|
},
|
|
3286
3255
|
data: item,
|
|
3287
3256
|
};
|
|
3288
|
-
|
|
3257
|
+
getTypeCacheKeys$Q(cacheKeySink, requestedField, itemState);
|
|
3289
3258
|
}
|
|
3290
3259
|
break;
|
|
3291
3260
|
}
|
|
3292
3261
|
}
|
|
3293
3262
|
}
|
|
3294
3263
|
// Deal with mapped types' cache keys
|
|
3295
|
-
return cacheKeySink;
|
|
3296
3264
|
}
|
|
3297
3265
|
function getFieldType$S(field) {
|
|
3298
3266
|
switch (field.name.value) {
|
|
@@ -3610,10 +3578,9 @@ function getMinimumSelections$A() {
|
|
|
3610
3578
|
];
|
|
3611
3579
|
return minimumSelections;
|
|
3612
3580
|
}
|
|
3613
|
-
function getTypeCacheKeys$S(astNode, state) {
|
|
3581
|
+
function getTypeCacheKeys$S(cacheKeySink, astNode, state) {
|
|
3614
3582
|
const { path, data, luvio } = state;
|
|
3615
3583
|
const rootKey = keyBuilder$S(luvio, path);
|
|
3616
|
-
const cacheKeySink = new StoreKeyMap();
|
|
3617
3584
|
cacheKeySink.set(rootKey, {
|
|
3618
3585
|
namespace: keyPrefix,
|
|
3619
3586
|
mergeable: true,
|
|
@@ -3621,7 +3588,6 @@ function getTypeCacheKeys$S(astNode, state) {
|
|
|
3621
3588
|
});
|
|
3622
3589
|
// get all cache keys from normalizable fields
|
|
3623
3590
|
// Deal with mapped types' cache keys
|
|
3624
|
-
return cacheKeySink;
|
|
3625
3591
|
}
|
|
3626
3592
|
function getFieldType$R(field) {
|
|
3627
3593
|
switch (field.name.value) {
|
|
@@ -3782,10 +3748,9 @@ function getMinimumSelections$z() {
|
|
|
3782
3748
|
];
|
|
3783
3749
|
return minimumSelections;
|
|
3784
3750
|
}
|
|
3785
|
-
function getTypeCacheKeys$R(astNode, state) {
|
|
3751
|
+
function getTypeCacheKeys$R(cacheKeySink, astNode, state) {
|
|
3786
3752
|
const { path, data, luvio } = state;
|
|
3787
3753
|
const rootKey = keyBuilder$R(luvio, path);
|
|
3788
|
-
const cacheKeySink = new StoreKeyMap();
|
|
3789
3754
|
cacheKeySink.set(rootKey, {
|
|
3790
3755
|
namespace: keyPrefix,
|
|
3791
3756
|
mergeable: true,
|
|
@@ -3818,7 +3783,7 @@ function getTypeCacheKeys$R(astNode, state) {
|
|
|
3818
3783
|
},
|
|
3819
3784
|
data: item,
|
|
3820
3785
|
};
|
|
3821
|
-
|
|
3786
|
+
getTypeCacheKeys$W(cacheKeySink, requestedField, itemState);
|
|
3822
3787
|
}
|
|
3823
3788
|
break;
|
|
3824
3789
|
}
|
|
@@ -3835,7 +3800,7 @@ function getTypeCacheKeys$R(astNode, state) {
|
|
|
3835
3800
|
},
|
|
3836
3801
|
data: item,
|
|
3837
3802
|
};
|
|
3838
|
-
|
|
3803
|
+
getTypeCacheKeys$V(cacheKeySink, requestedField, itemState);
|
|
3839
3804
|
}
|
|
3840
3805
|
break;
|
|
3841
3806
|
}
|
|
@@ -3852,7 +3817,7 @@ function getTypeCacheKeys$R(astNode, state) {
|
|
|
3852
3817
|
},
|
|
3853
3818
|
data: item,
|
|
3854
3819
|
};
|
|
3855
|
-
|
|
3820
|
+
getTypeCacheKeys$T(cacheKeySink, requestedField, itemState);
|
|
3856
3821
|
}
|
|
3857
3822
|
break;
|
|
3858
3823
|
}
|
|
@@ -3869,19 +3834,18 @@ function getTypeCacheKeys$R(astNode, state) {
|
|
|
3869
3834
|
},
|
|
3870
3835
|
data: item,
|
|
3871
3836
|
};
|
|
3872
|
-
|
|
3837
|
+
getTypeCacheKeys$Y(cacheKeySink, requestedField, itemState);
|
|
3873
3838
|
}
|
|
3874
3839
|
break;
|
|
3875
3840
|
}
|
|
3876
3841
|
case 'ThemeInfo': {
|
|
3877
3842
|
const themeInfoState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
3878
|
-
|
|
3843
|
+
getTypeCacheKeys$S(cacheKeySink, requestedField, themeInfoState);
|
|
3879
3844
|
break;
|
|
3880
3845
|
}
|
|
3881
3846
|
}
|
|
3882
3847
|
}
|
|
3883
3848
|
// Deal with mapped types' cache keys
|
|
3884
|
-
return cacheKeySink;
|
|
3885
3849
|
}
|
|
3886
3850
|
function getFieldType$Q(field) {
|
|
3887
3851
|
switch (field.name.value) {
|
|
@@ -4156,10 +4120,9 @@ function getMinimumSelections$y() {
|
|
|
4156
4120
|
];
|
|
4157
4121
|
return minimumSelections;
|
|
4158
4122
|
}
|
|
4159
|
-
function getTypeCacheKeys$Q(astNode, state) {
|
|
4123
|
+
function getTypeCacheKeys$Q(cacheKeySink, astNode, state) {
|
|
4160
4124
|
const { path, data, luvio } = state;
|
|
4161
4125
|
const rootKey = keyBuilder$Q(luvio, path);
|
|
4162
|
-
const cacheKeySink = new StoreKeyMap();
|
|
4163
4126
|
cacheKeySink.set(rootKey, {
|
|
4164
4127
|
namespace: keyPrefix,
|
|
4165
4128
|
mergeable: true,
|
|
@@ -4181,13 +4144,12 @@ function getTypeCacheKeys$Q(astNode, state) {
|
|
|
4181
4144
|
switch (fieldType.typename) {
|
|
4182
4145
|
case 'ObjectInfo': {
|
|
4183
4146
|
const objectInfoState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4184
|
-
|
|
4147
|
+
getTypeCacheKeys$R(cacheKeySink, requestedField, objectInfoState);
|
|
4185
4148
|
break;
|
|
4186
4149
|
}
|
|
4187
4150
|
}
|
|
4188
4151
|
}
|
|
4189
4152
|
// Deal with mapped types' cache keys
|
|
4190
|
-
return cacheKeySink;
|
|
4191
4153
|
}
|
|
4192
4154
|
function getFieldType$P(field) {
|
|
4193
4155
|
switch (field.name.value) {
|
|
@@ -4321,10 +4283,9 @@ function select$U(field, variables, fragments) {
|
|
|
4321
4283
|
return selectCalculateSink(sink, field, buildSelectionForNode$L, source, reader, variables, fragments, parentRecordId);
|
|
4322
4284
|
};
|
|
4323
4285
|
}
|
|
4324
|
-
function getTypeCacheKeys$P(astNode, state) {
|
|
4286
|
+
function getTypeCacheKeys$P(cacheKeySink, astNode, state) {
|
|
4325
4287
|
const { path, data, luvio } = state;
|
|
4326
4288
|
const rootKey = keyBuilder$P(luvio, path);
|
|
4327
|
-
const cacheKeySink = new StoreKeyMap();
|
|
4328
4289
|
cacheKeySink.set(rootKey, {
|
|
4329
4290
|
namespace: keyPrefix,
|
|
4330
4291
|
mergeable: true,
|
|
@@ -4332,7 +4293,6 @@ function getTypeCacheKeys$P(astNode, state) {
|
|
|
4332
4293
|
});
|
|
4333
4294
|
// get all cache keys from normalizable fields
|
|
4334
4295
|
// Deal with mapped types' cache keys
|
|
4335
|
-
return cacheKeySink;
|
|
4336
4296
|
}
|
|
4337
4297
|
function getFieldType$O(field) {
|
|
4338
4298
|
switch (field.name.value) {
|
|
@@ -4459,10 +4419,9 @@ function select$T(field, variables, fragments) {
|
|
|
4459
4419
|
return selectCalculateSink(sink, field, buildSelectionForNode$K, source, reader, variables, fragments, parentRecordId);
|
|
4460
4420
|
};
|
|
4461
4421
|
}
|
|
4462
|
-
function getTypeCacheKeys$O(astNode, state) {
|
|
4422
|
+
function getTypeCacheKeys$O(cacheKeySink, astNode, state) {
|
|
4463
4423
|
const { path, data, luvio } = state;
|
|
4464
4424
|
const rootKey = keyBuilder$O(luvio, path);
|
|
4465
|
-
const cacheKeySink = new StoreKeyMap();
|
|
4466
4425
|
cacheKeySink.set(rootKey, {
|
|
4467
4426
|
namespace: keyPrefix,
|
|
4468
4427
|
mergeable: true,
|
|
@@ -4470,7 +4429,6 @@ function getTypeCacheKeys$O(astNode, state) {
|
|
|
4470
4429
|
});
|
|
4471
4430
|
// get all cache keys from normalizable fields
|
|
4472
4431
|
// Deal with mapped types' cache keys
|
|
4473
|
-
return cacheKeySink;
|
|
4474
4432
|
}
|
|
4475
4433
|
function getFieldType$N(field) {
|
|
4476
4434
|
switch (field.name.value) {
|
|
@@ -4621,10 +4579,9 @@ function getMinimumSelections$x() {
|
|
|
4621
4579
|
];
|
|
4622
4580
|
return minimumSelections;
|
|
4623
4581
|
}
|
|
4624
|
-
function getTypeCacheKeys$N(astNode, state) {
|
|
4582
|
+
function getTypeCacheKeys$N(cacheKeySink, astNode, state) {
|
|
4625
4583
|
const { path, data, luvio } = state;
|
|
4626
4584
|
const rootKey = keyBuilder$N(luvio, path);
|
|
4627
|
-
const cacheKeySink = new StoreKeyMap();
|
|
4628
4585
|
cacheKeySink.set(rootKey, {
|
|
4629
4586
|
namespace: keyPrefix,
|
|
4630
4587
|
mergeable: true,
|
|
@@ -4646,43 +4603,42 @@ function getTypeCacheKeys$N(astNode, state) {
|
|
|
4646
4603
|
switch (fieldType.typename) {
|
|
4647
4604
|
case 'DoubleValue': {
|
|
4648
4605
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4649
|
-
|
|
4606
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
4650
4607
|
break;
|
|
4651
4608
|
}
|
|
4652
4609
|
case 'LongValue': {
|
|
4653
4610
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4654
|
-
|
|
4611
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
4655
4612
|
break;
|
|
4656
4613
|
}
|
|
4657
4614
|
case 'LongValue': {
|
|
4658
4615
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4659
|
-
|
|
4616
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
4660
4617
|
break;
|
|
4661
4618
|
}
|
|
4662
4619
|
case 'IntValue': {
|
|
4663
4620
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4664
|
-
|
|
4621
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
4665
4622
|
break;
|
|
4666
4623
|
}
|
|
4667
4624
|
case 'LongValue': {
|
|
4668
4625
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4669
|
-
|
|
4626
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, maxState);
|
|
4670
4627
|
break;
|
|
4671
4628
|
}
|
|
4672
4629
|
case 'LongValue': {
|
|
4673
4630
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4674
|
-
|
|
4631
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, minState);
|
|
4675
4632
|
break;
|
|
4676
4633
|
}
|
|
4677
4634
|
case 'LongValue': {
|
|
4678
4635
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
4679
|
-
|
|
4636
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, sumState);
|
|
4680
4637
|
break;
|
|
4681
4638
|
}
|
|
4682
4639
|
}
|
|
4683
4640
|
}
|
|
4684
4641
|
// Deal with mapped types' cache keys
|
|
4685
|
-
return cacheKeySink;
|
|
4686
4642
|
}
|
|
4687
4643
|
function getFieldType$M(field) {
|
|
4688
4644
|
switch (field.name.value) {
|
|
@@ -4872,10 +4828,9 @@ function select$R(field, variables, fragments) {
|
|
|
4872
4828
|
return selectCalculateSink(sink, field, buildSelectionForNode$I, source, reader, variables, fragments, parentRecordId);
|
|
4873
4829
|
};
|
|
4874
4830
|
}
|
|
4875
|
-
function getTypeCacheKeys$M(astNode, state) {
|
|
4831
|
+
function getTypeCacheKeys$M(cacheKeySink, astNode, state) {
|
|
4876
4832
|
const { path, data, luvio } = state;
|
|
4877
4833
|
const rootKey = keyBuilder$M(luvio, path);
|
|
4878
|
-
const cacheKeySink = new StoreKeyMap();
|
|
4879
4834
|
cacheKeySink.set(rootKey, {
|
|
4880
4835
|
namespace: keyPrefix,
|
|
4881
4836
|
mergeable: true,
|
|
@@ -4883,7 +4838,6 @@ function getTypeCacheKeys$M(astNode, state) {
|
|
|
4883
4838
|
});
|
|
4884
4839
|
// get all cache keys from normalizable fields
|
|
4885
4840
|
// Deal with mapped types' cache keys
|
|
4886
|
-
return cacheKeySink;
|
|
4887
4841
|
}
|
|
4888
4842
|
function getFieldType$L(field) {
|
|
4889
4843
|
switch (field.name.value) {
|
|
@@ -5034,10 +4988,9 @@ function getMinimumSelections$w() {
|
|
|
5034
4988
|
];
|
|
5035
4989
|
return minimumSelections;
|
|
5036
4990
|
}
|
|
5037
|
-
function getTypeCacheKeys$L(astNode, state) {
|
|
4991
|
+
function getTypeCacheKeys$L(cacheKeySink, astNode, state) {
|
|
5038
4992
|
const { path, data, luvio } = state;
|
|
5039
4993
|
const rootKey = keyBuilder$L(luvio, path);
|
|
5040
|
-
const cacheKeySink = new StoreKeyMap();
|
|
5041
4994
|
cacheKeySink.set(rootKey, {
|
|
5042
4995
|
namespace: keyPrefix,
|
|
5043
4996
|
mergeable: true,
|
|
@@ -5059,33 +5012,32 @@ function getTypeCacheKeys$L(astNode, state) {
|
|
|
5059
5012
|
switch (fieldType.typename) {
|
|
5060
5013
|
case 'LongValue': {
|
|
5061
5014
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5062
|
-
|
|
5015
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
5063
5016
|
break;
|
|
5064
5017
|
}
|
|
5065
5018
|
case 'LongValue': {
|
|
5066
5019
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5067
|
-
|
|
5020
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
5068
5021
|
break;
|
|
5069
5022
|
}
|
|
5070
5023
|
case 'IntValue': {
|
|
5071
5024
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5072
|
-
|
|
5025
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
5073
5026
|
break;
|
|
5074
5027
|
}
|
|
5075
5028
|
case 'PhoneNumberValue': {
|
|
5076
5029
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5077
|
-
|
|
5030
|
+
getTypeCacheKeys$M(cacheKeySink, requestedField, maxState);
|
|
5078
5031
|
break;
|
|
5079
5032
|
}
|
|
5080
5033
|
case 'PhoneNumberValue': {
|
|
5081
5034
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5082
|
-
|
|
5035
|
+
getTypeCacheKeys$M(cacheKeySink, requestedField, minState);
|
|
5083
5036
|
break;
|
|
5084
5037
|
}
|
|
5085
5038
|
}
|
|
5086
5039
|
}
|
|
5087
5040
|
// Deal with mapped types' cache keys
|
|
5088
|
-
return cacheKeySink;
|
|
5089
5041
|
}
|
|
5090
5042
|
function getFieldType$K(field) {
|
|
5091
5043
|
switch (field.name.value) {
|
|
@@ -5257,10 +5209,9 @@ function select$P(field, variables, fragments) {
|
|
|
5257
5209
|
return selectCalculateSink(sink, field, buildSelectionForNode$G, source, reader, variables, fragments, parentRecordId);
|
|
5258
5210
|
};
|
|
5259
5211
|
}
|
|
5260
|
-
function getTypeCacheKeys$K(astNode, state) {
|
|
5212
|
+
function getTypeCacheKeys$K(cacheKeySink, astNode, state) {
|
|
5261
5213
|
const { path, data, luvio } = state;
|
|
5262
5214
|
const rootKey = keyBuilder$K(luvio, path);
|
|
5263
|
-
const cacheKeySink = new StoreKeyMap();
|
|
5264
5215
|
cacheKeySink.set(rootKey, {
|
|
5265
5216
|
namespace: keyPrefix,
|
|
5266
5217
|
mergeable: true,
|
|
@@ -5268,7 +5219,6 @@ function getTypeCacheKeys$K(astNode, state) {
|
|
|
5268
5219
|
});
|
|
5269
5220
|
// get all cache keys from normalizable fields
|
|
5270
5221
|
// Deal with mapped types' cache keys
|
|
5271
|
-
return cacheKeySink;
|
|
5272
5222
|
}
|
|
5273
5223
|
function getFieldType$J(field) {
|
|
5274
5224
|
switch (field.name.value) {
|
|
@@ -5401,10 +5351,9 @@ function select$O(field, variables, fragments) {
|
|
|
5401
5351
|
return selectCalculateSink(sink, field, buildSelectionForNode$F, source, reader, variables, fragments, parentRecordId);
|
|
5402
5352
|
};
|
|
5403
5353
|
}
|
|
5404
|
-
function getTypeCacheKeys$J(astNode, state) {
|
|
5354
|
+
function getTypeCacheKeys$J(cacheKeySink, astNode, state) {
|
|
5405
5355
|
const { path, data, luvio } = state;
|
|
5406
5356
|
const rootKey = keyBuilder$J(luvio, path);
|
|
5407
|
-
const cacheKeySink = new StoreKeyMap();
|
|
5408
5357
|
cacheKeySink.set(rootKey, {
|
|
5409
5358
|
namespace: keyPrefix,
|
|
5410
5359
|
mergeable: true,
|
|
@@ -5412,7 +5361,6 @@ function getTypeCacheKeys$J(astNode, state) {
|
|
|
5412
5361
|
});
|
|
5413
5362
|
// get all cache keys from normalizable fields
|
|
5414
5363
|
// Deal with mapped types' cache keys
|
|
5415
|
-
return cacheKeySink;
|
|
5416
5364
|
}
|
|
5417
5365
|
function getFieldType$I(field) {
|
|
5418
5366
|
switch (field.name.value) {
|
|
@@ -5569,10 +5517,9 @@ function getMinimumSelections$v() {
|
|
|
5569
5517
|
];
|
|
5570
5518
|
return minimumSelections;
|
|
5571
5519
|
}
|
|
5572
|
-
function getTypeCacheKeys$I(astNode, state) {
|
|
5520
|
+
function getTypeCacheKeys$I(cacheKeySink, astNode, state) {
|
|
5573
5521
|
const { path, data, luvio } = state;
|
|
5574
5522
|
const rootKey = keyBuilder$I(luvio, path);
|
|
5575
|
-
const cacheKeySink = new StoreKeyMap();
|
|
5576
5523
|
cacheKeySink.set(rootKey, {
|
|
5577
5524
|
namespace: keyPrefix,
|
|
5578
5525
|
mergeable: true,
|
|
@@ -5594,38 +5541,37 @@ function getTypeCacheKeys$I(astNode, state) {
|
|
|
5594
5541
|
switch (fieldType.typename) {
|
|
5595
5542
|
case 'DoubleValue': {
|
|
5596
5543
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5597
|
-
|
|
5544
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
5598
5545
|
break;
|
|
5599
5546
|
}
|
|
5600
5547
|
case 'LongValue': {
|
|
5601
5548
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5602
|
-
|
|
5549
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
5603
5550
|
break;
|
|
5604
5551
|
}
|
|
5605
5552
|
case 'LongValue': {
|
|
5606
5553
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5607
|
-
|
|
5554
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
5608
5555
|
break;
|
|
5609
5556
|
}
|
|
5610
5557
|
case 'CurrencyValue': {
|
|
5611
5558
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5612
|
-
|
|
5559
|
+
getTypeCacheKeys$J(cacheKeySink, requestedField, maxState);
|
|
5613
5560
|
break;
|
|
5614
5561
|
}
|
|
5615
5562
|
case 'CurrencyValue': {
|
|
5616
5563
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5617
|
-
|
|
5564
|
+
getTypeCacheKeys$J(cacheKeySink, requestedField, minState);
|
|
5618
5565
|
break;
|
|
5619
5566
|
}
|
|
5620
5567
|
case 'CurrencyValue': {
|
|
5621
5568
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
5622
|
-
|
|
5569
|
+
getTypeCacheKeys$J(cacheKeySink, requestedField, sumState);
|
|
5623
5570
|
break;
|
|
5624
5571
|
}
|
|
5625
5572
|
}
|
|
5626
5573
|
}
|
|
5627
5574
|
// Deal with mapped types' cache keys
|
|
5628
|
-
return cacheKeySink;
|
|
5629
5575
|
}
|
|
5630
5576
|
function getFieldType$H(field) {
|
|
5631
5577
|
switch (field.name.value) {
|
|
@@ -5809,10 +5755,9 @@ function select$M(field, variables, fragments) {
|
|
|
5809
5755
|
return selectCalculateSink(sink, field, buildSelectionForNode$D, source, reader, variables, fragments, parentRecordId);
|
|
5810
5756
|
};
|
|
5811
5757
|
}
|
|
5812
|
-
function getTypeCacheKeys$H(astNode, state) {
|
|
5758
|
+
function getTypeCacheKeys$H(cacheKeySink, astNode, state) {
|
|
5813
5759
|
const { path, data, luvio } = state;
|
|
5814
5760
|
const rootKey = keyBuilder$H(luvio, path);
|
|
5815
|
-
const cacheKeySink = new StoreKeyMap();
|
|
5816
5761
|
cacheKeySink.set(rootKey, {
|
|
5817
5762
|
namespace: keyPrefix,
|
|
5818
5763
|
mergeable: true,
|
|
@@ -5820,7 +5765,6 @@ function getTypeCacheKeys$H(astNode, state) {
|
|
|
5820
5765
|
});
|
|
5821
5766
|
// get all cache keys from normalizable fields
|
|
5822
5767
|
// Deal with mapped types' cache keys
|
|
5823
|
-
return cacheKeySink;
|
|
5824
5768
|
}
|
|
5825
5769
|
function getFieldType$G(field) {
|
|
5826
5770
|
switch (field.name.value) {
|
|
@@ -6101,10 +6045,9 @@ function select$L(field, variables, fragments) {
|
|
|
6101
6045
|
return selectCalculateSink(sink, field, buildSelectionForNode$C, source, reader, variables, fragments, parentRecordId);
|
|
6102
6046
|
};
|
|
6103
6047
|
}
|
|
6104
|
-
function getTypeCacheKeys$G(astNode, state) {
|
|
6048
|
+
function getTypeCacheKeys$G(cacheKeySink, astNode, state) {
|
|
6105
6049
|
const { path, data, luvio } = state;
|
|
6106
6050
|
const rootKey = keyBuilder$G(luvio, path);
|
|
6107
|
-
const cacheKeySink = new StoreKeyMap();
|
|
6108
6051
|
cacheKeySink.set(rootKey, {
|
|
6109
6052
|
namespace: keyPrefix,
|
|
6110
6053
|
mergeable: true,
|
|
@@ -6112,7 +6055,6 @@ function getTypeCacheKeys$G(astNode, state) {
|
|
|
6112
6055
|
});
|
|
6113
6056
|
// get all cache keys from normalizable fields
|
|
6114
6057
|
// Deal with mapped types' cache keys
|
|
6115
|
-
return cacheKeySink;
|
|
6116
6058
|
}
|
|
6117
6059
|
function getFieldType$E(field) {
|
|
6118
6060
|
switch (field.name.value) {
|
|
@@ -6263,10 +6205,9 @@ function getMinimumSelections$t() {
|
|
|
6263
6205
|
];
|
|
6264
6206
|
return minimumSelections;
|
|
6265
6207
|
}
|
|
6266
|
-
function getTypeCacheKeys$F(astNode, state) {
|
|
6208
|
+
function getTypeCacheKeys$F(cacheKeySink, astNode, state) {
|
|
6267
6209
|
const { path, data, luvio } = state;
|
|
6268
6210
|
const rootKey = keyBuilder$F(luvio, path);
|
|
6269
|
-
const cacheKeySink = new StoreKeyMap();
|
|
6270
6211
|
cacheKeySink.set(rootKey, {
|
|
6271
6212
|
namespace: keyPrefix,
|
|
6272
6213
|
mergeable: true,
|
|
@@ -6288,33 +6229,32 @@ function getTypeCacheKeys$F(astNode, state) {
|
|
|
6288
6229
|
switch (fieldType.typename) {
|
|
6289
6230
|
case 'LongValue': {
|
|
6290
6231
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
6291
|
-
|
|
6232
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
6292
6233
|
break;
|
|
6293
6234
|
}
|
|
6294
6235
|
case 'LongValue': {
|
|
6295
6236
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
6296
|
-
|
|
6237
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
6297
6238
|
break;
|
|
6298
6239
|
}
|
|
6299
6240
|
case 'IntValue': {
|
|
6300
6241
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
6301
|
-
|
|
6242
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
6302
6243
|
break;
|
|
6303
6244
|
}
|
|
6304
6245
|
case 'EmailValue': {
|
|
6305
6246
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
6306
|
-
|
|
6247
|
+
getTypeCacheKeys$G(cacheKeySink, requestedField, maxState);
|
|
6307
6248
|
break;
|
|
6308
6249
|
}
|
|
6309
6250
|
case 'EmailValue': {
|
|
6310
6251
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
6311
|
-
|
|
6252
|
+
getTypeCacheKeys$G(cacheKeySink, requestedField, minState);
|
|
6312
6253
|
break;
|
|
6313
6254
|
}
|
|
6314
6255
|
}
|
|
6315
6256
|
}
|
|
6316
6257
|
// Deal with mapped types' cache keys
|
|
6317
|
-
return cacheKeySink;
|
|
6318
6258
|
}
|
|
6319
6259
|
function getFieldType$D(field) {
|
|
6320
6260
|
switch (field.name.value) {
|
|
@@ -6486,10 +6426,9 @@ function select$J(field, variables, fragments) {
|
|
|
6486
6426
|
return selectCalculateSink(sink, field, buildSelectionForNode$A, source, reader, variables, fragments, parentRecordId);
|
|
6487
6427
|
};
|
|
6488
6428
|
}
|
|
6489
|
-
function getTypeCacheKeys$E(astNode, state) {
|
|
6429
|
+
function getTypeCacheKeys$E(cacheKeySink, astNode, state) {
|
|
6490
6430
|
const { path, data, luvio } = state;
|
|
6491
6431
|
const rootKey = keyBuilder$E(luvio, path);
|
|
6492
|
-
const cacheKeySink = new StoreKeyMap();
|
|
6493
6432
|
cacheKeySink.set(rootKey, {
|
|
6494
6433
|
namespace: keyPrefix,
|
|
6495
6434
|
mergeable: true,
|
|
@@ -6497,7 +6436,6 @@ function getTypeCacheKeys$E(astNode, state) {
|
|
|
6497
6436
|
});
|
|
6498
6437
|
// get all cache keys from normalizable fields
|
|
6499
6438
|
// Deal with mapped types' cache keys
|
|
6500
|
-
return cacheKeySink;
|
|
6501
6439
|
}
|
|
6502
6440
|
function getFieldType$C(field) {
|
|
6503
6441
|
switch (field.name.value) {
|
|
@@ -6624,10 +6562,9 @@ function select$I(field, variables, fragments) {
|
|
|
6624
6562
|
return selectCalculateSink(sink, field, buildSelectionForNode$z, source, reader, variables, fragments, parentRecordId);
|
|
6625
6563
|
};
|
|
6626
6564
|
}
|
|
6627
|
-
function getTypeCacheKeys$D(astNode, state) {
|
|
6565
|
+
function getTypeCacheKeys$D(cacheKeySink, astNode, state) {
|
|
6628
6566
|
const { path, data, luvio } = state;
|
|
6629
6567
|
const rootKey = keyBuilder$D(luvio, path);
|
|
6630
|
-
const cacheKeySink = new StoreKeyMap();
|
|
6631
6568
|
cacheKeySink.set(rootKey, {
|
|
6632
6569
|
namespace: keyPrefix,
|
|
6633
6570
|
mergeable: true,
|
|
@@ -6635,7 +6572,6 @@ function getTypeCacheKeys$D(astNode, state) {
|
|
|
6635
6572
|
});
|
|
6636
6573
|
// get all cache keys from normalizable fields
|
|
6637
6574
|
// Deal with mapped types' cache keys
|
|
6638
|
-
return cacheKeySink;
|
|
6639
6575
|
}
|
|
6640
6576
|
function getFieldType$B(field) {
|
|
6641
6577
|
switch (field.name.value) {
|
|
@@ -6784,10 +6720,9 @@ function getMinimumSelections$s() {
|
|
|
6784
6720
|
];
|
|
6785
6721
|
return minimumSelections;
|
|
6786
6722
|
}
|
|
6787
|
-
function getTypeCacheKeys$C(astNode, state) {
|
|
6723
|
+
function getTypeCacheKeys$C(cacheKeySink, astNode, state) {
|
|
6788
6724
|
const { path, data, luvio } = state;
|
|
6789
6725
|
const rootKey = keyBuilder$C(luvio, path);
|
|
6790
|
-
const cacheKeySink = new StoreKeyMap();
|
|
6791
6726
|
cacheKeySink.set(rootKey, {
|
|
6792
6727
|
namespace: keyPrefix,
|
|
6793
6728
|
mergeable: true,
|
|
@@ -6809,13 +6744,12 @@ function getTypeCacheKeys$C(astNode, state) {
|
|
|
6809
6744
|
switch (fieldType.typename) {
|
|
6810
6745
|
case 'DateFunctionAggregation': {
|
|
6811
6746
|
const hourInDayState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
6812
|
-
|
|
6747
|
+
getTypeCacheKeys$$(cacheKeySink, requestedField, hourInDayState);
|
|
6813
6748
|
break;
|
|
6814
6749
|
}
|
|
6815
6750
|
}
|
|
6816
6751
|
}
|
|
6817
6752
|
// Deal with mapped types' cache keys
|
|
6818
|
-
return cacheKeySink;
|
|
6819
6753
|
}
|
|
6820
6754
|
function getFieldType$A(field) {
|
|
6821
6755
|
switch (field.name.value) {
|
|
@@ -6959,10 +6893,9 @@ function select$G(field, variables, fragments) {
|
|
|
6959
6893
|
return selectCalculateSink(sink, field, buildSelectionForNode$x, source, reader, variables, fragments, parentRecordId);
|
|
6960
6894
|
};
|
|
6961
6895
|
}
|
|
6962
|
-
function getTypeCacheKeys$B(astNode, state) {
|
|
6896
|
+
function getTypeCacheKeys$B(cacheKeySink, astNode, state) {
|
|
6963
6897
|
const { path, data, luvio } = state;
|
|
6964
6898
|
const rootKey = keyBuilder$B(luvio, path);
|
|
6965
|
-
const cacheKeySink = new StoreKeyMap();
|
|
6966
6899
|
cacheKeySink.set(rootKey, {
|
|
6967
6900
|
namespace: keyPrefix,
|
|
6968
6901
|
mergeable: true,
|
|
@@ -6970,7 +6903,6 @@ function getTypeCacheKeys$B(astNode, state) {
|
|
|
6970
6903
|
});
|
|
6971
6904
|
// get all cache keys from normalizable fields
|
|
6972
6905
|
// Deal with mapped types' cache keys
|
|
6973
|
-
return cacheKeySink;
|
|
6974
6906
|
}
|
|
6975
6907
|
function getFieldType$z(field) {
|
|
6976
6908
|
switch (field.name.value) {
|
|
@@ -7121,10 +7053,9 @@ function getMinimumSelections$r() {
|
|
|
7121
7053
|
];
|
|
7122
7054
|
return minimumSelections;
|
|
7123
7055
|
}
|
|
7124
|
-
function getTypeCacheKeys$A(astNode, state) {
|
|
7056
|
+
function getTypeCacheKeys$A(cacheKeySink, astNode, state) {
|
|
7125
7057
|
const { path, data, luvio } = state;
|
|
7126
7058
|
const rootKey = keyBuilder$A(luvio, path);
|
|
7127
|
-
const cacheKeySink = new StoreKeyMap();
|
|
7128
7059
|
cacheKeySink.set(rootKey, {
|
|
7129
7060
|
namespace: keyPrefix,
|
|
7130
7061
|
mergeable: true,
|
|
@@ -7146,38 +7077,37 @@ function getTypeCacheKeys$A(astNode, state) {
|
|
|
7146
7077
|
switch (fieldType.typename) {
|
|
7147
7078
|
case 'DoubleValue': {
|
|
7148
7079
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7149
|
-
|
|
7080
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
7150
7081
|
break;
|
|
7151
7082
|
}
|
|
7152
7083
|
case 'LongValue': {
|
|
7153
7084
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7154
|
-
|
|
7085
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
7155
7086
|
break;
|
|
7156
7087
|
}
|
|
7157
7088
|
case 'LongValue': {
|
|
7158
7089
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7159
|
-
|
|
7090
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
7160
7091
|
break;
|
|
7161
7092
|
}
|
|
7162
7093
|
case 'LatitudeValue': {
|
|
7163
7094
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7164
|
-
|
|
7095
|
+
getTypeCacheKeys$B(cacheKeySink, requestedField, maxState);
|
|
7165
7096
|
break;
|
|
7166
7097
|
}
|
|
7167
7098
|
case 'LatitudeValue': {
|
|
7168
7099
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7169
|
-
|
|
7100
|
+
getTypeCacheKeys$B(cacheKeySink, requestedField, minState);
|
|
7170
7101
|
break;
|
|
7171
7102
|
}
|
|
7172
7103
|
case 'DoubleValue': {
|
|
7173
7104
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7174
|
-
|
|
7105
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, sumState);
|
|
7175
7106
|
break;
|
|
7176
7107
|
}
|
|
7177
7108
|
}
|
|
7178
7109
|
}
|
|
7179
7110
|
// Deal with mapped types' cache keys
|
|
7180
|
-
return cacheKeySink;
|
|
7181
7111
|
}
|
|
7182
7112
|
function getFieldType$y(field) {
|
|
7183
7113
|
switch (field.name.value) {
|
|
@@ -7355,10 +7285,9 @@ function select$E(field, variables, fragments) {
|
|
|
7355
7285
|
return selectCalculateSink(sink, field, buildSelectionForNode$v, source, reader, variables, fragments, parentRecordId);
|
|
7356
7286
|
};
|
|
7357
7287
|
}
|
|
7358
|
-
function getTypeCacheKeys$z(astNode, state) {
|
|
7288
|
+
function getTypeCacheKeys$z(cacheKeySink, astNode, state) {
|
|
7359
7289
|
const { path, data, luvio } = state;
|
|
7360
7290
|
const rootKey = keyBuilder$z(luvio, path);
|
|
7361
|
-
const cacheKeySink = new StoreKeyMap();
|
|
7362
7291
|
cacheKeySink.set(rootKey, {
|
|
7363
7292
|
namespace: keyPrefix,
|
|
7364
7293
|
mergeable: true,
|
|
@@ -7366,7 +7295,6 @@ function getTypeCacheKeys$z(astNode, state) {
|
|
|
7366
7295
|
});
|
|
7367
7296
|
// get all cache keys from normalizable fields
|
|
7368
7297
|
// Deal with mapped types' cache keys
|
|
7369
|
-
return cacheKeySink;
|
|
7370
7298
|
}
|
|
7371
7299
|
function getFieldType$x(field) {
|
|
7372
7300
|
switch (field.name.value) {
|
|
@@ -7517,10 +7445,9 @@ function getMinimumSelections$q() {
|
|
|
7517
7445
|
];
|
|
7518
7446
|
return minimumSelections;
|
|
7519
7447
|
}
|
|
7520
|
-
function getTypeCacheKeys$y(astNode, state) {
|
|
7448
|
+
function getTypeCacheKeys$y(cacheKeySink, astNode, state) {
|
|
7521
7449
|
const { path, data, luvio } = state;
|
|
7522
7450
|
const rootKey = keyBuilder$y(luvio, path);
|
|
7523
|
-
const cacheKeySink = new StoreKeyMap();
|
|
7524
7451
|
cacheKeySink.set(rootKey, {
|
|
7525
7452
|
namespace: keyPrefix,
|
|
7526
7453
|
mergeable: true,
|
|
@@ -7542,38 +7469,37 @@ function getTypeCacheKeys$y(astNode, state) {
|
|
|
7542
7469
|
switch (fieldType.typename) {
|
|
7543
7470
|
case 'DoubleValue': {
|
|
7544
7471
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7545
|
-
|
|
7472
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
7546
7473
|
break;
|
|
7547
7474
|
}
|
|
7548
7475
|
case 'LongValue': {
|
|
7549
7476
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7550
|
-
|
|
7477
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
7551
7478
|
break;
|
|
7552
7479
|
}
|
|
7553
7480
|
case 'LongValue': {
|
|
7554
7481
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7555
|
-
|
|
7482
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
7556
7483
|
break;
|
|
7557
7484
|
}
|
|
7558
7485
|
case 'LongitudeValue': {
|
|
7559
7486
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7560
|
-
|
|
7487
|
+
getTypeCacheKeys$P(cacheKeySink, requestedField, maxState);
|
|
7561
7488
|
break;
|
|
7562
7489
|
}
|
|
7563
7490
|
case 'LongitudeValue': {
|
|
7564
7491
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7565
|
-
|
|
7492
|
+
getTypeCacheKeys$P(cacheKeySink, requestedField, minState);
|
|
7566
7493
|
break;
|
|
7567
7494
|
}
|
|
7568
7495
|
case 'DoubleValue': {
|
|
7569
7496
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7570
|
-
|
|
7497
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, sumState);
|
|
7571
7498
|
break;
|
|
7572
7499
|
}
|
|
7573
7500
|
}
|
|
7574
7501
|
}
|
|
7575
7502
|
// Deal with mapped types' cache keys
|
|
7576
|
-
return cacheKeySink;
|
|
7577
7503
|
}
|
|
7578
7504
|
function getFieldType$w(field) {
|
|
7579
7505
|
switch (field.name.value) {
|
|
@@ -7771,10 +7697,9 @@ function getMinimumSelections$p() {
|
|
|
7771
7697
|
];
|
|
7772
7698
|
return minimumSelections;
|
|
7773
7699
|
}
|
|
7774
|
-
function getTypeCacheKeys$x(astNode, state) {
|
|
7700
|
+
function getTypeCacheKeys$x(cacheKeySink, astNode, state) {
|
|
7775
7701
|
const { path, data, luvio } = state;
|
|
7776
7702
|
const rootKey = keyBuilder$x(luvio, path);
|
|
7777
|
-
const cacheKeySink = new StoreKeyMap();
|
|
7778
7703
|
cacheKeySink.set(rootKey, {
|
|
7779
7704
|
namespace: keyPrefix,
|
|
7780
7705
|
mergeable: true,
|
|
@@ -7796,38 +7721,37 @@ function getTypeCacheKeys$x(astNode, state) {
|
|
|
7796
7721
|
switch (fieldType.typename) {
|
|
7797
7722
|
case 'DoubleValue': {
|
|
7798
7723
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7799
|
-
|
|
7724
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
7800
7725
|
break;
|
|
7801
7726
|
}
|
|
7802
7727
|
case 'LongValue': {
|
|
7803
7728
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7804
|
-
|
|
7729
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
7805
7730
|
break;
|
|
7806
7731
|
}
|
|
7807
7732
|
case 'LongValue': {
|
|
7808
7733
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7809
|
-
|
|
7734
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
7810
7735
|
break;
|
|
7811
7736
|
}
|
|
7812
7737
|
case 'DoubleValue': {
|
|
7813
7738
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7814
|
-
|
|
7739
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, maxState);
|
|
7815
7740
|
break;
|
|
7816
7741
|
}
|
|
7817
7742
|
case 'DoubleValue': {
|
|
7818
7743
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7819
|
-
|
|
7744
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, minState);
|
|
7820
7745
|
break;
|
|
7821
7746
|
}
|
|
7822
7747
|
case 'DoubleValue': {
|
|
7823
7748
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
7824
|
-
|
|
7749
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, sumState);
|
|
7825
7750
|
break;
|
|
7826
7751
|
}
|
|
7827
7752
|
}
|
|
7828
7753
|
}
|
|
7829
7754
|
// Deal with mapped types' cache keys
|
|
7830
|
-
return cacheKeySink;
|
|
7831
7755
|
}
|
|
7832
7756
|
function getFieldType$v(field) {
|
|
7833
7757
|
switch (field.name.value) {
|
|
@@ -8006,10 +7930,9 @@ function select$B(field, variables, fragments) {
|
|
|
8006
7930
|
return selectCalculateSink(sink, field, buildSelectionForNode$s, source, reader, variables, fragments, parentRecordId);
|
|
8007
7931
|
};
|
|
8008
7932
|
}
|
|
8009
|
-
function getTypeCacheKeys$w(astNode, state) {
|
|
7933
|
+
function getTypeCacheKeys$w(cacheKeySink, astNode, state) {
|
|
8010
7934
|
const { path, data, luvio } = state;
|
|
8011
7935
|
const rootKey = keyBuilder$w(luvio, path);
|
|
8012
|
-
const cacheKeySink = new StoreKeyMap();
|
|
8013
7936
|
cacheKeySink.set(rootKey, {
|
|
8014
7937
|
namespace: keyPrefix,
|
|
8015
7938
|
mergeable: true,
|
|
@@ -8017,7 +7940,6 @@ function getTypeCacheKeys$w(astNode, state) {
|
|
|
8017
7940
|
});
|
|
8018
7941
|
// get all cache keys from normalizable fields
|
|
8019
7942
|
// Deal with mapped types' cache keys
|
|
8020
|
-
return cacheKeySink;
|
|
8021
7943
|
}
|
|
8022
7944
|
function getFieldType$u(field) {
|
|
8023
7945
|
switch (field.name.value) {
|
|
@@ -8168,10 +8090,9 @@ function getMinimumSelections$o() {
|
|
|
8168
8090
|
];
|
|
8169
8091
|
return minimumSelections;
|
|
8170
8092
|
}
|
|
8171
|
-
function getTypeCacheKeys$v(astNode, state) {
|
|
8093
|
+
function getTypeCacheKeys$v(cacheKeySink, astNode, state) {
|
|
8172
8094
|
const { path, data, luvio } = state;
|
|
8173
8095
|
const rootKey = keyBuilder$v(luvio, path);
|
|
8174
|
-
const cacheKeySink = new StoreKeyMap();
|
|
8175
8096
|
cacheKeySink.set(rootKey, {
|
|
8176
8097
|
namespace: keyPrefix,
|
|
8177
8098
|
mergeable: true,
|
|
@@ -8193,33 +8114,32 @@ function getTypeCacheKeys$v(astNode, state) {
|
|
|
8193
8114
|
switch (fieldType.typename) {
|
|
8194
8115
|
case 'LongValue': {
|
|
8195
8116
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8196
|
-
|
|
8117
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
8197
8118
|
break;
|
|
8198
8119
|
}
|
|
8199
8120
|
case 'LongValue': {
|
|
8200
8121
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8201
|
-
|
|
8122
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
8202
8123
|
break;
|
|
8203
8124
|
}
|
|
8204
8125
|
case 'IntValue': {
|
|
8205
8126
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8206
|
-
|
|
8127
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
8207
8128
|
break;
|
|
8208
8129
|
}
|
|
8209
8130
|
case 'IDValue': {
|
|
8210
8131
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8211
|
-
|
|
8132
|
+
getTypeCacheKeys$a(cacheKeySink, requestedField, maxState);
|
|
8212
8133
|
break;
|
|
8213
8134
|
}
|
|
8214
8135
|
case 'IDValue': {
|
|
8215
8136
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8216
|
-
|
|
8137
|
+
getTypeCacheKeys$a(cacheKeySink, requestedField, minState);
|
|
8217
8138
|
break;
|
|
8218
8139
|
}
|
|
8219
8140
|
}
|
|
8220
8141
|
}
|
|
8221
8142
|
// Deal with mapped types' cache keys
|
|
8222
|
-
return cacheKeySink;
|
|
8223
8143
|
}
|
|
8224
8144
|
function getFieldType$t(field) {
|
|
8225
8145
|
switch (field.name.value) {
|
|
@@ -8415,10 +8335,9 @@ function getMinimumSelections$n() {
|
|
|
8415
8335
|
];
|
|
8416
8336
|
return minimumSelections;
|
|
8417
8337
|
}
|
|
8418
|
-
function getTypeCacheKeys$u(astNode, state) {
|
|
8338
|
+
function getTypeCacheKeys$u(cacheKeySink, astNode, state) {
|
|
8419
8339
|
const { path, data, luvio } = state;
|
|
8420
8340
|
const rootKey = keyBuilder$u(luvio, path);
|
|
8421
|
-
const cacheKeySink = new StoreKeyMap();
|
|
8422
8341
|
cacheKeySink.set(rootKey, {
|
|
8423
8342
|
namespace: keyPrefix,
|
|
8424
8343
|
mergeable: true,
|
|
@@ -8440,33 +8359,32 @@ function getTypeCacheKeys$u(astNode, state) {
|
|
|
8440
8359
|
switch (fieldType.typename) {
|
|
8441
8360
|
case 'LongValue': {
|
|
8442
8361
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8443
|
-
|
|
8362
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
8444
8363
|
break;
|
|
8445
8364
|
}
|
|
8446
8365
|
case 'LongValue': {
|
|
8447
8366
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8448
|
-
|
|
8367
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
8449
8368
|
break;
|
|
8450
8369
|
}
|
|
8451
8370
|
case 'IntValue': {
|
|
8452
8371
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8453
|
-
|
|
8372
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
8454
8373
|
break;
|
|
8455
8374
|
}
|
|
8456
8375
|
case 'UrlValue': {
|
|
8457
8376
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8458
|
-
|
|
8377
|
+
getTypeCacheKeys$O(cacheKeySink, requestedField, maxState);
|
|
8459
8378
|
break;
|
|
8460
8379
|
}
|
|
8461
8380
|
case 'UrlValue': {
|
|
8462
8381
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8463
|
-
|
|
8382
|
+
getTypeCacheKeys$O(cacheKeySink, requestedField, minState);
|
|
8464
8383
|
break;
|
|
8465
8384
|
}
|
|
8466
8385
|
}
|
|
8467
8386
|
}
|
|
8468
8387
|
// Deal with mapped types' cache keys
|
|
8469
|
-
return cacheKeySink;
|
|
8470
8388
|
}
|
|
8471
8389
|
function getFieldType$s(field) {
|
|
8472
8390
|
switch (field.name.value) {
|
|
@@ -8662,10 +8580,9 @@ function getMinimumSelections$m() {
|
|
|
8662
8580
|
];
|
|
8663
8581
|
return minimumSelections;
|
|
8664
8582
|
}
|
|
8665
|
-
function getTypeCacheKeys$t(astNode, state) {
|
|
8583
|
+
function getTypeCacheKeys$t(cacheKeySink, astNode, state) {
|
|
8666
8584
|
const { path, data, luvio } = state;
|
|
8667
8585
|
const rootKey = keyBuilder$t(luvio, path);
|
|
8668
|
-
const cacheKeySink = new StoreKeyMap();
|
|
8669
8586
|
cacheKeySink.set(rootKey, {
|
|
8670
8587
|
namespace: keyPrefix,
|
|
8671
8588
|
mergeable: true,
|
|
@@ -8687,33 +8604,32 @@ function getTypeCacheKeys$t(astNode, state) {
|
|
|
8687
8604
|
switch (fieldType.typename) {
|
|
8688
8605
|
case 'LongValue': {
|
|
8689
8606
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8690
|
-
|
|
8607
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
8691
8608
|
break;
|
|
8692
8609
|
}
|
|
8693
8610
|
case 'LongValue': {
|
|
8694
8611
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8695
|
-
|
|
8612
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
8696
8613
|
break;
|
|
8697
8614
|
}
|
|
8698
8615
|
case 'IntValue': {
|
|
8699
8616
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8700
|
-
|
|
8617
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
8701
8618
|
break;
|
|
8702
8619
|
}
|
|
8703
8620
|
case 'TextAreaValue': {
|
|
8704
8621
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8705
|
-
|
|
8622
|
+
getTypeCacheKeys$w(cacheKeySink, requestedField, maxState);
|
|
8706
8623
|
break;
|
|
8707
8624
|
}
|
|
8708
8625
|
case 'TextAreaValue': {
|
|
8709
8626
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
8710
|
-
|
|
8627
|
+
getTypeCacheKeys$w(cacheKeySink, requestedField, minState);
|
|
8711
8628
|
break;
|
|
8712
8629
|
}
|
|
8713
8630
|
}
|
|
8714
8631
|
}
|
|
8715
8632
|
// Deal with mapped types' cache keys
|
|
8716
|
-
return cacheKeySink;
|
|
8717
8633
|
}
|
|
8718
8634
|
function getFieldType$r(field) {
|
|
8719
8635
|
switch (field.name.value) {
|
|
@@ -8885,10 +8801,9 @@ function select$x(field, variables, fragments) {
|
|
|
8885
8801
|
return selectCalculateSink(sink, field, buildSelectionForNode$o, source, reader, variables, fragments, parentRecordId);
|
|
8886
8802
|
};
|
|
8887
8803
|
}
|
|
8888
|
-
function getTypeCacheKeys$s(astNode, state) {
|
|
8804
|
+
function getTypeCacheKeys$s(cacheKeySink, astNode, state) {
|
|
8889
8805
|
const { path, data, luvio } = state;
|
|
8890
8806
|
const rootKey = keyBuilder$s(luvio, path);
|
|
8891
|
-
const cacheKeySink = new StoreKeyMap();
|
|
8892
8807
|
cacheKeySink.set(rootKey, {
|
|
8893
8808
|
namespace: keyPrefix,
|
|
8894
8809
|
mergeable: true,
|
|
@@ -8896,7 +8811,6 @@ function getTypeCacheKeys$s(astNode, state) {
|
|
|
8896
8811
|
});
|
|
8897
8812
|
// get all cache keys from normalizable fields
|
|
8898
8813
|
// Deal with mapped types' cache keys
|
|
8899
|
-
return cacheKeySink;
|
|
8900
8814
|
}
|
|
8901
8815
|
function getFieldType$q(field) {
|
|
8902
8816
|
switch (field.name.value) {
|
|
@@ -9053,10 +8967,9 @@ function getMinimumSelections$l() {
|
|
|
9053
8967
|
];
|
|
9054
8968
|
return minimumSelections;
|
|
9055
8969
|
}
|
|
9056
|
-
function getTypeCacheKeys$r(astNode, state) {
|
|
8970
|
+
function getTypeCacheKeys$r(cacheKeySink, astNode, state) {
|
|
9057
8971
|
const { path, data, luvio } = state;
|
|
9058
8972
|
const rootKey = keyBuilder$r(luvio, path);
|
|
9059
|
-
const cacheKeySink = new StoreKeyMap();
|
|
9060
8973
|
cacheKeySink.set(rootKey, {
|
|
9061
8974
|
namespace: keyPrefix,
|
|
9062
8975
|
mergeable: true,
|
|
@@ -9078,33 +8991,32 @@ function getTypeCacheKeys$r(astNode, state) {
|
|
|
9078
8991
|
switch (fieldType.typename) {
|
|
9079
8992
|
case 'LongValue': {
|
|
9080
8993
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9081
|
-
|
|
8994
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
9082
8995
|
break;
|
|
9083
8996
|
}
|
|
9084
8997
|
case 'LongValue': {
|
|
9085
8998
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9086
|
-
|
|
8999
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
9087
9000
|
break;
|
|
9088
9001
|
}
|
|
9089
9002
|
case 'IntValue': {
|
|
9090
9003
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9091
|
-
|
|
9004
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
9092
9005
|
break;
|
|
9093
9006
|
}
|
|
9094
9007
|
case 'PicklistValue': {
|
|
9095
9008
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9096
|
-
|
|
9009
|
+
getTypeCacheKeys$K(cacheKeySink, requestedField, maxState);
|
|
9097
9010
|
break;
|
|
9098
9011
|
}
|
|
9099
9012
|
case 'PicklistValue': {
|
|
9100
9013
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9101
|
-
|
|
9014
|
+
getTypeCacheKeys$K(cacheKeySink, requestedField, minState);
|
|
9102
9015
|
break;
|
|
9103
9016
|
}
|
|
9104
9017
|
}
|
|
9105
9018
|
}
|
|
9106
9019
|
// Deal with mapped types' cache keys
|
|
9107
|
-
return cacheKeySink;
|
|
9108
9020
|
}
|
|
9109
9021
|
function getFieldType$p(field) {
|
|
9110
9022
|
switch (field.name.value) {
|
|
@@ -9306,10 +9218,9 @@ function getMinimumSelections$k() {
|
|
|
9306
9218
|
];
|
|
9307
9219
|
return minimumSelections;
|
|
9308
9220
|
}
|
|
9309
|
-
function getTypeCacheKeys$q(astNode, state) {
|
|
9221
|
+
function getTypeCacheKeys$q(cacheKeySink, astNode, state) {
|
|
9310
9222
|
const { path, data, luvio } = state;
|
|
9311
9223
|
const rootKey = keyBuilder$q(luvio, path);
|
|
9312
|
-
const cacheKeySink = new StoreKeyMap();
|
|
9313
9224
|
cacheKeySink.set(rootKey, {
|
|
9314
9225
|
namespace: keyPrefix,
|
|
9315
9226
|
mergeable: true,
|
|
@@ -9331,43 +9242,42 @@ function getTypeCacheKeys$q(astNode, state) {
|
|
|
9331
9242
|
switch (fieldType.typename) {
|
|
9332
9243
|
case 'DoubleValue': {
|
|
9333
9244
|
const avgState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9334
|
-
|
|
9245
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, avgState);
|
|
9335
9246
|
break;
|
|
9336
9247
|
}
|
|
9337
9248
|
case 'LongValue': {
|
|
9338
9249
|
const countState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9339
|
-
|
|
9250
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countState);
|
|
9340
9251
|
break;
|
|
9341
9252
|
}
|
|
9342
9253
|
case 'LongValue': {
|
|
9343
9254
|
const countDistinctState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9344
|
-
|
|
9255
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, countDistinctState);
|
|
9345
9256
|
break;
|
|
9346
9257
|
}
|
|
9347
9258
|
case 'IntValue': {
|
|
9348
9259
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9349
|
-
|
|
9260
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
9350
9261
|
break;
|
|
9351
9262
|
}
|
|
9352
9263
|
case 'IntValue': {
|
|
9353
9264
|
const maxState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9354
|
-
|
|
9265
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, maxState);
|
|
9355
9266
|
break;
|
|
9356
9267
|
}
|
|
9357
9268
|
case 'IntValue': {
|
|
9358
9269
|
const minState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9359
|
-
|
|
9270
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, minState);
|
|
9360
9271
|
break;
|
|
9361
9272
|
}
|
|
9362
9273
|
case 'LongValue': {
|
|
9363
9274
|
const sumState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9364
|
-
|
|
9275
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, sumState);
|
|
9365
9276
|
break;
|
|
9366
9277
|
}
|
|
9367
9278
|
}
|
|
9368
9279
|
}
|
|
9369
9280
|
// Deal with mapped types' cache keys
|
|
9370
|
-
return cacheKeySink;
|
|
9371
9281
|
}
|
|
9372
9282
|
function getFieldType$o(field) {
|
|
9373
9283
|
switch (field.name.value) {
|
|
@@ -9557,10 +9467,9 @@ function select$u(field, variables, fragments) {
|
|
|
9557
9467
|
return selectCalculateSink(sink, field, buildSelectionForNode$l, source, reader, variables, fragments, parentRecordId);
|
|
9558
9468
|
};
|
|
9559
9469
|
}
|
|
9560
|
-
function getTypeCacheKeys$p(astNode, state) {
|
|
9470
|
+
function getTypeCacheKeys$p(cacheKeySink, astNode, state) {
|
|
9561
9471
|
const { path, data, luvio } = state;
|
|
9562
9472
|
const rootKey = keyBuilder$p(luvio, path);
|
|
9563
|
-
const cacheKeySink = new StoreKeyMap();
|
|
9564
9473
|
cacheKeySink.set(rootKey, {
|
|
9565
9474
|
namespace: keyPrefix,
|
|
9566
9475
|
mergeable: true,
|
|
@@ -9568,7 +9477,6 @@ function getTypeCacheKeys$p(astNode, state) {
|
|
|
9568
9477
|
});
|
|
9569
9478
|
// get all cache keys from normalizable fields
|
|
9570
9479
|
// Deal with mapped types' cache keys
|
|
9571
|
-
return cacheKeySink;
|
|
9572
9480
|
}
|
|
9573
9481
|
function getFieldType$n(field) {
|
|
9574
9482
|
switch (field.name.value) {
|
|
@@ -9711,10 +9619,9 @@ function getMinimumSelections$j() {
|
|
|
9711
9619
|
];
|
|
9712
9620
|
return minimumSelections;
|
|
9713
9621
|
}
|
|
9714
|
-
function getTypeCacheKeys$o(astNode, state) {
|
|
9622
|
+
function getTypeCacheKeys$o(cacheKeySink, astNode, state) {
|
|
9715
9623
|
const { path, data, luvio } = state;
|
|
9716
9624
|
const rootKey = keyBuilder$o(luvio, path);
|
|
9717
|
-
const cacheKeySink = new StoreKeyMap();
|
|
9718
9625
|
cacheKeySink.set(rootKey, {
|
|
9719
9626
|
namespace: keyPrefix,
|
|
9720
9627
|
mergeable: true,
|
|
@@ -9736,13 +9643,12 @@ function getTypeCacheKeys$o(astNode, state) {
|
|
|
9736
9643
|
switch (fieldType.typename) {
|
|
9737
9644
|
case 'IntValue': {
|
|
9738
9645
|
const groupingState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
9739
|
-
|
|
9646
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, groupingState);
|
|
9740
9647
|
break;
|
|
9741
9648
|
}
|
|
9742
9649
|
}
|
|
9743
9650
|
}
|
|
9744
9651
|
// Deal with mapped types' cache keys
|
|
9745
|
-
return cacheKeySink;
|
|
9746
9652
|
}
|
|
9747
9653
|
function getFieldType$m(field) {
|
|
9748
9654
|
switch (field.name.value) {
|
|
@@ -9880,10 +9786,9 @@ function select$s(field, variables, fragments) {
|
|
|
9880
9786
|
return selectCalculateSink(sink, field, buildSelectionForNode$j, source, reader, variables, fragments, parentRecordId);
|
|
9881
9787
|
};
|
|
9882
9788
|
}
|
|
9883
|
-
function getTypeCacheKeys$n(astNode, state) {
|
|
9789
|
+
function getTypeCacheKeys$n(cacheKeySink, astNode, state) {
|
|
9884
9790
|
const { path, data, luvio } = state;
|
|
9885
9791
|
const rootKey = keyBuilder$n(luvio, path);
|
|
9886
|
-
const cacheKeySink = new StoreKeyMap();
|
|
9887
9792
|
cacheKeySink.set(rootKey, {
|
|
9888
9793
|
namespace: keyPrefix,
|
|
9889
9794
|
mergeable: true,
|
|
@@ -9891,7 +9796,6 @@ function getTypeCacheKeys$n(astNode, state) {
|
|
|
9891
9796
|
});
|
|
9892
9797
|
// get all cache keys from normalizable fields
|
|
9893
9798
|
// Deal with mapped types' cache keys
|
|
9894
|
-
return cacheKeySink;
|
|
9895
9799
|
}
|
|
9896
9800
|
function getFieldType$l(field) {
|
|
9897
9801
|
switch (field.name.value) {
|
|
@@ -10018,10 +9922,9 @@ function select$r(field, variables, fragments) {
|
|
|
10018
9922
|
return selectCalculateSink(sink, field, buildSelectionForNode$i, source, reader, variables, fragments, parentRecordId);
|
|
10019
9923
|
};
|
|
10020
9924
|
}
|
|
10021
|
-
function getTypeCacheKeys$m(astNode, state) {
|
|
9925
|
+
function getTypeCacheKeys$m(cacheKeySink, astNode, state) {
|
|
10022
9926
|
const { path, data, luvio } = state;
|
|
10023
9927
|
const rootKey = keyBuilder$m(luvio, path);
|
|
10024
|
-
const cacheKeySink = new StoreKeyMap();
|
|
10025
9928
|
cacheKeySink.set(rootKey, {
|
|
10026
9929
|
namespace: keyPrefix,
|
|
10027
9930
|
mergeable: true,
|
|
@@ -10029,7 +9932,6 @@ function getTypeCacheKeys$m(astNode, state) {
|
|
|
10029
9932
|
});
|
|
10030
9933
|
// get all cache keys from normalizable fields
|
|
10031
9934
|
// Deal with mapped types' cache keys
|
|
10032
|
-
return cacheKeySink;
|
|
10033
9935
|
}
|
|
10034
9936
|
function getFieldType$k(field) {
|
|
10035
9937
|
switch (field.name.value) {
|
|
@@ -10202,10 +10104,9 @@ function getMinimumSelections$h() {
|
|
|
10202
10104
|
];
|
|
10203
10105
|
return minimumSelections;
|
|
10204
10106
|
}
|
|
10205
|
-
function getTypeCacheKeys$l(astNode, state) {
|
|
10107
|
+
function getTypeCacheKeys$l(cacheKeySink, astNode, state) {
|
|
10206
10108
|
const { path, data, luvio } = state;
|
|
10207
10109
|
const rootKey = keyBuilder$l(luvio, path);
|
|
10208
|
-
const cacheKeySink = new StoreKeyMap();
|
|
10209
10110
|
cacheKeySink.set(rootKey, {
|
|
10210
10111
|
namespace: keyPrefix,
|
|
10211
10112
|
mergeable: true,
|
|
@@ -10213,7 +10114,6 @@ function getTypeCacheKeys$l(astNode, state) {
|
|
|
10213
10114
|
});
|
|
10214
10115
|
// get all cache keys from normalizable fields
|
|
10215
10116
|
// Deal with mapped types' cache keys
|
|
10216
|
-
return cacheKeySink;
|
|
10217
10117
|
}
|
|
10218
10118
|
function getFieldType$i(field) {
|
|
10219
10119
|
switch (field.name.value) {
|
|
@@ -10364,10 +10264,9 @@ function getMinimumSelections$g() {
|
|
|
10364
10264
|
];
|
|
10365
10265
|
return minimumSelections;
|
|
10366
10266
|
}
|
|
10367
|
-
function getTypeCacheKeys$k(astNode, state) {
|
|
10267
|
+
function getTypeCacheKeys$k(cacheKeySink, astNode, state) {
|
|
10368
10268
|
const { path, data, luvio } = state;
|
|
10369
10269
|
const rootKey = keyBuilder$k(luvio, path);
|
|
10370
|
-
const cacheKeySink = new StoreKeyMap();
|
|
10371
10270
|
cacheKeySink.set(rootKey, {
|
|
10372
10271
|
namespace: keyPrefix,
|
|
10373
10272
|
mergeable: true,
|
|
@@ -10375,7 +10274,6 @@ function getTypeCacheKeys$k(astNode, state) {
|
|
|
10375
10274
|
});
|
|
10376
10275
|
// get all cache keys from normalizable fields
|
|
10377
10276
|
// Deal with mapped types' cache keys
|
|
10378
|
-
return cacheKeySink;
|
|
10379
10277
|
}
|
|
10380
10278
|
function getFieldType$h(field) {
|
|
10381
10279
|
switch (field.name.value) {
|
|
@@ -10518,10 +10416,9 @@ function getMinimumSelections$f() {
|
|
|
10518
10416
|
];
|
|
10519
10417
|
return minimumSelections;
|
|
10520
10418
|
}
|
|
10521
|
-
function getTypeCacheKeys$j(astNode, state) {
|
|
10419
|
+
function getTypeCacheKeys$j(cacheKeySink, astNode, state) {
|
|
10522
10420
|
const { path, data, luvio } = state;
|
|
10523
10421
|
const rootKey = keyBuilder$j(luvio, path);
|
|
10524
|
-
const cacheKeySink = new StoreKeyMap();
|
|
10525
10422
|
cacheKeySink.set(rootKey, {
|
|
10526
10423
|
namespace: keyPrefix,
|
|
10527
10424
|
mergeable: true,
|
|
@@ -10554,7 +10451,7 @@ function getTypeCacheKeys$j(astNode, state) {
|
|
|
10554
10451
|
},
|
|
10555
10452
|
data: item,
|
|
10556
10453
|
};
|
|
10557
|
-
|
|
10454
|
+
getTypeCacheKeys$l(cacheKeySink, requestedField, itemState);
|
|
10558
10455
|
}
|
|
10559
10456
|
break;
|
|
10560
10457
|
}
|
|
@@ -10571,14 +10468,13 @@ function getTypeCacheKeys$j(astNode, state) {
|
|
|
10571
10468
|
},
|
|
10572
10469
|
data: item,
|
|
10573
10470
|
};
|
|
10574
|
-
|
|
10471
|
+
getTypeCacheKeys$k(cacheKeySink, requestedField, itemState);
|
|
10575
10472
|
}
|
|
10576
10473
|
break;
|
|
10577
10474
|
}
|
|
10578
10475
|
}
|
|
10579
10476
|
}
|
|
10580
10477
|
// Deal with mapped types' cache keys
|
|
10581
|
-
return cacheKeySink;
|
|
10582
10478
|
}
|
|
10583
10479
|
function getFieldType$g(field) {
|
|
10584
10480
|
switch (field.name.value) {
|
|
@@ -10684,13 +10580,12 @@ function select$n(field, variables, fragments) {
|
|
|
10684
10580
|
}
|
|
10685
10581
|
};
|
|
10686
10582
|
}
|
|
10687
|
-
function getTypeCacheKeys$i(astNode, state) {
|
|
10583
|
+
function getTypeCacheKeys$i(cacheKeys, astNode, state) {
|
|
10688
10584
|
const { path, data } = state;
|
|
10689
10585
|
const typename = data.__typename;
|
|
10690
10586
|
if (typename === 'RecordRepresentation') {
|
|
10691
|
-
return getTypeCacheKeys$5(astNode, state);
|
|
10587
|
+
return getTypeCacheKeys$5(cacheKeys, astNode, state);
|
|
10692
10588
|
}
|
|
10693
|
-
return new StoreKeyMap();
|
|
10694
10589
|
}
|
|
10695
10590
|
function getInContextFragmentType$f(fragment, fragmentMap) {
|
|
10696
10591
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
@@ -11016,10 +10911,9 @@ function getMinimumSelections$d() {
|
|
|
11016
10911
|
];
|
|
11017
10912
|
return minimumSelections;
|
|
11018
10913
|
}
|
|
11019
|
-
function getTypeCacheKeys$h(astNode, state) {
|
|
10914
|
+
function getTypeCacheKeys$h(cacheKeySink, astNode, state) {
|
|
11020
10915
|
const { path, data, luvio } = state;
|
|
11021
10916
|
const rootKey = keyBuilder$i(luvio, path);
|
|
11022
|
-
const cacheKeySink = new StoreKeyMap();
|
|
11023
10917
|
cacheKeySink.set(rootKey, {
|
|
11024
10918
|
namespace: keyPrefix,
|
|
11025
10919
|
mergeable: true,
|
|
@@ -11041,93 +10935,92 @@ function getTypeCacheKeys$h(astNode, state) {
|
|
|
11041
10935
|
switch (fieldType.typename) {
|
|
11042
10936
|
case 'BooleanAggregate': {
|
|
11043
10937
|
const BooleanAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11044
|
-
|
|
10938
|
+
getTypeCacheKeys$o(cacheKeySink, requestedField, BooleanAggregateState);
|
|
11045
10939
|
break;
|
|
11046
10940
|
}
|
|
11047
10941
|
case 'CurrencyAggregate': {
|
|
11048
10942
|
const CurrencyAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11049
|
-
|
|
10943
|
+
getTypeCacheKeys$I(cacheKeySink, requestedField, CurrencyAggregateState);
|
|
11050
10944
|
break;
|
|
11051
10945
|
}
|
|
11052
10946
|
case 'DateAggregate': {
|
|
11053
10947
|
const DateAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11054
|
-
|
|
10948
|
+
getTypeCacheKeys$Z(cacheKeySink, requestedField, DateAggregateState);
|
|
11055
10949
|
break;
|
|
11056
10950
|
}
|
|
11057
10951
|
case 'DoubleAggregate': {
|
|
11058
10952
|
const DoubleAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11059
|
-
|
|
10953
|
+
getTypeCacheKeys$x(cacheKeySink, requestedField, DoubleAggregateState);
|
|
11060
10954
|
break;
|
|
11061
10955
|
}
|
|
11062
10956
|
case 'EmailAggregate': {
|
|
11063
10957
|
const EmailAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11064
|
-
|
|
10958
|
+
getTypeCacheKeys$F(cacheKeySink, requestedField, EmailAggregateState);
|
|
11065
10959
|
break;
|
|
11066
10960
|
}
|
|
11067
10961
|
case 'IDAggregate': {
|
|
11068
10962
|
const IDAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11069
|
-
|
|
10963
|
+
getTypeCacheKeys$v(cacheKeySink, requestedField, IDAggregateState);
|
|
11070
10964
|
break;
|
|
11071
10965
|
}
|
|
11072
10966
|
case 'IntAggregate': {
|
|
11073
10967
|
const IntAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11074
|
-
|
|
10968
|
+
getTypeCacheKeys$q(cacheKeySink, requestedField, IntAggregateState);
|
|
11075
10969
|
break;
|
|
11076
10970
|
}
|
|
11077
10971
|
case 'LatitudeAggregate': {
|
|
11078
10972
|
const LatitudeAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11079
|
-
|
|
10973
|
+
getTypeCacheKeys$A(cacheKeySink, requestedField, LatitudeAggregateState);
|
|
11080
10974
|
break;
|
|
11081
10975
|
}
|
|
11082
10976
|
case 'LongitudeAggregate': {
|
|
11083
10977
|
const LongitudeAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11084
|
-
|
|
10978
|
+
getTypeCacheKeys$y(cacheKeySink, requestedField, LongitudeAggregateState);
|
|
11085
10979
|
break;
|
|
11086
10980
|
}
|
|
11087
10981
|
case 'LongAggregate': {
|
|
11088
10982
|
const LongAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11089
|
-
|
|
10983
|
+
getTypeCacheKeys$N(cacheKeySink, requestedField, LongAggregateState);
|
|
11090
10984
|
break;
|
|
11091
10985
|
}
|
|
11092
10986
|
case 'PercentAggregate': {
|
|
11093
10987
|
const PercentAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11094
|
-
|
|
10988
|
+
getTypeCacheKeys$13(cacheKeySink, requestedField, PercentAggregateState);
|
|
11095
10989
|
break;
|
|
11096
10990
|
}
|
|
11097
10991
|
case 'PhoneNumberAggregate': {
|
|
11098
10992
|
const PhoneNumberAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11099
|
-
|
|
10993
|
+
getTypeCacheKeys$L(cacheKeySink, requestedField, PhoneNumberAggregateState);
|
|
11100
10994
|
break;
|
|
11101
10995
|
}
|
|
11102
10996
|
case 'PicklistAggregate': {
|
|
11103
10997
|
const PicklistAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11104
|
-
|
|
10998
|
+
getTypeCacheKeys$r(cacheKeySink, requestedField, PicklistAggregateState);
|
|
11105
10999
|
break;
|
|
11106
11000
|
}
|
|
11107
11001
|
case 'StringAggregate': {
|
|
11108
11002
|
const StringAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11109
|
-
|
|
11003
|
+
getTypeCacheKeys$10(cacheKeySink, requestedField, StringAggregateState);
|
|
11110
11004
|
break;
|
|
11111
11005
|
}
|
|
11112
11006
|
case 'TextAreaAggregate': {
|
|
11113
11007
|
const TextAreaAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11114
|
-
|
|
11008
|
+
getTypeCacheKeys$t(cacheKeySink, requestedField, TextAreaAggregateState);
|
|
11115
11009
|
break;
|
|
11116
11010
|
}
|
|
11117
11011
|
case 'TimeAggregate': {
|
|
11118
11012
|
const TimeAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11119
|
-
|
|
11013
|
+
getTypeCacheKeys$C(cacheKeySink, requestedField, TimeAggregateState);
|
|
11120
11014
|
break;
|
|
11121
11015
|
}
|
|
11122
11016
|
case 'UrlAggregate': {
|
|
11123
11017
|
const UrlAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11124
|
-
|
|
11018
|
+
getTypeCacheKeys$u(cacheKeySink, requestedField, UrlAggregateState);
|
|
11125
11019
|
break;
|
|
11126
11020
|
}
|
|
11127
11021
|
}
|
|
11128
11022
|
}
|
|
11129
11023
|
// Deal with mapped types' cache keys
|
|
11130
|
-
return cacheKeySink;
|
|
11131
11024
|
}
|
|
11132
11025
|
function ingestFieldByType$d(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
11133
11026
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
@@ -11322,10 +11215,9 @@ function getMinimumSelections$c() {
|
|
|
11322
11215
|
];
|
|
11323
11216
|
return minimumSelections;
|
|
11324
11217
|
}
|
|
11325
|
-
function getTypeCacheKeys$g(astNode, state) {
|
|
11218
|
+
function getTypeCacheKeys$g(cacheKeySink, astNode, state) {
|
|
11326
11219
|
const { path, data, luvio } = state;
|
|
11327
11220
|
const rootKey = keyBuilder$h(luvio, path);
|
|
11328
|
-
const cacheKeySink = new StoreKeyMap();
|
|
11329
11221
|
cacheKeySink.set(rootKey, {
|
|
11330
11222
|
namespace: keyPrefix,
|
|
11331
11223
|
mergeable: true,
|
|
@@ -11347,13 +11239,12 @@ function getTypeCacheKeys$g(astNode, state) {
|
|
|
11347
11239
|
switch (fieldType.typename) {
|
|
11348
11240
|
case 'RecordAggregate': {
|
|
11349
11241
|
const aggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11350
|
-
|
|
11242
|
+
getTypeCacheKeys$h(cacheKeySink, requestedField, aggregateState);
|
|
11351
11243
|
break;
|
|
11352
11244
|
}
|
|
11353
11245
|
}
|
|
11354
11246
|
}
|
|
11355
11247
|
// Deal with mapped types' cache keys
|
|
11356
|
-
return cacheKeySink;
|
|
11357
11248
|
}
|
|
11358
11249
|
function getFieldType$d(field) {
|
|
11359
11250
|
switch (field.name.value) {
|
|
@@ -11486,10 +11377,9 @@ function getMinimumSelections$b() {
|
|
|
11486
11377
|
];
|
|
11487
11378
|
return minimumSelections;
|
|
11488
11379
|
}
|
|
11489
|
-
function getTypeCacheKeys$f(astNode, state) {
|
|
11380
|
+
function getTypeCacheKeys$f(cacheKeySink, astNode, state) {
|
|
11490
11381
|
const { path, data, luvio } = state;
|
|
11491
11382
|
const rootKey = keyBuilder$g(luvio, path);
|
|
11492
|
-
const cacheKeySink = new StoreKeyMap();
|
|
11493
11383
|
cacheKeySink.set(rootKey, {
|
|
11494
11384
|
namespace: keyPrefix,
|
|
11495
11385
|
mergeable: true,
|
|
@@ -11511,13 +11401,12 @@ function getTypeCacheKeys$f(astNode, state) {
|
|
|
11511
11401
|
switch (fieldType.typename) {
|
|
11512
11402
|
case 'RecordResult': {
|
|
11513
11403
|
const nodeState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11514
|
-
|
|
11404
|
+
getTypeCacheKeys$g(cacheKeySink, requestedField, nodeState);
|
|
11515
11405
|
break;
|
|
11516
11406
|
}
|
|
11517
11407
|
}
|
|
11518
11408
|
}
|
|
11519
11409
|
// Deal with mapped types' cache keys
|
|
11520
|
-
return cacheKeySink;
|
|
11521
11410
|
}
|
|
11522
11411
|
function getFieldType$c(field) {
|
|
11523
11412
|
switch (field.name.value) {
|
|
@@ -11657,10 +11546,9 @@ function getMinimumSelections$a() {
|
|
|
11657
11546
|
];
|
|
11658
11547
|
return minimumSelections;
|
|
11659
11548
|
}
|
|
11660
|
-
function getTypeCacheKeys$e(astNode, state) {
|
|
11549
|
+
function getTypeCacheKeys$e(cacheKeySink, astNode, state) {
|
|
11661
11550
|
const { path, data, luvio } = state;
|
|
11662
11551
|
const rootKey = keyBuilder$f(luvio, path);
|
|
11663
|
-
const cacheKeySink = new StoreKeyMap();
|
|
11664
11552
|
cacheKeySink.set(rootKey, {
|
|
11665
11553
|
namespace: keyPrefix,
|
|
11666
11554
|
mergeable: true,
|
|
@@ -11668,7 +11556,6 @@ function getTypeCacheKeys$e(astNode, state) {
|
|
|
11668
11556
|
});
|
|
11669
11557
|
// get all cache keys from normalizable fields
|
|
11670
11558
|
// Deal with mapped types' cache keys
|
|
11671
|
-
return cacheKeySink;
|
|
11672
11559
|
}
|
|
11673
11560
|
function getFieldType$b(field) {
|
|
11674
11561
|
switch (field.name.value) {
|
|
@@ -11885,10 +11772,9 @@ function getMinimumSelections$9() {
|
|
|
11885
11772
|
];
|
|
11886
11773
|
return minimumSelections;
|
|
11887
11774
|
}
|
|
11888
|
-
function getTypeCacheKeys$d(astNode, state) {
|
|
11775
|
+
function getTypeCacheKeys$d(cacheKeySink, astNode, state) {
|
|
11889
11776
|
const { path, data, luvio } = state;
|
|
11890
11777
|
const rootKey = keyBuilder$e(luvio, path);
|
|
11891
|
-
const cacheKeySink = new StoreKeyMap();
|
|
11892
11778
|
cacheKeySink.set(rootKey, {
|
|
11893
11779
|
namespace: keyPrefix,
|
|
11894
11780
|
mergeable: true,
|
|
@@ -11921,19 +11807,18 @@ function getTypeCacheKeys$d(astNode, state) {
|
|
|
11921
11807
|
},
|
|
11922
11808
|
data: item,
|
|
11923
11809
|
};
|
|
11924
|
-
|
|
11810
|
+
getTypeCacheKeys$f(cacheKeySink, requestedField, itemState);
|
|
11925
11811
|
}
|
|
11926
11812
|
break;
|
|
11927
11813
|
}
|
|
11928
11814
|
case 'PageInfo': {
|
|
11929
11815
|
const pageInfoState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
11930
|
-
|
|
11816
|
+
getTypeCacheKeys$e(cacheKeySink, requestedField, pageInfoState);
|
|
11931
11817
|
break;
|
|
11932
11818
|
}
|
|
11933
11819
|
}
|
|
11934
11820
|
}
|
|
11935
11821
|
// Deal with mapped types' cache keys
|
|
11936
|
-
return cacheKeySink;
|
|
11937
11822
|
}
|
|
11938
11823
|
function getFieldType$a(field) {
|
|
11939
11824
|
switch (field.name.value) {
|
|
@@ -12424,10 +12309,9 @@ function getMinimumSelections$7() {
|
|
|
12424
12309
|
];
|
|
12425
12310
|
return minimumSelections;
|
|
12426
12311
|
}
|
|
12427
|
-
function getTypeCacheKeys$c(astNode, state) {
|
|
12312
|
+
function getTypeCacheKeys$c(cacheKeySink, astNode, state) {
|
|
12428
12313
|
const { path, data, luvio } = state;
|
|
12429
12314
|
const rootKey = keyBuilder$d(luvio, path);
|
|
12430
|
-
const cacheKeySink = new StoreKeyMap();
|
|
12431
12315
|
cacheKeySink.set(rootKey, {
|
|
12432
12316
|
namespace: keyPrefix,
|
|
12433
12317
|
mergeable: true,
|
|
@@ -12449,13 +12333,12 @@ function getTypeCacheKeys$c(astNode, state) {
|
|
|
12449
12333
|
switch (fieldType.typename) {
|
|
12450
12334
|
case 'RecordAggregateConnection': {
|
|
12451
12335
|
const recordQueryAggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
12452
|
-
|
|
12336
|
+
getTypeCacheKeys$d(cacheKeySink, requestedField, recordQueryAggregateState);
|
|
12453
12337
|
break;
|
|
12454
12338
|
}
|
|
12455
12339
|
}
|
|
12456
12340
|
}
|
|
12457
12341
|
// Deal with mapped types' cache keys
|
|
12458
|
-
return cacheKeySink;
|
|
12459
12342
|
}
|
|
12460
12343
|
function ingestFieldByType$8(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
12461
12344
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
@@ -12576,10 +12459,9 @@ function getMinimumSelections$6() {
|
|
|
12576
12459
|
];
|
|
12577
12460
|
return minimumSelections;
|
|
12578
12461
|
}
|
|
12579
|
-
function getTypeCacheKeys$b(astNode, state) {
|
|
12462
|
+
function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
12580
12463
|
const { path, data, luvio } = state;
|
|
12581
12464
|
const rootKey = keyBuilder$c(luvio, path);
|
|
12582
|
-
const cacheKeySink = new StoreKeyMap();
|
|
12583
12465
|
cacheKeySink.set(rootKey, {
|
|
12584
12466
|
namespace: keyPrefix,
|
|
12585
12467
|
mergeable: true,
|
|
@@ -12587,7 +12469,6 @@ function getTypeCacheKeys$b(astNode, state) {
|
|
|
12587
12469
|
});
|
|
12588
12470
|
// get all cache keys from normalizable fields
|
|
12589
12471
|
// Deal with mapped types' cache keys
|
|
12590
|
-
return cacheKeySink;
|
|
12591
12472
|
}
|
|
12592
12473
|
function getFieldType$7(field) {
|
|
12593
12474
|
switch (field.name.value) {
|
|
@@ -13944,10 +13825,9 @@ function select$f(field, variables, fragments) {
|
|
|
13944
13825
|
return selectCalculateSink(sink, field, buildSelectionForNode$6, source, reader, variables, fragments, parentRecordId);
|
|
13945
13826
|
};
|
|
13946
13827
|
}
|
|
13947
|
-
function getTypeCacheKeys$a(astNode, state) {
|
|
13828
|
+
function getTypeCacheKeys$a(cacheKeySink, astNode, state) {
|
|
13948
13829
|
const { path, data, luvio } = state;
|
|
13949
13830
|
const rootKey = keyBuilder$b(luvio, path);
|
|
13950
|
-
const cacheKeySink = new StoreKeyMap();
|
|
13951
13831
|
cacheKeySink.set(rootKey, {
|
|
13952
13832
|
namespace: keyPrefix,
|
|
13953
13833
|
mergeable: true,
|
|
@@ -13955,7 +13835,6 @@ function getTypeCacheKeys$a(astNode, state) {
|
|
|
13955
13835
|
});
|
|
13956
13836
|
// get all cache keys from normalizable fields
|
|
13957
13837
|
// Deal with mapped types' cache keys
|
|
13958
|
-
return cacheKeySink;
|
|
13959
13838
|
}
|
|
13960
13839
|
function getFieldType$4(field) {
|
|
13961
13840
|
switch (field.name.value) {
|
|
@@ -14010,8 +13889,7 @@ function getInContextFragmentType$5(fragment, fragmentMap) {
|
|
|
14010
13889
|
|
|
14011
13890
|
const VERSION$e = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
14012
13891
|
const RepresentationType$3 = 'FieldValueRepresentation';
|
|
14013
|
-
function getTypeCacheKeys$9(luvio, input, fullPathFactory) {
|
|
14014
|
-
const rootKeySet = new StoreKeyMap();
|
|
13892
|
+
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
14015
13893
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
14016
13894
|
const rootKey = fullPathFactory();
|
|
14017
13895
|
rootKeySet.set(rootKey, {
|
|
@@ -14020,17 +13898,14 @@ function getTypeCacheKeys$9(luvio, input, fullPathFactory) {
|
|
|
14020
13898
|
mergeable: false
|
|
14021
13899
|
});
|
|
14022
13900
|
if (input.value !== null && typeof input.value === 'object') {
|
|
14023
|
-
|
|
14024
|
-
rootKeySet.merge(input_value);
|
|
13901
|
+
getTypeCacheKeys$8(rootKeySet, luvio, input.value);
|
|
14025
13902
|
}
|
|
14026
|
-
return rootKeySet;
|
|
14027
13903
|
}
|
|
14028
13904
|
|
|
14029
13905
|
const { assign, create, freeze, keys } = Object;
|
|
14030
13906
|
|
|
14031
13907
|
// we override the generated so we can set "mergeable: true" on the root key
|
|
14032
|
-
const getTypeCacheKeys$8 = (luvio, input, _fullPathFactory) => {
|
|
14033
|
-
const rootKeySet = new StoreKeyMap();
|
|
13908
|
+
const getTypeCacheKeys$8 = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
14034
13909
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
14035
13910
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
14036
13911
|
rootKeySet.set(rootKey, {
|
|
@@ -14043,23 +13918,20 @@ const getTypeCacheKeys$8 = (luvio, input, _fullPathFactory) => {
|
|
|
14043
13918
|
const input_childRelationships_length = input_childRelationships_keys.length;
|
|
14044
13919
|
for (let i = 0; i < input_childRelationships_length; i++) {
|
|
14045
13920
|
const key = input_childRelationships_keys[i];
|
|
14046
|
-
|
|
14047
|
-
rootKeySet.merge(cacheKeys);
|
|
13921
|
+
getTypeCacheKeys$7(rootKeySet, luvio, input_childRelationships[key], () => rootKey + '__childRelationships' + '__' + key);
|
|
14048
13922
|
}
|
|
14049
13923
|
const input_fields = input.fields;
|
|
14050
13924
|
const input_fields_keys = keys(input_fields);
|
|
14051
13925
|
const input_fields_length = input_fields_keys.length;
|
|
14052
13926
|
for (let i = 0; i < input_fields_length; i++) {
|
|
14053
13927
|
const key = input_fields_keys[i];
|
|
14054
|
-
|
|
14055
|
-
rootKeySet.merge(cacheKeys);
|
|
13928
|
+
getTypeCacheKeys$9(rootKeySet, luvio, input_fields[key], () => rootKey + '__fields__' + key);
|
|
14056
13929
|
}
|
|
14057
13930
|
return rootKeySet;
|
|
14058
13931
|
};
|
|
14059
13932
|
|
|
14060
13933
|
const RepresentationType$2 = 'RecordCollectionRepresentation';
|
|
14061
|
-
function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
|
|
14062
|
-
const rootKeySet = new StoreKeyMap();
|
|
13934
|
+
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
14063
13935
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
14064
13936
|
const rootKey = fullPathFactory();
|
|
14065
13937
|
rootKeySet.set(rootKey, {
|
|
@@ -14069,9 +13941,8 @@ function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
|
|
|
14069
13941
|
});
|
|
14070
13942
|
const input_records_length = input.records.length;
|
|
14071
13943
|
for (let i = 0; i < input_records_length; i++) {
|
|
14072
|
-
|
|
13944
|
+
getTypeCacheKeys$8(rootKeySet, luvio, input.records[i]);
|
|
14073
13945
|
}
|
|
14074
|
-
return rootKeySet;
|
|
14075
13946
|
}
|
|
14076
13947
|
|
|
14077
13948
|
const VERSION$d = "98c5b18512e48ca8d28727549507e4ba";
|
|
@@ -14555,10 +14426,9 @@ function attachMappedData(source, reader) {
|
|
|
14555
14426
|
return source;
|
|
14556
14427
|
}
|
|
14557
14428
|
|
|
14558
|
-
function getTypeCacheKeys$6(astNode, state) {
|
|
14429
|
+
function getTypeCacheKeys$6(cacheKeySink, astNode, state) {
|
|
14559
14430
|
const { path, data, luvio } = state;
|
|
14560
14431
|
const rootKey = keyBuilder$7(luvio, path);
|
|
14561
|
-
const cacheKeySink = new StoreKeyMap();
|
|
14562
14432
|
cacheKeySink.set(rootKey, {
|
|
14563
14433
|
namespace: keyPrefix,
|
|
14564
14434
|
mergeable: true,
|
|
@@ -14593,29 +14463,26 @@ function getTypeCacheKeys$6(astNode, state) {
|
|
|
14593
14463
|
},
|
|
14594
14464
|
data: item,
|
|
14595
14465
|
};
|
|
14596
|
-
|
|
14466
|
+
getTypeCacheKeys$4(cacheKeySink, requestedField, itemState);
|
|
14597
14467
|
}
|
|
14598
14468
|
break;
|
|
14599
14469
|
}
|
|
14600
14470
|
case 'PageInfo': {
|
|
14601
14471
|
// I guess just return the pagination key here since pagination replaced it.
|
|
14602
|
-
|
|
14603
|
-
pageInfoCacheKeys.set(`${rootKey}__pagination`, {
|
|
14472
|
+
cacheKeySink.set(`${rootKey}__pagination`, {
|
|
14604
14473
|
namespace: keyPrefix,
|
|
14605
14474
|
mergeable: true,
|
|
14606
14475
|
representationName: name$a,
|
|
14607
14476
|
});
|
|
14608
|
-
cacheKeySink.merge(pageInfoCacheKeys);
|
|
14609
14477
|
break;
|
|
14610
14478
|
}
|
|
14611
14479
|
}
|
|
14612
14480
|
}
|
|
14613
|
-
return cacheKeySink;
|
|
14614
14481
|
}
|
|
14615
14482
|
|
|
14616
|
-
function getMappedTypeCacheKeys(astNode, state) {
|
|
14483
|
+
function getMappedTypeCacheKeys(cache, astNode, state) {
|
|
14617
14484
|
const convertedData = convertGraphQLToRaml(astNode, state);
|
|
14618
|
-
|
|
14485
|
+
getTypeCacheKeys$8(cache, state.luvio, convertedData.recordRepresentation);
|
|
14619
14486
|
}
|
|
14620
14487
|
|
|
14621
14488
|
const name$5 = 'RecordRepresentation';
|
|
@@ -14798,10 +14665,9 @@ function select$e(field, variables, fragments) {
|
|
|
14798
14665
|
return selectCalculateSink(sink, field, buildSelectionForNode$5, source, reader, variables, fragments, parentRecordId);
|
|
14799
14666
|
};
|
|
14800
14667
|
}
|
|
14801
|
-
function getTypeCacheKeys$5(astNode, state) {
|
|
14668
|
+
function getTypeCacheKeys$5(cacheKeySink, astNode, state) {
|
|
14802
14669
|
const { path, data, luvio } = state;
|
|
14803
14670
|
const rootKey = keyBuilder$9(luvio, path, data);
|
|
14804
|
-
const cacheKeySink = new StoreKeyMap();
|
|
14805
14671
|
cacheKeySink.set(rootKey, {
|
|
14806
14672
|
namespace: keyPrefix,
|
|
14807
14673
|
mergeable: true,
|
|
@@ -14823,164 +14689,163 @@ function getTypeCacheKeys$5(astNode, state) {
|
|
|
14823
14689
|
switch (fieldType.typename) {
|
|
14824
14690
|
case 'IDValue': {
|
|
14825
14691
|
const LastModifiedByIdState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14826
|
-
|
|
14692
|
+
getTypeCacheKeys$a(cacheKeySink, requestedField, LastModifiedByIdState);
|
|
14827
14693
|
break;
|
|
14828
14694
|
}
|
|
14829
14695
|
case 'DateTimeValue': {
|
|
14830
14696
|
const LastModifiedDateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14831
|
-
|
|
14697
|
+
getTypeCacheKeys$H(cacheKeySink, requestedField, LastModifiedDateState);
|
|
14832
14698
|
break;
|
|
14833
14699
|
}
|
|
14834
14700
|
case 'DateTimeValue': {
|
|
14835
14701
|
const SystemModstampState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14836
|
-
|
|
14702
|
+
getTypeCacheKeys$H(cacheKeySink, requestedField, SystemModstampState);
|
|
14837
14703
|
break;
|
|
14838
14704
|
}
|
|
14839
14705
|
case 'IDValue': {
|
|
14840
14706
|
const RecordTypeIdState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14841
|
-
|
|
14707
|
+
getTypeCacheKeys$a(cacheKeySink, requestedField, RecordTypeIdState);
|
|
14842
14708
|
break;
|
|
14843
14709
|
}
|
|
14844
14710
|
case 'IntValue': {
|
|
14845
14711
|
const IntValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14846
|
-
|
|
14712
|
+
getTypeCacheKeys$12(cacheKeySink, requestedField, IntValueState);
|
|
14847
14713
|
break;
|
|
14848
14714
|
}
|
|
14849
14715
|
case 'StringValue': {
|
|
14850
14716
|
const StringValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14851
|
-
|
|
14717
|
+
getTypeCacheKeys$11(cacheKeySink, requestedField, StringValueState);
|
|
14852
14718
|
break;
|
|
14853
14719
|
}
|
|
14854
14720
|
case 'BooleanValue': {
|
|
14855
14721
|
const BooleanValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14856
|
-
|
|
14722
|
+
getTypeCacheKeys$X(cacheKeySink, requestedField, BooleanValueState);
|
|
14857
14723
|
break;
|
|
14858
14724
|
}
|
|
14859
14725
|
case 'IDValue': {
|
|
14860
14726
|
const IDValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14861
|
-
|
|
14727
|
+
getTypeCacheKeys$a(cacheKeySink, requestedField, IDValueState);
|
|
14862
14728
|
break;
|
|
14863
14729
|
}
|
|
14864
14730
|
case 'DateTimeValue': {
|
|
14865
14731
|
const DateTimeValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14866
|
-
|
|
14732
|
+
getTypeCacheKeys$H(cacheKeySink, requestedField, DateTimeValueState);
|
|
14867
14733
|
break;
|
|
14868
14734
|
}
|
|
14869
14735
|
case 'TimeValue': {
|
|
14870
14736
|
const TimeValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14871
|
-
|
|
14737
|
+
getTypeCacheKeys$s(cacheKeySink, requestedField, TimeValueState);
|
|
14872
14738
|
break;
|
|
14873
14739
|
}
|
|
14874
14740
|
case 'DateValue': {
|
|
14875
14741
|
const DateValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14876
|
-
|
|
14742
|
+
getTypeCacheKeys$_(cacheKeySink, requestedField, DateValueState);
|
|
14877
14743
|
break;
|
|
14878
14744
|
}
|
|
14879
14745
|
case 'TextAreaValue': {
|
|
14880
14746
|
const TextAreaValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14881
|
-
|
|
14747
|
+
getTypeCacheKeys$w(cacheKeySink, requestedField, TextAreaValueState);
|
|
14882
14748
|
break;
|
|
14883
14749
|
}
|
|
14884
14750
|
case 'LongTextAreaValue': {
|
|
14885
14751
|
const LongTextAreaValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14886
|
-
|
|
14752
|
+
getTypeCacheKeys$z(cacheKeySink, requestedField, LongTextAreaValueState);
|
|
14887
14753
|
break;
|
|
14888
14754
|
}
|
|
14889
14755
|
case 'RichTextAreaValue': {
|
|
14890
14756
|
const RichTextAreaValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14891
|
-
|
|
14757
|
+
getTypeCacheKeys$E(cacheKeySink, requestedField, RichTextAreaValueState);
|
|
14892
14758
|
break;
|
|
14893
14759
|
}
|
|
14894
14760
|
case 'PhoneNumberValue': {
|
|
14895
14761
|
const PhoneNumberValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14896
|
-
|
|
14762
|
+
getTypeCacheKeys$M(cacheKeySink, requestedField, PhoneNumberValueState);
|
|
14897
14763
|
break;
|
|
14898
14764
|
}
|
|
14899
14765
|
case 'EmailValue': {
|
|
14900
14766
|
const EmailValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14901
|
-
|
|
14767
|
+
getTypeCacheKeys$G(cacheKeySink, requestedField, EmailValueState);
|
|
14902
14768
|
break;
|
|
14903
14769
|
}
|
|
14904
14770
|
case 'UrlValue': {
|
|
14905
14771
|
const UrlValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14906
|
-
|
|
14772
|
+
getTypeCacheKeys$O(cacheKeySink, requestedField, UrlValueState);
|
|
14907
14773
|
break;
|
|
14908
14774
|
}
|
|
14909
14775
|
case 'EncryptedStringValue': {
|
|
14910
14776
|
const EncryptedStringValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14911
|
-
|
|
14777
|
+
getTypeCacheKeys$m(cacheKeySink, requestedField, EncryptedStringValueState);
|
|
14912
14778
|
break;
|
|
14913
14779
|
}
|
|
14914
14780
|
case 'CurrencyValue': {
|
|
14915
14781
|
const CurrencyValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14916
|
-
|
|
14782
|
+
getTypeCacheKeys$J(cacheKeySink, requestedField, CurrencyValueState);
|
|
14917
14783
|
break;
|
|
14918
14784
|
}
|
|
14919
14785
|
case 'LongitudeValue': {
|
|
14920
14786
|
const LongitudeValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14921
|
-
|
|
14787
|
+
getTypeCacheKeys$P(cacheKeySink, requestedField, LongitudeValueState);
|
|
14922
14788
|
break;
|
|
14923
14789
|
}
|
|
14924
14790
|
case 'LatitudeValue': {
|
|
14925
14791
|
const LatitudeValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14926
|
-
|
|
14792
|
+
getTypeCacheKeys$B(cacheKeySink, requestedField, LatitudeValueState);
|
|
14927
14793
|
break;
|
|
14928
14794
|
}
|
|
14929
14795
|
case 'PicklistValue': {
|
|
14930
14796
|
const PicklistValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14931
|
-
|
|
14797
|
+
getTypeCacheKeys$K(cacheKeySink, requestedField, PicklistValueState);
|
|
14932
14798
|
break;
|
|
14933
14799
|
}
|
|
14934
14800
|
case 'MultiPicklistValue': {
|
|
14935
14801
|
const MultiPicklistValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14936
|
-
|
|
14802
|
+
getTypeCacheKeys$D(cacheKeySink, requestedField, MultiPicklistValueState);
|
|
14937
14803
|
break;
|
|
14938
14804
|
}
|
|
14939
14805
|
case 'LongValue': {
|
|
14940
14806
|
const LongValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14941
|
-
|
|
14807
|
+
getTypeCacheKeys$15(cacheKeySink, requestedField, LongValueState);
|
|
14942
14808
|
break;
|
|
14943
14809
|
}
|
|
14944
14810
|
case 'DoubleValue': {
|
|
14945
14811
|
const DoubleValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14946
|
-
|
|
14812
|
+
getTypeCacheKeys$16(cacheKeySink, requestedField, DoubleValueState);
|
|
14947
14813
|
break;
|
|
14948
14814
|
}
|
|
14949
14815
|
case 'PercentValue': {
|
|
14950
14816
|
const PercentValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14951
|
-
|
|
14817
|
+
getTypeCacheKeys$14(cacheKeySink, requestedField, PercentValueState);
|
|
14952
14818
|
break;
|
|
14953
14819
|
}
|
|
14954
14820
|
case 'Base64Value': {
|
|
14955
14821
|
const Base64ValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14956
|
-
|
|
14822
|
+
getTypeCacheKeys$n(cacheKeySink, requestedField, Base64ValueState);
|
|
14957
14823
|
break;
|
|
14958
14824
|
}
|
|
14959
14825
|
case 'JSONValue': {
|
|
14960
14826
|
const JSONValueState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14961
|
-
|
|
14827
|
+
getTypeCacheKeys$p(cacheKeySink, requestedField, JSONValueState);
|
|
14962
14828
|
break;
|
|
14963
14829
|
}
|
|
14964
14830
|
case 'RecordRepresentation': {
|
|
14965
14831
|
const parentRelationshipState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14966
|
-
|
|
14832
|
+
getTypeCacheKeys$5(cacheKeySink, requestedField, parentRelationshipState);
|
|
14967
14833
|
break;
|
|
14968
14834
|
}
|
|
14969
14835
|
case 'PolymorphicParentRelationship': {
|
|
14970
14836
|
const polymorphicParentRelationshipState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14971
|
-
|
|
14837
|
+
getTypeCacheKeys$i(cacheKeySink, requestedField, polymorphicParentRelationshipState);
|
|
14972
14838
|
break;
|
|
14973
14839
|
}
|
|
14974
14840
|
case 'RecordConnection': {
|
|
14975
14841
|
const childRelationshipState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
14976
|
-
|
|
14842
|
+
getTypeCacheKeys$6(cacheKeySink, requestedField, childRelationshipState);
|
|
14977
14843
|
break;
|
|
14978
14844
|
}
|
|
14979
14845
|
}
|
|
14980
14846
|
}
|
|
14981
14847
|
// Deal with mapped types' cache keys
|
|
14982
|
-
|
|
14983
|
-
return cacheKeySink;
|
|
14848
|
+
getMappedTypeCacheKeys(cacheKeySink, astNode, state);
|
|
14984
14849
|
}
|
|
14985
14850
|
function ingestFieldByType$5(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
14986
14851
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
@@ -15227,10 +15092,9 @@ function getMinimumSelections$4() {
|
|
|
15227
15092
|
];
|
|
15228
15093
|
return minimumSelections;
|
|
15229
15094
|
}
|
|
15230
|
-
function getTypeCacheKeys$4(astNode, state) {
|
|
15095
|
+
function getTypeCacheKeys$4(cacheKeySink, astNode, state) {
|
|
15231
15096
|
const { path, data, luvio } = state;
|
|
15232
15097
|
const rootKey = keyBuilder$8(luvio, path);
|
|
15233
|
-
const cacheKeySink = new StoreKeyMap();
|
|
15234
15098
|
cacheKeySink.set(rootKey, {
|
|
15235
15099
|
namespace: keyPrefix,
|
|
15236
15100
|
mergeable: true,
|
|
@@ -15252,13 +15116,12 @@ function getTypeCacheKeys$4(astNode, state) {
|
|
|
15252
15116
|
switch (fieldType.typename) {
|
|
15253
15117
|
case 'RecordRepresentation': {
|
|
15254
15118
|
const nodeState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
15255
|
-
|
|
15119
|
+
getTypeCacheKeys$5(cacheKeySink, requestedField, nodeState);
|
|
15256
15120
|
break;
|
|
15257
15121
|
}
|
|
15258
15122
|
}
|
|
15259
15123
|
}
|
|
15260
15124
|
// Deal with mapped types' cache keys
|
|
15261
|
-
return cacheKeySink;
|
|
15262
15125
|
}
|
|
15263
15126
|
function getFieldType$3(field) {
|
|
15264
15127
|
switch (field.name.value) {
|
|
@@ -15617,10 +15480,9 @@ function getMinimumSelections$2() {
|
|
|
15617
15480
|
];
|
|
15618
15481
|
return minimumSelections;
|
|
15619
15482
|
}
|
|
15620
|
-
function getTypeCacheKeys$3(astNode, state) {
|
|
15483
|
+
function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
|
|
15621
15484
|
const { path, data, luvio } = state;
|
|
15622
15485
|
const rootKey = keyBuilder$6(luvio, path);
|
|
15623
|
-
const cacheKeySink = new StoreKeyMap();
|
|
15624
15486
|
cacheKeySink.set(rootKey, {
|
|
15625
15487
|
namespace: keyPrefix,
|
|
15626
15488
|
mergeable: true,
|
|
@@ -15642,13 +15504,12 @@ function getTypeCacheKeys$3(astNode, state) {
|
|
|
15642
15504
|
switch (fieldType.typename) {
|
|
15643
15505
|
case 'RecordConnection': {
|
|
15644
15506
|
const recordQueryState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
15645
|
-
|
|
15507
|
+
getTypeCacheKeys$6(cacheKeySink, requestedField, recordQueryState);
|
|
15646
15508
|
break;
|
|
15647
15509
|
}
|
|
15648
15510
|
}
|
|
15649
15511
|
}
|
|
15650
15512
|
// Deal with mapped types' cache keys
|
|
15651
|
-
return cacheKeySink;
|
|
15652
15513
|
}
|
|
15653
15514
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
15654
15515
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
@@ -15775,10 +15636,9 @@ function getMinimumSelections$1() {
|
|
|
15775
15636
|
];
|
|
15776
15637
|
return minimumSelections;
|
|
15777
15638
|
}
|
|
15778
|
-
function getTypeCacheKeys$2(astNode, state) {
|
|
15639
|
+
function getTypeCacheKeys$2(cacheKeySink, astNode, state) {
|
|
15779
15640
|
const { path, data, luvio } = state;
|
|
15780
15641
|
const rootKey = keyBuilder$5(luvio, path);
|
|
15781
|
-
const cacheKeySink = new StoreKeyMap();
|
|
15782
15642
|
cacheKeySink.set(rootKey, {
|
|
15783
15643
|
namespace: keyPrefix,
|
|
15784
15644
|
mergeable: true,
|
|
@@ -15800,12 +15660,12 @@ function getTypeCacheKeys$2(astNode, state) {
|
|
|
15800
15660
|
switch (fieldType.typename) {
|
|
15801
15661
|
case 'RecordQuery': {
|
|
15802
15662
|
const queryState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
15803
|
-
|
|
15663
|
+
getTypeCacheKeys$3(cacheKeySink, requestedField, queryState);
|
|
15804
15664
|
break;
|
|
15805
15665
|
}
|
|
15806
15666
|
case 'RecordQueryAggregate': {
|
|
15807
15667
|
const aggregateState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
15808
|
-
|
|
15668
|
+
getTypeCacheKeys$c(cacheKeySink, requestedField, aggregateState);
|
|
15809
15669
|
break;
|
|
15810
15670
|
}
|
|
15811
15671
|
case 'ObjectInfo': {
|
|
@@ -15821,19 +15681,18 @@ function getTypeCacheKeys$2(astNode, state) {
|
|
|
15821
15681
|
},
|
|
15822
15682
|
data: item,
|
|
15823
15683
|
};
|
|
15824
|
-
|
|
15684
|
+
getTypeCacheKeys$R(cacheKeySink, requestedField, itemState);
|
|
15825
15685
|
}
|
|
15826
15686
|
break;
|
|
15827
15687
|
}
|
|
15828
15688
|
case 'RelatedListInfo': {
|
|
15829
15689
|
const relatedListByNameState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
15830
|
-
|
|
15690
|
+
getTypeCacheKeys$j(cacheKeySink, requestedField, relatedListByNameState);
|
|
15831
15691
|
break;
|
|
15832
15692
|
}
|
|
15833
15693
|
}
|
|
15834
15694
|
}
|
|
15835
15695
|
// Deal with mapped types' cache keys
|
|
15836
|
-
return cacheKeySink;
|
|
15837
15696
|
}
|
|
15838
15697
|
function getFieldType$1(field) {
|
|
15839
15698
|
switch (field.name.value) {
|
|
@@ -15999,10 +15858,9 @@ function getMinimumSelections() {
|
|
|
15999
15858
|
const minimumSelections = [];
|
|
16000
15859
|
return minimumSelections;
|
|
16001
15860
|
}
|
|
16002
|
-
function getTypeCacheKeys$1(astNode, state) {
|
|
15861
|
+
function getTypeCacheKeys$1(cacheKeySink, astNode, state) {
|
|
16003
15862
|
const { path, data, luvio } = state;
|
|
16004
15863
|
const rootKey = keyBuilder$4(luvio, astNode, state.variables, state.fragments);
|
|
16005
|
-
const cacheKeySink = new StoreKeyMap();
|
|
16006
15864
|
cacheKeySink.set(rootKey, {
|
|
16007
15865
|
namespace: keyPrefix,
|
|
16008
15866
|
mergeable: true,
|
|
@@ -16024,18 +15882,17 @@ function getTypeCacheKeys$1(astNode, state) {
|
|
|
16024
15882
|
switch (fieldType.typename) {
|
|
16025
15883
|
case 'UIAPI': {
|
|
16026
15884
|
const uiapiState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
16027
|
-
|
|
15885
|
+
getTypeCacheKeys$2(cacheKeySink, requestedField, uiapiState);
|
|
16028
15886
|
break;
|
|
16029
15887
|
}
|
|
16030
15888
|
case 'RateLimit': {
|
|
16031
15889
|
const rateLimitState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
16032
|
-
|
|
15890
|
+
getTypeCacheKeys$b(cacheKeySink, requestedField, rateLimitState);
|
|
16033
15891
|
break;
|
|
16034
15892
|
}
|
|
16035
15893
|
}
|
|
16036
15894
|
}
|
|
16037
15895
|
// Deal with mapped types' cache keys
|
|
16038
|
-
return cacheKeySink;
|
|
16039
15896
|
}
|
|
16040
15897
|
function getFieldType(field) {
|
|
16041
15898
|
switch (field.name.value) {
|
|
@@ -16171,8 +16028,7 @@ const ingest = function GraphQLRepresentationIngest(document, variables, operati
|
|
|
16171
16028
|
};
|
|
16172
16029
|
};
|
|
16173
16030
|
};
|
|
16174
|
-
function getTypeCacheKeys(luvio, document, variables, data, operationName) {
|
|
16175
|
-
const sink = new StoreKeyMap();
|
|
16031
|
+
function getTypeCacheKeys(sink, luvio, document, variables, data, operationName) {
|
|
16176
16032
|
if (data.data) {
|
|
16177
16033
|
const fragments = createFragmentMap(document);
|
|
16178
16034
|
const operationToExecute = getOperationFromDocument(document, operationName);
|
|
@@ -16188,7 +16044,7 @@ function getTypeCacheKeys(luvio, document, variables, data, operationName) {
|
|
|
16188
16044
|
fullPath: '' // TODO: W-13079691 - Need to take another pass at what we want to do for structured keys
|
|
16189
16045
|
}
|
|
16190
16046
|
};
|
|
16191
|
-
|
|
16047
|
+
getTypeCacheKeys$1(sink, operationToExecute, state);
|
|
16192
16048
|
}
|
|
16193
16049
|
}
|
|
16194
16050
|
return sink;
|
|
@@ -16207,11 +16063,11 @@ function keyBuilder$3(luvio, params) {
|
|
|
16207
16063
|
}
|
|
16208
16064
|
return `adapters_adapter$45$utils_keyPrefix::GraphQLRepresentation::InvalidOperation`;
|
|
16209
16065
|
}
|
|
16210
|
-
function getResponseCacheKeys$1(luvio, resourceParams, response) {
|
|
16066
|
+
function getResponseCacheKeys$1(cacheKeys, luvio, resourceParams, response) {
|
|
16211
16067
|
const query = resourceParams.body.query;
|
|
16212
16068
|
const variables = resourceParams.body.variables || {};
|
|
16213
16069
|
const operationName = resourceParams.body.operationName;
|
|
16214
|
-
|
|
16070
|
+
getTypeCacheKeys(cacheKeys, luvio, query, variables, response, operationName);
|
|
16215
16071
|
}
|
|
16216
16072
|
function ingestSuccess$1(luvio, config, resourceParams, response, snapshotRefresh) {
|
|
16217
16073
|
const { body } = response;
|
|
@@ -16401,7 +16257,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
16401
16257
|
return Promise.reject({ errorType: 'adapterError', error: (_b = response === null || response === void 0 ? void 0 : response.body) === null || _b === void 0 ? void 0 : _b.errors });
|
|
16402
16258
|
})
|
|
16403
16259
|
.then((response) => {
|
|
16404
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () =>
|
|
16260
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
16261
|
+
const cache = new StoreKeyMap();
|
|
16262
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
16263
|
+
return cache;
|
|
16264
|
+
});
|
|
16405
16265
|
})
|
|
16406
16266
|
.catch((response) => {
|
|
16407
16267
|
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
@@ -16766,8 +16626,7 @@ function keyBuilder$1(luvio, params) {
|
|
|
16766
16626
|
params.body.batchQuery +
|
|
16767
16627
|
')');
|
|
16768
16628
|
}
|
|
16769
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
16770
|
-
let keys = new StoreKeyMap();
|
|
16629
|
+
function getResponseCacheKeys(keys, luvio, resourceParams, response) {
|
|
16771
16630
|
const childEnvelopes = response.results;
|
|
16772
16631
|
const childResourceParamsArray = createChildResourceParams(resourceParams);
|
|
16773
16632
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -16784,8 +16643,7 @@ function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
|
16784
16643
|
const childResult = childEnvelopes[index];
|
|
16785
16644
|
const { statusCode: childStatusCode, result: childBody } = childResult;
|
|
16786
16645
|
if (childStatusCode === 200) {
|
|
16787
|
-
|
|
16788
|
-
ObjectAssign(keys, childKeys);
|
|
16646
|
+
getResponseCacheKeys$1(keys, luvio, childResourceParams, childBody);
|
|
16789
16647
|
}
|
|
16790
16648
|
else if (childStatusCode === 404) {
|
|
16791
16649
|
const childKey = keyBuilder$3(luvio, childResourceParams);
|
|
@@ -16796,7 +16654,6 @@ function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
|
16796
16654
|
});
|
|
16797
16655
|
}
|
|
16798
16656
|
}
|
|
16799
|
-
return keys;
|
|
16800
16657
|
}
|
|
16801
16658
|
function ingestSuccessChildResourceParams(luvio, childConfigs, childResourceParamsArray, childEnvelopes) {
|
|
16802
16659
|
const childSnapshotDataResponses = [];
|
|
@@ -17007,7 +16864,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
17007
16864
|
return luvio
|
|
17008
16865
|
.dispatchResourceRequest(request, options)
|
|
17009
16866
|
.then((response) => {
|
|
17010
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
16867
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
16868
|
+
const cache = new StoreKeyMap();
|
|
16869
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
16870
|
+
return cache;
|
|
16871
|
+
});
|
|
17011
16872
|
}, (response) => {
|
|
17012
16873
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
17013
16874
|
});
|
|
@@ -17437,4 +17298,4 @@ register({
|
|
|
17437
17298
|
});
|
|
17438
17299
|
|
|
17439
17300
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
17440
|
-
// version: 1.
|
|
17301
|
+
// version: 1.171.0-c5e524eba
|