This repository was archived by the owner on Jun 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +25
-24
lines changed Expand file tree Collapse file tree 5 files changed +25
-24
lines changed Original file line number Diff line number Diff line change 18
18
export * from './src/api-legacy/legacy' ;
19
19
export * from './src/api-legacy/content-rest-api/src/index' ;
20
20
export * from './src/api-legacy/activiti-rest-api/src/index' ;
21
+ export * from './src/api-legacy/legacy-alfresco-api' ;
21
22
export * from './src/api/content-rest-api/index' ;
22
23
export * from './src/api/content-custom-api/index' ;
23
24
export * from './src/api/discovery-rest-api/index' ;
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ import { ProcessClient } from './processClient';
24
24
import { Storage } from './storage' ;
25
25
import { AlfrescoApiConfig } from './alfrescoApiConfig' ;
26
26
import { Authentication } from './authentication/authentication' ;
27
- import { LegacyAlfrescoApiHelper } from './to-deprecate /legacy-alfresco-api.helper ' ;
27
+ import { LegacyAlfrescoApi } from './api-legacy /legacy-alfresco-api' ;
28
28
import { AlfrescoApiType } from './to-deprecate/alfresco-api-type' ;
29
29
30
- export class AlfrescoApi extends LegacyAlfrescoApiHelper implements Emitter , AlfrescoApiType {
30
+ export class AlfrescoApi extends LegacyAlfrescoApi implements Emitter , AlfrescoApiType {
31
31
storage : Storage ;
32
32
config : AlfrescoApiConfig ;
33
33
contentClient : ContentClient ;
Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { AlfrescoApiType } from "../to-deprecate/alfresco-api-type" ;
19
- import { LegacyAlfrescoApiHelper } from "../to-deprecate /legacy-alfresco-api.helper " ;
19
+ import { LegacyAlfrescoApi } from "../api-legacy /legacy-alfresco-api" ;
20
20
import { HttpClient , RequestOptions } from "./http-client.interface" ;
21
21
22
22
export abstract class ApiClient {
@@ -32,7 +32,7 @@ export abstract class ApiClient {
32
32
constructor ( httpClient : HttpClient ) ;
33
33
constructor ( httpClient ?: AlfrescoApiType | HttpClient ) {
34
34
// TODO: remove legacyApi?: AlfrescoApi option and clean up this code. BREAKING CHANGE!
35
- if ( httpClient instanceof LegacyAlfrescoApiHelper ) {
35
+ if ( httpClient instanceof LegacyAlfrescoApi ) {
36
36
this . alfrescoApi = httpClient as AlfrescoApiType ;
37
37
} else {
38
38
this . httpClient = httpClient as HttpClient ;
Original file line number Diff line number Diff line change
1
+ /*!
2
+ * @license
3
+ * Copyright 2018 Alfresco Software, Ltd.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ // Empty class exist only to help differentiate with HttpClient interface
19
+ // and "instance of" LegacyAlfrescoApi and to break existing circular deps
20
+ export class LegacyAlfrescoApi { }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments