@mattermost/types 7.10.0 → 8.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/README.md +2 -17
- package/lib/admin.d.ts +1 -0
- package/lib/apps.d.ts +1 -0
- package/lib/channels.d.ts +3 -0
- package/lib/cloud.d.ts +5 -0
- package/lib/config.d.ts +33 -11
- package/lib/config.js +7 -1
- package/lib/hosted_customer.d.ts +5 -0
- package/lib/posts.d.ts +6 -0
- package/lib/setup.d.ts +1 -0
- package/lib/store.d.ts +0 -2
- package/lib/users.d.ts +2 -0
- package/package.json +11 -5
- package/lib/work_templates.d.ts +0 -83
- package/lib/work_templates.js +0 -11
package/README.md
CHANGED
|
@@ -12,21 +12,6 @@ import {UserProfile} from '@mattermost/types/users';
|
|
|
12
12
|
|
|
13
13
|
For technologies that don't support that yet, you can add an alias in its package resolution settings to support that.
|
|
14
14
|
|
|
15
|
-
### TypeScript
|
|
16
|
-
|
|
17
|
-
In the `tsconfig.json`, you can use `compilerOptions.paths` to add that alias. This also requires a `compilerOptions.baseUrl` if you haven't set that already.
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"compilerOptions": {
|
|
22
|
-
"baseUrl": ".",
|
|
23
|
-
"paths": {
|
|
24
|
-
"@mattermost/types/*": ["node_modules/@mattermost/types/lib/*"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
15
|
### Jest
|
|
31
16
|
|
|
32
17
|
In your Jest config, you can use the `moduleNameMapper` field to add that alias.
|
|
@@ -44,8 +29,8 @@ In your Jest config, you can use the `moduleNameMapper` field to add that alias.
|
|
|
44
29
|
As a member of Mattermost with write access to our NPM organization, you can build and publish this package by running the following commands:
|
|
45
30
|
|
|
46
31
|
```bash
|
|
47
|
-
npm run build --workspace=
|
|
48
|
-
npm publish --workspace=
|
|
32
|
+
npm run build --workspace=platform/types
|
|
33
|
+
npm publish --workspace=platform/types
|
|
49
34
|
```
|
|
50
35
|
|
|
51
36
|
Make sure to increment the version number in `package.json` first! You can add `-0`, `-1`, etc for pre-release versions.
|
package/lib/admin.d.ts
CHANGED
package/lib/apps.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export declare type AppExpandLevel = '' | 'none' | 'summary' | '+summary' | 'all
|
|
|
106
106
|
export declare type AppExpand = {
|
|
107
107
|
app?: AppExpandLevel;
|
|
108
108
|
acting_user?: AppExpandLevel;
|
|
109
|
+
acting_user_access_token?: AppExpandLevel;
|
|
109
110
|
channel?: AppExpandLevel;
|
|
110
111
|
config?: AppExpandLevel;
|
|
111
112
|
mentioned?: AppExpandLevel;
|
package/lib/channels.d.ts
CHANGED
|
@@ -10,10 +10,13 @@ export declare type ChannelStats = {
|
|
|
10
10
|
};
|
|
11
11
|
export declare type ChannelNotifyProps = {
|
|
12
12
|
desktop: 'default' | 'all' | 'mention' | 'none';
|
|
13
|
+
desktop_sound: 'on' | 'off';
|
|
14
|
+
desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
|
|
13
15
|
email: 'default' | 'all' | 'mention' | 'none';
|
|
14
16
|
mark_unread: 'all' | 'mention';
|
|
15
17
|
push: 'default' | 'all' | 'mention' | 'none';
|
|
16
18
|
ignore_channel_mentions: 'default' | 'off' | 'on';
|
|
19
|
+
channel_auto_follow_threads: 'off' | 'on';
|
|
17
20
|
};
|
|
18
21
|
export declare type Channel = {
|
|
19
22
|
id: string;
|
package/lib/cloud.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare type Subscription = {
|
|
|
36
36
|
is_free_trial: string;
|
|
37
37
|
delinquent_since?: number;
|
|
38
38
|
compliance_blocked?: string;
|
|
39
|
+
billing_type?: string;
|
|
39
40
|
};
|
|
40
41
|
export declare type Product = {
|
|
41
42
|
id: string;
|
|
@@ -186,6 +187,10 @@ export interface CreateSubscriptionRequest {
|
|
|
186
187
|
seats: number;
|
|
187
188
|
internal_purchase_order?: string;
|
|
188
189
|
}
|
|
190
|
+
export interface NewsletterRequestBody {
|
|
191
|
+
email: string;
|
|
192
|
+
subscribed_content: string;
|
|
193
|
+
}
|
|
189
194
|
export declare const areShippingDetailsValid: (address: Address | null | undefined) => boolean;
|
|
190
195
|
export declare type Feedback = {
|
|
191
196
|
reason: string;
|
package/lib/config.d.ts
CHANGED
|
@@ -13,13 +13,10 @@ export declare type ClientConfig = {
|
|
|
13
13
|
BannerColor: string;
|
|
14
14
|
BannerText: string;
|
|
15
15
|
BannerTextColor: string;
|
|
16
|
-
BuildBoards: string;
|
|
17
16
|
BuildDate: string;
|
|
18
17
|
BuildEnterpriseReady: string;
|
|
19
18
|
BuildHash: string;
|
|
20
|
-
BuildHashBoards: string;
|
|
21
19
|
BuildHashEnterprise: string;
|
|
22
|
-
BuildHashPlaybooks: string;
|
|
23
20
|
BuildNumber: string;
|
|
24
21
|
CollapsedThreads: CollapsedThreads;
|
|
25
22
|
CustomBrandText: string;
|
|
@@ -28,6 +25,7 @@ export declare type ClientConfig = {
|
|
|
28
25
|
CustomTermsOfServiceReAcceptancePeriod: string;
|
|
29
26
|
CustomUrlSchemes: string;
|
|
30
27
|
CWSURL: string;
|
|
28
|
+
CWSMock: string;
|
|
31
29
|
DataRetentionEnableFileDeletion: string;
|
|
32
30
|
DataRetentionEnableMessageDeletion: string;
|
|
33
31
|
DataRetentionFileRetentionDays: string;
|
|
@@ -36,6 +34,7 @@ export declare type ClientConfig = {
|
|
|
36
34
|
DefaultTheme: string;
|
|
37
35
|
DiagnosticId: string;
|
|
38
36
|
DiagnosticsEnabled: string;
|
|
37
|
+
DisableRefetchingOnBrowserFocus: string;
|
|
39
38
|
EmailLoginButtonBorderColor: string;
|
|
40
39
|
EmailLoginButtonColor: string;
|
|
41
40
|
EmailLoginButtonTextColor: string;
|
|
@@ -119,6 +118,7 @@ export declare type ClientConfig = {
|
|
|
119
118
|
FeatureFlagGraphQL: string;
|
|
120
119
|
GfycatAPIKey: string;
|
|
121
120
|
GfycatAPISecret: string;
|
|
121
|
+
GiphySdkKey: string;
|
|
122
122
|
GoogleDeveloperKey: string;
|
|
123
123
|
GuestAccountsEnforceMultifactorAuthentication: string;
|
|
124
124
|
HasImageProxy: string;
|
|
@@ -187,11 +187,17 @@ export declare type ClientConfig = {
|
|
|
187
187
|
WebsocketSecurePort: string;
|
|
188
188
|
WebsocketURL: string;
|
|
189
189
|
ExperimentalSharedChannels: string;
|
|
190
|
-
|
|
190
|
+
DisableAppBar: string;
|
|
191
191
|
EnableComplianceExport: string;
|
|
192
192
|
PostPriority: string;
|
|
193
193
|
ReduceOnBoardingTaskList: string;
|
|
194
194
|
PostAcknowledgements: string;
|
|
195
|
+
AllowPersistentNotifications: string;
|
|
196
|
+
PersistentNotificationMaxRecipients: string;
|
|
197
|
+
PersistentNotificationIntervalMinutes: string;
|
|
198
|
+
AllowPersistentNotificationsForGuests: string;
|
|
199
|
+
DelayChannelAutocomplete: 'true' | 'false';
|
|
200
|
+
ServiceEnvironment: string;
|
|
195
201
|
};
|
|
196
202
|
export declare type License = {
|
|
197
203
|
id: string;
|
|
@@ -241,12 +247,19 @@ export declare type RequestLicenseBody = {
|
|
|
241
247
|
users: number;
|
|
242
248
|
terms_accepted: boolean;
|
|
243
249
|
receive_emails_accepted: boolean;
|
|
250
|
+
contact_name: string;
|
|
251
|
+
contact_email: string;
|
|
252
|
+
company_name: string;
|
|
253
|
+
company_size: string;
|
|
254
|
+
company_country: string;
|
|
244
255
|
};
|
|
245
256
|
export declare type DataRetentionPolicy = {
|
|
246
257
|
message_deletion_enabled: boolean;
|
|
247
258
|
file_deletion_enabled: boolean;
|
|
248
259
|
message_retention_cutoff: number;
|
|
249
260
|
file_retention_cutoff: number;
|
|
261
|
+
boards_retention_cutoff: number;
|
|
262
|
+
boards_deletion_enabled: boolean;
|
|
250
263
|
};
|
|
251
264
|
export declare type ServiceSettings = {
|
|
252
265
|
SiteURL: string;
|
|
@@ -312,6 +325,7 @@ export declare type ServiceSettings = {
|
|
|
312
325
|
EnableGifPicker: boolean;
|
|
313
326
|
GfycatAPIKey: string;
|
|
314
327
|
GfycatAPISecret: string;
|
|
328
|
+
GiphySdkKey: string;
|
|
315
329
|
PostEditTimeLimit: number;
|
|
316
330
|
TimeBetweenUserTypingUpdatesMilliseconds: number;
|
|
317
331
|
EnablePostSearch: boolean;
|
|
@@ -352,7 +366,11 @@ export declare type ServiceSettings = {
|
|
|
352
366
|
EnableCustomGroups: boolean;
|
|
353
367
|
SelfHostedPurchase: boolean;
|
|
354
368
|
AllowSyncedDrafts: boolean;
|
|
355
|
-
|
|
369
|
+
AllowPersistentNotifications: boolean;
|
|
370
|
+
AllowPersistentNotificationsForGuests: boolean;
|
|
371
|
+
PersistentNotificationIntervalMinutes: number;
|
|
372
|
+
PersistentNotificationMaxCount: number;
|
|
373
|
+
PersistentNotificationMaxRecipients: number;
|
|
356
374
|
};
|
|
357
375
|
export declare type TeamSettings = {
|
|
358
376
|
SiteName: string;
|
|
@@ -500,7 +518,6 @@ export declare type EmailSettings = {
|
|
|
500
518
|
LoginButtonColor: string;
|
|
501
519
|
LoginButtonBorderColor: string;
|
|
502
520
|
LoginButtonTextColor: string;
|
|
503
|
-
EnableInactivityEmail: boolean;
|
|
504
521
|
};
|
|
505
522
|
export declare type RateLimitSettings = {
|
|
506
523
|
Enable: boolean;
|
|
@@ -687,8 +704,9 @@ export declare type ExperimentalSettings = {
|
|
|
687
704
|
UseNewSAMLLibrary: boolean;
|
|
688
705
|
EnableSharedChannels: boolean;
|
|
689
706
|
EnableRemoteClusterService: boolean;
|
|
690
|
-
|
|
691
|
-
|
|
707
|
+
DisableAppBar: boolean;
|
|
708
|
+
DisableRefetchingOnBrowserFocus: boolean;
|
|
709
|
+
DelayChannelAutocomplete: boolean;
|
|
692
710
|
};
|
|
693
711
|
export declare type AnalyticsSettings = {
|
|
694
712
|
MaxUsersForStatistics: number;
|
|
@@ -718,6 +736,7 @@ export declare type ElasticsearchSettings = {
|
|
|
718
736
|
ClientCert: string;
|
|
719
737
|
ClientKey: string;
|
|
720
738
|
Trace: string;
|
|
739
|
+
IgnoredPurgeIndexes: string;
|
|
721
740
|
};
|
|
722
741
|
export declare type BleveSettings = {
|
|
723
742
|
IndexDir: string;
|
|
@@ -757,9 +776,7 @@ export declare type JobSettings = {
|
|
|
757
776
|
CleanupJobsThresholdDays: number;
|
|
758
777
|
CleanupConfigThresholdDays: number;
|
|
759
778
|
};
|
|
760
|
-
export declare type ProductSettings = {
|
|
761
|
-
EnablePublicSharedBoards: boolean;
|
|
762
|
-
};
|
|
779
|
+
export declare type ProductSettings = {};
|
|
763
780
|
export declare type PluginSettings = {
|
|
764
781
|
Enable: boolean;
|
|
765
782
|
EnableUploads: boolean;
|
|
@@ -875,3 +892,8 @@ export declare enum CollapsedThreads {
|
|
|
875
892
|
DEFAULT_OFF = "default_off",
|
|
876
893
|
ALWAYS_ON = "always_on"
|
|
877
894
|
}
|
|
895
|
+
export declare enum ServiceEnvironment {
|
|
896
|
+
PRODUCTION = "production",
|
|
897
|
+
TEST = "test",
|
|
898
|
+
DEV = "dev"
|
|
899
|
+
}
|
package/lib/config.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
3
3
|
// See LICENSE.txt for license information.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.CollapsedThreads = void 0;
|
|
5
|
+
exports.ServiceEnvironment = exports.CollapsedThreads = void 0;
|
|
6
6
|
var CollapsedThreads;
|
|
7
7
|
(function (CollapsedThreads) {
|
|
8
8
|
CollapsedThreads["DISABLED"] = "disabled";
|
|
@@ -10,3 +10,9 @@ var CollapsedThreads;
|
|
|
10
10
|
CollapsedThreads["DEFAULT_OFF"] = "default_off";
|
|
11
11
|
CollapsedThreads["ALWAYS_ON"] = "always_on";
|
|
12
12
|
})(CollapsedThreads = exports.CollapsedThreads || (exports.CollapsedThreads = {}));
|
|
13
|
+
var ServiceEnvironment;
|
|
14
|
+
(function (ServiceEnvironment) {
|
|
15
|
+
ServiceEnvironment["PRODUCTION"] = "production";
|
|
16
|
+
ServiceEnvironment["TEST"] = "test";
|
|
17
|
+
ServiceEnvironment["DEV"] = "dev";
|
|
18
|
+
})(ServiceEnvironment = exports.ServiceEnvironment || (exports.ServiceEnvironment = {}));
|
package/lib/hosted_customer.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface SelfHostedSignupForm {
|
|
|
13
13
|
first_name: string;
|
|
14
14
|
last_name: string;
|
|
15
15
|
billing_address: Address;
|
|
16
|
+
shipping_address: Address;
|
|
16
17
|
organization: string;
|
|
17
18
|
}
|
|
18
19
|
export interface SelfHostedSignupBootstrapResponse {
|
|
@@ -61,4 +62,8 @@ export interface TrueUpReviewProfileReducer extends TrueUpReviewProfile {
|
|
|
61
62
|
export interface TrueUpReviewStatusReducer extends TrueUpReviewStatus {
|
|
62
63
|
getRequestState: RequestState;
|
|
63
64
|
}
|
|
65
|
+
export declare type SelfHostedExpansionRequest = {
|
|
66
|
+
seats: number;
|
|
67
|
+
license_id: string;
|
|
68
|
+
};
|
|
64
69
|
export {};
|
package/lib/posts.d.ts
CHANGED
|
@@ -158,3 +158,9 @@ export declare type PostAnalytics = {
|
|
|
158
158
|
requested_ack?: boolean;
|
|
159
159
|
persistent_notifications?: boolean;
|
|
160
160
|
};
|
|
161
|
+
export declare type ActivityEntry = {
|
|
162
|
+
postType: Post['type'];
|
|
163
|
+
actorId: string[];
|
|
164
|
+
userIds: string[];
|
|
165
|
+
usernames: string[];
|
|
166
|
+
};
|
package/lib/setup.d.ts
CHANGED
package/lib/store.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ import { UsersState } from './users';
|
|
|
23
23
|
import { AppsState } from './apps';
|
|
24
24
|
import { InsightsState } from './insights';
|
|
25
25
|
import { GifsState } from './gifs';
|
|
26
|
-
import { WorkTemplatesState } from './work_templates';
|
|
27
26
|
export declare type GlobalState = {
|
|
28
27
|
entities: {
|
|
29
28
|
general: GeneralState;
|
|
@@ -62,7 +61,6 @@ export declare type GlobalState = {
|
|
|
62
61
|
hostedCustomer: HostedCustomerState;
|
|
63
62
|
usage: CloudUsage;
|
|
64
63
|
insights: InsightsState;
|
|
65
|
-
worktemplates: WorkTemplatesState;
|
|
66
64
|
};
|
|
67
65
|
errors: any[];
|
|
68
66
|
requests: {
|
package/lib/users.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { IDMappedObjects, RelationOneToMany, RelationOneToManyUnique, RelationOn
|
|
|
7
7
|
export declare type UserNotifyProps = {
|
|
8
8
|
desktop: 'default' | 'all' | 'mention' | 'none';
|
|
9
9
|
desktop_sound: 'true' | 'false';
|
|
10
|
+
calls_desktop_sound: 'true' | 'false';
|
|
10
11
|
email: 'true' | 'false';
|
|
11
12
|
mark_unread: 'all' | 'mention';
|
|
12
13
|
push: 'default' | 'all' | 'mention' | 'none';
|
|
@@ -16,6 +17,7 @@ export declare type UserNotifyProps = {
|
|
|
16
17
|
channel: 'true' | 'false';
|
|
17
18
|
mention_keys: string;
|
|
18
19
|
desktop_notification_sound?: 'Bing' | 'Crackle' | 'Down' | 'Hello' | 'Ripple' | 'Upstairs';
|
|
20
|
+
calls_notification_sound?: 'Dynamic' | 'Calm' | 'Urgent' | 'Cheerful';
|
|
19
21
|
desktop_threads?: 'default' | 'all' | 'mention' | 'none';
|
|
20
22
|
email_threads?: 'default' | 'all' | 'mention' | 'none';
|
|
21
23
|
push_threads?: 'default' | 'all' | 'mention' | 'none';
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattermost/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Shared type definitions used by the Mattermost web app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mattermost"
|
|
7
7
|
],
|
|
8
|
-
"homepage": "https://github.com/mattermost/mattermost-
|
|
8
|
+
"homepage": "https://github.com/mattermost/mattermost-server/tree/master/webapp/platform/types#readme",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"files": [
|
|
11
11
|
"lib"
|
|
@@ -13,11 +13,17 @@
|
|
|
13
13
|
"exports": {
|
|
14
14
|
"./*": "./lib/*.js"
|
|
15
15
|
},
|
|
16
|
-
"
|
|
16
|
+
"typesVersions": {
|
|
17
|
+
">=3.1": {
|
|
18
|
+
"*": [
|
|
19
|
+
"./lib/*.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
17
23
|
"repository": {
|
|
18
24
|
"type": "git",
|
|
19
|
-
"url": "github:mattermost/mattermost-
|
|
20
|
-
"directory": "
|
|
25
|
+
"url": "github:mattermost/mattermost-server",
|
|
26
|
+
"directory": "webapp/platform/types"
|
|
21
27
|
},
|
|
22
28
|
"peerDependencies": {
|
|
23
29
|
"typescript": "^4.3"
|
package/lib/work_templates.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { RequireOnlyOne } from './utilities';
|
|
2
|
-
export declare type WorkTemplatesState = {
|
|
3
|
-
categories: Category[];
|
|
4
|
-
templatesInCategory: Record<string, WorkTemplate[]>;
|
|
5
|
-
playbookTemplates: PlaybookTemplateType[];
|
|
6
|
-
linkedProducts: Record<string, number>;
|
|
7
|
-
};
|
|
8
|
-
export interface PlaybookTemplateType {
|
|
9
|
-
title: string;
|
|
10
|
-
template: any;
|
|
11
|
-
}
|
|
12
|
-
export interface ExecuteWorkTemplateRequest {
|
|
13
|
-
team_id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
visibility: Visibility;
|
|
16
|
-
work_template: WorkTemplate;
|
|
17
|
-
playbook_templates?: PlaybookTemplateType[];
|
|
18
|
-
}
|
|
19
|
-
export interface ExecuteWorkTemplateResponse {
|
|
20
|
-
channel_with_playbook_ids: string[];
|
|
21
|
-
channel_ids: string[];
|
|
22
|
-
}
|
|
23
|
-
export interface WorkTemplate {
|
|
24
|
-
id: string;
|
|
25
|
-
category: string;
|
|
26
|
-
useCase: string;
|
|
27
|
-
description: Description;
|
|
28
|
-
illustration: string;
|
|
29
|
-
visibility: Visibility;
|
|
30
|
-
content: ValidContent[];
|
|
31
|
-
}
|
|
32
|
-
export declare const categories: string[];
|
|
33
|
-
export interface Category {
|
|
34
|
-
id: typeof categories[number];
|
|
35
|
-
name: string;
|
|
36
|
-
}
|
|
37
|
-
export interface Channel {
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
illustration: string;
|
|
41
|
-
playbook?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface Board {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
illustration: string;
|
|
47
|
-
channel?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface Playbook {
|
|
50
|
-
id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
illustration: string;
|
|
53
|
-
template: string;
|
|
54
|
-
}
|
|
55
|
-
export interface Integration {
|
|
56
|
-
id: string;
|
|
57
|
-
name?: string;
|
|
58
|
-
icon?: string;
|
|
59
|
-
installed?: boolean;
|
|
60
|
-
}
|
|
61
|
-
interface Content {
|
|
62
|
-
channel?: Channel;
|
|
63
|
-
board?: Board;
|
|
64
|
-
playbook?: Playbook;
|
|
65
|
-
integration?: Integration;
|
|
66
|
-
}
|
|
67
|
-
declare type ValidContent = RequireOnlyOne<Content, 'channel' | 'board' | 'playbook' | 'integration'>;
|
|
68
|
-
export interface MessageWithIllustration {
|
|
69
|
-
message: string;
|
|
70
|
-
illustration?: string;
|
|
71
|
-
}
|
|
72
|
-
declare type MessageWithMandatoryIllustration = Partial<MessageWithIllustration> & Required<Pick<MessageWithIllustration, 'illustration'>>;
|
|
73
|
-
interface Description {
|
|
74
|
-
channel: MessageWithIllustration;
|
|
75
|
-
board: MessageWithIllustration;
|
|
76
|
-
playbook: MessageWithIllustration;
|
|
77
|
-
integration: MessageWithMandatoryIllustration;
|
|
78
|
-
}
|
|
79
|
-
export declare enum Visibility {
|
|
80
|
-
Public = "public",
|
|
81
|
-
Private = "private"
|
|
82
|
-
}
|
|
83
|
-
export {};
|
package/lib/work_templates.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
3
|
-
// See LICENSE.txt for license information.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Visibility = exports.categories = void 0;
|
|
6
|
-
exports.categories = ['product', 'devops', 'company_wide', 'leadership', 'design'];
|
|
7
|
-
var Visibility;
|
|
8
|
-
(function (Visibility) {
|
|
9
|
-
Visibility["Public"] = "public";
|
|
10
|
-
Visibility["Private"] = "private";
|
|
11
|
-
})(Visibility = exports.Visibility || (exports.Visibility = {}));
|