@salesforce/lds-adapters-uiapi 1.234.0 → 1.236.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/es/es2018/types/src/__performance__/utils/sqliteDurableStore.d.ts +3 -1
  2. package/dist/es/es2018/types/src/generated/adapters/getRelatedListRecordsBatch.d.ts +7 -7
  3. package/dist/es/es2018/types/src/generated/adapters/getRelatedListsActions.d.ts +7 -7
  4. package/dist/es/es2018/types/src/generated/fields/types/BatchRepresentation.d.ts +12 -0
  5. package/dist/es/es2018/types/src/generated/fields/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +12 -0
  6. package/dist/es/es2018/types/src/generated/fields/types/KeywordSearchResultsRepresentation.d.ts +12 -0
  7. package/dist/es/es2018/types/src/generated/fields/types/ListRecordCollectionRepresentation.d.ts +12 -0
  8. package/dist/es/es2018/types/src/generated/fields/types/ListUiRepresentation.d.ts +12 -0
  9. package/dist/es/es2018/types/src/generated/fields/types/LookupValuesRepresentation.d.ts +12 -0
  10. package/dist/es/es2018/types/src/generated/fields/types/RecordCollectionRepresentation.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/fields/types/RelatedListRecordCollectionBatchRepresentation.d.ts +12 -0
  12. package/dist/es/es2018/types/src/generated/fields/types/RelatedListRecordCollectionRepresentation.d.ts +12 -0
  13. package/dist/es/es2018/types/src/generated/fields/types/SearchResultCollectionRepresentation.d.ts +12 -0
  14. package/dist/es/es2018/types/src/generated/graphql/types/type-util.d.ts +1 -1
  15. package/dist/es/es2018/types/src/generated/resources/getUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +1 -1
  16. package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +5 -5
  17. package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +5 -5
  18. package/dist/es/es2018/types/src/generated/types/CompositeActionRelatedListsCollectionResultRepresentation.d.ts +10 -4
  19. package/dist/es/es2018/types/src/generated/types/CompositeRelatedListRecordCollectionResultRepresentation.d.ts +10 -4
  20. package/dist/es/es2018/types/src/main.d.ts +3 -2
  21. package/dist/es/es2018/types/src/overrides/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId.d.ts +2 -2
  22. package/dist/es/es2018/types/src/raml-artifacts/adapters/getLookupRecords/validateAdapterConfig.d.ts +2 -1
  23. package/dist/es/es2018/types/src/wire/getListInfosByName/createChildResourceParams.d.ts +4 -0
  24. package/dist/es/es2018/types/src/wire/getLookupRecords/index.d.ts +2 -0
  25. package/dist/es/es2018/types/src/wire/getRelatedListRecordsBatch/createChildResourceParams.d.ts +4 -0
  26. package/dist/es/es2018/types/src/wire/getRelatedListsActions/createChildResourceParams.d.ts +4 -0
  27. package/dist/es/es2018/types/src/wire/graphqlBatch/index.d.ts +7 -8
  28. package/dist/es/es2018/types/src/{overrides/resources → wire/graphqlBatch}/postGraphqlBatch.d.ts +13 -6
  29. package/dist/es/es2018/uiapi-records-service.js +674 -645
  30. package/package.json +5 -4
  31. package/sfdc/graphqlAdapters.js +4 -5
  32. package/sfdc/index.js +637 -612
  33. package/sfdc/uiapi-static-functions.js +1 -1
  34. package/src/raml/api.raml +140 -572
  35. package/src/raml/luvio.raml +3 -22
  36. package/dist/es/es2018/types/src/generated/resources/deleteUiApiFavoritesByFavoriteId.d.ts +0 -11
  37. package/dist/es/es2018/types/src/generated/resources/deleteUiApiHealthCheck.d.ts +0 -8
  38. package/dist/es/es2018/types/src/generated/resources/getUiApiAggregateUi.d.ts +0 -16
  39. package/dist/es/es2018/types/src/generated/resources/getUiApiFavorites.d.ts +0 -12
  40. package/dist/es/es2018/types/src/generated/resources/getUiApiFavoritesByFavoriteId.d.ts +0 -15
  41. package/dist/es/es2018/types/src/generated/resources/getUiApiHealthCheck.d.ts +0 -12
  42. package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListRecordsBatchByParentRecordId.d.ts +0 -30
  43. package/dist/es/es2018/types/src/generated/resources/getUiApiRelatedListRecordsBatchByParentRecordIdAndRelatedListIds.d.ts +0 -23
  44. package/dist/es/es2018/types/src/generated/resources/patchUiApiFavoritesByFavoriteId.d.ts +0 -19
  45. package/dist/es/es2018/types/src/generated/resources/patchUiApiFavoritesUsageByFavoriteId.d.ts +0 -9
  46. package/dist/es/es2018/types/src/generated/resources/patchUiApiHealthCheck.d.ts +0 -6
  47. package/dist/es/es2018/types/src/generated/resources/postGraphqlBatch.d.ts +0 -12
  48. package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIdsAndRelatedListIds.d.ts +0 -17
  49. package/dist/es/es2018/types/src/generated/resources/postUiApiActionsRecordRelatedListByRecordIds.d.ts +0 -19
  50. package/dist/es/es2018/types/src/generated/resources/postUiApiAggregateUi.d.ts +0 -12
  51. package/dist/es/es2018/types/src/generated/resources/postUiApiFavorites.d.ts +0 -21
  52. package/dist/es/es2018/types/src/generated/resources/postUiApiHealthCheck.d.ts +0 -9
  53. package/dist/es/es2018/types/src/generated/resources/postUiApiRelatedListRecordsBatchByParentRecordIdAndRelatedListIds.d.ts +0 -17
  54. package/dist/es/es2018/types/src/generated/resources/putUiApiFavoritesBatch.d.ts +0 -9
  55. package/dist/es/es2018/types/src/generated/resources/putUiApiHealthCheck.d.ts +0 -6
  56. package/dist/es/es2018/types/src/generated/types/CompositeGraphQLResultRepresentation.d.ts +0 -31
  57. package/dist/es/es2018/types/src/generated/types/GraphQLBatchInputRepresentation.d.ts +0 -28
  58. package/dist/es/es2018/types/src/generated/types/GraphQLBatchRepresentation.d.ts +0 -29
  59. package/dist/es/es2018/types/src/generated/types/HealthCheckRepresentation.d.ts +0 -28
  60. package/dist/es/es2018/types/src/overrides/resources/getUiApiListInfoBatch.d.ts +0 -38
  61. package/dist/es/es2018/types/src/overrides/resources/postUiApiActionsRecordRelatedListBatchByRecordIds.d.ts +0 -14
  62. package/dist/es/es2018/types/src/overrides/resources/postUiApiRelatedListRecordsBatchByParentRecordId.d.ts +0 -16
