@salesforce/lds-worker-api 1.119.1 → 1.119.2

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.
@@ -751,4 +751,4 @@ if (process.env.NODE_ENV !== 'production') {
751
751
  }
752
752
 
753
753
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
754
- // version: 1.119.1-91ad6f5b7
754
+ // version: 1.119.2-208b74730
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
3776
3776
  }
3777
3777
  callbacks.push(callback);
3778
3778
  }
3779
- // version: 1.119.1-91ad6f5b7
3779
+ // version: 1.119.2-208b74730
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.119.1-91ad6f5b7
15203
+ // version: 1.119.2-208b74730
15204
15204
 
15205
15205
  function unwrap(data) {
15206
15206
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16113,7 +16113,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16113
16113
  const { apiFamily, name } = metadata;
16114
16114
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16115
16115
  }
16116
- // version: 1.119.1-91ad6f5b7
16116
+ // version: 1.119.2-208b74730
16117
16117
 
16118
16118
  /**
16119
16119
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44347,7 +44347,7 @@ withDefaultLuvio((luvio) => {
44347
44347
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44348
44348
  });
44349
44349
  });
44350
- // version: 1.119.1-6dfb07d0f
44350
+ // version: 1.119.2-edb733796
44351
44351
 
44352
44352
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44353
44353
 
@@ -52746,7 +52746,7 @@ const baseTypeDefinitions = /* GraphQL */ `
52746
52746
  ApiName: String!
52747
52747
  WeakEtag: Long!
52748
52748
  DisplayValue: String
52749
- LastModifiedById: StringValue
52749
+ LastModifiedById: IDValue
52750
52750
  LastModifiedDate: DateTimeValue
52751
52751
  SystemModstamp: DateTimeValue
52752
52752
  RecordTypeId: IDValue
@@ -52757,7 +52757,7 @@ const baseTypeDefinitions = /* GraphQL */ `
52757
52757
  Id: ID!
52758
52758
  ApiName: String!
52759
52759
  DisplayValue: String
52760
- LastModifiedById: StringValue
52760
+ LastModifiedById: IDValue
52761
52761
  LastModifiedDate: DateTimeValue
52762
52762
  RecordTypeId: IDValue
52763
52763
  SystemModstamp: DateTimeValue
@@ -53107,7 +53107,6 @@ const fieldsStaticallyAdded = [
53107
53107
  'LastModifiedDate',
53108
53108
  'RecordTypeId',
53109
53109
  'SystemModstamp',
53110
- 'SystemModstamp',
53111
53110
  'WeakEtag',
53112
53111
  ];
53113
53112
  function generateRecordQueries(objectInfos) {
@@ -53132,9 +53131,9 @@ function generateRecordQueries(objectInfos) {
53132
53131
  }
53133
53132
  }
