@mattermost/types 10.10.0 → 10.11.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
@@ -1,3 +1,4 @@
1
+ import type { ContentFlaggingEvent, NotificationTarget } from './content_flagging';
1
2
  export type ClientConfig = {
2
3
  AboutLink: string;
3
4
  AllowBannerDismissal: string;
@@ -219,6 +220,7 @@ export type ClientConfig = {
219
220
  UsersStatusAndProfileFetchingPollIntervalMilliseconds: string;
220
221
  YoutubeReferrerPolicy: 'true' | 'false';
221
222
  ScheduledPosts: string;
223
+ DeleteAccountLink: string;
222
224
  };
223
225
  export type License = {
224
226
  id: string;
@@ -400,6 +402,7 @@ export type ServiceSettings = {
400
402
  ScheduledPosts: boolean;
401
403
  EnableWebHubChannelIteration: boolean;
402
404
  FrameAncestors: string;
405
+ DeleteAccountLink: string;
403
406
  };
404
407
  export type TeamSettings = {
405
408
  SiteName: string;
@@ -508,7 +511,10 @@ export type ConnectedWorkspacesSettings = {
508
511
  EnableSharedChannels: boolean;
509
512
  EnableRemoteClusterService: boolean;
510
513
  DisableSharedChannelsStatusSync: boolean;
514
+ SyncUsersOnConnectionOpen: boolean;
515
+ GlobalUserSyncBatchSize: number;
511
516
  MaxPostsPerSync: number;
517
+ MemberSyncBatchSize: number;
512
518
  };
513
519
  export type FileSettings = {
514
520
  EnableFileAttachments: boolean;
@@ -684,6 +690,7 @@ export type LdapSettings = {
684
690
  LoginIdAttribute: string;
685
691
  PictureAttribute: string;
686
692
  SyncIntervalMinutes: number;
693
+ ReAddRemovedMembers: boolean;
687
694
  SkipCertificateVerification: boolean;
688
695
  PublicCertificateFile: string;
689
696
  PrivateKeyFile: string;
@@ -752,6 +759,8 @@ export type NativeAppSettings = {
752
759
  MobileEnableBiometrics: boolean;
753
760
  MobilePreventScreenCapture: boolean;
754
761
  MobileJailbreakProtection: boolean;
762
+ MobileEnableSecureFilePreview: boolean;
763
+ MobileAllowPdfLinkNavigation: boolean;
755
764
  };
756
765
  export type ClusterSettings = {
757
766
  Enable: boolean;
@@ -762,7 +771,7 @@ export type ClusterSettings = {
762
771
  AdvertiseAddress: string;
763
772
  UseIPAddress: boolean;
764
773
  EnableGossipCompression: boolean;
765
- EnableExperimentalGossipEncryption: boolean;
774
+ EnableGossipEncryption: boolean;
766
775
  ReadOnlyConfig: boolean;
767
776
  GossipPort: number;
768
777
  };
@@ -849,6 +858,7 @@ export type DataRetentionSettings = {
849
858
  BoardsRetentionDays: number;
850
859
  TimeBetweenBatchesMilliseconds: number;
851
860
  RetentionIdsBatchSize: number;
861
+ PreservePinnedPosts: boolean;
852
862
  };
853
863
  export type MessageExportSettings = {
854
864
  EnableExport: boolean;
@@ -929,6 +939,32 @@ export type ExportSettings = {
929
939
  export type AccessControlSettings = {
930
940
  EnableAttributeBasedAccessControl: boolean;
931
941
  EnableChannelScopeAccessControl: boolean;
942
+ EnableUserManagedAttributes: boolean;
943
+ };
944
+ export type ContentFlaggingNotificationSettings = {
945
+ ReviewerSettings: ContentFlaggingReviewerSetting;
946
+ EventTargetMapping: Record<ContentFlaggingEvent, NotificationTarget[]>;
947
+ AdditionalSettings: ContentFlaggingAdditionalSettings;
948
+ };
949
+ export type TeamReviewerSetting = {
950
+ Enabled: boolean;
951
+ ReviewerIds: string[];
952
+ };
953
+ export type ContentFlaggingReviewerSetting = {
954
+ CommonReviewers: boolean;
955
+ CommonReviewerIds: string[];
956
+ TeamReviewersSetting: Record<string, TeamReviewerSetting>;
957
+ SystemAdminsAsReviewers: boolean;
958
+ TeamAdminsAsReviewers: boolean;
959
+ };
960
+ export type ContentFlaggingAdditionalSettings = {
961
+ Reasons: string[];
962
+ ReporterCommentRequired: boolean;
963
+ ReviewerCommentRequired: boolean;
964
+ HideFlaggedContent: boolean;
965
+ };
966
+ export type ContentFlaggingSettings = {
967
+ NotificationSettings: ContentFlaggingNotificationSettings;
932
968
  };
933
969
  export type AdminConfig = {
934
970
  ServiceSettings: ServiceSettings;
@@ -976,6 +1012,7 @@ export type AdminConfig = {
976
1012
  WranglerSettings: WranglerSettings;
977
1013
  ConnectedWorkspacesSettings: ConnectedWorkspacesSettings;
978
1014
  AccessControlSettings: AccessControlSettings;
1015
+ ContentFlaggingSettings: ContentFlaggingSettings;
979
1016
  };
980
1017
  export type ReplicaLagSetting = {
981
1018
  DataSource: string;
@@ -0,0 +1,2 @@
1
+ export type ContentFlaggingEvent = 'flagged' | 'assigned' | 'removed' | 'dismissed';
2
+ export type NotificationTarget = 'reviewers' | 'author' | 'reporter';
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
3
+ // See LICENSE.txt for license information.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "10.10.0",
3
+ "version": "10.11.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"