@salesforce/lds-adapters-uiapi 1.424.0 → 1.426.1

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.
@@ -0,0 +1 @@
1
+ export declare function isSupportedEntity(_objectApiName: string): boolean;
@@ -7,6 +7,7 @@ import type { RecordRepresentation, RecordRepresentationNormalized } from '../ge
7
7
  import type { FieldId } from '../primitives/FieldId';
8
8
  import type { FieldMapRepresentation, FieldMapRepresentationNormalized } from './fields';
9
9
  import type { RecordConflictMap } from '../helpers/RecordRepresentation/resolveConflict';
10
+ export { isSupportedEntity } from 'force/uiApiEnabledCheck';
10
11
  type FieldValueRepresentationValue = FieldValueRepresentation['value'];
11
12
  export declare const RECORD_REPRESENTATION_ERROR_VERSION = "RECORD_REPRESENTATION_ERROR_VERSION_1";
12
13
  export declare const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS: {
@@ -102,13 +103,6 @@ export declare function getFieldDisplayValue(record: RecordRepresentation, field
102
103
  export declare function getRecordTypeId(record: RecordRepresentation | RecordLayoutFragment): string;
103
104
  export declare function markMissingOptionalFields(record: ProxyGraphNode<FieldMapRepresentationNormalized, FieldMapRepresentation>, optionalFields: string[]): void;
104
105
  export declare function markNulledOutRequiredFields(record: ProxyGraphNode<RecordRepresentationNormalized, RecordRepresentation>, fields: string[]): void;
105
- /**
106
- * Tells you if an objectApiName is supported by UI API or not.
107
- * Note: Since 244, all newly created entities are UIAPI enabled by default. See rules in ui-services-private-object-allow-list.yaml. Entities before 244 must be explicitly denied in ui-services-private-object-deny-list.yaml.
108
- * @param objectApiName the object API name from a record.
109
- * @return True if the provided objectApiName is supported in UI API.
110
- */
111
- export declare function isSupportedEntity(objectApiName: string): boolean;
112
106
  /** Return true if a >= b */
113
107
  export declare function isSuperset(a: string[], b: string[]): boolean;
114
108
  /** return true if a and b start with the same root name and a contains all nodes in b */
@@ -117,4 +111,3 @@ export declare function extractRecordIds(record: RecordRepresentation | RecordCr
117
111
  [key: string]: boolean;
118
112
  };
119
113
  export declare function ingestRecordResponse(luvio: Luvio, response: FetchResponse<RecordRepresentation>, recordId: string, recordIngest: ResourceIngest, conflictMap: RecordConflictMap): Snapshot<RecordRepresentation>;
120
- export {};