@salesforce/lds-worker-api 1.100.2 → 1.100.3
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 +1 -1
- package/dist/standalone/es/lds-worker-api.js +23 -15
- package/dist/standalone/umd/lds-worker-api.js +23 -15
- package/package.json +10 -10
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/multiple-recordquery.adapter-testcase.json +28 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/serverresponse/multiple-recordquery.server-response.network-mock.json +201 -0
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/multiple-recordquery.adapter-snapshot.result.json +53 -0
|
@@ -743,4 +743,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
746
|
-
// version: 1.100.
|
|
746
|
+
// version: 1.100.3-8176c84f6
|
|
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
callbacks.push(callback);
|
|
3778
3778
|
}
|
|
3779
|
-
// version: 1.100.
|
|
3779
|
+
// version: 1.100.3-8176c84f6
|
|
3780
3780
|
|
|
3781
3781
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3782
3782
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15200,7 +15200,7 @@ function parseAndVisit(source) {
|
|
|
15200
15200
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15201
15201
|
return luvioDocumentNode;
|
|
15202
15202
|
}
|
|
15203
|
-
// version: 1.100.
|
|
15203
|
+
// version: 1.100.3-8176c84f6
|
|
15204
15204
|
|
|
15205
15205
|
function unwrap(data) {
|
|
15206
15206
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16081,7 +16081,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata) {
|
|
|
16081
16081
|
const { apiFamily, name } = metadata;
|
|
16082
16082
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16083
16083
|
}
|
|
16084
|
-
// version: 1.100.
|
|
16084
|
+
// version: 1.100.3-8176c84f6
|
|
16085
16085
|
|
|
16086
16086
|
/**
|
|
16087
16087
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -43634,7 +43634,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43634
43634
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
43635
43635
|
});
|
|
43636
43636
|
});
|
|
43637
|
-
// version: 1.100.
|
|
43637
|
+
// version: 1.100.3-8176c84f6
|
|
43638
43638
|
|
|
43639
43639
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
43640
43640
|
|
|
@@ -53868,7 +53868,8 @@ const assignedToMeFragmentSelections = [
|
|
|
53868
53868
|
},
|
|
53869
53869
|
];
|
|
53870
53870
|
function removeSyntheticFields(result, query) {
|
|
53871
|
-
|
|
53871
|
+
// It is possible that there are multiple record query.
|
|
53872
|
+
const connectionSelections = query.definitions
|
|
53872
53873
|
.filter(isOperationDefinitionNode)
|
|
53873
53874
|
.reduce((accu, definition) => {
|
|
53874
53875
|
return accu.concat(definition.selectionSet.selections);
|
|
@@ -53879,10 +53880,12 @@ function removeSyntheticFields(result, query) {
|
|
|
53879
53880
|
.filter(isFieldNode)
|
|
53880
53881
|
.filter(nodeIsNamed('query'))
|
|
53881
53882
|
.reduce(extractSelections, [])
|
|
53882
|
-
.filter(isFieldNode)
|
|
53883
|
+
.filter(isFieldNode);
|
|
53883
53884
|
// queries that are not RecordQuery will be undefined here.
|
|
53884
|
-
// we need to also check that
|
|
53885
|
-
if (!
|
|
53885
|
+
// we need to also check that connectionSelections are not undefined. If any connectionSelection has no `selectionSet` defined, that is a malformed query.
|
|
53886
|
+
if (!connectionSelections ||
|
|
53887
|
+
connectionSelections.length === 0 ||
|
|
53888
|
+
connectionSelections.some((connection) => connection.selectionSet === undefined)) {
|
|
53886
53889
|
return result;
|
|
53887
53890
|
}
|
|
53888
53891
|
const nodeJson = result.data.uiapi.query;
|
|
@@ -53891,10 +53894,15 @@ function removeSyntheticFields(result, query) {
|
|
|
53891
53894
|
const output = { ...result };
|
|
53892
53895
|
const outputApiParent = output.data.uiapi.query;
|
|
53893
53896
|
const keys$1 = keys$3(nodeJson);
|
|
53894
|
-
keys$1.forEach((
|
|
53897
|
+
keys$1.forEach((recordName) => {
|
|
53895
53898
|
const outputApi = {};
|
|
53896
|
-
|
|
53897
|
-
|
|
53899
|
+
// Each connectionSelection's maps its name or alias to one of returned records. The record name could be `apiName' or alias
|
|
53900
|
+
const targetConnection = connectionSelections.find((connection) => connection.name.value === recordName ||
|
|
53901
|
+
(connection.alias !== undefined && connection.alias.value === recordName));
|
|
53902
|
+
if (targetConnection !== undefined) {
|
|
53903
|
+
createUserJsonOutput(targetConnection, nodeJson[recordName], outputApi);
|
|
53904
|
+
outputApiParent[recordName] = outputApi;
|
|
53905
|
+
}
|
|
53898
53906
|
});
|
|
53899
53907
|
return output;
|
|
53900
53908
|
}
|
|
@@ -58768,7 +58776,7 @@ register({
|
|
|
58768
58776
|
id: '@salesforce/lds-network-adapter',
|
|
58769
58777
|
instrument: instrument$1,
|
|
58770
58778
|
});
|
|
58771
|
-
// version: 1.100.
|
|
58779
|
+
// version: 1.100.3-8176c84f6
|
|
58772
58780
|
|
|
58773
58781
|
const { create: create$2, keys: keys$2 } = Object;
|
|
58774
58782
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -76421,7 +76429,7 @@ register({
|
|
|
76421
76429
|
configuration: { ...configurationForGraphQLAdapters },
|
|
76422
76430
|
instrument,
|
|
76423
76431
|
});
|
|
76424
|
-
// version: 1.100.
|
|
76432
|
+
// version: 1.100.3-8176c84f6
|
|
76425
76433
|
|
|
76426
76434
|
// On core the unstable adapters are re-exported with different names,
|
|
76427
76435
|
|
|
@@ -78550,7 +78558,7 @@ withDefaultLuvio((luvio) => {
|
|
|
78550
78558
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
78551
78559
|
graphQLImperative = ldsAdapter;
|
|
78552
78560
|
});
|
|
78553
|
-
// version: 1.100.
|
|
78561
|
+
// version: 1.100.3-8176c84f6
|
|
78554
78562
|
|
|
78555
78563
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
78556
78564
|
__proto__: null,
|
|
@@ -79224,4 +79232,4 @@ const { luvio } = getRuntime();
|
|
|
79224
79232
|
setDefaultLuvio({ luvio });
|
|
79225
79233
|
|
|
79226
79234
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
79227
|
-
// version: 1.100.
|
|
79235
|
+
// version: 1.100.3-8176c84f6
|
|
@@ -3782,7 +3782,7 @@
|
|
|
3782
3782
|
}
|
|
3783
3783
|
callbacks.push(callback);
|
|
3784
3784
|
}
|
|
3785
|
-
// version: 1.100.
|
|
3785
|
+
// version: 1.100.3-8176c84f6
|
|
3786
3786
|
|
|
3787
3787
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3788
3788
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15206,7 +15206,7 @@
|
|
|
15206
15206
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15207
15207
|
return luvioDocumentNode;
|
|
15208
15208
|
}
|
|
15209
|
-
// version: 1.100.
|
|
15209
|
+
// version: 1.100.3-8176c84f6
|
|
15210
15210
|
|
|
15211
15211
|
function unwrap(data) {
|
|
15212
15212
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16087,7 +16087,7 @@
|
|
|
16087
16087
|
const { apiFamily, name } = metadata;
|
|
16088
16088
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16089
16089
|
}
|
|
16090
|
-
// version: 1.100.
|
|
16090
|
+
// version: 1.100.3-8176c84f6
|
|
16091
16091
|
|
|
16092
16092
|
/**
|
|
16093
16093
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -43640,7 +43640,7 @@
|
|
|
43640
43640
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
43641
43641
|
});
|
|
43642
43642
|
});
|
|
43643
|
-
// version: 1.100.
|
|
43643
|
+
// version: 1.100.3-8176c84f6
|
|
43644
43644
|
|
|
43645
43645
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
43646
43646
|
|
|
@@ -53874,7 +53874,8 @@
|
|
|
53874
53874
|
},
|
|
53875
53875
|
];
|
|
53876
53876
|
function removeSyntheticFields(result, query) {
|
|
53877
|
-
|
|
53877
|
+
// It is possible that there are multiple record query.
|
|
53878
|
+
const connectionSelections = query.definitions
|
|
53878
53879
|
.filter(isOperationDefinitionNode)
|
|
53879
53880
|
.reduce((accu, definition) => {
|
|
53880
53881
|
return accu.concat(definition.selectionSet.selections);
|
|
@@ -53885,10 +53886,12 @@
|
|
|
53885
53886
|
.filter(isFieldNode)
|
|
53886
53887
|
.filter(nodeIsNamed('query'))
|
|
53887
53888
|
.reduce(extractSelections, [])
|
|
53888
|
-
.filter(isFieldNode)
|
|
53889
|
+
.filter(isFieldNode);
|
|
53889
53890
|
// queries that are not RecordQuery will be undefined here.
|
|
53890
|
-
// we need to also check that
|
|
53891
|
-
if (!
|
|
53891
|
+
// we need to also check that connectionSelections are not undefined. If any connectionSelection has no `selectionSet` defined, that is a malformed query.
|
|
53892
|
+
if (!connectionSelections ||
|
|
53893
|
+
connectionSelections.length === 0 ||
|
|
53894
|
+
connectionSelections.some((connection) => connection.selectionSet === undefined)) {
|
|
53892
53895
|
return result;
|
|
53893
53896
|
}
|
|
53894
53897
|
const nodeJson = result.data.uiapi.query;
|
|
@@ -53897,10 +53900,15 @@
|
|
|
53897
53900
|
const output = { ...result };
|
|
53898
53901
|
const outputApiParent = output.data.uiapi.query;
|
|
53899
53902
|
const keys$1 = keys$3(nodeJson);
|
|
53900
|
-
keys$1.forEach((
|
|
53903
|
+
keys$1.forEach((recordName) => {
|
|
53901
53904
|
const outputApi = {};
|
|
53902
|
-
|
|
53903
|
-
|
|
53905
|
+
// Each connectionSelection's maps its name or alias to one of returned records. The record name could be `apiName' or alias
|
|
53906
|
+
const targetConnection = connectionSelections.find((connection) => connection.name.value === recordName ||
|
|
53907
|
+
(connection.alias !== undefined && connection.alias.value === recordName));
|
|
53908
|
+
if (targetConnection !== undefined) {
|
|
53909
|
+
createUserJsonOutput(targetConnection, nodeJson[recordName], outputApi);
|
|
53910
|
+
outputApiParent[recordName] = outputApi;
|
|
53911
|
+
}
|
|
53904
53912
|
});
|
|
53905
53913
|
return output;
|
|
53906
53914
|
}
|
|
@@ -58774,7 +58782,7 @@
|
|
|
58774
58782
|
id: '@salesforce/lds-network-adapter',
|
|
58775
58783
|
instrument: instrument$1,
|
|
58776
58784
|
});
|
|
58777
|
-
// version: 1.100.
|
|
58785
|
+
// version: 1.100.3-8176c84f6
|
|
58778
58786
|
|
|
58779
58787
|
const { create: create$2, keys: keys$2 } = Object;
|
|
58780
58788
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -76427,7 +76435,7 @@
|
|
|
76427
76435
|
configuration: { ...configurationForGraphQLAdapters },
|
|
76428
76436
|
instrument,
|
|
76429
76437
|
});
|
|
76430
|
-
// version: 1.100.
|
|
76438
|
+
// version: 1.100.3-8176c84f6
|
|
76431
76439
|
|
|
76432
76440
|
// On core the unstable adapters are re-exported with different names,
|
|
76433
76441
|
|
|
@@ -78556,7 +78564,7 @@
|
|
|
78556
78564
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
78557
78565
|
graphQLImperative = ldsAdapter;
|
|
78558
78566
|
});
|
|
78559
|
-
// version: 1.100.
|
|
78567
|
+
// version: 1.100.3-8176c84f6
|
|
78560
78568
|
|
|
78561
78569
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
78562
78570
|
__proto__: null,
|
|
@@ -79247,4 +79255,4 @@
|
|
|
79247
79255
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
79248
79256
|
|
|
79249
79257
|
}));
|
|
79250
|
-
// version: 1.100.
|
|
79258
|
+
// version: 1.100.3-8176c84f6
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.100.
|
|
3
|
+
"version": "1.100.3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/umd/lds-worker-api.js",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"@luvio/engine": "0.135.4",
|
|
38
38
|
"@luvio/environments": "0.135.4",
|
|
39
39
|
"@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
|
|
40
|
-
"@salesforce/lds-adapters-graphql": "^1.100.
|
|
41
|
-
"@salesforce/lds-adapters-uiapi": "^1.100.
|
|
42
|
-
"@salesforce/lds-default-luvio": "^1.100.
|
|
43
|
-
"@salesforce/lds-drafts": "^1.100.
|
|
44
|
-
"@salesforce/lds-graphql-parser": "^1.100.
|
|
45
|
-
"@salesforce/lds-luvio-engine": "^1.100.
|
|
46
|
-
"@salesforce/lds-priming": "^1.100.
|
|
47
|
-
"@salesforce/lds-runtime-mobile": "^1.100.
|
|
48
|
-
"@salesforce/nimbus-plugin-lds": "^1.100.
|
|
40
|
+
"@salesforce/lds-adapters-graphql": "^1.100.3",
|
|
41
|
+
"@salesforce/lds-adapters-uiapi": "^1.100.3",
|
|
42
|
+
"@salesforce/lds-default-luvio": "^1.100.3",
|
|
43
|
+
"@salesforce/lds-drafts": "^1.100.3",
|
|
44
|
+
"@salesforce/lds-graphql-parser": "^1.100.3",
|
|
45
|
+
"@salesforce/lds-luvio-engine": "^1.100.3",
|
|
46
|
+
"@salesforce/lds-priming": "^1.100.3",
|
|
47
|
+
"@salesforce/lds-runtime-mobile": "^1.100.3",
|
|
48
|
+
"@salesforce/nimbus-plugin-lds": "^1.100.3",
|
|
49
49
|
"ajv": "^8.11.0",
|
|
50
50
|
"glob": "^7.1.5",
|
|
51
51
|
"nimbus-types": "^2.0.0-alpha1",
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"testCaseName": "Mutiple record queries are supported",
|
|
3
|
+
"adapters": [
|
|
4
|
+
{
|
|
5
|
+
"name": "getObjectInfo",
|
|
6
|
+
"config": { "objectApiName": "ServiceAppointment" }
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "getObjectInfo",
|
|
10
|
+
"config": { "objectApiName": "Account" }
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "graphql",
|
|
14
|
+
"config": {
|
|
15
|
+
"query": "{ uiapi { query { Account(first: 1) @category(name: \"recordQuery\") { edges { node { Id }} } ServiceAppointment(first: 1 where:{OwnerId:{eq :\"005x0000000xPQs\"}}) @category(name: \"recordQuery\") { edges { node { Id AppointmentNumber {value} } } } second: ServiceAppointment(first: 2 where:{OwnerId:{eq :\"005x0000000xPQs\"}}) @category(name: \"recordQuery\") { edges { node { Id AccountId {value} } } }}}}",
|
|
16
|
+
"variables": {}
|
|
17
|
+
},
|
|
18
|
+
"expectedToSucceed": true,
|
|
19
|
+
"expectedResult": "./adapter-testcases/graphQL/snapshotdata/multiple-recordquery.adapter-snapshot.result.json"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"networkMocks": [
|
|
23
|
+
"./adapter-testcases/graphQL/objectInfos/ServiceAppointment.network-mock.json",
|
|
24
|
+
"./adapter-testcases/graphQL/objectInfos/Account.network-mock.json",
|
|
25
|
+
"./adapter-testcases/graphQL/serverresponse/multiple-recordquery.server-response.network-mock.json"
|
|
26
|
+
],
|
|
27
|
+
"freezeTime": true
|
|
28
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"data": {
|
|
5
|
+
"uiapi": {
|
|
6
|
+
"query": {
|
|
7
|
+
"Account": {
|
|
8
|
+
"edges": [
|
|
9
|
+
{
|
|
10
|
+
"node": {
|
|
11
|
+
"Id": "001x0000004cKZHAA2",
|
|
12
|
+
"__typename": "Account",
|
|
13
|
+
"DisplayValue": "A001_2_10001",
|
|
14
|
+
"ApiName": "Account",
|
|
15
|
+
"WeakEtag": 1457231388000,
|
|
16
|
+
"LastModifiedById": {
|
|
17
|
+
"__typename": "IDValue",
|
|
18
|
+
"value": "005x0000000xNhqAAE",
|
|
19
|
+
"displayValue": null
|
|
20
|
+
},
|
|
21
|
+
"LastModifiedDate": {
|
|
22
|
+
"__typename": "DateTimeValue",
|
|
23
|
+
"value": "2016-03-06T02:29:47.000Z",
|
|
24
|
+
"displayValue": "3/5/2016, 6:29 PM"
|
|
25
|
+
},
|
|
26
|
+
"SystemModstamp": {
|
|
27
|
+
"__typename": "DateTimeValue",
|
|
28
|
+
"value": "2016-03-06T02:29:48.000Z",
|
|
29
|
+
"displayValue": "3/5/2016, 6:29 PM"
|
|
30
|
+
},
|
|
31
|
+
"ldsRecordTypeId": {
|
|
32
|
+
"__typename": "IDValue",
|
|
33
|
+
"value": "012000000000000AAA",
|
|
34
|
+
"displayValue": null
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"cursor": "djE6MA==",
|
|
38
|
+
"__typename": "AccountEdge"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"__typename": "AccountConnection",
|
|
42
|
+
"pageInfo": {
|
|
43
|
+
"hasNextPage": true,
|
|
44
|
+
"endCursor": "djE6MA==",
|
|
45
|
+
"startCursor": "djE6MA==",
|
|
46
|
+
"__typename": "PageInfo"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"ServiceAppointment": {
|
|
50
|
+
"edges": [
|
|
51
|
+
{
|
|
52
|
+
"node": {
|
|
53
|
+
"Id": "08px000000JOa8mAAD",
|
|
54
|
+
"AppointmentNumber": {
|
|
55
|
+
"value": "19474374",
|
|
56
|
+
"__typename": "StringValue",
|
|
57
|
+
"displayValue": null
|
|
58
|
+
},
|
|
59
|
+
"OwnerId": {
|
|
60
|
+
"value": "005x0000000xPQsAAM",
|
|
61
|
+
"__typename": "IDValue",
|
|
62
|
+
"displayValue": null
|
|
63
|
+
},
|
|
64
|
+
"__typename": "ServiceAppointment",
|
|
65
|
+
"DisplayValue": "19474374",
|
|
66
|
+
"ApiName": "ServiceAppointment",
|
|
67
|
+
"WeakEtag": 1522877275000,
|
|
68
|
+
"LastModifiedById": {
|
|
69
|
+
"__typename": "IDValue",
|
|
70
|
+
"value": "005x0000000xNhvAAE",
|
|
71
|
+
"displayValue": null
|
|
72
|
+
},
|
|
73
|
+
"LastModifiedDate": {
|
|
74
|
+
"__typename": "DateTimeValue",
|
|
75
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
76
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
77
|
+
},
|
|
78
|
+
"SystemModstamp": {
|
|
79
|
+
"__typename": "DateTimeValue",
|
|
80
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
81
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
82
|
+
},
|
|
83
|
+
"ldsRecordTypeId": {
|
|
84
|
+
"__typename": "IDValue",
|
|
85
|
+
"value": "012000000000000AAA",
|
|
86
|
+
"displayValue": null
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"cursor": "djE6MA==",
|
|
90
|
+
"__typename": "ServiceAppointmentEdge"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"__typename": "ServiceAppointmentConnection",
|
|
94
|
+
"pageInfo": {
|
|
95
|
+
"hasNextPage": true,
|
|
96
|
+
"endCursor": "djE6MA==",
|
|
97
|
+
"startCursor": "djE6MA==",
|
|
98
|
+
"__typename": "PageInfo"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"second": {
|
|
102
|
+
"edges": [
|
|
103
|
+
{
|
|
104
|
+
"node": {
|
|
105
|
+
"Id": "08px000000JOa8mAAD",
|
|
106
|
+
"AccountId": {
|
|
107
|
+
"value": "001x0000004cKfzAAE",
|
|
108
|
+
"__typename": "IDValue",
|
|
109
|
+
"displayValue": null
|
|
110
|
+
},
|
|
111
|
+
"OwnerId": {
|
|
112
|
+
"value": "005x0000000xPQsAAM",
|
|
113
|
+
"__typename": "IDValue",
|
|
114
|
+
"displayValue": null
|
|
115
|
+
},
|
|
116
|
+
"__typename": "ServiceAppointment",
|
|
117
|
+
"DisplayValue": "19474374",
|
|
118
|
+
"ApiName": "ServiceAppointment",
|
|
119
|
+
"WeakEtag": 1522877275000,
|
|
120
|
+
"LastModifiedById": {
|
|
121
|
+
"__typename": "IDValue",
|
|
122
|
+
"value": "005x0000000xNhvAAE",
|
|
123
|
+
"displayValue": null
|
|
124
|
+
},
|
|
125
|
+
"LastModifiedDate": {
|
|
126
|
+
"__typename": "DateTimeValue",
|
|
127
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
128
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
129
|
+
},
|
|
130
|
+
"SystemModstamp": {
|
|
131
|
+
"__typename": "DateTimeValue",
|
|
132
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
133
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
134
|
+
},
|
|
135
|
+
"ldsRecordTypeId": {
|
|
136
|
+
"__typename": "IDValue",
|
|
137
|
+
"value": "012000000000000AAA",
|
|
138
|
+
"displayValue": null
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"cursor": "djE6MA==",
|
|
142
|
+
"__typename": "ServiceAppointmentEdge"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"node": {
|
|
146
|
+
"Id": "08px000000JOa8nAAD",
|
|
147
|
+
"AccountId": {
|
|
148
|
+
"value": "001x0000004cKfzAAE",
|
|
149
|
+
"__typename": "IDValue",
|
|
150
|
+
"displayValue": null
|
|
151
|
+
},
|
|
152
|
+
"OwnerId": {
|
|
153
|
+
"value": "005x0000000xPQsAAM",
|
|
154
|
+
"__typename": "IDValue",
|
|
155
|
+
"displayValue": null
|
|
156
|
+
},
|
|
157
|
+
"__typename": "ServiceAppointment",
|
|
158
|
+
"DisplayValue": "19474375",
|
|
159
|
+
"ApiName": "ServiceAppointment",
|
|
160
|
+
"WeakEtag": 1522877275000,
|
|
161
|
+
"LastModifiedById": {
|
|
162
|
+
"__typename": "IDValue",
|
|
163
|
+
"value": "005x0000000xNhvAAE",
|
|
164
|
+
"displayValue": null
|
|
165
|
+
},
|
|
166
|
+
"LastModifiedDate": {
|
|
167
|
+
"__typename": "DateTimeValue",
|
|
168
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
169
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
170
|
+
},
|
|
171
|
+
"SystemModstamp": {
|
|
172
|
+
"__typename": "DateTimeValue",
|
|
173
|
+
"value": "2018-04-04T21:27:55.000Z",
|
|
174
|
+
"displayValue": "4/4/2018, 2:27 PM"
|
|
175
|
+
},
|
|
176
|
+
"ldsRecordTypeId": {
|
|
177
|
+
"__typename": "IDValue",
|
|
178
|
+
"value": "012000000000000AAA",
|
|
179
|
+
"displayValue": null
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"cursor": "djE6MQ==",
|
|
183
|
+
"__typename": "ServiceAppointmentEdge"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"__typename": "ServiceAppointmentConnection",
|
|
187
|
+
"pageInfo": {
|
|
188
|
+
"hasNextPage": true,
|
|
189
|
+
"endCursor": "djE6MQ==",
|
|
190
|
+
"startCursor": "djE6MA==",
|
|
191
|
+
"__typename": "PageInfo"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"__typename": "RecordQuery"
|
|
195
|
+
},
|
|
196
|
+
"__typename": "UIAPI"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"errors": []
|
|
200
|
+
}
|
|
201
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"data": {
|
|
3
|
+
"uiapi": {
|
|
4
|
+
"query": {
|
|
5
|
+
"Account": {
|
|
6
|
+
"edges": [
|
|
7
|
+
{
|
|
8
|
+
"node": {
|
|
9
|
+
"Id": "001x0000004cKZHAA2",
|
|
10
|
+
"_drafts": null
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"ServiceAppointment": {
|
|
16
|
+
"edges": [
|
|
17
|
+
{
|
|
18
|
+
"node": {
|
|
19
|
+
"Id": "08px000000JOa8mAAD",
|
|
20
|
+
"AppointmentNumber": {
|
|
21
|
+
"value": "19474374"
|
|
22
|
+
},
|
|
23
|
+
"_drafts": null
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"second": {
|
|
29
|
+
"edges": [
|
|
30
|
+
{
|
|
31
|
+
"node": {
|
|
32
|
+
"Id": "08px000000JOa8mAAD",
|
|
33
|
+
"AccountId": {
|
|
34
|
+
"value": "001x0000004cKfzAAE"
|
|
35
|
+
},
|
|
36
|
+
"_drafts": null
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"node": {
|
|
41
|
+
"Id": "08px000000JOa8nAAD",
|
|
42
|
+
"AccountId": {
|
|
43
|
+
"value": "001x0000004cKfzAAE"
|
|
44
|
+
},
|
|
45
|
+
"_drafts": null
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|