@mattermost/types 10.9.0 → 10.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/admin.d.ts +20 -0
- package/lib/channels.d.ts +1 -0
- package/lib/cloud.d.ts +1 -0
- package/lib/config.d.ts +2 -0
- package/lib/general.d.ts +1 -0
- package/lib/integrations.d.ts +4 -0
- package/lib/shared_channels.d.ts +11 -0
- package/lib/store.d.ts +5 -0
- package/package.json +1 -1
package/lib/admin.d.ts
CHANGED
|
@@ -125,3 +125,23 @@ export type SupportPacketContent = {
|
|
|
125
125
|
selected: boolean;
|
|
126
126
|
mandatory: boolean;
|
|
127
127
|
};
|
|
128
|
+
export type LdapSampleEntry = {
|
|
129
|
+
dn: string;
|
|
130
|
+
username?: string;
|
|
131
|
+
email?: string;
|
|
132
|
+
first_name?: string;
|
|
133
|
+
last_name?: string;
|
|
134
|
+
id?: string;
|
|
135
|
+
display_name?: string;
|
|
136
|
+
available_attributes?: Record<string, string>;
|
|
137
|
+
};
|
|
138
|
+
export type LdapDiagnosticResult = {
|
|
139
|
+
test_name: string;
|
|
140
|
+
test_value: string;
|
|
141
|
+
total_count: number;
|
|
142
|
+
entries_with_value: number;
|
|
143
|
+
message?: string;
|
|
144
|
+
error?: string;
|
|
145
|
+
sample_results: LdapSampleEntry[];
|
|
146
|
+
};
|
|
147
|
+
export type TestLdapFiltersResponse = LdapDiagnosticResult[];
|
package/lib/channels.d.ts
CHANGED
package/lib/cloud.d.ts
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ export type ClientConfig = {
|
|
|
109
109
|
EnableUserDeactivation: string;
|
|
110
110
|
EnableUserTypingMessages: string;
|
|
111
111
|
EnforceMultifactorAuthentication: string;
|
|
112
|
+
ExperimentalChannelCategorySorting: string;
|
|
112
113
|
ExperimentalClientSideCertCheck: string;
|
|
113
114
|
ExperimentalClientSideCertEnable: string;
|
|
114
115
|
ExperimentalEnableAuthenticationTransfer: string;
|
|
@@ -786,6 +787,7 @@ export type ExperimentalSettings = {
|
|
|
786
787
|
DisableWakeUpReconnectHandler: boolean;
|
|
787
788
|
UsersStatusAndProfileFetchingPollIntervalMilliseconds: number;
|
|
788
789
|
YoutubeReferrerPolicy: boolean;
|
|
790
|
+
ExperimentalChannelCategorySorting: boolean;
|
|
789
791
|
};
|
|
790
792
|
export type AnalyticsSettings = {
|
|
791
793
|
MaxUsersForStatistics: number;
|
package/lib/general.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type GeneralState = {
|
|
|
8
8
|
license: ClientLicense;
|
|
9
9
|
serverVersion: string;
|
|
10
10
|
customProfileAttributes: IDMappedObjects<UserPropertyField>;
|
|
11
|
+
cwsAvailability: 'pending' | 'available' | 'unavailable' | 'not_applicable';
|
|
11
12
|
};
|
|
12
13
|
export type SystemSetting = {
|
|
13
14
|
name: string;
|
package/lib/integrations.d.ts
CHANGED
|
@@ -60,6 +60,9 @@ export type CommandArgs = {
|
|
|
60
60
|
team_id?: string;
|
|
61
61
|
root_id?: string;
|
|
62
62
|
};
|
|
63
|
+
export type DialogArgs = {
|
|
64
|
+
channel_id: string;
|
|
65
|
+
};
|
|
63
66
|
export type CommandResponse = {
|
|
64
67
|
response_type: string;
|
|
65
68
|
text: string;
|
|
@@ -120,6 +123,7 @@ export type IntegrationsState = {
|
|
|
120
123
|
appsBotIDs: string[];
|
|
121
124
|
systemCommands: IDMappedObjects<Command>;
|
|
122
125
|
commands: IDMappedObjects<Command>;
|
|
126
|
+
dialogArguments?: DialogArgs;
|
|
123
127
|
dialogTriggerId: string;
|
|
124
128
|
dialog?: {
|
|
125
129
|
url: string;
|
package/lib/shared_channels.d.ts
CHANGED
|
@@ -13,3 +13,14 @@ export type SharedChannelRemote = {
|
|
|
13
13
|
last_post_create_at: number;
|
|
14
14
|
last_post_create_id: string;
|
|
15
15
|
};
|
|
16
|
+
export type RemoteClusterInfo = {
|
|
17
|
+
name: string;
|
|
18
|
+
display_name: string;
|
|
19
|
+
create_at: number;
|
|
20
|
+
delete_at: number;
|
|
21
|
+
last_ping_at: number;
|
|
22
|
+
};
|
|
23
|
+
export type SharedChannelsState = {
|
|
24
|
+
remotes: Record<string, RemoteClusterInfo[]>;
|
|
25
|
+
remotesByRemoteId: Record<string, RemoteClusterInfo>;
|
|
26
|
+
};
|
package/lib/store.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import type { Role } from './roles';
|
|
|
20
20
|
import type { ScheduledPostsState } from './schedule_post';
|
|
21
21
|
import type { SchemesState } from './schemes';
|
|
22
22
|
import type { SearchState } from './search';
|
|
23
|
+
import type { RemoteClusterInfo } from './shared_channels';
|
|
23
24
|
import type { TeamsState } from './teams';
|
|
24
25
|
import type { ThreadsState } from './threads';
|
|
25
26
|
import type { Typing } from './typing';
|
|
@@ -68,6 +69,10 @@ export type GlobalState = {
|
|
|
68
69
|
hostedCustomer: HostedCustomerState;
|
|
69
70
|
usage: CloudUsage;
|
|
70
71
|
scheduledPosts: ScheduledPostsState;
|
|
72
|
+
sharedChannels?: {
|
|
73
|
+
remotes?: Record<string, RemoteClusterInfo[]>;
|
|
74
|
+
remotesByRemoteId?: Record<string, RemoteClusterInfo>;
|
|
75
|
+
};
|
|
71
76
|
};
|
|
72
77
|
errors: any[];
|
|
73
78
|
requests: {
|