@contrail/entity-types 1.1.29 → 1.1.31

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.
@@ -17,6 +17,9 @@ export declare enum SubscriptionChannel {
17
17
  export declare const SHOWCASE_APP_SUBSCRIBED_TO_CONST = "showcase-app";
18
18
  export declare const PLAN_APP_SUBSCRIBED_TO_CONST = "plan-app";
19
19
  export declare const BOARD_APP_SUBSCRIBED_TO_CONST = "board-app";
20
+ export declare type SubscriptionMatrix = {
21
+ [key in SubscriptionType]?: SubscriptionChannel[];
22
+ };
20
23
  export interface Subscription extends OrgManagedEntity {
21
24
  id: string;
22
25
  name?: string;
@@ -31,6 +34,5 @@ export interface Subscription extends OrgManagedEntity {
31
34
  subscriber?: Group | User;
32
35
  subscribedToRef: string;
33
36
  subscribedTo?: any;
34
- channels: SubscriptionChannel[];
35
- subscriptionTypes: SubscriptionType[];
37
+ subscriptionMatrix: SubscriptionMatrix;
36
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",