@salesforce/lds-adapters-platform-data-provider 1.435.1 → 1.437.0

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.
@@ -219,7 +219,7 @@ function createResourceRequest$1(config) {
219
219
  method: 'post',
220
220
  body: config.body,
221
221
  urlParams: config.urlParams,
222
- queryParams: {},
222
+ queryParams: config.queryParams,
223
223
  headers,
224
224
  priority: 'normal',
225
225
  };
@@ -228,6 +228,7 @@ function createResourceRequest$1(config) {
228
228
  const adapterName$1 = 'getSchema';
229
229
  const getSchema_ConfigPropertyMetadata = [
230
230
  generateParamConfigMetadata('dataProviderFullyQualifiedName', true, 0 /* UrlParameter */, 0 /* String */),
231
+ generateParamConfigMetadata('fetchData', false, 1 /* QueryParameter */, 1 /* Boolean */),
231
232
  generateParamConfigMetadata('schema', true, 2 /* Body */, 4 /* Unsupported */),
232
233
  ];
233
234
  const getSchema_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getSchema_ConfigPropertyMetadata);
@@ -7,6 +7,7 @@ export declare const getSchema_ConfigPropertyMetadata: $64$luvio_engine_AdapterC
7
7
  export declare const getSchema_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetSchemaConfig {
9
9
  dataProviderFullyQualifiedName: string;
10
+ fetchData?: boolean;
10
11
  schema: unknown;
11
12
  }
12
13
  export declare const createResourceParams: (config: GetSchemaConfig) => resources_postConnectDataProvidersSchemaByDataProviderFullyQualifiedName_ResourceRequestConfig;
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
4
4
  urlParams: {
5
5
  dataProviderFullyQualifiedName: string;
6
6
  };
7
+ queryParams: {
8
+ fetchData?: boolean;
9
+ };
7
10
  body: {
8
11
  schema: unknown;
9
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-data-provider",
3
- "version": "1.435.1",
3
+ "version": "1.437.0",
4
4
  "description": "Data Provider connect api resource family",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/platform-data-provider.js",
@@ -40,11 +40,11 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.435.1"
43
+ "@salesforce/lds-bindings": "^1.437.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.435.1",
47
- "@salesforce/lds-karma": "^1.435.1"
46
+ "@salesforce/lds-compiler-plugins": "^1.437.0",
47
+ "@salesforce/lds-karma": "^1.437.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -446,7 +446,7 @@ function createResourceRequest(config) {
446
446
  method: 'post',
447
447
  body: config.body,
448
448
  urlParams: config.urlParams,
449
- queryParams: {},
449
+ queryParams: config.queryParams,
450
450
  headers,
451
451
  priority: 'normal',
452
452
  };
@@ -455,6 +455,7 @@ function createResourceRequest(config) {
455
455
  const adapterName = 'getSchema';
456
456
  const getSchema_ConfigPropertyMetadata = [
457
457
  generateParamConfigMetadata('dataProviderFullyQualifiedName', true, 0 /* UrlParameter */, 0 /* String */),
458
+ generateParamConfigMetadata('fetchData', false, 1 /* QueryParameter */, 1 /* Boolean */),
458
459
  generateParamConfigMetadata('schema', true, 2 /* Body */, 4 /* Unsupported */),
459
460
  ];
460
461
  const getSchema_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getSchema_ConfigPropertyMetadata);
@@ -573,4 +574,4 @@ withDefaultLuvio((luvio) => {
573
574
  });
574
575
 
575
576
  export { getFieldMetadata, getFieldMetadata_imperative, getSchema, getSchema_imperative };
576
- // version: 1.435.1-a9f05717b8
577
+ // version: 1.437.0-f680421dc4
package/src/raml/api.raml CHANGED
@@ -68,6 +68,11 @@ types:
68
68
  application/json:
69
69
  type: SchemaInputRepresentation
70
70
  (oas-body-name): schema
71
+ queryParameters:
72
+ fetchData:
73
+ description: Whether to fetch data alongside schema
74
+ type: boolean
75
+ required: false
71
76
  uriParameters:
72
77
  dataProviderFullyQualifiedName:
73
78
  description: Data Provider Fully Qualified Name