@mattermost/types 9.11.0 → 10.0.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 +0 -2
- package/lib/integrations.d.ts +5 -0
- package/lib/plugins.d.ts +10 -0
- package/lib/preferences.d.ts +1 -1
- package/package.json +1 -1
package/lib/config.d.ts
CHANGED
|
@@ -84,7 +84,6 @@ export type ClientConfig = {
|
|
|
84
84
|
EnableOutgoingWebhooks: string;
|
|
85
85
|
EnablePostIconOverride: string;
|
|
86
86
|
EnablePostUsernameOverride: string;
|
|
87
|
-
EnablePreviewFeatures: string;
|
|
88
87
|
EnablePreviewModeBanner: string;
|
|
89
88
|
EnablePublicLink: string;
|
|
90
89
|
EnableReliableWebSockets: string;
|
|
@@ -347,7 +346,6 @@ export type ServiceSettings = {
|
|
|
347
346
|
EnableUserStatuses: boolean;
|
|
348
347
|
ExperimentalEnableAuthenticationTransfer: boolean;
|
|
349
348
|
ClusterLogTimeoutMilliseconds: number;
|
|
350
|
-
EnablePreviewFeatures: boolean;
|
|
351
349
|
EnableTutorial: boolean;
|
|
352
350
|
EnableOnboardingFlow: boolean;
|
|
353
351
|
ExperimentalEnableDefaultChannelLeaveJoinMessages: boolean;
|
package/lib/integrations.d.ts
CHANGED
|
@@ -14,6 +14,10 @@ export type IncomingWebhook = {
|
|
|
14
14
|
icon_url: string;
|
|
15
15
|
channel_locked: boolean;
|
|
16
16
|
};
|
|
17
|
+
export type IncomingWebhooksWithCount = {
|
|
18
|
+
incoming_webhooks: IncomingWebhook[];
|
|
19
|
+
total_count: number;
|
|
20
|
+
};
|
|
17
21
|
export type OutgoingWebhook = {
|
|
18
22
|
id: string;
|
|
19
23
|
token: string;
|
|
@@ -108,6 +112,7 @@ export type OutgoingOAuthConnection = {
|
|
|
108
112
|
};
|
|
109
113
|
export type IntegrationsState = {
|
|
110
114
|
incomingHooks: IDMappedObjects<IncomingWebhook>;
|
|
115
|
+
incomingHooksTotalCount: number;
|
|
111
116
|
outgoingHooks: IDMappedObjects<OutgoingWebhook>;
|
|
112
117
|
oauthApps: IDMappedObjects<OAuthApp>;
|
|
113
118
|
outgoingOAuthConnections: IDMappedObjects<OutgoingOAuthConnection>;
|
package/lib/plugins.d.ts
CHANGED
|
@@ -37,6 +37,16 @@ export type PluginSettingsSchema = {
|
|
|
37
37
|
header: string;
|
|
38
38
|
footer: string;
|
|
39
39
|
settings: PluginSetting[];
|
|
40
|
+
sections?: PluginSettingSection[];
|
|
41
|
+
};
|
|
42
|
+
export type PluginSettingSection = {
|
|
43
|
+
key: string;
|
|
44
|
+
title?: string;
|
|
45
|
+
subtitle?: string;
|
|
46
|
+
settings: PluginSetting[];
|
|
47
|
+
header?: string;
|
|
48
|
+
footer?: string;
|
|
49
|
+
custom?: boolean;
|
|
40
50
|
};
|
|
41
51
|
export type PluginSetting = {
|
|
42
52
|
key: string;
|
package/lib/preferences.d.ts
CHANGED