@salesforce/lds-adapters-cdp-byoc 1.404.0-dev13 → 1.404.0-dev15
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.
|
@@ -176,7 +176,7 @@ function equals$5(existing, incoming) {
|
|
|
176
176
|
return true;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
const VERSION$4 = "
|
|
179
|
+
const VERSION$4 = "e25554500069930311e4b242cf15006b";
|
|
180
180
|
function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
181
181
|
const v_error = (() => {
|
|
182
182
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -231,10 +231,12 @@ function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
|
231
231
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
if (obj.fileUploadUrl !== undefined) {
|
|
235
|
+
const obj_fileUploadUrl = obj.fileUploadUrl;
|
|
236
|
+
const path_fileUploadUrl = path + '.fileUploadUrl';
|
|
237
|
+
if (typeof obj_fileUploadUrl !== 'string') {
|
|
238
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fileUploadUrl + '" (at "' + path_fileUploadUrl + '")');
|
|
239
|
+
}
|
|
238
240
|
}
|
|
239
241
|
if (obj.functionInvokeOptions !== undefined) {
|
|
240
242
|
const obj_functionInvokeOptions = obj.functionInvokeOptions;
|
|
@@ -389,7 +391,8 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
389
391
|
},
|
|
390
392
|
{
|
|
391
393
|
name: 'fileUploadUrl',
|
|
392
|
-
kind: 'Scalar'
|
|
394
|
+
kind: 'Scalar',
|
|
395
|
+
required: false
|
|
393
396
|
},
|
|
394
397
|
{
|
|
395
398
|
name: 'functionInvokeOptions',
|
|
@@ -528,8 +531,16 @@ function equals$4(existing, incoming) {
|
|
|
528
531
|
}
|
|
529
532
|
const existing_fileUploadUrl = existing.fileUploadUrl;
|
|
530
533
|
const incoming_fileUploadUrl = incoming.fileUploadUrl;
|
|
531
|
-
if
|
|
532
|
-
|
|
534
|
+
// if at least one of these optionals is defined
|
|
535
|
+
if (existing_fileUploadUrl !== undefined || incoming_fileUploadUrl !== undefined) {
|
|
536
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
537
|
+
// not equal
|
|
538
|
+
if (existing_fileUploadUrl === undefined || incoming_fileUploadUrl === undefined) {
|
|
539
|
+
return false;
|
|
540
|
+
}
|
|
541
|
+
if (!(existing_fileUploadUrl === incoming_fileUploadUrl)) {
|
|
542
|
+
return false;
|
|
543
|
+
}
|
|
533
544
|
}
|
|
534
545
|
const existing_id = existing.id;
|
|
535
546
|
const incoming_id = incoming.id;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdpUserRepresentation as CdpUserRepresentation_CdpUserRepresentation } from './CdpUserRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "e25554500069930311e4b242cf15006b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -41,7 +41,7 @@ export interface CustomCodeDeploymentRepresentationNormalized {
|
|
|
41
41
|
/** Description of the custom code deployment */
|
|
42
42
|
description?: string;
|
|
43
43
|
/** URL to use for custom code file upload */
|
|
44
|
-
fileUploadUrl
|
|
44
|
+
fileUploadUrl?: string;
|
|
45
45
|
/** List of function invoke options */
|
|
46
46
|
functionInvokeOptions?: Array<string>;
|
|
47
47
|
/** The 18 character ID of the asset */
|
|
@@ -86,7 +86,7 @@ export interface CustomCodeDeploymentRepresentation {
|
|
|
86
86
|
deploymentFailureReason?: string;
|
|
87
87
|
deploymentStatus: string;
|
|
88
88
|
description?: string;
|
|
89
|
-
fileUploadUrl
|
|
89
|
+
fileUploadUrl?: string;
|
|
90
90
|
functionInvokeOptions?: Array<string>;
|
|
91
91
|
id: string;
|
|
92
92
|
isRemote?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-byoc",
|
|
3
|
-
"version": "1.404.0-
|
|
3
|
+
"version": "1.404.0-dev15",
|
|
4
4
|
"description": "Used to connect to the CDP BYOC service in core and off-core",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-byoc.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.404.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.404.0-dev15"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.404.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.404.0-dev15"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -186,7 +186,7 @@ function equals$5(existing, incoming) {
|
|
|
186
186
|
return true;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
const VERSION$4 = "
|
|
189
|
+
const VERSION$4 = "e25554500069930311e4b242cf15006b";
|
|
190
190
|
function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
191
191
|
const v_error = (() => {
|
|
192
192
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -241,10 +241,12 @@ function validate$4(obj, path = 'CustomCodeDeploymentRepresentation') {
|
|
|
241
241
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
244
|
+
if (obj.fileUploadUrl !== undefined) {
|
|
245
|
+
const obj_fileUploadUrl = obj.fileUploadUrl;
|
|
246
|
+
const path_fileUploadUrl = path + '.fileUploadUrl';
|
|
247
|
+
if (typeof obj_fileUploadUrl !== 'string') {
|
|
248
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fileUploadUrl + '" (at "' + path_fileUploadUrl + '")');
|
|
249
|
+
}
|
|
248
250
|
}
|
|
249
251
|
if (obj.functionInvokeOptions !== undefined) {
|
|
250
252
|
const obj_functionInvokeOptions = obj.functionInvokeOptions;
|
|
@@ -399,7 +401,8 @@ const select$b = function CustomCodeDeploymentRepresentationSelect() {
|
|
|
399
401
|
},
|
|
400
402
|
{
|
|
401
403
|
name: 'fileUploadUrl',
|
|
402
|
-
kind: 'Scalar'
|
|
404
|
+
kind: 'Scalar',
|
|
405
|
+
required: false
|
|
403
406
|
},
|
|
404
407
|
{
|
|
405
408
|
name: 'functionInvokeOptions',
|
|
@@ -538,8 +541,16 @@ function equals$4(existing, incoming) {
|
|
|
538
541
|
}
|
|
539
542
|
const existing_fileUploadUrl = existing.fileUploadUrl;
|
|
540
543
|
const incoming_fileUploadUrl = incoming.fileUploadUrl;
|
|
541
|
-
if
|
|
542
|
-
|
|
544
|
+
// if at least one of these optionals is defined
|
|
545
|
+
if (existing_fileUploadUrl !== undefined || incoming_fileUploadUrl !== undefined) {
|
|
546
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
547
|
+
// not equal
|
|
548
|
+
if (existing_fileUploadUrl === undefined || incoming_fileUploadUrl === undefined) {
|
|
549
|
+
return false;
|
|
550
|
+
}
|
|
551
|
+
if (!(existing_fileUploadUrl === incoming_fileUploadUrl)) {
|
|
552
|
+
return false;
|
|
553
|
+
}
|
|
543
554
|
}
|
|
544
555
|
const existing_id = existing.id;
|
|
545
556
|
const incoming_id = incoming.id;
|
|
@@ -2337,4 +2348,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2337
2348
|
});
|
|
2338
2349
|
|
|
2339
2350
|
export { createCustomCodeDeployment, deleteCustomCodeDeployment, getCustomCodeDeployment, getCustomCodeDeploymentNotifyChange, getCustomCodeDeployment_imperative, getCustomCodeDeployments, getCustomCodeDeployments_imperative, getCustomCodeExecution, getCustomCodeExecutionLogs, getCustomCodeExecutionLogs_imperative, getCustomCodeExecution_imperative, getCustomCodeExecutions, getCustomCodeExecutions_imperative, updateCustomCodeDeployment };
|
|
2340
|
-
// version: 1.404.0-
|
|
2351
|
+
// version: 1.404.0-dev15-dc5e3db6b2
|
package/src/raml/api.raml
CHANGED