53134
53133
  for (const field of values(objectInfo.fields)) {
53135
- if (fieldsStaticallyAdded.includes(field.apiName))
53136
- continue;
53137
- fields += `${field.apiName}: ${dataTypeToType(field.dataType, field.apiName)}\n`;
53134
+ if (!fieldsStaticallyAdded.includes(field.apiName)) {
53135
+ fields += `${field.apiName}: ${dataTypeToType(field.dataType, field.apiName)}\n`;
53136
+ }
53138
53137
  // For spanning parent relationships with no union types
53139
53138
  if (field.referenceToInfos.length === 1) {
53140
53139
  const [relation] = field.referenceToInfos;
@@ -53163,7 +53162,7 @@ function generateRecordQueries(objectInfos) {
53163
53162
  type ${apiName} implements Record {
53164
53163
  ApiName: String!
53165
53164
  DisplayValue: String
53166
- LastModifiedById: StringValue
53165
+ LastModifiedById: IDValue
53167
53166
  LastModifiedDate: DateTimeValue
53168
53167
  RecordTypeId: IDValue
53169
53168
  SystemModstamp: DateTimeValue
@@ -53199,11 +53198,12 @@ function dataTypeToType(objectInfoDataType, apiName) {
53199
53198
  }
53200
53199
  switch (objectInfoDataType) {
53201
53200
  case 'String':
53202
- case 'Reference':
53203
53201
  case 'Phone':
53204
53202
  case 'Email':
53205
53203
  case 'TextArea':
53206
53204
  return 'StringValue';
53205
+ case 'Reference':
53206
+ return 'IDValue';
53207
53207
  case 'Double':
53208
53208
  return 'DoubleValue';
53209
53209
  case 'Boolean':
@@ -59855,7 +59855,7 @@ register({
59855
59855
  id: '@salesforce/lds-network-adapter',
59856
59856
  instrument: instrument$1,
59857
59857
  });
59858
- // version: 1.119.1-91ad6f5b7
59858
+ // version: 1.119.2-208b74730
59859
59859
 
59860
59860
  const { create: create$2, keys: keys$2 } = Object;
59861
59861
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -75030,7 +75030,7 @@ register({
75030
75030
  configuration: { ...configurationForGraphQLAdapters },
75031
75031
  instrument,
75032
75032
  });
75033
- // version: 1.119.1-6dfb07d0f
75033
+ // version: 1.119.2-edb733796
75034
75034
 
75035
75035
  // On core the unstable adapters are re-exported with different names,
75036
75036
 
@@ -77159,7 +77159,7 @@ withDefaultLuvio((luvio) => {
77159
77159
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
77160
77160
  graphQLImperative = ldsAdapter;
77161
77161
  });
77162
- // version: 1.119.1-6dfb07d0f
77162
+ // version: 1.119.2-edb733796
77163
77163
 
77164
77164
  var gqlApi = /*#__PURE__*/Object.freeze({
77165
77165
  __proto__: null,
@@ -77841,4 +77841,4 @@ const { luvio } = getRuntime();
77841
77841
  setDefaultLuvio({ luvio });
77842
77842
 
77843
77843
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
77844
- // version: 1.119.1-91ad6f5b7
77844
+ // version: 1.119.2-208b74730
@@ -3782,7 +3782,7 @@
3782
3782
  }
3783
3783
  callbacks.push(callback);
3784
3784
  }
3785
- // version: 1.119.1-91ad6f5b7
3785
+ // version: 1.119.2-208b74730
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.119.1-91ad6f5b7
15209
+ // version: 1.119.2-208b74730
15210
15210
 
15211
15211
  function unwrap(data) {
15212
15212
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16119,7 +16119,7 @@
16119
16119
  const { apiFamily, name } = metadata;
16120
16120
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16121
16121
  }
16122
- // version: 1.119.1-91ad6f5b7
16122
+ // version: 1.119.2-208b74730
16123
16123
 
16124
16124
  /**
16125
16125
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44353,7 +44353,7 @@
44353
44353
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44354
44354
  });
44355
44355
  });
44356
- // version: 1.119.1-6dfb07d0f
44356
+ // version: 1.119.2-edb733796
44357
44357
 
44358
44358
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44359
44359
 
@@ -52752,7 +52752,7 @@
52752
52752
  ApiName: String!
52753
52753
  WeakEtag: Long!
52754
52754
  DisplayValue: String
52755
- LastModifiedById: StringValue
52755
+ LastModifiedById: IDValue
52756
52756
  LastModifiedDate: DateTimeValue
52757
52757
  SystemModstamp: DateTimeValue
52758
52758
  RecordTypeId: IDValue
@@ -52763,7 +52763,7 @@
52763
52763
  Id: ID!
52764
52764
  ApiName: String!
52765
52765
  DisplayValue: String
52766
- LastModifiedById: StringValue
52766
+ LastModifiedById: IDValue
52767
52767
  LastModifiedDate: DateTimeValue
52768
52768
  RecordTypeId: IDValue
52769
52769
  SystemModstamp: DateTimeValue
@@ -53113,7 +53113,6 @@
53113
53113
  'LastModifiedDate',
53114
53114
  'RecordTypeId',
53115
53115
  'SystemModstamp',
53116
- 'SystemModstamp',
53117
53116
  'WeakEtag',
53118
53117
  ];
53119
53118
  function generateRecordQueries(objectInfos) {
@@ -53138,9 +53137,9 @@
53138
53137
  }
53139
53138
  }
53140
53139
  for (const field of values(objectInfo.fields)) {
53141
- if (fieldsStaticallyAdded.includes(field.apiName))
53142
- continue;
53143
- fields += `${field.apiName}: ${dataTypeToType(field.dataType, field.apiName)}\n`;
53140
+ if (!fieldsStaticallyAdded.includes(field.apiName)) {
53141
+ fields += `${field.apiName}: ${dataTypeToType(field.dataType, field.apiName)}\n`;
53142
+ }
53144
53143
  // For spanning parent relationships with no union types
53145
53144
  if (field.referenceToInfos.length === 1) {
53146
53145
  const [relation] = field.referenceToInfos;
@@ -53169,7 +53168,7 @@
53169
53168
  type ${apiName} implements Record {
53170
53169
  ApiName: String!
53171
53170
  DisplayValue: String
53172
- LastModifiedById: StringValue
53171
+ LastModifiedById: IDValue
53173
53172
  LastModifiedDate: DateTimeValue
53174
53173
  RecordTypeId: IDValue
53175
53174
  SystemModstamp: DateTimeValue
@@ -53205,11 +53204,12 @@
53205
53204
  }
53206
53205
  switch (objectInfoDataType) {
53207
53206
  case 'String':
53208
- case 'Reference':
53209
53207
  case 'Phone':
53210
53208
  case 'Email':
53211
53209
  case 'TextArea':
53212
53210
  return 'StringValue';
53211
+ case 'Reference':
53212
+ return 'IDValue';
53213
53213
  case 'Double':
53214
53214
  return 'DoubleValue';
53215
53215
  case 'Boolean':
@@ -59861,7 +59861,7 @@
59861
59861
  id: '@salesforce/lds-network-adapter',
59862
59862
  instrument: instrument$1,
59863
59863
  });
59864
- // version: 1.119.1-91ad6f5b7
59864
+ // version: 1.119.2-208b74730
59865
59865
 
59866
59866
  const { create: create$2, keys: keys$2 } = Object;
59867
59867
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -75036,7 +75036,7 @@
75036
75036
  configuration: { ...configurationForGraphQLAdapters },
75037
75037
  instrument,
75038
75038
  });
75039
- // version: 1.119.1-6dfb07d0f
75039
+ // version: 1.119.2-edb733796
75040
75040
 
75041
75041
  // On core the unstable adapters are re-exported with different names,
75042
75042
 
@@ -77165,7 +77165,7 @@
77165
77165
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
77166
77166
  graphQLImperative = ldsAdapter;
77167
77167
  });
77168
- // version: 1.119.1-6dfb07d0f
77168
+ // version: 1.119.2-edb733796
77169
77169
 
77170
77170
  var gqlApi = /*#__PURE__*/Object.freeze({
77171
77171
  __proto__: null,
@@ -77864,4 +77864,4 @@
77864
77864
  Object.defineProperty(exports, '__esModule', { value: true });
77865
77865
 
77866
77866
  }));
77867
- // version: 1.119.1-91ad6f5b7
77867
+ // version: 1.119.2-208b74730
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.119.1",
3
+ "version": "1.119.2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/umd/lds-worker-api.js",