@salesforce/lds-worker-api 1.136.1 → 1.136.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.
@@ -761,4 +761,4 @@ if (process.env.NODE_ENV !== 'production') {
761
761
  }
762
762
 
763
763
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
764
- // version: 1.136.1-304fdc9ae
764
+ // version: 1.136.3-9e778e08e
@@ -3670,7 +3670,7 @@ class Luvio {
3670
3670
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3671
3671
  }
3672
3672
  }
3673
- // engine version: 0.140.0-601083d4
3673
+ // engine version: 0.140.2-f4576b7c
3674
3674
 
3675
3675
  /**
3676
3676
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3797,7 +3797,7 @@ function withDefaultLuvio(callback) {
3797
3797
  }
3798
3798
  callbacks.push(callback);
3799
3799
  }
3800
- // version: 1.136.1-304fdc9ae
3800
+ // version: 1.136.3-9e778e08e
3801
3801
 
3802
3802
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3803
3803
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15221,7 +15221,7 @@ function parseAndVisit(source) {
15221
15221
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15222
15222
  return luvioDocumentNode;
15223
15223
  }
15224
- // version: 1.136.1-304fdc9ae
15224
+ // version: 1.136.3-9e778e08e
15225
15225
 
15226
15226
  function unwrap(data) {
15227
15227
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16134,7 +16134,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16134
16134
  const { apiFamily, name } = metadata;
16135
16135
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16136
16136
  }
16137
- // version: 1.136.1-304fdc9ae
16137
+ // version: 1.136.3-9e778e08e
16138
16138
 
16139
16139
  /**
16140
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16217,7 +16217,7 @@ var FragmentReadResultState;
16217
16217
  ({
16218
16218
  state: FragmentReadResultState.Missing,
16219
16219
  });
16220
- // engine version: 0.140.0-601083d4
16220
+ // engine version: 0.140.2-f4576b7c
16221
16221
 
16222
16222
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16223
16223
 
@@ -43901,7 +43901,7 @@ withDefaultLuvio((luvio) => {
43901
43901
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43902
43902
  });
43903
43903
  });
43904
- // version: 1.136.1-91bdcb94e
43904
+ // version: 1.136.3-925803f5f
43905
43905
 
43906
43906
  var caseSensitiveUserId = '005B0000000GR4OIAW';
43907
43907
 
@@ -59512,12 +59512,69 @@ register({
59512
59512
  id: '@salesforce/lds-network-adapter',
59513
59513
  instrument: instrument$1,
59514
59514
  });
59515
- // version: 1.136.1-304fdc9ae
59515
+ // version: 1.136.3-9e778e08e
59516
59516
 
59517
59517
  const { create: create$2, keys: keys$2 } = Object;
59518
59518
  const { stringify: stringify$1, parse: parse$1 } = JSON;
59519
59519
  const { isArray: isArray$1 } = Array;
59520
59520
 
59521
+ function serializeFieldArguments(argumentNodes, variables) {
59522
+ const mutableArgumentNodes = Object.assign([], argumentNodes);
59523
+ return `args__(${mutableArgumentNodes
59524
+ .sort((a, b) => {
59525
+ const aName = a.name.value.toUpperCase();
59526
+ const bName = b.name.value.toUpperCase();
59527
+ return aName < bName ? -1 : aName > bName ? 1 : 0;
59528
+ })
59529
+ .map((node) => serializeArgNode(node, variables))
59530
+ .join('::')})`;
59531
+ }
59532
+ function serializeArgNode(argumentNode, variables) {
59533
+ const argName = argumentNode.name.value;
59534
+ return `${argName}:${serializeValueNode$1(argumentNode.value, variables)}`;
59535
+ }
59536
+ function serializeValueNode$1(valueNode, variables) {
59537
+ switch (valueNode.kind) {
59538
+ case 'BooleanValue':
59539
+ return valueNode.value + '';
59540
+ case 'IntValue':
59541
+ case 'FloatValue':
59542
+ case 'EnumValue':
59543
+ case 'StringValue':
59544
+ return valueNode.value;
59545
+ case 'ListValue': {
59546
+ const mutableValueNodeList = Object.assign([], valueNode.values);
59547
+ return mutableValueNodeList
59548
+ .sort((a, b) => {
59549
+ const aVal = serializeValueNode$1(a, variables).toUpperCase();
59550
+ const bVal = serializeValueNode$1(b, variables).toUpperCase();
59551
+ return aVal < bVal ? -1 : aVal > bVal ? 1 : 0;
59552
+ })
59553
+ .map((val, i) => `${serializeValueNode$1(val, variables)}[${i}]`)
59554
+ .join(',');
59555
+ }
59556
+ case 'Variable': {
59557
+ const variableValue = variables[valueNode.name.value];
59558
+ return typeof variableValue === 'string'
59559
+ ? variableValue
59560
+ : JSON.stringify(variableValue);
59561
+ }
59562
+ case 'NullValue':
59563
+ return 'null';
59564
+ case 'ObjectValue': {
59565
+ const mutableFieldNodeList = Object.assign([], valueNode.fields);
59566
+ return mutableFieldNodeList
59567
+ .sort((a, b) => {
59568
+ const aName = a.name.value.toUpperCase();
59569
+ const bName = b.name.value.toUpperCase();
59570
+ return aName < bName ? -1 : aName > bName ? 1 : 0;
59571
+ })
59572
+ .map((field) => field.name.value + ':' + serializeValueNode$1(field.value, variables))
59573
+ .join(',');
59574
+ }
59575
+ }
59576
+ }
59577
+
59521
59578
  /**
59522
59579
  * Copyright (c) 2022, Salesforce, Inc.,
59523
59580
  * All rights reserved.
@@ -71695,48 +71752,6 @@ function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, i
71695
71752
  luvio.publishStoreMetadata(key, storeMetadataParams);
71696
71753
  return createLink(key);
71697
71754
  }
71698
- function serializeFieldArguments(argumentNodes, variables) {
71699
- const mutableArgumentNodes = Object.assign([], argumentNodes);
71700
- return `args__(${mutableArgumentNodes.sort((a, b) => {
71701
- const aName = a.name.value.toUpperCase();
71702
- const bName = b.name.value.toUpperCase();
71703
- return aName < bName ? -1 : (aName > bName) ? 1 : 0;
71704
- }).map(node => serializeArgNode(node, variables)).join("::")})`;
71705
- }
71706
- function serializeArgNode(argumentNode, variables) {
71707
- const argName = argumentNode.name.value;
71708
- return `${argName}:${serializeValueNode$1(argumentNode.value, variables)}`;
71709
- }
71710
- function serializeValueNode$1(valueNode, variables) {
71711
- switch (valueNode.kind) {
71712
- case ("BooleanValue"):
71713
- return valueNode.value + '';
71714
- case ("IntValue"):
71715
- case ("FloatValue"):
71716
- case ("EnumValue"):
71717
- case ("StringValue"):
71718
- return valueNode.value;
71719
- case ("ListValue"):
71720
- const mutableValueNodeList = Object.assign([], valueNode.values);
71721
- return mutableValueNodeList.sort((a, b) => {
71722
- const aVal = serializeValueNode$1(a, variables).toUpperCase();
71723
- const bVal = serializeValueNode$1(b, variables).toUpperCase();
71724
- return aVal < bVal ? -1 : (aVal > bVal) ? 1 : 0;
71725
- }).map((val, i) => serializeValueNode$1(val, variables) + `[${i}]`).join(',');
71726
- case ("Variable"):
71727
- const variableValue = variables[valueNode.name.value];
71728
- return typeof variableValue === "string" ? variableValue : JSON.stringify(variableValue);
71729
- case ("NullValue"):
71730
- return "null";
71731
- case ("ObjectValue"):
71732
- const mutableFieldNodeList = Object.assign([], valueNode.fields);
71733
- return mutableFieldNodeList.sort((a, b) => {
71734
- const aName = a.name.value.toUpperCase();
71735
- const bName = b.name.value.toUpperCase();
71736
- return aName < bName ? -1 : (aName > bName) ? 1 : 0;
71737
- }).map(field => field.name.value + ":" + serializeValueNode$1(field.value, variables)).join(',');
71738
- }
71739
- }
71740
71755
  const TTL$1 = 900000;
71741
71756
  function applyMinimumFieldsToQuery(query) {
71742
71757
  const fragmentMap = createFragmentMap(query);
@@ -73931,7 +73946,7 @@ register({
73931
73946
  configuration: { ...configurationForGraphQLAdapters },
73932
73947
  instrument,
73933
73948
  });
73934
- // version: 1.136.1-91bdcb94e
73949
+ // version: 1.136.3-925803f5f
73935
73950
 
73936
73951
  // On core the unstable adapters are re-exported with different names,
73937
73952
 
@@ -76042,7 +76057,7 @@ withDefaultLuvio((luvio) => {
76042
76057
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76043
76058
  graphQLImperative = ldsAdapter;
76044
76059
  });
76045
- // version: 1.136.1-91bdcb94e
76060
+ // version: 1.136.3-925803f5f
76046
76061
 
76047
76062
  var gqlApi = /*#__PURE__*/Object.freeze({
76048
76063
  __proto__: null,
@@ -76734,4 +76749,4 @@ const { luvio } = getRuntime();
76734
76749
  setDefaultLuvio({ luvio });
76735
76750
 
76736
76751
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
76737
- // version: 1.136.1-304fdc9ae
76752
+ // version: 1.136.3-9e778e08e
@@ -3676,7 +3676,7 @@
3676
3676
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3677
3677
  }
3678
3678
  }
