@salesforce/lds-runtime-mobile 1.309.0-dev10 → 1.309.0-dev12
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/main.js +26 -13
- package/dist/types/instrumentation/metrics.d.ts +1 -0
- package/package.json +18 -18
- package/sfdc/main.js +26 -13
- package/sfdc/types/instrumentation/metrics.d.ts +1 -0
package/dist/main.js
CHANGED
|
@@ -5533,7 +5533,7 @@ class DurableDraftQueue {
|
|
|
5533
5533
|
switch (result) {
|
|
5534
5534
|
case ProcessActionResult.BLOCKED_ON_ERROR:
|
|
5535
5535
|
this.state = DraftQueueState.Error;
|
|
5536
|
-
return Promise.reject();
|
|
5536
|
+
return Promise.reject('Unable to start queue - first action is in error state');
|
|
5537
5537
|
default:
|
|
5538
5538
|
return Promise.resolve();
|
|
5539
5539
|
}
|
|
@@ -6839,16 +6839,17 @@ class DraftManager {
|
|
|
6839
6839
|
return Promise.reject('cannot edit incompatible action type or uploading actions');
|
|
6840
6840
|
}
|
|
6841
6841
|
action.data.body.fields = { ...action.data.body.fields, ...fields };
|
|
6842
|
+
action.status = DraftActionStatus.Pending;
|
|
6842
6843
|
await this.draftQueue.updateDraftAction(action);
|
|
6843
6844
|
return this.buildDraftQueueItem(action);
|
|
6844
6845
|
}
|
|
6845
6846
|
isValidFieldMap(fields) {
|
|
6846
6847
|
const keys$1 = keys$6(fields);
|
|
6847
|
-
const validTypes = ['string', 'number', '
|
|
6848
|
+
const validTypes = ['string', 'number', 'boolean'];
|
|
6848
6849
|
for (let i = 0; i < keys$1.length; i++) {
|
|
6849
6850
|
const key = keys$1[i];
|
|
6850
6851
|
const value = fields[key];
|
|
6851
|
-
if (!validTypes.includes(typeof value)) {
|
|
6852
|
+
if (!validTypes.includes(typeof value) && value !== null) {
|
|
6852
6853
|
return false;
|
|
6853
6854
|
}
|
|
6854
6855
|
}
|
|
@@ -6876,6 +6877,7 @@ class DraftManager {
|
|
|
6876
6877
|
}
|
|
6877
6878
|
const data = action.data;
|
|
6878
6879
|
data.body.fields = { ...data.body.fields, ...fields };
|
|
6880
|
+
action.status = DraftActionStatus.Pending;
|
|
6879
6881
|
await this.draftQueue.updateDraftAction(action);
|
|
6880
6882
|
return this.buildDraftQueueItem(action);
|
|
6881
6883
|
}
|
|
@@ -12231,14 +12233,14 @@ async function connectionResolver(obj, args, context, info) {
|
|
|
12231
12233
|
limit = args.first;
|
|
12232
12234
|
}
|
|
12233
12235
|
let offset = 0;
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
if (!originalCursor) {
|
|
12237
|
-
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
12238
|
-
throw new Error('Internal Error: unable to determine `after` cursor value');
|
|
12239
|
-
}
|
|
12236
|
+
let originalCursor = context.mappedCursors.get(queryCacheKey);
|
|
12237
|
+
if (originalCursor) {
|
|
12240
12238
|
offset = decodeV1Cursor(originalCursor).i;
|
|
12241
12239
|
}
|
|
12240
|
+
else if (args.after) {
|
|
12241
|
+
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
12242
|
+
throw new Error('Internal Error: unable to determine `after` cursor value');
|
|
12243
|
+
}
|
|
12242
12244
|
// if the query wants to know `hasNextPage` then we need to request 1 additional record
|
|
12243
12245
|
let selections = info.fieldNodes
|
|
12244
12246
|
.map((n) => (n.selectionSet ? n.selectionSet.selections : []))
|
|
@@ -14830,8 +14832,9 @@ function createErrorSnapshot(result, snapshot) {
|
|
|
14830
14832
|
},
|
|
14831
14833
|
};
|
|
14832
14834
|
}
|
|
14833
|
-
function createLocalEvalSnapshot(data, seenRecords, recordId, rebuildWithLocalEval) {
|
|
14835
|
+
function createLocalEvalSnapshot(data, seenRecords, recordId, rebuildWithLocalEval, refresh) {
|
|
14834
14836
|
return {
|
|
14837
|
+
refresh,
|
|
14835
14838
|
recordId,
|
|
14836
14839
|
variables: {},
|
|
14837
14840
|
seenRecords,
|
|
@@ -15049,11 +15052,11 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
15049
15052
|
isDraftId,
|
|
15050
15053
|
getCanonicalId,
|
|
15051
15054
|
};
|
|
15055
|
+
const eventEmitter = createCustomAdapterEventEmitter(GRAPHQL_EVAL_NAMESPACE, requestContext.eventObservers || []);
|
|
15052
15056
|
try {
|
|
15053
15057
|
// NB: This occurs BEFORE synthetic field injection on purpose to
|
|
15054
15058
|
// ensure we don't charge the caller for spanning records we inject
|
|
15055
15059
|
// on their behalf.
|
|
15056
|
-
const eventEmitter = createCustomAdapterEventEmitter(GRAPHQL_EVAL_NAMESPACE, requestContext.eventObservers || []);
|
|
15057
15060
|
const queryInstrumentation = instrumentLimits(copy, config.variables || {});
|
|
15058
15061
|
eventEmitter({
|
|
15059
15062
|
type: 'graphql-query-instrumentation',
|
|
@@ -15185,7 +15188,7 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
15185
15188
|
// the error is network error or 504), otherwise we spread over
|
|
15186
15189
|
// the non-eval'ed snapshot (which will be either Fulfilled or Stale)
|
|
15187
15190
|
const resultSnapshot = nonEvaluatedSnapshot.state === 'Error'
|
|
15188
|
-
? createLocalEvalSnapshot(gqlResult, seenRecords, recordId, rebuildWithLocalEval)
|
|
15191
|
+
? createLocalEvalSnapshot(gqlResult, seenRecords, recordId, rebuildWithLocalEval, nonEvaluatedSnapshot.refresh)
|
|
15189
15192
|
: {
|
|
15190
15193
|
...nonEvaluatedSnapshot,
|
|
15191
15194
|
data: gqlResult,
|
|
@@ -15208,6 +15211,9 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
15208
15211
|
},
|
|
15209
15212
|
};
|
|
15210
15213
|
}
|
|
15214
|
+
if (refresh === undefined) {
|
|
15215
|
+
eventEmitter({ type: 'graphql-luvio-refresh-undefined' });
|
|
15216
|
+
}
|
|
15211
15217
|
if (possibleStaleRecordMap.size > 0) {
|
|
15212
15218
|
initiateStaleRecordRefresh(luvio, possibleStaleRecordMap);
|
|
15213
15219
|
resultSnapshot.state = 'Stale';
|
|
@@ -16425,6 +16431,7 @@ const GRAPHQL_EVAL_ROOT_QUERY_COUNT = 'gql-eval-root-query-count';
|
|
|
16425
16431
|
const GRAPHQL_EVAL_TOTAL_QUERY_COUNT = 'gql-eval-total-query-count';
|
|
16426
16432
|
const GRAPHQL_EVAL_MAX_CHILD_RELATIONSHIPS_COUNT = 'gql-eval-max-child-count';
|
|
16427
16433
|
const GRAPHQL_EVAL_QUERY_RECORD_COUNT = 'gql-eval-query-record-count';
|
|
16434
|
+
const GRAPHQL_SNAPSHOT_REFRESH_UNDEFINED = 'gql-snapshot-refresh-undefined';
|
|
16428
16435
|
/** Draft Queue */
|
|
16429
16436
|
const DRAFT_QUEUE_STATE_STARTED = 'draft-queue-state-started';
|
|
16430
16437
|
const DRAFT_QUEUE_STATE_ERROR = 'draft-queue-state-error';
|
|
@@ -16492,6 +16499,9 @@ function reportGraphqlQueryInstrumentation(data) {
|
|
|
16492
16499
|
ldsMobileInstrumentation.bucketValue(GRAPHQL_EVAL_MAX_CHILD_RELATIONSHIPS_COUNT, data.maxChildRelationships, queryBuckets);
|
|
16493
16500
|
ldsMobileInstrumentation.bucketValue(GRAPHQL_EVAL_QUERY_RECORD_COUNT, data.requestedRecordCount, recordBuckets);
|
|
16494
16501
|
}
|
|
16502
|
+
function incrementGraphQLRefreshUndfined() {
|
|
16503
|
+
ldsMobileInstrumentation.incrementCounter(GRAPHQL_SNAPSHOT_REFRESH_UNDEFINED);
|
|
16504
|
+
}
|
|
16495
16505
|
function reportDraftActionEvent(state) {
|
|
16496
16506
|
switch (state) {
|
|
16497
16507
|
case 'added':
|
|
@@ -16908,6 +16918,9 @@ function instrumentGraphQLEval(adapter) {
|
|
|
16908
16918
|
case 'graphql-query-instrumentation':
|
|
16909
16919
|
reportGraphqlQueryInstrumentation(data.data);
|
|
16910
16920
|
break;
|
|
16921
|
+
case 'graphql-luvio-refresh-undefined':
|
|
16922
|
+
incrementGraphQLRefreshUndfined();
|
|
16923
|
+
break;
|
|
16911
16924
|
}
|
|
16912
16925
|
}
|
|
16913
16926
|
},
|
|
@@ -19180,4 +19193,4 @@ register({
|
|
|
19180
19193
|
});
|
|
19181
19194
|
|
|
19182
19195
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
19183
|
-
// version: 1.309.0-
|
|
19196
|
+
// version: 1.309.0-dev12-09ae94a55e
|
|
@@ -8,6 +8,7 @@ export declare function reportGraphqlCreateSnapshotError(err: unknown): void;
|
|
|
8
8
|
export declare function reportGraphQlEvalDbReadDuration(duration: number): void;
|
|
9
9
|
export declare function reportGraphqlAdapterError(errorCode: string): void;
|
|
10
10
|
export declare function reportGraphqlQueryInstrumentation(data: QueryInstrumentation): void;
|
|
11
|
+
export declare function incrementGraphQLRefreshUndfined(): void;
|
|
11
12
|
export declare function reportDraftActionEvent(state: 'added' | 'uploading' | 'completed' | 'deleted' | 'updated' | 'failed'): void;
|
|
12
13
|
export declare function reportDraftQueueState(state: 'started' | 'error' | 'waiting' | 'stopped'): void;
|
|
13
14
|
export declare function reportDraftAwareContentDocumentVersionSynthesizeError(err: unknown): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-mobile",
|
|
3
|
-
"version": "1.309.0-
|
|
3
|
+
"version": "1.309.0-dev12",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS runtime for mobile/hybrid environments.",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,27 +32,27 @@
|
|
|
32
32
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@salesforce/lds-adapters-uiapi-mobile": "^1.309.0-
|
|
36
|
-
"@salesforce/lds-bindings": "^1.309.0-
|
|
37
|
-
"@salesforce/lds-instrumentation": "^1.309.0-
|
|
38
|
-
"@salesforce/lds-priming": "^1.309.0-
|
|
35
|
+
"@salesforce/lds-adapters-uiapi-mobile": "^1.309.0-dev12",
|
|
36
|
+
"@salesforce/lds-bindings": "^1.309.0-dev12",
|
|
37
|
+
"@salesforce/lds-instrumentation": "^1.309.0-dev12",
|
|
38
|
+
"@salesforce/lds-priming": "^1.309.0-dev12",
|
|
39
39
|
"@salesforce/user": "0.0.21",
|
|
40
40
|
"o11y": "250.7.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-adapters-graphql": "^1.309.0-
|
|
44
|
-
"@salesforce/lds-drafts": "^1.309.0-
|
|
45
|
-
"@salesforce/lds-drafts-adapters-uiapi": "^1.309.0-
|
|
46
|
-
"@salesforce/lds-durable-records": "^1.309.0-
|
|
47
|
-
"@salesforce/lds-graphql-eval": "^1.309.0-
|
|
48
|
-
"@salesforce/lds-graphql-local-evaluation": "^1.309.0-
|
|
49
|
-
"@salesforce/lds-network-adapter": "^1.309.0-
|
|
50
|
-
"@salesforce/lds-network-nimbus": "^1.309.0-
|
|
51
|
-
"@salesforce/lds-store-binary": "^1.309.0-
|
|
52
|
-
"@salesforce/lds-store-nimbus": "^1.309.0-
|
|
53
|
-
"@salesforce/lds-store-sql": "^1.309.0-
|
|
54
|
-
"@salesforce/lds-utils-adapters": "^1.309.0-
|
|
55
|
-
"@salesforce/nimbus-plugin-lds": "^1.309.0-
|
|
43
|
+
"@salesforce/lds-adapters-graphql": "^1.309.0-dev12",
|
|
44
|
+
"@salesforce/lds-drafts": "^1.309.0-dev12",
|
|
45
|
+
"@salesforce/lds-drafts-adapters-uiapi": "^1.309.0-dev12",
|
|
46
|
+
"@salesforce/lds-durable-records": "^1.309.0-dev12",
|
|
47
|
+
"@salesforce/lds-graphql-eval": "^1.309.0-dev12",
|
|
48
|
+
"@salesforce/lds-graphql-local-evaluation": "^1.309.0-dev12",
|
|
49
|
+
"@salesforce/lds-network-adapter": "^1.309.0-dev12",
|
|
50
|
+
"@salesforce/lds-network-nimbus": "^1.309.0-dev12",
|
|
51
|
+
"@salesforce/lds-store-binary": "^1.309.0-dev12",
|
|
52
|
+
"@salesforce/lds-store-nimbus": "^1.309.0-dev12",
|
|
53
|
+
"@salesforce/lds-store-sql": "^1.309.0-dev12",
|
|
54
|
+
"@salesforce/lds-utils-adapters": "^1.309.0-dev12",
|
|
55
|
+
"@salesforce/nimbus-plugin-lds": "^1.309.0-dev12",
|
|
56
56
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
57
57
|
"wait-for-expect": "^3.0.2"
|
|
58
58
|
},
|
package/sfdc/main.js
CHANGED
|
@@ -5533,7 +5533,7 @@ class DurableDraftQueue {
|
|
|
5533
5533
|
switch (result) {
|
|
5534
5534
|
case ProcessActionResult.BLOCKED_ON_ERROR:
|
|
5535
5535
|
this.state = DraftQueueState.Error;
|
|
5536
|
-
return Promise.reject();
|
|
5536
|
+
return Promise.reject('Unable to start queue - first action is in error state');
|
|
5537
5537
|
default:
|
|
5538
5538
|
return Promise.resolve();
|
|
5539
5539
|
}
|
|
@@ -6839,16 +6839,17 @@ class DraftManager {
|
|
|
6839
6839
|
return Promise.reject('cannot edit incompatible action type or uploading actions');
|
|
6840
6840
|
}
|
|
6841
6841
|
action.data.body.fields = { ...action.data.body.fields, ...fields };
|
|
6842
|
+
action.status = DraftActionStatus.Pending;
|
|
6842
6843
|
await this.draftQueue.updateDraftAction(action);
|
|
6843
6844
|
return this.buildDraftQueueItem(action);
|
|
6844
6845
|
}
|
|
6845
6846
|
isValidFieldMap(fields) {
|
|
6846
6847
|
const keys$1 = keys$6(fields);
|
|
6847
|
-
const validTypes = ['string', 'number', '
|
|
6848
|
+
const validTypes = ['string', 'number', 'boolean'];
|
|
6848
6849
|
for (let i = 0; i < keys$1.length; i++) {
|
|
6849
6850
|
const key = keys$1[i];
|
|
6850
6851
|
const value = fields[key];
|
|
6851
|
-
if (!validTypes.includes(typeof value)) {
|
|
6852
|
+
if (!validTypes.includes(typeof value) && value !== null) {
|
|
6852
6853
|
return false;
|
|
6853
6854
|
}
|
|
6854
6855
|
}
|
|
@@ -6876,6 +6877,7 @@ class DraftManager {
|
|
|
6876
6877
|
}
|
|
6877
6878
|
const data = action.data;
|
|
6878
6879
|
data.body.fields = { ...data.body.fields, ...fields };
|
|
6880
|
+
action.status = DraftActionStatus.Pending;
|
|
6879
6881
|
await this.draftQueue.updateDraftAction(action);
|
|
6880
6882
|
return this.buildDraftQueueItem(action);
|
|
6881
6883
|
}
|
|
@@ -12231,14 +12233,14 @@ async function connectionResolver(obj, args, context, info) {
|
|
|
12231
12233
|
limit = args.first;
|
|
12232
12234
|
}
|
|
12233
12235
|
let offset = 0;
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
if (!originalCursor) {
|
|
12237
|
-
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
12238
|
-
throw new Error('Internal Error: unable to determine `after` cursor value');
|
|
12239
|
-
}
|
|
12236
|
+
let originalCursor = context.mappedCursors.get(queryCacheKey);
|
|
12237
|
+
if (originalCursor) {
|
|
12240
12238
|
offset = decodeV1Cursor(originalCursor).i;
|
|
12241
12239
|
}
|
|
12240
|
+
else if (args.after) {
|
|
12241
|
+
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
12242
|
+
throw new Error('Internal Error: unable to determine `after` cursor value');
|
|
12243
|
+
}
|
|
12242
12244
|
// if the query wants to know `hasNextPage` then we need to request 1 additional record
|
|
12243
12245
|
let selections = info.fieldNodes
|
|
12244
12246
|
.map((n) => (n.selectionSet ? n.selectionSet.selections : []))
|
|
@@ -14830,8 +14832,9 @@ function createErrorSnapshot(result, snapshot) {
|
|
|
14830
14832
|
},
|
|
14831
14833
|
};
|
|
14832
14834
|
}
|
|
14833
|
-
function createLocalEvalSnapshot(data, seenRecords, recordId, rebuildWithLocalEval) {
|
|
14835
|
+
function createLocalEvalSnapshot(data, seenRecords, recordId, rebuildWithLocalEval, refresh) {
|
|
14834
14836
|
return {
|
|
14837
|
+
refresh,
|
|
14835
14838
|
recordId,
|
|
14836
14839
|
variables: {},
|
|
14837
14840
|
seenRecords,
|
|
@@ -15049,11 +15052,11 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
15049
15052
|
isDraftId,
|
|
15050
15053
|
getCanonicalId,
|
|
15051
15054
|
};
|
|
15055
|
+
const eventEmitter = createCustomAdapterEventEmitter(GRAPHQL_EVAL_NAMESPACE, requestContext.eventObservers || []);
|
|
15052
15056
|
try {
|
|
15053
15057
|
// NB: This occurs BEFORE synthetic field injection on purpose to
|
|
15054
15058
|
// ensure we don't charge the caller for spanning records we inject
|
|
15055
15059
|
// on their behalf.
|
|
15056
|
-
const eventEmitter = createCustomAdapterEventEmitter(GRAPHQL_EVAL_NAMESPACE, requestContext.eventObservers || []);
|
|
15057
15060
|
const queryInstrumentation = instrumentLimits(copy, config.variables || {});
|
|
15058
15061
|
eventEmitter({
|
|
15059
15062
|
type: 'graphql-query-instrumentation',
|
|
@@ -15185,7 +15188,7 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
15185
15188
|
// the error is network error or 504), otherwise we spread over
|
|
15186
15189
|
// the non-eval'ed snapshot (which will be either Fulfilled or Stale)
|
|
15187
15190
|
const resultSnapshot = nonEvaluatedSnapshot.state === 'Error'
|
|
15188
|
-
? createLocalEvalSnapshot(gqlResult, seenRecords, recordId, rebuildWithLocalEval)
|
|
15191
|
+
? createLocalEvalSnapshot(gqlResult, seenRecords, recordId, rebuildWithLocalEval, nonEvaluatedSnapshot.refresh)
|
|
15189
15192
|
: {
|
|
15190
15193
|
...nonEvaluatedSnapshot,
|
|
15191
15194
|
data: gqlResult,
|
|
@@ -15208,6 +15211,9 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
15208
15211
|
},
|
|
15209
15212
|
};
|
|
15210
15213
|
}
|
|
15214
|
+
if (refresh === undefined) {
|
|
15215
|
+
eventEmitter({ type: 'graphql-luvio-refresh-undefined' });
|
|
15216
|
+
}
|
|
15211
15217
|
if (possibleStaleRecordMap.size > 0) {
|
|
15212
15218
|
initiateStaleRecordRefresh(luvio, possibleStaleRecordMap);
|
|
15213
15219
|
resultSnapshot.state = 'Stale';
|
|
@@ -16425,6 +16431,7 @@ const GRAPHQL_EVAL_ROOT_QUERY_COUNT = 'gql-eval-root-query-count';
|
|
|
16425
16431
|
const GRAPHQL_EVAL_TOTAL_QUERY_COUNT = 'gql-eval-total-query-count';
|
|
16426
16432
|
const GRAPHQL_EVAL_MAX_CHILD_RELATIONSHIPS_COUNT = 'gql-eval-max-child-count';
|
|
16427
16433
|
const GRAPHQL_EVAL_QUERY_RECORD_COUNT = 'gql-eval-query-record-count';
|
|
16434
|
+
const GRAPHQL_SNAPSHOT_REFRESH_UNDEFINED = 'gql-snapshot-refresh-undefined';
|
|
16428
16435
|
/** Draft Queue */
|
|
16429
16436
|
const DRAFT_QUEUE_STATE_STARTED = 'draft-queue-state-started';
|
|
16430
16437
|
const DRAFT_QUEUE_STATE_ERROR = 'draft-queue-state-error';
|
|
@@ -16492,6 +16499,9 @@ function reportGraphqlQueryInstrumentation(data) {
|
|
|
16492
16499
|
ldsMobileInstrumentation.bucketValue(GRAPHQL_EVAL_MAX_CHILD_RELATIONSHIPS_COUNT, data.maxChildRelationships, queryBuckets);
|
|
16493
16500
|
ldsMobileInstrumentation.bucketValue(GRAPHQL_EVAL_QUERY_RECORD_COUNT, data.requestedRecordCount, recordBuckets);
|
|
16494
16501
|
}
|
|
16502
|
+
function incrementGraphQLRefreshUndfined() {
|
|
16503
|
+
ldsMobileInstrumentation.incrementCounter(GRAPHQL_SNAPSHOT_REFRESH_UNDEFINED);
|
|
16504
|
+
}
|
|
16495
16505
|
function reportDraftActionEvent(state) {
|
|
16496
16506
|
switch (state) {
|
|
16497
16507
|
case 'added':
|
|
@@ -16908,6 +16918,9 @@ function instrumentGraphQLEval(adapter) {
|
|
|
16908
16918
|
case 'graphql-query-instrumentation':
|
|
16909
16919
|
reportGraphqlQueryInstrumentation(data.data);
|
|
16910
16920
|
break;
|
|
16921
|
+
case 'graphql-luvio-refresh-undefined':
|
|
16922
|
+
incrementGraphQLRefreshUndfined();
|
|
16923
|
+
break;
|
|
16911
16924
|
}
|
|
16912
16925
|
}
|
|
16913
16926
|
},
|
|
@@ -19180,4 +19193,4 @@ register({
|
|
|
19180
19193
|
});
|
|
19181
19194
|
|
|
19182
19195
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
19183
|
-
// version: 1.309.0-
|
|
19196
|
+
// version: 1.309.0-dev12-09ae94a55e
|
|
@@ -8,6 +8,7 @@ export declare function reportGraphqlCreateSnapshotError(err: unknown): void;
|
|
|
8
8
|
export declare function reportGraphQlEvalDbReadDuration(duration: number): void;
|
|
9
9
|
export declare function reportGraphqlAdapterError(errorCode: string): void;
|
|
10
10
|
export declare function reportGraphqlQueryInstrumentation(data: QueryInstrumentation): void;
|
|
11
|
+
export declare function incrementGraphQLRefreshUndfined(): void;
|
|
11
12
|
export declare function reportDraftActionEvent(state: 'added' | 'uploading' | 'completed' | 'deleted' | 'updated' | 'failed'): void;
|
|
12
13
|
export declare function reportDraftQueueState(state: 'started' | 'error' | 'waiting' | 'stopped'): void;
|
|
13
14
|
export declare function reportDraftAwareContentDocumentVersionSynthesizeError(err: unknown): void;
|