@resconet/jsbridge 19.0.0-beta.2 → 19.1.0-beta.1
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/package.json +1 -1
- package/src/JSBridge.d.ts +4 -5
package/package.json
CHANGED
package/src/JSBridge.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// JSBridge.js TypeScript definition file
|
|
2
2
|
// (c) 2024 Resco
|
|
3
3
|
|
|
4
|
-
/* eslint-disable @typescript-eslint/ban-types */
|
|
5
4
|
/* eslint-disable @typescript-eslint/prefer-namespace-keyword */
|
|
6
5
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
7
6
|
/* eslint-disable no-var */
|
|
@@ -72,12 +71,12 @@ declare namespace MobileCRM {
|
|
|
72
71
|
|
|
73
72
|
class GlobalConstants {
|
|
74
73
|
/**Gets the JSON object representing the GlobalConstants variables. */
|
|
75
|
-
public static getAllAsync(): Promise<
|
|
74
|
+
public static getAllAsync(): Promise<object>;
|
|
76
75
|
/**
|
|
77
76
|
*Gets the constant associated with specified key in the GlobalConstants variables.
|
|
78
77
|
* @param key The key of the constant to get.
|
|
79
78
|
*/
|
|
80
|
-
public static getAsync(key:
|
|
79
|
+
public static getAsync(key: string): Promise<object>;
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
class Settings {
|
|
@@ -1876,7 +1875,7 @@ declare module MobileCRM.UI {
|
|
|
1876
1875
|
interface _DetailItemDateTime extends _DetailItem {
|
|
1877
1876
|
maximum: Date;
|
|
1878
1877
|
minimum: Date;
|
|
1879
|
-
parts:
|
|
1878
|
+
parts: number;
|
|
1880
1879
|
value: Date;
|
|
1881
1880
|
}
|
|
1882
1881
|
interface _DetailItemDuration extends _DetailItem {
|
|
@@ -3552,7 +3551,7 @@ declare module MobileCRM.UI.DetailViewItems {
|
|
|
3552
3551
|
class DateTimeItem extends Item {
|
|
3553
3552
|
maximum: Date;
|
|
3554
3553
|
minimum: Date;
|
|
3555
|
-
parts:
|
|
3554
|
+
parts: number;
|
|
3556
3555
|
value: Date;
|
|
3557
3556
|
}
|
|
3558
3557
|
class DurationItem extends Item {}
|