@mattermost/types 9.9.0 → 9.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/admin.d.ts CHANGED
@@ -100,11 +100,17 @@ export type AnalyticsRow = {
100
100
  export type IndexedPluginAnalyticsRow = {
101
101
  [key: string]: PluginAnalyticsRow;
102
102
  };
103
+ export declare enum AnalyticsVisualizationType {
104
+ Count = "count",
105
+ LineChart = "line_chart",
106
+ DoughnutChart = "doughnut_chart"
107
+ }
103
108
  export type PluginAnalyticsRow = {
104
109
  id: string;
105
110
  name: React.ReactNode;
106
- icon: string;
107
- value: number;
111
+ icon?: string;
112
+ value: any;
113
+ visualizationType?: AnalyticsVisualizationType;
108
114
  };
109
115
  export type SchemaMigration = {
110
116
  version: number;
package/lib/admin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
3
  // See LICENSE.txt for license information.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.LogLevelEnum = void 0;
5
+ exports.AnalyticsVisualizationType = exports.LogLevelEnum = void 0;
6
6
  var LogLevelEnum;
7
7
  (function (LogLevelEnum) {
8
8
  LogLevelEnum["SILLY"] = "silly";
@@ -11,3 +11,9 @@ var LogLevelEnum;
11
11
  LogLevelEnum["WARN"] = "warn";
12
12
  LogLevelEnum["ERROR"] = "error";
13
13
  })(LogLevelEnum || (exports.LogLevelEnum = LogLevelEnum = {}));
14
+ var AnalyticsVisualizationType;
15
+ (function (AnalyticsVisualizationType) {
16
+ AnalyticsVisualizationType["Count"] = "count";
17
+ AnalyticsVisualizationType["LineChart"] = "line_chart";
18
+ AnalyticsVisualizationType["DoughnutChart"] = "doughnut_chart";
19
+ })(AnalyticsVisualizationType || (exports.AnalyticsVisualizationType = AnalyticsVisualizationType = {}));
package/lib/config.d.ts CHANGED
@@ -207,6 +207,7 @@ export type ClientConfig = {
207
207
  WranglerMoveThreadFromGroupMessageChannelEnable: string;
208
208
  ServiceEnvironment: string;
209
209
  UniqueEmojiReactionLimitPerPost: string;
210
+ UsersStatusAndProfileFetchingPollIntervalMilliseconds: string;
210
211
  };
211
212
  export type License = {
212
213
  id: string;
package/lib/users.d.ts CHANGED
@@ -24,6 +24,8 @@ export type UserNotifyProps = {
24
24
  push_threads?: 'default' | 'all' | 'mention' | 'none';
25
25
  auto_responder_active?: 'true' | 'false';
26
26
  auto_responder_message?: string;
27
+ calls_mobile_sound?: 'true' | 'false' | '';
28
+ calls_mobile_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful' | '';
27
29
  };
28
30
  export type UserProfile = {
29
31
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "9.9.0",
3
+ "version": "9.10.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"