aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/images/global-icon.component.ts92
-rw-r--r--client/src/app/shared/instance/follow.service.ts2
2 files changed, 47 insertions, 47 deletions
diff --git a/client/src/app/shared/images/global-icon.component.ts b/client/src/app/shared/images/global-icon.component.ts
index 5b525dec1..a56674b58 100644
--- a/client/src/app/shared/images/global-icon.component.ts
+++ b/client/src/app/shared/images/global-icon.component.ts
@@ -1,52 +1,52 @@
1import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core' 1import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core'
2 2
3const icons = { 3const icons = {
4 'add': require('../../../assets/images/global/add.html'), 4 'add': require('!!raw-loader?!../../../assets/images/global/add.svg'),
5 'user': require('../../../assets/images/global/user.html'), 5 'user': require('!!raw-loader?!../../../assets/images/global/user.svg'),
6 'sign-out': require('../../../assets/images/global/sign-out.html'), 6 'sign-out': require('!!raw-loader?!../../../assets/images/global/sign-out.svg'),
7 'syndication': require('../../../assets/images/global/syndication.html'), 7 'syndication': require('!!raw-loader?!../../../assets/images/global/syndication.svg'),
8 'help': require('../../../assets/images/global/help.html'), 8 'help': require('!!raw-loader?!../../../assets/images/global/help.svg'),
9 'sparkle': require('../../../assets/images/global/sparkle.html'), 9 'sparkle': require('!!raw-loader?!../../../assets/images/global/sparkle.svg'),
10 'alert': require('../../../assets/images/global/alert.html'), 10 'alert': require('!!raw-loader?!../../../assets/images/global/alert.svg'),
11 'cloud-error': require('../../../assets/images/global/cloud-error.html'), 11 'cloud-error': require('!!raw-loader?!../../../assets/images/global/cloud-error.svg'),
12 'user-add': require('../../../assets/images/global/user-add.html'), 12 'user-add': require('!!raw-loader?!../../../assets/images/global/user-add.svg'),
13 'no': require('../../../assets/images/global/no.html'), 13 'no': require('!!raw-loader?!../../../assets/images/global/no.svg'),
14 'cloud-download': require('../../../assets/images/global/cloud-download.html'), 14 'cloud-download': require('!!raw-loader?!../../../assets/images/global/cloud-download.svg'),
15 'undo': require('../../../assets/images/global/undo.html'), 15 'undo': require('!!raw-loader?!../../../assets/images/global/undo.svg'),
16 'history': require('../../../assets/images/global/history.html'), 16 'history': require('!!raw-loader?!../../../assets/images/global/history.svg'),
17 'circle-tick': require('../../../assets/images/global/circle-tick.html'), 17 'circle-tick': require('!!raw-loader?!../../../assets/images/global/circle-tick.svg'),
18 'cog': require('../../../assets/images/global/cog.html'), 18 'cog': require('!!raw-loader?!../../../assets/images/global/cog.svg'),
19 'download': require('../../../assets/images/global/download.html'), 19 'download': require('!!raw-loader?!../../../assets/images/global/download.svg'),
20 'go': require('../../../assets/images/menu/go.html'), 20 'go': require('!!raw-loader?!../../../assets/images/menu/go.svg'),
21 'edit': require('../../../assets/images/global/edit.html'), 21 'edit': require('!!raw-loader?!../../../assets/images/global/edit.svg'),
22 'im-with-her': require('../../../assets/images/global/im-with-her.html'), 22 'im-with-her': require('!!raw-loader?!../../../assets/images/global/im-with-her.svg'),
23 'delete': require('../../../assets/images/global/delete.html'), 23 'delete': require('!!raw-loader?!../../../assets/images/global/delete.svg'),
24 'server': require('../../../assets/images/global/server.html'), 24 'server': require('!!raw-loader?!../../../assets/images/global/server.svg'),
25 'cross': require('../../../assets/images/global/cross.html'), 25 'cross': require('!!raw-loader?!../../../assets/images/global/cross.svg'),
26 'validate': require('../../../assets/images/global/validate.html'), 26 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg'),
27 'tick': require('../../../assets/images/global/tick.html'), 27 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg'),
28 'dislike': require('../../../assets/images/video/dislike.html'), 28 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg'),
29 'heart': require('../../../assets/images/video/heart.html'), 29 'heart': require('!!raw-loader?!../../../assets/images/video/heart.svg'),
30 'like': require('../../../assets/images/video/like.html'), 30 'like': require('!!raw-loader?!../../../assets/images/video/like.svg'),
31 'more-horizontal': require('../../../assets/images/global/more-horizontal.html'), 31 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg'),
32 'more-vertical': require('../../../assets/images/global/more-vertical.html'), 32 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg'),
33 'share': require('../../../assets/images/video/share.html'), 33 'share': require('!!raw-loader?!../../../assets/images/video/share.svg'),
34 'upload': require('../../../assets/images/video/upload.html'), 34 'upload': require('!!raw-loader?!../../../assets/images/video/upload.svg'),
35 'playlist-add': require('../../../assets/images/video/playlist-add.html'), 35 'playlist-add': require('!!raw-loader?!../../../assets/images/video/playlist-add.svg'),
36 'play': require('../../../assets/images/global/play.html'), 36 'play': require('!!raw-loader?!../../../assets/images/global/play.svg'),
37 'playlists': require('../../../assets/images/global/playlists.html'), 37 'playlists': require('!!raw-loader?!../../../assets/images/global/playlists.svg'),
38 'about': require('../../../assets/images/menu/about.html'), 38 'about': require('!!raw-loader?!../../../assets/images/menu/about.svg'),
39 'globe': require('../../../assets/images/menu/globe.html'), 39 'globe': require('!!raw-loader?!../../../assets/images/menu/globe.svg'),
40 'home': require('../../../assets/images/menu/home.html'), 40 'home': require('!!raw-loader?!../../../assets/images/menu/home.svg'),
41 'recently-added': require('../../../assets/images/menu/recently-added.html'), 41 'recently-added': require('!!raw-loader?!../../../assets/images/menu/recently-added.svg'),
42 'trending': require('../../../assets/images/menu/trending.html'), 42 'trending': require('!!raw-loader?!../../../assets/images/menu/trending.svg'),
43 'videos': require('../../../assets/images/global/videos.html'), 43 'videos': require('!!raw-loader?!../../../assets/images/global/videos.svg'),
44 'folder': require('../../../assets/images/global/folder.html'), 44 'folder': require('!!raw-loader?!../../../assets/images/global/folder.svg'),
45 'administration': require('../../../assets/images/menu/administration.html'), 45 'administration': require('!!raw-loader?!../../../assets/images/menu/administration.svg'),
46 'subscriptions': require('../../../assets/images/menu/subscriptions.html'), 46 'subscriptions': require('!!raw-loader?!../../../assets/images/menu/subscriptions.svg'),
47 'users': require('../../../assets/images/global/users.html'), 47 'users': require('!!raw-loader?!../../../assets/images/global/users.svg'),
48 'search': require('../../../assets/images/global/search.html'), 48 'search': require('!!raw-loader?!../../../assets/images/global/search.svg'),
49 'refresh': require('../../../assets/images/global/refresh.html') 49 'refresh': require('!!raw-loader?!../../../assets/images/global/refresh.svg')
50} 50}
51 51
52export type GlobalIconName = keyof typeof icons 52export type GlobalIconName = keyof typeof icons
diff --git a/client/src/app/shared/instance/follow.service.ts b/client/src/app/shared/instance/follow.service.ts
index 978d60f6b..63f9e2687 100644
--- a/client/src/app/shared/instance/follow.service.ts
+++ b/client/src/app/shared/instance/follow.service.ts
@@ -1,11 +1,11 @@
1import { catchError, map } from 'rxjs/operators' 1import { catchError, map } from 'rxjs/operators'
2import { HttpClient, HttpParams } from '@angular/common/http' 2import { HttpClient, HttpParams } from '@angular/common/http'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { SortMeta } from 'primeng/primeng'
5import { Observable } from 'rxjs' 4import { Observable } from 'rxjs'
6import { ActorFollow, ResultList } from '@shared/index' 5import { ActorFollow, ResultList } from '@shared/index'
7import { environment } from '../../../environments/environment' 6import { environment } from '../../../environments/environment'
8import { RestExtractor, RestPagination, RestService } from '../rest' 7import { RestExtractor, RestPagination, RestService } from '../rest'
8import { SortMeta } from 'primeng/api'
9 9
10@Injectable() 10@Injectable()
11export class FollowService { 11export class FollowService {