@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
|
@@ -3801,7 +3801,7 @@ function withDefaultLuvio(callback) {
|
|
|
3801
3801
|
}
|
|
3802
3802
|
callbacks.push(callback);
|
|
3803
3803
|
}
|
|
3804
|
-
// version: 1.
|
|
3804
|
+
// version: 1.147.1-855bb4b87
|
|
3805
3805
|
|
|
3806
3806
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3807
3807
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15225,7 +15225,7 @@ function parseAndVisit(source) {
|
|
|
15225
15225
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15226
15226
|
return luvioDocumentNode;
|
|
15227
15227
|
}
|
|
15228
|
-
// version: 1.
|
|
15228
|
+
// version: 1.147.1-855bb4b87
|
|
15229
15229
|
|
|
15230
15230
|
function unwrap(data) {
|
|
15231
15231
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16138,7 +16138,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16138
16138
|
const { apiFamily, name } = metadata;
|
|
16139
16139
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16140
16140
|
}
|
|
16141
|
-
// version: 1.
|
|
16141
|
+
// version: 1.147.1-855bb4b87
|
|
16142
16142
|
|
|
16143
16143
|
/**
|
|
16144
16144
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -22598,7 +22598,6 @@ function createResourceRequest$V(config) {
|
|
|
22598
22598
|
};
|
|
22599
22599
|
}
|
|
22600
22600
|
|
|
22601
|
-
const adapterName$J = 'getListViewSummaryCollection';
|
|
22602
22601
|
const getListViewSummaryCollection_ConfigPropertyNames = {
|
|
22603
22602
|
displayName: 'getListViewSummaryCollection',
|
|
22604
22603
|
parameters: {
|
|
@@ -42762,7 +42761,7 @@ function createResourceRequest$3(config) {
|
|
|
42762
42761
|
};
|
|
42763
42762
|
}
|
|
42764
42763
|
|
|
42765
|
-
const adapterName$
|
|
42764
|
+
const adapterName$J = 'deleteRecord';
|
|
42766
42765
|
const deleteRecord_ConfigPropertyNames = {
|
|
42767
42766
|
displayName: 'deleteRecord',
|
|
42768
42767
|
parameters: {
|
|
@@ -42824,7 +42823,7 @@ const deleteRecordAdapterFactory = (luvio) => {
|
|
|
42824
42823
|
const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
|
|
42825
42824
|
// Invalid or incomplete config
|
|
42826
42825
|
if (config === null) {
|
|
42827
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
42826
|
+
throw new Error(`Invalid config for "${adapterName$J}"`);
|
|
42828
42827
|
}
|
|
42829
42828
|
return buildNetworkSnapshot$3(luvio, config);
|
|
42830
42829
|
};
|
|
@@ -43557,7 +43556,6 @@ let getListInfoByName;
|
|
|
43557
43556
|
let getListInfosByName;
|
|
43558
43557
|
let getListRecordsByName;
|
|
43559
43558
|
let getListUi;
|
|
43560
|
-
let getListViewSummaryCollection;
|
|
43561
43559
|
let getLookupActions;
|
|
43562
43560
|
let getLookupMetadata;
|
|
43563
43561
|
let getLookupRecords;
|
|
@@ -43611,7 +43609,6 @@ let unstable_getListInfoByName_imperative;
|
|
|
43611
43609
|
let getListInfosByName_imperative;
|
|
43612
43610
|
let unstable_getListRecordsByName_imperative;
|
|
43613
43611
|
let unstable_getListUi_imperative;
|
|
43614
|
-
let getListViewSummaryCollection_imperative;
|
|
43615
43612
|
let unstable_getLookupActions_imperative;
|
|
43616
43613
|
let getLookupMetadata_imperative;
|
|
43617
43614
|
let unstable_getLookupRecords_imperative;
|
|
@@ -43661,7 +43658,6 @@ const getListInfoByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$q,
|
|
|
43661
43658
|
const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$r };
|
|
43662
43659
|
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
|
|
43663
43660
|
const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
|
|
43664
|
-
const getListViewSummaryCollectionMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
|
|
43665
43661
|
const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
|
|
43666
43662
|
const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$7, ttl: 30000 };
|
|
43667
43663
|
const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
|
|
@@ -43712,7 +43708,6 @@ function bindExportsTo$1(luvio) {
|
|
|
43712
43708
|
const getListInfosByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListInfosByName', getListInfosByNameAdapterFactory), getListInfosByNameMetadata);
|
|
43713
43709
|
const getListRecordsByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListRecordsByName', factory$a), getListRecordsByNameMetadata);
|
|
43714
43710
|
const getListUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListUi', factory$g), getListUiMetadata);
|
|
43715
|
-
const getListViewSummaryCollection_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListViewSummaryCollection', getListViewSummaryCollectionAdapterFactory), getListViewSummaryCollectionMetadata);
|
|
43716
43711
|
const getLookupActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupActions', getLookupActionsAdapterFactory), getLookupActionsMetadata);
|
|
43717
43712
|
const getLookupMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupMetadata', getLookupMetadataAdapterFactory), getLookupMetadataMetadata);
|
|
43718
43713
|
const getLookupRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupRecords', factory$9), getLookupRecordsMetadata);
|
|
@@ -43771,7 +43766,6 @@ function bindExportsTo$1(luvio) {
|
|
|
43771
43766
|
getListInfosByName: createWireAdapterConstructor(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43772
43767
|
getListRecordsByName: createWireAdapterConstructor(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43773
43768
|
getListUi: createWireAdapterConstructor(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43774
|
-
getListViewSummaryCollection: createWireAdapterConstructor(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43775
43769
|
getLookupActions: createWireAdapterConstructor(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43776
43770
|
getLookupMetadata: createWireAdapterConstructor(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43777
43771
|
getLookupRecords: createWireAdapterConstructor(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43825,7 +43819,6 @@ function bindExportsTo$1(luvio) {
|
|
|
43825
43819
|
getListInfosByName_imperative: createImperativeAdapter(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43826
43820
|
unstable_getListRecordsByName_imperative: createImperativeAdapter(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43827
43821
|
unstable_getListUi_imperative: createImperativeAdapter(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43828
|
-
getListViewSummaryCollection_imperative: createImperativeAdapter(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43829
43822
|
unstable_getLookupActions_imperative: createImperativeAdapter(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43830
43823
|
getLookupMetadata_imperative: createImperativeAdapter(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43831
43824
|
unstable_getLookupRecords_imperative: createImperativeAdapter(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43882,7 +43875,6 @@ withDefaultLuvio((luvio) => {
|
|
|
43882
43875
|
getListInfosByName,
|
|
43883
43876
|
getListRecordsByName,
|
|
43884
43877
|
getListUi,
|
|
43885
|
-
getListViewSummaryCollection,
|
|
43886
43878
|
getLookupActions,
|
|
43887
43879
|
getLookupMetadata,
|
|
43888
43880
|
getLookupRecords,
|
|
@@ -43935,7 +43927,6 @@ withDefaultLuvio((luvio) => {
|
|
|
43935
43927
|
getListInfosByName_imperative,
|
|
43936
43928
|
unstable_getListRecordsByName_imperative,
|
|
43937
43929
|
unstable_getListUi_imperative,
|
|
43938
|
-
getListViewSummaryCollection_imperative,
|
|
43939
43930
|
unstable_getLookupActions_imperative,
|
|
43940
43931
|
getLookupMetadata_imperative,
|
|
43941
43932
|
unstable_getLookupRecords_imperative,
|
|
@@ -44008,7 +43999,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44008
43999
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44009
44000
|
});
|
|
44010
44001
|
});
|
|
44011
|
-
// version: 1.
|
|
44002
|
+
// version: 1.147.1-d8c5a8b99
|
|
44012
44003
|
|
|
44013
44004
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44014
44005
|
|
|
@@ -52682,367 +52673,16 @@ function isRecordType(type) {
|
|
|
52682
52673
|
return Boolean(interfaces.find((iface) => iface.name === 'Record'));
|
|
52683
52674
|
}
|
|
52684
52675
|
|
|
52685
|
-
const baseTypeDefinitions = /* GraphQL */ `
|
|
52686
|
-
schema {
|
|
52687
|
-
query: Query
|
|
52688
|
-
}
|
|
52689
|
-
|
|
52690
|
-
type Query {
|
|
52691
|
-
uiapi: UIAPI!
|
|
52692
|
-
}
|
|
52693
|
-
|
|
52694
|
-
type UIAPI {
|
|
52695
|
-
query: RecordQuery!
|
|
52696
|
-
relatedListByName(parentApiName: String!, relatedListName: String!): RelatedListInfo
|
|
52697
|
-
objectInfos(apiNames: [String]): [ObjectInfo]
|
|
52698
|
-
}
|
|
52699
|
-
|
|
52700
|
-
type RecordQuery {
|
|
52701
|
-
# Types cannot be declared empty so this is a no-op query as a placeholder;
|
|
52702
|
-
# The RecordQuery will be extended by ObjectInfos at run-time as needed
|
|
52703
|
-
_: Boolean
|
|
52704
|
-
}
|
|
52705
|
-
|
|
52706
|
-
interface Record {
|
|
52707
|
-
Id: ID!
|
|
52708
|
-
ApiName: String!
|
|
52709
|
-
WeakEtag: Long!
|
|
52710
|
-
DisplayValue: String
|
|
52711
|
-
LastModifiedById: IDValue
|
|
52712
|
-
LastModifiedDate: DateTimeValue
|
|
52713
|
-
SystemModstamp: DateTimeValue
|
|
52714
|
-
RecordTypeId: IDValue
|
|
52715
|
-
_drafts: JSON
|
|
52716
|
-
}
|
|
52717
|
-
|
|
52718
|
-
type RecordRepresentation implements Record {
|
|
52719
|
-
Id: ID!
|
|
52720
|
-
ApiName: String!
|
|
52721
|
-
DisplayValue: String
|
|
52722
|
-
LastModifiedById: IDValue
|
|
52723
|
-
LastModifiedDate: DateTimeValue
|
|
52724
|
-
RecordTypeId: IDValue
|
|
52725
|
-
SystemModstamp: DateTimeValue
|
|
52726
|
-
WeakEtag: Long!
|
|
52727
|
-
_drafts: JSON
|
|
52728
|
-
}
|
|
52729
|
-
|
|
52730
|
-
type RelatedListInfo {
|
|
52731
|
-
childApiName: String!
|
|
52732
|
-
relatedListName: String!
|
|
52733
|
-
label: String!
|
|
52734
|
-
displayColumns: [ListColumn!]!
|
|
52735
|
-
orderedByInfo: [ListOrder!]!
|
|
52736
|
-
parentApiName: String!
|
|
52737
|
-
fieldApiName: String!
|
|
52738
|
-
}
|
|
52739
|
-
type ListColumn {
|
|
52740
|
-
fieldApiName: String!
|
|
52741
|
-
label: String!
|
|
52742
|
-
lookupId: String
|
|
52743
|
-
sortable: Boolean
|
|
52744
|
-
}
|
|
52745
|
-
|
|
52746
|
-
type ListOrder {
|
|
52747
|
-
fieldApiName: String!
|
|
52748
|
-
sortDirection: ResultOrder
|
|
52749
|
-
}
|
|
52750
|
-
|
|
52751
|
-
enum ResultOrder {
|
|
52752
|
-
ASC
|
|
52753
|
-
DESC
|
|
52754
|
-
}
|
|
52755
|
-
|
|
52756
|
-
interface FieldValue {
|
|
52757
|
-
displayValue: String
|
|
52758
|
-
}
|
|
52759
|
-
directive @category(name: String) on FIELD
|
|
52760
|
-
|
|
52761
|
-
scalar Base64
|
|
52762
|
-
scalar Boolean
|
|
52763
|
-
scalar Currency
|
|
52764
|
-
scalar Date
|
|
52765
|
-
scalar DateTime
|
|
52766
|
-
scalar Double
|
|
52767
|
-
scalar Email
|
|
52768
|
-
scalar EncryptedString
|
|
52769
|
-
scalar Float
|
|
52770
|
-
scalar ID
|
|
52771
|
-
scalar Int
|
|
52772
|
-
scalar JSON
|
|
52773
|
-
scalar Latitude
|
|
52774
|
-
scalar Long
|
|
52775
|
-
scalar Longitude
|
|
52776
|
-
scalar LongTextArea
|
|
52777
|
-
scalar MultiPicklist
|
|
52778
|
-
scalar Percent
|
|
52779
|
-
scalar PhoneNumber
|
|
52780
|
-
scalar Picklist
|
|
52781
|
-
scalar RichTextArea
|
|
52782
|
-
scalar String
|
|
52783
|
-
scalar TextArea
|
|
52784
|
-
scalar Time
|
|
52785
|
-
scalar Url
|
|
52786
|
-
|
|
52787
|
-
type PageInfo {
|
|
52788
|
-
hasNextPage: Boolean!
|
|
52789
|
-
hasPreviousPage: Boolean!
|
|
52790
|
-
startCursor: String
|
|
52791
|
-
endCursor: String
|
|
52792
|
-
}
|
|
52793
|
-
type IDValue implements FieldValue {
|
|
52794
|
-
value: ID
|
|
52795
|
-
displayValue: String
|
|
52796
|
-
}
|
|
52797
|
-
type StringValue implements FieldValue {
|
|
52798
|
-
value: String
|
|
52799
|
-
displayValue: String
|
|
52800
|
-
label: String
|
|
52801
|
-
}
|
|
52802
|
-
type TextAreaValue implements FieldValue {
|
|
52803
|
-
value: TextArea
|
|
52804
|
-
displayValue: String
|
|
52805
|
-
}
|
|
52806
|
-
type TimeValue implements FieldValue {
|
|
52807
|
-
value: Time
|
|
52808
|
-
displayValue: String
|
|
52809
|
-
format: String
|
|
52810
|
-
}
|
|
52811
|
-
type UrlValue implements FieldValue {
|
|
52812
|
-
value: Url
|
|
52813
|
-
displayValue: String
|
|
52814
|
-
}
|
|
52815
|
-
type Base64Value implements FieldValue {
|
|
52816
|
-
value: Base64
|
|
52817
|
-
displayValue: String
|
|
52818
|
-
}
|
|
52819
|
-
type BooleanValue implements FieldValue {
|
|
52820
|
-
value: Boolean
|
|
52821
|
-
displayValue: String
|
|
52822
|
-
}
|
|
52823
|
-
type CurrencyValue implements FieldValue {
|
|
52824
|
-
value: Currency
|
|
52825
|
-
displayValue: String
|
|
52826
|
-
format: String
|
|
52827
|
-
}
|
|
52828
|
-
type DateValue implements FieldValue {
|
|
52829
|
-
value: Date
|
|
52830
|
-
displayValue: String
|
|
52831
|
-
format: String
|
|
52832
|
-
}
|
|
52833
|
-
type DoubleValue implements FieldValue {
|
|
52834
|
-
value: Double
|
|
52835
|
-
displayValue: String
|
|
52836
|
-
format: String
|
|
52837
|
-
}
|
|
52838
|
-
type IntValue implements FieldValue {
|
|
52839
|
-
value: Int
|
|
52840
|
-
displayValue: String
|
|
52841
|
-
format: String
|
|
52842
|
-
}
|
|
52843
|
-
type DateTimeValue implements FieldValue {
|
|
52844
|
-
value: DateTime
|
|
52845
|
-
displayValue: String
|
|
52846
|
-
format: String
|
|
52847
|
-
}
|
|
52848
|
-
type EmailValue implements FieldValue {
|
|
52849
|
-
value: Email
|
|
52850
|
-
displayValue: String
|
|
52851
|
-
}
|
|
52852
|
-
type PicklistValue implements FieldValue {
|
|
52853
|
-
value: Picklist
|
|
52854
|
-
displayValue: String
|
|
52855
|
-
label: String
|
|
52856
|
-
}
|
|
52857
|
-
type MultiPicklistValue implements FieldValue {
|
|
52858
|
-
value: MultiPicklist
|
|
52859
|
-
displayValue: String
|
|
52860
|
-
label: String
|
|
52861
|
-
}
|
|
52862
|
-
type PercentValue implements FieldValue {
|
|
52863
|
-
value: Percent
|
|
52864
|
-
displayValue: String
|
|
52865
|
-
format: String
|
|
52866
|
-
}
|
|
52676
|
+
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";
|
|
52867
52677
|
|
|
52678
|
+
// Define additional schema that is missing from uiapi that we use in local evaluation
|
|
52679
|
+
const additionalSchemaDefinitions = /* GraphQL */ `
|
|
52868
52680
|
enum SupportedScopes {
|
|
52869
52681
|
ASSIGNEDTOME
|
|
52870
52682
|
MINE
|
|
52871
52683
|
}
|
|
52872
|
-
|
|
52873
|
-
type ObjectInfo {
|
|
52874
|
-
ApiName: String!
|
|
52875
|
-
childRelationships: [ChildRelationship]!
|
|
52876
|
-
createable: Boolean!
|
|
52877
|
-
custom: Boolean!
|
|
52878
|
-
defaultRecordTypeId: ID
|
|
52879
|
-
deletable: Boolean!
|
|
52880
|
-
dependentFields: [DependentField]!
|
|
52881
|
-
feedEnabled: Boolean!
|
|
52882
|
-
fields: [Field]!
|
|
52883
|
-
keyPrefix: String
|
|
52884
|
-
label: String
|
|
52885
|
-
labelPlural: String
|
|
52886
|
-
layoutable: Boolean!
|
|
52887
|
-
mergeable: Boolean!
|
|
52888
|
-
mruEnabled: Boolean!
|
|
52889
|
-
nameFields: [String]!
|
|
52890
|
-
queryable: Boolean!
|
|
52891
|
-
recordTypeInfos: [RecordTypeInfo]!
|
|
52892
|
-
searchable: Boolean!
|
|
52893
|
-
themeInfo: ThemeInfo
|
|
52894
|
-
updateable: Boolean!
|
|
52895
|
-
}
|
|
52896
|
-
|
|
52897
|
-
type Field {
|
|
52898
|
-
ApiName: String!
|
|
52899
|
-
calculated: Boolean!
|
|
52900
|
-
compound: Boolean!
|
|
52901
|
-
compoundComponentName: String
|
|
52902
|
-
compoundFieldName: String
|
|
52903
|
-
controllerName: String
|
|
52904
|
-
controllingFields: [String]!
|
|
52905
|
-
createable: Boolean!
|
|
52906
|
-
custom: Boolean!
|
|
52907
|
-
dataType: DataType
|
|
52908
|
-
extraTypeInfo: FieldExtraTypeInfo
|
|
52909
|
-
filterable: Boolean!
|
|
52910
|
-
filteredLookupInfo: FilteredLookupInfo
|
|
52911
|
-
highScaleNumber: Boolean!
|
|
52912
|
-
htmlFormatted: Boolean!
|
|
52913
|
-
inlineHelpText: String
|
|
52914
|
-
label: String
|
|
52915
|
-
nameField: Boolean!
|
|
52916
|
-
polymorphicForeignKey: Boolean!
|
|
52917
|
-
precision: Int
|
|
52918
|
-
reference: Boolean!
|
|
52919
|
-
referenceTargetField: String
|
|
52920
|
-
referenceToInfos: [ReferenceToInfo]!
|
|
52921
|
-
relationshipName: String
|
|
52922
|
-
required: Boolean!
|
|
52923
|
-
scale: Int
|
|
52924
|
-
sortable: Boolean!
|
|
52925
|
-
updateable: Boolean!
|
|
52926
|
-
picklistValues: PicklistValues
|
|
52927
|
-
}
|
|
52928
|
-
|
|
52929
|
-
type ChildRelationship {
|
|
52930
|
-
childObjectApiName: String!
|
|
52931
|
-
fieldName: String
|
|
52932
|
-
junctionIdListNames: [String]!
|
|
52933
|
-
junctionReferenceTo: [String]!
|
|
52934
|
-
relationshipName: String
|
|
52935
|
-
objectInfo: ObjectInfo
|
|
52936
|
-
}
|
|
52937
|
-
|
|
52938
|
-
type DependentField {
|
|
52939
|
-
controllingField: String!
|
|
52940
|
-
dependentFields: [String]!
|
|
52941
|
-
}
|
|
52942
|
-
|
|
52943
|
-
type RecordTypeInfo {
|
|
52944
|
-
available: Boolean!
|
|
52945
|
-
defaultRecordTypeMapping: Boolean!
|
|
52946
|
-
master: Boolean!
|
|
52947
|
-
name: String
|
|
52948
|
-
recordTypeId: ID
|
|
52949
|
-
}
|
|
52950
|
-
|
|
52951
|
-
type ThemeInfo {
|
|
52952
|
-
color: String
|
|
52953
|
-
iconUrl: String
|
|
52954
|
-
}
|
|
52955
|
-
|
|
52956
|
-
enum DataType {
|
|
52957
|
-
ADDRESS
|
|
52958
|
-
BOOLEAN
|
|
52959
|
-
COMBOBOX
|
|
52960
|
-
COMPLEXVALUE
|
|
52961
|
-
CURRENCY
|
|
52962
|
-
DATE
|
|
52963
|
-
DATETIME
|
|
52964
|
-
DOUBLE
|
|
52965
|
-
EMAIL
|
|
52966
|
-
ENCRYPTEDSTRING
|
|
52967
|
-
PICKLIST
|
|
52968
|
-
BASE64
|
|
52969
|
-
INT
|
|
52970
|
-
JSON
|
|
52971
|
-
LONG
|
|
52972
|
-
LOCATION
|
|
52973
|
-
MULTIPICKLIST
|
|
52974
|
-
PERCENT
|
|
52975
|
-
PHONE
|
|
52976
|
-
REFERENCE
|
|
52977
|
-
STRING
|
|
52978
|
-
TEXTAREA
|
|
52979
|
-
TIME
|
|
52980
|
-
URL
|
|
52981
|
-
ANYTYPE
|
|
52982
|
-
JUNCTIONIDLIST
|
|
52983
|
-
}
|
|
52984
|
-
|
|
52985
|
-
enum FieldExtraTypeInfo {
|
|
52986
|
-
EXTERNAL_LOOKUP
|
|
52987
|
-
IMAGE_URL
|
|
52988
|
-
INDIRECT_LOOKUP
|
|
52989
|
-
PERSON_NAME
|
|
52990
|
-
PLAIN_TEXT_AREA
|
|
52991
|
-
RICH_TEXT_AREA
|
|
52992
|
-
SWITCHABLE_PERSON_NAME
|
|
52993
|
-
}
|
|
52994
|
-
|
|
52995
|
-
type FilteredLookupInfo {
|
|
52996
|
-
controllingFields: [String]!
|
|
52997
|
-
dependent: Boolean!
|
|
52998
|
-
optionalFilter: Boolean!
|
|
52999
|
-
}
|
|
53000
|
-
|
|
53001
|
-
type ReferenceToInfo {
|
|
53002
|
-
ApiName: String!
|
|
53003
|
-
nameFields: [String]!
|
|
53004
|
-
objectInfo: ObjectInfo
|
|
53005
|
-
}
|
|
53006
|
-
|
|
53007
|
-
type PicklistValues {
|
|
53008
|
-
controllerValues: [ControllerValue]!
|
|
53009
|
-
defaultValue: ObjectInfoPicklistValue
|
|
53010
|
-
values: [ObjectInfoPicklistValue]!
|
|
53011
|
-
}
|
|
53012
|
-
|
|
53013
|
-
type ControllerValue {
|
|
53014
|
-
value: String
|
|
53015
|
-
index: Int
|
|
53016
|
-
}
|
|
53017
|
-
|
|
53018
|
-
type ObjectInfoPicklistValue {
|
|
53019
|
-
attributes: PicklistValueAttributes
|
|
53020
|
-
label: String
|
|
53021
|
-
validFor: [Int]!
|
|
53022
|
-
value: String
|
|
53023
|
-
}
|
|
53024
|
-
|
|
53025
|
-
union PicklistValueAttributes =
|
|
53026
|
-
CaseStatusPicklistValueAttributes
|
|
53027
|
-
| LeadStatusPicklistValueAttributes
|
|
53028
|
-
| OpportunityStagePicklistValueAttributes
|
|
53029
|
-
|
|
53030
|
-
type CaseStatusPicklistValueAttributes {
|
|
53031
|
-
closed: Boolean!
|
|
53032
|
-
}
|
|
53033
|
-
|
|
53034
|
-
type LeadStatusPicklistValueAttributes {
|
|
53035
|
-
converted: Boolean!
|
|
53036
|
-
picklistAttributesValueType: String
|
|
53037
|
-
}
|
|
53038
|
-
|
|
53039
|
-
type OpportunityStagePicklistValueAttributes {
|
|
53040
|
-
closed: Boolean!
|
|
53041
|
-
defaultProbability: Float
|
|
53042
|
-
forecastCategoryName: String
|
|
53043
|
-
won: Boolean!
|
|
53044
|
-
}
|
|
53045
52684
|
`;
|
|
52685
|
+
const baseTypeDefinitions = uiapiSchemaString + additionalSchemaDefinitions;
|
|
53046
52686
|
/**
|
|
53047
52687
|
*
|
|
53048
52688
|
* @param objectInfos
|
|
@@ -53126,7 +52766,7 @@ function generateRecordQueries(objectInfos) {
|
|
|
53126
52766
|
DisplayValue: String
|
|
53127
52767
|
LastModifiedById: IDValue
|
|
53128
52768
|
LastModifiedDate: DateTimeValue
|
|
53129
|
-
RecordTypeId: IDValue
|
|
52769
|
+
RecordTypeId(fallback: Boolean): IDValue
|
|
53130
52770
|
SystemModstamp: DateTimeValue
|
|
53131
52771
|
WeakEtag: Long!
|
|
53132
52772
|
_drafts: JSON
|
|
@@ -59786,6 +59426,8 @@ function primingSessionFactory(config) {
|
|
|
59786
59426
|
let lazyDraftQueue;
|
|
59787
59427
|
let lazyDraftManager;
|
|
59788
59428
|
let lazyLuvio;
|
|
59429
|
+
let lazyInternalLuvio;
|
|
59430
|
+
let lazyEnvironment;
|
|
59789
59431
|
let lazyBaseDurableStore;
|
|
59790
59432
|
let lazyNetworkAdapter;
|
|
59791
59433
|
let lazyObjectInfoService;
|
|
@@ -59793,7 +59435,10 @@ let lazyObjectInfoService;
|
|
|
59793
59435
|
* This returns the LDS on Mobile Runtime singleton object.
|
|
59794
59436
|
*/
|
|
59795
59437
|
function getRuntime() {
|
|
59796
|
-
if (lazyLuvio === undefined ||
|
|
59438
|
+
if (lazyLuvio === undefined ||
|
|
59439
|
+
lazyEnvironment === undefined ||
|
|
59440
|
+
lazyDraftManager === undefined ||
|
|
59441
|
+
lazyDraftQueue === undefined) {
|
|
59797
59442
|
// coerce runtime provided userID values to the 18 character version used in LDS
|
|
59798
59443
|
const userId = getRecordId18(caseSensitiveUserId);
|
|
59799
59444
|
if (userId === undefined || userId.length !== 18) {
|
|
@@ -59814,7 +59459,8 @@ function getRuntime() {
|
|
|
59814
59459
|
: {}, () => getIngestMetadataForInternalAdapters !== undefined
|
|
59815
59460
|
? getIngestMetadataForInternalAdapters()
|
|
59816
59461
|
: {});
|
|
59817
|
-
const { adapters: { getObjectInfo, getObjectInfos, getRecord }, durableEnvironment: internalAdapterDurableEnvironment, } = buildInternalAdapters(internalAdapterStore, lazyNetworkAdapter, internalAdapterDurableStore, (apiName, objectInfo) => lazyObjectInfoService.ensureObjectInfoCached(apiName, objectInfo));
|
|
59462
|
+
const { adapters: { getObjectInfo, getObjectInfos, getRecord }, durableEnvironment: internalAdapterDurableEnvironment, luvio: internalLuvio, } = buildInternalAdapters(internalAdapterStore, lazyNetworkAdapter, internalAdapterDurableStore, (apiName, objectInfo) => lazyObjectInfoService.ensureObjectInfoCached(apiName, objectInfo));
|
|
59463
|
+
lazyInternalLuvio = internalLuvio;
|
|
59818
59464
|
getIngestRecordsForInternalAdapters =
|
|
59819
59465
|
internalAdapterDurableEnvironment.getIngestStagingStoreRecords;
|
|
59820
59466
|
getIngestMetadataForInternalAdapters =
|
|
@@ -59851,7 +59497,8 @@ function getRuntime() {
|
|
|
59851
59497
|
isDraftId: isGenerated,
|
|
59852
59498
|
}, draftEnv);
|
|
59853
59499
|
draftEnv = performQuickActionDraftEnvironment(lazyLuvio, draftEnv, quickActionHandler);
|
|
59854
|
-
|
|
59500
|
+
lazyEnvironment = draftEnv;
|
|
59501
|
+
lazyLuvio = new Luvio(lazyEnvironment, {
|
|
59855
59502
|
instrument: instrumentLuvio,
|
|
59856
59503
|
});
|
|
59857
59504
|
// Currently instruments store runtime perf
|
|
@@ -59896,6 +59543,8 @@ function getRuntime() {
|
|
|
59896
59543
|
}
|
|
59897
59544
|
return {
|
|
59898
59545
|
luvio: lazyLuvio,
|
|
59546
|
+
internalLuvio: lazyInternalLuvio,
|
|
59547
|
+
environment: lazyEnvironment,
|
|
59899
59548
|
draftManager: lazyDraftManager,
|
|
59900
59549
|
draftQueue: lazyDraftQueue,
|
|
59901
59550
|
createPrimingSession: (config) => {
|
|
@@ -59921,7 +59570,7 @@ register({
|
|
|
59921
59570
|
id: '@salesforce/lds-network-adapter',
|
|
59922
59571
|
instrument: instrument$1,
|
|
59923
59572
|
});
|
|
59924
|
-
// version: 1.
|
|
59573
|
+
// version: 1.147.1-855bb4b87
|
|
59925
59574
|
|
|
59926
59575
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59927
59576
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -80766,7 +80415,7 @@ register({
|
|
|
80766
80415
|
configuration: { ...configurationForGraphQLAdapters },
|
|
80767
80416
|
instrument,
|
|
80768
80417
|
});
|
|
80769
|
-
// version: 1.
|
|
80418
|
+
// version: 1.147.1-d8c5a8b99
|
|
80770
80419
|
|
|
80771
80420
|
// On core the unstable adapters are re-exported with different names,
|
|
80772
80421
|
|
|
@@ -83004,7 +82653,7 @@ withDefaultLuvio((luvio) => {
|
|
|
83004
82653
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
83005
82654
|
graphQLImperative = ldsAdapter;
|
|
83006
82655
|
});
|
|
83007
|
-
// version: 1.
|
|
82656
|
+
// version: 1.147.1-d8c5a8b99
|
|
83008
82657
|
|
|
83009
82658
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
83010
82659
|
__proto__: null,
|
|
@@ -83156,7 +82805,7 @@ function buildAdapterRequestContext(nativeRequestContext) {
|
|
|
83156
82805
|
cachePolicy: buildCachePolicy(cachePolicy),
|
|
83157
82806
|
priority,
|
|
83158
82807
|
};
|
|
83159
|
-
if (observabilityContext !== undefined) {
|
|
82808
|
+
if (observabilityContext !== undefined && observabilityContext !== null) {
|
|
83160
82809
|
requestContext.requestCorrelator = {
|
|
83161
82810
|
observabilityContext,
|
|
83162
82811
|
};
|
|
@@ -83693,4 +83342,4 @@ const { luvio } = getRuntime();
|
|
|
83693
83342
|
setDefaultLuvio({ luvio });
|
|
83694
83343
|
|
|
83695
83344
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
83696
|
-
// version: 1.
|
|
83345
|
+
// 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
|