@salesforce/lds-adapters-industries-dataloading 1.113.0 → 1.114.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.
- package/dist/es/es2018/industries-dataloading.js +1 -1
- package/dist/types/src/generated/adapters/getCsvDataTemplate.d.ts +4 -4
- package/dist/umd/es2018/industries-dataloading.js +1 -1
- package/dist/umd/es5/industries-dataloading.js +1 -1
- package/package.json +3 -3
- package/sfdc/index.js +2 -2
- package/src/raml/api.raml +1 -1
- package/src/raml/luvio.raml +1 -1
- /package/dist/types/src/generated/resources/{getConnectIndustriesDataloadingCsvDataTemplateByObjectApiName.d.ts → getConnectIndustriesCsvDataTemplateByObjectApiName.d.ts} +0 -0
|
@@ -191,7 +191,7 @@ function createResourceRequest$1(config) {
|
|
|
191
191
|
const headers = {};
|
|
192
192
|
return {
|
|
193
193
|
baseUri: '/services/data/v58.0',
|
|
194
|
-
basePath: '/connect/industries/
|
|
194
|
+
basePath: '/connect/industries/csv-data-template/' + config.urlParams.objectApiName + '',
|
|
195
195
|
method: 'get',
|
|
196
196
|
body: null,
|
|
197
197
|
urlParams: config.urlParams,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
-
import { ResourceRequestConfig as
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectIndustriesCsvDataTemplateByObjectApiName_ResourceRequestConfig } from '../resources/getConnectIndustriesCsvDataTemplateByObjectApiName';
|
|
3
3
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
4
|
import { ObjectCsvDataTemplateRepresentation as types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation } from '../types/ObjectCsvDataTemplateRepresentation';
|
|
5
5
|
export declare const adapterName = "getCsvDataTemplate";
|
|
@@ -7,15 +7,15 @@ export declare const getCsvDataTemplate_ConfigPropertyNames: adapter$45$utils_Ad
|
|
|
7
7
|
export interface GetCsvDataTemplateConfig {
|
|
8
8
|
objectApiName: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function createResourceParams(config: GetCsvDataTemplateConfig):
|
|
10
|
+
export declare function createResourceParams(config: GetCsvDataTemplateConfig): resources_getConnectIndustriesCsvDataTemplateByObjectApiName_ResourceRequestConfig;
|
|
11
11
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig): string;
|
|
12
12
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCsvDataTemplateConfig>): adapter$45$utils_Untrusted<GetCsvDataTemplateConfig>;
|
|
14
14
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCsvDataTemplateConfig | null;
|
|
15
15
|
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig): $64$luvio_engine_Fragment;
|
|
16
16
|
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig): $64$luvio_engine_Snapshot<types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation, any>;
|
|
17
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig, resourceParams:
|
|
18
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig, resourceParams:
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig, resourceParams: resources_getConnectIndustriesCsvDataTemplateByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation, {}>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig, resourceParams: resources_getConnectIndustriesCsvDataTemplateByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
19
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCsvDataTemplateConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ObjectCsvDataTemplateRepresentation_ObjectCsvDataTemplateRepresentation, any>>;
|
|
20
20
|
export type BuildSnapshotContext = {
|
|
21
21
|
luvio: $64$luvio_engine_Luvio;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
const headers = {};
|
|
196
196
|
return {
|
|
197
197
|
baseUri: '/services/data/v58.0',
|
|
198
|
-
basePath: '/connect/industries/
|
|
198
|
+
basePath: '/connect/industries/csv-data-template/' + config.urlParams.objectApiName + '',
|
|
199
199
|
method: 'get',
|
|
200
200
|
body: null,
|
|
201
201
|
urlParams: config.urlParams,
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
var headers = {};
|
|
197
197
|
return {
|
|
198
198
|
baseUri: '/services/data/v58.0',
|
|
199
|
-
basePath: '/connect/industries/
|
|
199
|
+
basePath: '/connect/industries/csv-data-template/' + config.urlParams.objectApiName + '',
|
|
200
200
|
method: 'get',
|
|
201
201
|
body: null,
|
|
202
202
|
urlParams: config.urlParams,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-dataloading",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.114.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "API Family to support data loading for objects",
|
|
6
6
|
"main": "dist/umd/es2018/industries-dataloading.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.114.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@luvio/cli": "0.137.1",
|
|
51
51
|
"@luvio/compiler": "0.137.1",
|
|
52
52
|
"@luvio/engine": "0.137.1",
|
|
53
53
|
"@luvio/lwc-luvio": "0.137.1",
|
|
54
|
-
"@salesforce/lds-karma": "^1.
|
|
54
|
+
"@salesforce/lds-karma": "^1.114.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
57
57
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -201,7 +201,7 @@ function createResourceRequest$1(config) {
|
|
|
201
201
|
const headers = {};
|
|
202
202
|
return {
|
|
203
203
|
baseUri: '/services/data/v58.0',
|
|
204
|
-
basePath: '/connect/industries/
|
|
204
|
+
basePath: '/connect/industries/csv-data-template/' + config.urlParams.objectApiName + '',
|
|
205
205
|
method: 'get',
|
|
206
206
|
body: null,
|
|
207
207
|
urlParams: config.urlParams,
|
|
@@ -665,4 +665,4 @@ withDefaultLuvio((luvio) => {
|
|
|
665
665
|
});
|
|
666
666
|
|
|
667
667
|
export { getCsvDataTemplate, getCsvDataTemplate_imperative, getObjectsForFeature, getObjectsForFeature_imperative };
|
|
668
|
-
// version: 1.
|
|
668
|
+
// version: 1.114.0-c848a68
|
package/src/raml/api.raml
CHANGED
|
@@ -76,7 +76,7 @@ types:
|
|
|
76
76
|
description: return label
|
|
77
77
|
type: string
|
|
78
78
|
|
|
79
|
-
/connect/industries/
|
|
79
|
+
/connect/industries/csv-data-template/{objectApiName}:
|
|
80
80
|
get:
|
|
81
81
|
description: method to get CSV Data Template for an object
|
|
82
82
|
responses:
|
package/src/raml/luvio.raml
CHANGED