diff --git a/packages/backend/src/models/json-schema/role.ts b/packages/backend/src/models/json-schema/role.ts index 7c8982a9ed..c770250503 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 227295fbb8..b1e6a194f9 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'; /**