@salesforce/lds-worker-api 1.146.0 → 1.147.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sfdc/es/ldsWorkerApi.js +16 -4
- package/dist/sfdc/es/types/executeAdapter.d.ts +7 -1
- package/dist/standalone/es/lds-worker-api.js +28 -379
- package/dist/standalone/es/types/executeAdapter.d.ts +7 -1
- package/dist/standalone/umd/lds-worker-api.js +28 -379
- package/dist/standalone/umd/types/executeAdapter.d.ts +7 -1
- package/package.json +1 -1
|
@@ -3809,7 +3809,7 @@
|
|
|
3809
3809
|
}
|
|
3810
3810
|
callbacks.push(callback);
|
|
3811
3811
|
}
|
|
3812
|
-
// version: 1.
|
|
3812
|
+
// version: 1.147.1-855bb4b87
|
|
3813
3813
|
|
|
3814
3814
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3815
3815
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15233,7 +15233,7 @@
|
|
|
15233
15233
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15234
15234
|
return luvioDocumentNode;
|
|
15235
15235
|
}
|
|
15236
|
-
// version: 1.
|
|
15236
|
+
// version: 1.147.1-855bb4b87
|
|
15237
15237
|
|
|
15238
15238
|
function unwrap(data) {
|
|
15239
15239
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16146,7 +16146,7 @@
|
|
|
16146
16146
|
const { apiFamily, name } = metadata;
|
|
16147
16147
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16148
16148
|
}
|
|
16149
|
-
// version: 1.
|
|
16149
|
+
// version: 1.147.1-855bb4b87
|
|
16150
16150
|
|
|
16151
16151
|
/**
|
|
16152
16152
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -22606,7 +22606,6 @@
|
|
|
22606
22606
|
};
|
|
22607
22607
|
}
|
|
22608
22608
|
|
|
22609
|
-
const adapterName$J = 'getListViewSummaryCollection';
|
|
22610
22609
|
const getListViewSummaryCollection_ConfigPropertyNames = {
|
|
22611
22610
|
displayName: 'getListViewSummaryCollection',
|
|
22612
22611
|
parameters: {
|
|
@@ -42770,7 +42769,7 @@
|
|
|
42770
42769
|
};
|
|
42771
42770
|
}
|
|
42772
42771
|
|
|
42773
|
-
const adapterName$
|
|
42772
|
+
const adapterName$J = 'deleteRecord';
|
|
42774
42773
|
const deleteRecord_ConfigPropertyNames = {
|
|
42775
42774
|
displayName: 'deleteRecord',
|
|
42776
42775
|
parameters: {
|
|
@@ -42832,7 +42831,7 @@
|
|
|
42832
42831
|
const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
|
|
42833
42832
|
// Invalid or incomplete config
|
|
42834
42833
|
if (config === null) {
|
|
42835
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
42834
|
+
throw new Error(`Invalid config for "${adapterName$J}"`);
|
|
42836
42835
|
}
|
|
42837
42836
|
return buildNetworkSnapshot$3(luvio, config);
|
|
42838
42837
|
};
|
|
@@ -43565,7 +43564,6 @@
|
|
|
43565
43564
|
let getListInfosByName;
|
|
43566
43565
|
let getListRecordsByName;
|
|
43567
43566
|
let getListUi;
|
|
43568
|
-
let getListViewSummaryCollection;
|
|
43569
43567
|
let getLookupActions;
|
|
43570
43568
|
let getLookupMetadata;
|
|
43571
43569
|
let getLookupRecords;
|
|
@@ -43619,7 +43617,6 @@
|
|
|
43619
43617
|
let getListInfosByName_imperative;
|
|
43620
43618
|
let unstable_getListRecordsByName_imperative;
|
|
43621
43619
|
let unstable_getListUi_imperative;
|
|
43622
|
-
let getListViewSummaryCollection_imperative;
|
|
43623
43620
|
let unstable_getLookupActions_imperative;
|
|
43624
43621
|
let getLookupMetadata_imperative;
|
|
43625
43622
|
let unstable_getLookupRecords_imperative;
|
|
@@ -43669,7 +43666,6 @@
|
|
|
43669
43666
|
const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$r };
|
|
43670
43667
|
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
|
|
43671
43668
|
const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
|
|
43672
|
-
const getListViewSummaryCollectionMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
|
|
43673
43669
|
const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
|
|
43674
43670
|
const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$7, ttl: 30000 };
|
|
43675
43671
|
const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
|
|
@@ -43720,7 +43716,6 @@
|
|
|
43720
43716
|
const getListInfosByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListInfosByName', getListInfosByNameAdapterFactory), getListInfosByNameMetadata);
|
|
43721
43717
|
const getListRecordsByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListRecordsByName', factory$a), getListRecordsByNameMetadata);
|
|
43722
43718
|
const getListUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListUi', factory$g), getListUiMetadata);
|
|
43723
|
-
const getListViewSummaryCollection_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListViewSummaryCollection', getListViewSummaryCollectionAdapterFactory), getListViewSummaryCollectionMetadata);
|
|
43724
43719
|
const getLookupActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupActions', getLookupActionsAdapterFactory), getLookupActionsMetadata);
|
|
43725
43720
|
const getLookupMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupMetadata', getLookupMetadataAdapterFactory), getLookupMetadataMetadata);
|
|
43726
43721
|
const getLookupRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupRecords', factory$9), getLookupRecordsMetadata);
|
|
@@ -43779,7 +43774,6 @@
|
|
|
43779
43774
|
getListInfosByName: createWireAdapterConstructor(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43780
43775
|
getListRecordsByName: createWireAdapterConstructor(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43781
43776
|
getListUi: createWireAdapterConstructor(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43782
|
-
getListViewSummaryCollection: createWireAdapterConstructor(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43783
43777
|
getLookupActions: createWireAdapterConstructor(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43784
43778
|
getLookupMetadata: createWireAdapterConstructor(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43785
43779
|
getLookupRecords: createWireAdapterConstructor(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43833,7 +43827,6 @@
|
|
|
43833
43827
|
getListInfosByName_imperative: createImperativeAdapter(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43834
43828
|
unstable_getListRecordsByName_imperative: createImperativeAdapter(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43835
43829
|
unstable_getListUi_imperative: createImperativeAdapter(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43836
|
-
getListViewSummaryCollection_imperative: createImperativeAdapter(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43837
43830
|
unstable_getLookupActions_imperative: createImperativeAdapter(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43838
43831
|
getLookupMetadata_imperative: createImperativeAdapter(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43839
43832
|
unstable_getLookupRecords_imperative: createImperativeAdapter(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43890,7 +43883,6 @@
|
|
|
43890
43883
|
getListInfosByName,
|
|
43891
43884
|
getListRecordsByName,
|
|
43892
43885
|
getListUi,
|
|
43893
|
-
getListViewSummaryCollection,
|
|
43894
43886
|
getLookupActions,
|
|
43895
43887
|
getLookupMetadata,
|
|
43896
43888
|
getLookupRecords,
|
|
@@ -43943,7 +43935,6 @@
|
|
|
43943
43935
|
getListInfosByName_imperative,
|
|
43944
43936
|
unstable_getListRecordsByName_imperative,
|
|
43945
43937
|
unstable_getListUi_imperative,
|
|
43946
|
-
getListViewSummaryCollection_imperative,
|
|
43947
43938
|
unstable_getLookupActions_imperative,
|
|
43948
43939
|
getLookupMetadata_imperative,
|
|
43949
43940
|
unstable_getLookupRecords_imperative,
|
|
@@ -44016,7 +44007,7 @@
|
|
|
44016
44007
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44017
44008
|
});
|
|
44018
44009
|
});
|
|
44019
|
-
// version: 1.
|
|
44010
|
+
// version: 1.147.1-d8c5a8b99
|
|
44020
44011
|
|
|
44021
44012
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44022
44013
|
|
|
@@ -52690,367 +52681,16 @@
|
|
|
52690
52681
|
return Boolean(interfaces.find((iface) => iface.name === 'Record'));
|
|
52691
52682
|
}
|
|
52692
52683
|
|
|
52693
|
-
const baseTypeDefinitions = /* GraphQL */ `
|
|
52694
|
-
schema {
|
|
52695
|
-
query: Query
|
|
52696
|
-
}
|
|
52697
|
-
|
|
52698
|
-
type Query {
|
|
52699
|
-
uiapi: UIAPI!
|
|
52700
|
-
}
|
|
52701
|
-
|
|
52702
|
-
type UIAPI {
|
|
52703
|
-
query: RecordQuery!
|
|
52704
|
-
relatedListByName(parentApiName: String!, relatedListName: String!): RelatedListInfo
|
|
52705
|
-
objectInfos(apiNames: [String]): [ObjectInfo]
|
|
52706
|
-
}
|
|
52707
|
-
|
|
52708
|
-
type RecordQuery {
|
|
52709
|
-
# Types cannot be declared empty so this is a no-op query as a placeholder;
|
|
52710
|
-
# The RecordQuery will be extended by ObjectInfos at run-time as needed
|
|
52711
|
-
_: Boolean
|
|
52712
|
-
}
|
|
52713
|
-
|
|
52714
|
-
interface Record {
|
|
52715
|
-
Id: ID!
|
|
52716
|
-
ApiName: String!
|
|
52717
|
-
WeakEtag: Long!
|
|
52718
|
-
DisplayValue: String
|
|
52719
|
-
LastModifiedById: IDValue
|
|
52720
|
-
LastModifiedDate: DateTimeValue
|
|
52721
|
-
SystemModstamp: DateTimeValue
|
|
52722
|
-
RecordTypeId: IDValue
|
|
52723
|
-
_drafts: JSON
|
|
52724
|
-
}
|
|
52725
|
-
|
|
52726
|
-
type RecordRepresentation implements Record {
|
|
52727
|
-
Id: ID!
|
|
52728
|
-
ApiName: String!
|
|
52729
|
-
DisplayValue: String
|
|
52730
|
-
LastModifiedById: IDValue
|
|
52731
|
-
LastModifiedDate: DateTimeValue
|
|
52732
|
-
RecordTypeId: IDValue
|
|
52733
|
-
SystemModstamp: DateTimeValue
|
|
52734
|
-
WeakEtag: Long!
|
|
52735
|
-
_drafts: JSON
|
|
52736
|
-
}
|
|
52737
|
-
|
|
52738
|
-
type RelatedListInfo {
|
|
52739
|
-
childApiName: String!
|
|
52740
|
-
relatedListName: String!
|
|
52741
|
-
label: String!
|
|
52742
|
-
displayColumns: [ListColumn!]!
|
|
52743
|
-
orderedByInfo: [ListOrder!]!
|
|
52744
|
-
parentApiName: String!
|
|
52745
|
-
fieldApiName: String!
|
|
52746
|
-
}
|
|
52747
|
-
type ListColumn {
|
|
52748
|
-
fieldApiName: String!
|
|
52749
|
-
label: String!
|
|
52750
|
-
lookupId: String
|
|
52751
|
-
sortable: Boolean
|
|
52752
|
-
}
|
|
52753
|
-
|
|
52754
|
-
type ListOrder {
|
|
52755
|
-
fieldApiName: String!
|
|
52756
|
-
sortDirection: ResultOrder
|
|
52757
|
-
}
|
|
52758
|
-
|
|
52759
|
-
enum ResultOrder {
|
|
52760
|
-
ASC
|
|
52761
|
-
DESC
|
|
52762
|
-
}
|
|
52763
|
-
|
|
52764
|
-
interface FieldValue {
|
|
52765
|
-
displayValue: String
|
|
52766
|
-
}
|
|
52767
|
-
directive @category(name: String) on FIELD
|
|
52768
|
-
|
|
52769
|
-
scalar Base64
|
|
52770
|
-
scalar Boolean
|
|
52771
|
-
scalar Currency
|
|
52772
|
-
scalar Date
|
|
52773
|
-
scalar DateTime
|
|
52774
|
-
scalar Double
|
|
52775
|
-
scalar Email
|
|
52776
|
-
scalar EncryptedString
|
|
52777
|
-
scalar Float
|
|
52778
|
-
scalar ID
|
|
52779
|
-
scalar Int
|
|
52780
|
-
scalar JSON
|
|
52781
|
-
scalar Latitude
|
|
52782
|
-
scalar Long
|
|
52783
|
-
scalar Longitude
|
|
52784
|
-
scalar LongTextArea
|
|
52785
|
-
scalar MultiPicklist
|
|
52786
|
-
scalar Percent
|
|
52787
|
-
scalar PhoneNumber
|
|
52788
|
-
scalar Picklist
|
|
52789
|
-
scalar RichTextArea
|
|
52790
|
-
scalar String
|
|
52791
|
-
scalar TextArea
|
|
52792
|
-
scalar Time
|
|
52793
|
-
scalar Url
|
|
52794
|
-
|
|
52795
|
-
type PageInfo {
|
|
52796
|
-
hasNextPage: Boolean!
|
|
52797
|
-
hasPreviousPage: Boolean!
|
|
52798
|
-
startCursor: String
|
|
52799
|
-
endCursor: String
|
|
52800
|
-
}
|
|
52801
|
-
type IDValue implements FieldValue {
|
|
52802
|
-
value: ID
|
|
52803
|
-
displayValue: String
|
|
52804
|
-
}
|
|
52805
|
-
type StringValue implements FieldValue {
|
|
52806
|
-
value: String
|
|
52807
|
-
displayValue: String
|
|
52808
|
-
label: String
|
|
52809
|
-
}
|
|
52810
|
-
type TextAreaValue implements FieldValue {
|
|
52811
|
-
value: TextArea
|
|
52812
|
-
displayValue: String
|
|
52813
|
-
}
|
|
52814
|
-
type TimeValue implements FieldValue {
|
|
52815
|
-
value: Time
|
|
52816
|
-
displayValue: String
|
|
52817
|
-
format: String
|
|
52818
|
-
}
|
|
52819
|
-
type UrlValue implements FieldValue {
|
|
52820
|
-
value: Url
|
|
52821
|
-
displayValue: String
|
|
52822
|
-
}
|
|
52823
|
-
type Base64Value implements FieldValue {
|
|
52824
|
-
value: Base64
|
|
52825
|
-
displayValue: String
|
|
52826
|
-
}
|
|
52827
|
-
type BooleanValue implements FieldValue {
|
|
52828
|
-
value: Boolean
|
|
52829
|
-
displayValue: String
|
|
52830
|
-
}
|
|
52831
|
-
type CurrencyValue implements FieldValue {
|
|
52832
|
-
value: Currency
|
|
52833
|
-
displayValue: String
|
|
52834
|
-
format: String
|
|
52835
|
-
}
|
|
52836
|
-
type DateValue implements FieldValue {
|
|
52837
|
-
value: Date
|
|
52838
|
-
displayValue: String
|
|
52839
|
-
format: String
|
|
52840
|
-
}
|
|
52841
|
-
type DoubleValue implements FieldValue {
|
|
52842
|
-
value: Double
|
|
52843
|
-
displayValue: String
|
|
52844
|
-
format: String
|
|
52845
|
-
}
|
|
52846
|
-
type IntValue implements FieldValue {
|
|
52847
|
-
value: Int
|
|
52848
|
-
displayValue: String
|
|
52849
|
-
format: String
|
|
52850
|
-
}
|
|
52851
|
-
type DateTimeValue implements FieldValue {
|
|
52852
|
-
value: DateTime
|
|
52853
|
-
displayValue: String
|
|
52854
|
-
format: String
|
|
52855
|
-
}
|
|
52856
|
-
type EmailValue implements FieldValue {
|
|
52857
|
-
value: Email
|
|
52858
|
-
displayValue: String
|
|
52859
|
-
}
|
|
52860
|
-
type PicklistValue implements FieldValue {
|
|
52861
|
-
value: Picklist
|
|
52862
|
-
displayValue: String
|
|
52863
|
-
label: String
|
|
52864
|
-
}
|
|
52865
|
-
type MultiPicklistValue implements FieldValue {
|
|
52866
|
-
value: MultiPicklist
|
|
52867
|
-
displayValue: String
|
|
52868
|
-
label: String
|
|
52869
|
-
}
|
|
52870
|
-
type PercentValue implements FieldValue {
|
|
52871
|
-
value: Percent
|
|
52872
|
-
displayValue: String
|
|
52873
|
-
format: String
|
|
52874
|
-
}
|
|
52684
|
+
var uiapiSchemaString = "scalar String\nscalar DateTime\nscalar Currency\nscalar ID\nscalar Boolean\nscalar Longitude\nscalar Float\nscalar MultiPicklist\nscalar Base64\nscalar Url\nscalar PhoneNumber\nscalar Email\nscalar TextArea\nscalar Latitude\nscalar Picklist\nscalar RichTextArea\nscalar EncryptedString\nscalar Double\nscalar Long\nscalar JSON\nscalar Time\nscalar Int\nscalar Percent\nscalar LongTextArea\nscalar Date\ntype PercentAggregate implements FieldValue {\n value: Percent\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n format: String\n max: PercentValue\n min: PercentValue\n sum: PercentValue\n}\n\ntype StringAggregate implements FieldValue {\n value: String\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n label: String\n max: StringValue\n min: StringValue\n}\n\ntype Query {\n uiapi: UIAPI!\n rateLimit: RateLimit\n}\n\ninput EmailOperators {\n eq: Email\n ne: Email\n like: Email\n lt: Email\n gt: Email\n lte: Email\n gte: Email\n in: [Email]\n nin: [Email]\n}\n\ninput PolymorphicParentRelationshipRecordOrderBy @generic {\n RecordOrderBy: RecordOrderBy @fieldCategory\n}\n\ninput DoubleOperators {\n eq: Double\n ne: Double\n lt: Double\n gt: Double\n lte: Double\n gte: Double\n in: [Double]\n nin: [Double]\n}\n\ntype DateOnlyAggregation {\n value: Date\n format: String\n}\n\ntype DateAggregate implements FieldValue {\n value: Date\n displayValue: String\n calendarMonth: DateFunctionAggregation\n calendarQuarter: DateFunctionAggregation\n calendarYear: DateFunctionAggregation\n count: LongValue\n countDistinct: LongValue\n dayInMonth: DateFunctionAggregation\n dayInWeek: DateFunctionAggregation\n dayInYear: DateFunctionAggregation\n fiscalMonth: DateFunctionAggregation\n fiscalQuarter: DateFunctionAggregation\n fiscalYear: DateFunctionAggregation\n format: String\n grouping: IntValue\n max: DateValue\n min: DateValue\n weekInMonth: DateFunctionAggregation\n weekInYear: DateFunctionAggregation\n}\n\ninput PolymorphicParentRelationshipGroupBy @generic {\n RecordGroupBy: RecordGroupBy @fieldCategory\n}\n\nenum GroupByFunction {\n DAY_IN_WEEK\n DAY_IN_MONTH\n DAY_IN_YEAR\n WEEK_IN_MONTH\n WEEK_IN_YEAR\n CALENDAR_MONTH\n CALENDAR_QUARTER\n CALENDAR_YEAR\n FISCAL_MONTH\n FISCAL_QUARTER\n FISCAL_YEAR\n DAY_ONLY\n HOUR_IN_DAY\n}\n\ntype RecordTypeInfo {\n available: Boolean!\n defaultRecordTypeMapping: Boolean!\n master: Boolean!\n name: String\n recordTypeId: ID\n}\n\ntype BooleanValue implements FieldValue {\n value: Boolean\n displayValue: String\n}\n\ntype ReferenceToInfo {\n ApiName: String!\n nameFields: [String]!\n objectInfo: ObjectInfo\n}\n\ninterface FieldValue {\n displayValue: String\n}\n\ntype LongitudeValue implements FieldValue {\n value: Longitude\n displayValue: String\n}\n\ntype StringValue implements FieldValue {\n value: String\n displayValue: String\n label: String\n}\n\ntype IntValue implements FieldValue {\n value: Int\n displayValue: String\n format: String\n}\n\ntype UrlValue implements FieldValue {\n value: Url\n displayValue: String\n}\n\ninput IdOperators {\n eq: ID\n ne: ID\n lt: ID\n gt: ID\n lte: ID\n gte: ID\n in: [ID]\n nin: [ID]\n inq: JoinInput\n ninq: JoinInput\n}\n\ntype LongAggregate implements FieldValue {\n value: Long\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n format: String\n grouping: IntValue\n max: LongValue\n min: LongValue\n sum: LongValue\n}\n\ntype PhoneNumberAggregate implements FieldValue {\n value: PhoneNumber\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n max: PhoneNumberValue\n min: PhoneNumberValue\n}\n\ninput TimeOperators {\n eq: Time\n ne: Time\n lt: Time\n gt: Time\n lte: Time\n gte: Time\n in: [Time]\n nin: [Time]\n}\n\ntype PicklistValue implements FieldValue {\n value: Picklist\n displayValue: String\n label: String\n}\n\ntype CurrencyAggregate implements FieldValue {\n value: Currency\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n format: String\n max: CurrencyValue\n min: CurrencyValue\n sum: CurrencyValue\n}\n\ntype RelatedListInfo {\n childApiName: String!\n relatedListName: String!\n label: String!\n displayColumns: [ListColumn!]!\n orderedByInfo: [ListOrder!]!\n parentApiName: String!\n fieldApiName: String!\n}\n\ninput StringOperators {\n eq: String\n ne: String\n like: String\n lt: String\n gt: String\n lte: String\n gte: String\n in: [String]\n nin: [String]\n}\n\ntype UIAPI {\n query: RecordQuery!\n aggregate: RecordQueryAggregate!\n objectInfos(apiNames: [String]): [ObjectInfo]\n relatedListByName(parentApiName: String!, relatedListName: String!): RelatedListInfo\n}\n\ninput MultiPicklistOperators {\n eq: MultiPicklist\n ne: MultiPicklist\n includes: [MultiPicklist]\n excludes: [MultiPicklist]\n}\n\ntype DateTimeAggregate implements FieldValue {\n value: DateTime\n displayValue: String\n calendarMonth: DateFunctionAggregation\n calendarQuarter: DateFunctionAggregation\n calendarYear: DateFunctionAggregation\n count: LongValue\n countDistinct: LongValue\n dayInMonth: DateFunctionAggregation\n dayInWeek: DateFunctionAggregation\n dayInYear: DateFunctionAggregation\n dayOnly: DateOnlyAggregation\n fiscalMonth: DateFunctionAggregation\n fiscalQuarter: DateFunctionAggregation\n fiscalYear: DateFunctionAggregation\n format: String\n hourInDay: DateFunctionAggregation\n max: DateTimeValue\n min: DateTimeValue\n weekInMonth: DateFunctionAggregation\n weekInYear: DateFunctionAggregation\n}\n\ninput BooleanOperators {\n eq: Boolean\n ne: Boolean\n}\n\ntype EmailAggregate implements FieldValue {\n value: Email\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n max: EmailValue\n min: EmailValue\n}\n\ninput GroupByDateFunction {\n function: GroupByFunction\n}\n\ntype RichTextAreaValue implements FieldValue {\n value: RichTextArea\n displayValue: String\n}\n\ntype MultiPicklistValue implements FieldValue {\n value: MultiPicklist\n displayValue: String\n label: String\n}\n\ntype TimeAggregate implements FieldValue {\n value: Time\n displayValue: String\n format: String\n hourInDay: DateFunctionAggregation\n}\n\ntype __Type {\n kind: __TypeKind!\n name: String\n description: String\n fields(includeDeprecated: Boolean = false): [__Field!]\n interfaces: [__Type!]\n possibleTypes: [__Type!]\n enumValues(includeDeprecated: Boolean = false): [__EnumValue!]\n inputFields: [__InputValue!]\n ofType: __Type\n}\n\ntype ListColumn {\n fieldApiName: String!\n label: String!\n lookupId: String\n sortable: Boolean\n}\n\ntype LatitudeAggregate implements FieldValue {\n value: Latitude\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n max: LatitudeValue\n min: LatitudeValue\n sum: DoubleValue\n}\n\ninput CurrencyOperators {\n eq: Currency\n ne: Currency\n lt: Currency\n gt: Currency\n lte: Currency\n gte: Currency\n in: [Currency]\n nin: [Currency]\n}\n\ninput DistanceInput {\n latitude: Latitude!\n longitude: Longitude!\n}\n\nunion PolymorphicParentRelationship @generic = RecordRepresentation\n\ntype LongTextAreaValue implements FieldValue {\n value: LongTextArea\n displayValue: String\n}\n\ntype LatitudeValue implements FieldValue {\n value: Latitude\n displayValue: String\n}\n\ninput OrderByClause {\n order: ResultOrder\n nulls: NullOrder\n}\n\ninput GroupByClause {\n group: Boolean\n}\n\ntype RecordAggregateConnection @generic {\n edges: [RecordAggregateEdge]\n pageInfo: PageInfo!\n totalCount: Int!\n}\n\ntype LongitudeAggregate implements FieldValue {\n value: Longitude\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n max: LongitudeValue\n min: LongitudeValue\n sum: DoubleValue\n}\n\ntype RecordEdge @generic {\n node: RecordRepresentation\n cursor: String!\n}\n\ntype DateValue implements FieldValue {\n value: Date\n displayValue: String\n format: String\n}\n\ninput URLOperators {\n eq: Url\n ne: Url\n like: Url\n lt: Url\n gt: Url\n lte: Url\n gte: Url\n in: [Url]\n nin: [Url]\n}\n\ninput LongOperators {\n eq: Long\n ne: Long\n lt: Long\n gt: Long\n lte: Long\n gte: Long\n in: [Long]\n nin: [Long]\n}\n\nenum DataType {\n STRING\n TEXTAREA\n PHONE\n EMAIL\n URL\n ENCRYPTEDSTRING\n BOOLEAN\n CURRENCY\n INT\n LONG\n DOUBLE\n PERCENT\n DATETIME\n TIME\n DATE\n REFERENCE\n PICKLIST\n MULTIPICKLIST\n ADDRESS\n LOCATION\n BASE64\n COMPLEXVALUE\n COMBOBOX\n JSON\n JUNCTIONIDLIST\n ANYTYPE\n}\n\nenum NullOrder {\n LAST\n FIRST\n}\n\ntype PhoneNumberValue implements FieldValue {\n value: PhoneNumber\n displayValue: String\n}\n\n# Cannot have empty enum\n# enum RecordScope @generic {\n# }\n\ntype DoubleAggregate implements FieldValue {\n value: Double\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n format: String\n max: DoubleValue\n min: DoubleValue\n sum: DoubleValue\n}\n\ntype __Field {\n name: String!\n description: String\n args: [__InputValue!]!\n type: __Type!\n isDeprecated: Boolean!\n deprecationReason: String\n}\n\ninput DateOperators {\n eq: DateInput\n ne: DateInput\n lt: DateInput\n gt: DateInput\n lte: DateInput\n gte: DateInput\n in: [DateInput]\n nin: [DateInput]\n DAY_IN_WEEK: DateFunctionInput\n DAY_IN_MONTH: DateFunctionInput\n DAY_IN_YEAR: DateFunctionInput\n WEEK_IN_MONTH: DateFunctionInput\n WEEK_IN_YEAR: DateFunctionInput\n CALENDAR_MONTH: DateFunctionInput\n CALENDAR_QUARTER: DateFunctionInput\n CALENDAR_YEAR: DateFunctionInput\n FISCAL_MONTH: DateFunctionInput\n FISCAL_QUARTER: DateFunctionInput\n FISCAL_YEAR: DateFunctionInput\n}\n\ninput GeolocationInput {\n latitude: Latitude!\n longitude: Longitude!\n radius: Float!\n unit: Unit!\n}\n\ninput JoinInput {\n Record: RecordFilter @fieldCategory\n ApiName: String\n}\n\ninput TextAreaOperators {\n eq: TextArea\n ne: TextArea\n like: TextArea\n lt: TextArea\n gt: TextArea\n lte: TextArea\n gte: TextArea\n in: [TextArea]\n nin: [TextArea]\n}\n\ntype TextAreaValue implements FieldValue {\n value: TextArea\n displayValue: String\n}\n\ninput PercentOperators {\n eq: Percent\n ne: Percent\n lt: Percent\n gt: Percent\n lte: Percent\n gte: Percent\n in: [Percent]\n nin: [Percent]\n}\n\ntype DoubleValue implements FieldValue {\n value: Double\n displayValue: String\n format: String\n}\n\ntype IDAggregate implements FieldValue {\n value: ID\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n max: IDValue\n min: IDValue\n}\n\ntype __InputValue {\n name: String!\n description: String\n type: __Type!\n defaultValue: String\n}\n\ntype RecordAggregateEdge @generic {\n node: RecordResult\n cursor: String!\n}\n\ntype __Directive {\n name: String\n description: String\n locations: [__DirectiveLocation!]\n args: [__InputValue!]!\n}\n\ntype ThemeInfo {\n color: String\n iconUrl: String\n}\n\ntype UrlAggregate implements FieldValue {\n value: Url\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n max: UrlValue\n min: UrlValue\n}\n\nenum DateLiteral {\n THIS_WEEK\n THIS_FISCAL_QUARTER\n NEXT_YEAR\n TODAY\n LAST_WEEK\n LAST_YEAR\n YESTERDAY\n NEXT_MONTH\n NEXT_FISCAL_YEAR\n NEXT_WEEK\n NEXT_90_DAYS\n LAST_FISCAL_QUARTER\n LAST_FISCAL_YEAR\n THIS_YEAR\n THIS_MONTH\n THIS_QUARTER\n LAST_90_DAYS\n NEXT_FISCAL_QUARTER\n THIS_FISCAL_YEAR\n TOMORROW\n NEXT_QUARTER\n LAST_MONTH\n LAST_QUARTER\n}\n\ntype __EnumValue {\n name: String!\n description: String\n isDeprecated: Boolean!\n deprecationReason: String\n}\n\ntype RecordRepresentation implements Record @generic{\n Id: ID!\n ApiName: String!\n WeakEtag: Long!\n DisplayValue: String\n LastModifiedById: IDValue\n LastModifiedDate: DateTimeValue\n SystemModstamp: DateTimeValue\n RecordTypeId(fallback: Boolean): IDValue\n IntValue: IntValue @fieldCategory\n StringValue: StringValue @fieldCategory\n BooleanValue: BooleanValue @fieldCategory\n IDValue: IDValue @fieldCategory\n DateTimeValue: DateTimeValue @fieldCategory\n TimeValue: TimeValue @fieldCategory\n DateValue: DateValue @fieldCategory\n TextAreaValue: TextAreaValue @fieldCategory\n LongTextAreaValue: LongTextAreaValue @fieldCategory\n RichTextAreaValue: RichTextAreaValue @fieldCategory\n PhoneNumberValue: PhoneNumberValue @fieldCategory\n EmailValue: EmailValue @fieldCategory\n UrlValue: UrlValue @fieldCategory\n EncryptedStringValue: EncryptedStringValue @fieldCategory\n CurrencyValue: CurrencyValue @fieldCategory\n LongitudeValue: LongitudeValue @fieldCategory\n LatitudeValue: LatitudeValue @fieldCategory\n PicklistValue: PicklistValue @fieldCategory\n MultiPicklistValue: MultiPicklistValue @fieldCategory\n LongValue: LongValue @fieldCategory\n DoubleValue: DoubleValue @fieldCategory\n PercentValue: PercentValue @fieldCategory\n Base64Value: Base64Value @fieldCategory\n JSONValue: JSONValue @fieldCategory\n parentRelationship: RecordRepresentation @fieldCategory\n polymorphicParentRelationship: PolymorphicParentRelationship @fieldCategory\n childRelationship(first: Int, after: String, where: RecordFilter, orderBy: RecordOrderBy): RecordConnection @fieldCategory\n}\n\ntype IDValue implements FieldValue {\n value: ID\n displayValue: String\n}\n\nenum Unit {\n MI\n KM\n}\n\ninput OrderByGeolocationClause {\n distance: DistanceInput\n order: ResultOrder\n nulls: NullOrder\n}\n\ntype TextAreaAggregate implements FieldValue {\n value: TextArea\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n max: TextAreaValue\n min: TextAreaValue\n}\n\nenum GroupByType {\n GROUP_BY\n ROLLUP\n CUBE\n}\n\nenum ResultOrder {\n DESC\n ASC\n}\n\ninput RecordOrderBy @generic {\n orderableField: OrderByClause @fieldCategory\n orderableGeolocationField: OrderByGeolocationClause @fieldCategory\n orderableParentRelationship: RecordOrderBy @fieldCategory\n orderablePolymorphicParentRelationship: PolymorphicParentRelationshipRecordOrderBy @fieldCategory\n}\n\ninput PicklistOperators {\n eq: Picklist\n ne: Picklist\n in: [Picklist]\n nin: [Picklist]\n}\n\ninput RecordFilter @generic {\n and: [RecordFilter]\n or: [RecordFilter]\n not: RecordFilter\n parentRelationshipRecordFilter: RecordFilter @fieldCategory\n polymorphicParentRelationshipRecordFilter: PolymorphicParentRelationshipRecordFilter @fieldCategory\n IntegerOperator: IntegerOperators @fieldCategory\n LongOperator: LongOperators @fieldCategory\n StringOperator: StringOperators @fieldCategory\n DoubleOperator: DoubleOperators @fieldCategory\n PercentOperator: PercentOperators @fieldCategory\n LongitudeOperator: LongitudeOperators @fieldCategory\n LatitudeOperator: LatitudeOperators @fieldCategory\n EmailOperator: EmailOperators @fieldCategory\n TextAreaOperator: TextAreaOperators @fieldCategory\n LongTextAreaOperator: LongTextAreaOperators @fieldCategory\n URLOperator: URLOperators @fieldCategory\n PhoneNumberOperator: PhoneNumberOperators @fieldCategory\n BooleanOperator: BooleanOperators @fieldCategory\n IdOperator: IdOperators @fieldCategory\n CurrencyOperator: CurrencyOperators @fieldCategory\n TimeOperator: TimeOperators @fieldCategory\n DateOperator: DateOperators @fieldCategory\n DateTimeOperator: DateTimeOperators @fieldCategory\n PicklistOperator: PicklistOperators @fieldCategory\n MultiPicklistOperator: MultiPicklistOperators @fieldCategory\n GeolocationOperator: GeolocationOperators @fieldCategory\n}\n\ntype TimeValue implements FieldValue {\n value: Time\n displayValue: String\n format: String\n}\n\ninput GeolocationOperators {\n lt: GeolocationInput\n gt: GeolocationInput\n}\n\ntype PicklistAggregate implements FieldValue {\n value: Picklist\n displayValue: String\n count: LongValue\n countDistinct: LongValue\n grouping: IntValue\n label: String\n max: PicklistValue\n min: PicklistValue\n}\n\ninput LatitudeOperators {\n eq: Latitude\n ne: Latitude\n lt: Latitude\n gt: Latitude\n lte: Latitude\n gte: Latitude\n in: [Latitude]\n nin: [Latitude]\n}\n\ntype DateTimeValue implements FieldValue {\n value: DateTime\n displayValue: String\n format: String\n}\n\nenum __DirectiveLocation {\n QUERY\n MUTATION\n FIELD\n FRAGMENT_DEFINITION\n FRAGMENT_SPREAD\n INLINE_FRAGMENT\n SCHEMA\n SCALAR\n OBJECT\n FIELD_DEFINITION\n ARGUMENT_DEFINITION\n INTERFACE\n UNION\n ENUM\n ENUM_VALUE\n INPUT_OBJECT\n INPUT_FIELD_DEFINITION\n}\n\ntype IntAggregate implements FieldValue {\n value: Int\n displayValue: String\n avg: DoubleValue\n count: LongValue\n countDistinct: LongValue\n format: String\n grouping: IntValue\n max: IntValue\n min: IntValue\n sum: LongValue\n}\n\ntype ListOrder {\n fieldApiName: String!\n sortDirection: ResultOrder\n}\n\ntype RecordAggregate @generic {\n ApiName: String!\n BooleanAggregate: BooleanAggregate @fieldCategory\n CurrencyAggregate: CurrencyAggregate @fieldCategory\n DateAggregate: DateAggregate @fieldCategory\n DoubleAggregate: DoubleAggregate @fieldCategory\n EmailAggregate: EmailAggregate @fieldCategory\n IDAggregate: IDAggregate @fieldCategory\n IntAggregate: IntAggregate @fieldCategory\n LatitudeAggregate: LatitudeAggregate @fieldCategory\n LongitudeAggregate: LongitudeAggregate @fieldCategory\n LongAggregate: LongAggregate @fieldCategory\n PercentAggregate: PercentAggregate @fieldCategory\n PhoneNumberAggregate: PhoneNumberAggregate @fieldCategory\n PicklistAggregate: PicklistAggregate @fieldCategory\n StringAggregate: StringAggregate @fieldCategory\n TextAreaAggregate: TextAreaAggregate @fieldCategory\n TimeAggregate: TimeAggregate @fieldCategory\n UrlAggregate: UrlAggregate @fieldCategory\n}\n\ntype JSONValue implements FieldValue {\n value: JSON\n displayValue: String\n}\n\ntype EmailValue implements FieldValue {\n value: Email\n displayValue: String\n}\n\ntype LongValue implements FieldValue {\n value: Long\n displayValue: String\n format: String\n}\n\ninput DateFunctionInput {\n value: LongOperators\n convertTimezoneValue: LongOperators\n}\n\ntype DependentField {\n controllingField: String!\n dependentFields: [String]!\n}\n\ninput LongTextAreaOperators {\n eq: LongTextArea\n ne: LongTextArea\n like: LongTextArea\n lt: LongTextArea\n gt: LongTextArea\n lte: LongTextArea\n gte: LongTextArea\n in: [LongTextArea]\n nin: [LongTextArea]\n}\n\nenum __TypeKind {\n SCALAR\n OBJECT\n INTERFACE\n UNION\n ENUM\n INPUT_OBJECT\n LIST\n NON_NULL\n}\n\ntype PercentValue implements FieldValue {\n value: Percent\n displayValue: String\n format: String\n}\n\ninput DateTimeOperators {\n eq: DateTimeInput\n ne: DateTimeInput\n lt: DateTimeInput\n gt: DateTimeInput\n lte: DateTimeInput\n gte: DateTimeInput\n in: [DateTimeInput]\n nin: [DateTimeInput]\n DAY_IN_WEEK: DateFunctionInput\n DAY_IN_MONTH: DateFunctionInput\n DAY_IN_YEAR: DateFunctionInput\n WEEK_IN_MONTH: DateFunctionInput\n WEEK_IN_YEAR: DateFunctionInput\n CALENDAR_MONTH: DateFunctionInput\n CALENDAR_QUARTER: DateFunctionInput\n CALENDAR_YEAR: DateFunctionInput\n FISCAL_MONTH: DateFunctionInput\n FISCAL_QUARTER: DateFunctionInput\n FISCAL_YEAR: DateFunctionInput\n DAY_ONLY: DateTimeFunctionInput\n HOUR_IN_DAY: DateFunctionInput\n}\n\ntype BooleanAggregate implements FieldValue {\n value: Boolean\n displayValue: String\n grouping: IntValue\n}\n\ntype RecordQueryAggregate {\n recordQueryAggregate(first: Int, after: String, where: RecordFilter, orderBy: RecordOrderBy, scope: String, groupBy: RecordGroupBy): RecordAggregateConnection @fieldCategory\n}\n\ntype RecordConnection @generic {\n edges: [RecordEdge]\n pageInfo: PageInfo!\n totalCount: Int!\n}\n\ntype FilteredLookupInfo {\n controllingFields: [String]!\n dependent: Boolean!\n optionalFilter: Boolean!\n}\n\ninput PhoneNumberOperators {\n eq: PhoneNumber\n ne: PhoneNumber\n like: PhoneNumber\n lt: PhoneNumber\n gt: PhoneNumber\n lte: PhoneNumber\n gte: PhoneNumber\n in: [PhoneNumber]\n nin: [PhoneNumber]\n}\n\ntype ObjectInfo {\n ApiName: String!\n childRelationships: [ChildRelationship]!\n createable: Boolean!\n custom: Boolean!\n defaultRecordTypeId: ID\n deletable: Boolean!\n dependentFields: [DependentField]!\n feedEnabled: Boolean!\n fields: [Field]!\n keyPrefix: String\n label: String\n labelPlural: String\n layoutable: Boolean!\n mruEnabled: Boolean!\n nameFields: [String]!\n queryable: Boolean!\n recordTypeInfos: [RecordTypeInfo]!\n searchable: Boolean!\n themeInfo: ThemeInfo\n updateable: Boolean!\n}\n\ninput LongitudeOperators {\n eq: Longitude\n ne: Longitude\n lt: Longitude\n gt: Longitude\n lte: Longitude\n gte: Longitude\n in: [Longitude]\n nin: [Longitude]\n}\n\ntype Field {\n ApiName: String!\n calculated: Boolean!\n compound: Boolean!\n compoundComponentName: String\n compoundFieldName: String\n controllerName: String\n controllingFields: [String]!\n createable: Boolean!\n custom: Boolean!\n dataType: DataType\n extraTypeInfo: FieldExtraTypeInfo\n filterable: Boolean!\n filteredLookupInfo: FilteredLookupInfo\n highScaleNumber: Boolean!\n htmlFormatted: Boolean!\n inlineHelpText: String\n label: String\n nameField: Boolean!\n polymorphicForeignKey: Boolean!\n precision: Int\n reference: Boolean!\n referenceTargetField: String\n referenceToInfos: [ReferenceToInfo]!\n relationshipName: String\n required: Boolean!\n scale: Int\n searchPrefilterable: Boolean\n sortable: Boolean!\n updateable: Boolean!\n}\n\nenum FieldExtraTypeInfo {\n IMAGE_URL\n EXTERNAL_LOOKUP\n INDIRECT_LOOKUP\n PERSONNAME\n SWITCHABLE_PERSONNAME\n PLAINTEXTAREA\n RICHTEXTAREA\n}\n\ntype RateLimit {\n cost: Long\n limit: Long\n remaining: Long\n resetAt: DateTime\n}\n\ninput DateRange {\n last_n_days: Int\n next_n_days: Int\n last_n_weeks: Int\n next_n_weeks: Int\n last_n_months: Int\n next_n_months: Int\n last_n_quarters: Int\n next_n_quarters: Int\n last_n_fiscal_quarters: Int\n next_n_fiscal_quarters: Int\n last_n_years: Int\n next_n_years: Int\n last_n_fiscal_years: Int\n next_n_fiscal_years: Int\n n_days_ago: Int\n n_weeks_ago: Int\n n_months_ago: Int\n n_quarters_ago: Int\n n_years_ago: Int\n n_fiscal_quarters_ago: Int\n n_fiscal_years_ago: Int\n}\n\ninput DateTimeFunctionInput {\n value: DateTimePrimitiveOperators\n convertTimezoneValue: DateTimePrimitiveOperators\n}\n\ntype Base64Value implements FieldValue {\n value: Base64\n displayValue: String\n}\n\ninput IntegerOperators {\n eq: Int\n ne: Int\n lt: Int\n gt: Int\n lte: Int\n gte: Int\n in: [Int]\n nin: [Int]\n}\n\ntype EncryptedStringValue implements FieldValue {\n value: EncryptedString\n displayValue: String\n}\n\ninterface Record {\n Id: ID!\n ApiName: String!\n WeakEtag: Long!\n DisplayValue: String\n LastModifiedById: IDValue\n LastModifiedDate: DateTimeValue\n SystemModstamp: DateTimeValue\n RecordTypeId(fallback: Boolean): IDValue\n}\n\ninput PolymorphicParentRelationshipRecordFilter @generic {\n RecordFilter: RecordFilter @fieldCategory\n}\n\ntype __Schema {\n types: [__Type!]!\n queryType: __Type!\n mutationType: __Type\n directives: [__Directive!]!\n subscriptionType: __Type\n}\n\ninput DateTimeInput {\n value: DateTime\n literal: DateLiteral\n range: DateRange\n}\n\ninput DateTimePrimitiveOperators {\n eq: DateTime\n ne: DateTime\n lt: DateTime\n gt: DateTime\n lte: DateTime\n gte: DateTime\n in: [DateTime]\n nin: [DateTime]\n}\n\ntype ChildRelationship {\n childObjectApiName: String!\n fieldName: String\n junctionIdListNames: [String]!\n junctionReferenceTo: [String]!\n relationshipName: String\n objectInfo: ObjectInfo\n}\n\ntype RecordResult @generic {\n aggregate: RecordAggregate\n}\n\ntype PageInfo {\n hasNextPage: Boolean!\n hasPreviousPage: Boolean!\n startCursor: String\n endCursor: String\n}\n\ntype CurrencyValue implements FieldValue {\n value: Currency\n displayValue: String\n format: String\n}\n\ninput DateInput {\n value: Date\n literal: DateLiteral\n range: DateRange\n}\n\ninput RecordGroupBy @generic {\n groupableField: GroupByClause @fieldCategory\n groupableDateField: GroupByDateFunction @fieldCategory\n groupableParentRelationship: RecordGroupBy @fieldCategory\n groupablePolymorphicParentRelationship: PolymorphicParentRelationshipGroupBy @fieldCategory\n type: GroupByType = GROUP_BY\n}\n\ntype DateFunctionAggregation {\n value: Long\n format: String\n}\n\ntype RecordQuery {\n # scope should be type RecordScope but it cannot currently be used\n recordQuery(first: Int, after: String, where: RecordFilter, orderBy: RecordOrderBy, scope: String): RecordConnection @fieldCategory\n}\n\ndirective @generic on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT\ndirective @fieldCategory on FIELD_DEFINITION | ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION | ENUM_VALUE\ndirective @category on FIELD\n\n\n\n\n\n\n\n";
|
|
52875
52685
|
|
|
52686
|
+
// Define additional schema that is missing from uiapi that we use in local evaluation
|
|
52687
|
+
const additionalSchemaDefinitions = /* GraphQL */ `
|
|
52876
52688
|
enum SupportedScopes {
|
|
52877
52689
|
ASSIGNEDTOME
|
|
52878
52690
|
MINE
|
|
52879
52691
|
}
|
|
52880
|
-
|
|
52881
|
-
type ObjectInfo {
|
|
52882
|
-
ApiName: String!
|
|
52883
|
-
childRelationships: [ChildRelationship]!
|
|
52884
|
-
createable: Boolean!
|
|
52885
|
-
custom: Boolean!
|
|
52886
|
-
defaultRecordTypeId: ID
|
|
52887
|
-
deletable: Boolean!
|
|
52888
|
-
dependentFields: [DependentField]!
|
|
52889
|
-
feedEnabled: Boolean!
|
|
52890
|
-
fields: [Field]!
|
|
52891
|
-
keyPrefix: String
|
|
52892
|
-
label: String
|
|
52893
|
-
labelPlural: String
|
|
52894
|
-
layoutable: Boolean!
|
|
52895
|
-
mergeable: Boolean!
|
|
52896
|
-
mruEnabled: Boolean!
|
|
52897
|
-
nameFields: [String]!
|
|
52898
|
-
queryable: Boolean!
|
|
52899
|
-
recordTypeInfos: [RecordTypeInfo]!
|
|
52900
|
-
searchable: Boolean!
|
|
52901
|
-
themeInfo: ThemeInfo
|
|
52902
|
-
updateable: Boolean!
|
|
52903
|
-
}
|
|
52904
|
-
|
|
52905
|
-
type Field {
|
|
52906
|
-
ApiName: String!
|
|
52907
|
-
calculated: Boolean!
|
|
52908
|
-
compound: Boolean!
|
|
52909
|
-
compoundComponentName: String
|
|
52910
|
-
compoundFieldName: String
|
|
52911
|
-
controllerName: String
|
|
52912
|
-
controllingFields: [String]!
|
|
52913
|
-
createable: Boolean!
|
|
52914
|
-
custom: Boolean!
|
|
52915
|
-
dataType: DataType
|
|
52916
|
-
extraTypeInfo: FieldExtraTypeInfo
|
|
52917
|
-
filterable: Boolean!
|
|
52918
|
-
filteredLookupInfo: FilteredLookupInfo
|
|
52919
|
-
highScaleNumber: Boolean!
|
|
52920
|
-
htmlFormatted: Boolean!
|
|
52921
|
-
inlineHelpText: String
|
|
52922
|
-
label: String
|
|
52923
|
-
nameField: Boolean!
|
|
52924
|
-
polymorphicForeignKey: Boolean!
|
|
52925
|
-
precision: Int
|
|
52926
|
-
reference: Boolean!
|
|
52927
|
-
referenceTargetField: String
|
|
52928
|
-
referenceToInfos: [ReferenceToInfo]!
|
|
52929
|
-
relationshipName: String
|
|
52930
|
-
required: Boolean!
|
|
52931
|
-
scale: Int
|
|
52932
|
-
sortable: Boolean!
|
|
52933
|
-
updateable: Boolean!
|
|
52934
|
-
picklistValues: PicklistValues
|
|
52935
|
-
}
|
|
52936
|
-
|
|
52937
|
-
type ChildRelationship {
|
|
52938
|
-
childObjectApiName: String!
|
|
52939
|
-
fieldName: String
|
|
52940
|
-
junctionIdListNames: [String]!
|
|
52941
|
-
junctionReferenceTo: [String]!
|
|
52942
|
-
relationshipName: String
|
|
52943
|
-
objectInfo: ObjectInfo
|
|
52944
|
-
}
|
|
52945
|
-
|
|
52946
|
-
type DependentField {
|
|
52947
|
-
controllingField: String!
|
|
52948
|
-
dependentFields: [String]!
|
|
52949
|
-
}
|
|
52950
|
-
|
|
52951
|
-
type RecordTypeInfo {
|
|
52952
|
-
available: Boolean!
|
|
52953
|
-
defaultRecordTypeMapping: Boolean!
|
|
52954
|
-
master: Boolean!
|
|
52955
|
-
name: String
|
|
52956
|
-
recordTypeId: ID
|
|
52957
|
-
}
|
|
52958
|
-
|
|
52959
|
-
type ThemeInfo {
|
|
52960
|
-
color: String
|
|
52961
|
-
iconUrl: String
|
|
52962
|
-
}
|
|
52963
|
-
|
|
52964
|
-
enum DataType {
|
|
52965
|
-
ADDRESS
|
|
52966
|
-
BOOLEAN
|
|
52967
|
-
COMBOBOX
|
|
52968
|
-
COMPLEXVALUE
|
|
52969
|
-
CURRENCY
|
|
52970
|
-
DATE
|
|
52971
|
-
DATETIME
|
|
52972
|
-
DOUBLE
|
|
52973
|
-
EMAIL
|
|
52974
|
-
ENCRYPTEDSTRING
|
|
52975
|
-
PICKLIST
|
|
52976
|
-
BASE64
|
|
52977
|
-
INT
|
|
52978
|
-
JSON
|
|
52979
|
-
LONG
|
|
52980
|
-
LOCATION
|
|
52981
|
-
MULTIPICKLIST
|
|
52982
|
-
PERCENT
|
|
52983
|
-
PHONE
|
|
52984
|
-
REFERENCE
|
|
52985
|
-
STRING
|
|
52986
|
-
TEXTAREA
|
|
52987
|
-
TIME
|
|
52988
|
-
URL
|
|
52989
|
-
ANYTYPE
|
|
52990
|
-
JUNCTIONIDLIST
|
|
52991
|
-
}
|
|
52992
|
-
|
|
52993
|
-
enum FieldExtraTypeInfo {
|
|
52994
|
-
EXTERNAL_LOOKUP
|
|
52995
|
-
IMAGE_URL
|
|
52996
|
-
INDIRECT_LOOKUP
|
|
52997
|
-
PERSON_NAME
|
|
52998
|
-
PLAIN_TEXT_AREA
|
|
52999
|
-
RICH_TEXT_AREA
|
|
53000
|
-
SWITCHABLE_PERSON_NAME
|
|
53001
|
-
}
|
|
53002
|
-
|
|
53003
|
-
type FilteredLookupInfo {
|
|
53004
|
-
controllingFields: [String]!
|
|
53005
|
-
dependent: Boolean!
|
|
53006
|
-
optionalFilter: Boolean!
|
|
53007
|
-
}
|
|
53008
|
-
|
|
53009
|
-
type ReferenceToInfo {
|
|
53010
|
-
ApiName: String!
|
|
53011
|
-
nameFields: [String]!
|
|
53012
|
-
objectInfo: ObjectInfo
|
|
53013
|
-
}
|
|
53014
|
-
|
|
53015
|
-
type PicklistValues {
|
|
53016
|
-
controllerValues: [ControllerValue]!
|
|
53017
|
-
defaultValue: ObjectInfoPicklistValue
|
|
53018
|
-
values: [ObjectInfoPicklistValue]!
|
|
53019
|
-
}
|
|
53020
|
-
|
|
53021
|
-
type ControllerValue {
|
|
53022
|
-
value: String
|
|
53023
|
-
index: Int
|
|
53024
|
-
}
|
|
53025
|
-
|
|
53026
|
-
type ObjectInfoPicklistValue {
|
|
53027
|
-
attributes: PicklistValueAttributes
|
|
53028
|
-
label: String
|
|
53029
|
-
validFor: [Int]!
|
|
53030
|
-
value: String
|
|
53031
|
-
}
|
|
53032
|
-
|
|
53033
|
-
union PicklistValueAttributes =
|
|
53034
|
-
CaseStatusPicklistValueAttributes
|
|
53035
|
-
| LeadStatusPicklistValueAttributes
|
|
53036
|
-
| OpportunityStagePicklistValueAttributes
|
|
53037
|
-
|
|
53038
|
-
type CaseStatusPicklistValueAttributes {
|
|
53039
|
-
closed: Boolean!
|
|
53040
|
-
}
|
|
53041
|
-
|
|
53042
|
-
type LeadStatusPicklistValueAttributes {
|
|
53043
|
-
converted: Boolean!
|
|
53044
|
-
picklistAttributesValueType: String
|
|
53045
|
-
}
|
|
53046
|
-
|
|
53047
|
-
type OpportunityStagePicklistValueAttributes {
|
|
53048
|
-
closed: Boolean!
|
|
53049
|
-
defaultProbability: Float
|
|
53050
|
-
forecastCategoryName: String
|
|
53051
|
-
won: Boolean!
|
|
53052
|
-
}
|
|
53053
52692
|
`;
|
|
52693
|
+
const baseTypeDefinitions = uiapiSchemaString + additionalSchemaDefinitions;
|
|
53054
52694
|
/**
|
|
53055
52695
|
*
|
|
53056
52696
|
* @param objectInfos
|
|
@@ -53134,7 +52774,7 @@
|
|
|
53134
52774
|
DisplayValue: String
|
|
53135
52775
|
LastModifiedById: IDValue
|
|
53136
52776
|
LastModifiedDate: DateTimeValue
|
|
53137
|
-
RecordTypeId: IDValue
|
|
52777
|
+
RecordTypeId(fallback: Boolean): IDValue
|
|
53138
52778
|
SystemModstamp: DateTimeValue
|
|
53139
52779
|
WeakEtag: Long!
|
|
53140
52780
|
_drafts: JSON
|
|
@@ -59794,6 +59434,8 @@
|
|
|
59794
59434
|
let lazyDraftQueue;
|
|
59795
59435
|
let lazyDraftManager;
|
|
59796
59436
|
let lazyLuvio;
|
|
59437
|
+
let lazyInternalLuvio;
|
|
59438
|
+
let lazyEnvironment;
|
|
59797
59439
|
let lazyBaseDurableStore;
|
|
59798
59440
|
let lazyNetworkAdapter;
|
|
59799
59441
|
let lazyObjectInfoService;
|
|
@@ -59801,7 +59443,10 @@
|
|
|
59801
59443
|
* This returns the LDS on Mobile Runtime singleton object.
|
|
59802
59444
|
*/
|
|
59803
59445
|
function getRuntime() {
|
|
59804
|
-
if (lazyLuvio === undefined ||
|
|
59446
|
+
if (lazyLuvio === undefined ||
|
|
59447
|
+
lazyEnvironment === undefined ||
|
|
59448
|
+
lazyDraftManager === undefined ||
|
|
59449
|
+
lazyDraftQueue === undefined) {
|
|
59805
59450
|
// coerce runtime provided userID values to the 18 character version used in LDS
|
|
59806
59451
|
const userId = getRecordId18(caseSensitiveUserId);
|
|
59807
59452
|
if (userId === undefined || userId.length !== 18) {
|
|
@@ -59822,7 +59467,8 @@
|
|
|
59822
59467
|
: {}, () => getIngestMetadataForInternalAdapters !== undefined
|
|
59823
59468
|
? getIngestMetadataForInternalAdapters()
|
|
59824
59469
|
: {});
|
|
59825
|
-
const { adapters: { getObjectInfo, getObjectInfos, getRecord }, durableEnvironment: internalAdapterDurableEnvironment, } = buildInternalAdapters(internalAdapterStore, lazyNetworkAdapter, internalAdapterDurableStore, (apiName, objectInfo) => lazyObjectInfoService.ensureObjectInfoCached(apiName, objectInfo));
|
|
59470
|
+
const { adapters: { getObjectInfo, getObjectInfos, getRecord }, durableEnvironment: internalAdapterDurableEnvironment, luvio: internalLuvio, } = buildInternalAdapters(internalAdapterStore, lazyNetworkAdapter, internalAdapterDurableStore, (apiName, objectInfo) => lazyObjectInfoService.ensureObjectInfoCached(apiName, objectInfo));
|
|
59471
|
+
lazyInternalLuvio = internalLuvio;
|
|
59826
59472
|
getIngestRecordsForInternalAdapters =
|
|
59827
59473
|
internalAdapterDurableEnvironment.getIngestStagingStoreRecords;
|
|
59828
59474
|
getIngestMetadataForInternalAdapters =
|
|
@@ -59859,7 +59505,8 @@
|
|
|
59859
59505
|
isDraftId: isGenerated,
|
|
59860
59506
|
}, draftEnv);
|
|
59861
59507
|
draftEnv = performQuickActionDraftEnvironment(lazyLuvio, draftEnv, quickActionHandler);
|
|
59862
|
-
|
|
59508
|
+
lazyEnvironment = draftEnv;
|
|
59509
|
+
lazyLuvio = new Luvio(lazyEnvironment, {
|
|
59863
59510
|
instrument: instrumentLuvio,
|
|
59864
59511
|
});
|
|
59865
59512
|
// Currently instruments store runtime perf
|
|
@@ -59904,6 +59551,8 @@
|
|
|
59904
59551
|
}
|
|
59905
59552
|
return {
|
|
59906
59553
|
luvio: lazyLuvio,
|
|
59554
|
+
internalLuvio: lazyInternalLuvio,
|
|
59555
|
+
environment: lazyEnvironment,
|
|
59907
59556
|
draftManager: lazyDraftManager,
|
|
59908
59557
|
draftQueue: lazyDraftQueue,
|
|
59909
59558
|
createPrimingSession: (config) => {
|
|
@@ -59929,7 +59578,7 @@
|
|
|
59929
59578
|
id: '@salesforce/lds-network-adapter',
|
|
59930
59579
|
instrument: instrument$1,
|
|
59931
59580
|
});
|
|
59932
|
-
// version: 1.
|
|
59581
|
+
// version: 1.147.1-855bb4b87
|
|
59933
59582
|
|
|
59934
59583
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59935
59584
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -80774,7 +80423,7 @@
|
|
|
80774
80423
|
configuration: { ...configurationForGraphQLAdapters },
|
|
80775
80424
|
instrument,
|
|
80776
80425
|
});
|
|
80777
|
-
// version: 1.
|
|
80426
|
+
// version: 1.147.1-d8c5a8b99
|
|
80778
80427
|
|
|
80779
80428
|
// On core the unstable adapters are re-exported with different names,
|
|
80780
80429
|
|
|
@@ -83012,7 +82661,7 @@
|
|
|
83012
82661
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
83013
82662
|
graphQLImperative = ldsAdapter;
|
|
83014
82663
|
});
|
|
83015
|
-
// version: 1.
|
|
82664
|
+
// version: 1.147.1-d8c5a8b99
|
|
83016
82665
|
|
|
83017
82666
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
83018
82667
|
__proto__: null,
|
|
@@ -83164,7 +82813,7 @@
|
|
|
83164
82813
|
cachePolicy: buildCachePolicy(cachePolicy),
|
|
83165
82814
|
priority,
|
|
83166
82815
|
};
|
|
83167
|
-
if (observabilityContext !== undefined) {
|
|
82816
|
+
if (observabilityContext !== undefined && observabilityContext !== null) {
|
|
83168
82817
|
requestContext.requestCorrelator = {
|
|
83169
82818
|
observabilityContext,
|
|
83170
82819
|
};
|
|
@@ -83718,4 +83367,4 @@
|
|
|
83718
83367
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
83719
83368
|
|
|
83720
83369
|
}));
|
|
83721
|
-
// version: 1.
|
|
83370
|
+
// version: 1.147.1-855bb4b87
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CachePolicy, LuvioAdapterEventObserver } from '@luvio/engine';
|
|
1
|
+
import type { AdapterRequestContext, CachePolicy, LuvioAdapterEventObserver } from '@luvio/engine';
|
|
2
2
|
import type { DraftQueueItemMetadata } from '@salesforce/lds-drafts';
|
|
3
3
|
import type { NativeErrorResponse } from './responses';
|
|
4
4
|
import type { ObservabilityContext } from '@salesforce/lds-runtime-mobile';
|
|
@@ -31,6 +31,12 @@ interface NativeAdapterRequestContext {
|
|
|
31
31
|
observabilityContext?: NativeObservabilityContext;
|
|
32
32
|
luvioEventObserver?: NativeLuvioEventObserver;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Coerces a request context passed in from native to a luvio request context
|
|
36
|
+
* @param nativeRequestContext request context passed in from native
|
|
37
|
+
* @returns Coerced luvio request context
|
|
38
|
+
*/
|
|
39
|
+
export declare function buildAdapterRequestContext(nativeRequestContext: NativeAdapterRequestContext | undefined): AdapterRequestContext | undefined;
|
|
34
40
|
/**
|
|
35
41
|
* Executes the adapter with the given adapterId and config. Will call onSnapshot
|
|
36
42
|
* callback with data or error. Returns an unsubscribe function that should
|