@salesforce/lds-adapters-uiapi 1.280.0 → 1.282.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/generated/adapters/getListRecordsByName.d.ts +6 -5
- package/dist/es/es2018/types/src/generated/graphql/types/DateLiteral.d.ts +16 -16
- package/dist/es/es2018/types/src/generated/graphql/types/Query.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/graphql/types/RecordConnection.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__EntityRepresentation.d.ts +92 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__Setup.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupConnection.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupEdge.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupPolymorphicParentRelationship.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__SetupQuery.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/{getUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts → postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts} +2 -1
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ListColumnRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +11 -12
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/ListRecordsInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/LookupMetadataTargetInfoRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/generated/uiapi/record-collection/resources/postUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +5 -0
- package/dist/es/es2018/types/src/raml-artifacts/adapters/getListRecordsByName/onFetchResponseSuccess.d.ts +1 -1
- package/dist/es/es2018/types/src/raml-artifacts/resources/{getUiApiListRecordsByListViewApiNameAndObjectApiName → postUiApiListRecordsByListViewApiNameAndObjectApiName}/keyBuilder.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +5955 -4324
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +4421 -2815
- package/sfdc/index.js +207 -182
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +64 -48
- package/src/raml/luvio.raml +24 -5
- package/dist/es/es2018/types/src/generated/uiapi/record-collection/resources/getUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { 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
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as
|
|
3
|
+
import { ResourceRequestConfig as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, createResourceRequest as resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest } from '../resources/postUiApiListRecordsByListViewApiNameAndObjectApiName';
|
|
4
4
|
import { ListRecordCollectionRepresentation as types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation } from '../types/ListRecordCollectionRepresentation';
|
|
5
5
|
export declare const adapterName = "getListRecordsByName";
|
|
6
6
|
export declare const getListRecordsByName_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -14,17 +14,18 @@ export interface GetListRecordsByNameConfig {
|
|
|
14
14
|
pageToken?: string;
|
|
15
15
|
searchTerm?: string;
|
|
16
16
|
sortBy?: Array<string>;
|
|
17
|
+
where?: string;
|
|
17
18
|
}
|
|
18
|
-
export declare const createResourceParams: (config: GetListRecordsByNameConfig) =>
|
|
19
|
+
export declare const createResourceParams: (config: GetListRecordsByNameConfig) => resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig;
|
|
19
20
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): string;
|
|
20
21
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
21
22
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListRecordsByNameConfig>): adapter$45$utils_Untrusted<GetListRecordsByNameConfig>;
|
|
22
23
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListRecordsByNameConfig | null;
|
|
23
24
|
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): $64$luvio_engine_Fragment;
|
|
24
25
|
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig): $64$luvio_engine_Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>;
|
|
25
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams:
|
|
26
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams:
|
|
27
|
-
export declare function prepareRequest(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams:
|
|
26
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>>;
|
|
27
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
28
|
+
export declare function prepareRequest(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, resourceParams: resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): ReturnType<typeof resources_postUiApiListRecordsByListViewApiNameAndObjectApiName_createResourceRequest>;
|
|
28
29
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListRecordsByNameConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListRecordCollectionRepresentation_ListRecordCollectionRepresentation, any>>;
|
|
29
30
|
export type BuildSnapshotContext = {
|
|
30
31
|
luvio: $64$luvio_engine_Luvio;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export declare const name = "DateLiteral";
|
|
2
2
|
export declare enum Interface {
|
|
3
|
-
NEXT_QUARTER = "NEXT_QUARTER",
|
|
4
|
-
THIS_FISCAL_YEAR = "THIS_FISCAL_YEAR",
|
|
5
|
-
NEXT_FISCAL_YEAR = "NEXT_FISCAL_YEAR",
|
|
6
|
-
THIS_WEEK = "THIS_WEEK",
|
|
7
3
|
LAST_YEAR = "LAST_YEAR",
|
|
8
|
-
NEXT_FISCAL_QUARTER = "NEXT_FISCAL_QUARTER",
|
|
9
|
-
THIS_MONTH = "THIS_MONTH",
|
|
10
|
-
THIS_YEAR = "THIS_YEAR",
|
|
11
|
-
LAST_FISCAL_YEAR = "LAST_FISCAL_YEAR",
|
|
12
4
|
LAST_WEEK = "LAST_WEEK",
|
|
13
|
-
|
|
5
|
+
THIS_QUARTER = "THIS_QUARTER",
|
|
6
|
+
NEXT_FISCAL_YEAR = "NEXT_FISCAL_YEAR",
|
|
7
|
+
LAST_QUARTER = "LAST_QUARTER",
|
|
8
|
+
TOMORROW = "TOMORROW",
|
|
9
|
+
NEXT_FISCAL_QUARTER = "NEXT_FISCAL_QUARTER",
|
|
10
|
+
YESTERDAY = "YESTERDAY",
|
|
11
|
+
NEXT_QUARTER = "NEXT_QUARTER",
|
|
14
12
|
THIS_FISCAL_QUARTER = "THIS_FISCAL_QUARTER",
|
|
15
|
-
|
|
13
|
+
THIS_WEEK = "THIS_WEEK",
|
|
14
|
+
LAST_MONTH = "LAST_MONTH",
|
|
15
|
+
LAST_90_DAYS = "LAST_90_DAYS",
|
|
16
16
|
NEXT_90_DAYS = "NEXT_90_DAYS",
|
|
17
|
-
|
|
18
|
-
LAST_FISCAL_QUARTER = "LAST_FISCAL_QUARTER",
|
|
17
|
+
THIS_FISCAL_YEAR = "THIS_FISCAL_YEAR",
|
|
19
18
|
NEXT_WEEK = "NEXT_WEEK",
|
|
20
19
|
TODAY = "TODAY",
|
|
21
|
-
|
|
22
|
-
LAST_MONTH = "LAST_MONTH",
|
|
23
|
-
TOMORROW = "TOMORROW",
|
|
20
|
+
NEXT_YEAR = "NEXT_YEAR",
|
|
24
21
|
NEXT_MONTH = "NEXT_MONTH",
|
|
25
|
-
|
|
22
|
+
LAST_FISCAL_QUARTER = "LAST_FISCAL_QUARTER",
|
|
23
|
+
THIS_MONTH = "THIS_MONTH",
|
|
24
|
+
LAST_FISCAL_YEAR = "LAST_FISCAL_YEAR",
|
|
25
|
+
THIS_YEAR = "THIS_YEAR"
|
|
26
26
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { Interface as UIAPI_Interface } from './UIAPI';
|
|
2
|
+
import { Interface as Setup__Setup_Interface } from './Setup__Setup';
|
|
2
3
|
import { Luvio as $64$luvio_engine_Luvio, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
4
|
import { OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, FieldNode as $64$luvio_graphql$45$parser_FieldNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
4
5
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
5
6
|
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
6
7
|
export declare const name = "Query";
|
|
7
|
-
export declare const VERSION = "
|
|
8
|
+
export declare const VERSION = "f0d389ee6dab2c9b22fdcca333fe7bf8";
|
|
8
9
|
export interface Interface {
|
|
9
10
|
uiapi: UIAPI_Interface;
|
|
11
|
+
setup: Setup__Setup_Interface;
|
|
10
12
|
}
|
|
11
13
|
export interface MinimumInterface {
|
|
12
14
|
}
|
|
@@ -6,11 +6,12 @@ import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinition
|
|
|
6
6
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
7
7
|
export declare const name = "RecordConnection";
|
|
8
8
|
export declare const TTL = 300000;
|
|
9
|
-
export declare const VERSION = "
|
|
9
|
+
export declare const VERSION = "5109e37c62e492243c1e6ae3967b0655";
|
|
10
10
|
export interface Interface {
|
|
11
11
|
edges: RecordEdge_Interface[] | undefined;
|
|
12
12
|
pageInfo: PageInfo_Interface;
|
|
13
13
|
totalCount: number;
|
|
14
|
+
pageResultCount: number;
|
|
14
15
|
}
|
|
15
16
|
export interface MinimumInterface {
|
|
16
17
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Interface as IntValue_Interface } from './IntValue';
|
|
2
|
+
import { Interface as StringValue_Interface } from './StringValue';
|
|
3
|
+
import { Interface as BooleanValue_Interface } from './BooleanValue';
|
|
4
|
+
import { Interface as IDValue_Interface } from './IDValue';
|
|
5
|
+
import { Interface as DateTimeValue_Interface } from './DateTimeValue';
|
|
6
|
+
import { Interface as TimeValue_Interface } from './TimeValue';
|
|
7
|
+
import { Interface as DateValue_Interface } from './DateValue';
|
|
8
|
+
import { Interface as TextAreaValue_Interface } from './TextAreaValue';
|
|
9
|
+
import { Interface as LongTextAreaValue_Interface } from './LongTextAreaValue';
|
|
10
|
+
import { Interface as RichTextAreaValue_Interface } from './RichTextAreaValue';
|
|
11
|
+
import { Interface as PhoneNumberValue_Interface } from './PhoneNumberValue';
|
|
12
|
+
import { Interface as EmailValue_Interface } from './EmailValue';
|
|
13
|
+
import { Interface as UrlValue_Interface } from './UrlValue';
|
|
14
|
+
import { Interface as EncryptedStringValue_Interface } from './EncryptedStringValue';
|
|
15
|
+
import { Interface as CurrencyValue_Interface } from './CurrencyValue';
|
|
16
|
+
import { Interface as LongitudeValue_Interface } from './LongitudeValue';
|
|
17
|
+
import { Interface as LatitudeValue_Interface } from './LatitudeValue';
|
|
18
|
+
import { Interface as PicklistValue_Interface } from './PicklistValue';
|
|
19
|
+
import { Interface as MultiPicklistValue_Interface } from './MultiPicklistValue';
|
|
20
|
+
import { Interface as LongValue_Interface } from './LongValue';
|
|
21
|
+
import { Interface as DoubleValue_Interface } from './DoubleValue';
|
|
22
|
+
import { Interface as PercentValue_Interface } from './PercentValue';
|
|
23
|
+
import { Interface as Base64Value_Interface } from './Base64Value';
|
|
24
|
+
import { Interface as JSONValue_Interface } from './JSONValue';
|
|
25
|
+
import { Interface as Setup__SetupPolymorphicParentRelationship_Interface } from './Setup__SetupPolymorphicParentRelationship';
|
|
26
|
+
import { Interface as Setup__SetupConnection_Interface } from './Setup__SetupConnection';
|
|
27
|
+
import { Interface as CompoundField_Interface } from './CompoundField';
|
|
28
|
+
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
29
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
30
|
+
import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
31
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
32
|
+
export declare const name = "Setup__EntityRepresentation";
|
|
33
|
+
export declare const VERSION = "b896b96048c51dbadd5607512c444afe";
|
|
34
|
+
export interface Interface {
|
|
35
|
+
Id: string;
|
|
36
|
+
ApiName: string;
|
|
37
|
+
IntValue: IntValue_Interface | undefined;
|
|
38
|
+
StringValue: StringValue_Interface | undefined;
|
|
39
|
+
BooleanValue: BooleanValue_Interface | undefined;
|
|
40
|
+
IDValue: IDValue_Interface | undefined;
|
|
41
|
+
DateTimeValue: DateTimeValue_Interface | undefined;
|
|
42
|
+
TimeValue: TimeValue_Interface | undefined;
|
|
43
|
+
DateValue: DateValue_Interface | undefined;
|
|
44
|
+
TextAreaValue: TextAreaValue_Interface | undefined;
|
|
45
|
+
LongTextAreaValue: LongTextAreaValue_Interface | undefined;
|
|
46
|
+
RichTextAreaValue: RichTextAreaValue_Interface | undefined;
|
|
47
|
+
PhoneNumberValue: PhoneNumberValue_Interface | undefined;
|
|
48
|
+
EmailValue: EmailValue_Interface | undefined;
|
|
49
|
+
UrlValue: UrlValue_Interface | undefined;
|
|
50
|
+
EncryptedStringValue: EncryptedStringValue_Interface | undefined;
|
|
51
|
+
CurrencyValue: CurrencyValue_Interface | undefined;
|
|
52
|
+
LongitudeValue: LongitudeValue_Interface | undefined;
|
|
53
|
+
LatitudeValue: LatitudeValue_Interface | undefined;
|
|
54
|
+
PicklistValue: PicklistValue_Interface | undefined;
|
|
55
|
+
MultiPicklistValue: MultiPicklistValue_Interface | undefined;
|
|
56
|
+
LongValue: LongValue_Interface | undefined;
|
|
57
|
+
DoubleValue: DoubleValue_Interface | undefined;
|
|
58
|
+
PercentValue: PercentValue_Interface | undefined;
|
|
59
|
+
Base64Value: Base64Value_Interface | undefined;
|
|
60
|
+
JSONValue: JSONValue_Interface | undefined;
|
|
61
|
+
parentRelationship: Interface | undefined;
|
|
62
|
+
polymorphicParentRelationship: Setup__SetupPolymorphicParentRelationship_Interface | undefined;
|
|
63
|
+
childRelationship: Setup__SetupConnection_Interface | undefined;
|
|
64
|
+
CompoundField: CompoundField_Interface | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface MinimumInterface {
|
|
67
|
+
Id: Interface["Id"];
|
|
68
|
+
}
|
|
69
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
70
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string;
|
|
71
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): $64$luvio_engine_NormalizedKeyMetadata;
|
|
72
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
73
|
+
data: Record<string, any>;
|
|
74
|
+
};
|
|
75
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
76
|
+
__ref: string;
|
|
77
|
+
};
|
|
78
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
79
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
80
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
81
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
82
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
83
|
+
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
84
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
85
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
86
|
+
isArray: boolean;
|
|
87
|
+
typename: string;
|
|
88
|
+
} | undefined;
|
|
89
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
90
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
91
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
92
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Interface as Setup__SetupQuery_Interface } from './Setup__SetupQuery';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
4
|
+
import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
5
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
6
|
+
export declare const name = "Setup__Setup";
|
|
7
|
+
export declare const VERSION = "57c66c8147b44793116747c96b2b0fc9";
|
|
8
|
+
export interface Interface {
|
|
9
|
+
query: Setup__SetupQuery_Interface;
|
|
10
|
+
}
|
|
11
|
+
export interface MinimumInterface {
|
|
12
|
+
}
|
|
13
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string | $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
16
|
+
data: Record<string, any>;
|
|
17
|
+
};
|
|
18
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
19
|
+
__ref: string;
|
|
20
|
+
};
|
|
21
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
22
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
23
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
24
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
25
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
26
|
+
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
27
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
28
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
29
|
+
isArray: boolean;
|
|
30
|
+
typename: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
33
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
34
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
35
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Interface as Setup__SetupEdge_Interface } from './Setup__SetupEdge';
|
|
2
|
+
import { Interface as PageInfo_Interface } from './PageInfo';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
5
|
+
import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
6
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
7
|
+
export declare const name = "Setup__SetupConnection";
|
|
8
|
+
export declare const VERSION = "02512d7a4706e18f377cc4abf3094579";
|
|
9
|
+
export interface Interface {
|
|
10
|
+
edges: Setup__SetupEdge_Interface[] | undefined;
|
|
11
|
+
pageInfo: PageInfo_Interface;
|
|
12
|
+
totalCount: number;
|
|
13
|
+
pageResultCount: number;
|
|
14
|
+
}
|
|
15
|
+
export interface MinimumInterface {
|
|
16
|
+
}
|
|
17
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
18
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string | $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
20
|
+
data: Record<string, any>;
|
|
21
|
+
};
|
|
22
|
+
export declare function ingestPaginationMetadata(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>, key: string | $64$luvio_engine_NormalizedKeyMetadata, sink: PartialInterface, existingData: PartialInterface): void;
|
|
23
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
24
|
+
__ref: string;
|
|
25
|
+
};
|
|
26
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
27
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
28
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
29
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
30
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
31
|
+
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
32
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
33
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
34
|
+
isArray: boolean;
|
|
35
|
+
typename: string;
|
|
36
|
+
} | undefined;
|
|
37
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, fullPathKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
38
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
39
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
40
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Interface as Setup__EntityRepresentation_Interface } from './Setup__EntityRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
4
|
+
import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
5
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
6
|
+
export declare const name = "Setup__SetupEdge";
|
|
7
|
+
export declare const VERSION = "b62a2103dcf86300f0ad705b5694328e";
|
|
8
|
+
export interface Interface {
|
|
9
|
+
node: Setup__EntityRepresentation_Interface | undefined;
|
|
10
|
+
cursor: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MinimumInterface {
|
|
13
|
+
}
|
|
14
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
15
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string | $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
17
|
+
data: Record<string, any>;
|
|
18
|
+
};
|
|
19
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
20
|
+
__ref: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
23
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
24
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
25
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
26
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
27
|
+
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
28
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
29
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
30
|
+
isArray: boolean;
|
|
31
|
+
typename: string;
|
|
32
|
+
} | undefined;
|
|
33
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
34
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
35
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
36
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Interface as Setup__EntityRepresentation_Interface } from './Setup__EntityRepresentation';
|
|
2
|
+
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 } from '@luvio/graphql-parser';
|
|
3
|
+
import { GraphQLIngestState as type$45$util_GraphQLIngestState, NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
4
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
5
|
+
import { Reader as $64$luvio_engine_Reader, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
6
|
+
export declare const name = "Setup__SetupPolymorphicParentRelationship";
|
|
7
|
+
export type Interface = Setup__EntityRepresentation_Interface;
|
|
8
|
+
export type PartialInterface = Record<string, any>;
|
|
9
|
+
export declare const VERSION: undefined;
|
|
10
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
11
|
+
__ref: string;
|
|
12
|
+
} | undefined;
|
|
13
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
14
|
+
export declare function getTypeCacheKeys(cacheKeys: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
15
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
16
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
17
|
+
isArray: boolean;
|
|
18
|
+
typename: string;
|
|
19
|
+
} | undefined;
|
|
20
|
+
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Interface as Setup__SetupConnection_Interface } from './Setup__SetupConnection';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
4
|
+
import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
5
|
+
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
6
|
+
export declare const name = "Setup__SetupQuery";
|
|
7
|
+
export declare const VERSION = "b89cccb5fa5e458d89dc1137af3e5469";
|
|
8
|
+
export interface Interface {
|
|
9
|
+
recordQuery: Setup__SetupConnection_Interface | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface MinimumInterface {
|
|
12
|
+
}
|
|
13
|
+
export type PartialInterface = Record<string, any> & MinimumInterface;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, path: $64$luvio_engine_IngestPath, data: PartialInterface): string | $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function mergeData(existingData: type$45$util_NormalizedGraphQL, newData: type$45$util_NormalizedGraphQL): {
|
|
16
|
+
data: Record<string, any>;
|
|
17
|
+
};
|
|
18
|
+
export declare function ingest(astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLIngestState<PartialInterface>): {
|
|
19
|
+
__ref: string;
|
|
20
|
+
};
|
|
21
|
+
export declare function getFieldData(source: type$45$util_NormalizedGraphQL, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables): any;
|
|
22
|
+
export declare function selectType(typename: string, sel: $64$luvio_graphql$45$parser_FieldNode, fieldData: any, reader: $64$luvio_engine_Reader<any>, key: $64$luvio_engine_SelectionPropertyKey, sink: any, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): any;
|
|
23
|
+
export declare function buildSelectionForField(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, sel: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
24
|
+
export declare function buildSelectionForNode(source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentNode: $64$luvio_graphql$45$parser_FieldNode | $64$luvio_graphql$45$parser_OperationDefinitionNode, selectionNode: $64$luvio_graphql$45$parser_SelectionNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap, parentRecordId: string): Record<string, any> | undefined;
|
|
25
|
+
export declare function select(field: $64$luvio_graphql$45$parser_FieldNode, variables: $64$luvio_graphql_GraphQLVariables, fragments: $64$luvio_graphql_GraphQLFragmentMap): (source: type$45$util_NormalizedGraphQL, reader: $64$luvio_engine_Reader<any>, parentRecordId: string) => PartialInterface | undefined;
|
|
26
|
+
export declare function getMinimumSelections(): $64$luvio_graphql$45$parser_SelectionNode[];
|
|
27
|
+
export declare function getTypeCacheKeys(cacheKeySink: $64$luvio_engine_DurableStoreKeyMetadataMap, astNode: $64$luvio_graphql$45$parser_FieldNode, state: type$45$util_GraphQLLuvioState<PartialInterface>): void;
|
|
28
|
+
export declare function getFieldType(field: $64$luvio_graphql$45$parser_FieldNode): {
|
|
29
|
+
isArray: boolean;
|
|
30
|
+
typename: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
export declare function ingestFieldByType(typename: string, parentKey: string | $64$luvio_engine_NormalizedKeyMetadata, requestedField: $64$luvio_graphql$45$parser_FieldNode, sink: Record<string, any>, fieldKey: $64$luvio_engine_SelectionPropertyKey, fieldData: any, state: type$45$util_GraphQLIngestState<PartialInterface>): void;
|
|
33
|
+
export declare function isMappedField(field: $64$luvio_graphql$45$parser_FieldNode): boolean;
|
|
34
|
+
export declare function isFragmentApplicable(fragmentNode: $64$luvio_graphql$45$parser_FragmentDefinitionNode | $64$luvio_graphql$45$parser_InlineFragmentNode, typename?: string): boolean;
|
|
35
|
+
export declare function getInContextFragmentType(fragment: $64$luvio_graphql$45$parser_FragmentSpreadNode | $64$luvio_graphql$45$parser_InlineFragmentNode, fragmentMap: $64$luvio_graphql_GraphQLFragmentMap): string | undefined;
|
|
@@ -6,13 +6,14 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
listViewApiName: string;
|
|
7
7
|
objectApiName: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
body: {
|
|
10
10
|
fields?: Array<string>;
|
|
11
11
|
optionalFields?: Array<string>;
|
|
12
12
|
pageSize?: number;
|
|
13
13
|
pageToken?: string;
|
|
14
14
|
searchTerm?: string;
|
|
15
15
|
sortBy?: Array<string>;
|
|
16
|
+
where?: string;
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
export declare function createPaginationParams(params: ResourceRequestConfig): pagination_cursor_PaginationParams;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { NavItemRepresentation as NavItemRepresentation_NavItemRepresentation } from './NavItemRepresentation';
|
|
3
3
|
export declare const TTL = 300000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "b33c534240965bedfcf073228d48b940";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -47,7 +47,7 @@ export interface AppRepresentationNormalized {
|
|
|
47
47
|
/** Device form factors in which this app is supported */
|
|
48
48
|
formFactors: Array<string>;
|
|
49
49
|
/** Primary color selected by admin for this app. Ex: #0070D2 */
|
|
50
|
-
headerColor: string;
|
|
50
|
+
headerColor: string | null;
|
|
51
51
|
/** Icon URL of the App */
|
|
52
52
|
iconUrl: string | null;
|
|
53
53
|
/** Nav automatically create temporary tabs setting */
|
|
@@ -85,7 +85,7 @@ export interface AppRepresentation {
|
|
|
85
85
|
developerName: string;
|
|
86
86
|
eTag: string;
|
|
87
87
|
formFactors: Array<string>;
|
|
88
|
-
headerColor: string;
|
|
88
|
+
headerColor: string | null;
|
|
89
89
|
iconUrl: string | null;
|
|
90
90
|
isNavAutoTempTabsDisabled: boolean;
|
|
91
91
|
isNavPersonalizationDisabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListColumnInlineEditAttributesRepresentationWrapper as ListColumnInlineEditAttributesRepresentationWrapper_ListColumnInlineEditAttributesRepresentationWrapper } from './ListColumnInlineEditAttributesRepresentationWrapper';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "64e2cac6d374ad92f491a9f8a952c6c3";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ListColumnRepresentation, existing: ListColumnRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListColumnRepresentationNormalized;
|
|
@@ -18,13 +18,13 @@ export interface ListColumnRepresentationNormalized {
|
|
|
18
18
|
/** API name for the field. */
|
|
19
19
|
fieldApiName: string;
|
|
20
20
|
/** Map of RecordTypeId -> inline edit attributes. */
|
|
21
|
-
inlineEditAttributes
|
|
21
|
+
inlineEditAttributes: ListColumnInlineEditAttributesRepresentationWrapper_ListColumnInlineEditAttributesRepresentationWrapper | null;
|
|
22
22
|
/** Label of the field. */
|
|
23
23
|
label: string;
|
|
24
24
|
/** The lookupId for the column when the field is a reference, otherwise null. */
|
|
25
25
|
lookupId: string | null;
|
|
26
26
|
/** Whether the list column is searchable. */
|
|
27
|
-
searchable
|
|
27
|
+
searchable: boolean;
|
|
28
28
|
/** Whether the list column is sortable. */
|
|
29
29
|
sortable: boolean;
|
|
30
30
|
}
|
|
@@ -36,9 +36,9 @@ export interface ListColumnRepresentationNormalized {
|
|
|
36
36
|
*/
|
|
37
37
|
export interface ListColumnRepresentation {
|
|
38
38
|
fieldApiName: string;
|
|
39
|
-
inlineEditAttributes
|
|
39
|
+
inlineEditAttributes: ListColumnInlineEditAttributesRepresentationWrapper_ListColumnInlineEditAttributesRepresentationWrapper | null;
|
|
40
40
|
label: string;
|
|
41
41
|
lookupId: string | null;
|
|
42
|
-
searchable
|
|
42
|
+
searchable: boolean;
|
|
43
43
|
sortable: boolean;
|
|
44
44
|
}
|
|
@@ -8,7 +8,7 @@ import { ListUserPreferenceRepresentation as ListUserPreferenceRepresentation_Li
|
|
|
8
8
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
9
9
|
import { ListColumnRepresentation as ListColumnRepresentation_ListColumnRepresentation } from './ListColumnRepresentation';
|
|
10
10
|
export declare const TTL = 900000;
|
|
11
|
-
export declare const VERSION = "
|
|
11
|
+
export declare const VERSION = "c658fe1591386d570e214eaed0daadd1";
|
|
12
12
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
13
13
|
export declare const RepresentationType: string;
|
|
14
14
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -59,21 +59,20 @@ export interface ListInfoRepresentationNormalized {
|
|
|
59
59
|
filterLogicString: string | null;
|
|
60
60
|
/** Describes how the list view is filtered. */
|
|
61
61
|
filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
62
|
-
|
|
63
|
-
inlineEditDetails?: ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation | null;
|
|
62
|
+
inlineEditDetails: ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation;
|
|
64
63
|
/** The list view's display label. E.g. "All Accounts". */
|
|
65
64
|
label: string | null;
|
|
66
65
|
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
67
66
|
/** The items a list is shared with. */
|
|
68
|
-
listShares
|
|
67
|
+
listShares: Array<ListInfoShareCategoryRepresentation_ListInfoShareCategoryRepresentation>;
|
|
69
68
|
/** The API name of any objects that are returned by this relatedList. */
|
|
70
|
-
objectApiNames
|
|
69
|
+
objectApiNames: Array<string>;
|
|
71
70
|
/** Describes how records are ordered in this list view. */
|
|
72
71
|
orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
73
72
|
/** Scope information for this list view. */
|
|
74
|
-
scope
|
|
73
|
+
scope: ListScopeRepresentation_ListScopeRepresentation | null;
|
|
75
74
|
/** Indicates whether the listview can be searched (SOSL). */
|
|
76
|
-
searchable
|
|
75
|
+
searchable: boolean;
|
|
77
76
|
/** Indicates whether the listview can be updated. */
|
|
78
77
|
updateable: boolean;
|
|
79
78
|
userPreferences: ListUserPreferenceRepresentation_ListUserPreferenceRepresentation;
|
|
@@ -98,14 +97,14 @@ export interface ListInfoRepresentation {
|
|
|
98
97
|
eTag: string;
|
|
99
98
|
filterLogicString: string | null;
|
|
100
99
|
filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
101
|
-
inlineEditDetails
|
|
100
|
+
inlineEditDetails: ListInlineEditDetailsRepresentation_ListInlineEditDetailsRepresentation;
|
|
102
101
|
label: string | null;
|
|
103
102
|
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
104
|
-
listShares
|
|
105
|
-
objectApiNames
|
|
103
|
+
listShares: Array<ListInfoShareCategoryRepresentation_ListInfoShareCategoryRepresentation>;
|
|
104
|
+
objectApiNames: Array<string>;
|
|
106
105
|
orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
107
|
-
scope
|
|
108
|
-
searchable
|
|
106
|
+
scope: ListScopeRepresentation_ListScopeRepresentation | null;
|
|
107
|
+
searchable: boolean;
|
|
109
108
|
updateable: boolean;
|
|
110
109
|
userPreferences: ListUserPreferenceRepresentation_ListUserPreferenceRepresentation;
|
|
111
110
|
visibility: string;
|
|
@@ -3,7 +3,7 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
|
|
|
3
3
|
import { PaginationParams as pagination_cursor_PaginationParams, PaginationMetadata as pagination_cursor_PaginationMetadata, PageMetadata as pagination_cursor_PageMetadata } from '../pagination/cursor';
|
|
4
4
|
import { RecordRepresentation as RecordRepresentation_RecordRepresentation } from './RecordRepresentation';
|
|
5
5
|
export declare const TTL = 30000;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "e635ab62cb633d32aeeb183e568bb2c7";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -11,6 +11,7 @@ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
|
11
11
|
searchTerm: string | null;
|
|
12
12
|
sortBy: Array<string> | null;
|
|
13
13
|
listViewId: string | null;
|
|
14
|
+
where: string | null;
|
|
14
15
|
listViewApiName: string | null;
|
|
15
16
|
}
|
|
16
17
|
export type ListRecordCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -44,6 +45,7 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
44
45
|
* searchTerm (string | null): searchTerm
|
|
45
46
|
* sortBy (Array<string> | null): sortBy
|
|
46
47
|
* listViewId (string | null): listInfoETag
|
|
48
|
+
* where (string | null): where
|
|
47
49
|
* listViewApiName (string | null): listReference.listViewApiName
|
|
48
50
|
*/
|
|
49
51
|
export interface ListRecordCollectionRepresentationNormalized {
|
|
@@ -76,6 +78,8 @@ export interface ListRecordCollectionRepresentationNormalized {
|
|
|
76
78
|
searchTerm: string | null;
|
|
77
79
|
/** The sortBy field requested when these records were fetched. */
|
|
78
80
|
sortBy: Array<string> | null;
|
|
81
|
+
/** The where field requested when these records were fetched. */
|
|
82
|
+
where: string | null;
|
|
79
83
|
}
|
|
80
84
|
/**
|
|
81
85
|
* ListRecordCollectionRepresentation
|
|
@@ -85,6 +89,7 @@ export interface ListRecordCollectionRepresentationNormalized {
|
|
|
85
89
|
* searchTerm (string | null): searchTerm
|
|
86
90
|
* sortBy (Array<string> | null): sortBy
|
|
87
91
|
* listViewId (string | null): listInfoETag
|
|
92
|
+
* where (string | null): where
|
|
88
93
|
* listViewApiName (string | null): listReference.listViewApiName
|
|
89
94
|
*/
|
|
90
95
|
export interface ListRecordCollectionRepresentation {
|
|
@@ -103,5 +108,6 @@ export interface ListRecordCollectionRepresentation {
|
|
|
103
108
|
records: Array<RecordRepresentation_RecordRepresentation>;
|
|
104
109
|
searchTerm: string | null;
|
|
105
110
|
sortBy: Array<string> | null;
|
|
111
|
+
where: string | null;
|
|
106
112
|
}
|
|
107
113
|
export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
|