Skip to content

Commit

Permalink
AAE-20808 Moved websocket service to core
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-2019 committed Dec 2, 2024
1 parent d8142ac commit ef3f48e
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 3 deletions.
18 changes: 18 additions & 0 deletions lib/core/src/lib/services/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*!
* @license
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export * from './public-api';
18 changes: 18 additions & 0 deletions lib/core/src/lib/services/public-api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*!
* @license
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export * from './web-socket.service';
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@

import { createClient } from 'graphql-ws';
import { Inject, Injectable } from '@angular/core';
import { AppConfigService, AuthenticationService } from '@alfresco/adf-core';
import { AuthenticationService } from '../auth';
import { AppConfigService } from '../app-config';
import { GraphQLWsLink } from '@apollo/client/link/subscriptions';
import { WebSocketLink } from '@apollo/client/link/ws';
import {
Expand Down
1 change: 1 addition & 0 deletions lib/core/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export * from './lib/mock/index';
export * from './lib/testing';

export * from './lib/auth';
export * from './lib/services';
export * from './lib/common';

export * from './lib/core.module';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

import { gql } from '@apollo/client/core';
import { Injectable } from '@angular/core';
import { WebSocketService } from './web-socket.service';

import { WebSocketService } from '@alfresco/adf-core';
@Injectable({
providedIn: 'root'
})
Expand Down

0 comments on commit ef3f48e

Please sign in to comment.