From a74406677c0cae6df1a9325680a236f5f4245cbc Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:03:33 +0900 Subject: [PATCH] fix packedRoleCondFormulaValueAssignedRoleSchema --- packages/backend/src/models/json-schema/role.ts | 3 +++ packages/misskey-js/src/autogen/types.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/packages/backend/src/models/json-schema/role.ts b/packages/backend/src/models/json-schema/role.ts index 7c8982a9e..c77025050 100644 --- a/packages/backend/src/models/json-schema/role.ts +++ b/packages/backend/src/models/json-schema/role.ts @@ -60,6 +60,9 @@ export const packedRoleCondFormulaValueIsLocalOrRemoteSchema = { export const packedRoleCondFormulaValueAssignedRoleSchema = { type: 'object', properties: { + id: { + type: 'string', optional: false, + }, type: { type: 'string', nullable: false, optional: false, diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index 227295fbb..b1e6a194f 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -4583,6 +4583,7 @@ export type components = { type: 'isLocal' | 'isRemote'; }; RoleCondFormulaValueAssignedRole: { + id: string; /** @enum {string} */ type: 'roleAssignedTo'; /**