1683f4c3fe
* 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>
24 lines
344 B
TypeScript
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,
|
|
};
|