@salesforce/lds-adapters-platform-files 1.334.0 → 1.335.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.
|
@@ -256,7 +256,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
256
256
|
function createResourceRequest$3(config) {
|
|
257
257
|
const headers = {};
|
|
258
258
|
return {
|
|
259
|
-
baseUri: '/services/data/
|
|
259
|
+
baseUri: '/services/data/v64.0',
|
|
260
260
|
basePath: '/connect/file/upload/config',
|
|
261
261
|
method: 'get',
|
|
262
262
|
body: null,
|
|
@@ -2503,7 +2503,7 @@ function equals$5(existing, incoming) {
|
|
|
2503
2503
|
return true;
|
|
2504
2504
|
}
|
|
2505
2505
|
|
|
2506
|
-
const VERSION$4 = "
|
|
2506
|
+
const VERSION$4 = "ba584d02474727c90feb53b4897ee120";
|
|
2507
2507
|
function validate$4(obj, path = 'TopicRepresentation') {
|
|
2508
2508
|
const v_error = (() => {
|
|
2509
2509
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4683,7 +4683,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
4683
4683
|
function createResourceRequest$2(config) {
|
|
4684
4684
|
const headers = {};
|
|
4685
4685
|
return {
|
|
4686
|
-
baseUri: '/services/data/
|
|
4686
|
+
baseUri: '/services/data/v64.0',
|
|
4687
4687
|
basePath: '/connect/files/users/' + config.urlParams.userId + '',
|
|
4688
4688
|
method: 'post',
|
|
4689
4689
|
body: config.body,
|
|
@@ -4993,7 +4993,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
4993
4993
|
function createResourceRequest$1(config) {
|
|
4994
4994
|
const headers = {};
|
|
4995
4995
|
return {
|
|
4996
|
-
baseUri: '/services/data/
|
|
4996
|
+
baseUri: '/services/data/v64.0',
|
|
4997
4997
|
basePath: '/connect/communities/' + config.urlParams.communityId + '/files/' + config.urlParams.fileId + '/previews/' + config.urlParams.previewFormat + '',
|
|
4998
4998
|
method: 'get',
|
|
4999
4999
|
body: null,
|
|
@@ -5136,7 +5136,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
5136
5136
|
function createResourceRequest(config) {
|
|
5137
5137
|
const headers = {};
|
|
5138
5138
|
return {
|
|
5139
|
-
baseUri: '/services/data/
|
|
5139
|
+
baseUri: '/services/data/v64.0',
|
|
5140
5140
|
basePath: '/connect/files/' + config.urlParams.fileId + '/previews/' + config.urlParams.previewFormat + '',
|
|
5141
5141
|
method: 'get',
|
|
5142
5142
|
body: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TopicImagesRepresentation as TopicImagesRepresentation_TopicImagesRepresentation } from './TopicImagesRepresentation';
|
|
2
2
|
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';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "ba584d02474727c90feb53b4897ee120";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: TopicRepresentation, existing: TopicRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TopicRepresentationNormalized;
|
|
@@ -9,7 +9,7 @@ export declare function equals(existing: TopicRepresentationNormalized, incoming
|
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
10
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TopicRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
|
-
* A Chatter topic, either hashtag (
|
|
12
|
+
* A Chatter topic, either hashtag (v64.0 and earlier) or new topic (v64.0 and later).
|
|
13
13
|
*
|
|
14
14
|
* Keys:
|
|
15
15
|
* (none)
|
|
@@ -35,7 +35,7 @@ export interface TopicRepresentationNormalized {
|
|
|
35
35
|
url: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* A Chatter topic, either hashtag (
|
|
38
|
+
* A Chatter topic, either hashtag (v64.0 and earlier) or new topic (v64.0 and later).
|
|
39
39
|
*
|
|
40
40
|
* Keys:
|
|
41
41
|
* (none)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-files",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.335.0",
|
|
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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.335.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.335.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2274,7 +2274,7 @@ function equals$6(existing, incoming) {
|
|
|
2274
2274
|
return true;
|
|
2275
2275
|
}
|
|
2276
2276
|
|
|
2277
|
-
const VERSION$5 = "
|
|
2277
|
+
const VERSION$5 = "ba584d02474727c90feb53b4897ee120";
|
|
2278
2278
|
function validate$5(obj, path = 'TopicRepresentation') {
|
|
2279
2279
|
const v_error = (() => {
|
|
2280
2280
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4454,7 +4454,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
4454
4454
|
function createResourceRequest$3(config) {
|
|
4455
4455
|
const headers = {};
|
|
4456
4456
|
return {
|
|
4457
|
-
baseUri: '/services/data/
|
|
4457
|
+
baseUri: '/services/data/v64.0',
|
|
4458
4458
|
basePath: '/connect/files/users/' + config.urlParams.userId + '',
|
|
4459
4459
|
method: 'post',
|
|
4460
4460
|
body: config.body,
|
|
@@ -4764,7 +4764,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
4764
4764
|
function createResourceRequest$2(config) {
|
|
4765
4765
|
const headers = {};
|
|
4766
4766
|
return {
|
|
4767
|
-
baseUri: '/services/data/
|
|
4767
|
+
baseUri: '/services/data/v64.0',
|
|
4768
4768
|
basePath: '/connect/files/' + config.urlParams.fileId + '/previews/' + config.urlParams.previewFormat + '',
|
|
4769
4769
|
method: 'get',
|
|
4770
4770
|
body: null,
|
|
@@ -4906,7 +4906,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
4906
4906
|
function createResourceRequest$1(config) {
|
|
4907
4907
|
const headers = {};
|
|
4908
4908
|
return {
|
|
4909
|
-
baseUri: '/services/data/
|
|
4909
|
+
baseUri: '/services/data/v64.0',
|
|
4910
4910
|
basePath: '/connect/communities/' + config.urlParams.communityId + '/files/' + config.urlParams.fileId + '/previews/' + config.urlParams.previewFormat + '',
|
|
4911
4911
|
method: 'get',
|
|
4912
4912
|
body: null,
|
|
@@ -5153,7 +5153,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
5153
5153
|
function createResourceRequest(config) {
|
|
5154
5154
|
const headers = {};
|
|
5155
5155
|
return {
|
|
5156
|
-
baseUri: '/services/data/
|
|
5156
|
+
baseUri: '/services/data/v64.0',
|
|
5157
5157
|
basePath: '/connect/file/upload/config',
|
|
5158
5158
|
method: 'get',
|
|
5159
5159
|
body: null,
|
|
@@ -5297,4 +5297,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5297
5297
|
});
|
|
5298
5298
|
|
|
5299
5299
|
export { createContentDocFromContentBody, getFilePreview, getFilePreviewCommunity, getFilePreviewCommunity_imperative, getFilePreview_imperative, getFileUploadConfig, getFileUploadConfig_imperative };
|
|
5300
|
-
// version: 1.
|
|
5300
|
+
// version: 1.335.0-22a7c4d20b
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '62.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v64.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -749,8 +749,8 @@ types:
|
|
|
749
749
|
description: URL to the Topic Featured Image.
|
|
750
750
|
type: string
|
|
751
751
|
TopicRepresentation:
|
|
752
|
-
description: A Chatter topic, either hashtag (
|
|
753
|
-
(
|
|
752
|
+
description: A Chatter topic, either hashtag (v64.0 and earlier) or new topic
|
|
753
|
+
(v64.0 and later).
|
|
754
754
|
type: object
|
|
755
755
|
properties:
|
|
756
756
|
createdDate:
|