@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,76 @@
|
|
|
1
|
+
import type { Luvio, PathSelection, AdapterContext, Snapshot, StoreLookup } from '@luvio/engine';
|
|
2
|
+
import type { ListInfoRepresentation } from '../types/ListInfoRepresentation';
|
|
3
|
+
import type { ListReferenceRepresentation } from '../types/ListReferenceRepresentation';
|
|
4
|
+
import type { RecordRepresentation } from '../types/RecordRepresentation';
|
|
5
|
+
import type { ListRecordCollectionRepresentation } from '../types/ListRecordCollectionRepresentation';
|
|
6
|
+
export interface ListReferenceQuery {
|
|
7
|
+
listViewId?: string;
|
|
8
|
+
objectApiName?: string;
|
|
9
|
+
listViewApiName?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Adds a list reference so it can be retrieved with #getListReference later.
|
|
13
|
+
*
|
|
14
|
+
* @param listRef list reference
|
|
15
|
+
*/
|
|
16
|
+
export declare function addListReference(listRef: ListReferenceRepresentation, context: AdapterContext): void;
|
|
17
|
+
/**
|
|
18
|
+
* Adds a list reference with some specified key so it can be retrieved with #getListReference later.
|
|
19
|
+
*
|
|
20
|
+
* @param listRef
|
|
21
|
+
* @param context
|
|
22
|
+
* @param id - Specified Id to use in the context key
|
|
23
|
+
*/
|
|
24
|
+
export declare function addListReferenceWithId(listRef: ListReferenceRepresentation, context: AdapterContext, id: string | null): void;
|
|
25
|
+
/**
|
|
26
|
+
* Returns a list reference from the store if it's present.
|
|
27
|
+
*
|
|
28
|
+
* @param query list view to look for
|
|
29
|
+
* @param luvio Luvio
|
|
30
|
+
*/
|
|
31
|
+
export declare function getListReference(query: ListReferenceQuery, context: AdapterContext): ListReferenceRepresentation | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Reader selections to copy a list info
|
|
34
|
+
*/
|
|
35
|
+
export declare const LIST_INFO_SELECTIONS: PathSelection[];
|
|
36
|
+
/**
|
|
37
|
+
* List info private memebers
|
|
38
|
+
*/
|
|
39
|
+
export declare const LIST_INFO_PRIVATES: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Retrieves the snapshot of the list info corresponding to the specified list
|
|
42
|
+
* reference from the store.
|
|
43
|
+
*
|
|
44
|
+
* @param listRef list reference
|
|
45
|
+
* @param luvio Luvio
|
|
46
|
+
*/
|
|
47
|
+
export declare function getListInfo(luvio: Luvio, listRef: ListReferenceRepresentation, storeLookup: StoreLookup<ListInfoRepresentation>): Snapshot<ListInfoRepresentation>;
|
|
48
|
+
export interface ServerDefaultable {
|
|
49
|
+
sortBy?: string[];
|
|
50
|
+
}
|
|
51
|
+
export interface ServerDefaults {
|
|
52
|
+
sortBy?: string[];
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Update the default values based on a server response.
|
|
56
|
+
*
|
|
57
|
+
* @param config getListUi config
|
|
58
|
+
* @param serverResponse ListUiRepresentation from the server
|
|
59
|
+
*/
|
|
60
|
+
export declare function addServerDefaults(config: ListReferenceQuery & ServerDefaultable, records: ListRecordCollectionRepresentation, listReference: ListReferenceRepresentation, context: AdapterContext): void;
|
|
61
|
+
/**
|
|
62
|
+
* Returns default values observed on previous requests for a list.
|
|
63
|
+
*
|
|
64
|
+
* @param config getListUi config
|
|
65
|
+
* @returns defaults from previous requests for this list, or {} if no defaults are known
|
|
66
|
+
*/
|
|
67
|
+
export declare function getServerDefaults(config: ListReferenceQuery, context: AdapterContext): ServerDefaults;
|
|
68
|
+
export interface ListFields {
|
|
69
|
+
getRecordSelectionFieldSets: () => [string[], string[]];
|
|
70
|
+
processRecords: (records: RecordRepresentation[]) => ListFields;
|
|
71
|
+
}
|
|
72
|
+
export declare function listFields(luvio: Luvio, { fields, optionalFields, sortBy, }: {
|
|
73
|
+
fields?: string[];
|
|
74
|
+
optionalFields?: string[];
|
|
75
|
+
sortBy?: string[];
|
|
76
|
+
}, listInfo: ListInfoRepresentation): ListFields;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PaginationMetadata, offsetFromToken, tokenForAtMost } from '../pagination/cursor';
|
|
2
|
+
/**
|
|
3
|
+
* Examines a set of paginated data & metadata from an UnfulfilledSnapshot and computes a
|
|
4
|
+
* pageToken and pageSize that will minimize the amount of data requested while still
|
|
5
|
+
* satisfying the original request.
|
|
6
|
+
*
|
|
7
|
+
* @param config.name name of the field within data that contains the items
|
|
8
|
+
* @param conifg.data paginated data/metadata from an UnfulfilledSnapshot
|
|
9
|
+
* @param config.pageSize requested pageSize
|
|
10
|
+
* @param config.pagination pagination data/functions from engine
|
|
11
|
+
* @returns pageToken & pageSize to fill in the missing data
|
|
12
|
+
*/
|
|
13
|
+
export declare function minimizeRequest(config: {
|
|
14
|
+
name: string;
|
|
15
|
+
data: any | null;
|
|
16
|
+
pageToken: string | undefined;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
pagination: {
|
|
19
|
+
offsetFromToken: typeof offsetFromToken;
|
|
20
|
+
tokenForAtMost: typeof tokenForAtMost;
|
|
21
|
+
paginationMetadata: PaginationMetadata;
|
|
22
|
+
};
|
|
23
|
+
}): {
|
|
24
|
+
pageToken: string | undefined;
|
|
25
|
+
pageSize: number;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isPromise<T>(value: Promise<T> | T): value is Promise<T>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ResourceIngest, IngestPath, Luvio, Store } from '@luvio/engine';
|
|
2
|
+
import type { RecordRepresentation } from '../types/RecordRepresentation';
|
|
3
|
+
import type { RecordFieldTrie } from './records';
|
|
4
|
+
import type { RecordConflictMap } from '../helpers/RecordRepresentation/resolveConflict';
|
|
5
|
+
import type { RecordRepresentationNormalized } from '../types/RecordRepresentation';
|
|
6
|
+
export declare function createFieldsIngestion(fieldsTrie: RecordFieldTrie, optionalFieldsTrie: RecordFieldTrie, recordConflictMap: RecordConflictMap): ResourceIngest;
|
|
7
|
+
export declare function createChildRecordNormalize(fieldsTrie: RecordFieldTrie, optionalFieldsTrie: RecordFieldTrie, recordConflictMap: RecordConflictMap): (input: RecordRepresentation, existing: RecordRepresentationNormalized | undefined, path: IngestPath, luvio: Luvio, store: Store, timestamp: number) => RecordRepresentationNormalized;
|
|
8
|
+
export declare const createRecordIngest: (fieldsTrie: RecordFieldTrie, optionalFieldsTrie: RecordFieldTrie, recordConflictMap: RecordConflictMap) => ResourceIngest;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ProxyGraphNode, GraphNode, NormalizedKeyMetadata, FetchResponse, Luvio, ResourceIngest, Snapshot, StoreRecordError } from '@luvio/engine';
|
|
2
|
+
import type { RecordCreateDefaultRecordRepresentation } from '../types/RecordCreateDefaultRecordRepresentation';
|
|
3
|
+
import type { RecordRepresentation, RecordRepresentationNormalized } from '../types/RecordRepresentation';
|
|
4
|
+
import type { FieldMapRepresentation, FieldMapRepresentationNormalized } from './fields';
|
|
5
|
+
import type { RecordConflictMap } from '../helpers/RecordRepresentation/resolveConflict';
|
|
6
|
+
export declare const RECORD_REPRESENTATION_ERROR_VERSION = "RECORD_REPRESENTATION_ERROR_VERSION_1";
|
|
7
|
+
export declare const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS: {
|
|
8
|
+
representationName: string;
|
|
9
|
+
namespace: string;
|
|
10
|
+
ttl: number;
|
|
11
|
+
version: string;
|
|
12
|
+
};
|
|
13
|
+
export interface LinkState {
|
|
14
|
+
fields: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface RecordLayoutFragment {
|
|
17
|
+
apiName: RecordRepresentation['apiName'];
|
|
18
|
+
recordTypeId: RecordRepresentation['recordTypeId'];
|
|
19
|
+
}
|
|
20
|
+
export declare function isErrorEntry(entry: RecordRepresentationNormalized | StoreRecordError | undefined): entry is StoreRecordError;
|
|
21
|
+
/**
|
|
22
|
+
* A trie data structure representing where each node represents a field on a RecordRepresentation.
|
|
23
|
+
*/
|
|
24
|
+
export interface RecordFieldTrie {
|
|
25
|
+
name: string;
|
|
26
|
+
children: {
|
|
27
|
+
[name: string]: RecordFieldTrie;
|
|
28
|
+
};
|
|
29
|
+
scalar?: boolean;
|
|
30
|
+
optional?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface TrackedFieldsConfig {
|
|
33
|
+
maxDepth: number;
|
|
34
|
+
onlyFetchLeafNodeIdAndName: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare function isGraphNode(node: ProxyGraphNode<unknown>): node is GraphNode<unknown>;
|
|
37
|
+
export declare function extractTrackedFieldsToTrie(recordId: string | NormalizedKeyMetadata, node: ProxyGraphNode<FieldMapRepresentationNormalized, FieldMapRepresentation>, root: RecordFieldTrie): void;
|
|
38
|
+
export declare function convertTrieToFields(root: RecordFieldTrie): string[];
|
|
39
|
+
export declare function convertTrieToFieldsRecursively(root: RecordFieldTrie): string[];
|
|
40
|
+
export declare const BLANK_RECORD_FIELDS_TRIE: Readonly<{
|
|
41
|
+
name: "";
|
|
42
|
+
children: {};
|
|
43
|
+
}>;
|
|
44
|
+
export declare const convertFieldsToTrie: (fields?: string[], isOptional?: boolean) => RecordFieldTrie;
|
|
45
|
+
export declare function getTrackedFields(key: string | NormalizedKeyMetadata, graphNode: ProxyGraphNode<FieldMapRepresentationNormalized, FieldMapRepresentation>, config: TrackedFieldsConfig, fieldsFromConfig?: string[]): string[];
|
|
46
|
+
export declare function getRecordTypeId(record: RecordRepresentation | RecordLayoutFragment): string;
|
|
47
|
+
export declare function markMissingOptionalFields(record: ProxyGraphNode<FieldMapRepresentationNormalized, FieldMapRepresentation>, optionalFields: string[]): void;
|
|
48
|
+
export declare function markNulledOutRequiredFields(record: ProxyGraphNode<RecordRepresentationNormalized, RecordRepresentation>, fields: string[]): void;
|
|
49
|
+
/** Return true if a >= b */
|
|
50
|
+
export declare function isSuperset(a: string[], b: string[]): boolean;
|
|
51
|
+
/** return true if a and b start with the same root name and a contains all nodes in b */
|
|
52
|
+
export declare function isSuperRecordFieldTrie(a: RecordFieldTrie, b: RecordFieldTrie): boolean;
|
|
53
|
+
export declare function extractRecordIds(record: RecordRepresentation | RecordCreateDefaultRecordRepresentation, luvio: Luvio): {
|
|
54
|
+
[key: string]: boolean;
|
|
55
|
+
};
|
|
56
|
+
export declare function ingestRecordResponse(luvio: Luvio, response: FetchResponse<RecordRepresentation>, recordId: string, recordIngest: ResourceIngest, conflictMap: RecordConflictMap): Snapshot<RecordRepresentation>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Snapshot, ErrorSnapshot, FulfilledSnapshot, UnfulfilledSnapshot, StaleSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare function isFulfilledSnapshot<T, U>(snapshot: Snapshot<T, U>): snapshot is FulfilledSnapshot<T, U>;
|
|
3
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: Snapshot<T, U>): snapshot is UnfulfilledSnapshot<T, U>;
|
|
4
|
+
export declare function isStaleSnapshot<T, U>(snapshot: Snapshot<any>): snapshot is StaleSnapshot<T, U>;
|
|
5
|
+
export declare function isErrorSnapshot(snapshot: Snapshot<any>): snapshot is ErrorSnapshot;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare function isString(value: any): value is string;
|
|
2
|
+
/**
|
|
3
|
+
* Converts a value to an array. If the value is null/undefined, an empty array is returned.
|
|
4
|
+
* @param value The value to convert to an array.
|
|
5
|
+
* @returns value if it's an array; an empty array if value is null/undefined; otherwise value wrapped in an array.
|
|
6
|
+
*/
|
|
7
|
+
export declare function toArray<T>(value: T | T[] | undefined): T[];
|
|
8
|
+
/**
|
|
9
|
+
* @param value The array to inspect.
|
|
10
|
+
* @returns True if the array is non-empty and contains only non-empty strings.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isArrayOfNonEmptyStrings(value: any[]): value is string[];
|
|
13
|
+
/**
|
|
14
|
+
* @param value The array to dedupe
|
|
15
|
+
* @returns An array without duplicates.
|
|
16
|
+
*/
|
|
17
|
+
export declare function dedupe<T extends string>(value: T[]): T[];
|
|
18
|
+
/**
|
|
19
|
+
* @param source The array of string to filter
|
|
20
|
+
* @param compare The array to filter against
|
|
21
|
+
* @returns An array with values from source that do not exist in compare
|
|
22
|
+
* If the "compare" array is empty, "source" array itself is returned, not a shallow copy
|
|
23
|
+
*/
|
|
24
|
+
export declare function difference(source: string[], compare: string[]): string[];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { SearchFilterInputRepresentation as types_SearchFilterInputRepresentation_SearchFilterInputRepresentation } from '../../types/SearchFilterInputRepresentation';
|
|
4
|
+
import type { ResourceRequestConfig as resources_postUiApiSearchResultsKeyword_ResourceRequestConfig } from '../../resources/postUiApiSearchResultsKeyword';
|
|
5
|
+
import type { KeywordSearchResultsSummaryRepresentation as types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation } from '../../types/KeywordSearchResultsSummaryRepresentation';
|
|
6
|
+
export declare const adapterName = "getKeywordSearchResults";
|
|
7
|
+
export declare const getKeywordSearchResults_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getKeywordSearchResults_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetKeywordSearchResultsConfig {
|
|
10
|
+
objectApiName: string;
|
|
11
|
+
q: string;
|
|
12
|
+
configurationName?: string;
|
|
13
|
+
filters?: Array<types_SearchFilterInputRepresentation_SearchFilterInputRepresentation>;
|
|
14
|
+
pageSize?: number;
|
|
15
|
+
pageToken?: string;
|
|
16
|
+
sortBy?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const createResourceParams: (config: GetKeywordSearchResultsConfig) => resources_postUiApiSearchResultsKeyword_ResourceRequestConfig;
|
|
19
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig): string;
|
|
20
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
21
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetKeywordSearchResultsConfig>): adapter$45$utils_Untrusted<GetKeywordSearchResultsConfig>;
|
|
22
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetKeywordSearchResultsConfig | null;
|
|
23
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig): $64$luvio_engine_Fragment;
|
|
24
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig): $64$luvio_engine_Snapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, any>;
|
|
25
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig, resourceParams: resources_postUiApiSearchResultsKeyword_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, any>>;
|
|
26
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig, resourceParams: resources_postUiApiSearchResultsKeyword_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
27
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetKeywordSearchResultsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, any>>;
|
|
28
|
+
export type BuildSnapshotContext = {
|
|
29
|
+
luvio: $64$luvio_engine_Luvio;
|
|
30
|
+
config: GetKeywordSearchResultsConfig;
|
|
31
|
+
};
|
|
32
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, any>>;
|
|
33
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation>): $64$luvio_engine_Snapshot<types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation, any>;
|
|
34
|
+
export declare const getKeywordSearchResultsAdapterFactory: $64$luvio_engine_AdapterFactory<GetKeywordSearchResultsConfig, types_KeywordSearchResultsSummaryRepresentation_KeywordSearchResultsSummaryRepresentation>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata, AdapterContext, AdapterFactory, CoercedAdapterRequestContext, DispatchResourceRequestContext, ErrorResponse, FetchResponse, Fragment, Luvio, NormalizedKeyMetadata, Snapshot, StoreLookup, UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { ResourceRequestConfig, ResourceRequestConfig as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../../resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
|
|
4
|
+
import type { ListRecordCollectionRepresentation, ListRecordCollectionRepresentation as types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation } from '../../types/ListRecordCollectionRepresentation';
|
|
5
|
+
import { createResourceRequest as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest } from '../../resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
|
|
6
|
+
export declare const adapterName = "getListRecordsByName";
|
|
7
|
+
export declare function onFetchResponseSuccess_setContext(adapterContext: AdapterContext): void;
|
|
8
|
+
export declare const getListRecordsByName_ConfigPropertyMetadata: AdapterConfigMetadata[];
|
|
9
|
+
export declare const getListRecordsByName_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface GetListRecordsByNameConfig {
|
|
11
|
+
listViewApiName: string;
|
|
12
|
+
objectApiName: string;
|
|
13
|
+
fields?: Array<string>;
|
|
14
|
+
optionalFields?: Array<string>;
|
|
15
|
+
pageSize?: number;
|
|
16
|
+
pageToken?: string;
|
|
17
|
+
searchTerm?: string;
|
|
18
|
+
sortBy?: Array<string>;
|
|
19
|
+
where?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const createResourceParams: (config: GetListRecordsByNameConfig) => ResourceRequestConfig;
|
|
22
|
+
export declare function keyBuilder(luvio: Luvio, config: GetListRecordsByNameConfig): string;
|
|
23
|
+
export declare function keyBuilder_StructuredKey(luvio: Luvio, config: GetListRecordsByNameConfig): NormalizedKeyMetadata;
|
|
24
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListRecordsByNameConfig>): adapter$45$utils_Untrusted<GetListRecordsByNameConfig>;
|
|
25
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListRecordsByNameConfig | null;
|
|
26
|
+
export declare function adapterFragment(luvio: Luvio, config: GetListRecordsByNameConfig): Fragment;
|
|
27
|
+
export declare function buildCachedSnapshot(luvio: Luvio, config: GetListRecordsByNameConfig): Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>;
|
|
28
|
+
export declare function buildNetworkSnapshot(luvio: Luvio, config: GetListRecordsByNameConfig, options?: DispatchResourceRequestContext, cacheSnapshot?: UnfulfilledSnapshot<ListRecordCollectionRepresentation>): Promise<Snapshot<ListRecordCollectionRepresentation, any>>;
|
|
29
|
+
export declare function generated_onFetchResponseSuccess(luvio: Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: FetchResponse<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<ListRecordCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<ListRecordCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<ListRecordCollectionRepresentation, any>>;
|
|
30
|
+
export declare function onFetchResponseSuccess(luvio: Luvio, config: GetListRecordsByNameConfig, resourceParams: ResourceRequestConfig, response: FetchResponse<ListRecordCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<ListRecordCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<ListRecordCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<ListRecordCollectionRepresentation, any>>;
|
|
31
|
+
export declare function onFetchResponseError(luvio: Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
32
|
+
export declare function prepareRequest(luvio: Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, cacheSnapshot?: UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): ReturnType<typeof resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest>;
|
|
33
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: CoercedAdapterRequestContext): Promise<Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>>;
|
|
34
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: StoreLookup<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>;
|
|
35
|
+
type BuildSnapshotContext = {
|
|
36
|
+
cacheSnapshot?: UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>;
|
|
37
|
+
adapterContext: AdapterContext;
|
|
38
|
+
config: GetListRecordsByNameConfig;
|
|
39
|
+
luvio: Luvio;
|
|
40
|
+
};
|
|
41
|
+
export declare const factory: AdapterFactory<GetListRecordsByNameConfig, ListRecordCollectionRepresentation>;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { ResourceRequestConfig as resources_getUiApiListUiByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../../resources/getUiApiListUiByListViewApiNameAndObjectApiName';
|
|
4
|
+
import type { ListUiRepresentation as types_ListUiRepresentation_ListUiRepresentation } from '../../types/ListUiRepresentation';
|
|
5
|
+
export declare const adapterName = "getListUiByApiName";
|
|
6
|
+
export declare const getListUiByApiName_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getListUiByApiName_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetListUiByApiNameConfig {
|
|
9
|
+
listViewApiName: string;
|
|
10
|
+
objectApiName: string;
|
|
11
|
+
fields?: Array<string>;
|
|
12
|
+
optionalFields?: Array<string>;
|
|
13
|
+
pageSize?: number;
|
|
14
|
+
pageToken?: string;
|
|
15
|
+
sortBy?: Array<string>;
|
|
16
|
+
}
|
|
17
|
+
export declare const createResourceParams: (config: GetListUiByApiNameConfig) => resources_getUiApiListUiByListViewApiNameAndObjectApiName_ResourceRequestConfig;
|
|
18
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig): string;
|
|
19
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
20
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListUiByApiNameConfig>): adapter$45$utils_Untrusted<GetListUiByApiNameConfig>;
|
|
21
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListUiByApiNameConfig | null;
|
|
22
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig): $64$luvio_engine_Fragment;
|
|
23
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig): $64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>;
|
|
24
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig, resourceParams: resources_getUiApiListUiByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListUiRepresentation_ListUiRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListUiRepresentation_ListUiRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
25
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig, resourceParams: resources_getUiApiListUiByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
26
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListUiByApiNameConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, _cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
27
|
+
export type BuildSnapshotContext = {
|
|
28
|
+
luvio: $64$luvio_engine_Luvio;
|
|
29
|
+
config: GetListUiByApiNameConfig;
|
|
30
|
+
cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation>;
|
|
31
|
+
};
|
|
32
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
33
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ListUiRepresentation_ListUiRepresentation>): $64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>;
|
|
34
|
+
export declare const getListUiByApiNameAdapterFactory: $64$luvio_engine_AdapterFactory<GetListUiByApiNameConfig, types_ListUiRepresentation_ListUiRepresentation>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { ResourceRequestConfig as resources_getUiApiListUiByListViewId_ResourceRequestConfig } from '../../resources/getUiApiListUiByListViewId';
|
|
4
|
+
import type { ListUiRepresentation as types_ListUiRepresentation_ListUiRepresentation } from '../../types/ListUiRepresentation';
|
|
5
|
+
export declare const adapterName = "getListUiByListViewId";
|
|
6
|
+
export declare const getListUiByListViewId_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getListUiByListViewId_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetListUiByListViewIdConfig {
|
|
9
|
+
listViewId: string;
|
|
10
|
+
fields?: Array<string>;
|
|
11
|
+
optionalFields?: Array<string>;
|
|
12
|
+
pageSize?: number;
|
|
13
|
+
pageToken?: string;
|
|
14
|
+
sortBy?: Array<string>;
|
|
15
|
+
}
|
|
16
|
+
export declare const createResourceParams: (config: GetListUiByListViewIdConfig) => resources_getUiApiListUiByListViewId_ResourceRequestConfig;
|
|
17
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig): string;
|
|
18
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListUiByListViewIdConfig>): adapter$45$utils_Untrusted<GetListUiByListViewIdConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListUiByListViewIdConfig | null;
|
|
21
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig): $64$luvio_engine_Fragment;
|
|
22
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig): $64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>;
|
|
23
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig, resourceParams: resources_getUiApiListUiByListViewId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListUiRepresentation_ListUiRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListUiRepresentation_ListUiRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
24
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig, resourceParams: resources_getUiApiListUiByListViewId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
25
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListUiByListViewIdConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, _cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
26
|
+
export type BuildSnapshotContext = {
|
|
27
|
+
luvio: $64$luvio_engine_Luvio;
|
|
28
|
+
config: GetListUiByListViewIdConfig;
|
|
29
|
+
cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation>;
|
|
30
|
+
};
|
|
31
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
32
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ListUiRepresentation_ListUiRepresentation>): $64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>;
|
|
33
|
+
export declare const getListUiByListViewIdAdapterFactory: $64$luvio_engine_AdapterFactory<GetListUiByListViewIdConfig, types_ListUiRepresentation_ListUiRepresentation>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { GetListUiByApiNameConfig } from './getListUiByApiName';
|
|
3
|
+
import type { GetListUiByListViewIdConfig } from './getListUiByListViewId';
|
|
4
|
+
import type { GetListViewSummaryCollectionConfig } from '../getListViewSummaryCollection';
|
|
5
|
+
import type { GetMruListUiConfig } from '../getMruListUi/getMruListUi';
|
|
6
|
+
import type { ListUiRepresentation } from '../../types/ListUiRepresentation';
|
|
7
|
+
import type { ListViewSummaryCollectionRepresentation } from '../../types/ListViewSummaryCollectionRepresentation';
|
|
8
|
+
type GetListUiConfig = GetListUiByApiNameConfig | GetListUiByListViewIdConfig;
|
|
9
|
+
export declare function validateGetListUiConfig(untrustedConfig: unknown): GetListUiConfig | null;
|
|
10
|
+
export declare const MRU: unique symbol;
|
|
11
|
+
export declare const factory: AdapterFactory<GetListViewSummaryCollectionConfig | GetListUiByApiNameConfig | GetListUiByListViewIdConfig | GetMruListUiConfig, ListUiRepresentation | ListViewSummaryCollectionRepresentation>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { ResourceRequestConfig as resources_getUiApiListUiByObjectApiName_ResourceRequestConfig } from '../../resources/getUiApiListUiByObjectApiName';
|
|
4
|
+
import { createResourceRequest as resources_getUiApiListUiByObjectApiName_createResourceRequest } from '../../resources/getUiApiListUiByObjectApiName';
|
|
5
|
+
import type { ListViewSummaryCollectionRepresentation as types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation } from '../../types/ListViewSummaryCollectionRepresentation';
|
|
6
|
+
export declare const adapterName = "getListViewSummaryCollection";
|
|
7
|
+
export declare const getListViewSummaryCollection_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getListViewSummaryCollection_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetListViewSummaryCollectionConfig {
|
|
10
|
+
objectApiName: string;
|
|
11
|
+
pageSize?: number;
|
|
12
|
+
pageToken?: string;
|
|
13
|
+
q?: string;
|
|
14
|
+
recentListsOnly?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const createResourceParams: (config: GetListViewSummaryCollectionConfig) => resources_getUiApiListUiByObjectApiName_ResourceRequestConfig;
|
|
17
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig): string;
|
|
18
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListViewSummaryCollectionConfig>): adapter$45$utils_Untrusted<GetListViewSummaryCollectionConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListViewSummaryCollectionConfig | null;
|
|
21
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig): $64$luvio_engine_Fragment;
|
|
22
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig): $64$luvio_engine_Snapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, any>;
|
|
23
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig, resourceParams: resources_getUiApiListUiByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, any>>;
|
|
24
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig, resourceParams: resources_getUiApiListUiByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
25
|
+
export declare function prepareRequest(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig, resourceParams: resources_getUiApiListUiByObjectApiName_ResourceRequestConfig, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation>): ReturnType<typeof resources_getUiApiListUiByObjectApiName_createResourceRequest>;
|
|
26
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListViewSummaryCollectionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, any>>;
|
|
27
|
+
export type BuildSnapshotContext = {
|
|
28
|
+
luvio: $64$luvio_engine_Luvio;
|
|
29
|
+
config: GetListViewSummaryCollectionConfig;
|
|
30
|
+
cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation>;
|
|
31
|
+
};
|
|
32
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, any>>;
|
|
33
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation>): $64$luvio_engine_Snapshot<types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation, any>;
|
|
34
|
+
export declare const getListViewSummaryCollectionAdapterFactory: $64$luvio_engine_AdapterFactory<GetListViewSummaryCollectionConfig, types_ListViewSummaryCollectionRepresentation_ListViewSummaryCollectionRepresentation>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { RecordInputRepresentation as types_RecordInputRepresentation_RecordInputRepresentation } from '../../types/RecordInputRepresentation';
|
|
4
|
+
import type { ResourceRequestConfig as resources_postUiApiLookupsByFieldApiNameAndObjectApiName_ResourceRequestConfig } from '../../resources/postUiApiLookupsByFieldApiNameAndObjectApiName';
|
|
5
|
+
import type { LookupValuesRepresentation as types_LookupValuesRepresentation_LookupValuesRepresentation } from '../../types/LookupValuesRepresentation';
|
|
6
|
+
export declare const adapterName = "getLookupRecords";
|
|
7
|
+
export declare const getLookupRecords_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getLookupRecords_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetLookupRecordsConfig {
|
|
10
|
+
fieldApiName: string;
|
|
11
|
+
objectApiName: string;
|
|
12
|
+
dependentFieldBindings?: Array<string>;
|
|
13
|
+
page?: number;
|
|
14
|
+
pageSize?: number;
|
|
15
|
+
q?: string;
|
|
16
|
+
searchType?: string;
|
|
17
|
+
sourceRecordId?: string;
|
|
18
|
+
targetApiName?: string;
|
|
19
|
+
sourceRecord?: types_RecordInputRepresentation_RecordInputRepresentation | null;
|
|
20
|
+
}
|
|
21
|
+
export declare const createResourceParams: (config: GetLookupRecordsConfig) => resources_postUiApiLookupsByFieldApiNameAndObjectApiName_ResourceRequestConfig;
|
|
22
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig): string;
|
|
23
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
24
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLookupRecordsConfig>): adapter$45$utils_Untrusted<GetLookupRecordsConfig>;
|
|
25
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLookupRecordsConfig | null;
|
|
26
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig): $64$luvio_engine_Fragment;
|
|
27
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig): $64$luvio_engine_Snapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, any>;
|
|
28
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig, resourceParams: resources_postUiApiLookupsByFieldApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LookupValuesRepresentation_LookupValuesRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, any>>;
|
|
29
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig, resourceParams: resources_postUiApiLookupsByFieldApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
30
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLookupRecordsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, any>>;
|
|
31
|
+
export type BuildSnapshotContext = {
|
|
32
|
+
luvio: $64$luvio_engine_Luvio;
|
|
33
|
+
config: GetLookupRecordsConfig;
|
|
34
|
+
};
|
|
35
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, any>>;
|
|
36
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_LookupValuesRepresentation_LookupValuesRepresentation>): $64$luvio_engine_Snapshot<types_LookupValuesRepresentation_LookupValuesRepresentation, any>;
|
|
37
|
+
export declare const getLookupRecordsAdapterFactory: $64$luvio_engine_AdapterFactory<GetLookupRecordsConfig, types_LookupValuesRepresentation_LookupValuesRepresentation>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AdapterFactory, Luvio, FulfilledSnapshot, DispatchResourceRequestContext } from '@luvio/engine';
|
|
2
|
+
import type { LookupValuesRepresentation } from '../../types/LookupValuesRepresentation';
|
|
3
|
+
import type { GetLookupRecordsConfig } from './getLookupRecords';
|
|
4
|
+
import type { FieldId } from '../../primitives/FieldId';
|
|
5
|
+
import type { RecordInputRepresentation as types_RecordInputRepresentation_RecordInputRepresentation } from '../../types/RecordInputRepresentation';
|
|
6
|
+
interface GetLookupRecordsConfigRequestParams {
|
|
7
|
+
q?: string;
|
|
8
|
+
page?: number;
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
dependentFieldBindings?: string[];
|
|
11
|
+
searchType?: 'Recent' | 'Search' | 'TypeAhead';
|
|
12
|
+
sourceRecordId?: string;
|
|
13
|
+
targetApiName?: string;
|
|
14
|
+
sourceRecord?: types_RecordInputRepresentation_RecordInputRepresentation | null;
|
|
15
|
+
}
|
|
16
|
+
export interface GetLookupRecordsAdapterConfig {
|
|
17
|
+
fieldApiName: string | FieldId;
|
|
18
|
+
requestParams?: GetLookupRecordsConfigRequestParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: Luvio, config: GetLookupRecordsConfig, options?: DispatchResourceRequestContext): Promise<import("@luvio/engine").ErrorSnapshot | FulfilledSnapshot<LookupValuesRepresentation, {}>>;
|
|
21
|
+
export declare const factory: AdapterFactory<GetLookupRecordsConfig, LookupValuesRepresentation>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { ResourceRequestConfig as resources_getUiApiMruListUiByObjectApiName_ResourceRequestConfig } from '../../resources/getUiApiMruListUiByObjectApiName';
|
|
4
|
+
import type { ListUiRepresentation as types_ListUiRepresentation_ListUiRepresentation } from '../../types/ListUiRepresentation';
|
|
5
|
+
export declare const adapterName = "getMruListUi";
|
|
6
|
+
export declare const getMruListUi_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getMruListUi_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetMruListUiConfig {
|
|
9
|
+
objectApiName: string;
|
|
10
|
+
fields?: Array<string>;
|
|
11
|
+
optionalFields?: Array<string>;
|
|
12
|
+
pageSize?: number;
|
|
13
|
+
pageToken?: string;
|
|
14
|
+
sortBy?: Array<string>;
|
|
15
|
+
}
|
|
16
|
+
export declare const createResourceParams: (config: GetMruListUiConfig) => resources_getUiApiMruListUiByObjectApiName_ResourceRequestConfig;
|
|
17
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig): string;
|
|
18
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetMruListUiConfig>): adapter$45$utils_Untrusted<GetMruListUiConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetMruListUiConfig | null;
|
|
21
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig): $64$luvio_engine_Fragment;
|
|
22
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig): $64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>;
|
|
23
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig, resourceParams: resources_getUiApiMruListUiByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListUiRepresentation_ListUiRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListUiRepresentation_ListUiRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
24
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig, resourceParams: resources_getUiApiMruListUiByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
25
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMruListUiConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, _cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
26
|
+
export type BuildSnapshotContext = {
|
|
27
|
+
luvio: $64$luvio_engine_Luvio;
|
|
28
|
+
config: GetMruListUiConfig;
|
|
29
|
+
cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListUiRepresentation_ListUiRepresentation>;
|
|
30
|
+
};
|
|
31
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>>;
|
|
32
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ListUiRepresentation_ListUiRepresentation>): $64$luvio_engine_Snapshot<types_ListUiRepresentation_ListUiRepresentation, any>;
|
|
33
|
+
export declare const getMruListUiAdapterFactory: $64$luvio_engine_AdapterFactory<GetMruListUiConfig, types_ListUiRepresentation_ListUiRepresentation>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AdapterFactory, Luvio, Snapshot, StoreLookup } from '@luvio/engine';
|
|
2
|
+
import type { GetMruListUiConfig } from './getMruListUi';
|
|
3
|
+
import type { ListInfoRepresentation } from '../../types/ListInfoRepresentation';
|
|
4
|
+
import type { ListUiRepresentation } from '../../types/ListUiRepresentation';
|
|
5
|
+
import type { ListFields } from '../../util/lists';
|
|
6
|
+
export declare function buildCachedSnapshot(luvio: Luvio, storeLookup: StoreLookup<ListUiRepresentation>, config: GetMruListUiConfig, listInfo: ListInfoRepresentation, fields?: ListFields): Snapshot<ListUiRepresentation>;
|
|
7
|
+
export declare const factory: AdapterFactory<GetMruListUiConfig, ListUiRepresentation>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import type { UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration, Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from '../../util/adapter-utils';
|
|
3
|
+
import type { ResourceRequestConfig as resources_getUiApiActionsRecordDefaultsByActionApiName_ResourceRequestConfig } from '../../resources/getUiApiActionsRecordDefaultsByActionApiName';
|
|
4
|
+
import type { KeyParams as types_QuickActionDefaultsRepresentation_KeyParams, QuickActionDefaultsRepresentation as types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation } from '../../types/QuickActionDefaultsRepresentation';
|
|
5
|
+
export declare const adapterName = "getQuickActionDefaults";
|
|
6
|
+
export declare const getQuickActionDefaults_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getQuickActionDefaults_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetQuickActionDefaultsConfig {
|
|
9
|
+
actionApiName: string;
|
|
10
|
+
optionalFields?: Array<string>;
|
|
11
|
+
parentRecordId?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetQuickActionDefaultsConfig) => resources_getUiApiActionsRecordDefaultsByActionApiName_ResourceRequestConfig;
|
|
14
|
+
export declare function coerceKeyParam(config: adapter$45$utils_UncoercedConfiguration<types_QuickActionDefaultsRepresentation_KeyParams, any>): types_QuickActionDefaultsRepresentation_KeyParams;
|
|
15
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig): string;
|
|
16
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetQuickActionDefaultsConfig>): adapter$45$utils_Untrusted<GetQuickActionDefaultsConfig>;
|
|
18
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetQuickActionDefaultsConfig | null;
|
|
19
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig): $64$luvio_engine_Fragment;
|
|
20
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig): $64$luvio_engine_Snapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, any>;
|
|
21
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig, resourceParams: resources_getUiApiActionsRecordDefaultsByActionApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, any>>;
|
|
22
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig, resourceParams: resources_getUiApiActionsRecordDefaultsByActionApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
23
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetQuickActionDefaultsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, any>>;
|
|
24
|
+
export type BuildSnapshotContext = {
|
|
25
|
+
luvio: $64$luvio_engine_Luvio;
|
|
26
|
+
config: GetQuickActionDefaultsConfig;
|
|
27
|
+
};
|
|
28
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, any>>;
|
|
29
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation>): $64$luvio_engine_Snapshot<types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation, any>;
|
|
30
|
+
export declare const getQuickActionDefaultsAdapterFactory: $64$luvio_engine_AdapterFactory<GetQuickActionDefaultsConfig, types_QuickActionDefaultsRepresentation_QuickActionDefaultsRepresentation>;
|
|
31
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_QuickActionDefaultsRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Luvio, Selector, Snapshot, SnapshotRefresh, FetchResponse, AdapterRequestContext, StoreLookup, DispatchResourceRequestContext, ErrorResponse, NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import type { GetRecordConfig } from './getRecord';
|
|
3
|
+
import type { RecordRepresentation } from '../../types/RecordRepresentation';
|
|
4
|
+
export declare function buildRecordSelector(luvio: Luvio, recordId: string, fields: string[], optionalFields: string[]): Selector;
|
|
5
|
+
export declare function ingestSuccess(luvio: Luvio, config: GetRecordConfig, key: string | NormalizedKeyMetadata, allTrackedFields: string[], response: FetchResponse<RecordRepresentation>, serverRequestCount: number): Snapshot<RecordRepresentation, unknown>;
|
|
6
|
+
export declare function ingestError(luvio: Luvio, config: GetRecordConfig, key: string | NormalizedKeyMetadata, err: ErrorResponse): import("@luvio/engine").ErrorSnapshot;
|
|
7
|
+
export declare function buildNetworkSnapshot(luvio: Luvio, config: GetRecordConfig, serverRequestCount?: number, options?: DispatchResourceRequestContext): Promise<import("@luvio/engine").ErrorSnapshot | import("@luvio/engine").FulfilledSnapshot<RecordRepresentation, unknown> | import("@luvio/engine").UnfulfilledSnapshot<RecordRepresentation, unknown> | import("@luvio/engine").StaleSnapshot<RecordRepresentation, unknown> | import("@luvio/engine").PendingSnapshot<RecordRepresentation, unknown>>;
|
|
8
|
+
export declare function buildCachedSnapshot(luvio: Luvio, config: GetRecordConfig, refresh?: SnapshotRefresh<RecordRepresentation>): Snapshot<RecordRepresentation, unknown>;
|
|
9
|
+
export type BuildSnapshotContext = {
|
|
10
|
+
config: GetRecordConfig;
|
|
11
|
+
luvio: Luvio;
|
|
12
|
+
};
|
|
13
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: StoreLookup<RecordRepresentation>): Snapshot<RecordRepresentation>;
|
|
14
|
+
export declare function getRecordByFields(luvio: Luvio, config: GetRecordConfig, requestContext?: AdapterRequestContext): Snapshot<RecordRepresentation> | Promise<Snapshot<RecordRepresentation>>;
|