@trackunit/iris-app-runtime-core 0.3.35 → 0.3.38

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 CHANGED
@@ -91,7 +91,7 @@ const CurrentUserRuntime = {
91
91
  *
92
92
  * @param customFieldDefinition the definition of the custom field
93
93
  * @param newValue the new value to set
94
- * @returns { CustomFieldValue } an updated CustomFieldValue
94
+ * @returns { CustomFieldValue } an updated CustomFieldValue
95
95
  */
96
96
  const getCustomFieldValueFromRawValue = (customFieldDefinition, newValue) => {
97
97
  if (customFieldDefinition.type === irisAppRuntimeCoreApi.CustomFieldType.BOOLEAN) {
@@ -224,13 +224,6 @@ const CustomFieldRuntime = {
224
224
  }),
225
225
  };
226
226
 
227
- const DeveloperSettingsRuntime = {
228
- getDeveloperSettingsContext: () => __awaiter(void 0, void 0, void 0, function* () {
229
- const api = yield getHostConnector();
230
- return api.getDeveloperSettingsContext();
231
- }),
232
- };
233
-
234
227
  const EnvironmentRuntime = {
235
228
  getEnvironmentContext: () => __awaiter(void 0, void 0, void 0, function* () {
236
229
  const api = yield getHostConnector();
@@ -328,7 +321,6 @@ exports.AssetRuntime = AssetRuntime;
328
321
  exports.AssetSortingRuntime = AssetSortingRuntime;
329
322
  exports.CurrentUserRuntime = CurrentUserRuntime;
330
323
  exports.CustomFieldRuntime = CustomFieldRuntime;
331
- exports.DeveloperSettingsRuntime = DeveloperSettingsRuntime;
332
324
  exports.EnvironmentRuntime = EnvironmentRuntime;
333
325
  exports.GlobalSelectionRuntime = GlobalSelectionRuntime;
334
326
  exports.NavigationRuntime = NavigationRuntime;
package/index.js CHANGED
@@ -88,7 +88,7 @@ const CurrentUserRuntime = {
88
88
  *
89
89
  * @param customFieldDefinition the definition of the custom field
90
90
  * @param newValue the new value to set
91
- * @returns { CustomFieldValue } an updated CustomFieldValue
91
+ * @returns { CustomFieldValue } an updated CustomFieldValue
92
92
  */
93
93
  const getCustomFieldValueFromRawValue = (customFieldDefinition, newValue) => {
94
94
  if (customFieldDefinition.type === CustomFieldType.BOOLEAN) {
@@ -221,13 +221,6 @@ const CustomFieldRuntime = {
221
221
  }),
222
222
  };
223
223
 
224
- const DeveloperSettingsRuntime = {
225
- getDeveloperSettingsContext: () => __awaiter(void 0, void 0, void 0, function* () {
226
- const api = yield getHostConnector();
227
- return api.getDeveloperSettingsContext();
228
- }),
229
- };
230
-
231
224
  const EnvironmentRuntime = {
232
225
  getEnvironmentContext: () => __awaiter(void 0, void 0, void 0, function* () {
233
226
  const api = yield getHostConnector();
@@ -321,4 +314,4 @@ const UserSubscriptionRuntime = {
321
314
  }),
322
315
  };
323
316
 
324
- export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
317
+ export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue, 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.35",
3
+ "version": "0.3.38",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",
@@ -8,8 +8,8 @@
8
8
  "type": "module",
9
9
  "types": "./src/index.d.ts",
10
10
  "dependencies": {
11
- "@trackunit/iris-app-runtime-core-api": "0.3.30",
12
- "@trackunit/react-core-contexts-api": "0.2.27"
11
+ "@trackunit/iris-app-runtime-core-api": "0.3.32",
12
+ "@trackunit/react-core-contexts-api": "0.2.29"
13
13
  },
14
14
  "peerDependencies": {}
15
15
  }
@@ -7,7 +7,7 @@ export interface DropdownSelection {
7
7
  *
8
8
  * @param customFieldDefinition the definition of the custom field
9
9
  * @param newValue the new value to set
10
- * @returns { CustomFieldValue } an updated CustomFieldValue
10
+ * @returns { CustomFieldValue } an updated CustomFieldValue
11
11
  */
12
12
  export declare const getCustomFieldValueFromRawValue: (customFieldDefinition: CustomFieldDefinition, newValue: boolean | string | string[] | DropdownSelection[] | DropdownSelection | number) => CustomFieldValue;
13
13
  /**
package/src/index.d.ts CHANGED
@@ -3,7 +3,6 @@ export * from "./AssetRuntime";
3
3
  export * from "./AssetSortingRuntime";
4
4
  export * from "./CurrentUserRuntime";
5
5
  export * from "./CustomFieldRuntime";
6
- export * from "./DeveloperSettingsRuntime";
7
6
  export * from "./EnvironmentRuntime";
8
7
  export * from "./GlobalSelectionRuntime";
9
8
  export * from "./HostConnector";
@@ -1,4 +0,0 @@
1
- import { IDeveloperSettingsContext } from "@trackunit/react-core-contexts-api";
2
- export declare const DeveloperSettingsRuntime: {
3
- getDeveloperSettingsContext: () => Promise<IDeveloperSettingsContext>;
4
- };