@pulsecharterconnect/types 0.2.120 → 0.2.122
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.
|
@@ -4,7 +4,8 @@ export declare enum FeatureFlagName {
|
|
|
4
4
|
JET_INSIGHT_INTEGRATION = "jet-insight-integration",
|
|
5
5
|
COMMUNICATIONS = "communications",
|
|
6
6
|
LOGISTICS = "logistics",
|
|
7
|
-
DHR_PROPOSAL_MODAL = "dhr-proposal-modal"
|
|
7
|
+
DHR_PROPOSAL_MODAL = "dhr-proposal-modal",
|
|
8
|
+
SCHEDULE = "schedule"
|
|
8
9
|
}
|
|
9
10
|
export interface IFeatureFlag {
|
|
10
11
|
name: FeatureFlagName;
|
|
@@ -9,6 +9,7 @@ var FeatureFlagName;
|
|
|
9
9
|
FeatureFlagName["COMMUNICATIONS"] = "communications";
|
|
10
10
|
FeatureFlagName["LOGISTICS"] = "logistics";
|
|
11
11
|
FeatureFlagName["DHR_PROPOSAL_MODAL"] = "dhr-proposal-modal";
|
|
12
|
+
FeatureFlagName["SCHEDULE"] = "schedule";
|
|
12
13
|
})(FeatureFlagName = exports.FeatureFlagName || (exports.FeatureFlagName = {}));
|
|
13
14
|
class FeatureFlag {
|
|
14
15
|
constructor(featureFlag) {
|
|
@@ -148,6 +148,11 @@ class Organization {
|
|
|
148
148
|
description: "Enable the DHR proposal modal which surfaces important information about the donor, organ, and recipient at the time of proposal review to help inform acceptance decisions.",
|
|
149
149
|
enabled: false,
|
|
150
150
|
},
|
|
151
|
+
{
|
|
152
|
+
name: FeatureFlag_1.FeatureFlagName.SCHEDULE,
|
|
153
|
+
description: "Enable schedule features such as viewing and managing schedules.",
|
|
154
|
+
enabled: false,
|
|
155
|
+
},
|
|
151
156
|
];
|
|
152
157
|
}
|
|
153
158
|
else if (organization.type === OrganizationType.TRANSPORTATION_OPERATOR) {
|
|
@@ -167,6 +172,11 @@ class Organization {
|
|
|
167
172
|
enabled: true,
|
|
168
173
|
description: "Enable logistics features such as trip and transportation management.",
|
|
169
174
|
},
|
|
175
|
+
{
|
|
176
|
+
name: FeatureFlag_1.FeatureFlagName.SCHEDULE,
|
|
177
|
+
description: "Enable schedule features such as viewing and managing schedules.",
|
|
178
|
+
enabled: false,
|
|
179
|
+
},
|
|
170
180
|
];
|
|
171
181
|
}
|
|
172
182
|
if (!organization.communicationsSettings)
|