@@ -1,10 +1,12 @@
1
1
  import type { DatabaseConnection, DatabaseTransaction } from '@databases/sqlite';
2
- import type { DurableStore, DurableStoreEntries, OnDurableStoreChangedListener, DurableStoreOperation, DurableStoreChange } from '@luvio/environments';
2
+ import type { DurableStore, DurableStoreEntries, OnDurableStoreChangedListener, DurableStoreOperation, DurableStoreChange, DurableStoreMetadataEntries } from '@luvio/environments';
3
3
  export declare class SqliteMockDurableStore implements DurableStore {
4
4
  private db;
5
5
  listeners: Set<OnDurableStoreChangedListener>;
6
6
  private dbCreated;
7
7
  constructor(db: DatabaseConnection);
8
+ getMetadata(_entryIds: string[], _segment: string): Promise<DurableStoreMetadataEntries | undefined>;
9
+ setMetadata(_entries: DurableStoreMetadataEntries, _segment: string): Promise<void>;
8
10
  private setupDb;
9
11
  getEntries<T>(entryIds: string[], segment: string): Promise<DurableStoreEntries<T> | undefined>;
10
12
  getAllEntries<T>(segment: string): Promise<DurableStoreEntries<T>>;
@@ -2,7 +2,7 @@ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
3
  import { RelatedListRecordsSingleBatchInputRepresentation as types_RelatedListRecordsSingleBatchInputRepresentation_RelatedListRecordsSingleBatchInputRepresentation } from '../types/RelatedListRecordsSingleBatchInputRepresentation';
4
4
  import { ResourceRequestConfig as resources_postUiApiRelatedListRecordsBatchByParentRecordId_ResourceRequestConfig } from '../resources/postUiApiRelatedListRecordsBatchByParentRecordId';
5
- import { SimplifiedBatchRepresentation as types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation } from '../types/SimplifiedBatchRepresentation';
5
+ import { RelatedListRecordCollectionBatchRepresentation as types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation } from '../types/RelatedListRecordCollectionBatchRepresentation';
6
6
  export declare const adapterName = "getRelatedListRecordsBatch";
7
7
  export declare const getRelatedListRecordsBatch_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
8
  export declare const getRelatedListRecordsBatch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
@@ -16,14 +16,14 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
16
16
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetRelatedListRecordsBatchConfig>): adapter$45$utils_Untrusted<GetRelatedListRecordsBatchConfig>;
17
17
  export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetRelatedListRecordsBatchConfig | null;
