Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

style(schema): format the remove evidence descriptions (#3749)

Hampus67d88b336c1d
diff --git a/packages/schema/src/domains/admin/AdminUserSchemas.ts b/packages/schema/src/domains/admin/AdminUserSchemas.ts
index 412441feb..2c446402e 100644
--- a/packages/schema/src/domains/admin/AdminUserSchemas.ts
+++ b/packages/schema/src/domains/admin/AdminUserSchemas.ts
@@ -668,7 +668,9 @@ export const AdminUserDeletionScheduleRequest = z.object({
remove_evidence: z
.boolean()
.optional()
- .describe('Remove the reported messages and the evidence you listed after they are snapshotted into the decision. Other messages from the reports are kept. Enforcement basis only'),
+ .describe(
+ 'Remove the reported messages and the evidence you listed after they are snapshotted into the decision. Other messages from the reports are kept. Enforcement basis only',
+ ),
block_networks: NetworkBlockRequest.optional(),
immediate: z
.boolean()
diff --git a/packages/schema/src/domains/admin/EnforcementSchemas.ts b/packages/schema/src/domains/admin/EnforcementSchemas.ts
index 188d1795e..398313f9f 100644
--- a/packages/schema/src/domains/admin/EnforcementSchemas.ts
+++ b/packages/schema/src/domains/admin/EnforcementSchemas.ts
@@ -185,7 +185,9 @@ export const AdminUserBanRequest = z.object({
remove_evidence: z
.boolean()
.optional()
- .describe('Remove the reported messages and the evidence you listed after they are snapshotted into the decision. Other messages from the reports are kept'),
+ .describe(
+ 'Remove the reported messages and the evidence you listed after they are snapshotted into the decision. Other messages from the reports are kept',
+ ),
block_networks: NetworkBlockRequest.optional(),
});