@salesforce/lds-runtime-mobile 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/main.js +60214 -0
- package/dist/types/DraftQueueFactory.d.ts +3 -0
- package/dist/types/NimbusBinaryStore.d.ts +2 -0
- package/dist/types/NimbusDraftQueue.d.ts +28 -0
- package/dist/types/RecordIdGenerator.d.ts +15 -0
- package/dist/types/__mocks__/force/ldsGraphqlParser.d.ts +3 -0
- package/dist/types/__mocks__/o11y/activity.d.ts +11 -0
- package/dist/types/__mocks__/o11y/client.d.ts +5 -0
- package/dist/types/__mocks__/o11y/idleDetector.d.ts +18 -0
- package/dist/types/__mocks__/o11y/instrumentation.d.ts +16 -0
- package/dist/types/adapters/fields/adapters/getQuickActionDefaults.d.ts +5 -0
- package/dist/types/adapters/fields/adapters/getRecord.d.ts +5 -0
- package/dist/types/adapters/fields/adapters/getRecordTemplateClone.d.ts +5 -0
- package/dist/types/adapters/fields/adapters/getRecordTemplateCreate.d.ts +5 -0
- package/dist/types/adapters/fields/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +12 -0
- package/dist/types/adapters/fields/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +12 -0
- package/dist/types/adapters/fields/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +12 -0
- package/dist/types/adapters/fields/resources/getUiApiRecordsByRecordId.d.ts +12 -0
- package/dist/types/adapters/fields/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/ContentDocumentCompositeRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/KeywordSearchResultsRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/ListRecordCollectionRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/ListUiRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/LookupValuesRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/QuickActionDefaultsRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordCollectionRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordCreateDefaultRecordRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordDefaultsRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordDefaultsTemplateCloneRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordDefaultsTemplateCreateRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordTemplateCloneRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordTemplateCreateRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RecordUiRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/RelatedListRecordCollectionRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/SearchResultCollectionRepresentation.d.ts +12 -0
- package/dist/types/adapters/fields/types/SearchResultRepresentation.d.ts +12 -0
- package/dist/types/adapters/generated/adapters/graphql.d.ts +32 -0
- package/dist/types/adapters/generated/artifacts/main.d.ts +15 -0
- package/dist/types/adapters/generated/graphql/directives/category.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/directives/deprecated.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/directives/directive-util.d.ts +4 -0
- package/dist/types/adapters/generated/graphql/directives/fieldCategory.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/directives/generic.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/directives/include.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/directives/skip.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/directives/specifiedBy.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/types/AggregateOrderByNumberFunction.d.ts +9 -0
- package/dist/types/adapters/generated/graphql/types/AggregateOrderByStringFunction.d.ts +7 -0
- package/dist/types/adapters/generated/graphql/types/Base64Value.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/BooleanAggregate.d.ts +37 -0
- package/dist/types/adapters/generated/graphql/types/BooleanValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/ChildRelationship.d.ts +40 -0
- package/dist/types/adapters/generated/graphql/types/CompoundField.d.ts +81 -0
- package/dist/types/adapters/generated/graphql/types/CurrencyAggregate.d.ts +45 -0
- package/dist/types/adapters/generated/graphql/types/CurrencyValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/DataType.d.ts +29 -0
- package/dist/types/adapters/generated/graphql/types/DateAggregate.d.ts +56 -0
- package/dist/types/adapters/generated/graphql/types/DateFunctionAggregation.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/DateLiteral.d.ts +26 -0
- package/dist/types/adapters/generated/graphql/types/DateOnlyAggregation.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/DateTimeAggregate.d.ts +57 -0
- package/dist/types/adapters/generated/graphql/types/DateTimeValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/DateValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/DependentField.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/DoubleAggregate.d.ts +44 -0
- package/dist/types/adapters/generated/graphql/types/DoubleValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/EmailAggregate.d.ts +43 -0
- package/dist/types/adapters/generated/graphql/types/EmailValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/EncryptedStringValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/Field.d.ts +66 -0
- package/dist/types/adapters/generated/graphql/types/FieldExtraTypeInfo.d.ts +10 -0
- package/dist/types/adapters/generated/graphql/types/FieldValue.d.ts +21 -0
- package/dist/types/adapters/generated/graphql/types/FilteredLookupInfo.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/GroupByFunction.d.ts +16 -0
- package/dist/types/adapters/generated/graphql/types/GroupByType.d.ts +6 -0
- package/dist/types/adapters/generated/graphql/types/IDAggregate.d.ts +43 -0
- package/dist/types/adapters/generated/graphql/types/IDValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/IntAggregate.d.ts +46 -0
- package/dist/types/adapters/generated/graphql/types/IntValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/JSONValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/LatitudeAggregate.d.ts +44 -0
- package/dist/types/adapters/generated/graphql/types/LatitudeValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/ListColumn.d.ts +37 -0
- package/dist/types/adapters/generated/graphql/types/ListOrder.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/LongAggregate.d.ts +46 -0
- package/dist/types/adapters/generated/graphql/types/LongTextAreaValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/LongValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/LongitudeAggregate.d.ts +44 -0
- package/dist/types/adapters/generated/graphql/types/LongitudeValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/MultiPicklistValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/NullOrder.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/types/NullsOrder.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/types/ObjectInfo.d.ts +60 -0
- package/dist/types/adapters/generated/graphql/types/PageInfo.d.ts +37 -0
- package/dist/types/adapters/generated/graphql/types/PercentAggregate.d.ts +45 -0
- package/dist/types/adapters/generated/graphql/types/PercentValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/PhoneNumberAggregate.d.ts +43 -0
- package/dist/types/adapters/generated/graphql/types/PhoneNumberValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/PicklistAggregate.d.ts +44 -0
- package/dist/types/adapters/generated/graphql/types/PicklistValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/PolymorphicParentRelationship.d.ts +20 -0
- package/dist/types/adapters/generated/graphql/types/Query.d.ts +38 -0
- package/dist/types/adapters/generated/graphql/types/RateLimit.d.ts +37 -0
- package/dist/types/adapters/generated/graphql/types/Record.d.ts +33 -0
- package/dist/types/adapters/generated/graphql/types/RecordAggregate.d.ts +68 -0
- package/dist/types/adapters/generated/graphql/types/RecordAggregateConnection.d.ts +39 -0
- package/dist/types/adapters/generated/graphql/types/RecordAggregateEdge.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/RecordConnection.d.ts +41 -0
- package/dist/types/adapters/generated/graphql/types/RecordCreatePayload.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/RecordDeletePayload.d.ts +34 -0
- package/dist/types/adapters/generated/graphql/types/RecordEdge.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/RecordQuery.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/RecordQueryAggregate.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/RecordRepresentation.d.ts +132 -0
- package/dist/types/adapters/generated/graphql/types/RecordResult.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/RecordTypeInfo.d.ts +38 -0
- package/dist/types/adapters/generated/graphql/types/RecordUpdatePayload.d.ts +34 -0
- package/dist/types/adapters/generated/graphql/types/ReferenceToInfo.d.ts +37 -0
- package/dist/types/adapters/generated/graphql/types/RelatedListInfo.d.ts +43 -0
- package/dist/types/adapters/generated/graphql/types/ResultOrder.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/types/ResultsOrder.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/types/RichTextAreaValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/Setup__EntityRepresentation.d.ts +92 -0
- package/dist/types/adapters/generated/graphql/types/Setup__Setup.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/Setup__SetupConnection.d.ts +40 -0
- package/dist/types/adapters/generated/graphql/types/Setup__SetupEdge.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/Setup__SetupPolymorphicParentRelationship.d.ts +20 -0
- package/dist/types/adapters/generated/graphql/types/Setup__SetupQuery.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/StringAggregate.d.ts +44 -0
- package/dist/types/adapters/generated/graphql/types/StringValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/TextAreaAggregate.d.ts +43 -0
- package/dist/types/adapters/generated/graphql/types/TextAreaValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/ThemeInfo.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/TimeAggregate.d.ts +38 -0
- package/dist/types/adapters/generated/graphql/types/TimeValue.d.ts +36 -0
- package/dist/types/adapters/generated/graphql/types/UIAPI.d.ts +41 -0
- package/dist/types/adapters/generated/graphql/types/UIAPIMutations.d.ts +39 -0
- package/dist/types/adapters/generated/graphql/types/Unit.d.ts +5 -0
- package/dist/types/adapters/generated/graphql/types/UrlAggregate.d.ts +43 -0
- package/dist/types/adapters/generated/graphql/types/UrlValue.d.ts +35 -0
- package/dist/types/adapters/generated/graphql/types/type-util.d.ts +98 -0
- package/dist/types/adapters/graphql-artifacts/types/CompoundField/getFieldType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/CompoundField/selectType.d.ts +4 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordAggregate/getFieldType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordConnection/getTypeCacheKeys.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordQuery/getFieldType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordQueryAggregate/getFieldType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/attachMappedData.d.ts +4 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/convertGraphQLToRaml.d.ts +11 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/getFieldData.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/getFieldType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/getInContextFragmentType.d.ts +3 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/getMappedTypeCacheKeys.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/getMinimumSelections.d.ts +2 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/ingestMappedData.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/isMappedField.d.ts +2 -0
- package/dist/types/adapters/graphql-artifacts/types/RecordRepresentation/selectType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/Setup__SetupQuery/getFieldType.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/shared/RecordFields.d.ts +5 -0
- package/dist/types/adapters/graphql-artifacts/types/shared/getMinimumSelections.d.ts +3 -0
- package/dist/types/adapters/helpers/FieldValueRepresentation/merge.d.ts +3 -0
- package/dist/types/adapters/helpers/FieldValueRepresentation/normalize.d.ts +5 -0
- package/dist/types/adapters/helpers/RecordRepresentation/merge.d.ts +8 -0
- package/dist/types/adapters/helpers/RecordRepresentation/normalize.d.ts +10 -0
- package/dist/types/adapters/helpers/RecordRepresentation/resolveConflict.d.ts +11 -0
- package/dist/types/adapters/helpers/graphql/getDirectiveValue.d.ts +2 -0
- package/dist/types/adapters/helpers/graphql/getFieldNameOverride.d.ts +2 -0
- package/dist/types/adapters/helpers/resources/getRecordFulfill.d.ts +2 -0
- package/dist/types/adapters/main.d.ts +43 -0
- package/dist/types/adapters/overrides/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +5 -0
- package/dist/types/adapters/pagination/cursor.d.ts +41 -0
- package/dist/types/adapters/pagination/syntheticCursor.d.ts +31 -0
- package/dist/types/adapters/primitives/FieldId/coerce.d.ts +7 -0
- package/dist/types/adapters/primitives/FieldId/index.d.ts +14 -0
- package/dist/types/adapters/primitives/FieldIdArray/coerce.d.ts +9 -0
- package/dist/types/adapters/primitives/FormFactor/coerce.d.ts +2 -0
- package/dist/types/adapters/primitives/FormFactor/index.d.ts +5 -0
- package/dist/types/adapters/primitives/LayoutMode/coerce.d.ts +2 -0
- package/dist/types/adapters/primitives/LayoutMode/index.d.ts +5 -0
- package/dist/types/adapters/primitives/LayoutModeArray/coerce.d.ts +2 -0
- package/dist/types/adapters/primitives/LayoutType/coerce.d.ts +2 -0
- package/dist/types/adapters/primitives/LayoutType/index.d.ts +4 -0
- package/dist/types/adapters/primitives/LayoutTypeArray/coerce.d.ts +2 -0
- package/dist/types/adapters/primitives/ObjectId/coerce.d.ts +6 -0
- package/dist/types/adapters/primitives/ObjectId/index.d.ts +4 -0
- package/dist/types/adapters/primitives/ObjectIdArray/coerce.d.ts +6 -0
- package/dist/types/adapters/primitives/RecordId18/coerce.d.ts +6 -0
- package/dist/types/adapters/primitives/RecordId18Array/coerce.d.ts +6 -0
- package/dist/types/adapters/primitives/SortedObjectIdArray/coerce.d.ts +6 -0
- package/dist/types/adapters/primitives/SortedStringArray/coerce.d.ts +1 -0
- package/dist/types/adapters/primitives/SortedStringArrayAllowEmpty/coerce.d.ts +1 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/GetRecordsConfig.d.ts +15 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/adapterFragment.d.ts +3 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/createChildResourceParams.d.ts +3 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/createResourceParams.d.ts +3 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/getRecords_ConfigPropertyNames.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/onFetchResponseSuccess.d.ts +5 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/typeCheckConfig.d.ts +5 -0
- package/dist/types/adapters/raml-artifacts/adapters/getRecords/validateAdapterConfig.d.ts +6 -0
- package/dist/types/adapters/raml-artifacts/resources/getUiApiRecordDefaultsTemplateCloneByRecordId/select.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/resources/getUiApiRecordsBatchByRecordIds/ingestSuccessChildResourceParams.d.ts +17 -0
- package/dist/types/adapters/raml-artifacts/resources/getUiApiRecordsBatchByRecordIds/selectChildResourceParams.d.ts +4 -0
- package/dist/types/adapters/raml-artifacts/resources/getUiApiRecordsByRecordId/createResourceRequest.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/resources/postGraphql/createResourceRequest.d.ts +5 -0
- package/dist/types/adapters/raml-artifacts/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName/keyBuilder.d.ts +4 -0
- package/dist/types/adapters/raml-artifacts/types/FieldValueRepresentation/ingest.d.ts +4 -0
- package/dist/types/adapters/raml-artifacts/types/ListInfoRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/types/ListInfoRepresentation/notifyUpdateAvailableFactory.d.ts +3 -0
- package/dist/types/adapters/raml-artifacts/types/ListRecordCollectionRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/types/QuickActionDefaultsRepresentation/dynamicIngest.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/types/RecordRepresentation/getTypeCacheKeys.d.ts +2 -0
- package/dist/types/adapters/raml-artifacts/types/RecordRepresentation/ingest.d.ts +4 -0
- package/dist/types/adapters/raml-artifacts/types/RecordRepresentation/keyBuilderFromType.d.ts +2 -0
- package/dist/types/adapters/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +20 -0
- package/dist/types/adapters/resources/getUiApiListRecordsByListViewId.d.ts +24 -0
- package/dist/types/adapters/resources/getUiApiListUiByListViewApiNameAndObjectApiName.d.ts +25 -0
- package/dist/types/adapters/resources/getUiApiListUiByListViewId.d.ts +24 -0
- package/dist/types/adapters/resources/getUiApiListUiByObjectApiName.d.ts +23 -0
- package/dist/types/adapters/resources/getUiApiLookupsByFieldApiNameAndObjectApiNameAndTargetApiName.d.ts +25 -0
- package/dist/types/adapters/resources/getUiApiMruListRecordsByObjectApiName.d.ts +22 -0
- package/dist/types/adapters/resources/getUiApiMruListUiByObjectApiName.d.ts +24 -0
- package/dist/types/adapters/resources/getUiApiRecordDefaultsCloneByRecordId.d.ts +20 -0
- package/dist/types/adapters/resources/getUiApiRecordDefaultsCreateByObjectApiName.d.ts +20 -0
- package/dist/types/adapters/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +19 -0
- package/dist/types/adapters/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +19 -0
- package/dist/types/adapters/resources/getUiApiRecordUiByRecordIds.d.ts +24 -0
- package/dist/types/adapters/resources/getUiApiRecordsBatchByRecordIds.d.ts +33 -0
- package/dist/types/adapters/resources/getUiApiRecordsByRecordId.d.ts +26 -0
- package/dist/types/adapters/resources/postGraphql.d.ts +20 -0
- package/dist/types/adapters/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +27 -0
- package/dist/types/adapters/resources/postUiApiListRecordsByListViewId.d.ts +24 -0
- package/dist/types/adapters/resources/postUiApiLookupsByFieldApiNameAndObjectApiName.d.ts +29 -0
- package/dist/types/adapters/resources/postUiApiRecordsContentDocumentsContentVersionsByContentDocumentId.d.ts +16 -0
- package/dist/types/adapters/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +28 -0
- package/dist/types/adapters/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +26 -0
- package/dist/types/adapters/resources/postUiApiSearchResults.d.ts +24 -0
- package/dist/types/adapters/resources/postUiApiSearchResultsKeyword.d.ts +24 -0
- package/dist/types/adapters/selectors/record.d.ts +15 -0
- package/dist/types/adapters/test-utils.d.ts +14 -0
- package/dist/types/adapters/types/AbstractRecordLayoutComponentRepresentation.d.ts +41 -0
- package/dist/types/adapters/types/AppliedSearchFilterOutputRepresentation.d.ts +37 -0
- package/dist/types/adapters/types/BatchOperationInputRepresentation.d.ts +32 -0
- package/dist/types/adapters/types/BatchRepresentation.d.ts +11 -0
- package/dist/types/adapters/types/BatchResultRepresentation.d.ts +18 -0
- package/dist/types/adapters/types/CanvasLayoutComponentRepresentation.d.ts +42 -0
- package/dist/types/adapters/types/ChildRelationshipRepresentation.d.ts +40 -0
- package/dist/types/adapters/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +45 -0
- package/dist/types/adapters/types/ContentDocumentCompositeRepresentation.d.ts +55 -0
- package/dist/types/adapters/types/CustomLinkLayoutComponentRepresentation.d.ts +36 -0
- package/dist/types/adapters/types/ErrorMessageRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/FieldLayoutComponentRepresentation.d.ts +30 -0
- package/dist/types/adapters/types/FieldRepresentation.d.ts +126 -0
- package/dist/types/adapters/types/FieldValueRepresentation.d.ts +41 -0
- package/dist/types/adapters/types/FilteredLookupInfoRepresentation.d.ts +34 -0
- package/dist/types/adapters/types/GraphQLRepresentation.d.ts +21 -0
- package/dist/types/adapters/types/KeywordSearchResultsRepresentation.d.ts +38 -0
- package/dist/types/adapters/types/KeywordSearchResultsSummaryRepresentation.d.ts +56 -0
- package/dist/types/adapters/types/ListColumnInlineEditAttributesRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/ListColumnInlineEditAttributesRepresentationWrapper.d.ts +28 -0
- package/dist/types/adapters/types/ListColumnRepresentation.d.ts +44 -0
- package/dist/types/adapters/types/ListFieldErrorRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/ListFilterByInfoRepresentation.d.ts +37 -0
- package/dist/types/adapters/types/ListInfoRepresentation.d.ts +116 -0
- package/dist/types/adapters/types/ListInfoShareCategoryRepresentation.d.ts +32 -0
- package/dist/types/adapters/types/ListInfoShareRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/ListInfoSummaryRepresentation.d.ts +46 -0
- package/dist/types/adapters/types/ListInlineEditDetailsRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/ListOrderByInfoRepresentation.d.ts +34 -0
- package/dist/types/adapters/types/ListRecordCollectionRepresentation.d.ts +110 -0
- package/dist/types/adapters/types/ListReferenceRepresentation.d.ts +37 -0
- package/dist/types/adapters/types/ListScopeEntityRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/ListScopeRelatedEntityRepresentation.d.ts +34 -0
- package/dist/types/adapters/types/ListScopeRepresentation.d.ts +39 -0
- package/dist/types/adapters/types/ListUiRepresentation.d.ts +66 -0
- package/dist/types/adapters/types/ListUserPreferenceRepresentation.d.ts +39 -0
- package/dist/types/adapters/types/ListViewSummaryCollectionRepresentation.d.ts +94 -0
- package/dist/types/adapters/types/ListViewSummaryRepresentation.d.ts +46 -0
- package/dist/types/adapters/types/LookupValuesRepresentation.d.ts +55 -0
- package/dist/types/adapters/types/NLSResultsRepresentation.d.ts +40 -0
- package/dist/types/adapters/types/ObjectInfoRepresentation.d.ts +126 -0
- package/dist/types/adapters/types/QuickActionDefaultsRepresentation.d.ts +62 -0
- package/dist/types/adapters/types/QuickActionExecutionRepresentation.d.ts +55 -0
- package/dist/types/adapters/types/RecordCollectionRepresentation.d.ts +60 -0
- package/dist/types/adapters/types/RecordCreateDefaultRecordRepresentation.d.ts +80 -0
- package/dist/types/adapters/types/RecordDefaultsRepresentation.d.ts +54 -0
- package/dist/types/adapters/types/RecordDefaultsTemplateCloneRepresentation.d.ts +60 -0
- package/dist/types/adapters/types/RecordDefaultsTemplateCreateRepresentation.d.ts +60 -0
- package/dist/types/adapters/types/RecordInputRepresentation.d.ts +38 -0
- package/dist/types/adapters/types/RecordLayoutComponentRepresentation.d.ts +26 -0
- package/dist/types/adapters/types/RecordLayoutItemRepresentation.d.ts +53 -0
- package/dist/types/adapters/types/RecordLayoutRepresentation.d.ts +70 -0
- package/dist/types/adapters/types/RecordLayoutRowRepresentation.d.ts +29 -0
- package/dist/types/adapters/types/RecordLayoutSaveOptionRepresentation.d.ts +43 -0
- package/dist/types/adapters/types/RecordLayoutSectionRepresentation.d.ts +47 -0
- package/dist/types/adapters/types/RecordLayoutSectionUserStateInputRepresentation.d.ts +28 -0
- package/dist/types/adapters/types/RecordLayoutSectionUserStateRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/RecordLayoutUserStateInputRepresentation.d.ts +32 -0
- package/dist/types/adapters/types/RecordLayoutUserStateRepresentation.d.ts +65 -0
- package/dist/types/adapters/types/RecordRepresentation.d.ts +101 -0
- package/dist/types/adapters/types/RecordTemplateCloneRepresentation.d.ts +64 -0
- package/dist/types/adapters/types/RecordTemplateCreateRepresentation.d.ts +61 -0
- package/dist/types/adapters/types/RecordTypeInfoRepresentation.d.ts +40 -0
- package/dist/types/adapters/types/RecordUiRepresentation.d.ts +88 -0
- package/dist/types/adapters/types/ReferenceToInfoRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/RelatedListRecordCollectionBatchRepresentation.d.ts +36 -0
- package/dist/types/adapters/types/RelatedListRecordCollectionRepresentation.d.ts +102 -0
- package/dist/types/adapters/types/RelatedListRecordsSingleBatchInputRepresentation.d.ts +43 -0
- package/dist/types/adapters/types/RelatedListReferenceRepresentation.d.ts +49 -0
- package/dist/types/adapters/types/ReportLayoutComponentRepresentation.d.ts +51 -0
- package/dist/types/adapters/types/SearchAnswersRecordRepresentation.d.ts +37 -0
- package/dist/types/adapters/types/SearchAnswersResultRepresentation.d.ts +40 -0
- package/dist/types/adapters/types/SearchDataCategoryInputRepresentation.d.ts +34 -0
- package/dist/types/adapters/types/SearchDataCategoryOutputRepresentation.d.ts +34 -0
- package/dist/types/adapters/types/SearchFilterInputRepresentation.d.ts +37 -0
- package/dist/types/adapters/types/SearchFilterOutputRepresentation.d.ts +34 -0
- package/dist/types/adapters/types/SearchObjectOptionsOutputRepresentation.d.ts +33 -0
- package/dist/types/adapters/types/SearchObjectOptionsRepresentation.d.ts +33 -0
- package/dist/types/adapters/types/SearchRecordHighlightRepresentation.d.ts +35 -0
- package/dist/types/adapters/types/SearchRecordInfoRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/SearchResultCollectionRepresentation.d.ts +64 -0
- package/dist/types/adapters/types/SearchResultRepresentation.d.ts +46 -0
- package/dist/types/adapters/types/SearchResultsSummaryRepresentation.d.ts +67 -0
- package/dist/types/adapters/types/ThemeInfoRepresentation.d.ts +31 -0
- package/dist/types/adapters/types/VisualforceLayoutComponentRepresentation.d.ts +42 -0
- package/dist/types/adapters/types/type-utils.d.ts +32 -0
- package/dist/types/adapters/uiapi/record-collection/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +5 -0
- package/dist/types/adapters/uiapi/record-collection/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +5 -0
- package/dist/types/adapters/util/adapter-utils.d.ts +62 -0
- package/dist/types/adapters/util/cache-policy.d.ts +10 -0
- package/dist/types/adapters/util/field-ingest.d.ts +16 -0
- package/dist/types/adapters/util/fields.d.ts +41 -0
- package/dist/types/adapters/util/layout.d.ts +4 -0
- package/dist/types/adapters/util/layouts.d.ts +8 -0
- package/dist/types/adapters/util/lists.d.ts +76 -0
- package/dist/types/adapters/util/pagination.d.ts +26 -0
- package/dist/types/adapters/util/promise.d.ts +1 -0
- package/dist/types/adapters/util/record-ingest.d.ts +8 -0
- package/dist/types/adapters/util/record-ui.d.ts +4 -0
- package/dist/types/adapters/util/records.d.ts +56 -0
- package/dist/types/adapters/util/snapshot.d.ts +5 -0
- package/dist/types/adapters/validation/utils.d.ts +24 -0
- package/dist/types/adapters/wire/getKeywordSearchResults/index.d.ts +34 -0
- package/dist/types/adapters/wire/getListRecordsByName/index.d.ts +42 -0
- package/dist/types/adapters/wire/getListUi/getListUiByApiName.d.ts +34 -0
- package/dist/types/adapters/wire/getListUi/getListUiByListViewId.d.ts +33 -0
- package/dist/types/adapters/wire/getListUi/index.d.ts +12 -0
- package/dist/types/adapters/wire/getListViewSummaryCollection/index.d.ts +34 -0
- package/dist/types/adapters/wire/getLookupRecords/getLookupRecords.d.ts +37 -0
- package/dist/types/adapters/wire/getLookupRecords/index.d.ts +22 -0
- package/dist/types/adapters/wire/getMruListUi/getMruListUi.d.ts +33 -0
- package/dist/types/adapters/wire/getMruListUi/index.d.ts +7 -0
- package/dist/types/adapters/wire/getQuickActionDefaults/index.d.ts +31 -0
- package/dist/types/adapters/wire/getRecord/GetRecordFields.d.ts +14 -0
- package/dist/types/adapters/wire/getRecord/GetRecordLayoutType.d.ts +18 -0
- package/dist/types/adapters/wire/getRecord/getRecord.d.ts +37 -0
- package/dist/types/adapters/wire/getRecord/index.d.ts +5 -0
- package/dist/types/adapters/wire/getRecordCreateDefaults/getRecordCreateDefaults.d.ts +30 -0
- package/dist/types/adapters/wire/getRecordCreateDefaults/index.d.ts +8 -0
- package/dist/types/adapters/wire/getRecordTemplateClone/getRecordTemplateClone.d.ts +29 -0
- package/dist/types/adapters/wire/getRecordTemplateClone/index.d.ts +4 -0
- package/dist/types/adapters/wire/getRecordTemplateCreate/getRecordTemplateCreate.d.ts +29 -0
- package/dist/types/adapters/wire/getRecordTemplateCreate/index.d.ts +4 -0
- package/dist/types/adapters/wire/getRecordUi/getRecordUi.d.ts +34 -0
- package/dist/types/adapters/wire/getRecordUi/index.d.ts +14 -0
- package/dist/types/adapters/wire/getRecordUi/selectors.d.ts +10 -0
- package/dist/types/adapters/wire/getRecords/GetRecordsFields.d.ts +4 -0
- package/dist/types/adapters/wire/getRecords/index.d.ts +35 -0
- package/dist/types/adapters/wire/getRelatedListRecords/index.d.ts +37 -0
- package/dist/types/adapters/wire/getRelatedListRecordsBatch/createChildResourceParams.d.ts +4 -0
- package/dist/types/adapters/wire/getRelatedListRecordsBatch/index.d.ts +29 -0
- package/dist/types/adapters/wire/getSearchResults/index.d.ts +34 -0
- package/dist/types/adapters/wire/graphqlBatch/index.d.ts +26 -0
- package/dist/types/adapters/wire/graphqlBatch/postGraphqlBatch.d.ts +43 -0
- package/dist/types/drafts/AbstractResourceRequestActionHandler.d.ts +68 -0
- package/dist/types/drafts/IdempotentWrite.d.ts +33 -0
- package/dist/types/drafts/UiApiDraftRecordService.d.ts +43 -0
- package/dist/types/drafts/contentDocument/ContentDocumentCompositeRepresentationActionHandler.d.ts +51 -0
- package/dist/types/drafts/contentDocument/draftAwareAdapters/createContentDocumentAndVersion/events.d.ts +30 -0
- package/dist/types/drafts/contentDocument/draftAwareAdapters/createContentDocumentAndVersion/index.d.ts +10 -0
- package/dist/types/drafts/contentDocument/shared.d.ts +6 -0
- package/dist/types/drafts/index.d.ts +14 -0
- package/dist/types/drafts/quickActions/AbstractQuickActionHandler.d.ts +11 -0
- package/dist/types/drafts/quickActions/QuickActionExecutionRepresentationHandler.d.ts +36 -0
- package/dist/types/drafts/quickActions/UpdateRecordQuickActionExecutionRepresentationHandler.d.ts +29 -0
- package/dist/types/drafts/quickActions/draftAwareAdapters/performQuickAction.d.ts +8 -0
- package/dist/types/drafts/quickActions/draftAwareAdapters/updateRecordPerformQuickAction.d.ts +8 -0
- package/dist/types/drafts/records/DraftRecordRepresentation.d.ts +15 -0
- package/dist/types/drafts/records/actionHandlers/RecordEffectingHandler.d.ts +6 -0
- package/dist/types/drafts/records/actionHandlers/SideEffectHook.d.ts +19 -0
- package/dist/types/drafts/records/actionHandlers/UiApiRecordActionHandler.d.ts +66 -0
- package/dist/types/drafts/records/draftAwareAdapters/createRecord.d.ts +9 -0
- package/dist/types/drafts/records/draftAwareAdapters/deleteRecord.d.ts +8 -0
- package/dist/types/drafts/records/draftAwareAdapters/updateRecord.d.ts +9 -0
- package/dist/types/drafts/records/environment/getRecordDraftEnvironment.d.ts +4 -0
- package/dist/types/drafts/records/environment/getRecordsDraftEnvironment.d.ts +5 -0
- package/dist/types/drafts/records/environment/makeEnvironmentUiApiRecordDraftAware.d.ts +11 -0
- package/dist/types/drafts/records/records.d.ts +30 -0
- package/dist/types/drafts/sideEffects/SideEffectHandler.d.ts +18 -0
- package/dist/types/drafts/sideEffects/SideEffectService.d.ts +27 -0
- package/dist/types/drafts/sideEffects/SideEffectStore.d.ts +14 -0
- package/dist/types/drafts/sideEffects/index.d.ts +2 -0
- package/dist/types/drafts/sideEffects/sideEffectEnvironment.d.ts +3 -0
- package/dist/types/drafts/sideEffects/sideEffects.d.ts +36 -0
- package/dist/types/drafts/utils/adapter.d.ts +2 -0
- package/dist/types/drafts/utils/clone.d.ts +1 -0
- package/dist/types/drafts/utils/durableStore.d.ts +3 -0
- package/dist/types/drafts/utils/error.d.ts +4 -0
- package/dist/types/durableStore/DurableRecordStore.d.ts +18 -0
- package/dist/types/durableStore/NimbusSqliteStore/tables/LdsDraftsDataTable.d.ts +5 -0
- package/dist/types/durableStore/NimbusSqliteStore/tables/index.d.ts +1 -0
- package/dist/types/durableStore/index.d.ts +3 -0
- package/dist/types/durableStore/makeEnvironmentGraphqlAware.d.ts +2 -0
- package/dist/types/environment/enableLazyObjectInfoCaching.d.ts +13 -0
- package/dist/types/graphql/adapter/draftAwareGraphQLAdapterFactory.d.ts +6 -0
- package/dist/types/graphql/adapter/environmentAwareGraphQLBatchAdapterFactory.d.ts +4 -0
- package/dist/types/graphql/adapter/graphqlEvalAdapterFactory.d.ts +5 -0
- package/dist/types/graphql/adapter/utils.d.ts +2 -0
- package/dist/types/graphql/adapterFactory.d.ts +3 -0
- package/dist/types/graphql/array.d.ts +2 -0
- package/dist/types/graphql/base64.d.ts +4 -0
- package/dist/types/graphql/constants.d.ts +3 -0
- package/dist/types/graphql/context.d.ts +20 -0
- package/dist/types/graphql/dataloader.d.ts +26 -0
- package/dist/types/graphql/dateLiteral.d.ts +28 -0
- package/dist/types/graphql/dateTimePredication.d.ts +33 -0
- package/dist/types/graphql/evaluate.d.ts +13 -0
- package/dist/types/graphql/events.d.ts +37 -0
- package/dist/types/graphql/filterParser.d.ts +6 -0
- package/dist/types/graphql/index.d.ts +9 -0
- package/dist/types/graphql/instrumentLimits.d.ts +8 -0
- package/dist/types/graphql/lib.d.ts +52 -0
- package/dist/types/graphql/limit.d.ts +10 -0
- package/dist/types/graphql/orderByParser.d.ts +10 -0
- package/dist/types/graphql/pagination.d.ts +10 -0
- package/dist/types/graphql/query.d.ts +56 -0
- package/dist/types/graphql/recordLoader.d.ts +4 -0
- package/dist/types/graphql/resolvers/basic.d.ts +1 -0
- package/dist/types/graphql/resolvers/connection.d.ts +32 -0
- package/dist/types/graphql/resolvers/index.d.ts +8 -0
- package/dist/types/graphql/resolvers/pagination.d.ts +32 -0
- package/dist/types/graphql/schema.d.ts +51 -0
- package/dist/types/graphql/scopeParser.d.ts +4 -0
- package/dist/types/graphql/snapshot.d.ts +26 -0
- package/dist/types/graphql/staleRecords/batchingStaleRecordsAdapter.d.ts +10 -0
- package/dist/types/graphql/syntheticFields.d.ts +10 -0
- package/dist/types/graphql/typeguards.d.ts +19 -0
- package/dist/types/instrumentation/instrumentDraftQueue.d.ts +5 -0
- package/dist/types/instrumentation/instrumentGraphQLEval.d.ts +2 -0
- package/dist/types/instrumentation/instrumentMobileAdapter.d.ts +6 -0
- package/dist/types/instrumentation/instrumentPrimingSession.d.ts +2 -0
- package/dist/types/instrumentation/instrumentationContentDocumentVersionAdapter.d.ts +2 -0
- package/dist/types/instrumentation/instrumentationUtils.d.ts +10 -0
- package/dist/types/instrumentation/metrics.d.ts +26 -0
- package/dist/types/instrumentation/withInstrumentation.d.ts +12 -0
- package/dist/types/localization/formatDisplayValue.d.ts +6 -0
- package/dist/types/main.d.ts +11 -0
- package/dist/types/mocks.d.ts +1 -0
- package/dist/types/observer/setupObserver.d.ts +1 -0
- package/dist/types/onestore/index.d.ts +10 -0
- package/dist/types/onestore/nimbusDurableCacheInclusionPolicy.d.ts +15 -0
- package/dist/types/onestore/nimbusNetworkDescriptor.d.ts +3 -0
- package/dist/types/onestore/nimbusSqliteStoreCache.d.ts +19 -0
- package/dist/types/priming/ConflictPool.d.ts +31 -0
- package/dist/types/priming/Emitter.d.ts +16 -0
- package/dist/types/priming/LdsPrimingRecordRefresher.d.ts +14 -0
- package/dist/types/priming/LdsRecordRefresher.d.ts +17 -0
- package/dist/types/priming/NimbusPrimingNetworkAdapter.d.ts +10 -0
- package/dist/types/priming/ObjectInfoLoader.d.ts +10 -0
- package/dist/types/priming/PrimingNetworkAdapter.d.ts +5 -0
- package/dist/types/priming/PrimingNetworkError.d.ts +5 -0
- package/dist/types/priming/PrimingSession.d.ts +76 -0
- package/dist/types/priming/PrimingStore.d.ts +27 -0
- package/dist/types/priming/RecordIngestor.d.ts +14 -0
- package/dist/types/priming/SqlitePrimingStore.d.ts +11 -0
- package/dist/types/priming/index.d.ts +10 -0
- package/dist/types/priming/metadata/MetadataHandler.d.ts +49 -0
- package/dist/types/priming/primingSessionFactory.d.ts +14 -0
- package/dist/types/priming/recordLoaders/NetworkRecordLoader.d.ts +18 -0
- package/dist/types/priming/recordLoaders/RecordLoader.d.ts +25 -0
- package/dist/types/priming/recordLoaders/RecordLoaderGraphQL.d.ts +37 -0
- package/dist/types/priming/recordLoaders/RecordLoaderGraphQLBatch.d.ts +11 -0
- package/dist/types/priming/recordLoaders/RecordLoaderSOQLComposite.d.ts +14 -0
- package/dist/types/priming/recordLoaders/SoqlRecordConverter.d.ts +32 -0
- package/dist/types/priming/recordLoaders/api.d.ts +2 -0
- package/dist/types/priming/recordLoaders/index.d.ts +4 -0
- package/dist/types/priming/typedBatch.d.ts +3 -0
- package/dist/types/priming/utils/merge.d.ts +32 -0
- package/dist/types/runtime.d.ts +24 -0
- package/dist/types/sfs/ProductConsumedSideEffects.d.ts +26 -0
- package/dist/types/sfs/sfsCustomSideEffects.d.ts +3 -0
- package/dist/types/trim/AggressiveTrim.d.ts +7 -0
- package/dist/types/utils/ObjectInfoService.d.ts +44 -0
- package/dist/types/utils/adapters.d.ts +19 -0
- package/dist/types/utils/language.d.ts +57 -0
- package/dist/types/utils/utils.d.ts +27 -0
- package/package.json +117 -0
- package/sfdc/main.js +60214 -0
- package/sfdc/types/DraftQueueFactory.d.ts +3 -0
- package/sfdc/types/NimbusBinaryStore.d.ts +2 -0
- package/sfdc/types/NimbusDraftQueue.d.ts +28 -0
- package/sfdc/types/RecordIdGenerator.d.ts +15 -0
- package/sfdc/types/__mocks__/force/ldsGraphqlParser.d.ts +3 -0
- package/sfdc/types/__mocks__/o11y/activity.d.ts +11 -0
- package/sfdc/types/__mocks__/o11y/client.d.ts +5 -0
- package/sfdc/types/__mocks__/o11y/idleDetector.d.ts +18 -0
- package/sfdc/types/__mocks__/o11y/instrumentation.d.ts +16 -0
- package/sfdc/types/adapters/fields/adapters/getQuickActionDefaults.d.ts +5 -0
- package/sfdc/types/adapters/fields/adapters/getRecord.d.ts +5 -0
- package/sfdc/types/adapters/fields/adapters/getRecordTemplateClone.d.ts +5 -0
- package/sfdc/types/adapters/fields/adapters/getRecordTemplateCreate.d.ts +5 -0
- package/sfdc/types/adapters/fields/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +12 -0
- package/sfdc/types/adapters/fields/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +12 -0
- package/sfdc/types/adapters/fields/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +12 -0
- package/sfdc/types/adapters/fields/resources/getUiApiRecordsByRecordId.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/ContentDocumentCompositeRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/KeywordSearchResultsRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/ListRecordCollectionRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/ListUiRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/LookupValuesRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/QuickActionDefaultsRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordCollectionRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordCreateDefaultRecordRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordDefaultsRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordDefaultsTemplateCloneRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordDefaultsTemplateCreateRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordTemplateCloneRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordTemplateCreateRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RecordUiRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/RelatedListRecordCollectionRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/SearchResultCollectionRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/fields/types/SearchResultRepresentation.d.ts +12 -0
- package/sfdc/types/adapters/generated/adapters/graphql.d.ts +32 -0
- package/sfdc/types/adapters/generated/artifacts/main.d.ts +15 -0
- package/sfdc/types/adapters/generated/graphql/directives/category.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/directives/deprecated.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/directives/directive-util.d.ts +4 -0
- package/sfdc/types/adapters/generated/graphql/directives/fieldCategory.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/directives/generic.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/directives/include.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/directives/skip.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/directives/specifiedBy.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/types/AggregateOrderByNumberFunction.d.ts +9 -0
- package/sfdc/types/adapters/generated/graphql/types/AggregateOrderByStringFunction.d.ts +7 -0
- package/sfdc/types/adapters/generated/graphql/types/Base64Value.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/BooleanAggregate.d.ts +37 -0
- package/sfdc/types/adapters/generated/graphql/types/BooleanValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/ChildRelationship.d.ts +40 -0
- package/sfdc/types/adapters/generated/graphql/types/CompoundField.d.ts +81 -0
- package/sfdc/types/adapters/generated/graphql/types/CurrencyAggregate.d.ts +45 -0
- package/sfdc/types/adapters/generated/graphql/types/CurrencyValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/DataType.d.ts +29 -0
- package/sfdc/types/adapters/generated/graphql/types/DateAggregate.d.ts +56 -0
- package/sfdc/types/adapters/generated/graphql/types/DateFunctionAggregation.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/DateLiteral.d.ts +26 -0
- package/sfdc/types/adapters/generated/graphql/types/DateOnlyAggregation.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/DateTimeAggregate.d.ts +57 -0
- package/sfdc/types/adapters/generated/graphql/types/DateTimeValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/DateValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/DependentField.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/DoubleAggregate.d.ts +44 -0
- package/sfdc/types/adapters/generated/graphql/types/DoubleValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/EmailAggregate.d.ts +43 -0
- package/sfdc/types/adapters/generated/graphql/types/EmailValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/EncryptedStringValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/Field.d.ts +66 -0
- package/sfdc/types/adapters/generated/graphql/types/FieldExtraTypeInfo.d.ts +10 -0
- package/sfdc/types/adapters/generated/graphql/types/FieldValue.d.ts +21 -0
- package/sfdc/types/adapters/generated/graphql/types/FilteredLookupInfo.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/GroupByFunction.d.ts +16 -0
- package/sfdc/types/adapters/generated/graphql/types/GroupByType.d.ts +6 -0
- package/sfdc/types/adapters/generated/graphql/types/IDAggregate.d.ts +43 -0
- package/sfdc/types/adapters/generated/graphql/types/IDValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/IntAggregate.d.ts +46 -0
- package/sfdc/types/adapters/generated/graphql/types/IntValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/JSONValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/LatitudeAggregate.d.ts +44 -0
- package/sfdc/types/adapters/generated/graphql/types/LatitudeValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/ListColumn.d.ts +37 -0
- package/sfdc/types/adapters/generated/graphql/types/ListOrder.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/LongAggregate.d.ts +46 -0
- package/sfdc/types/adapters/generated/graphql/types/LongTextAreaValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/LongValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/LongitudeAggregate.d.ts +44 -0
- package/sfdc/types/adapters/generated/graphql/types/LongitudeValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/MultiPicklistValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/NullOrder.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/types/NullsOrder.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/types/ObjectInfo.d.ts +60 -0
- package/sfdc/types/adapters/generated/graphql/types/PageInfo.d.ts +37 -0
- package/sfdc/types/adapters/generated/graphql/types/PercentAggregate.d.ts +45 -0
- package/sfdc/types/adapters/generated/graphql/types/PercentValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/PhoneNumberAggregate.d.ts +43 -0
- package/sfdc/types/adapters/generated/graphql/types/PhoneNumberValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/PicklistAggregate.d.ts +44 -0
- package/sfdc/types/adapters/generated/graphql/types/PicklistValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/PolymorphicParentRelationship.d.ts +20 -0
- package/sfdc/types/adapters/generated/graphql/types/Query.d.ts +38 -0
- package/sfdc/types/adapters/generated/graphql/types/RateLimit.d.ts +37 -0
- package/sfdc/types/adapters/generated/graphql/types/Record.d.ts +33 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordAggregate.d.ts +68 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordAggregateConnection.d.ts +39 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordAggregateEdge.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordConnection.d.ts +41 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordCreatePayload.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordDeletePayload.d.ts +34 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordEdge.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordQuery.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordQueryAggregate.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordRepresentation.d.ts +132 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordResult.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordTypeInfo.d.ts +38 -0
- package/sfdc/types/adapters/generated/graphql/types/RecordUpdatePayload.d.ts +34 -0
- package/sfdc/types/adapters/generated/graphql/types/ReferenceToInfo.d.ts +37 -0
- package/sfdc/types/adapters/generated/graphql/types/RelatedListInfo.d.ts +43 -0
- package/sfdc/types/adapters/generated/graphql/types/ResultOrder.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/types/ResultsOrder.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/types/RichTextAreaValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/Setup__EntityRepresentation.d.ts +92 -0
- package/sfdc/types/adapters/generated/graphql/types/Setup__Setup.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/Setup__SetupConnection.d.ts +40 -0
- package/sfdc/types/adapters/generated/graphql/types/Setup__SetupEdge.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/Setup__SetupPolymorphicParentRelationship.d.ts +20 -0
- package/sfdc/types/adapters/generated/graphql/types/Setup__SetupQuery.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/StringAggregate.d.ts +44 -0
- package/sfdc/types/adapters/generated/graphql/types/StringValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/TextAreaAggregate.d.ts +43 -0
- package/sfdc/types/adapters/generated/graphql/types/TextAreaValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/ThemeInfo.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/TimeAggregate.d.ts +38 -0
- package/sfdc/types/adapters/generated/graphql/types/TimeValue.d.ts +36 -0
- package/sfdc/types/adapters/generated/graphql/types/UIAPI.d.ts +41 -0
- package/sfdc/types/adapters/generated/graphql/types/UIAPIMutations.d.ts +39 -0
- package/sfdc/types/adapters/generated/graphql/types/Unit.d.ts +5 -0
- package/sfdc/types/adapters/generated/graphql/types/UrlAggregate.d.ts +43 -0
- package/sfdc/types/adapters/generated/graphql/types/UrlValue.d.ts +35 -0
- package/sfdc/types/adapters/generated/graphql/types/type-util.d.ts +98 -0
- package/sfdc/types/adapters/graphql-artifacts/types/CompoundField/getFieldType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/CompoundField/selectType.d.ts +4 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordAggregate/getFieldType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordConnection/getTypeCacheKeys.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordQuery/getFieldType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordQueryAggregate/getFieldType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/attachMappedData.d.ts +4 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/convertGraphQLToRaml.d.ts +11 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/getFieldData.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/getFieldType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/getInContextFragmentType.d.ts +3 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/getMappedTypeCacheKeys.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/getMinimumSelections.d.ts +2 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/ingestMappedData.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/isMappedField.d.ts +2 -0
- package/sfdc/types/adapters/graphql-artifacts/types/RecordRepresentation/selectType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/Setup__SetupQuery/getFieldType.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/shared/RecordFields.d.ts +5 -0
- package/sfdc/types/adapters/graphql-artifacts/types/shared/getMinimumSelections.d.ts +3 -0
- package/sfdc/types/adapters/helpers/FieldValueRepresentation/merge.d.ts +3 -0
- package/sfdc/types/adapters/helpers/FieldValueRepresentation/normalize.d.ts +5 -0
- package/sfdc/types/adapters/helpers/RecordRepresentation/merge.d.ts +8 -0
- package/sfdc/types/adapters/helpers/RecordRepresentation/normalize.d.ts +10 -0
- package/sfdc/types/adapters/helpers/RecordRepresentation/resolveConflict.d.ts +11 -0
- package/sfdc/types/adapters/helpers/graphql/getDirectiveValue.d.ts +2 -0
- package/sfdc/types/adapters/helpers/graphql/getFieldNameOverride.d.ts +2 -0
- package/sfdc/types/adapters/helpers/resources/getRecordFulfill.d.ts +2 -0
- package/sfdc/types/adapters/main.d.ts +43 -0
- package/sfdc/types/adapters/overrides/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +5 -0
- package/sfdc/types/adapters/pagination/cursor.d.ts +41 -0
- package/sfdc/types/adapters/pagination/syntheticCursor.d.ts +31 -0
- package/sfdc/types/adapters/primitives/FieldId/coerce.d.ts +7 -0
- package/sfdc/types/adapters/primitives/FieldId/index.d.ts +14 -0
- package/sfdc/types/adapters/primitives/FieldIdArray/coerce.d.ts +9 -0
- package/sfdc/types/adapters/primitives/FormFactor/coerce.d.ts +2 -0
- package/sfdc/types/adapters/primitives/FormFactor/index.d.ts +5 -0
- package/sfdc/types/adapters/primitives/LayoutMode/coerce.d.ts +2 -0
- package/sfdc/types/adapters/primitives/LayoutMode/index.d.ts +5 -0
- package/sfdc/types/adapters/primitives/LayoutModeArray/coerce.d.ts +2 -0
- package/sfdc/types/adapters/primitives/LayoutType/coerce.d.ts +2 -0
- package/sfdc/types/adapters/primitives/LayoutType/index.d.ts +4 -0
- package/sfdc/types/adapters/primitives/LayoutTypeArray/coerce.d.ts +2 -0
- package/sfdc/types/adapters/primitives/ObjectId/coerce.d.ts +6 -0
- package/sfdc/types/adapters/primitives/ObjectId/index.d.ts +4 -0
- package/sfdc/types/adapters/primitives/ObjectIdArray/coerce.d.ts +6 -0
- package/sfdc/types/adapters/primitives/RecordId18/coerce.d.ts +6 -0
- package/sfdc/types/adapters/primitives/RecordId18Array/coerce.d.ts +6 -0
- package/sfdc/types/adapters/primitives/SortedObjectIdArray/coerce.d.ts +6 -0
- package/sfdc/types/adapters/primitives/SortedStringArray/coerce.d.ts +1 -0
- package/sfdc/types/adapters/primitives/SortedStringArrayAllowEmpty/coerce.d.ts +1 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/GetRecordsConfig.d.ts +15 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/adapterFragment.d.ts +3 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/createChildResourceParams.d.ts +3 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/createResourceParams.d.ts +3 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/getRecords_ConfigPropertyNames.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/onFetchResponseSuccess.d.ts +5 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/typeCheckConfig.d.ts +5 -0
- package/sfdc/types/adapters/raml-artifacts/adapters/getRecords/validateAdapterConfig.d.ts +6 -0
- package/sfdc/types/adapters/raml-artifacts/resources/getUiApiRecordDefaultsTemplateCloneByRecordId/select.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/resources/getUiApiRecordsBatchByRecordIds/ingestSuccessChildResourceParams.d.ts +17 -0
- package/sfdc/types/adapters/raml-artifacts/resources/getUiApiRecordsBatchByRecordIds/selectChildResourceParams.d.ts +4 -0
- package/sfdc/types/adapters/raml-artifacts/resources/getUiApiRecordsByRecordId/createResourceRequest.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/resources/postGraphql/createResourceRequest.d.ts +5 -0
- package/sfdc/types/adapters/raml-artifacts/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName/keyBuilder.d.ts +4 -0
- package/sfdc/types/adapters/raml-artifacts/types/FieldValueRepresentation/ingest.d.ts +4 -0
- package/sfdc/types/adapters/raml-artifacts/types/ListInfoRepresentation/keyBuilderFromType.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/types/ListInfoRepresentation/notifyUpdateAvailableFactory.d.ts +3 -0
- package/sfdc/types/adapters/raml-artifacts/types/ListRecordCollectionRepresentation/keyBuilderFromType.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/types/QuickActionDefaultsRepresentation/dynamicIngest.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/types/RecordRepresentation/getTypeCacheKeys.d.ts +2 -0
- package/sfdc/types/adapters/raml-artifacts/types/RecordRepresentation/ingest.d.ts +4 -0
- package/sfdc/types/adapters/raml-artifacts/types/RecordRepresentation/keyBuilderFromType.d.ts +2 -0
- package/sfdc/types/adapters/resources/getUiApiActionsRecordDefaultsByActionApiName.d.ts +20 -0
- package/sfdc/types/adapters/resources/getUiApiListRecordsByListViewId.d.ts +24 -0
- package/sfdc/types/adapters/resources/getUiApiListUiByListViewApiNameAndObjectApiName.d.ts +25 -0
- package/sfdc/types/adapters/resources/getUiApiListUiByListViewId.d.ts +24 -0
- package/sfdc/types/adapters/resources/getUiApiListUiByObjectApiName.d.ts +23 -0
- package/sfdc/types/adapters/resources/getUiApiLookupsByFieldApiNameAndObjectApiNameAndTargetApiName.d.ts +25 -0
- package/sfdc/types/adapters/resources/getUiApiMruListRecordsByObjectApiName.d.ts +22 -0
- package/sfdc/types/adapters/resources/getUiApiMruListUiByObjectApiName.d.ts +24 -0
- package/sfdc/types/adapters/resources/getUiApiRecordDefaultsCloneByRecordId.d.ts +20 -0
- package/sfdc/types/adapters/resources/getUiApiRecordDefaultsCreateByObjectApiName.d.ts +20 -0
- package/sfdc/types/adapters/resources/getUiApiRecordDefaultsTemplateCloneByRecordId.d.ts +19 -0
- package/sfdc/types/adapters/resources/getUiApiRecordDefaultsTemplateCreateByObjectApiName.d.ts +19 -0
- package/sfdc/types/adapters/resources/getUiApiRecordUiByRecordIds.d.ts +24 -0
- package/sfdc/types/adapters/resources/getUiApiRecordsBatchByRecordIds.d.ts +33 -0
- package/sfdc/types/adapters/resources/getUiApiRecordsByRecordId.d.ts +26 -0
- package/sfdc/types/adapters/resources/postGraphql.d.ts +20 -0
- package/sfdc/types/adapters/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +27 -0
- package/sfdc/types/adapters/resources/postUiApiListRecordsByListViewId.d.ts +24 -0
- package/sfdc/types/adapters/resources/postUiApiLookupsByFieldApiNameAndObjectApiName.d.ts +29 -0
- package/sfdc/types/adapters/resources/postUiApiRecordsContentDocumentsContentVersionsByContentDocumentId.d.ts +16 -0
- package/sfdc/types/adapters/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +28 -0
- package/sfdc/types/adapters/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +26 -0
- package/sfdc/types/adapters/resources/postUiApiSearchResults.d.ts +24 -0
- package/sfdc/types/adapters/resources/postUiApiSearchResultsKeyword.d.ts +24 -0
- package/sfdc/types/adapters/selectors/record.d.ts +15 -0
- package/sfdc/types/adapters/test-utils.d.ts +14 -0
- package/sfdc/types/adapters/types/AbstractRecordLayoutComponentRepresentation.d.ts +41 -0
- package/sfdc/types/adapters/types/AppliedSearchFilterOutputRepresentation.d.ts +37 -0
- package/sfdc/types/adapters/types/BatchOperationInputRepresentation.d.ts +32 -0
- package/sfdc/types/adapters/types/BatchRepresentation.d.ts +11 -0
- package/sfdc/types/adapters/types/BatchResultRepresentation.d.ts +18 -0
- package/sfdc/types/adapters/types/CanvasLayoutComponentRepresentation.d.ts +42 -0
- package/sfdc/types/adapters/types/ChildRelationshipRepresentation.d.ts +40 -0
- package/sfdc/types/adapters/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +45 -0
- package/sfdc/types/adapters/types/ContentDocumentCompositeRepresentation.d.ts +55 -0
- package/sfdc/types/adapters/types/CustomLinkLayoutComponentRepresentation.d.ts +36 -0
- package/sfdc/types/adapters/types/ErrorMessageRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/FieldLayoutComponentRepresentation.d.ts +30 -0
- package/sfdc/types/adapters/types/FieldRepresentation.d.ts +126 -0
- package/sfdc/types/adapters/types/FieldValueRepresentation.d.ts +41 -0
- package/sfdc/types/adapters/types/FilteredLookupInfoRepresentation.d.ts +34 -0
- package/sfdc/types/adapters/types/GraphQLRepresentation.d.ts +21 -0
- package/sfdc/types/adapters/types/KeywordSearchResultsRepresentation.d.ts +38 -0
- package/sfdc/types/adapters/types/KeywordSearchResultsSummaryRepresentation.d.ts +56 -0
- package/sfdc/types/adapters/types/ListColumnInlineEditAttributesRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/ListColumnInlineEditAttributesRepresentationWrapper.d.ts +28 -0
- package/sfdc/types/adapters/types/ListColumnRepresentation.d.ts +44 -0
- package/sfdc/types/adapters/types/ListFieldErrorRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/ListFilterByInfoRepresentation.d.ts +37 -0
- package/sfdc/types/adapters/types/ListInfoRepresentation.d.ts +116 -0
- package/sfdc/types/adapters/types/ListInfoShareCategoryRepresentation.d.ts +32 -0
- package/sfdc/types/adapters/types/ListInfoShareRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/ListInfoSummaryRepresentation.d.ts +46 -0
- package/sfdc/types/adapters/types/ListInlineEditDetailsRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/ListOrderByInfoRepresentation.d.ts +34 -0
- package/sfdc/types/adapters/types/ListRecordCollectionRepresentation.d.ts +110 -0
- package/sfdc/types/adapters/types/ListReferenceRepresentation.d.ts +37 -0
- package/sfdc/types/adapters/types/ListScopeEntityRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/ListScopeRelatedEntityRepresentation.d.ts +34 -0
- package/sfdc/types/adapters/types/ListScopeRepresentation.d.ts +39 -0
- package/sfdc/types/adapters/types/ListUiRepresentation.d.ts +66 -0
- package/sfdc/types/adapters/types/ListUserPreferenceRepresentation.d.ts +39 -0
- package/sfdc/types/adapters/types/ListViewSummaryCollectionRepresentation.d.ts +94 -0
- package/sfdc/types/adapters/types/ListViewSummaryRepresentation.d.ts +46 -0
- package/sfdc/types/adapters/types/LookupValuesRepresentation.d.ts +55 -0
- package/sfdc/types/adapters/types/NLSResultsRepresentation.d.ts +40 -0
- package/sfdc/types/adapters/types/ObjectInfoRepresentation.d.ts +126 -0
- package/sfdc/types/adapters/types/QuickActionDefaultsRepresentation.d.ts +62 -0
- package/sfdc/types/adapters/types/QuickActionExecutionRepresentation.d.ts +55 -0
- package/sfdc/types/adapters/types/RecordCollectionRepresentation.d.ts +60 -0
- package/sfdc/types/adapters/types/RecordCreateDefaultRecordRepresentation.d.ts +80 -0
- package/sfdc/types/adapters/types/RecordDefaultsRepresentation.d.ts +54 -0
- package/sfdc/types/adapters/types/RecordDefaultsTemplateCloneRepresentation.d.ts +60 -0
- package/sfdc/types/adapters/types/RecordDefaultsTemplateCreateRepresentation.d.ts +60 -0
- package/sfdc/types/adapters/types/RecordInputRepresentation.d.ts +38 -0
- package/sfdc/types/adapters/types/RecordLayoutComponentRepresentation.d.ts +26 -0
- package/sfdc/types/adapters/types/RecordLayoutItemRepresentation.d.ts +53 -0
- package/sfdc/types/adapters/types/RecordLayoutRepresentation.d.ts +70 -0
- package/sfdc/types/adapters/types/RecordLayoutRowRepresentation.d.ts +29 -0
- package/sfdc/types/adapters/types/RecordLayoutSaveOptionRepresentation.d.ts +43 -0
- package/sfdc/types/adapters/types/RecordLayoutSectionRepresentation.d.ts +47 -0
- package/sfdc/types/adapters/types/RecordLayoutSectionUserStateInputRepresentation.d.ts +28 -0
- package/sfdc/types/adapters/types/RecordLayoutSectionUserStateRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/RecordLayoutUserStateInputRepresentation.d.ts +32 -0
- package/sfdc/types/adapters/types/RecordLayoutUserStateRepresentation.d.ts +65 -0
- package/sfdc/types/adapters/types/RecordRepresentation.d.ts +101 -0
- package/sfdc/types/adapters/types/RecordTemplateCloneRepresentation.d.ts +64 -0
- package/sfdc/types/adapters/types/RecordTemplateCreateRepresentation.d.ts +61 -0
- package/sfdc/types/adapters/types/RecordTypeInfoRepresentation.d.ts +40 -0
- package/sfdc/types/adapters/types/RecordUiRepresentation.d.ts +88 -0
- package/sfdc/types/adapters/types/ReferenceToInfoRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/RelatedListRecordCollectionBatchRepresentation.d.ts +36 -0
- package/sfdc/types/adapters/types/RelatedListRecordCollectionRepresentation.d.ts +102 -0
- package/sfdc/types/adapters/types/RelatedListRecordsSingleBatchInputRepresentation.d.ts +43 -0
- package/sfdc/types/adapters/types/RelatedListReferenceRepresentation.d.ts +49 -0
- package/sfdc/types/adapters/types/ReportLayoutComponentRepresentation.d.ts +51 -0
- package/sfdc/types/adapters/types/SearchAnswersRecordRepresentation.d.ts +37 -0
- package/sfdc/types/adapters/types/SearchAnswersResultRepresentation.d.ts +40 -0
- package/sfdc/types/adapters/types/SearchDataCategoryInputRepresentation.d.ts +34 -0
- package/sfdc/types/adapters/types/SearchDataCategoryOutputRepresentation.d.ts +34 -0
- package/sfdc/types/adapters/types/SearchFilterInputRepresentation.d.ts +37 -0
- package/sfdc/types/adapters/types/SearchFilterOutputRepresentation.d.ts +34 -0
- package/sfdc/types/adapters/types/SearchObjectOptionsOutputRepresentation.d.ts +33 -0
- package/sfdc/types/adapters/types/SearchObjectOptionsRepresentation.d.ts +33 -0
- package/sfdc/types/adapters/types/SearchRecordHighlightRepresentation.d.ts +35 -0
- package/sfdc/types/adapters/types/SearchRecordInfoRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/SearchResultCollectionRepresentation.d.ts +64 -0
- package/sfdc/types/adapters/types/SearchResultRepresentation.d.ts +46 -0
- package/sfdc/types/adapters/types/SearchResultsSummaryRepresentation.d.ts +67 -0
- package/sfdc/types/adapters/types/ThemeInfoRepresentation.d.ts +31 -0
- package/sfdc/types/adapters/types/VisualforceLayoutComponentRepresentation.d.ts +42 -0
- package/sfdc/types/adapters/types/type-utils.d.ts +32 -0
- package/sfdc/types/adapters/uiapi/record-collection/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +5 -0
- package/sfdc/types/adapters/uiapi/record-collection/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +5 -0
- package/sfdc/types/adapters/util/adapter-utils.d.ts +62 -0
- package/sfdc/types/adapters/util/cache-policy.d.ts +10 -0
- package/sfdc/types/adapters/util/field-ingest.d.ts +16 -0
- package/sfdc/types/adapters/util/fields.d.ts +41 -0
- package/sfdc/types/adapters/util/layout.d.ts +4 -0
- package/sfdc/types/adapters/util/layouts.d.ts +8 -0
- package/sfdc/types/adapters/util/lists.d.ts +76 -0
- package/sfdc/types/adapters/util/pagination.d.ts +26 -0
- package/sfdc/types/adapters/util/promise.d.ts +1 -0
- package/sfdc/types/adapters/util/record-ingest.d.ts +8 -0
- package/sfdc/types/adapters/util/record-ui.d.ts +4 -0
- package/sfdc/types/adapters/util/records.d.ts +56 -0
- package/sfdc/types/adapters/util/snapshot.d.ts +5 -0
- package/sfdc/types/adapters/validation/utils.d.ts +24 -0
- package/sfdc/types/adapters/wire/getKeywordSearchResults/index.d.ts +34 -0
- package/sfdc/types/adapters/wire/getListRecordsByName/index.d.ts +42 -0
- package/sfdc/types/adapters/wire/getListUi/getListUiByApiName.d.ts +34 -0
- package/sfdc/types/adapters/wire/getListUi/getListUiByListViewId.d.ts +33 -0
- package/sfdc/types/adapters/wire/getListUi/index.d.ts +12 -0
- package/sfdc/types/adapters/wire/getListViewSummaryCollection/index.d.ts +34 -0
- package/sfdc/types/adapters/wire/getLookupRecords/getLookupRecords.d.ts +37 -0
- package/sfdc/types/adapters/wire/getLookupRecords/index.d.ts +22 -0
- package/sfdc/types/adapters/wire/getMruListUi/getMruListUi.d.ts +33 -0
- package/sfdc/types/adapters/wire/getMruListUi/index.d.ts +7 -0
- package/sfdc/types/adapters/wire/getQuickActionDefaults/index.d.ts +31 -0
- package/sfdc/types/adapters/wire/getRecord/GetRecordFields.d.ts +14 -0
- package/sfdc/types/adapters/wire/getRecord/GetRecordLayoutType.d.ts +18 -0
- package/sfdc/types/adapters/wire/getRecord/getRecord.d.ts +37 -0
- package/sfdc/types/adapters/wire/getRecord/index.d.ts +5 -0
- package/sfdc/types/adapters/wire/getRecordCreateDefaults/getRecordCreateDefaults.d.ts +30 -0
- package/sfdc/types/adapters/wire/getRecordCreateDefaults/index.d.ts +8 -0
- package/sfdc/types/adapters/wire/getRecordTemplateClone/getRecordTemplateClone.d.ts +29 -0
- package/sfdc/types/adapters/wire/getRecordTemplateClone/index.d.ts +4 -0
- package/sfdc/types/adapters/wire/getRecordTemplateCreate/getRecordTemplateCreate.d.ts +29 -0
- package/sfdc/types/adapters/wire/getRecordTemplateCreate/index.d.ts +4 -0
- package/sfdc/types/adapters/wire/getRecordUi/getRecordUi.d.ts +34 -0
- package/sfdc/types/adapters/wire/getRecordUi/index.d.ts +14 -0
- package/sfdc/types/adapters/wire/getRecordUi/selectors.d.ts +10 -0
- package/sfdc/types/adapters/wire/getRecords/GetRecordsFields.d.ts +4 -0
- package/sfdc/types/adapters/wire/getRecords/index.d.ts +35 -0
- package/sfdc/types/adapters/wire/getRelatedListRecords/index.d.ts +37 -0
- package/sfdc/types/adapters/wire/getRelatedListRecordsBatch/createChildResourceParams.d.ts +4 -0
- package/sfdc/types/adapters/wire/getRelatedListRecordsBatch/index.d.ts +29 -0
- package/sfdc/types/adapters/wire/getSearchResults/index.d.ts +34 -0
- package/sfdc/types/adapters/wire/graphqlBatch/index.d.ts +26 -0
- package/sfdc/types/adapters/wire/graphqlBatch/postGraphqlBatch.d.ts +43 -0
- package/sfdc/types/drafts/AbstractResourceRequestActionHandler.d.ts +68 -0
- package/sfdc/types/drafts/IdempotentWrite.d.ts +33 -0
- package/sfdc/types/drafts/UiApiDraftRecordService.d.ts +43 -0
- package/sfdc/types/drafts/contentDocument/ContentDocumentCompositeRepresentationActionHandler.d.ts +51 -0
- package/sfdc/types/drafts/contentDocument/draftAwareAdapters/createContentDocumentAndVersion/events.d.ts +30 -0
- package/sfdc/types/drafts/contentDocument/draftAwareAdapters/createContentDocumentAndVersion/index.d.ts +10 -0
- package/sfdc/types/drafts/contentDocument/shared.d.ts +6 -0
- package/sfdc/types/drafts/index.d.ts +14 -0
- package/sfdc/types/drafts/quickActions/AbstractQuickActionHandler.d.ts +11 -0
- package/sfdc/types/drafts/quickActions/QuickActionExecutionRepresentationHandler.d.ts +36 -0
- package/sfdc/types/drafts/quickActions/UpdateRecordQuickActionExecutionRepresentationHandler.d.ts +29 -0
- package/sfdc/types/drafts/quickActions/draftAwareAdapters/performQuickAction.d.ts +8 -0
- package/sfdc/types/drafts/quickActions/draftAwareAdapters/updateRecordPerformQuickAction.d.ts +8 -0
- package/sfdc/types/drafts/records/DraftRecordRepresentation.d.ts +15 -0
- package/sfdc/types/drafts/records/actionHandlers/RecordEffectingHandler.d.ts +6 -0
- package/sfdc/types/drafts/records/actionHandlers/SideEffectHook.d.ts +19 -0
- package/sfdc/types/drafts/records/actionHandlers/UiApiRecordActionHandler.d.ts +66 -0
- package/sfdc/types/drafts/records/draftAwareAdapters/createRecord.d.ts +9 -0
- package/sfdc/types/drafts/records/draftAwareAdapters/deleteRecord.d.ts +8 -0
- package/sfdc/types/drafts/records/draftAwareAdapters/updateRecord.d.ts +9 -0
- package/sfdc/types/drafts/records/environment/getRecordDraftEnvironment.d.ts +4 -0
- package/sfdc/types/drafts/records/environment/getRecordsDraftEnvironment.d.ts +5 -0
- package/sfdc/types/drafts/records/environment/makeEnvironmentUiApiRecordDraftAware.d.ts +11 -0
- package/sfdc/types/drafts/records/records.d.ts +30 -0
- package/sfdc/types/drafts/sideEffects/SideEffectHandler.d.ts +18 -0
- package/sfdc/types/drafts/sideEffects/SideEffectService.d.ts +27 -0
- package/sfdc/types/drafts/sideEffects/SideEffectStore.d.ts +14 -0
- package/sfdc/types/drafts/sideEffects/index.d.ts +2 -0
- package/sfdc/types/drafts/sideEffects/sideEffectEnvironment.d.ts +3 -0
- package/sfdc/types/drafts/sideEffects/sideEffects.d.ts +36 -0
- package/sfdc/types/drafts/utils/adapter.d.ts +2 -0
- package/sfdc/types/drafts/utils/clone.d.ts +1 -0
- package/sfdc/types/drafts/utils/durableStore.d.ts +3 -0
- package/sfdc/types/drafts/utils/error.d.ts +4 -0
- package/sfdc/types/durableStore/DurableRecordStore.d.ts +18 -0
- package/sfdc/types/durableStore/NimbusSqliteStore/tables/LdsDraftsDataTable.d.ts +5 -0
- package/sfdc/types/durableStore/NimbusSqliteStore/tables/index.d.ts +1 -0
- package/sfdc/types/durableStore/index.d.ts +3 -0
- package/sfdc/types/durableStore/makeEnvironmentGraphqlAware.d.ts +2 -0
- package/sfdc/types/environment/enableLazyObjectInfoCaching.d.ts +13 -0
- package/sfdc/types/graphql/adapter/draftAwareGraphQLAdapterFactory.d.ts +6 -0
- package/sfdc/types/graphql/adapter/environmentAwareGraphQLBatchAdapterFactory.d.ts +4 -0
- package/sfdc/types/graphql/adapter/graphqlEvalAdapterFactory.d.ts +5 -0
- package/sfdc/types/graphql/adapter/utils.d.ts +2 -0
- package/sfdc/types/graphql/adapterFactory.d.ts +3 -0
- package/sfdc/types/graphql/array.d.ts +2 -0
- package/sfdc/types/graphql/base64.d.ts +4 -0
- package/sfdc/types/graphql/constants.d.ts +3 -0
- package/sfdc/types/graphql/context.d.ts +20 -0
- package/sfdc/types/graphql/dataloader.d.ts +26 -0
- package/sfdc/types/graphql/dateLiteral.d.ts +28 -0
- package/sfdc/types/graphql/dateTimePredication.d.ts +33 -0
- package/sfdc/types/graphql/evaluate.d.ts +13 -0
- package/sfdc/types/graphql/events.d.ts +37 -0
- package/sfdc/types/graphql/filterParser.d.ts +6 -0
- package/sfdc/types/graphql/index.d.ts +9 -0
- package/sfdc/types/graphql/instrumentLimits.d.ts +8 -0
- package/sfdc/types/graphql/lib.d.ts +52 -0
- package/sfdc/types/graphql/limit.d.ts +10 -0
- package/sfdc/types/graphql/orderByParser.d.ts +10 -0
- package/sfdc/types/graphql/pagination.d.ts +10 -0
- package/sfdc/types/graphql/query.d.ts +56 -0
- package/sfdc/types/graphql/recordLoader.d.ts +4 -0
- package/sfdc/types/graphql/resolvers/basic.d.ts +1 -0
- package/sfdc/types/graphql/resolvers/connection.d.ts +32 -0
- package/sfdc/types/graphql/resolvers/index.d.ts +8 -0
- package/sfdc/types/graphql/resolvers/pagination.d.ts +32 -0
- package/sfdc/types/graphql/schema.d.ts +51 -0
- package/sfdc/types/graphql/scopeParser.d.ts +4 -0
- package/sfdc/types/graphql/snapshot.d.ts +26 -0
- package/sfdc/types/graphql/staleRecords/batchingStaleRecordsAdapter.d.ts +10 -0
- package/sfdc/types/graphql/syntheticFields.d.ts +10 -0
- package/sfdc/types/graphql/typeguards.d.ts +19 -0
- package/sfdc/types/instrumentation/instrumentDraftQueue.d.ts +5 -0
- package/sfdc/types/instrumentation/instrumentGraphQLEval.d.ts +2 -0
- package/sfdc/types/instrumentation/instrumentMobileAdapter.d.ts +6 -0
- package/sfdc/types/instrumentation/instrumentPrimingSession.d.ts +2 -0
- package/sfdc/types/instrumentation/instrumentationContentDocumentVersionAdapter.d.ts +2 -0
- package/sfdc/types/instrumentation/instrumentationUtils.d.ts +10 -0
- package/sfdc/types/instrumentation/metrics.d.ts +26 -0
- package/sfdc/types/instrumentation/withInstrumentation.d.ts +12 -0
- package/sfdc/types/localization/formatDisplayValue.d.ts +6 -0
- package/sfdc/types/main.d.ts +11 -0
- package/sfdc/types/mocks.d.ts +1 -0
- package/sfdc/types/observer/setupObserver.d.ts +1 -0
- package/sfdc/types/onestore/index.d.ts +10 -0
- package/sfdc/types/onestore/nimbusDurableCacheInclusionPolicy.d.ts +15 -0
- package/sfdc/types/onestore/nimbusNetworkDescriptor.d.ts +3 -0
- package/sfdc/types/onestore/nimbusSqliteStoreCache.d.ts +19 -0
- package/sfdc/types/priming/ConflictPool.d.ts +31 -0
- package/sfdc/types/priming/Emitter.d.ts +16 -0
- package/sfdc/types/priming/LdsPrimingRecordRefresher.d.ts +14 -0
- package/sfdc/types/priming/LdsRecordRefresher.d.ts +17 -0
- package/sfdc/types/priming/NimbusPrimingNetworkAdapter.d.ts +10 -0
- package/sfdc/types/priming/ObjectInfoLoader.d.ts +10 -0
- package/sfdc/types/priming/PrimingNetworkAdapter.d.ts +5 -0
- package/sfdc/types/priming/PrimingNetworkError.d.ts +5 -0
- package/sfdc/types/priming/PrimingSession.d.ts +76 -0
- package/sfdc/types/priming/PrimingStore.d.ts +27 -0
- package/sfdc/types/priming/RecordIngestor.d.ts +14 -0
- package/sfdc/types/priming/SqlitePrimingStore.d.ts +11 -0
- package/sfdc/types/priming/index.d.ts +10 -0
- package/sfdc/types/priming/metadata/MetadataHandler.d.ts +49 -0
- package/sfdc/types/priming/primingSessionFactory.d.ts +14 -0
- package/sfdc/types/priming/recordLoaders/NetworkRecordLoader.d.ts +18 -0
- package/sfdc/types/priming/recordLoaders/RecordLoader.d.ts +25 -0
- package/sfdc/types/priming/recordLoaders/RecordLoaderGraphQL.d.ts +37 -0
- package/sfdc/types/priming/recordLoaders/RecordLoaderGraphQLBatch.d.ts +11 -0
- package/sfdc/types/priming/recordLoaders/RecordLoaderSOQLComposite.d.ts +14 -0
- package/sfdc/types/priming/recordLoaders/SoqlRecordConverter.d.ts +32 -0
- package/sfdc/types/priming/recordLoaders/api.d.ts +2 -0
- package/sfdc/types/priming/recordLoaders/index.d.ts +4 -0
- package/sfdc/types/priming/typedBatch.d.ts +3 -0
- package/sfdc/types/priming/utils/merge.d.ts +32 -0
- package/sfdc/types/runtime.d.ts +24 -0
- package/sfdc/types/sfs/ProductConsumedSideEffects.d.ts +26 -0
- package/sfdc/types/sfs/sfsCustomSideEffects.d.ts +3 -0
- package/sfdc/types/trim/AggressiveTrim.d.ts +7 -0
- package/sfdc/types/utils/ObjectInfoService.d.ts +44 -0
- package/sfdc/types/utils/adapters.d.ts +19 -0
- package/sfdc/types/utils/language.d.ts +57 -0
- package/sfdc/types/utils/utils.d.ts +27 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { DurableRecordRepresentationField } from '@salesforce/lds-durable-records';
|
|
2
|
+
export declare function isDraftFieldPending(field: DurableRecordRepresentationField): boolean;
|
|
3
|
+
export declare function isDraftFieldMissing(field: DurableRecordRepresentationField): boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type DurableStore } from '@luvio/environments';
|
|
2
|
+
import type { Luvio, StoreMetadata } from '@luvio/engine';
|
|
3
|
+
import type { DurableRecordRepresentation } from '@salesforce/lds-durable-records';
|
|
4
|
+
import type { SqliteStore } from '@salesforce/lds-store-sql';
|
|
5
|
+
export declare class DurableRecordStore {
|
|
6
|
+
private readonly durableStore;
|
|
7
|
+
private readonly getLuvio;
|
|
8
|
+
constructor(durableStore: DurableStore & SqliteStore, getLuvio: () => Luvio);
|
|
9
|
+
exists(key: string): Promise<boolean>;
|
|
10
|
+
getRecord(key: string): Promise<DurableRecordRepresentation | undefined>;
|
|
11
|
+
getRedirectedRecord(key: string): Promise<DurableRecordRepresentation | undefined>;
|
|
12
|
+
getRecords(keys: string[]): Promise<Map<string, DurableRecordRepresentation>>;
|
|
13
|
+
getRecordsWithMetadata(keys: string[]): Promise<Map<string, {
|
|
14
|
+
record: DurableRecordRepresentation;
|
|
15
|
+
metadata: StoreMetadata | undefined;
|
|
16
|
+
}>>;
|
|
17
|
+
private entriesToRecordDirectory;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LdsDraftsDataTable } from './LdsDraftsDataTable';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Environment } from '@luvio/engine';
|
|
2
|
+
import type { ObjectInfoRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
3
|
+
export type EnsureCachedObjectInfoFunction = (apiName: string, objectInfo?: ObjectInfoRepresentation) => Promise<void>;
|
|
4
|
+
/**
|
|
5
|
+
* This environment observes incoming data for records and object info representations
|
|
6
|
+
* If the incoming data is a record or object info it extracts the apiName
|
|
7
|
+
* and calls a provided function which will ensure the associated object info is cached
|
|
8
|
+
*
|
|
9
|
+
* @param env base environment
|
|
10
|
+
* @param ensureObjectInfoCached function to cache the object info if not already cached
|
|
11
|
+
* @returns configured environment
|
|
12
|
+
*/
|
|
13
|
+
export declare function enableObjectInfoCaching(env: Environment, ensureObjectInfoCached: EnsureCachedObjectInfoFunction): Environment;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Luvio, Snapshot, StoreLookup, CoercedAdapterRequestContext } from '@luvio/engine';
|
|
2
|
+
import type { DraftAwareGraphQLAdapter, GraphQLRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
3
|
+
import type { SqliteStore } from '@salesforce/lds-store-sql';
|
|
4
|
+
import type { DraftFunctions, ObjectInfoService } from '../types';
|
|
5
|
+
export declare const replaceDraftIdsInVariables: (variables: Record<string, any>, draftFunctions: DraftFunctions, unmappedDraftIDs: Set<string>) => Record<string, any>;
|
|
6
|
+
export declare function draftAwareGraphQLAdapterFactory(userId: string, objectInfoService: ObjectInfoService, store: SqliteStore, luvio: Luvio, isDraftId: (id: string) => boolean, buildCachedSnapshotCachePolicy: (context: any, storeLookup: StoreLookup<GraphQLRepresentation, unknown>) => Snapshot<GraphQLRepresentation, any>, buildNetworkSnapshotCachePolicy: (context: any, coercedAdapterRequestContext: CoercedAdapterRequestContext) => Promise<Snapshot<GraphQLRepresentation, any>>): DraftAwareGraphQLAdapter;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CoercedAdapterRequestContext, Luvio, Snapshot, StoreLookup } from '@luvio/engine';
|
|
2
|
+
import type { GraphQLBatchRepresentation, EnvironmentAwareGraphQLBatchAdapter } from '@salesforce/lds-adapters-uiapi';
|
|
3
|
+
import type { ObjectInfoService } from '../types';
|
|
4
|
+
export declare function environmentAwareGraphQLBatchAdapterFactory(objectInfoService: ObjectInfoService, luvio: Luvio, isDraftId: (id: string) => boolean, buildCachedSnapshotCachePolicy: (context: any, storeLookup: StoreLookup<GraphQLBatchRepresentation, unknown>) => Snapshot<GraphQLBatchRepresentation, any>, buildNetworkSnapshotCachePolicy: (context: any, coercedAdapterRequestContext: CoercedAdapterRequestContext) => Promise<Snapshot<GraphQLBatchRepresentation, any>>): EnvironmentAwareGraphQLBatchAdapter;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Luvio } from '@luvio/engine';
|
|
2
|
+
import type { DraftAwareGraphQLAdapter } from '@salesforce/lds-adapters-uiapi';
|
|
3
|
+
import type { SqliteStore } from '@salesforce/lds-store-sql';
|
|
4
|
+
import type { ObjectInfoService } from '../types';
|
|
5
|
+
export declare function graphqlEvalAdapterFactory(_userId: string, _objectInfoService: ObjectInfoService, _store: SqliteStore, _luvio: Luvio, _isDraftId: (id: string) => boolean): DraftAwareGraphQLAdapter;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { draftAwareGraphQLAdapterFactory } from './adapter/draftAwareGraphQLAdapterFactory';
|
|
2
|
+
export { environmentAwareGraphQLBatchAdapterFactory } from './adapter/environmentAwareGraphQLBatchAdapterFactory';
|
|
3
|
+
export { graphqlEvalAdapterFactory } from './adapter/graphqlEvalAdapterFactory';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AvailableSnapshot } from '@luvio/engine';
|
|
2
|
+
import type { GraphQLRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
3
|
+
import type { SqliteResult, SqliteStore, SqliteType } from '@salesforce/lds-store-sql';
|
|
4
|
+
import type { DataLoader } from './dataloader';
|
|
5
|
+
import type { DraftFunctions, LocalEvaluationRuntimeSettings, ObjectInfoMap, RecordRepresentation } from './types';
|
|
6
|
+
export type QueryFunction = (sql: string, params: SqliteType[]) => Promise<SqliteResult>;
|
|
7
|
+
export type ResolverContext = {
|
|
8
|
+
query: QueryFunction;
|
|
9
|
+
objectInfos: ObjectInfoMap;
|
|
10
|
+
eventEmitter: (eventData: unknown) => void;
|
|
11
|
+
settings: LocalEvaluationRuntimeSettings;
|
|
12
|
+
Record: DataLoader<string, RecordRepresentation>;
|
|
13
|
+
snapshot: AvailableSnapshot<GraphQLRepresentation>;
|
|
14
|
+
seenRecordIds: Set<string>;
|
|
15
|
+
possibleStaleRecordMap: Map<string, string[]>;
|
|
16
|
+
draftFunctions?: DraftFunctions;
|
|
17
|
+
mappedCursors: Map<string, string>;
|
|
18
|
+
missingFieldsMap: Map<string, Set<string>>;
|
|
19
|
+
};
|
|
20
|
+
export declare function createContext(store: SqliteStore, objectInfos: ObjectInfoMap, eventEmitter: (eventData: unknown) => void, settings: LocalEvaluationRuntimeSettings, snapshot: AvailableSnapshot<GraphQLRepresentation>, mappedCursors?: Map<string, string>, draftFunctions?: DraftFunctions): ResolverContext;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type BatchLoadFn<Key> = (keys: Key[]) => Promise<any>;
|
|
2
|
+
type Batch<Key, Value> = {
|
|
3
|
+
hasDispatched: boolean;
|
|
4
|
+
keys: Array<Key>;
|
|
5
|
+
callbacks: Array<{
|
|
6
|
+
resolve: (value: Value) => void;
|
|
7
|
+
reject: (error: Error) => void;
|
|
8
|
+
}>;
|
|
9
|
+
cacheHits?: Array<() => void>;
|
|
10
|
+
};
|
|
11
|
+
export declare class DataLoader<Key, Value> {
|
|
12
|
+
private _batch;
|
|
13
|
+
private _batchLoadFn;
|
|
14
|
+
private _batchScheduleFn;
|
|
15
|
+
private _cacheMap;
|
|
16
|
+
private _maxBatchSize;
|
|
17
|
+
constructor(batchLoadFn: BatchLoadFn<Key>, options?: {
|
|
18
|
+
maxBatchSize?: number;
|
|
19
|
+
});
|
|
20
|
+
load(key: Key): Promise<Value>;
|
|
21
|
+
getCurrentBatch(): Batch<Key, Value>;
|
|
22
|
+
dispatchBatch(batch: Batch<Key, Value>): void;
|
|
23
|
+
failedDispatch(batch: Batch<Key, Value>, error: Error): void;
|
|
24
|
+
clear(key: Key): void;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Operator, SinglePredicate } from './query';
|
|
2
|
+
import type { FieldRepresentation } from './types';
|
|
3
|
+
export declare enum DateLiteral {
|
|
4
|
+
NEXT_YEAR = "NEXT_YEAR",
|
|
5
|
+
LAST_WEEK = "LAST_WEEK",
|
|
6
|
+
THIS_MONTH = "THIS_MONTH",
|
|
7
|
+
THIS_QUARTER = "THIS_QUARTER",
|
|
8
|
+
LAST_MONTH = "LAST_MONTH",
|
|
9
|
+
LAST_90_DAYS = "LAST_90_DAYS",
|
|
10
|
+
LAST_QUARTER = "LAST_QUARTER",
|
|
11
|
+
THIS_YEAR = "THIS_YEAR",
|
|
12
|
+
NEXT_QUARTER = "NEXT_QUARTER",
|
|
13
|
+
NEXT_MONTH = "NEXT_MONTH",
|
|
14
|
+
TOMORROW = "TOMORROW",
|
|
15
|
+
TODAY = "TODAY",
|
|
16
|
+
LAST_YEAR = "LAST_YEAR",
|
|
17
|
+
NEXT_90_DAYS = "NEXT_90_DAYS",
|
|
18
|
+
THIS_WEEK = "THIS_WEEK",
|
|
19
|
+
YESTERDAY = "YESTERDAY",
|
|
20
|
+
NEXT_WEEK = "NEXT_WEEK"
|
|
21
|
+
}
|
|
22
|
+
export interface DateRange {
|
|
23
|
+
lowerBound: string;
|
|
24
|
+
upperBound: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function quarterStart(date: Date): string;
|
|
27
|
+
export declare function dateLiteralRange(literal: DateLiteral): DateRange;
|
|
28
|
+
export declare function dateLiteral(literal: DateLiteral, op: Operator, field: FieldRepresentation, alias: string): SinglePredicate;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Operator, SinglePredicate } from './query';
|
|
2
|
+
import type { FieldRepresentation } from './types';
|
|
3
|
+
import { DateLiteral } from './dateLiteral';
|
|
4
|
+
export declare enum DateRange {
|
|
5
|
+
last_n_days = "last_n_days",
|
|
6
|
+
next_n_days = "next_n_days",
|
|
7
|
+
n_days_ago = "n_days_ago",
|
|
8
|
+
last_n_weeks = "last_n_weeks",
|
|
9
|
+
next_n_weeks = "next_n_weeks",
|
|
10
|
+
n_weeks_ago = "n_weeks_ago",
|
|
11
|
+
last_n_months = "last_n_months",
|
|
12
|
+
next_n_months = "next_n_months",
|
|
13
|
+
n_months_ago = "n_months_ago",
|
|
14
|
+
last_n_quarters = "last_n_quarters",
|
|
15
|
+
next_n_quarters = "next_n_quarters",
|
|
16
|
+
n_quarters_ago = "n_quarters_ago",
|
|
17
|
+
last_n_fiscal_quarters = "last_n_fiscal_quarters",
|
|
18
|
+
next_n_fiscal_quarters = "next_n_fiscal_quarters",
|
|
19
|
+
last_n_years = "last_n_years",
|
|
20
|
+
next_n_years = "next_n_years",
|
|
21
|
+
n_years_ago = "n_years_ago",
|
|
22
|
+
last_n_fiscal_years = "last_n_fiscal_years",
|
|
23
|
+
next_n_fiscal_years = "next_n_fiscal_years"
|
|
24
|
+
}
|
|
25
|
+
type DateTime = string;
|
|
26
|
+
export type DateTimeInput = {
|
|
27
|
+
value: DateTime | null;
|
|
28
|
+
literal: DateLiteral;
|
|
29
|
+
range: DateRangeInput;
|
|
30
|
+
};
|
|
31
|
+
type DateRangeInput = Record<string, number>;
|
|
32
|
+
export declare function dateTimePredicate(input: Partial<DateTimeInput>, operator: Operator, field: FieldRepresentation, alias: string): SinglePredicate;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type CachedGraphQLSchema } from './schema';
|
|
2
|
+
import type { AvailableSnapshot, LuvioAdapterEventObserver } from '@luvio/engine';
|
|
3
|
+
import type { GraphQLConfig, GraphQLRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
4
|
+
import type { SqliteStore } from '@salesforce/lds-store-sql';
|
|
5
|
+
import type { DraftFunctions, LocalEvaluationRuntimeSettings, ObjectInfoMap } from './types';
|
|
6
|
+
type LocalEvaluationResult = {
|
|
7
|
+
result: GraphQLRepresentation;
|
|
8
|
+
seenRecordIds: string[];
|
|
9
|
+
possibleStaleRecordMap: Map<string, string[]>;
|
|
10
|
+
missingFieldsMap: Map<string, Set<string>>;
|
|
11
|
+
};
|
|
12
|
+
export declare function evaluate(config: GraphQLConfig, observers: LuvioAdapterEventObserver[], settings: LocalEvaluationRuntimeSettings, objectInfos: ObjectInfoMap, store: SqliteStore, snapshot: AvailableSnapshot<GraphQLRepresentation>, cache: CachedGraphQLSchema, draftFunctions?: DraftFunctions, mappedCursors?: Map<string, string>): Promise<LocalEvaluationResult>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { CustomAdapterEvent } from '@luvio/engine';
|
|
2
|
+
import type { SqliteType } from '@salesforce/lds-store-sql';
|
|
3
|
+
import type { QueryInstrumentation } from './instrumentLimits';
|
|
4
|
+
export declare const GRAPHQL_EVAL_NAMESPACE = "graphql-eval";
|
|
5
|
+
interface GraphQLEvalStartCustomEventData {
|
|
6
|
+
type: 'graphql-eval-start';
|
|
7
|
+
}
|
|
8
|
+
interface GraphQLEvalPreconditionsMetCustomEventData {
|
|
9
|
+
type: 'graphql-eval-preconditions-met';
|
|
10
|
+
}
|
|
11
|
+
interface GraphQLEvalEndCustomEventData {
|
|
12
|
+
type: 'graphql-eval-end';
|
|
13
|
+
}
|
|
14
|
+
interface GraphQLDbReadCustomEventData {
|
|
15
|
+
type: 'graphql-db-read';
|
|
16
|
+
sql: string;
|
|
17
|
+
bindings: SqliteType[];
|
|
18
|
+
duration: number;
|
|
19
|
+
}
|
|
20
|
+
interface GraphQLEvalPreconditionErrorCustomEventData {
|
|
21
|
+
type: 'graphql-eval-precondition-error';
|
|
22
|
+
error: unknown;
|
|
23
|
+
}
|
|
24
|
+
interface GraphQLCreateSnapshotErrorCustomEventData {
|
|
25
|
+
type: 'graphql-create-snapshot-error';
|
|
26
|
+
error: unknown;
|
|
27
|
+
}
|
|
28
|
+
interface GraphQLQueryInstrumentationCustomEventData {
|
|
29
|
+
type: 'graphql-query-instrumentation';
|
|
30
|
+
data: QueryInstrumentation;
|
|
31
|
+
}
|
|
32
|
+
interface GraphQLSnapshotRefreshUndefined {
|
|
33
|
+
type: 'graphql-luvio-refresh-undefined';
|
|
34
|
+
}
|
|
35
|
+
export type GraphQLEvalCustomAdapterEventData = GraphQLEvalStartCustomEventData | GraphQLEvalPreconditionsMetCustomEventData | GraphQLEvalEndCustomEventData | GraphQLCreateSnapshotErrorCustomEventData | GraphQLEvalPreconditionErrorCustomEventData | GraphQLDbReadCustomEventData | GraphQLQueryInstrumentationCustomEventData | GraphQLSnapshotRefreshUndefined;
|
|
36
|
+
export declare function isGraphQLEvalEvent(customEvent: CustomAdapterEvent<unknown>): customEvent is CustomAdapterEvent<GraphQLEvalCustomAdapterEventData>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DraftFunctions, ObjectInfoMap } from './types';
|
|
2
|
+
import { type Join } from './query';
|
|
3
|
+
import type { PredicateValue, SqlAndBindings } from './query';
|
|
4
|
+
export declare function filterToPredicates(where: any, recordType: string, alias: string, objectInfoMap: ObjectInfoMap, joins: Join[], draftFunctions?: DraftFunctions): PredicateValue[];
|
|
5
|
+
export declare function predicateToSQL(predicate: PredicateValue, defaultAlias: string, isChildNotPredicate?: boolean): SqlAndBindings;
|
|
6
|
+
export declare function predicatesToSqls(predicates: PredicateValue[], defaultAlias: string, isChildNotPredicate?: boolean): SqlAndBindings[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { evaluate } from './evaluate';
|
|
2
|
+
export { injectSyntheticFields, removeSyntheticFields } from './syntheticFields';
|
|
3
|
+
export { DateLiteral } from './dateLiteral';
|
|
4
|
+
export { DateRange } from './dateTimePredication';
|
|
5
|
+
export { createSchemaWithCache, extendSchemaWithObjectInfos, CachedGraphQLSchema } from './schema';
|
|
6
|
+
export type { ObjectInfoService, IDMapper, DraftFunctions } from './types';
|
|
7
|
+
export { draftAwareGraphQLAdapterFactory, environmentAwareGraphQLBatchAdapterFactory, graphqlEvalAdapterFactory, } from './adapterFactory';
|
|
8
|
+
export { isLocalEvalSnapshot } from './snapshot';
|
|
9
|
+
export { isGraphQLEvalEvent } from './events';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DocumentNode } from '@luvio/graphql-parser';
|
|
2
|
+
export type QueryInstrumentation = {
|
|
3
|
+
rootQueryCount: number;
|
|
4
|
+
totalQueryCount: number;
|
|
5
|
+
maxChildRelationships: number;
|
|
6
|
+
requestedRecordCount: number;
|
|
7
|
+
};
|
|
8
|
+
export declare function instrumentLimits(ast: DocumentNode, variables: Record<string, any>): QueryInstrumentation;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { FieldNode, InlineFragmentNode, SelectionNode, ArgumentNode, OperationDefinitionNode, ASTNode } from '@luvio/graphql-parser';
|
|
2
|
+
import type { FieldRepresentation, ObjectInfoRepresentation, RelationshipType } from './types';
|
|
3
|
+
import type { QueryFunction } from './context';
|
|
4
|
+
export declare const POLYMORPHIC_PARENT_RELATIONSHIP = "polymorphicParentRelationship";
|
|
5
|
+
export declare const PARENT_RELATIONSHIP = "parentRelationship";
|
|
6
|
+
export declare const CHILD_RELATIONSHIP = "childRelationship";
|
|
7
|
+
declare const RECORD_QUERY = "recordQuery";
|
|
8
|
+
type CategoryType = typeof POLYMORPHIC_PARENT_RELATIONSHIP | typeof PARENT_RELATIONSHIP | typeof CHILD_RELATIONSHIP | typeof RECORD_QUERY;
|
|
9
|
+
export declare function requestsDraftsField(recordFieldNode: FieldNode): boolean;
|
|
10
|
+
type RecordQueryPathInfo = {
|
|
11
|
+
node: FieldNode | InlineFragmentNode | undefined;
|
|
12
|
+
parentIndex: number;
|
|
13
|
+
};
|
|
14
|
+
export declare function fieldHasCategory(field: FieldNode, categories: ReadonlyArray<CategoryType>): boolean;
|
|
15
|
+
export declare function isRecordQuery(field: FieldNode | undefined): boolean;
|
|
16
|
+
export declare function isChildRelationshipQuery(field: FieldNode): boolean;
|
|
17
|
+
export declare function isParentRelationshipQuery(field: FieldNode): boolean;
|
|
18
|
+
export declare function findNearestConnection(ancestors: ReadonlyArray<any>): FieldNode | undefined;
|
|
19
|
+
export declare function findNearestConnectionWithPath(ancestors: ReadonlyArray<any>): {
|
|
20
|
+
connection: FieldNode | undefined;
|
|
21
|
+
path: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
export declare function findNearestAncesterPath(ancestors: ReadonlyArray<any>, connectionOnly: boolean): RecordQueryPathInfo;
|
|
24
|
+
export declare function findAncesterPath(ancesters: ReadonlyArray<any>): string;
|
|
25
|
+
/**
|
|
26
|
+
* checks if the 'SelectionNode' has the potential to have relationship(parent or child) with its ancestor.
|
|
27
|
+
* @param node
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
export declare function isCapableRelationship(node: SelectionNode): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* checks if the 'ArgumentNode' is a specific scope type
|
|
33
|
+
* @param node
|
|
34
|
+
* @param scopeType
|
|
35
|
+
* @param variables
|
|
36
|
+
* @returns
|
|
37
|
+
*/
|
|
38
|
+
export declare function isScopeArgumentNodeWithType(node: ArgumentNode, scopeType: string, variables?: Record<string, any>): boolean;
|
|
39
|
+
export declare function getRelation(node: FieldNode | InlineFragmentNode): RelationshipType;
|
|
40
|
+
export declare function isFieldSpanning(node: SelectionNode, parentNode?: FieldNode | InlineFragmentNode): boolean;
|
|
41
|
+
export declare function isInlineFragmentFieldSpanning(node: SelectionNode): boolean;
|
|
42
|
+
export declare function isRelationship(node: FieldNode | InlineFragmentNode, relationship: RelationshipType): boolean;
|
|
43
|
+
export declare function isFieldAvailable(field: string, objectInfo: ObjectInfoRepresentation): boolean;
|
|
44
|
+
export declare function mergeFieldNode(node1: FieldNode, node2: FieldNode): FieldNode;
|
|
45
|
+
export declare function mergeInLineFragmentNode(node1: InlineFragmentNode, node2: InlineFragmentNode): InlineFragmentNode;
|
|
46
|
+
export declare function depth(json: any, currentLevel?: number): number;
|
|
47
|
+
export declare function flatten<T>(previous: T[], current: T[]): T[];
|
|
48
|
+
export declare function findFieldInfo(objectInfo: ObjectInfoRepresentation, fieldName: string): FieldRepresentation | undefined;
|
|
49
|
+
export declare function readIngestionTimestampForKey(key: string, query: QueryFunction): Promise<number>;
|
|
50
|
+
export declare function isObjectDefinitionNode(node: ASTNode): node is OperationDefinitionNode;
|
|
51
|
+
export declare function operationNodeAncestor(ancestors: ReadonlyArray<any>): OperationDefinitionNode | undefined;
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type DocumentNode } from 'graphql';
|
|
2
|
+
import type { ObjectInfoMap } from './types';
|
|
3
|
+
type EnforcedLimits = {
|
|
4
|
+
maxFieldCount: number;
|
|
5
|
+
maxRecordLimit: number;
|
|
6
|
+
singleRecordField: string;
|
|
7
|
+
maxFieldSize: number;
|
|
8
|
+
};
|
|
9
|
+
export declare function enforceFieldLimitOnAST(ast: DocumentNode, variables: Record<string, any>, objectInfos: ObjectInfoMap, enforcedLimits?: EnforcedLimits): DocumentNode;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ObjectInfoMap } from './types';
|
|
2
|
+
import type { Join } from './query';
|
|
3
|
+
export type OrderByPredicate = {
|
|
4
|
+
alias: string;
|
|
5
|
+
path: string;
|
|
6
|
+
order?: 'ASC' | 'DESC';
|
|
7
|
+
nulls?: 'FIRST' | 'LAST';
|
|
8
|
+
joins?: Join[];
|
|
9
|
+
};
|
|
10
|
+
export declare function orderByToPredicate(orderBy: any, recordType: string, alias: string, objectInfoMap: ObjectInfoMap, joins?: Join[]): OrderByPredicate[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { QueryFunction } from './context';
|
|
2
|
+
import type { DocumentNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { SqliteStore } from '@salesforce/lds-store-sql';
|
|
4
|
+
export type PaginationMetadata = Record<string, number | undefined>;
|
|
5
|
+
export declare function mapCursorValue(originalValue: string | null | undefined, paginationMetadata: PaginationMetadata): string | null;
|
|
6
|
+
export declare function mapPaginationCursors(originalAST: DocumentNode, variables: Record<string, any>, store: SqliteStore): Promise<{
|
|
7
|
+
ast: DocumentNode;
|
|
8
|
+
mappedCursors: Map<string, string>;
|
|
9
|
+
}>;
|
|
10
|
+
export declare function readPaginationMetadataForKeys(keys: string[], query: QueryFunction): Promise<Map<string, PaginationMetadata>>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { OrderByPredicate } from './orderByParser';
|
|
2
|
+
import type { SQLStatement } from './types';
|
|
3
|
+
export type PredicatePath = {
|
|
4
|
+
leftPath: string;
|
|
5
|
+
rightPath: string;
|
|
6
|
+
};
|
|
7
|
+
export type DataType = 'Boolean' | 'String' | 'Double' | 'Date' | 'DateTime' | 'Int' | 'WeakEtag' | 'Reference' | 'Picklist' | 'Currency' | 'MultiPicklist' | 'Time' | 'Phone' | 'Url' | 'TextArea' | 'Email' | 'Percent';
|
|
8
|
+
export type PredicateValue = CompoundPredicate | SinglePredicate | NotPredicate;
|
|
9
|
+
export type NotPredicate = {
|
|
10
|
+
type: PredicateType.not;
|
|
11
|
+
operator: NotOperator;
|
|
12
|
+
children: (CompoundPredicate | SinglePredicate)[];
|
|
13
|
+
};
|
|
14
|
+
export type CompoundPredicate = {
|
|
15
|
+
type: PredicateType.compound;
|
|
16
|
+
operator: CompoundOperator;
|
|
17
|
+
children: PredicateValue[];
|
|
18
|
+
};
|
|
19
|
+
export type SinglePredicate = {
|
|
20
|
+
type: PredicateType.single;
|
|
21
|
+
alias?: string;
|
|
22
|
+
leftPath: string;
|
|
23
|
+
operator: Operator;
|
|
24
|
+
value: unknown;
|
|
25
|
+
bindings?: unknown[];
|
|
26
|
+
dataType?: DataType;
|
|
27
|
+
isCaseSensitive?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export type CompoundOperator = 'and' | 'or';
|
|
30
|
+
export type NotOperator = 'not';
|
|
31
|
+
export type Operator = '=' | '!=' | '>' | '>=' | '<' | '<=' | 'IN' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'BETWEEN' | 'NOT BETWEEN' | 'IS' | 'IS NOT';
|
|
32
|
+
export declare enum PredicateType {
|
|
33
|
+
compound = "compound",
|
|
34
|
+
single = "single",
|
|
35
|
+
not = "not"
|
|
36
|
+
}
|
|
37
|
+
export type SqlAndBindings = {
|
|
38
|
+
sql: string;
|
|
39
|
+
binding: any[];
|
|
40
|
+
};
|
|
41
|
+
export type Join = {
|
|
42
|
+
type: 'INNER' | 'LEFT';
|
|
43
|
+
alias: string;
|
|
44
|
+
to: string;
|
|
45
|
+
apiName?: string;
|
|
46
|
+
conditions: (PredicatePath | PredicateValue)[];
|
|
47
|
+
};
|
|
48
|
+
export type QueryBuilderConfig = {
|
|
49
|
+
alias: string;
|
|
50
|
+
joins?: Join[];
|
|
51
|
+
predicates?: PredicateValue[];
|
|
52
|
+
limit?: number;
|
|
53
|
+
offset?: number;
|
|
54
|
+
orderBy?: OrderByPredicate[];
|
|
55
|
+
};
|
|
56
|
+
export declare function buildQuery(config: QueryBuilderConfig): SQLStatement;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DataLoader } from './dataloader';
|
|
2
|
+
import type { SqliteResult, SqliteType } from '@salesforce/lds-store-sql';
|
|
3
|
+
import type { RecordRepresentation } from './types';
|
|
4
|
+
export declare function recordLoaderFactory(query: (sql: string, params: SqliteType[]) => Promise<SqliteResult>): DataLoader<string, RecordRepresentation>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function passThroughResolver(source: any): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { RecordQueryArgs, RecordRepresentation } from '../types';
|
|
2
|
+
import type { ArgumentNode, GraphQLResolveInfo, OperationDefinitionNode } from 'graphql';
|
|
3
|
+
import type { ResolverContext } from '../context';
|
|
4
|
+
export type RecordInformation = {
|
|
5
|
+
recordRepresentation: RecordRepresentation;
|
|
6
|
+
ingestionTimestamp: number;
|
|
7
|
+
};
|
|
8
|
+
export type IndexedRecordInformation = RecordInformation & {
|
|
9
|
+
index: number;
|
|
10
|
+
earlyEnd?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type RecordConnectionInformation = {
|
|
13
|
+
records: IndexedRecordInformation[];
|
|
14
|
+
hasNextPage: boolean;
|
|
15
|
+
hasPreviousPage: boolean;
|
|
16
|
+
earlyEnd: boolean;
|
|
17
|
+
offset: number;
|
|
18
|
+
};
|
|
19
|
+
export declare function connectionResolver(obj: Partial<RecordInformation>, args: RecordQueryArgs, context: ResolverContext, info: GraphQLResolveInfo): Promise<RecordConnectionInformation>;
|
|
20
|
+
/**
|
|
21
|
+
* Returns just the records array of a connection result, used for edges field
|
|
22
|
+
*/
|
|
23
|
+
export declare function edgesResolver(obj: RecordConnectionInformation): IndexedRecordInformation[];
|
|
24
|
+
/**
|
|
25
|
+
* Builds the top level record query key based on AST data
|
|
26
|
+
* @param operation
|
|
27
|
+
* @param variables
|
|
28
|
+
* @param argumentNodes
|
|
29
|
+
* @param currentFieldName
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export declare function buildKeyStringForRecordQuery(operation: OperationDefinitionNode, variables: Record<string, any>, argumentNodes: Readonly<ArgumentNode[]>, currentFieldName: string): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { GraphQLSchema } from '@luvio/graphql-parser';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @param schema GraphQL Schema generated from ObjectInfos
|
|
5
|
+
* @param polyFields The record types which support polymorphic fields. For example, 'Owner' has the 'Record' interface which is a polymorphic fields. The 'User' and 'Group' are the concrete types which support 'Owner' interface.
|
|
6
|
+
* @returns Updated schema
|
|
7
|
+
*/
|
|
8
|
+
export declare function addResolversToSchema(schema: GraphQLSchema, polyFields: string[]): GraphQLSchema;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { IndexedRecordInformation, RecordConnectionInformation } from './connection';
|
|
2
|
+
import type { FragmentDefinitionNode, SelectionNode } from 'graphql';
|
|
3
|
+
export declare function cursorResolver(source: IndexedRecordInformation): string;
|
|
4
|
+
export declare function pageInfoResolver(source: RecordConnectionInformation): {
|
|
5
|
+
startCursor: null;
|
|
6
|
+
endCursor: string;
|
|
7
|
+
hasNextPage: boolean;
|
|
8
|
+
hasPreviousPage: boolean;
|
|
9
|
+
} | {
|
|
10
|
+
startCursor: null;
|
|
11
|
+
endCursor: null;
|
|
12
|
+
hasNextPage: boolean;
|
|
13
|
+
hasPreviousPage: boolean;
|
|
14
|
+
} | {
|
|
15
|
+
startCursor: string;
|
|
16
|
+
endCursor: string;
|
|
17
|
+
hasNextPage: boolean;
|
|
18
|
+
hasPreviousPage: boolean;
|
|
19
|
+
};
|
|
20
|
+
export declare function pageResultCountResolver(source: RecordConnectionInformation): number;
|
|
21
|
+
export interface LocalCursor {
|
|
22
|
+
i: number;
|
|
23
|
+
e?: unknown;
|
|
24
|
+
}
|
|
25
|
+
export declare function encodeV1Cursor(cursor: LocalCursor): string;
|
|
26
|
+
export declare function decodeV1Cursor(base64cursor: string): LocalCursor;
|
|
27
|
+
/**
|
|
28
|
+
* Check the selections for any selection matching `pageInfo { hasNextPage }`
|
|
29
|
+
*/
|
|
30
|
+
export declare function selectionIncludesHasNextPage(selections: ReadonlyArray<SelectionNode>, fragments: {
|
|
31
|
+
[key: string]: FragmentDefinitionNode;
|
|
32
|
+
}): boolean;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type GraphQLSchema } from '@luvio/graphql-parser';
|
|
2
|
+
import type { ObjectInfoMap } from './types';
|
|
3
|
+
export declare class CachedGraphQLSchema {
|
|
4
|
+
private _schema;
|
|
5
|
+
private _polymorphicFieldTypeNames;
|
|
6
|
+
constructor();
|
|
7
|
+
getSchema(): GraphQLSchema;
|
|
8
|
+
setSchema(value: GraphQLSchema): void;
|
|
9
|
+
getPolymorphicFieldTypeNames(): string[];
|
|
10
|
+
setPolymorphicFieldTypeNames(value: string[]): void;
|
|
11
|
+
set(schema: GraphQLSchema, polymorphicFieldTypeNames: string[]): void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Looks at the injected object info map and checks to see if the existing objects
|
|
15
|
+
* are within the current schema. It will extend the cached schema if it is not included.
|
|
16
|
+
* @param objectInfos
|
|
17
|
+
* @param cache
|
|
18
|
+
* @returns GraphQLSchema
|
|
19
|
+
*/
|
|
20
|
+
export declare function createSchemaWithCache(objectInfos: ObjectInfoMap, cache: CachedGraphQLSchema): GraphQLSchema;
|
|
21
|
+
/**
|
|
22
|
+
* Extends the current GraphQL Schema with new types based on the given object info map
|
|
23
|
+
*
|
|
24
|
+
* @param cache the existing cached schema object
|
|
25
|
+
* @param objectInfoMap map of object info and apiname for key
|
|
26
|
+
* @returns CachedGraphQLSchema
|
|
27
|
+
*/
|
|
28
|
+
export declare function extendSchemaWithObjectInfos(cache: CachedGraphQLSchema, objectInfoMap: ObjectInfoMap): CachedGraphQLSchema;
|
|
29
|
+
/**
|
|
30
|
+
* Builds the base schema from uiapi graphql adapter with resolvers attached
|
|
31
|
+
* @returns GraphQLSchema
|
|
32
|
+
*/
|
|
33
|
+
export declare function buildBaseSchema(): GraphQLSchema;
|
|
34
|
+
/**
|
|
35
|
+
* Given the existing schema and the object infos it will create a new type for the schema
|
|
36
|
+
* or extend an existing type to add new fields to it.
|
|
37
|
+
*
|
|
38
|
+
* Extends RecordQuery to add new top level queries
|
|
39
|
+
* extend type RecordQuery {
|
|
40
|
+
* Account(predicates): AccountConnection
|
|
41
|
+
* }
|
|
42
|
+
* @param schema
|
|
43
|
+
* @param objectInfoMap
|
|
44
|
+
* @returns
|
|
45
|
+
*/
|
|
46
|
+
export declare function generateRecordQueries(schema: GraphQLSchema, objectInfoMap: ObjectInfoMap): {
|
|
47
|
+
recordQueries: string;
|
|
48
|
+
recordConnections: string;
|
|
49
|
+
recordExtensions: string;
|
|
50
|
+
polyFieldTypeNameArr: string[];
|
|
51
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Join, PredicateValue } from './query';
|
|
2
|
+
import type { LocalEvaluationRuntimeSettings } from './types';
|
|
3
|
+
export declare function scopeToJoins(scope: string | undefined, fieldName: string, settings: LocalEvaluationRuntimeSettings): Join[];
|
|
4
|
+
export declare function scopeToPredicates(scope: string | undefined, fieldName: string, settings: LocalEvaluationRuntimeSettings): PredicateValue[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Snapshot, ErrorSnapshot, AvailableSnapshot, NormalizedKeyMetadata, SnapshotRefresh } from '@luvio/engine';
|
|
2
|
+
import { StoreKeySet } from '@luvio/engine';
|
|
3
|
+
import type { GraphQLRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
4
|
+
export type StaleRefreshLocalEvalSnapshot = LocalEvalSnapshot & {
|
|
5
|
+
refreshStaleRecords: (keys: Set<string>) => Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
export type LocalEvalSnapshot = AvailableSnapshot<GraphQLRepresentation> & {
|
|
8
|
+
rebuildWithLocalEval: (originalSnapshot: AvailableSnapshot<GraphQLRepresentation>) => Promise<LocalEvalSnapshot>;
|
|
9
|
+
};
|
|
10
|
+
export declare function isLocalEvalSnapshot(snapshot: Snapshot<unknown>): snapshot is LocalEvalSnapshot;
|
|
11
|
+
export declare function createSeenRecords(ids: string[], currentSnapshot: AvailableSnapshot<unknown>): StoreKeySet<string | NormalizedKeyMetadata>;
|
|
12
|
+
export declare function createErrorSnapshot(result: Partial<{
|
|
13
|
+
errors: any[];
|
|
14
|
+
}>, snapshot: Snapshot<unknown>): ErrorSnapshot;
|
|
15
|
+
export declare function createLocalEvalSnapshot<D>(data: GraphQLRepresentation, seenRecords: StoreKeySet<string | NormalizedKeyMetadata>, recordId: string, rebuildWithLocalEval: LocalEvalSnapshot['rebuildWithLocalEval'], refresh?: SnapshotRefresh<any>): LocalEvalSnapshot;
|
|
16
|
+
/**
|
|
17
|
+
* If we can't reach the server or if we get back a 504 (which means only-if-cached
|
|
18
|
+
* cache policy was used but this query hasn't been cached) then we still want to
|
|
19
|
+
* attempt an eval. All other errors should be returned to caller.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isErrorSnapshotThatShouldGetReturnedToCaller(snapshot: Snapshot<GraphQLRepresentation>): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Checks a GraphQL-shaped network response for errors, returning true if it does
|
|
24
|
+
* and false otherwise
|
|
25
|
+
*/
|
|
26
|
+
export declare function hasGraphQlErrors(response: GraphQLRepresentation | undefined): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Adapter, type Luvio } from '@luvio/engine';
|
|
2
|
+
import type { BatchRepresentation, GetRecordsConfig } from '@salesforce/lds-adapters-uiapi';
|
|
3
|
+
/**
|
|
4
|
+
* Adapter for limiting the number of record ids to a maximum of 100 and sending them
|
|
5
|
+
* out in batches to the getRecords adapter
|
|
6
|
+
*
|
|
7
|
+
* @param luvio
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function batchingGetRecordsAdapterFactory(luvio: Luvio): Adapter<GetRecordsConfig, BatchRepresentation>;
|