@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 +2 -1
- package/lib/cloud.d.ts +1 -1
- package/lib/config.d.ts +1 -0
- package/lib/posts.d.ts +1 -1
- package/lib/work_templates.d.ts +2 -1
- package/package.json +1 -1
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 =
|
|
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
package/lib/config.d.ts
CHANGED
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;
|
package/lib/work_templates.d.ts
CHANGED
|
@@ -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
|
}
|