diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2024-02-16 14:27:33 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-16 14:27:33 +0900 |
| commit | 40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57 (patch) | |
| tree | 784a5253038a4e014334291454564dd0cab0b089 /packages/backend/src/models/Role.ts | |
| parent | feat(backend): likeOnlyなどでハートにフォールバックする際異... (diff) | |
| download | sharkey-40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57.tar.gz sharkey-40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57.tar.bz2 sharkey-40bbae3d6c200afb8ed9a70ca20ef03ebaed4e57.zip | |
fix(backend): add missing schemas and fix incorrect schemas (#13295)
* fix(backend): add missing schemas and fix incorrect schemas
* fix: ci
* fix: ci (本命)
* fix: run `pnpm build-misskey-js-with-types`
* fix: typos
* fix: role-condition-formula-value contains `id`
* fix: incorrect schema
Diffstat (limited to 'packages/backend/src/models/Role.ts')
| -rw-r--r-- | packages/backend/src/models/Role.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/backend/src/models/Role.ts b/packages/backend/src/models/Role.ts index 78ecccee39..fa05ea8637 100644 --- a/packages/backend/src/models/Role.ts +++ b/packages/backend/src/models/Role.ts @@ -69,7 +69,7 @@ type CondFormulaValueNotesMoreThanOrEq = { value: number; }; -export type RoleCondFormulaValue = +export type RoleCondFormulaValue = { id: string } & ( CondFormulaValueAnd | CondFormulaValueOr | CondFormulaValueNot | @@ -82,7 +82,8 @@ export type RoleCondFormulaValue = CondFormulaValueFollowingLessThanOrEq | CondFormulaValueFollowingMoreThanOrEq | CondFormulaValueNotesLessThanOrEq | - CondFormulaValueNotesMoreThanOrEq; + CondFormulaValueNotesMoreThanOrEq +); @Entity('role') export class MiRole { |