frontend: Refactors shared components import paths
This commit is contained in:
parent
5304b55279
commit
0274308460
@ -7,8 +7,8 @@ import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { ConsoleNavLink } from '@lib/models';
|
||||
import { AppDataService, ThemeService } from '@lib/services';
|
||||
import { ConsoleNavLink } from '@openvidu-meet/shared/models';
|
||||
import { AppDataService, ThemeService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-console-nav',
|
||||
|
||||
@ -10,7 +10,7 @@ import {
|
||||
MatDialogTitle
|
||||
} from '@angular/material/dialog';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import type { DialogOptions } from '@lib/models';
|
||||
import type { DialogOptions } from '@openvidu-meet/shared/models';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-dialog',
|
||||
|
||||
@ -10,7 +10,7 @@ import {
|
||||
} from '@angular/material/dialog';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import type { DeleteRoomDialogOptions } from '@lib/models';
|
||||
import type { DeleteRoomDialogOptions } from '@openvidu-meet/shared/models';
|
||||
import { MeetRoomDeletionPolicyWithMeeting, MeetRoomDeletionPolicyWithRecordings } from '@openvidu-meet/typings';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -15,7 +15,7 @@ import { MatInputModule } from '@angular/material/input';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { RecordingService } from '@lib/services';
|
||||
import { RecordingService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-share-recording-dialog',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { ProFeatureBadgeComponent } from '@lib/components';
|
||||
import { ProFeatureBadgeComponent } from '@openvidu-meet/shared/components';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-logo-selector',
|
||||
|
||||
@ -15,7 +15,7 @@ import { MatTableModule } from '@angular/material/table';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { MeetRecordingInfo, MeetRecordingStatus } from '@openvidu-meet/typings';
|
||||
import { formatBytes, formatDurationToHMS } from '@lib/utils';
|
||||
import { formatBytes, formatDurationToHMS } from '@openvidu-meet/shared/utils';
|
||||
import { ViewportService } from 'openvidu-components-angular';
|
||||
|
||||
export interface RecordingTableAction {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { ProFeatureBadgeComponent } from '@lib/components';
|
||||
import { ProFeatureBadgeComponent } from '@openvidu-meet/shared/components';
|
||||
|
||||
/**
|
||||
* Interface for selectable card option data
|
||||
|
||||
@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
|
||||
import { Component, computed, input, output } from '@angular/core';
|
||||
import { ReactiveFormsModule } from '@angular/forms';
|
||||
import { MatStepperModule } from '@angular/material/stepper';
|
||||
import { WizardStep } from '@lib/models';
|
||||
import { WizardStep } from '@openvidu-meet/shared/models';
|
||||
import { Observable } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { MatIcon } from '@angular/material/icon';
|
||||
import type { WizardNavigationConfig, WizardNavigationEvent } from '@lib/models';
|
||||
import type { WizardNavigationConfig, WizardNavigationEvent } from '@openvidu-meet/shared/models';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-wizard-nav',
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { inject } from '@angular/core';
|
||||
import { ActivatedRouteSnapshot, CanActivateFn, RouterStateSnapshot } from '@angular/router';
|
||||
import { ErrorReason } from '@lib/models';
|
||||
import { ErrorReason } from '@openvidu-meet/shared/models';
|
||||
import {
|
||||
AuthService,
|
||||
GlobalConfigService,
|
||||
@ -8,7 +8,7 @@ import {
|
||||
ParticipantService,
|
||||
RecordingService,
|
||||
RoomService
|
||||
} from '@lib/services';
|
||||
} from '@openvidu-meet/shared/services';
|
||||
import { AuthMode, ParticipantRole } from '@openvidu-meet/typings';
|
||||
|
||||
export const checkUserAuthenticatedGuard: CanActivateFn = async (
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
import { inject } from '@angular/core';
|
||||
import { ActivatedRouteSnapshot, CanActivateFn } from '@angular/router';
|
||||
import { ErrorReason } from '@lib/models';
|
||||
import { ErrorReason } from '@openvidu-meet/shared/models';
|
||||
import {
|
||||
AppDataService,
|
||||
NavigationService,
|
||||
ParticipantService,
|
||||
RoomService,
|
||||
SessionStorageService
|
||||
} from '@lib/services';
|
||||
} from '@openvidu-meet/shared/services';
|
||||
import { WebComponentProperty } from '@openvidu-meet/typings';
|
||||
|
||||
export const extractRoomQueryParamsGuard: CanActivateFn = (route: ActivatedRouteSnapshot) => {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { inject } from '@angular/core';
|
||||
import { CanActivateFn, NavigationEnd, Router } from '@angular/router';
|
||||
import { NavigationService } from '@lib/services';
|
||||
import { NavigationService } from '@openvidu-meet/shared/services';
|
||||
import { filter, take } from 'rxjs';
|
||||
|
||||
/**
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { inject } from '@angular/core';
|
||||
import { ActivatedRouteSnapshot, CanActivateFn, RouterStateSnapshot } from '@angular/router';
|
||||
import { ErrorReason } from '@lib/models';
|
||||
import { NavigationService, ParticipantService, RecordingService, RoomService } from '@lib/services';
|
||||
import { ErrorReason } from '@openvidu-meet/shared/models';
|
||||
import { NavigationService, ParticipantService, RecordingService, RoomService } from '@openvidu-meet/shared/services';
|
||||
|
||||
/**
|
||||
* Guard to validate access to a room by generating a participant token.
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { HttpErrorResponse, HttpEvent, HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';
|
||||
import { inject } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { AuthService, ParticipantService, RecordingService, RoomService, TokenStorageService } from '@lib/services';
|
||||
import { AuthService, ParticipantService, RecordingService, RoomService, TokenStorageService } from '@openvidu-meet/shared/services';
|
||||
import { catchError, from, Observable, switchMap } from 'rxjs';
|
||||
|
||||
/**
|
||||
|
||||
@ -10,7 +10,7 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatSlideToggleChange, MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { GlobalConfigService, NotificationService } from '@lib/services';
|
||||
import { GlobalConfigService, NotificationService } from '@openvidu-meet/shared/services';
|
||||
import { MeetAppearanceConfig, MeetRoomTheme, MeetRoomThemeMode } from '@openvidu-meet/typings';
|
||||
import { OPENVIDU_COMPONENTS_DARK_THEME, OPENVIDU_COMPONENTS_LIGHT_THEME } from 'openvidu-components-angular';
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { ConsoleNavComponent } from '@lib/components';
|
||||
import { ConsoleNavLink } from '@lib/models';
|
||||
import { AuthService } from '@lib/services';
|
||||
import { ConsoleNavComponent } from '@openvidu-meet/shared/components';
|
||||
import { ConsoleNavLink } from '@openvidu-meet/shared/models';
|
||||
import { AuthService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-console',
|
||||
|
||||
@ -9,7 +9,7 @@ import { MatInputModule } from '@angular/material/input';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { AuthService, GlobalConfigService, NotificationService } from '@lib/services';
|
||||
import { AuthService, GlobalConfigService, NotificationService } from '@openvidu-meet/shared/services';
|
||||
import { MeetApiKey } from '@openvidu-meet/typings';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -4,7 +4,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatGridListModule } from '@angular/material/grid-list';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { NavigationService, RecordingService, RoomService } from '@lib/services';
|
||||
import { NavigationService, RecordingService, RoomService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRecordingStatus, MeetRoom, MeetRoomStatus } from '@openvidu-meet/typings';
|
||||
|
||||
interface OverviewStats {
|
||||
|
||||
@ -2,8 +2,8 @@ import { Component, OnInit, signal } from '@angular/core';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RecordingListsComponent, RecordingTableAction } from '@lib/components';
|
||||
import { NotificationService, RecordingService } from '@lib/services';
|
||||
import { RecordingListsComponent, RecordingTableAction } from '@openvidu-meet/shared/components';
|
||||
import { NotificationService, RecordingService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRecordingFilters, MeetRecordingInfo } from '@openvidu-meet/typings';
|
||||
import { ILogger, LoggerService } from 'openvidu-components-angular';
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { RoomWizardStateService } from '@lib/services';
|
||||
import { RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRoomOptions } from '@openvidu-meet/typings';
|
||||
import { Subject, takeUntil } from 'rxjs';
|
||||
|
||||
|
||||
@ -5,9 +5,9 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { StepIndicatorComponent, WizardNavComponent } from '@lib/components';
|
||||
import { WizardNavigationConfig, WizardStep } from '@lib/models';
|
||||
import { NavigationService, NotificationService, RoomService, RoomWizardStateService } from '@lib/services';
|
||||
import { StepIndicatorComponent, WizardNavComponent } from '@openvidu-meet/shared/components';
|
||||
import { WizardNavigationConfig, WizardStep } from '@openvidu-meet/shared/models';
|
||||
import { NavigationService, NotificationService, RoomService, RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRoomOptions } from '@openvidu-meet/typings';
|
||||
import { RoomBasicCreationComponent } from '../room-basic-creation/room-basic-creation.component';
|
||||
import { RecordingConfigComponent } from './steps/recording-config/recording-config.component';
|
||||
|
||||
@ -7,8 +7,8 @@ import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { SelectableCardComponent, SelectableOption, SelectionEvent } from '@lib/components';
|
||||
import { RoomWizardStateService } from '@lib/services';
|
||||
import { SelectableCardComponent, SelectableOption, SelectionEvent } from '@openvidu-meet/shared/components';
|
||||
import { RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRecordingAccess } from '@openvidu-meet/typings';
|
||||
import { Subject, takeUntil } from 'rxjs';
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import { SelectableCardComponent, SelectableOption, SelectionEvent } from '@lib/components';
|
||||
import { RoomWizardStateService } from '@lib/services';
|
||||
import { SelectableCardComponent, SelectableOption, SelectionEvent } from '@openvidu-meet/shared/components';
|
||||
import { RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import { Subject, takeUntil } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -5,8 +5,8 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatRadioModule } from '@angular/material/radio';
|
||||
import { SelectableCardComponent, SelectableOption, SelectionEvent } from '@lib/components';
|
||||
import { RoomWizardStateService } from '@lib/services';
|
||||
import { SelectableCardComponent, SelectableOption, SelectionEvent } from '@openvidu-meet/shared/components';
|
||||
import { RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import { Subject, takeUntil } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -3,7 +3,7 @@ import { FormGroup, ReactiveFormsModule } from '@angular/forms';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
||||
import { RoomWizardStateService } from '@lib/services';
|
||||
import { RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import { Subject, takeUntil } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -8,7 +8,7 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { RoomWizardStateService } from '@lib/services';
|
||||
import { RoomWizardStateService } from '@openvidu-meet/shared/services';
|
||||
import {
|
||||
MeetRoomAutoDeletionPolicy,
|
||||
MeetRoomDeletionPolicyWithMeeting,
|
||||
|
||||
@ -15,10 +15,10 @@ import { MatSortModule } from '@angular/material/sort';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { RoomsListsComponent, RoomTableAction } from '@lib/components';
|
||||
import { DeleteRoomDialogComponent } from '@lib/components/dialogs/delete-room-dialog/delete-room-dialog.component';
|
||||
import { DeleteRoomDialogOptions } from '@lib/models';
|
||||
import { NavigationService, NotificationService, RoomService } from '@lib/services';
|
||||
import { RoomsListsComponent, RoomTableAction } from '@openvidu-meet/shared/components';
|
||||
import { DeleteRoomDialogComponent } from '@openvidu-meet/shared/components/dialogs/delete-room-dialog/delete-room-dialog.component';
|
||||
import { DeleteRoomDialogOptions } from '@openvidu-meet/shared/models';
|
||||
import { NavigationService, NotificationService, RoomService } from '@openvidu-meet/shared/services';
|
||||
import {
|
||||
MeetRoom,
|
||||
MeetRoomDeletionErrorCode,
|
||||
|
||||
@ -17,8 +17,8 @@ import { MatInputModule } from '@angular/material/input';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatSelectModule } from '@angular/material/select';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
// import { ProFeatureBadgeComponent } from '@lib/components';
|
||||
import { AuthService, GlobalConfigService, NotificationService } from '@lib/services';
|
||||
// import { ProFeatureBadgeComponent } from '@openvidu-meet/shared/components';
|
||||
import { AuthService, GlobalConfigService, NotificationService } from '@openvidu-meet/shared/services';
|
||||
import { AuthMode } from '@openvidu-meet/typings';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -3,8 +3,8 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { ErrorReason } from '@lib/models';
|
||||
import { AppDataService, AuthService, NavigationService, WebComponentManagerService } from '@lib/services';
|
||||
import { ErrorReason } from '@openvidu-meet/shared/models';
|
||||
import { AppDataService, AuthService, NavigationService, WebComponentManagerService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-error',
|
||||
|
||||
@ -8,7 +8,7 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatInputModule } from '@angular/material/input';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { ActivatedRoute, RouterModule } from '@angular/router';
|
||||
import { AuthService, NavigationService } from '@lib/services';
|
||||
import { AuthService, NavigationService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Component({
|
||||
selector: 'ov-login',
|
||||
|
||||
@ -4,7 +4,7 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { AppDataService, AuthService, NavigationService, WebComponentManagerService } from '@lib/services';
|
||||
import { AppDataService, AuthService, NavigationService, WebComponentManagerService } from '@openvidu-meet/shared/services';
|
||||
import { LeftEventReason } from '@openvidu-meet/typings';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -12,9 +12,9 @@ import { MatInputModule } from '@angular/material/input';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { ShareMeetingLinkComponent } from '@lib/components/share-meeting-link/share-meeting-link.component';
|
||||
import { ErrorReason } from '@lib/models';
|
||||
import { CustomParticipantModel } from '@lib/models/custom-participant.model';
|
||||
import { ShareMeetingLinkComponent } from '@openvidu-meet/shared/components/share-meeting-link/share-meeting-link.component';
|
||||
import { ErrorReason } from '@openvidu-meet/shared/models';
|
||||
import { CustomParticipantModel } from '@openvidu-meet/shared/models/custom-participant.model';
|
||||
import {
|
||||
AppDataService,
|
||||
ApplicationFeatures,
|
||||
@ -30,7 +30,7 @@ import {
|
||||
SessionStorageService,
|
||||
TokenStorageService,
|
||||
WebComponentManagerService
|
||||
} from '@lib/services';
|
||||
} from '@openvidu-meet/shared/services';
|
||||
import {
|
||||
LeftEventReason,
|
||||
MeetRoom,
|
||||
|
||||
@ -4,8 +4,8 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { RecordingListsComponent, RecordingTableAction } from '@lib/components';
|
||||
import { NavigationService, NotificationService, RecordingService, RoomService } from '@lib/services';
|
||||
import { RecordingListsComponent, RecordingTableAction } from '@openvidu-meet/shared/components';
|
||||
import { NavigationService, NotificationService, RecordingService, RoomService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRecordingFilters, MeetRecordingInfo } from '@openvidu-meet/typings';
|
||||
import { ILogger, LoggerService } from 'openvidu-components-angular';
|
||||
|
||||
|
||||
@ -7,10 +7,10 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { RecordingVideoPlayerComponent } from '@lib/components';
|
||||
import { NotificationService, RecordingService } from '@lib/services';
|
||||
import { RecordingVideoPlayerComponent } from '@openvidu-meet/shared/components';
|
||||
import { NotificationService, RecordingService } from '@openvidu-meet/shared/services';
|
||||
import { MeetRecordingInfo, MeetRecordingStatus } from '@openvidu-meet/typings';
|
||||
import { formatDurationToTime } from '@lib/utils';
|
||||
import { formatDurationToTime } from '@openvidu-meet/shared/utils';
|
||||
import { ViewportService } from 'openvidu-components-angular';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -10,7 +10,7 @@ import {
|
||||
runGuardsSerially,
|
||||
validateRecordingAccessGuard,
|
||||
validateRoomAccessGuard
|
||||
} from '@lib/guards';
|
||||
} from '@openvidu-meet/shared/guards';
|
||||
import {
|
||||
ConsoleComponent,
|
||||
EmbeddedComponent,
|
||||
@ -26,7 +26,7 @@ import {
|
||||
UsersPermissionsComponent,
|
||||
ViewRecordingComponent,
|
||||
ConfigComponent
|
||||
} from '@lib/pages';
|
||||
} from '@openvidu-meet/shared/pages';
|
||||
|
||||
export const baseRoutes: Routes = [
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { AppData, ApplicationMode, Edition } from '@lib/models';
|
||||
import { WebComponentManagerService } from '@lib/services';
|
||||
import { AppData, ApplicationMode, Edition } from '@openvidu-meet/shared/models';
|
||||
import { WebComponentManagerService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpService, NavigationService, TokenStorageService } from '@lib/services';
|
||||
import { HttpService, NavigationService, TokenStorageService } from '@openvidu-meet/shared/services';
|
||||
import { MeetApiKey, User, UserRole } from '@openvidu-meet/typings';
|
||||
import { from, Observable } from 'rxjs';
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { FeatureConfigurationService, HttpService } from '@lib/services';
|
||||
import { FeatureConfigurationService, HttpService } from '@openvidu-meet/shared/services';
|
||||
import { AuthMode, AuthTransportMode, MeetAppearanceConfig, SecurityConfig, WebhookConfig } from '@openvidu-meet/typings';
|
||||
import { LoggerService } from 'openvidu-components-angular';
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpService, ParticipantService } from '@lib/services';
|
||||
import { HttpService, ParticipantService } from '@openvidu-meet/shared/services';
|
||||
import { LoggerService } from 'openvidu-components-angular';
|
||||
|
||||
@Injectable({
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Params, Router, UrlTree } from '@angular/router';
|
||||
import { ErrorReason } from '@lib/models';
|
||||
import { AppDataService, SessionStorageService } from '@lib/services';
|
||||
import { ErrorReason } from '@openvidu-meet/shared/models';
|
||||
import { AppDataService, SessionStorageService } from '@openvidu-meet/shared/services';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
||||
@ -3,8 +3,8 @@ import { ComponentPortal } from '@angular/cdk/portal';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||
import { DialogComponent, SpinnerComponent } from '@lib/components';
|
||||
import { DialogOptions } from '@lib/models';
|
||||
import { DialogComponent, SpinnerComponent } from '@openvidu-meet/shared/components';
|
||||
import { DialogOptions } from '@openvidu-meet/shared/models';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { FeatureConfigurationService, GlobalConfigService, HttpService, TokenStorageService } from '@lib/services';
|
||||
import { FeatureConfigurationService, GlobalConfigService, HttpService, TokenStorageService } from '@openvidu-meet/shared/services';
|
||||
import {
|
||||
AuthTransportMode,
|
||||
MeetTokenMetadata,
|
||||
@ -7,7 +7,7 @@ import {
|
||||
ParticipantPermissions,
|
||||
ParticipantRole
|
||||
} from '@openvidu-meet/typings';
|
||||
import { getValidDecodedToken } from '@lib/utils';
|
||||
import { getValidDecodedToken } from '@openvidu-meet/shared/utils';
|
||||
import { LoggerService } from 'openvidu-components-angular';
|
||||
|
||||
@Injectable({
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { ShareRecordingDialogComponent } from '@lib/components';
|
||||
import { ShareRecordingDialogComponent } from '@openvidu-meet/shared/components';
|
||||
import {
|
||||
AuthService,
|
||||
FeatureConfigurationService,
|
||||
@ -8,9 +8,9 @@ import {
|
||||
HttpService,
|
||||
TokenStorageService,
|
||||
ParticipantService
|
||||
} from '@lib/services';
|
||||
} from '@openvidu-meet/shared/services';
|
||||
import { AuthTransportMode, MeetRecordingFilters, MeetRecordingInfo, RecordingPermissions } from '@openvidu-meet/typings';
|
||||
import { getValidDecodedToken } from '@lib/utils';
|
||||
import { getValidDecodedToken } from '@openvidu-meet/shared/utils';
|
||||
import { LoggerService } from 'openvidu-components-angular';
|
||||
|
||||
@Injectable({
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { FeatureConfigurationService, HttpService, ParticipantService, SessionStorageService } from '@lib/services';
|
||||
import { FeatureConfigurationService, HttpService, ParticipantService, SessionStorageService } from '@openvidu-meet/shared/services';
|
||||
import {
|
||||
MeetRoom,
|
||||
MeetRoomConfig,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { MeetingService, ParticipantService, RoomService } from '@lib/services';
|
||||
import { MeetingService, ParticipantService, RoomService } from '@openvidu-meet/shared/services';
|
||||
import {
|
||||
WebComponentCommand,
|
||||
WebComponentEvent,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { computed, Injectable, signal } from '@angular/core';
|
||||
import { AbstractControl, FormBuilder, ValidationErrors, Validators } from '@angular/forms';
|
||||
import { WizardNavigationConfig, WizardStep } from '@lib/models';
|
||||
import { WizardNavigationConfig, WizardStep } from '@openvidu-meet/shared/models';
|
||||
import {
|
||||
MeetRecordingAccess,
|
||||
MeetRoomConfig,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, inject } from '@angular/core';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import { AppDataService } from '@lib/services';
|
||||
import { AppDataService } from '@openvidu-meet/shared/services';
|
||||
import packageInfo from '../../package.json';
|
||||
|
||||
@Component({
|
||||
|
||||
@ -5,9 +5,9 @@ import { provideAnimationsAsync } from '@angular/platform-browser/animations/asy
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { routes } from '@app/app.routes';
|
||||
import { environment } from '@environment/environment';
|
||||
import { httpInterceptor } from '@lib/interceptors';
|
||||
import { CustomParticipantModel } from '@lib/models';
|
||||
import { ThemeService } from '@lib/services';
|
||||
import { httpInterceptor } from '@openvidu-meet/shared/interceptors';
|
||||
import { CustomParticipantModel } from '@openvidu-meet/shared/models';
|
||||
import { ThemeService } from '@openvidu-meet/shared/services';
|
||||
import { OpenViduComponentsConfig, OpenViduComponentsModule, ParticipantProperties } from 'openvidu-components-angular';
|
||||
|
||||
const ovComponentsconfig: OpenViduComponentsConfig = {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { baseRoutes } from '@lib/routes/base-routes';
|
||||
import { baseRoutes } from '@openvidu-meet/shared/routes/base-routes';
|
||||
|
||||
export const routes: Routes = baseRoutes;
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
"@app/*": [
|
||||
"src/app/*"
|
||||
],
|
||||
"@lib/*": [
|
||||
"@openvidu-meet/shared/*": [
|
||||
"projects/shared-meet-components/src/lib/*"
|
||||
]
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user