Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions api/v4/source/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3289,6 +3289,15 @@ components:
type: string
type:
type: string
sub_type:
type: string
description: Additional message type information for mobile clients. Use "calls" for Calls plugin notifications.
transport:
type: string
description: Delivery path for the push proxy. Use "voip" for VoIP (CallKit) notifications; omit for standard delivery.
enum:
- ""
- voip
sender_id:
type: string
sender_name:
Expand All @@ -3301,8 +3310,13 @@ components:
type: string
version:
type: string
is_crt_enabled:
type: boolean
description: Whether Collapsed Reply Threads is enabled for the recipient.
is_id_loaded:
type: boolean
signature:
type: string
PluginStatus:
type: object
properties:
Expand Down
20 changes: 12 additions & 8 deletions e2e-tests/cypress/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import typescriptEslint from '@typescript-eslint/eslint-plugin';
import globals from 'globals';
import tsParser from '@typescript-eslint/parser';
import path from 'node:path';
import {fileURLToPath} from 'node:url';
import js from '@eslint/js';
import {FlatCompat} from '@eslint/eslintrc';
import eslintPluginHeader from 'eslint-plugin-header';
import headers from 'eslint-plugin-headers';
import pluginCypress from 'eslint-plugin-cypress';
import noOnlyTest from 'eslint-plugin-no-only-tests';

Expand All @@ -17,8 +20,6 @@ const compat = new FlatCompat({
allConfig: js.configs.all,
});

eslintPluginHeader.rules.header.meta.schema = false;

export default [
{
ignores: ['**/node_modules', '**/logs', '**/results'],
Expand All @@ -33,7 +34,7 @@ export default [
files: ['**/*.ts', '**/*.js'],
plugins: {
'@typescript-eslint': typescriptEslint,
header: eslintPluginHeader,
headers,
cypress: pluginCypress,
'no-only-tests': noOnlyTest,
},
Expand Down Expand Up @@ -73,11 +74,14 @@ export default [
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-var-requires': 'off',
'header/header': [
'headers/header-format': [
'error',
'line',
' Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n See LICENSE.txt for license information.',
2,
{
source: 'string',
style: 'line',
content: 'Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\nSee LICENSE.txt for license information.',
trailingNewlines: 2,
},
],
'import/no-duplicates': 2,
'import/order': [
Expand Down
Loading
Loading