18
18
  export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig): $64$luvio_engine_Fragment;
19
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig): $64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>;
20
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig, resourceParams: resources_postUiApiRelatedListRecordsBatchByParentRecordId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | import("@luvio/engine").StaleSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | import("@luvio/engine").PendingSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>>;
19
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig): $64$luvio_engine_Snapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any>;
20
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig, resourceParams: resources_postUiApiRelatedListRecordsBatchByParentRecordId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any> | import("@luvio/engine").StaleSnapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any> | import("@luvio/engine").PendingSnapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any>>;
21
21
  export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig, resourceParams: resources_postUiApiRelatedListRecordsBatchByParentRecordId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
22
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>>;
22
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListRecordsBatchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any>>;
23
23
  export type BuildSnapshotContext = {
24
24
  luvio: $64$luvio_engine_Luvio;
25
25
  config: GetRelatedListRecordsBatchConfig;
26
26
  };
27
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>>;
28
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): $64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>;
29
- export declare const getRelatedListRecordsBatchAdapterFactory: $64$luvio_engine_AdapterFactory<GetRelatedListRecordsBatchConfig, types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>;
27
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any>>;
28
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation>): $64$luvio_engine_Snapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any>;
29
+ export declare const getRelatedListRecordsBatchAdapterFactory: $64$luvio_engine_AdapterFactory<GetRelatedListRecordsBatchConfig, types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation>;
@@ -2,7 +2,7 @@ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
3
  import { ActionRelatedListSingleBatchInputRepresentation as types_ActionRelatedListSingleBatchInputRepresentation_ActionRelatedListSingleBatchInputRepresentation } from '../types/ActionRelatedListSingleBatchInputRepresentation';
4
4
  import { ResourceRequestConfig as resources_postUiApiActionsRecordRelatedListBatchByRecordIds_ResourceRequestConfig } from '../resources/postUiApiActionsRecordRelatedListBatchByRecordIds';
5
- import { SimplifiedBatchRepresentation as types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation } from '../types/SimplifiedBatchRepresentation';
5
+ import { ActionRelatedListsCollectionBatchRepresentation as types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation } from '../types/ActionRelatedListsCollectionBatchRepresentation';
6
6
  export declare const adapterName = "getRelatedListsActions";
7
7
  export declare const getRelatedListsActions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
8
  export declare const getRelatedListsActions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
@@ -16,14 +16,14 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
16
16
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetRelatedListsActionsConfig>): adapter$45$utils_Untrusted<GetRelatedListsActionsConfig>;
17
17
  export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetRelatedListsActionsConfig | null;
18
18
  export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig): $64$luvio_engine_Fragment;
19
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig): $64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>;
20
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig, resourceParams: resources_postUiApiActionsRecordRelatedListBatchByRecordIds_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | import("@luvio/engine").StaleSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | import("@luvio/engine").PendingSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>>;
19
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig): $64$luvio_engine_Snapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any>;
20
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig, resourceParams: resources_postUiApiActionsRecordRelatedListBatchByRecordIds_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any> | import("@luvio/engine").StaleSnapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any> | import("@luvio/engine").PendingSnapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any>>;
21
21
  export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig, resourceParams: resources_postUiApiActionsRecordRelatedListBatchByRecordIds_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
22
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>>;
22
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetRelatedListsActionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any>>;
23
23
  export type BuildSnapshotContext = {
24
24
  luvio: $64$luvio_engine_Luvio;
25
25
  config: GetRelatedListsActionsConfig;
26
26
  };
27
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>>;
28
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): $64$luvio_engine_Snapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>;
29
- export declare const getRelatedListsActionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetRelatedListsActionsConfig, types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>;
27
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any>>;
28
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation>): $64$luvio_engine_Snapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any>;
29
+ export declare const getRelatedListsActionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetRelatedListsActionsConfig, types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation>;
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -2,7 +2,7 @@ import { StoreLink as $64$luvio_engine_StoreLink, IngestPath as $64$luvio_engine
2
2
  import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap, IsFragmentApplicableType as $64$luvio_graphql_IsFragmentApplicableType } from '@luvio/graphql';
3
3
  import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, DocumentNode as $64$luvio_graphql$45$parser_DocumentNode, SelectionSetNode as $64$luvio_graphql$45$parser_SelectionSetNode, ArgumentNode as $64$luvio_graphql$45$parser_ArgumentNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, VariableDefinitionNode as $64$luvio_graphql$45$parser_VariableDefinitionNode } from '@luvio/graphql-parser';
4
4
  import { PaginationMetadata as pagination_cursor_PaginationMetadata, PaginationParams as pagination_cursor_PaginationParams, PageMetadata as pagination_cursor_PageMetadata } from '../../pagination/cursor';
5
- export type NormalizedGraphQL<D = undefined> = {
5
+ export type NormalizedGraphQL<D = unknown> = {
6
6
  data: Record<string, any>;
7
7
  __link?: $64$luvio_engine_StoreLink;
8
8
  __linkedData?: D;
@@ -3,7 +3,7 @@ import { ActionBatchRepresentation as types_ActionBatchRepresentation_ActionBatc
3
3
  export interface ResourceRequestConfig {
4
4
  urlParams: {
5
5
  recordIds: Array<string>;
6
- relatedListIds: Array<string>;
6
+ relatedListIds: string;
7
7
  };
8
8
  queryParams: {
9
9
  actionTypes?: Array<string>;
@@ -1,7 +1,7 @@
1
1
  import { FetchResponse as $64$luvio_engine_FetchResponse, Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, StoreKeySet as $64$luvio_engine_StoreKeySet, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
2
  import { ResourceRequestConfig as postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId_ResourceRequestConfig } from './postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId';
3
3
  import { ActionRelatedListSingleBatchInputRepresentation as types_ActionRelatedListSingleBatchInputRepresentation_ActionRelatedListSingleBatchInputRepresentation } from '../types/ActionRelatedListSingleBatchInputRepresentation';
4
- import { SimplifiedBatchRepresentation as types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation } from '../types/SimplifiedBatchRepresentation';
4
+ import { ActionRelatedListsCollectionBatchRepresentation as types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation } from '../types/ActionRelatedListsCollectionBatchRepresentation';
5
5
  export declare function createChildResourceParams(resourceParams: ResourceRequestConfig): postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId_ResourceRequestConfig[];
6
6
  export interface ResourceRequestConfig {
7
7
  urlParams: {
@@ -15,13 +15,13 @@ export declare function selectChildResourceParams(luvio: $64$luvio_engine_Luvio,
15
15
  export declare function select(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): $64$luvio_engine_Fragment;
16
16
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
17
17
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
18
- export declare function getResponseCacheKeys(keys: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation): void;
18
+ export declare function getResponseCacheKeys(keys: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation): void;
19
19
  export declare function ingestSuccessChildResourceParams(luvio: $64$luvio_engine_Luvio, childResourceParamsArray: postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId_ResourceRequestConfig[], childEnvelopes: Array<any>): {
20
- childSnapshotData: types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation;
20
+ childSnapshotData: types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation;
21
21
  seenRecords: $64$luvio_engine_StoreKeySet<string | $64$luvio_engine_NormalizedKeyMetadata>;
22
22
  snapshotState: string;
23
23
  };
24
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | $64$luvio_engine_StaleSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | $64$luvio_engine_PendingSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>;
25
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): $64$luvio_engine_ErrorSnapshot;
24
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any> | $64$luvio_engine_StaleSnapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any> | $64$luvio_engine_PendingSnapshot<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation, any>;
25
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ActionRelatedListsCollectionBatchRepresentation_ActionRelatedListsCollectionBatchRepresentation>): $64$luvio_engine_ErrorSnapshot;
26
26
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
27
27
  export default createResourceRequest;
@@ -1,7 +1,7 @@
1
1
  import { FetchResponse as $64$luvio_engine_FetchResponse, Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, StoreKeySet as $64$luvio_engine_StoreKeySet, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
2
  import { ResourceRequestConfig as postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId_ResourceRequestConfig } from './postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId';
3
3
  import { RelatedListRecordsSingleBatchInputRepresentation as types_RelatedListRecordsSingleBatchInputRepresentation_RelatedListRecordsSingleBatchInputRepresentation } from '../types/RelatedListRecordsSingleBatchInputRepresentation';
4
- import { SimplifiedBatchRepresentation as types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation } from '../types/SimplifiedBatchRepresentation';
4
+ import { RelatedListRecordCollectionBatchRepresentation as types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation } from '../types/RelatedListRecordCollectionBatchRepresentation';
5
5
  export declare function createChildResourceParams(resourceParams: ResourceRequestConfig): postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId_ResourceRequestConfig[];
6
6
  export interface ResourceRequestConfig {
7
7
  urlParams: {
@@ -15,13 +15,13 @@ export declare function selectChildResourceParams(luvio: $64$luvio_engine_Luvio,
15
15
  export declare function select(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): $64$luvio_engine_Fragment;
16
16
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
17
17
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
18
- export declare function getResponseCacheKeys(keys: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation): void;
18
+ export declare function getResponseCacheKeys(keys: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation): void;
19
19
  export declare function ingestSuccessChildResourceParams(luvio: $64$luvio_engine_Luvio, childResourceParamsArray: postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId_ResourceRequestConfig[], childEnvelopes: Array<any>): {
20
- childSnapshotData: types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation;
20
+ childSnapshotData: types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation;
21
21
  seenRecords: $64$luvio_engine_StoreKeySet<string | $64$luvio_engine_NormalizedKeyMetadata>;
22
22
  snapshotState: string;
23
23
  };
24
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | $64$luvio_engine_StaleSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any> | $64$luvio_engine_PendingSnapshot<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation, any>;
25
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SimplifiedBatchRepresentation_SimplifiedBatchRepresentation>): $64$luvio_engine_ErrorSnapshot;
24
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any> | $64$luvio_engine_StaleSnapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any> | $64$luvio_engine_PendingSnapshot<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation, any>;
25
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_RelatedListRecordCollectionBatchRepresentation_RelatedListRecordCollectionBatchRepresentation>): $64$luvio_engine_ErrorSnapshot;
26
26
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
27
27
  export default createResourceRequest;
@@ -27,13 +27,19 @@ export interface CompositeActionRelatedListsCollectionResultRepresentationNormal
27
27
  result: $64$luvio_engine_StoreLink;
28
28
  statusCode: number;
29
29
  }
30
+ interface CompositeActionRelatedListsCollectionResultRepresentationUnknown {
31
+ statusCode: 100 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511;
32
+ result: unknown;
33
+ }
34
+ interface CompositeActionRelatedListsCollectionResultRepresentationActionRepresentation {
35
+ statusCode: 200;
36
+ result: ActionRepresentation_ActionRepresentation;
37
+ }
30
38
  /**
31
39
  *
32
40
  *
33
41
  * Keys:
34
42
  * (none)
35
43
  */
36
- export interface CompositeActionRelatedListsCollectionResultRepresentation {
37
- result: ActionRepresentation_ActionRepresentation;
38
- statusCode: number;
39
- }
44
+ export type CompositeActionRelatedListsCollectionResultRepresentation = CompositeActionRelatedListsCollectionResultRepresentationUnknown | CompositeActionRelatedListsCollectionResultRepresentationActionRepresentation;
45
+ export {};
@@ -27,13 +27,19 @@ export interface CompositeRelatedListRecordCollectionResultRepresentationNormali
27
27
  result: $64$luvio_engine_StoreLink;
28
28
  statusCode: number;
29
29
  }
30
+ interface CompositeRelatedListRecordCollectionResultRepresentationUnknown {
31
+ statusCode: 100 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511;
32
+ result: unknown;
33
+ }
34
+ interface CompositeRelatedListRecordCollectionResultRepresentationRelatedListRecordCollectionRepresentation {
35
+ statusCode: 200;
36
+ result: RelatedListRecordCollectionRepresentation_RelatedListRecordCollectionRepresentation;
37
+ }
30
38
  /**
31
39
  *
32
40
  *
33
41
  * Keys:
34
42
  * (none)
35
43
  */
36
- export interface CompositeRelatedListRecordCollectionResultRepresentation {
37
- result: RelatedListRecordCollectionRepresentation_RelatedListRecordCollectionRepresentation;
38
- statusCode: number;
39
- }
44
+ export type CompositeRelatedListRecordCollectionResultRepresentation = CompositeRelatedListRecordCollectionResultRepresentationUnknown | CompositeRelatedListRecordCollectionResultRepresentationRelatedListRecordCollectionRepresentation;
45
+ export {};
@@ -13,7 +13,8 @@ export type { CreateRecordConfig } from './generated/adapters/createRecord';
13
13
  export type { DeleteRecordConfig } from './generated/adapters/deleteRecord';
14
14
  export type { GetObjectInfoConfig } from './generated/adapters/getObjectInfo';
15
15
  export { untrustedIsObject, keyPrefix as UiApiNamespace } from './generated/adapters/adapter-utils';
16
- export { RecordRepresentation, RecordRepresentationNormalized, keyBuilder as keyBuilderRecord, KeyParams as KeyParamsRecord, RepresentationType as RecordRepresentationRepresentationType, VERSION as RecordRepresentationVersion, TTL as RecordRepresentationTTL, RepresentationType as RecordRepresentationType, } from './generated/types/RecordRepresentation';
16
+ export type { RecordRepresentation } from './generated/types/RecordRepresentation';
17
+ export { RecordRepresentationNormalized, keyBuilder as keyBuilderRecord, KeyParams as KeyParamsRecord, RepresentationType as RecordRepresentationRepresentationType, VERSION as RecordRepresentationVersion, TTL as RecordRepresentationTTL, RepresentationType as RecordRepresentationType, } from './generated/types/RecordRepresentation';
17
18
  export { ingest as ingestRecord, createIngestRecordWithFields, } from './raml-artifacts/types/RecordRepresentation/ingest';
18
19
  export { getTypeCacheKeys as getTypeCacheKeysRecord } from './raml-artifacts/types/RecordRepresentation/getTypeCacheKeys';
19
20
  export { ObjectInfoRepresentation, keyBuilder as keyBuilderObjectInfo, ingest as ingestObjectInfo, RepresentationType as ObjectInfoRepresentationType, } from './generated/types/ObjectInfoRepresentation';
@@ -28,7 +29,7 @@ export { notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailabl
28
29
  export type { PerformActionInputRepresentation } from './generated/types/PerformActionInputRepresentation';
29
30
  export type { RecordInputRepresentation } from './generated/types/RecordInputRepresentation';
30
31
  export type { GraphQLRepresentation, GraphQLRepresentationData, } from './generated/types/GraphQLRepresentation';
31
- export type { GraphQLBatchRepresentation } from './generated/types/GraphQLBatchRepresentation';
32
+ export type { GraphQLBatchRepresentation } from './wire/graphqlBatch/postGraphqlBatch';
32
33
  export type { GraphQLInputRepresentation } from './generated/types/GraphQLInputRepresentation';
33
34
  export type { GraphqlConfig as GraphQLConfig, BuildSnapshotContext as GraphQLBuildSnapshotContext, } from './generated/adapters/graphql';
34
35
  export * from './generated/artifacts/main';
@@ -1,5 +1,5 @@
1
- import type { ingestSuccess as generatedIngestSuccess } from '../../generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId';
2
- import { ResourceRequestConfig, select, keyBuilder, keyBuilder_StructuredKey, ingestError, createResourceRequest, createPaginationParams, getResponseCacheKeys } from '../../generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId';
1
+ import type { ingestSuccess as generatedIngestSuccess, ResourceRequestConfig } from '../../generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId';
2
+ import { select, keyBuilder, keyBuilder_StructuredKey, ingestError, createResourceRequest, createPaginationParams, getResponseCacheKeys } from '../../generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId';
3
3
  export { keyBuilder, keyBuilder_StructuredKey, ingestError, ResourceRequestConfig, createResourceRequest, createPaginationParams, getResponseCacheKeys, select, };
4
4
  export declare const ingestSuccess: typeof generatedIngestSuccess;
5
5
  export default createResourceRequest;
@@ -1,3 +1,4 @@
1
+ import type { AdapterValidationConfig } from '../../../generated/adapters/adapter-utils';
1
2
  import type { GetLookupRecordsConfig } from '../../../generated/adapters/getLookupRecords';
2
3
  import type { FieldId } from '../../../primitives/FieldId';
3
4
  interface GetLookupRecordsConfigRequestParams {
@@ -13,5 +14,5 @@ export interface GetLookupRecordsAdapterConfig {
13
14
  fieldApiName: string | FieldId;
14
15
  requestParams?: GetLookupRecordsConfigRequestParams;
15
16
  }
16
- export declare function validateAdapterConfig(untrustedConfig: unknown): GetLookupRecordsConfig | null;
17
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: AdapterValidationConfig): GetLookupRecordsConfig | null;
17
18
  export {};
@@ -0,0 +1,4 @@
1
+ import type { ResourceRequestConfig as compositeWireResourceRequestConfig } from '../../generated/resources/getUiApiListInfoBatch';
2
+ import type { ResourceRequestConfig as singleWireResourceRequestConfig } from '../../generated/resources/getUiApiListInfoByListViewApiNameAndObjectApiName';
3
+ export declare function createChildResourceParams(resourceParams: compositeWireResourceRequestConfig): singleWireResourceRequestConfig[];
4
+ export default createChildResourceParams;
@@ -1,4 +1,6 @@
1
1
  import type { AdapterFactory } from '@luvio/engine';
2
2
  import type { LookupValuesRepresentation } from '../../generated/types/LookupValuesRepresentation';
3
3
  import type { GetLookupRecordsConfig } from '../../generated/adapters/getLookupRecords';
4
+ import type { AdapterValidationConfig } from '../../generated/adapters/adapter-utils';
5
+ export declare const paramNames: AdapterValidationConfig;
4
6
  export declare const factory: AdapterFactory<GetLookupRecordsConfig, LookupValuesRepresentation>;
@@ -0,0 +1,4 @@
1
+ import type { ResourceRequestConfig as compositeWireResourceRequestConfig } from '../../generated/resources/postUiApiRelatedListRecordsBatchByParentRecordId';
2
+ import type { ResourceRequestConfig as singleWireResourceRequestConfig } from '../../generated/resources/postUiApiRelatedListRecordsByParentRecordIdAndRelatedListId';
3
+ declare function createChildResourceParams(resourceParams: compositeWireResourceRequestConfig): singleWireResourceRequestConfig[];
4
+ export default createChildResourceParams;
@@ -0,0 +1,4 @@
1
+ import type { ResourceRequestConfig as compositeResourceRequestConfig } from '../../generated/resources/postUiApiActionsRecordRelatedListBatchByRecordIds';
2
+ import type { ResourceRequestConfig as singleWireResourceRequestConfig } from '../../generated/resources/postUiApiActionsRecordRelatedListByRecordIdsAndRelatedListId';
3
+ declare function createChildResourceParams(resourceParams: compositeResourceRequestConfig): singleWireResourceRequestConfig[];
4
+ export default createChildResourceParams;
@@ -1,7 +1,6 @@
1
1
  import type { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from '../../generated/adapters/adapter-utils';
2
2
  import type { Luvio as $64$luvio_engine_Luvio, 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';
3
- import type { ResourceRequestConfig as resources_postGraphqlBatch_ResourceRequestConfig } from '../../overrides/resources/postGraphqlBatch';
4
- import type { GraphQLBatchRepresentation as types_GraphQLBatchRepresentation_GraphQLBatchRepresentation } from '../../generated/types/GraphQLBatchRepresentation';
3
+ import type { ResourceRequestConfig as resources_postGraphqlBatch_ResourceRequestConfig, GraphQLBatchRepresentation } from './postGraphqlBatch';
5
4
  import type { GraphqlConfig } from '../../generated/adapters/graphql';
6
5
  export interface GraphqlBatchConfig {
7
6
  batchQuery: Array<GraphqlConfig>;
@@ -9,19 +8,19 @@ export interface GraphqlBatchConfig {
9
8
  export declare function createResourceParams(config: GraphqlBatchConfig): resources_postGraphqlBatch_ResourceRequestConfig;
10
9
  export declare function transformConfiguration(config: GraphqlBatchConfig): GraphqlBatchConfig;
11
10
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GraphqlBatchConfig>): adapter$45$utils_Untrusted<GraphqlBatchConfig>;
12
- export declare const factory: $64$luvio_engine_AdapterFactory<GraphqlBatchConfig, types_GraphQLBatchRepresentation_GraphQLBatchRepresentation>;
11
+ export declare const factory: $64$luvio_engine_AdapterFactory<GraphqlBatchConfig, GraphQLBatchRepresentation>;
13
12
  export declare const adapterName = "graphqlBatch";
14
13
  export declare const graphqlBatch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
15
14
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig): string;
16
15
  export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GraphqlBatchConfig | null;
17
16
  export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig): $64$luvio_engine_Fragment;
18
- export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig): $64$luvio_engine_Snapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any>;
19
- export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig, resourceParams: resources_postGraphqlBatch_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any> | import("@luvio/engine").StaleSnapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any> | import("@luvio/engine").PendingSnapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any>>;
17
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig): $64$luvio_engine_Snapshot<GraphQLBatchRepresentation, any>;
18
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig, resourceParams: resources_postGraphqlBatch_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<GraphQLBatchRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<GraphQLBatchRepresentation, any> | import("@luvio/engine").StaleSnapshot<GraphQLBatchRepresentation, any> | import("@luvio/engine").PendingSnapshot<GraphQLBatchRepresentation, any>>;
20
19
  export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig, resourceParams: resources_postGraphqlBatch_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
- export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any>>;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GraphqlBatchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<GraphQLBatchRepresentation, any>>;
22
21
  export type BuildSnapshotContext = {
23
22
  luvio: $64$luvio_engine_Luvio;
24
23
  config: GraphqlBatchConfig;
25
24
  };
26
- export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any>>;
27
- export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation>): $64$luvio_engine_Snapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any>;
25
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<GraphQLBatchRepresentation, any>>;
26
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<GraphQLBatchRepresentation>): $64$luvio_engine_Snapshot<GraphQLBatchRepresentation, any>;
@@ -1,7 +1,7 @@
1
- import type { FetchResponse as $64$luvio_engine_FetchResponse, Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest, NormalizedKeyMetadata } from '@luvio/engine';
1
+ import type { FetchResponse as $64$luvio_engine_FetchResponse, Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest, NormalizedKeyMetadata, HttpStatusCode } from '@luvio/engine';
2
2
  import { StoreKeySet } from '@luvio/engine';
3
3
  import type { ResourceRequestConfig as postGraphql_ResourceRequestConfig } from '../../generated/resources/postGraphql';
4
- import type { GraphQLBatchRepresentation as types_GraphQLBatchRepresentation_GraphQLBatchRepresentation } from '../../generated/types/GraphQLBatchRepresentation';
4
+ import type { GraphQLRepresentation } from '../../generated/types/GraphQLRepresentation';
5
5
  import type { GraphqlConfig } from '../../generated/adapters/graphql';
6
6
  export interface ResourceRequestConfig {
7
7
  body: {
@@ -18,6 +18,13 @@ interface NormalizedResourceRequestConfig {
18
18
  batchQuery: Array<NormalizedGraphQLRequest>;
19
19
  };
20
20
  }
21
+ export type GraphQLBatchRepresentation = {
22
+ results: Array<GraphQLCompositeResult>;
23
+ };
24
+ type GraphQLCompositeResult = {
25
+ statusCode: HttpStatusCode;
26
+ result: GraphQLRepresentation;
27
+ };
21
28
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
22
29
  export declare function stripDocumentsOfMetaschema(config: ResourceRequestConfig): NormalizedResourceRequestConfig;
23
30
  export declare function createChildResourceParams(resourceParams: ResourceRequestConfig): postGraphql_ResourceRequestConfig[];
@@ -25,12 +32,12 @@ export declare function selectChildResourceParams(luvio: $64$luvio_engine_Luvio,
25
32
  export declare function select(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): $64$luvio_engine_Fragment;
26
33
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
27
34
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): NormalizedKeyMetadata;
28
- export declare function getResponseCacheKeys(keys: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GraphQLBatchRepresentation_GraphQLBatchRepresentation): void;
35
+ export declare function getResponseCacheKeys(keys: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: GraphQLBatchRepresentation): void;
29
36
  export declare function ingestSuccessChildResourceParams(luvio: $64$luvio_engine_Luvio, childConfigs: GraphqlConfig[], childResourceParamsArray: postGraphql_ResourceRequestConfig[], childEnvelopes: Array<any>): {
30
- childSnapshotData: types_GraphQLBatchRepresentation_GraphQLBatchRepresentation;
37
+ childSnapshotData: GraphQLBatchRepresentation;
31
38
  seenRecords: StoreKeySet<string | NormalizedKeyMetadata>;
32
39
  snapshotState: string;
33
40
  };
34
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation>, snapshotRefresh: $64$luvio_engine_SnapshotRefresh<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any> | $64$luvio_engine_StaleSnapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any> | $64$luvio_engine_PendingSnapshot<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation, any>;
35
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_GraphQLBatchRepresentation_GraphQLBatchRepresentation>): $64$luvio_engine_ErrorSnapshot;
41
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<GraphQLBatchRepresentation>, snapshotRefresh: $64$luvio_engine_SnapshotRefresh<GraphQLBatchRepresentation>): $64$luvio_engine_FulfilledSnapshot<GraphQLBatchRepresentation, any> | $64$luvio_engine_StaleSnapshot<GraphQLBatchRepresentation, any> | $64$luvio_engine_PendingSnapshot<GraphQLBatchRepresentation, any>;
42
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<GraphQLBatchRepresentation>): $64$luvio_engine_ErrorSnapshot;
36
43
  export default createResourceRequest;