Changes to the models.yml.

This commit is contained in:
Ludwig Reiter 2021-09-29 10:45:48 +02:00
parent 23e7bc4df2
commit 1da3c6dced

View File

@ -338,6 +338,11 @@ user:
to: user/vote_delegated_$_to_id to: user/vote_delegated_$_to_id
restriction_mode: C restriction_mode: C
theme_id:
type: relation
to: theme/user_ids
restriction_mode: A
meeting_ids: meeting_ids:
type: number[] type: number[]
description: Calculated. All ids from group_$_ids as integers. description: Calculated. All ids from group_$_ids as integers.
@ -399,7 +404,7 @@ theme:
restriction_mode: A restriction_mode: A
type: number type: number
required: true required: true
value: name:
restriction_mode: A restriction_mode: A
type: string type: string
required: true required: true
@ -446,12 +451,6 @@ theme:
accent_A700: accent_A700:
restriction_mode: A restriction_mode: A
type: color type: color
background_color:
restriction_mode: A
type: color
is_dark_theme:
restriction_mode: A
type: boolean
primary_100: primary_100:
restriction_mode: A restriction_mode: A
type: color type: color
@ -538,11 +537,15 @@ theme:
warn_A700: warn_A700:
restriction_mode: A restriction_mode: A
type: color type: color
# Link to organization
organization_ids: organization_ids:
restriction_mode: A restriction_mode: A
to: organization/theme_id to: organization/theme_id
type: relation-list type: relation-list
user_ids:
restriction_mode: A
to: user/theme_id
type: relation-list
committee: committee:
id: id: