@mattermost/types 9.1.0 → 9.2.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
@@ -115,7 +115,6 @@ export declare type ClientConfig = {
115
115
  FileLevel: string;
116
116
  FeatureFlagAppsEnabled: string;
117
117
  FeatureFlagCallsEnabled: string;
118
- FeatureFlagGraphQL: string;
119
118
  ForgotPasswordLink: string;
120
119
  GiphySdkKey: string;
121
120
  GoogleDeveloperKey: string;
@@ -392,6 +391,7 @@ export declare type TeamSettings = {
392
391
  ExperimentalPrimaryTeam: string;
393
392
  ExperimentalDefaultChannels: string[];
394
393
  EnableLastActiveTime: boolean;
394
+ EnableJoinLeaveMessageByDefault: boolean;
395
395
  };
396
396
  export declare type ClientRequirements = {
397
397
  AndroidLatestVersion: string;
@@ -414,6 +414,7 @@ export declare type SqlSettings = {
414
414
  DisableDatabaseSearch: boolean;
415
415
  MigrationsStatementTimeoutSeconds: number;
416
416
  ReplicaLagSettings: ReplicaLagSetting[];
417
+ ReplicaMonitorIntervalSeconds: number;
417
418
  };
418
419
  export declare type LogSettings = {
419
420
  EnableConsole: boolean;
@@ -429,6 +430,7 @@ export declare type LogSettings = {
429
430
  VerboseDiagnostics: boolean;
430
431
  EnableSentry: boolean;
431
432
  AdvancedLoggingConfig: string;
433
+ AdvancedLoggingJSON: Record<string, any>;
432
434
  };
433
435
  export declare type ExperimentalAuditSettings = {
434
436
  FileEnabled: boolean;
@@ -439,6 +441,7 @@ export declare type ExperimentalAuditSettings = {
439
441
  FileCompress: boolean;
440
442
  FileMaxQueueSize: number;
441
443
  AdvancedLoggingConfig: string;
444
+ AdvancedLoggingJSON: Record<string, any>;
442
445
  };
443
446
  export declare type NotificationLogSettings = {
444
447
  EnableConsole: boolean;
@@ -450,6 +453,7 @@ export declare type NotificationLogSettings = {
450
453
  FileJson: boolean;
451
454
  FileLocation: string;
452
455
  AdvancedLoggingConfig: string;
456
+ AdvancedLoggingJSON: Record<string, any>;
453
457
  };
454
458
  export declare type PasswordSettings = {
455
459
  MinimumLength: number;
@@ -484,6 +488,21 @@ export declare type FileSettings = {
484
488
  AmazonS3SSE: boolean;
485
489
  AmazonS3Trace: boolean;
486
490
  AmazonS3RequestTimeoutMilliseconds: number;
491
+ DedicatedExportStore: boolean;
492
+ ExportDriverName: string;
493
+ ExportDirectory: string;
494
+ ExportAmazonS3AccessKeyId: string;
495
+ ExportAmazonS3SecretAccessKey: string;
496
+ ExportAmazonS3Bucket: string;
497
+ ExportAmazonS3PathPrefix: string;
498
+ ExportAmazonS3Region: string;
499
+ ExportAmazonS3Endpoint: string;
500
+ ExportAmazonS3SSL: boolean;
501
+ ExportAmazonS3SignV2: boolean;
502
+ ExportAmazonS3SSE: boolean;
503
+ ExportAmazonS3Trace: boolean;
504
+ ExportAmazonS3RequestTimeoutMilliseconds: number;
505
+ ExportAmazonS3PresignExpiresSeconds: number;
487
506
  };
488
507
  export declare type EmailSettings = {
489
508
  EnableSignUpWithEmail: boolean;
@@ -753,6 +772,10 @@ export declare type DataRetentionSettings = {
753
772
  FileRetentionDays: number;
754
773
  DeletionJobStartTime: string;
755
774
  BatchSize: number;
775
+ EnableBoardsDeletion: boolean;
776
+ BoardsRetentionDays: number;
777
+ TimeBetweenBatchesMilliseconds: number;
778
+ RetentionIdsBatchSize: number;
756
779
  };
757
780
  export declare type MessageExportSettings = {
758
781
  EnableExport: boolean;
@@ -798,6 +821,7 @@ export declare type PluginSettings = {
798
821
  export declare type DisplaySettings = {
799
822
  CustomURLSchemes: string[];
800
823
  ExperimentalTimezone: boolean;
824
+ MaxMarkdownNodes: number;
801
825
  };
802
826
  export declare type GuestAccountsSettings = {
803
827
  Enable: boolean;
@@ -815,6 +839,7 @@ export declare type ImageProxySettings = {
815
839
  export declare type CloudSettings = {
816
840
  CWSURL: string;
817
841
  CWSAPIURL: string;
842
+ CWSMock: boolean;
818
843
  };
819
844
  export declare type FeatureFlags = Record<string, string | boolean>;
820
845
  export declare type ImportSettings = {
package/lib/posts.d.ts CHANGED
@@ -109,7 +109,6 @@ export declare type PostsState = {
109
109
  postEditHistory: Post[];
110
110
  currentFocusedPostId: string;
111
111
  messagesHistory: MessageHistory;
112
- expandedURLs: Record<string, string>;
113
112
  limitedViews: {
114
113
  channels: Record<Channel['id'], number>;
115
114
  threads: Record<Post['root_id'], number>;
@@ -30,3 +30,4 @@ export declare type ValueOf<T> = T[keyof T];
30
30
  export declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & {
31
31
  [K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>;
32
32
  }[Keys];
33
+ export declare type Intersection<T1, T2> = Omit<Omit<T1 & T2, keyof (Omit<T1, keyof (T2)>)>, keyof (Omit<T2, keyof (T1)>)>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"