Merge pull request #19457 from gustavotrott/graphql-sharedNotes-diff

Graphql provide SharedNotes diff
This commit is contained in:
Gustavo Trott 2024-01-18 16:42:25 -03:00 committed by GitHub
commit 2f79618787
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 0 deletions

View File

@ -1500,6 +1500,11 @@ create table "sharedNotes_rev" (
);
--create view "v_sharedNotes_rev" as select * from "sharedNotes_rev";
create view "v_sharedNotes_diff" as
select "meetingId", "sharedNotesExtId", "userId", "start", "end", "diff"
from "sharedNotes_rev"
where "diff" is not null;
create table "sharedNotes_session" (
"meetingId" varchar(100) references "meeting"("meetingId") ON DELETE CASCADE,
"sharedNotesExtId" varchar(25),

View File

@ -0,0 +1,22 @@
table:
name: v_sharedNotes_diff
schema: public
configuration:
column_config: {}
custom_column_names: {}
custom_name: sharedNotes_diff
custom_root_fields: {}
select_permissions:
- role: bbb_client
permission:
columns:
- diff
- end
- rev
- sharedNotesExtId
- start
- userId
filter:
meetingId:
_eq: X-Hasura-MeetingId
comment: ""

View File

@ -36,6 +36,7 @@
- "!include public_v_pres_presentation_uploadToken.yaml"
- "!include public_v_screenshare.yaml"
- "!include public_v_sharedNotes.yaml"
- "!include public_v_sharedNotes_diff.yaml"
- "!include public_v_sharedNotes_session.yaml"
- "!include public_v_timer.yaml"
- "!include public_v_user.yaml"