@salesforce/lds-adapters-industries-fieldset 1.360.1 → 1.362.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.
@@ -99,6 +99,13 @@ function validate$1(obj, path = 'FieldSetOutputRepresentation') {
99
99
  if (typeof obj_fieldSetName !== 'string') {
100
100
  return new TypeError('Expected "string" but received "' + typeof obj_fieldSetName + '" (at "' + path_fieldSetName + '")');
101
101
  }
102
+ if (obj.id !== undefined) {
103
+ const obj_id = obj.id;
104
+ const path_id = path + '.id';
105
+ if (typeof obj_id !== 'string') {
106
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
107
+ }
108
+ }
102
109
  })();
103
110
  return v_error === undefined ? null : v_error;
104
111
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "e28eb9777b6150635071513bda495c06";
2
+ export declare const VERSION = "6a517087ee5af0cf9b42e8cbc95b9fd3";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: FieldSetOutputRepresentation, existing: FieldSetOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FieldSetOutputRepresentationNormalized;
@@ -20,6 +20,8 @@ export interface FieldSetOutputRepresentationNormalized {
20
20
  fieldSetApiName: string;
21
21
  /** field set name */
22
22
  fieldSetName: string;
23
+ /** ID of the field set */
24
+ id?: string;
23
25
  }
24
26
  /**
25
27
  * Field Set Output Representation
@@ -31,4 +33,5 @@ export interface FieldSetOutputRepresentation {
31
33
  description: string;
32
34
  fieldSetApiName: string;
33
35
  fieldSetName: string;
36
+ id?: string;
34
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-fieldset",
3
- "version": "1.360.1",
3
+ "version": "1.362.0",
4
4
  "description": "Field Set",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-fieldset.js",
@@ -43,11 +43,11 @@
43
43
  "test:unit": "jest"
44
44
  },
45
45
  "dependencies": {
46
- "@salesforce/lds-bindings": "^1.360.1"
46
+ "@salesforce/lds-bindings": "^1.362.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "^1.360.1",
50
- "@salesforce/lds-karma": "^1.360.1"
49
+ "@salesforce/lds-compiler-plugins": "^1.362.0",
50
+ "@salesforce/lds-karma": "^1.362.0"
51
51
  },
52
52
  "nx": {
53
53
  "targets": {
package/sfdc/index.js CHANGED
@@ -109,6 +109,13 @@ function validate$1(obj, path = 'FieldSetOutputRepresentation') {
109
109
  if (typeof obj_fieldSetName !== 'string') {
110
110
  return new TypeError('Expected "string" but received "' + typeof obj_fieldSetName + '" (at "' + path_fieldSetName + '")');
111
111
  }
112
+ if (obj.id !== undefined) {
113
+ const obj_id = obj.id;
114
+ const path_id = path + '.id';
115
+ if (typeof obj_id !== 'string') {
116
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
117
+ }
118
+ }
112
119
  })();
113
120
  return v_error === undefined ? null : v_error;
114
121
  }
@@ -396,4 +403,4 @@ withDefaultLuvio((luvio) => {
396
403
  });
397
404
 
398
405
  export { getFieldSets, getFieldSetsNotifyChange, getFieldSets_imperative };
399
- // version: 1.360.1-0f1676c606
406
+ // version: 1.362.0-d2e818ae61
package/src/raml/api.raml CHANGED
@@ -39,6 +39,10 @@ types:
39
39
  fieldSetName:
40
40
  description: field set name
41
41
  type: string
42
+ id:
43
+ description: ID of the field set
44
+ type: string
45
+ required: false
42
46
  FieldSetsOutputRepresentation:
43
47
  description: Field Sets Output Representation
44
48
  type: object