3679
- // engine version: 0.140.0-601083d4
3679
+ // engine version: 0.140.2-f4576b7c
3680
3680
 
3681
3681
  /**
3682
3682
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3803,7 +3803,7 @@
3803
3803
  }
3804
3804
  callbacks.push(callback);
3805
3805
  }
3806
- // version: 1.136.1-304fdc9ae
3806
+ // version: 1.136.3-9e778e08e
3807
3807
 
3808
3808
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3809
3809
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15227,7 +15227,7 @@
15227
15227
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15228
15228
  return luvioDocumentNode;
15229
15229
  }
15230
- // version: 1.136.1-304fdc9ae
15230
+ // version: 1.136.3-9e778e08e
15231
15231
 
15232
15232
  function unwrap(data) {
15233
15233
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16140,7 +16140,7 @@
16140
16140
  const { apiFamily, name } = metadata;
16141
16141
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16142
16142
  }
16143
- // version: 1.136.1-304fdc9ae
16143
+ // version: 1.136.3-9e778e08e
16144
16144
 
16145
16145
  /**
16146
16146
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16223,7 +16223,7 @@
16223
16223
  ({
16224
16224
  state: FragmentReadResultState.Missing,
16225
16225
  });
16226
- // engine version: 0.140.0-601083d4
16226
+ // engine version: 0.140.2-f4576b7c
16227
16227
 
16228
16228
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16229
16229
 
@@ -43907,7 +43907,7 @@
43907
43907
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43908
43908
  });
43909
43909
  });
43910
- // version: 1.136.1-91bdcb94e
43910
+ // version: 1.136.3-925803f5f
43911
43911
 
43912
43912
  var caseSensitiveUserId = '005B0000000GR4OIAW';
43913
43913
 
@@ -59518,12 +59518,69 @@
59518
59518
  id: '@salesforce/lds-network-adapter',
59519
59519
  instrument: instrument$1,
59520
59520
  });
59521
- // version: 1.136.1-304fdc9ae
59521
+ // version: 1.136.3-9e778e08e
59522
59522
 
59523
59523
  const { create: create$2, keys: keys$2 } = Object;
59524
59524
  const { stringify: stringify$1, parse: parse$1 } = JSON;
59525
59525
  const { isArray: isArray$1 } = Array;
59526
59526
 
59527
+ function serializeFieldArguments(argumentNodes, variables) {
59528
+ const mutableArgumentNodes = Object.assign([], argumentNodes);
59529
+ return `args__(${mutableArgumentNodes
59530
+ .sort((a, b) => {
59531
+ const aName = a.name.value.toUpperCase();
59532
+ const bName = b.name.value.toUpperCase();
59533
+ return aName < bName ? -1 : aName > bName ? 1 : 0;
59534
+ })
59535
+ .map((node) => serializeArgNode(node, variables))
59536
+ .join('::')})`;
59537
+ }
59538
+ function serializeArgNode(argumentNode, variables) {
59539
+ const argName = argumentNode.name.value;
59540
+ return `${argName}:${serializeValueNode$1(argumentNode.value, variables)}`;
59541
+ }
59542
+ function serializeValueNode$1(valueNode, variables) {
59543
+ switch (valueNode.kind) {
59544
+ case 'BooleanValue':
59545
+ return valueNode.value + '';
59546
+ case 'IntValue':
59547
+ case 'FloatValue':
59548
+ case 'EnumValue':
59549
+ case 'StringValue':
59550
+ return valueNode.value;
59551
+ case 'ListValue': {
59552
+ const mutableValueNodeList = Object.assign([], valueNode.values);
59553
+ return mutableValueNodeList
59554
+ .sort((a, b) => {
59555
+ const aVal = serializeValueNode$1(a, variables).toUpperCase();
59556
+ const bVal = serializeValueNode$1(b, variables).toUpperCase();
59557
+ return aVal < bVal ? -1 : aVal > bVal ? 1 : 0;
59558
+ })
59559
+ .map((val, i) => `${serializeValueNode$1(val, variables)}[${i}]`)
59560
+ .join(',');
59561
+ }
59562
+ case 'Variable': {
59563
+ const variableValue = variables[valueNode.name.value];
59564
+ return typeof variableValue === 'string'
59565
+ ? variableValue
59566
+ : JSON.stringify(variableValue);
59567
+ }
59568
+ case 'NullValue':
59569
+ return 'null';
59570
+ case 'ObjectValue': {
59571
+ const mutableFieldNodeList = Object.assign([], valueNode.fields);
59572
+ return mutableFieldNodeList
59573
+ .sort((a, b) => {
59574
+ const aName = a.name.value.toUpperCase();
59575
+ const bName = b.name.value.toUpperCase();
59576
+ return aName < bName ? -1 : aName > bName ? 1 : 0;
59577
+ })
59578
+ .map((field) => field.name.value + ':' + serializeValueNode$1(field.value, variables))
59579
+ .join(',');
59580
+ }
59581
+ }
59582
+ }
59583
+
59527
59584
  /**
59528
59585
  * Copyright (c) 2022, Salesforce, Inc.,
59529
59586
  * All rights reserved.
@@ -71701,48 +71758,6 @@
71701
71758
  luvio.publishStoreMetadata(key, storeMetadataParams);
71702
71759
  return createLink(key);
71703
71760
  }
71704
- function serializeFieldArguments(argumentNodes, variables) {
71705
- const mutableArgumentNodes = Object.assign([], argumentNodes);
71706
- return `args__(${mutableArgumentNodes.sort((a, b) => {
71707
- const aName = a.name.value.toUpperCase();
71708
- const bName = b.name.value.toUpperCase();
71709
- return aName < bName ? -1 : (aName > bName) ? 1 : 0;
71710
- }).map(node => serializeArgNode(node, variables)).join("::")})`;
71711
- }
71712
- function serializeArgNode(argumentNode, variables) {
71713
- const argName = argumentNode.name.value;
71714
- return `${argName}:${serializeValueNode$1(argumentNode.value, variables)}`;
71715
- }
71716
- function serializeValueNode$1(valueNode, variables) {
71717
- switch (valueNode.kind) {
71718
- case ("BooleanValue"):
71719
- return valueNode.value + '';
71720
- case ("IntValue"):
71721
- case ("FloatValue"):
71722
- case ("EnumValue"):
71723
- case ("StringValue"):
71724
- return valueNode.value;
71725
- case ("ListValue"):
71726
- const mutableValueNodeList = Object.assign([], valueNode.values);
71727
- return mutableValueNodeList.sort((a, b) => {
71728
- const aVal = serializeValueNode$1(a, variables).toUpperCase();
71729
- const bVal = serializeValueNode$1(b, variables).toUpperCase();
71730
- return aVal < bVal ? -1 : (aVal > bVal) ? 1 : 0;
71731
- }).map((val, i) => serializeValueNode$1(val, variables) + `[${i}]`).join(',');
71732
- case ("Variable"):
71733
- const variableValue = variables[valueNode.name.value];
71734
- return typeof variableValue === "string" ? variableValue : JSON.stringify(variableValue);
71735
- case ("NullValue"):
71736
- return "null";
71737
- case ("ObjectValue"):
71738
- const mutableFieldNodeList = Object.assign([], valueNode.fields);
71739
- return mutableFieldNodeList.sort((a, b) => {
71740
- const aName = a.name.value.toUpperCase();
71741
- const bName = b.name.value.toUpperCase();
71742
- return aName < bName ? -1 : (aName > bName) ? 1 : 0;
71743
- }).map(field => field.name.value + ":" + serializeValueNode$1(field.value, variables)).join(',');
71744
- }
71745
- }
71746
71761
  const TTL$1 = 900000;
71747
71762
  function applyMinimumFieldsToQuery(query) {
71748
71763
  const fragmentMap = createFragmentMap(query);
@@ -73937,7 +73952,7 @@
73937
73952
  configuration: { ...configurationForGraphQLAdapters },
73938
73953
  instrument,
73939
73954
  });
73940
- // version: 1.136.1-91bdcb94e
73955
+ // version: 1.136.3-925803f5f
73941
73956
 
73942
73957
  // On core the unstable adapters are re-exported with different names,
73943
73958
 
@@ -76048,7 +76063,7 @@
76048
76063
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76049
76064
  graphQLImperative = ldsAdapter;
76050
76065
  });
76051
- // version: 1.136.1-91bdcb94e
76066
+ // version: 1.136.3-925803f5f
76052
76067
 
76053
76068
  var gqlApi = /*#__PURE__*/Object.freeze({
76054
76069
  __proto__: null,
@@ -76757,4 +76772,4 @@
76757
76772
  Object.defineProperty(exports, '__esModule', { value: true });
76758
76773
 
76759
76774
  }));
