mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
chore(lint): enable 'vue/multi-word-component-names' rule
- lint jsdoc warnings Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
1d742ade0d
commit
0dca34885e
3 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,6 @@ export default [
|
|||
'no-console': 'off', // non-fixable
|
||||
'no-unused-vars': 'off', // non-fixable
|
||||
'no-use-before-define': 'off', // non-fixable
|
||||
'vue/multi-word-component-names': 'off', // non-fixable
|
||||
'vue/no-boolean-default': 'off', // non-fixable
|
||||
'vue/no-required-prop-with-default': 'off', // non-fixable
|
||||
'vue/no-unused-properties': 'off', // non-fixable
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@ async function editMessage({ token, messageId, updatedMessage }: EditMessagePayl
|
|||
* @param data.objectId object id
|
||||
* @param data.metaData JSON metadata of the rich object encoded as string
|
||||
* @param data.referenceId generated reference id, leave empty to generate it based on the other args
|
||||
* @param data.threadId thread id to retrieve data
|
||||
* @param [options] Axios request options
|
||||
*/
|
||||
async function postRichObjectToConversation(token: string, { objectType, objectId, metaData, referenceId, threadId }: postRichObjectParams, options?: AxiosRequestConfig): postRichObjectResponse {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ type updatePollDraftPayload = { token: string, pollId: number } & updatePollDraf
|
|||
* @param payload.options The options participants can vote for
|
||||
* @param payload.resultMode Result mode of the poll (0 - always visible | 1 - hidden until the poll is closed)
|
||||
* @param payload.maxVotes Maximum amount of options a user can vote for (0 - unlimited | 1 - single answer)
|
||||
* @param payload.threadId The thread id to create poll in
|
||||
*/
|
||||
async function createPoll({ token, question, options, resultMode, maxVotes, threadId }: createPollPayload): createPollResponse {
|
||||
return axios.post(generateOcsUrl('apps/spreed/api/v1/poll/{token}', { token }), {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue