diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-06 14:58:01 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | bd45d503e5d007e730f4e81dccd7e7864c9a85cc (patch) | |
tree | b78df768b8253ba401232c17da940cea016c9960 /client/src/app/+admin | |
parent | 583eb04b541175035d6d452ca626a96ebf2b7437 (diff) | |
download | PeerTube-bd45d503e5d007e730f4e81dccd7e7864c9a85cc.tar.gz PeerTube-bd45d503e5d007e730f4e81dccd7e7864c9a85cc.tar.zst PeerTube-bd45d503e5d007e730f4e81dccd7e7864c9a85cc.zip |
Reorganize shared models
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/plugins/shared/plugin-api.service.ts | 2 | ||||
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.ts | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/+admin/plugins/shared/plugin-api.service.ts b/client/src/app/+admin/plugins/shared/plugin-api.service.ts index bf9129e01..1fb827832 100644 --- a/client/src/app/+admin/plugins/shared/plugin-api.service.ts +++ b/client/src/app/+admin/plugins/shared/plugin-api.service.ts | |||
@@ -5,12 +5,12 @@ import { Injectable } from '@angular/core' | |||
5 | import { ComponentPagination, RestExtractor, RestService } from '@app/core' | 5 | import { ComponentPagination, RestExtractor, RestService } from '@app/core' |
6 | import { PluginService } from '@app/core/plugins/plugin.service' | 6 | import { PluginService } from '@app/core/plugins/plugin.service' |
7 | import { I18n } from '@ngx-translate/i18n-polyfill' | 7 | import { I18n } from '@ngx-translate/i18n-polyfill' |
8 | import { peertubeTranslate } from '@shared/core-utils/i18n' | ||
8 | import { | 9 | import { |
9 | InstallOrUpdatePlugin, | 10 | InstallOrUpdatePlugin, |
10 | ManagePlugin, | 11 | ManagePlugin, |
11 | PeerTubePlugin, | 12 | PeerTubePlugin, |
12 | PeerTubePluginIndex, | 13 | PeerTubePluginIndex, |
13 | peertubeTranslate, | ||
14 | PluginType, | 14 | PluginType, |
15 | RegisteredServerSettings, | 15 | RegisteredServerSettings, |
16 | ResultList | 16 | ResultList |
diff --git a/client/src/app/+admin/users/user-edit/user-edit.ts b/client/src/app/+admin/users/user-edit/user-edit.ts index 22ec42520..bdbb10814 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts | |||
@@ -1,8 +1,9 @@ | |||
1 | import { OnInit, Directive } from '@angular/core' | 1 | import { Directive, OnInit } from '@angular/core' |
2 | import { ConfigService } from '@app/+admin/config/shared/config.service' | 2 | import { ConfigService } from '@app/+admin/config/shared/config.service' |
3 | import { AuthService, ScreenService, ServerService, User } from '@app/core' | 3 | import { AuthService, ScreenService, ServerService, User } from '@app/core' |
4 | import { FormReactive } from '@app/shared/shared-forms' | 4 | import { FormReactive } from '@app/shared/shared-forms' |
5 | import { ServerConfig, USER_ROLE_LABELS, UserAdminFlag, UserRole, VideoResolution } from '@shared/models' | 5 | import { USER_ROLE_LABELS } from '@shared/core-utils/users' |
6 | import { ServerConfig, UserAdminFlag, UserRole, VideoResolution } from '@shared/models' | ||
6 | 7 | ||
7 | @Directive() | 8 | @Directive() |
8 | export abstract class UserEdit extends FormReactive implements OnInit { | 9 | export abstract class UserEdit extends FormReactive implements OnInit { |