76760
- // version: 1.136.1-304fdc9ae
76775
+ // version: 1.136.3-9e778e08e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.136.1",
3
+ "version": "1.136.3",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -1,21 +0,0 @@
1
- export declare const instrumentation: {
2
- instrumentAdapter(createFunction: Function, _metadata: any): Function;
3
- };
4
- export declare function instrumentAdapter(createFunction: Function, _metadata: any): Function;
5
- export declare function incrementGetRecordNotifyChangeAllowCount(): void;
6
- export declare function incrementGetRecordNotifyChangeDropCount(): void;
7
- export declare function incrementNotifyRecordUpdateAvailableAllowCount(): void;
8
- export declare function incrementNotifyRecordUpdateAvailableDropCount(): void;
9
- export declare function refreshApiEvent(): void;
10
- export declare function instrumentGraphqlAdapter(createFunction: Function, _metadata: any): Function;
11
- export declare function setLdsAdaptersUiapiInstrumentation(_uiapiRegistration: any): void;
12
- export declare function setLdsNetworkAdapterInstrumentation(_networkAdapterRegistration: any): void;
13
- export declare function setupInstrumentation(_luvio: any, _store: any): void;
14
- export declare function instrumentLuvio(_context: unknown): void;
15
- export declare const REFRESH_UIAPI_KEY = "refreshUiApi";
16
- export declare const METRIC_KEYS: {};
17
- export declare const O11Y_NAMESPACE_LDS_MOBILE = "lds-mobile";
18
- export declare const withInstrumentation: () => undefined;
19
- export declare class MetricsReporter {
20
- reportGraphqlQueryParseError(): void;
21
- }
@@ -1,18 +0,0 @@
1
- import type { IdleDetector, Activity } from 'o11y/dist/modules/o11y/client/interfaces';
2
- export declare const idleDetector: IdleDetector;
3
- export declare const activity: Partial<Activity>;
4
- type MetricsTags = Record<string, number | string | boolean>;
5
- declare function startActivity(_name: string): Activity;
6
- export declare const mockInstrumentation: {
7
- startActivity: typeof startActivity;
8
- error: () => void;
9
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
10
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
11
- };
12
- export declare const getInstrumentation: () => {
13
- startActivity: typeof startActivity;
14
- error: () => void;
15
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
16
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
17
- };
18
- export {};
@@ -1,21 +0,0 @@
1
- export declare const instrumentation: {
2
- instrumentAdapter(createFunction: Function, _metadata: any): Function;
3
- };
4
- export declare function instrumentAdapter(createFunction: Function, _metadata: any): Function;
5
- export declare function incrementGetRecordNotifyChangeAllowCount(): void;
6
- export declare function incrementGetRecordNotifyChangeDropCount(): void;
7
- export declare function incrementNotifyRecordUpdateAvailableAllowCount(): void;
8
- export declare function incrementNotifyRecordUpdateAvailableDropCount(): void;
9
- export declare function refreshApiEvent(): void;
10
- export declare function instrumentGraphqlAdapter(createFunction: Function, _metadata: any): Function;
11
- export declare function setLdsAdaptersUiapiInstrumentation(_uiapiRegistration: any): void;
12
- export declare function setLdsNetworkAdapterInstrumentation(_networkAdapterRegistration: any): void;
13
- export declare function setupInstrumentation(_luvio: any, _store: any): void;
14
- export declare function instrumentLuvio(_context: unknown): void;
15
- export declare const REFRESH_UIAPI_KEY = "refreshUiApi";
16
- export declare const METRIC_KEYS: {};
17
- export declare const O11Y_NAMESPACE_LDS_MOBILE = "lds-mobile";
18
- export declare const withInstrumentation: () => undefined;
19
- export declare class MetricsReporter {
20
- reportGraphqlQueryParseError(): void;
21
- }
@@ -1,18 +0,0 @@
1
- import type { IdleDetector, Activity } from 'o11y/dist/modules/o11y/client/interfaces';
2
- export declare const idleDetector: IdleDetector;
3
- export declare const activity: Partial<Activity>;
4
- type MetricsTags = Record<string, number | string | boolean>;
5
- declare function startActivity(_name: string): Activity;
6
- export declare const mockInstrumentation: {
7
- startActivity: typeof startActivity;
8
- error: () => void;
9
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
10
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
11
- };
12
- export declare const getInstrumentation: () => {
13
- startActivity: typeof startActivity;
14
- error: () => void;
15
- trackValue: (_operation: string, _value: number, _hasError?: boolean, _tags?: MetricsTags) => void;
16
- incrementCounter: (_operation: string, _increment?: number, _hasError?: boolean, _tags?: MetricsTags) => void;
17
- };
18
- export {};