@trackunit/iris-app-runtime-core 0.3.100 → 0.3.102

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/index.cjs.js CHANGED
@@ -283,6 +283,13 @@ const EnvironmentRuntime = {
283
283
  }),
284
284
  };
285
285
 
286
+ const EventRuntime = {
287
+ getEventInfo: () => __awaiter(void 0, void 0, void 0, function* () {
288
+ const api = yield getHostConnector();
289
+ return api.getEventInfo();
290
+ }),
291
+ };
292
+
286
293
  const FilterBarRuntime = {
287
294
  getFilterBarValues: () => __awaiter(void 0, void 0, void 0, function* () {
288
295
  const api = yield getHostConnector();
@@ -410,6 +417,7 @@ exports.CurrentUserPreferenceRuntime = CurrentUserPreferenceRuntime;
410
417
  exports.CurrentUserRuntime = CurrentUserRuntime;
411
418
  exports.CustomFieldRuntime = CustomFieldRuntime;
412
419
  exports.EnvironmentRuntime = EnvironmentRuntime;
420
+ exports.EventRuntime = EventRuntime;
413
421
  exports.FilterBarRuntime = FilterBarRuntime;
414
422
  exports.GlobalSelectionRuntime = GlobalSelectionRuntime;
415
423
  exports.NavigationRuntime = NavigationRuntime;
package/index.esm.js CHANGED
@@ -279,6 +279,13 @@ const EnvironmentRuntime = {
279
279
  }),
280
280
  };
281
281
 
282
+ const EventRuntime = {
283
+ getEventInfo: () => __awaiter(void 0, void 0, void 0, function* () {
284
+ const api = yield getHostConnector();
285
+ return api.getEventInfo();
286
+ }),
287
+ };
288
+
282
289
  const FilterBarRuntime = {
283
290
  getFilterBarValues: () => __awaiter(void 0, void 0, void 0, function* () {
284
291
  const api = yield getHostConnector();
@@ -399,4 +406,4 @@ const UserSubscriptionRuntime = {
399
406
  }),
400
407
  };
401
408
 
402
- export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, FilterBarRuntime, GlobalSelectionRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
409
+ export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, GlobalSelectionRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.100",
3
+ "version": "0.3.102",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -0,0 +1,5 @@
1
+ import { EventInfo } from "@trackunit/iris-app-runtime-core-api";
2
+ export interface IEventRuntime {
3
+ getEventInfo: () => Promise<EventInfo>;
4
+ }
5
+ export declare const EventRuntime: IEventRuntime;
package/src/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from "./CurrentPreferenceUserRuntime";
6
6
  export * from "./CurrentUserRuntime";
7
7
  export * from "./CustomFieldRuntime";
8
8
  export * from "./EnvironmentRuntime";
9
+ export * from "./EventRuntime";
9
10
  export * from "./FilterBarRuntime";
10
11
  export * from "./GlobalSelectionRuntime";
11
12
  export * from "./HostConnector";