@mattermost/types 10.0.0 → 10.1.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/channels.d.ts CHANGED
@@ -11,8 +11,8 @@ export type ChannelStats = {
11
11
  export type ChannelNotifyProps = {
12
12
  desktop_threads: 'default' | 'all' | 'mention' | 'none';
13
13
  desktop: 'default' | 'all' | 'mention' | 'none';
14
- desktop_sound: 'on' | 'off';
15
- desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
14
+ desktop_sound: 'default' | 'on' | 'off';
15
+ desktop_notification_sound?: 'default' | 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
16
16
  email: 'default' | 'all' | 'mention' | 'none';
17
17
  mark_unread: 'all' | 'mention';
18
18
  push: 'default' | 'all' | 'mention' | 'none';
package/lib/config.d.ts CHANGED
@@ -8,6 +8,7 @@ export type ClientConfig = {
8
8
  AndroidLatestVersion: string;
9
9
  AndroidMinVersion: string;
10
10
  AppDownloadLink: string;
11
+ AppsPluginEnabled: string;
11
12
  AsymmetricSigningPublicKey: string;
12
13
  AvailableLocales: string;
13
14
  BannerColor: string;
@@ -207,6 +208,7 @@ export type ClientConfig = {
207
208
  ServiceEnvironment: string;
208
209
  UniqueEmojiReactionLimitPerPost: string;
209
210
  UsersStatusAndProfileFetchingPollIntervalMilliseconds: string;
211
+ YoutubeReferrerPolicy: 'true' | 'false';
210
212
  };
211
213
  export type License = {
212
214
  id: string;
@@ -373,7 +375,6 @@ export type ServiceSettings = {
373
375
  DebugSplit: boolean;
374
376
  ManagedResourcePaths: string;
375
377
  EnableCustomGroups: boolean;
376
- SelfHostedPurchase: boolean;
377
378
  AllowSyncedDrafts: boolean;
378
379
  AllowPersistentNotifications: boolean;
379
380
  AllowPersistentNotificationsForGuests: boolean;
@@ -383,6 +384,7 @@ export type ServiceSettings = {
383
384
  UniqueEmojiReactionLimitPerPost: number;
384
385
  RefreshPostStatsRunTime: string;
385
386
  MaximumPayloadSizeBytes: number;
387
+ MaximumURLLength: number;
386
388
  };
387
389
  export type TeamSettings = {
388
390
  SiteName: string;
@@ -445,7 +447,6 @@ export type LogSettings = {
445
447
  EnableDiagnostics: boolean;
446
448
  VerboseDiagnostics: boolean;
447
449
  EnableSentry: boolean;
448
- AdvancedLoggingConfig: string;
449
450
  AdvancedLoggingJSON: Record<string, any>;
450
451
  MaxFieldSize: number;
451
452
  };
@@ -457,7 +458,6 @@ export type ExperimentalAuditSettings = {
457
458
  FileMaxBackups: number;
458
459
  FileCompress: boolean;
459
460
  FileMaxQueueSize: number;
460
- AdvancedLoggingConfig: string;
461
461
  AdvancedLoggingJSON: Record<string, any>;
462
462
  };
463
463
  export type NotificationLogSettings = {
@@ -469,7 +469,6 @@ export type NotificationLogSettings = {
469
469
  FileLevel: string;
470
470
  FileJson: boolean;
471
471
  FileLocation: string;
472
- AdvancedLoggingConfig: string;
473
472
  AdvancedLoggingJSON: Record<string, any>;
474
473
  };
475
474
  export type PasswordSettings = {
@@ -667,7 +666,6 @@ export type LdapSettings = {
667
666
  LoginButtonColor: string;
668
667
  LoginButtonBorderColor: string;
669
668
  LoginButtonTextColor: string;
670
- Trace: boolean;
671
669
  };
672
670
  export type ComplianceSettings = {
673
671
  Enable: boolean;
@@ -739,6 +737,8 @@ export type MetricsSettings = {
739
737
  Enable: boolean;
740
738
  BlockProfileRate: number;
741
739
  ListenAddress: string;
740
+ EnableClientMetrics: boolean;
741
+ EnableNotificationMetrics: boolean;
742
742
  };
743
743
  export type ExperimentalSettings = {
744
744
  ClientSideCertEnable: boolean;
@@ -750,10 +750,19 @@ export type ExperimentalSettings = {
750
750
  DisableAppBar: boolean;
751
751
  DisableRefetchingOnBrowserFocus: boolean;
752
752
  DelayChannelAutocomplete: boolean;
753
+ DisableWakeUpReconnectHandler: boolean;
754
+ UsersStatusAndProfileFetchingPollIntervalMilliseconds: number;
755
+ YoutubeReferrerPolicy: boolean;
753
756
  };
754
757
  export type AnalyticsSettings = {
755
758
  MaxUsersForStatistics: number;
756
759
  };
760
+ export type CacheSettings = {
761
+ CacheType: string;
762
+ RedisAddress: string;
763
+ RedisPassword: string;
764
+ RedisDB: number;
765
+ };
757
766
  export type ElasticsearchSettings = {
758
767
  ConnectionURL: string;
759
768
  Backend: string;
@@ -826,7 +835,6 @@ export type JobSettings = {
826
835
  CleanupJobsThresholdDays: number;
827
836
  CleanupConfigThresholdDays: number;
828
837
  };
829
- export type ProductSettings = Record<string, never>;
830
838
  export type PluginSettings = {
831
839
  Enable: boolean;
832
840
  EnableUploads: boolean;
@@ -907,12 +915,12 @@ export type AdminConfig = {
907
915
  MetricsSettings: MetricsSettings;
908
916
  ExperimentalSettings: ExperimentalSettings;
909
917
  AnalyticsSettings: AnalyticsSettings;
918
+ CacheSettings: CacheSettings;
910
919
  ElasticsearchSettings: ElasticsearchSettings;
911
920
  BleveSettings: BleveSettings;
912
921
  DataRetentionSettings: DataRetentionSettings;
913
922
  MessageExportSettings: MessageExportSettings;
914
923
  JobSettings: JobSettings;
915
- ProductSettings: ProductSettings;
916
924
  PluginSettings: PluginSettings;
917
925
  DisplaySettings: DisplaySettings;
918
926
  GuestAccountsSettings: GuestAccountsSettings;
package/lib/requests.d.ts CHANGED
@@ -21,7 +21,6 @@ export type ThreadsRequestStatuses = {
21
21
  getThreads: RequestStatusType;
22
22
  };
23
23
  export type TeamsRequestsStatuses = {
24
- getMyTeams: RequestStatusType;
25
24
  getTeams: RequestStatusType;
26
25
  };
27
26
  export type UsersRequestsStatuses = {
package/lib/users.d.ts CHANGED
@@ -6,7 +6,7 @@ import type { Team } from './teams';
6
6
  import type { IDMappedObjects, RelationOneToManyUnique, RelationOneToOne } from './utilities';
7
7
  export type UserNotifyProps = {
8
8
  desktop: 'default' | 'all' | 'mention' | 'none';
9
- desktop_sound: 'true' | 'false';
9
+ desktop_sound: 'default' | 'true' | 'false';
10
10
  calls_desktop_sound: 'true' | 'false';
11
11
  email: 'true' | 'false';
12
12
  mark_unread: 'all' | 'mention';
@@ -17,7 +17,7 @@ export type UserNotifyProps = {
17
17
  channel: 'true' | 'false';
18
18
  mention_keys: string;
19
19
  highlight_keys: string;
20
- desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
20
+ desktop_notification_sound?: 'default' | 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
21
21
  calls_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful';
22
22
  desktop_threads?: 'default' | 'all' | 'mention' | 'none';
23
23
  email_threads?: 'default' | 'all' | 'mention' | 'none';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "10.0.0",
3
+ "version": "10.1.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"