diff options
Diffstat (limited to 'shared/extra-utils')
-rw-r--r-- | shared/extra-utils/index.ts | 11 | ||||
-rw-r--r-- | shared/extra-utils/miscs/index.ts | 3 | ||||
-rw-r--r-- | shared/extra-utils/mock-servers/index.ts | 1 | ||||
-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.ts | 2 |
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 @@ | |||
1 | export * from './bulk' | 1 | export * from './bulk' |
2 | |||
3 | export * from './cli' | 2 | export * from './cli' |
4 | |||
5 | export * from './custom-pages' | 3 | export * from './custom-pages' |
6 | |||
7 | export * from './feeds' | 4 | export * from './feeds' |
8 | |||
9 | export * from './logs' | 5 | export * from './logs' |
10 | 6 | export * from './miscs' | |
11 | export * from './mock-servers' | 7 | export * from './mock-servers' |
12 | 8 | ||
13 | export * from './miscs/email' | ||
14 | export * from './miscs/sql' | ||
15 | export * from './miscs/miscs' | ||
16 | export * from './miscs/stubs' | ||
17 | |||
18 | export * from './moderation/abuses' | 9 | export * from './moderation/abuses' |
19 | export * from './plugins/mock-blocklist' | 10 | export * 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 @@ | |||
1 | export * from './miscs' | ||
2 | export * from './sql' | ||
3 | export * 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 @@ | |||
1 | export * from './mock-email' | ||
1 | export * from './mock-instances-index' | 2 | export * from './mock-instances-index' |
2 | export * from './mock-joinpeertube-versions' | 3 | export * 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' | |||
5 | import { AbuseState, PluginType } from '@shared/models' | 5 | import { AbuseState, PluginType } from '@shared/models' |
6 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' | 6 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' |
7 | import { UserNotification, UserNotificationSetting, UserNotificationSettingValue, UserNotificationType } from '../../models/users' | 7 | import { UserNotification, UserNotificationSetting, UserNotificationSettingValue, UserNotificationType } from '../../models/users' |
8 | import { MockSmtpServer } from '../miscs/email' | 8 | import { MockSmtpServer } from '../mock-servers/mock-email' |
9 | import { makeGetRequest, makePostBodyRequest, makePutBodyRequest } from '../requests/requests' | 9 | import { makeGetRequest, makePostBodyRequest, makePutBodyRequest } from '../requests/requests' |
10 | import { doubleFollow } from '../server/follows' | 10 | import { doubleFollow } from '../server/follows' |
11 | import { flushAndRunMultipleServers, ServerInfo } from '../server/servers' | 11 | import { flushAndRunMultipleServers, ServerInfo } from '../server/servers' |