Merge pull request #19995 from gustavotrott/graphql-provide-active-typed-captions
graphql-server: Add type `caption_typed_activeLocales`
This commit is contained in:
commit
a42b404543
@ -1693,6 +1693,13 @@ SELECT *
|
||||
FROM "caption"
|
||||
WHERE "createdAt" > current_timestamp - INTERVAL '5 seconds';
|
||||
|
||||
CREATE OR REPLACE VIEW "v_caption_typed_activeLocales" AS
|
||||
select distinct "meetingId", "lang", "userId"
|
||||
from "caption"
|
||||
where "captionType" = 'TYPED';
|
||||
|
||||
create index "idx_caption_typed_activeLocales" on caption("meetingId","lang","userId") where "captionType" = 'TYPED';
|
||||
|
||||
------------------------------------
|
||||
----
|
||||
|
||||
|
@ -0,0 +1,27 @@
|
||||
table:
|
||||
name: v_caption_typed_activeLocales
|
||||
schema: public
|
||||
configuration:
|
||||
column_config: {}
|
||||
custom_column_names: {}
|
||||
custom_name: caption_typed_activeLocales
|
||||
custom_root_fields: {}
|
||||
object_relationships:
|
||||
- name: userOwner
|
||||
using:
|
||||
manual_configuration:
|
||||
column_mapping:
|
||||
userId: userId
|
||||
insertion_order: null
|
||||
remote_table:
|
||||
name: v_user_ref
|
||||
schema: public
|
||||
select_permissions:
|
||||
- role: bbb_client
|
||||
permission:
|
||||
columns:
|
||||
- lang
|
||||
filter:
|
||||
meetingId:
|
||||
_eq: X-Hasura-MeetingId
|
||||
comment: ""
|
@ -3,6 +3,7 @@
|
||||
- "!include public_v_breakoutRoom_participant.yaml"
|
||||
- "!include public_v_breakoutRoom_user.yaml"
|
||||
- "!include public_v_caption.yaml"
|
||||
- "!include public_v_caption_typed_activeLocales.yaml"
|
||||
- "!include public_v_chat.yaml"
|
||||
- "!include public_v_chat_message_private.yaml"
|
||||
- "!include public_v_chat_message_public.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user