bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/join-handler/custom-users-settings/queries.ts
Gustavo Trott 1683f4c3fe
refactor: Rename all customParameters references to userMetadata or userdata (#20692)
* Rename all customParameters references to userMetadata

* fix linter error

* Update docs/docs/development/api.md

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>

* Update bigbluebutton-html5/imports/ui/components/settings-loader/component.tsx

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-07-16 13:40:49 -04:00

24 lines
344 B
TypeScript

import { gql } from '@apollo/client';
interface UserMetadata {
parameter: string;
value: string;
}
export interface UserMetadataResponse {
user_metadata: UserMetadata[];
}
export const getUserMetadata = gql`
query getUserMetadata {
user_metadata {
parameter
value
}
}
`;
export default {
getUserMetadata,
};