Merge pull request #19873 from gustavotrott/graphql-meeting-missing-fields
Graphql: Add missing fields to lockSettings and endWhenNoModerator
This commit is contained in:
commit
46afd7583a
@ -25,6 +25,8 @@ case class MeetingDbModel(
|
||||
bannerColor: Option[String],
|
||||
createdTime: Long,
|
||||
durationInSeconds: Int,
|
||||
endWhenNoModerator: Boolean,
|
||||
endWhenNoModeratorDelayInMinutes: Int,
|
||||
endedAt: Option[java.sql.Timestamp],
|
||||
endedReasonCode: Option[String],
|
||||
endedBy: Option[String],
|
||||
@ -49,6 +51,8 @@ class MeetingDbTableDef(tag: Tag) extends Table[MeetingDbModel](tag, None, "meet
|
||||
bannerColor,
|
||||
createdTime,
|
||||
durationInSeconds,
|
||||
endWhenNoModerator,
|
||||
endWhenNoModeratorDelayInMinutes,
|
||||
endedAt,
|
||||
endedReasonCode,
|
||||
endedBy
|
||||
@ -70,6 +74,8 @@ class MeetingDbTableDef(tag: Tag) extends Table[MeetingDbModel](tag, None, "meet
|
||||
val bannerColor = column[Option[String]]("bannerColor")
|
||||
val createdTime = column[Long]("createdTime")
|
||||
val durationInSeconds = column[Int]("durationInSeconds")
|
||||
val endWhenNoModerator = column[Boolean]("endWhenNoModerator")
|
||||
val endWhenNoModeratorDelayInMinutes = column[Int]("endWhenNoModeratorDelayInMinutes")
|
||||
val endedAt = column[Option[java.sql.Timestamp]]("endedAt")
|
||||
val endedReasonCode = column[Option[String]]("endedReasonCode")
|
||||
val endedBy = column[Option[String]]("endedBy")
|
||||
@ -106,6 +112,8 @@ object MeetingDAO {
|
||||
},
|
||||
createdTime = meetingProps.durationProps.createdTime,
|
||||
durationInSeconds = meetingProps.durationProps.duration * 60,
|
||||
endWhenNoModerator = meetingProps.durationProps.endWhenNoModerator,
|
||||
endWhenNoModeratorDelayInMinutes = meetingProps.durationProps.endWhenNoModeratorDelayInMinutes,
|
||||
endedAt = None,
|
||||
endedReasonCode = None,
|
||||
endedBy = None
|
||||
|
@ -26,6 +26,8 @@ create table "meeting" (
|
||||
"bannerColor" varchar(50),
|
||||
"createdTime" bigint,
|
||||
"durationInSeconds" integer,
|
||||
"endWhenNoModerator" boolean,
|
||||
"endWhenNoModeratorDelayInMinutes" integer,
|
||||
"endedAt" timestamp with time zone,
|
||||
"endedReasonCode" varchar(200),
|
||||
"endedBy" varchar(50)
|
||||
@ -196,6 +198,8 @@ SELECT
|
||||
mls."hideUserList",
|
||||
mls."hideViewersCursor",
|
||||
mls."hideViewersAnnotation",
|
||||
mls."lockOnJoin",
|
||||
mls."lockOnJoinConfigurable",
|
||||
mup."webcamsOnlyForModerator",
|
||||
CASE WHEN
|
||||
mls."disableCam" IS TRUE THEN TRUE
|
||||
|
@ -163,6 +163,8 @@ select_permissions:
|
||||
- customLogoUrl
|
||||
- disabledFeatures
|
||||
- durationInSeconds
|
||||
- endWhenNoModerator
|
||||
- endWhenNoModeratorDelayInMinutes
|
||||
- ended
|
||||
- endedAt
|
||||
- endedBy
|
||||
|
@ -17,8 +17,10 @@ select_permissions:
|
||||
- disablePublicChat
|
||||
- hasActiveLockSetting
|
||||
- hideUserList
|
||||
- hideViewersCursor
|
||||
- hideViewersAnnotation
|
||||
- hideViewersCursor
|
||||
- lockOnJoin
|
||||
- lockOnJoinConfigurable
|
||||
- webcamsOnlyForModerator
|
||||
filter:
|
||||
meetingId:
|
||||
|
Loading…
Reference in New Issue
Block a user