@mattermost/types 7.7.0 → 7.8.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/cloud.d.ts CHANGED
@@ -4,6 +4,7 @@ export declare type CloudState = {
4
4
  products?: Record<string, Product>;
5
5
  customer?: CloudCustomer;
6
6
  invoices?: Record<string, Invoice>;
7
+ subscriptionStats?: LicenseExpandReducer;
7
8
  limits: {
8
9
  limitsLoaded: boolean;
9
10
  limits: Limits;
@@ -82,6 +83,13 @@ export declare type CloudCustomer = {
82
83
  company_address: Address;
83
84
  payment_method: PaymentMethod;
84
85
  } & CustomerMetadataGatherWireTransfer;
86
+ export declare type LicenseExpandStatus = {
87
+ is_expandable: boolean;
88
+ };
89
+ declare type RequestState = 'IDLE' | 'LOADING' | 'ERROR' | 'OK';
90
+ export interface LicenseExpandReducer extends LicenseExpandStatus {
91
+ getRequestState: RequestState;
92
+ }
85
93
  export declare type CloudCustomerPatch = {
86
94
  email?: string;
87
95
  name?: string;
@@ -183,3 +191,4 @@ export interface CreateSubscriptionRequest {
183
191
  seats: number;
184
192
  internal_purchase_order?: string;
185
193
  }
194
+ export {};
package/lib/files.d.ts CHANGED
@@ -15,6 +15,7 @@ export declare type FileInfo = {
15
15
  post_id?: string;
16
16
  mini_preview?: string;
17
17
  archived: boolean;
18
+ link?: string;
18
19
  };
19
20
  export declare type FilesState = {
20
21
  files: Record<string, FileInfo>;
@@ -4,7 +4,6 @@ export declare type MarketplaceLabel = {
4
4
  name: string;
5
5
  description?: string;
6
6
  url?: string;
7
- color?: string;
8
7
  };
9
8
  export declare enum HostingType {
10
9
  OnPrem = "on-prem",
@@ -2,6 +2,7 @@ import { RequireOnlyOne } from './utilities';
2
2
  export declare type WorkTemplatesState = {
3
3
  categories: Category[];
4
4
  templatesInCategory: Record<string, WorkTemplate[]>;
5
+ playbookTemplates: [];
5
6
  };
6
7
  export interface WorkTemplate {
7
8
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/types",
3
- "version": "7.7.0",
3
+ "version": "7.8.0",
4
4
  "description": "Shared type definitions used by the Mattermost web app",
5
5
  "keywords": [
6
6
  "mattermost"