@salesforce/lds-adapters-platform-files 1.307.0 → 1.308.0-dev2

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.
@@ -4700,6 +4700,8 @@ const createContentDocFromContentBody_ConfigPropertyMetadata = [
4700
4700
  generateParamConfigMetadata('contentBodyId', true, 2 /* Body */, 0 /* String */),
4701
4701
  generateParamConfigMetadata('contentModifiedDate', false, 2 /* Body */, 0 /* String */),
4702
4702
  generateParamConfigMetadata('desc', false, 2 /* Body */, 0 /* String */),
4703
+ generateParamConfigMetadata('fieldName', false, 2 /* Body */, 0 /* String */),
4704
+ generateParamConfigMetadata('fieldValue', false, 2 /* Body */, 0 /* String */),
4703
4705
  generateParamConfigMetadata('firstPublishLocationId', false, 2 /* Body */, 0 /* String */),
4704
4706
  generateParamConfigMetadata('includeExternalFilePermissionsInfo', false, 2 /* Body */, 1 /* Boolean */),
4705
4707
  generateParamConfigMetadata('isInMyFileSync', false, 2 /* Body */, 1 /* Boolean */),
@@ -10,6 +10,8 @@ export interface CreateContentDocFromContentBodyConfig {
10
10
  contentBodyId: string;
11
11
  contentModifiedDate?: string;
12
12
  desc?: string;
13
+ fieldName?: string;
14
+ fieldValue?: string;
13
15
  firstPublishLocationId?: string;
14
16
  includeExternalFilePermissionsInfo?: boolean;
15
17
  isInMyFileSync?: boolean;
@@ -8,6 +8,8 @@ export interface ResourceRequestConfig {
8
8
  contentBodyId: string;
9
9
  contentModifiedDate?: string;
10
10
  desc?: string;
11
+ fieldName?: string;
12
+ fieldValue?: string;
11
13
  firstPublishLocationId?: string;
12
14
  includeExternalFilePermissionsInfo?: boolean;
13
15
  isInMyFileSync?: boolean;
@@ -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 = "4ec954c89bc9487142f1fa0a8b3fd5f0";
2
+ export declare const VERSION = "ff58d7915c819ca2ceb9b0930d1836ec";
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: FileInputRepresentation, existing: FileInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FileInputRepresentationNormalized;
@@ -20,6 +20,10 @@ export interface FileInputRepresentationNormalized {
20
20
  contentModifiedDate?: string;
21
21
  /** Description of the file to be uploaded. */
22
22
  desc?: string;
23
+ /** Name of a custom field on the ContentVersion object. */
24
+ fieldName?: string;
25
+ /** Value to store in the custom field specified by FieldName. */
26
+ fieldValue?: string;
23
27
  /** The record id of the first published location */
24
28
  firstPublishLocationId?: string;
25
29
  /** Whether or not we want to retrieve external file permissions information when creating a TPCF */
@@ -59,6 +63,8 @@ export interface FileInputRepresentation {
59
63
  contentBodyId: string;
60
64
  contentModifiedDate?: string;
61
65
  desc?: string;
66
+ fieldName?: string;
67
+ fieldValue?: string;
62
68
  firstPublishLocationId?: string;
63
69
  includeExternalFilePermissionsInfo?: boolean;
64
70
  isInMyFileSync?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-files",
3
- "version": "1.307.0",
3
+ "version": "1.308.0-dev2",
4
4
  "description": "A collection of adapters used for Salesforce files, based on chatter-connect-api",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/platform-files.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.307.0"
43
+ "@salesforce/lds-bindings": "^1.308.0-dev2"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.307.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.308.0-dev2"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -4471,6 +4471,8 @@ const createContentDocFromContentBody_ConfigPropertyMetadata = [
4471
4471
  generateParamConfigMetadata('contentBodyId', true, 2 /* Body */, 0 /* String */),
4472
4472
  generateParamConfigMetadata('contentModifiedDate', false, 2 /* Body */, 0 /* String */),
4473
4473
  generateParamConfigMetadata('desc', false, 2 /* Body */, 0 /* String */),
4474
+ generateParamConfigMetadata('fieldName', false, 2 /* Body */, 0 /* String */),
4475
+ generateParamConfigMetadata('fieldValue', false, 2 /* Body */, 0 /* String */),
4474
4476
  generateParamConfigMetadata('firstPublishLocationId', false, 2 /* Body */, 0 /* String */),
4475
4477
  generateParamConfigMetadata('includeExternalFilePermissionsInfo', false, 2 /* Body */, 1 /* Boolean */),
4476
4478
  generateParamConfigMetadata('isInMyFileSync', false, 2 /* Body */, 1 /* Boolean */),
@@ -4801,4 +4803,4 @@ withDefaultLuvio((luvio) => {
4801
4803
  });
4802
4804
 
4803
4805
  export { createContentDocFromContentBody, getFileUploadConfig, getFileUploadConfig_imperative };
4804
- // version: 1.307.0-1e4b921353
4806
+ // version: 1.308.0-dev2-9bec7cb98f
package/src/raml/api.raml CHANGED
@@ -229,6 +229,14 @@ types:
229
229
  description: Description of the file to be uploaded.
230
230
  type: string
231
231
  required: false
232
+ fieldName:
233
+ description: Name of a custom field on the ContentVersion object.
234
+ type: string
235
+ required: false
236
+ fieldValue:
237
+ description: Value to store in the custom field specified by FieldName.
238
+ type: string
239
+ required: false
232
240
  firstPublishLocationId:
233
241
  description: The record id of the first published location
234
242
  type: string