@mattermost/types 7.9.0 → 7.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/apps.d.ts CHANGED
@@ -102,7 +102,7 @@ export declare type AppContext = {
102
102
  export declare type AppContextProps = {
103
103
  [name: string]: string;
104
104
  };
105
- export declare type AppExpandLevel = string;
105
+ export declare type AppExpandLevel = '' | 'none' | 'summary' | '+summary' | 'all' | '+all';
106
106
  export declare type AppExpand = {
107
107
  app?: AppExpandLevel;
108
108
  acting_user?: AppExpandLevel;
@@ -114,6 +114,7 @@ export declare type AppExpand = {
114
114
  root_post?: AppExpandLevel;
115
115
  team?: AppExpandLevel;
116
116
  user?: AppExpandLevel;
117
+ locale?: AppExpandLevel;
117
118
  };
118
119
  export declare type AppForm = {
119
120
  title?: string;
package/lib/cloud.d.ts CHANGED
@@ -193,6 +193,6 @@ export declare type Feedback = {
193
193
  };
194
194
  export declare type WorkspaceDeletionRequest = {
195
195
  subscription_id: string;
196
- feedback: Feedback;
196
+ delete_feedback: Feedback;
197
197
  };
198
198
  export {};
package/lib/config.d.ts CHANGED
@@ -352,6 +352,7 @@ export declare type ServiceSettings = {
352
352
  EnableCustomGroups: boolean;
353
353
  SelfHostedPurchase: boolean;
354
354
  AllowSyncedDrafts: boolean;
355
+ SelfHostedExpansion: boolean;
355
356
  };
356
357
  export declare type TeamSettings = {
357
358
  SiteName: string;
package/lib/posts.d.ts CHANGED
@@ -4,7 +4,7 @@ import { FileInfo } from './files';
4
4
  import { Reaction } from './reactions';
5
5
  import { UserProfile } from './users';
6
6
  import { RelationOneToOne, RelationOneToMany, IDMappedObjects } from './utilities';
7
- export declare type PostType = 'system_add_remove' | 'system_add_to_channel' | 'system_add_to_team' | 'system_channel_deleted' | 'system_channel_restored' | 'system_displayname_change' | 'system_convert_channel' | 'system_ephemeral' | 'system_header_change' | 'system_join_channel' | 'system_join_leave' | 'system_leave_channel' | 'system_purpose_change' | 'system_remove_from_channel' | 'system_combined_user_activity' | 'system_fake_parent_deleted' | 'system_generic' | '';
7
+ export declare type PostType = 'system_add_remove' | 'system_add_to_channel' | 'system_add_to_team' | 'system_channel_deleted' | 'system_channel_restored' | 'system_displayname_change' | 'system_convert_channel' | 'system_ephemeral' | 'system_header_change' | 'system_join_channel' | 'system_join_leave' | 'system_leave_channel' | 'system_purpose_change' | 'system_remove_from_channel' | 'system_combined_user_activity' | 'system_fake_parent_deleted' | 'system_generic' | 'reminder' | '';
8
8
  export declare type PostEmbedType = 'image' | 'link' | 'message_attachment' | 'opengraph' | 'permalink';
9
9
  export declare type PostEmbed = {
10
10
  type: PostEmbedType;
@@ -3,8 +3,9 @@ export declare type WorkTemplatesState = {
3
3
  categories: Category[];
4
4
  templatesInCategory: Record<string, WorkTemplate[]>;
5
5
  playbookTemplates: PlaybookTemplateType[];
6
+ linkedProducts: Record<string, number>;
6
7
  };
7
- interface PlaybookTemplateType {
8
+ export interface PlaybookTemplateType {
8
9
  title: string;
9
10
  template: any;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "7.9.0",
3
+ "version": "7.10.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"