@mattermost/types 9.11.0 → 10.0.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/config.d.ts CHANGED
@@ -84,7 +84,6 @@ export type ClientConfig = {
84
84
  EnableOutgoingWebhooks: string;
85
85
  EnablePostIconOverride: string;
86
86
  EnablePostUsernameOverride: string;
87
- EnablePreviewFeatures: string;
88
87
  EnablePreviewModeBanner: string;
89
88
  EnablePublicLink: string;
90
89
  EnableReliableWebSockets: string;
@@ -347,7 +346,6 @@ export type ServiceSettings = {
347
346
  EnableUserStatuses: boolean;
348
347
  ExperimentalEnableAuthenticationTransfer: boolean;
349
348
  ClusterLogTimeoutMilliseconds: number;
350
- EnablePreviewFeatures: boolean;
351
349
  EnableTutorial: boolean;
352
350
  EnableOnboardingFlow: boolean;
353
351
  ExperimentalEnableDefaultChannelLeaveJoinMessages: boolean;
@@ -14,6 +14,10 @@ export type IncomingWebhook = {
14
14
  icon_url: string;
15
15
  channel_locked: boolean;
16
16
  };
17
+ export type IncomingWebhooksWithCount = {
18
+ incoming_webhooks: IncomingWebhook[];
19
+ total_count: number;
20
+ };
17
21
  export type OutgoingWebhook = {
18
22
  id: string;
19
23
  token: string;
@@ -108,6 +112,7 @@ export type OutgoingOAuthConnection = {
108
112
  };
109
113
  export type IntegrationsState = {
110
114
  incomingHooks: IDMappedObjects<IncomingWebhook>;
115
+ incomingHooksTotalCount: number;
111
116
  outgoingHooks: IDMappedObjects<OutgoingWebhook>;
112
117
  oauthApps: IDMappedObjects<OAuthApp>;
113
118
  outgoingOAuthConnections: IDMappedObjects<OutgoingOAuthConnection>;
package/lib/plugins.d.ts CHANGED
@@ -37,6 +37,16 @@ export type PluginSettingsSchema = {
37
37
  header: string;
38
38
  footer: string;
39
39
  settings: PluginSetting[];
40
+ sections?: PluginSettingSection[];
41
+ };
42
+ export type PluginSettingSection = {
43
+ key: string;
44
+ title?: string;
45
+ subtitle?: string;
46
+ settings: PluginSetting[];
47
+ header?: string;
48
+ footer?: string;
49
+ custom?: boolean;
40
50
  };
41
51
  export type PluginSetting = {
42
52
  key: string;
@@ -2,7 +2,7 @@ export type PreferenceType = {
2
2
  category: string;
3
3
  name: string;
4
4
  user_id: string;
5
- value?: string;
5
+ value: string;
6
6
  };
7
7
  export type PreferencesType = {
8
8
  [x: string]: PreferenceType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "9.11.0",
3
+ "version": "10.0.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"