refactor(nx): update repository structure for portals

This commit is contained in:
4gray committed 2026-03-08 20:09:50 +01:00
1 parent 256f0e0136
commit 7f67962dd7
18 files changed
+20 -14

No files matched your search

@@ -45,7 +45,7 @@ import { StalkerStore } from '@iptvnator/portal/stalker/data-access';
import { XTREAM_DATA_SOURCE } from '@iptvnator/portal/xtream/data-access';
import { XtreamCategorySortMode } from '@iptvnator/portal/xtream/data-access';
import { XtreamStore } from '@iptvnator/portal/xtream/data-access';
import { VodDetailsComponent } from '../../xtream-electron/vod-details/vod-details.component';
import { VodDetailsComponent } from '../vod-details/vod-details.component';
const SORT_STORAGE_KEY = 'xtream-category-sort-mode';
@@ -6,11 +6,13 @@ import { MatIcon } from '@angular/material/icon';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
import { MatTooltipModule } from '@angular/material/tooltip';
import { TranslateModule } from '@ngx-translate/core';
import {
ProgressCapsuleComponent,
WatchedBadgeComponent,
} from '@iptvnator/portal/shared/ui';
import { XtreamSerieEpisode, XtreamSerieEpisodeInfo } from 'shared-interfaces';
import { XtreamStore } from '@iptvnator/portal/xtream/data-access';
import { StalkerStore } from '@iptvnator/portal/stalker/data-access';
import { ProgressCapsuleComponent } from '../shared/progress-capsule/progress-capsule.component';
import { WatchedBadgeComponent } from '../shared/watched-badge/watched-badge.component';
import { DownloadsService } from '../../services/downloads.service';
import { createLogger } from '@iptvnator/portal/shared/util';
@@ -4,9 +4,11 @@ import { MatIcon } from '@angular/material/icon';
import { MatPaginatorModule, PageEvent } from '@angular/material/paginator';
import { MatTooltip } from '@angular/material/tooltip';
import { TranslatePipe } from '@ngx-translate/core';
import { PlaylistErrorViewComponent } from '@iptvnator/portal/shared/ui';
import { ProgressCapsuleComponent } from '../../../xtream-electron/shared/progress-capsule/progress-capsule.component';
import { WatchedBadgeComponent } from '../../../xtream-electron/shared/watched-badge/watched-badge.component';
import {
PlaylistErrorViewComponent,
ProgressCapsuleComponent,
WatchedBadgeComponent,
} from '@iptvnator/portal/shared/ui';
interface GridListItem {
id?: number | string;
@@ -7,7 +7,7 @@ import {
} from '@angular/core';
import { ExternalPlaybackService } from '../../services/external-playback.service';
import { VodDetailsItem } from 'shared-interfaces';
import { VodDetailsComponent } from '../../xtream-electron/vod-details/vod-details.component';
import { VodDetailsComponent } from '../../portal-shared/vod-details/vod-details.component';
import { StalkerSelectedVodItem } from '@iptvnator/portal/stalker/data-access';
import { StalkerSeriesViewComponent } from '../stalker-series-view/stalker-series-view.component';
@@ -15,7 +15,7 @@ import { StalkerStore } from '@iptvnator/portal/stalker/data-access';
templateUrl: './stalker-main-container.component.html',
styleUrls: [
'./stalker-main-container.component.scss',
'../xtream-electron/xtream-main-container.component.scss',
'../portal-shared/portal-main-container.scss',
'../shared/styles/portal-sidebar.scss',
],
imports: [
@@ -12,7 +12,7 @@ import { TranslatePipe, TranslateService } from '@ngx-translate/core';
import { FavoritesButtonComponent } from '../favorites-button/favorites-button.component';
import { ContentHeroComponent } from 'components';
import { StalkerStore } from '@iptvnator/portal/stalker/data-access';
import { SeasonContainerComponent } from '../../xtream-electron/season-container/season-container.component';
import { SeasonContainerComponent } from '../../portal-shared/season-container/season-container.component';
import {
ResolvedPortalPlayback,
XtreamSerieEpisode,
@@ -46,7 +46,7 @@ import { PortalInlinePlayerComponent } from '../../shared/components/portal-inli
@Component({
selector: 'app-stalker-series-view',
templateUrl: './stalker-series-view.component.html',
styleUrls: ['../../xtream-electron/detail-view.scss'],
styleUrls: ['../../portal-shared/detail-view.scss'],
imports: [
FavoritesButtonComponent,
ContentHeroComponent,
@@ -13,13 +13,13 @@ import {
import { PlayerService } from '../../services/player.service';
import { ExternalPlaybackService } from '../../services/external-playback.service';
import { PortalInlinePlayerComponent } from '../../shared/components/portal-inline-player/portal-inline-player.component';
import { SeasonContainerComponent } from '../season-container/season-container.component';
import { SeasonContainerComponent } from '../../portal-shared/season-container/season-container.component';
import { XtreamStore } from '@iptvnator/portal/xtream/data-access';
@Component({
selector: 'app-serial-details',
templateUrl: './serial-details.component.html',
styleUrls: ['../detail-view.scss'],
styleUrls: ['../../portal-shared/detail-view.scss'],
imports: [
ContentHeroComponent,
MatIcon,
@@ -39,7 +39,7 @@ import { createLogger } from '@iptvnator/portal/shared/util';
*/
@Component({
templateUrl: './vod-details-route.component.html',
styleUrls: ['../detail-view.scss'],
styleUrls: ['../../portal-shared/detail-view.scss'],
imports: [
ContentHeroComponent,
MatIcon,
@@ -26,7 +26,7 @@ const XTREAM_CATEGORY_SORT_STORAGE_KEY = 'xtream-category-sort-mode';
selector: 'app-xtream-main-container',
templateUrl: './xtream-main-container.component.html',
styleUrls: [
'./xtream-main-container.component.scss',
'../portal-shared/portal-main-container.scss',
'../shared/styles/portal-sidebar.scss',
],
imports: [
+2
View File
@@ -2,9 +2,11 @@ export * from './lib/components/category-view/category-view.component';
export * from './lib/components/content-card/content-card.component';
export * from './lib/components/favorites-layout/favorites-layout.component';
export * from './lib/components/playlist-error-view/playlist-error-view.component';
export * from './lib/components/progress-capsule/progress-capsule.component';
export * from './lib/components/portal-collection-live-shell/portal-collection-live-shell.component';
export * from './lib/components/portal-collection-shell/portal-collection-shell.component';
export * from './lib/components/portal-empty-state/portal-empty-state.component';
export * from './lib/components/search-form/search-form.component';
export * from './lib/components/search-layout/search-layout.component';
export * from './lib/components/watched-badge/watched-badge.component';
export * from './lib/navigation/portal-rail-links.component';