refactor: update nx monorepo structure

This commit is contained in:
4gray committed 2026-03-09 23:24:34 +01:00
1 parent aa739f43e0
commit 7ac2fd66b8
175 files changed
+3118 -1076

No files matched your search

@@ -10,23 +10,23 @@ import {
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import {
ArtPlayerComponent,
HtmlVideoPlayerComponent,
ResizableDirective,
VjsPlayerComponent,
} from 'components';
import { PORTAL_PLAYER } from '@iptvnator/portal/shared/util';
import { StalkerSessionService } from '@iptvnator/portal/stalker/data-access';
import {
XtreamApiService,
XtreamUrlService,
} from '@iptvnator/portal/xtream/data-access';
import {
ArtPlayerComponent,
HtmlVideoPlayerComponent,
VjsPlayerComponent,
} from '@iptvnator/ui/playback';
import { ResizableDirective } from 'components';
import { firstValueFrom } from 'rxjs';
import {
DataService,
PlaylistsService,
SettingsStore,
StalkerSessionService,
} from 'services';
import {
Channel,
@@ -8,10 +8,6 @@ import { Router } from '@angular/router';
import { CategoryViewComponent } from '@iptvnator/portal/shared/ui';
import { PlaylistErrorViewComponent } from '@iptvnator/portal/shared/ui';
import { StalkerStore } from '@iptvnator/portal/stalker/data-access';
import {
CategoryManagementDialogComponent,
CategoryManagementDialogData,
} from '@iptvnator/portal/xtream/feature';
import { XtreamStore } from '@iptvnator/portal/xtream/data-access';
type WorkspaceProvider = 'xtreams' | 'stalker' | 'playlists';
@@ -114,28 +110,31 @@ export class WorkspaceContextPanelComponent {
? 'live'
: 'vod';
const dialogRef = this.dialog.open<
CategoryManagementDialogComponent,
CategoryManagementDialogData,
boolean
>(CategoryManagementDialogComponent, {
data: {
playlistId: context.playlistId,
contentType,
itemCounts: this.xtreamStore.getCategoryItemCounts(),
},
width: '500px',
maxHeight: '80vh',
});
void import('@iptvnator/portal/xtream/feature').then(
({ CategoryManagementDialogComponent }) => {
const dialogRef = this.dialog.open(
CategoryManagementDialogComponent,
{
data: {
playlistId: context.playlistId,
contentType,
itemCounts: this.xtreamStore.getCategoryItemCounts(),
},
width: '500px',
maxHeight: '80vh',
}
);
dialogRef
.afterClosed()
.pipe(takeUntilDestroyed(this.destroyRef))
.subscribe((result) => {
if (result) {
this.xtreamStore.reloadCategories();
}
});
dialogRef
.afterClosed()
.pipe(takeUntilDestroyed(this.destroyRef))
.subscribe((result) => {
if (result) {
this.xtreamStore.reloadCategories();
}
});
}
);
}
onXtreamCategoryClicked(category: XtreamCategoryLike): void {
@@ -22,13 +22,15 @@ import {
} from '@angular/router';
import { Store } from '@ngrx/store';
import {
AddPlaylistMenuComponent,
ExternalPlaybackDockComponent,
ResizableDirective,
} from 'components';
import {
AddPlaylistMenuComponent,
PlaylistInfoComponent,
PlaylistSwitcherComponent,
PlaylistType,
ResizableDirective,
} from 'components';
} from '@iptvnator/playlist/shared/ui';
import {
selectActivePlaylist,
selectAllPlaylistsMeta,
@@ -2,7 +2,10 @@ import { Component, computed, inject } from '@angular/core';
import { toSignal } from '@angular/core/rxjs-interop';
import { ActivatedRoute } from '@angular/router';
import { Store } from '@ngrx/store';
import { PlaylistType, RecentPlaylistsComponent } from 'components';
import {
PlaylistType,
RecentPlaylistsComponent,
} from '@iptvnator/playlist/shared/ui';
import { selectActiveTypeFilters, selectAllPlaylistsMeta } from 'm3u-state';
import { map } from 'rxjs';
import { WORKSPACE_SHELL_ACTIONS } from '@iptvnator/workspace/shell/util';