Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
fix packedRoleCondFormulaValueAssignedRoleSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Mar 1, 2024
1 parent 593358e commit a744066
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/backend/src/models/json-schema/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions packages/misskey-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4583,6 +4583,7 @@ export type components = {
type: 'isLocal' | 'isRemote';
};
RoleCondFormulaValueAssignedRole: {
id: string;
/** @enum {string} */
type: 'roleAssignedTo';
/**
Expand Down

0 comments on commit a744066

Please sign in to comment.