aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/extra-utils/index.ts11
-rw-r--r--shared/extra-utils/miscs/index.ts3
-rw-r--r--shared/extra-utils/mock-servers/index.ts1
-rw-r--r--shared/extra-utils/mock-servers/mock-email.ts (renamed from shared/extra-utils/miscs/email.ts)0
-rw-r--r--shared/extra-utils/users/user-notifications.ts2
5 files changed, 6 insertions, 11 deletions
diff --git a/shared/extra-utils/index.ts b/shared/extra-utils/index.ts
index 30f44dfc2..7d2887209 100644
--- a/shared/extra-utils/index.ts
+++ b/shared/extra-utils/index.ts
@@ -1,20 +1,11 @@
1export * from './bulk' 1export * from './bulk'
2
3export * from './cli' 2export * from './cli'
4
5export * from './custom-pages' 3export * from './custom-pages'
6
7export * from './feeds' 4export * from './feeds'
8
9export * from './logs' 5export * from './logs'
10 6export * from './miscs'
11export * from './mock-servers' 7export * from './mock-servers'
12 8
13export * from './miscs/email'
14export * from './miscs/sql'
15export * from './miscs/miscs'
16export * from './miscs/stubs'
17
18export * from './moderation/abuses' 9export * from './moderation/abuses'
19export * from './plugins/mock-blocklist' 10export * from './plugins/mock-blocklist'
20 11
diff --git a/shared/extra-utils/miscs/index.ts b/shared/extra-utils/miscs/index.ts
new file mode 100644
index 000000000..ccacd4c79
--- /dev/null
+++ b/shared/extra-utils/miscs/index.ts
@@ -0,0 +1,3 @@
1export * from './miscs'
2export * from './sql'
3export * from './stubs'
diff --git a/shared/extra-utils/mock-servers/index.ts b/shared/extra-utils/mock-servers/index.ts
index 47679c818..485757843 100644
--- a/shared/extra-utils/mock-servers/index.ts
+++ b/shared/extra-utils/mock-servers/index.ts
@@ -1,2 +1,3 @@
1export * from './mock-email'
1export * from './mock-instances-index' 2export * from './mock-instances-index'
2export * from './mock-joinpeertube-versions' 3export * from './mock-joinpeertube-versions'
diff --git a/shared/extra-utils/miscs/email.ts b/shared/extra-utils/mock-servers/mock-email.ts
index 9fc9a5ad0..9fc9a5ad0 100644
--- a/shared/extra-utils/miscs/email.ts
+++ b/shared/extra-utils/mock-servers/mock-email.ts
diff --git a/shared/extra-utils/users/user-notifications.ts b/shared/extra-utils/users/user-notifications.ts
index 844f4442d..e75946eec 100644
--- a/shared/extra-utils/users/user-notifications.ts
+++ b/shared/extra-utils/users/user-notifications.ts
@@ -5,7 +5,7 @@ import { inspect } from 'util'
5import { AbuseState, PluginType } from '@shared/models' 5import { AbuseState, PluginType } from '@shared/models'
6import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' 6import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
7import { UserNotification, UserNotificationSetting, UserNotificationSettingValue, UserNotificationType } from '../../models/users' 7import { UserNotification, UserNotificationSetting, UserNotificationSettingValue, UserNotificationType } from '../../models/users'
8import { MockSmtpServer } from '../miscs/email' 8import { MockSmtpServer } from '../mock-servers/mock-email'
9import { makeGetRequest, makePostBodyRequest, makePutBodyRequest } from '../requests/requests' 9import { makeGetRequest, makePostBodyRequest, makePutBodyRequest } from '../requests/requests'
10import { doubleFollow } from '../server/follows' 10import { doubleFollow } from '../server/follows'
11import { flushAndRunMultipleServers, ServerInfo } from '../server/servers' 11import { flushAndRunMultipleServers, ServerInfo } from '../server/servers'