@mattermost/types 7.0.0 → 7.3.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/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  This package contains shared type definitions used by [the Mattermost web app](https://github.com/mattermost/mattermost-webapp) and related projects.
4
4
 
5
- **It is currently a work in progress and contains internal types that will be removed in a followup release.**
6
-
7
5
  ## Usage
8
6
 
9
7
  For technologies that support [subpath exports](https://nodejs.org/api/packages.html#subpath-exports), such as Node.js, Webpack, and Babel, you can import these types directly from individual files.
@@ -0,0 +1,6 @@
1
+ export declare type BoardsUsageResponse = {
2
+ cards: number;
3
+ views: number;
4
+ used_cards: number;
5
+ card_limit_timestamp: number;
6
+ };
package/lib/boards.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/channels.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { IDMappedObjects, RelationOneToMany, RelationOneToOne } from './utilities';
2
2
  import { Team } from './teams';
3
- export declare type ChannelType = 'O' | 'P' | 'D' | 'G';
3
+ export declare type ChannelType = 'O' | 'P' | 'D' | 'G' | 'threads';
4
4
  export declare type ChannelStats = {
5
5
  channel_id: string;
6
6
  member_count: number;
@@ -159,6 +159,7 @@ export declare type ChannelSearchOpts = {
159
159
  public?: boolean;
160
160
  private?: boolean;
161
161
  include_deleted?: boolean;
162
+ include_search_by_id?: boolean;
162
163
  deleted?: boolean;
163
164
  page?: number;
164
165
  per_page?: number;
package/lib/client4.d.ts CHANGED
@@ -21,3 +21,13 @@ export declare type Options = {
21
21
  export declare type StatusOK = {
22
22
  status: 'OK';
23
23
  };
24
+ export declare type FetchPaginatedThreadOptions = {
25
+ fetchThreads?: boolean;
26
+ collapsedThreads?: boolean;
27
+ collapsedThreadsExtended?: boolean;
28
+ direction?: 'up' | 'down';
29
+ fetchAll?: boolean;
30
+ perPage?: number;
31
+ fromCreateAt?: number;
32
+ fromPost?: string;
33
+ };
package/lib/cloud.d.ts CHANGED
@@ -8,7 +8,13 @@ export declare type CloudState = {
8
8
  limits: Limits;
9
9
  };
10
10
  };
11
- export declare type Subscription = {
11
+ export declare type Subscription = SubscriptionBase & {
12
+ is_legacy_cloud_paid_tier?: boolean;
13
+ };
14
+ export declare type SubscriptionResponse = SubscriptionBase & {
15
+ is_paid_tier: string;
16
+ };
17
+ declare type SubscriptionBase = {
12
18
  id: string;
13
19
  customer_id: string;
14
20
  product_id: string;
@@ -17,10 +23,10 @@ export declare type Subscription = {
17
23
  end_at: number;
18
24
  create_at: number;
19
25
  seats: number;
20
- is_paid_tier: string;
21
26
  last_invoice?: Invoice;
22
27
  trial_end_at: number;
23
28
  is_free_trial: string;
29
+ delinquent_since?: number;
24
30
  };
25
31
  export declare type Product = {
26
32
  id: string;
@@ -75,6 +81,9 @@ export declare type PaymentMethod = {
75
81
  card_brand: string;
76
82
  name: string;
77
83
  };
84
+ export declare type NotifyAdminRequest = {
85
+ current_team_id: string;
86
+ };
78
87
  export declare type Invoice = {
79
88
  id: string;
80
89
  number: string;
@@ -122,3 +131,32 @@ export declare type Limits = {
122
131
  views?: number;
123
132
  };
124
133
  };
134
+ export interface CloudUsage {
135
+ files: {
136
+ totalStorage: number;
137
+ totalStorageLoaded: boolean;
138
+ };
139
+ messages: {
140
+ history: number;
141
+ historyLoaded: boolean;
142
+ };
143
+ boards: {
144
+ cards: number;
145
+ cardsLoaded: boolean;
146
+ };
147
+ teams: TeamsUsage;
148
+ integrations: IntegrationsUsage;
149
+ }
150
+ export interface IntegrationsUsage {
151
+ enabled: number;
152
+ enabledLoaded: boolean;
153
+ }
154
+ export declare type TeamsUsage = {
155
+ active: number;
156
+ cloudArchived: number;
157
+ teamsLoaded: boolean;
158
+ };
159
+ export declare type ValidBusinessEmail = {
160
+ is_valid: boolean;
161
+ };
162
+ export {};
package/lib/config.d.ts CHANGED
@@ -103,7 +103,6 @@ export declare type ClientConfig = {
103
103
  ExperimentalDataPrefetch: string;
104
104
  ExperimentalEnableAuthenticationTransfer: string;
105
105
  ExperimentalEnableAutomaticReplies: string;
106
- ExperimentalEnableClickToReply: string;
107
106
  ExperimentalEnableDefaultChannelLeaveJoinMessages: string;
108
107
  ExperimentalEnablePostMetadata: string;
109
108
  ExperimentalGroupUnreadChannels: string;
@@ -111,6 +110,8 @@ export declare type ClientConfig = {
111
110
  ExperimentalTimezone: string;
112
111
  ExperimentalViewArchivedChannels: string;
113
112
  FileLevel: string;
113
+ FeatureFlagGraphQL: string;
114
+ FeatureFlagPlanUpgradeButtonText: string;
114
115
  GfycatAPIKey: string;
115
116
  GfycatAPISecret: string;
116
117
  GoogleDeveloperKey: string;
@@ -120,6 +121,7 @@ export declare type ClientConfig = {
120
121
  IosAppDownloadLink: string;
121
122
  IosLatestVersion: string;
122
123
  IosMinVersion: string;
124
+ InsightsEnabled: string;
123
125
  InstallationDate: string;
124
126
  IsDefaultMarketplace: string;
125
127
  LdapFirstNameAttributeSet: string;
@@ -180,6 +182,7 @@ export declare type ClientConfig = {
180
182
  WebsocketURL: string;
181
183
  ExperimentalSharedChannels: string;
182
184
  EnableAppBar: string;
185
+ EnableComplianceExport: string;
183
186
  };
184
187
  export declare type License = {
185
188
  id: string;
@@ -629,7 +632,6 @@ export declare type MetricsSettings = {
629
632
  export declare type ExperimentalSettings = {
630
633
  ClientSideCertEnable: boolean;
631
634
  ClientSideCertCheck: string;
632
- EnableClickToReply: boolean;
633
635
  LinkMetadataTimeoutMilliseconds: number;
634
636
  RestrictSystemAdmin: boolean;
635
637
  UseNewSAMLLibrary: boolean;
package/lib/emojis.d.ts CHANGED
@@ -16,9 +16,21 @@ export declare type SystemEmoji = {
16
16
  short_names: string[];
17
17
  batch: number;
18
18
  skins?: string[];
19
- skin_variations?: Record<string, Emoji>;
19
+ skin_variations?: Record<string, SystemEmojiVariation>;
20
20
  unified: string;
21
21
  };
22
+ export declare type SystemEmojiVariation = {
23
+ unified: string;
24
+ non_qualified: null;
25
+ image: string;
26
+ sheet_x: number;
27
+ sheet_y: number;
28
+ added_in: string;
29
+ has_img_apple: boolean;
30
+ has_img_google: boolean;
31
+ has_img_twitter: boolean;
32
+ has_img_facebook: boolean;
33
+ };
22
34
  export declare type Emoji = SystemEmoji | CustomEmoji;
23
35
  export declare type EmojisState = {
24
36
  customEmoji: {
@@ -26,3 +38,7 @@ export declare type EmojisState = {
26
38
  };
27
39
  nonExistentEmoji: Set<string>;
28
40
  };
41
+ export declare type RecentEmojiData = {
42
+ name: string;
43
+ usageCount: number;
44
+ };
package/lib/errors.d.ts CHANGED
@@ -1,11 +1,6 @@
1
1
  export declare type ServerError = {
2
2
  server_error_id?: string;
3
3
  stack?: string;
4
- intl?: {
5
- id: string;
6
- defaultMessage: string;
7
- values?: any;
8
- };
9
4
  message: string;
10
5
  status_code?: number;
11
6
  url?: string;
package/lib/files.d.ts CHANGED
@@ -14,6 +14,7 @@ export declare type FileInfo = {
14
14
  clientId: string;
15
15
  post_id?: string;
16
16
  mini_preview?: string;
17
+ archived: boolean;
17
18
  };
18
19
  export declare type FilesState = {
19
20
  files: Record<string, FileInfo>;
package/lib/general.d.ts CHANGED
@@ -1,10 +1,7 @@
1
1
  import { ClientConfig, ClientLicense, WarnMetricStatus } from './config';
2
2
  export declare type GeneralState = {
3
- appState: boolean;
4
- credentials: any;
5
3
  config: Partial<ClientConfig>;
6
4
  dataRetentionPolicy: any;
7
- deviceToken: string;
8
5
  firstAdminVisitMarketplaceStatus: boolean;
9
6
  firstAdminCompleteSetup: boolean;
10
7
  license: ClientLicense;
package/lib/insights.d.ts CHANGED
@@ -1,6 +1,14 @@
1
+ import { ChannelType } from './channels';
2
+ import { Post } from './posts';
1
3
  export declare enum InsightsWidgetTypes {
2
4
  TOP_CHANNELS = "TOP_CHANNELS",
3
- TOP_REACTIONS = "TOP_REACTIONS"
5
+ TOP_REACTIONS = "TOP_REACTIONS",
6
+ TOP_THREADS = "TOP_THREADS",
7
+ TOP_BOARDS = "TOP_BOARDS",
8
+ LEAST_ACTIVE_CHANNELS = "LEAST_ACTIVE_CHANNELS",
9
+ TOP_PLAYBOOKS = "TOP_PLAYBOOKS",
10
+ TOP_DMS = "TOP_DMS",
11
+ NEW_TEAM_MEMBERS = "NEW_TEAM_MEMBERS"
4
12
  }
5
13
  export declare enum CardSizes {
6
14
  large = "lg",
@@ -23,7 +31,121 @@ export declare type TopReactionResponse = {
23
31
  items: TopReaction[];
24
32
  timeFrame?: TimeFrame;
25
33
  };
34
+ export declare type TopChannel = {
35
+ id: string;
36
+ type: ChannelType;
37
+ display_name: string;
38
+ name: string;
39
+ team_id: string;
40
+ message_count: number;
41
+ };
42
+ export declare type TopChannelGraphData = Record<string, Record<string, number>>;
43
+ export declare type TopChannelResponse = {
44
+ has_next: boolean;
45
+ items: TopChannel[];
46
+ daily_channel_post_counts: TopChannelGraphData;
47
+ };
26
48
  export declare type InsightsState = {
27
49
  topReactions: Record<string, Record<TimeFrame, Record<string, TopReaction>>>;
28
50
  myTopReactions: Record<string, Record<TimeFrame, Record<string, TopReaction>>>;
29
51
  };
52
+ export declare type TopChannelActionResult = {
53
+ data?: TopChannelResponse;
54
+ error?: any;
55
+ };
56
+ export declare type TopThread = {
57
+ channel_id: string;
58
+ channel_display_name: string;
59
+ channel_name: string;
60
+ participants: string[];
61
+ user_information: {
62
+ id: string;
63
+ first_name: string;
64
+ last_name: string;
65
+ last_picture_update: number;
66
+ };
67
+ post: Post;
68
+ };
69
+ export declare type TopThreadResponse = {
70
+ has_next: boolean;
71
+ items: TopThread[];
72
+ };
73
+ export declare type TopThreadActionResult = {
74
+ data?: TopThreadResponse;
75
+ error?: any;
76
+ };
77
+ export declare type TopBoard = {
78
+ boardID: string;
79
+ icon: string;
80
+ title: string;
81
+ activityCount: number;
82
+ activeUsers: string;
83
+ createdBy: string;
84
+ };
85
+ export declare type TopBoardResponse = {
86
+ has_next: boolean;
87
+ items: TopBoard[];
88
+ };
89
+ export declare type LeastActiveChannel = {
90
+ id: string;
91
+ display_name: string;
92
+ name: string;
93
+ participants: string[];
94
+ last_activity_at: number;
95
+ type: ChannelType;
96
+ team_id: string;
97
+ message_count: number;
98
+ };
99
+ export declare type LeastActiveChannelsResponse = {
100
+ has_next: boolean;
101
+ items: LeastActiveChannel[];
102
+ };
103
+ export declare type LeastActiveChannelsActionResult = {
104
+ data?: LeastActiveChannelsResponse;
105
+ error?: any;
106
+ };
107
+ export declare type TopPlaybook = {
108
+ playbook_id: string;
109
+ num_runs: number;
110
+ title: string;
111
+ last_run_at: number;
112
+ };
113
+ export declare type TopPlaybookResponse = {
114
+ has_next: boolean;
115
+ items: TopPlaybook[];
116
+ };
117
+ declare type MinUserProfile = {
118
+ id: string;
119
+ first_name: string;
120
+ last_name: string;
121
+ last_picture_update: number;
122
+ nickname: string;
123
+ position: string;
124
+ username: string;
125
+ };
126
+ export declare type TopDM = {
127
+ outgoing_message_count: number;
128
+ post_count: number;
129
+ second_participant: MinUserProfile;
130
+ };
131
+ export declare type TopDMsResponse = {
132
+ has_next: boolean;
133
+ items: TopDM[];
134
+ };
135
+ export declare type TopDMsActionResult = {
136
+ data?: TopDMsResponse;
137
+ error?: any;
138
+ };
139
+ export declare type NewMember = MinUserProfile & {
140
+ create_at: number;
141
+ };
142
+ export declare type NewMembersResponse = {
143
+ has_next: boolean;
144
+ items: NewMember[];
145
+ total_count: number;
146
+ };
147
+ export declare type NewMembersActionResult = {
148
+ data?: NewMembersResponse;
149
+ error?: any;
150
+ };
151
+ export {};
package/lib/insights.js CHANGED
@@ -7,6 +7,12 @@ var InsightsWidgetTypes;
7
7
  (function (InsightsWidgetTypes) {
8
8
  InsightsWidgetTypes["TOP_CHANNELS"] = "TOP_CHANNELS";
9
9
  InsightsWidgetTypes["TOP_REACTIONS"] = "TOP_REACTIONS";
10
+ InsightsWidgetTypes["TOP_THREADS"] = "TOP_THREADS";
11
+ InsightsWidgetTypes["TOP_BOARDS"] = "TOP_BOARDS";
12
+ InsightsWidgetTypes["LEAST_ACTIVE_CHANNELS"] = "LEAST_ACTIVE_CHANNELS";
13
+ InsightsWidgetTypes["TOP_PLAYBOOKS"] = "TOP_PLAYBOOKS";
14
+ InsightsWidgetTypes["TOP_DMS"] = "TOP_DMS";
15
+ InsightsWidgetTypes["NEW_TEAM_MEMBERS"] = "NEW_TEAM_MEMBERS";
10
16
  })(InsightsWidgetTypes = exports.InsightsWidgetTypes || (exports.InsightsWidgetTypes = {}));
11
17
  var CardSizes;
12
18
  (function (CardSizes) {
package/lib/plugins.d.ts CHANGED
@@ -44,6 +44,7 @@ export declare type PluginSetting = {
44
44
  placeholder: string;
45
45
  default: any;
46
46
  options?: PluginSettingOption[];
47
+ hosting?: 'on-prem' | 'cloud';
47
48
  };
48
49
  export declare type PluginSettingOption = {
49
50
  display_name: string;
@@ -74,6 +75,7 @@ export declare type PluginStatusRedux = {
74
75
  version: string;
75
76
  active: boolean;
76
77
  state: number;
78
+ error?: string;
77
79
  instances: PluginInstance[];
78
80
  };
79
81
  export declare type ClientPluginManifest = {
package/lib/posts.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { ChannelType } from './channels';
1
+ import { Channel, ChannelType } from './channels';
2
2
  import { CustomEmoji } from './emojis';
3
3
  import { FileInfo } from './files';
4
4
  import { Reaction } from './reactions';
5
5
  import { RelationOneToOne, RelationOneToMany, IDMappedObjects } from './utilities';
6
- 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';
6
+ 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' | '';
7
7
  export declare type PostEmbedType = 'image' | 'link' | 'message_attachment' | 'opengraph' | 'permalink';
8
8
  export declare type PostEmbed = {
9
9
  type: PostEmbedType;
@@ -54,9 +54,13 @@ export declare type Post = {
54
54
  };
55
55
  export declare type PostList = {
56
56
  order: Array<Post['id']>;
57
- posts: Map<string, Post>;
57
+ posts: Record<string, Post>;
58
58
  next_post_id: string;
59
59
  prev_post_id: string;
60
+ first_inaccessible_post_time: number;
61
+ };
62
+ export declare type PaginatedPostList = PostList & {
63
+ has_next: boolean;
60
64
  };
61
65
  export declare type PostSearchResults = PostList & {
62
66
  matches: RelationOneToOne<Post, string[]>;
@@ -87,10 +91,15 @@ export declare type PostsState = {
87
91
  currentFocusedPostId: string;
88
92
  messagesHistory: MessageHistory;
89
93
  expandedURLs: Record<string, string>;
94
+ limitedViews: {
95
+ channels: Record<Channel['id'], number>;
96
+ threads: Record<Post['root_id'], number>;
97
+ };
90
98
  };
91
99
  export declare type OpenGraphMetadataImage = {
92
100
  secure_url?: string;
93
101
  url: string;
102
+ type?: string;
94
103
  height?: number;
95
104
  width?: number;
96
105
  };
@@ -110,3 +119,13 @@ export declare type PostPreviewMetadata = {
110
119
  channel_type: ChannelType;
111
120
  channel_id: string;
112
121
  };
122
+ export declare type PostsUsageResponse = {
123
+ count: number;
124
+ };
125
+ export declare type FilesUsageResponse = {
126
+ bytes: number;
127
+ };
128
+ export declare type TeamsUsageResponse = {
129
+ active: number;
130
+ cloud_archived: number;
131
+ };
package/lib/requests.d.ts CHANGED
@@ -27,53 +27,13 @@ export declare type TeamsRequestsStatuses = {
27
27
  joinTeam: RequestStatusType;
28
28
  };
29
29
  export declare type UsersRequestsStatuses = {
30
- checkMfa: RequestStatusType;
31
30
  login: RequestStatusType;
32
31
  logout: RequestStatusType;
33
32
  autocompleteUsers: RequestStatusType;
34
33
  updateMe: RequestStatusType;
35
34
  };
36
35
  export declare type AdminRequestsStatuses = {
37
- getLogs: RequestStatusType;
38
- getAudits: RequestStatusType;
39
- getConfig: RequestStatusType;
40
- updateConfig: RequestStatusType;
41
- reloadConfig: RequestStatusType;
42
- testEmail: RequestStatusType;
43
- testSiteURL: RequestStatusType;
44
- invalidateCaches: RequestStatusType;
45
- recycleDatabase: RequestStatusType;
46
36
  createCompliance: RequestStatusType;
47
- getCompliance: RequestStatusType;
48
- testS3Connection: RequestStatusType;
49
- getLdapGroups: RequestStatusType;
50
- linkLdapGroup: RequestStatusType;
51
- unlinkLdapGroup: RequestStatusType;
52
- deleteBrandImage: RequestStatusType;
53
- disablePlugin: RequestStatusType;
54
- enablePlugin: RequestStatusType;
55
- getAnalytics: RequestStatusType;
56
- getClusterStatus: RequestStatusType;
57
- getEnvironmentConfig: RequestStatusType;
58
- getPluginStatuses: RequestStatusType;
59
- getPlugins: RequestStatusType;
60
- getSamlCertificateStatus: RequestStatusType;
61
- installPluginFromUrl: RequestStatusType;
62
- purgeElasticsearchIndexes: RequestStatusType;
63
- removeIdpSamlCertificate: RequestStatusType;
64
- removeLicense: RequestStatusType;
65
- removePlugin: RequestStatusType;
66
- removePrivateSamlCertificate: RequestStatusType;
67
- removePublicSamlCertificate: RequestStatusType;
68
- syncLdap: RequestStatusType;
69
- testElasticsearch: RequestStatusType;
70
- testLdap: RequestStatusType;
71
- uploadBrandImage: RequestStatusType;
72
- uploadIdpSamlCertificate: RequestStatusType;
73
- uploadLicense: RequestStatusType;
74
- uploadPlugin: RequestStatusType;
75
- uploadPrivateSamlCertificate: RequestStatusType;
76
- uploadPublicSamlCertificate: RequestStatusType;
77
37
  };
78
38
  export declare type EmojisRequestsStatuses = {
79
39
  createCustomEmoji: RequestStatusType;
package/lib/search.d.ts CHANGED
@@ -10,6 +10,7 @@ export declare type SearchState = {
10
10
  pinned: Record<string, string[]>;
11
11
  isSearchingTerm: boolean;
12
12
  isSearchGettingMore: boolean;
13
+ isLimitedResults: number;
13
14
  recent: {
14
15
  [x: string]: Search[];
15
16
  };
package/lib/store.d.ts CHANGED
@@ -2,7 +2,7 @@ import { AdminState } from './admin';
2
2
  import { Bot } from './bots';
3
3
  import { ChannelsState } from './channels';
4
4
  import { ChannelCategoriesState } from './channel_categories';
5
- import { CloudState } from './cloud';
5
+ import { CloudState, CloudUsage } from './cloud';
6
6
  import { EmojisState } from './emojis';
7
7
  import { FilesState } from './files';
8
8
  import { GeneralState } from './general';
@@ -56,6 +56,7 @@ export declare type GlobalState = {
56
56
  channelCategories: ChannelCategoriesState;
57
57
  apps: AppsState;
58
58
  cloud: CloudState;
59
+ usage: CloudUsage;
59
60
  insights: InsightsState;
60
61
  };
61
62
  errors: any[];
package/lib/users.d.ts CHANGED
@@ -15,6 +15,12 @@ export declare type UserNotifyProps = {
15
15
  first_name: 'true' | 'false';
16
16
  channel: 'true' | 'false';
17
17
  mention_keys: string;
18
+ desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
19
+ desktop_threads?: 'default' | 'all' | 'mention' | 'none';
20
+ email_threads?: 'default' | 'all' | 'mention' | 'none';
21
+ push_threads?: 'default' | 'all' | 'mention' | 'none';
22
+ auto_responder_active?: 'true' | 'false';
23
+ auto_responder_message?: string;
18
24
  };
19
25
  export declare type UserProfile = {
20
26
  id: string;
@@ -23,29 +29,23 @@ export declare type UserProfile = {
23
29
  delete_at: number;
24
30
  username: string;
25
31
  password: string;
26
- auth_data: string;
27
32
  auth_service: string;
28
33
  email: string;
29
- email_verified: boolean;
30
34
  nickname: string;
31
35
  first_name: string;
32
36
  last_name: string;
33
37
  position: string;
34
38
  roles: string;
35
- allow_marketing: boolean;
36
39
  props: Record<string, string>;
37
40
  notify_props: UserNotifyProps;
38
41
  last_password_update: number;
39
42
  last_picture_update: number;
40
- failed_attempts: number;
41
43
  locale: string;
42
44
  timezone?: UserTimezone;
43
45
  mfa_active: boolean;
44
- mfa_secret: string;
45
46
  last_activity_at: number;
46
47
  is_bot: boolean;
47
48
  bot_description: string;
48
- bot_last_icon_update: number;
49
49
  terms_of_service_id: string;
50
50
  terms_of_service_create_at: number;
51
51
  remote_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "7.0.0",
3
+ "version": "7.3.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"
@@ -28,7 +28,8 @@
28
28
  }
29
29
  },
30
30
  "scripts": {
31
- "build": "tsc -b -v",
31
+ "build": "tsc --build --verbose",
32
+ "run": "tsc --watch --preserveWatchOutput",
32
33
  "clean": "rm -rf tsconfig.tsbuildinfo ./lib"
33
34
  }
34
35
  }