From 9dd13f364bcc486249bbeca73cd241b01a81fc7d Mon Sep 17 00:00:00 2001
From: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
Date: Thu, 20 Mar 2025 09:00:58 +0900
Subject: fix(backend): mismatch in `emojis` param of test WebHook payload
(#15675)
* fix(backend): mismatch in `emojis` param of test WebHook payload
* fix: test
* fix: type
---
packages/backend/src/misc/json-schema.ts | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'packages/backend/src/misc')
diff --git a/packages/backend/src/misc/json-schema.ts b/packages/backend/src/misc/json-schema.ts
index ac74d68c95..100fb69585 100644
--- a/packages/backend/src/misc/json-schema.ts
+++ b/packages/backend/src/misc/json-schema.ts
@@ -166,6 +166,7 @@ export interface Schema extends OfSchema {
readonly maximum?: number;
readonly minimum?: number;
readonly pattern?: string;
+ readonly additionalProperties?: Schema | boolean;
}
type RequiredPropertyNames = {
@@ -217,6 +218,13 @@ type ObjectSchemaTypeDef
=
:
p['anyOf'] extends ReadonlyArray = NullOrUndefined >;
--
cgit v1.2.3-freya