mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(threads): ship threads and the Plutonium page to everyone (#3277)
This commit is contained in:
1 parent
1515a8487f
commit
f8505d19f7
53 files changed
+296
-2008
No files matched your search
@@ -12,10 +12,6 @@ import {AdminArchiveResponseSchema} from '@fluxer/schema/src/domains/admin/Admin
|
||||
import {GuildAdminResponse} from '@fluxer/schema/src/domains/admin/AdminGuildSchemas';
|
||||
import {UserAdminResponseSchema} from '@fluxer/schema/src/domains/admin/AdminUserSchemas';
|
||||
import {CaptchaConfigResponse, CaptchaConfigUpdateRequest} from '@fluxer/schema/src/domains/admin/CaptchaSchemas';
|
||||
import {
|
||||
ChannelThreadsConfigResponse,
|
||||
ChannelThreadsConfigUpdateRequest,
|
||||
} from '@fluxer/schema/src/domains/admin/ChannelThreadsSchemas';
|
||||
import {
|
||||
DomainMigrationConfigResponse,
|
||||
DomainMigrationConfigUpdateRequest,
|
||||
@@ -28,10 +24,6 @@ import {
|
||||
InstanceBillingResponse,
|
||||
InstanceBillingUpdateRequest,
|
||||
} from '@fluxer/schema/src/domains/admin/InstanceBillingSchemas';
|
||||
import {
|
||||
PlutoniumPageConfigResponse,
|
||||
PlutoniumPageConfigUpdateRequest,
|
||||
} from '@fluxer/schema/src/domains/admin/PlutoniumPageSchemas';
|
||||
import {PushRelayConfigResponse, PushRelayConfigUpdateRequest} from '@fluxer/schema/src/domains/admin/PushRelaySchemas';
|
||||
import {
|
||||
ExperimentDeliveryConfigResponse,
|
||||
@@ -143,7 +135,7 @@ const SearchIndexTypeEnum = createNamedStringLiteralUnion(
|
||||
['guild_members', 'guild_members', 'Guild member search index'],
|
||||
['favorite_memes', 'favorite_memes', 'Favourite meme search index'],
|
||||
['discovery', 'discovery', 'Discovery guild search index'],
|
||||
['threads', 'threads', 'Thread search index (channel_threads experiment)'],
|
||||
['threads', 'threads', 'Thread search index'],
|
||||
],
|
||||
'Type of search index to refresh',
|
||||
);
|
||||
@@ -676,9 +668,7 @@ export const InstanceConfigResponse = z.object({
|
||||
gateway_rollout: GatewayRolloutConfigResponse,
|
||||
push_relay: PushRelayConfigResponse,
|
||||
domain_migration: DomainMigrationConfigResponse,
|
||||
plutonium_page: PlutoniumPageConfigResponse,
|
||||
captcha: CaptchaConfigResponse,
|
||||
channel_threads: ChannelThreadsConfigResponse,
|
||||
experiment_delivery: ExperimentDeliveryConfigResponse,
|
||||
registration: InstanceRegistrationResponse,
|
||||
self_hosted: z.boolean(),
|
||||
@@ -712,9 +702,7 @@ export const InstanceConfigUpdateRequest = z.object({
|
||||
gateway_rollout: GatewayRolloutConfigUpdateRequest.nullish(),
|
||||
push_relay: PushRelayConfigUpdateRequest.nullish(),
|
||||
domain_migration: DomainMigrationConfigUpdateRequest.nullish(),
|
||||
plutonium_page: PlutoniumPageConfigUpdateRequest.nullish(),
|
||||
captcha: CaptchaConfigUpdateRequest.nullish(),
|
||||
channel_threads: ChannelThreadsConfigUpdateRequest.nullish(),
|
||||
experiment_delivery: ExperimentDeliveryConfigUpdateRequest.nullish(),
|
||||
registration: z
|
||||
.object({
|
||||
|
||||
Reference in new issue
Block a user