@livetiles/reach-plugin-types 0.4.28 → 0.4.30
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/lib/index.d.ts +12 -9
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1635,6 +1635,8 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1635
1635
|
pluginNotifications: {
|
|
1636
1636
|
[key: string]: NotificationType;
|
|
1637
1637
|
};
|
|
1638
|
+
newsEditor: NotificationType;
|
|
1639
|
+
eventEditor: NotificationType;
|
|
1638
1640
|
}
|
|
1639
1641
|
export interface RequestUser extends BasicUserInformation {
|
|
1640
1642
|
tenantId: string;
|
|
@@ -5728,11 +5730,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
|
|
|
5728
5730
|
export { PushClient };
|
|
5729
5731
|
}
|
|
5730
5732
|
declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
5731
|
-
import { ConfigureOptions, MigrateResult,
|
|
5732
|
-
export class MobileHybridStorage implements
|
|
5733
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5734
|
+
export class MobileHybridStorage implements PreferencesPlugin {
|
|
5733
5735
|
private pluginStorage;
|
|
5734
5736
|
private static memoryStorage;
|
|
5735
|
-
constructor(pluginStorage:
|
|
5737
|
+
constructor(pluginStorage: PreferencesPlugin);
|
|
5736
5738
|
get(options: {
|
|
5737
5739
|
key: string;
|
|
5738
5740
|
}): Promise<any>;
|
|
@@ -5744,7 +5746,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
|
|
|
5744
5746
|
key: string;
|
|
5745
5747
|
}): Promise<void>;
|
|
5746
5748
|
clear(): Promise<void>;
|
|
5747
|
-
keys(): Promise<import("@capacitor/
|
|
5749
|
+
keys(): Promise<import("@capacitor/preferences").KeysResult>;
|
|
5748
5750
|
private static updateInMemoryStorage;
|
|
5749
5751
|
configure(options: ConfigureOptions): Promise<void>;
|
|
5750
5752
|
migrate(): Promise<MigrateResult>;
|
|
@@ -5780,7 +5782,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
|
|
|
5780
5782
|
export const mockStatusBarPlugin: StatusBarPlugin;
|
|
5781
5783
|
}
|
|
5782
5784
|
declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
5783
|
-
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
|
|
5785
|
+
import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
|
|
5784
5786
|
import { PluginListenerHandle } from '@capacitor/core';
|
|
5785
5787
|
export class WebDeviceFallback implements DevicePlugin {
|
|
5786
5788
|
addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
|
|
@@ -5789,6 +5791,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
|
|
|
5789
5791
|
getId(): Promise<DeviceId>;
|
|
5790
5792
|
getBatteryInfo(): Promise<BatteryInfo>;
|
|
5791
5793
|
getLanguageCode(): Promise<GetLanguageCodeResult>;
|
|
5794
|
+
getLanguageTag(): Promise<LanguageTag>;
|
|
5792
5795
|
}
|
|
5793
5796
|
}
|
|
5794
5797
|
declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
@@ -5805,8 +5808,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
|
|
|
5805
5808
|
}
|
|
5806
5809
|
}
|
|
5807
5810
|
declare module "libs/shared/util/capacitor/src/WebStorage" {
|
|
5808
|
-
import { ConfigureOptions, MigrateResult,
|
|
5809
|
-
export class WebStorage implements
|
|
5811
|
+
import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
|
|
5812
|
+
export class WebStorage implements PreferencesPlugin {
|
|
5810
5813
|
storage: Storage;
|
|
5811
5814
|
get(options: {
|
|
5812
5815
|
key: string;
|
|
@@ -5840,14 +5843,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
|
|
|
5840
5843
|
import { SharePlugin } from '@capacitor/share';
|
|
5841
5844
|
import { SplashScreenPlugin } from '@capacitor/splash-screen';
|
|
5842
5845
|
import { StatusBarPlugin } from '@capacitor/status-bar';
|
|
5843
|
-
import {
|
|
5846
|
+
import { PreferencesPlugin } from '@capacitor/preferences';
|
|
5844
5847
|
import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
|
|
5845
5848
|
import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
|
|
5846
5849
|
import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
|
|
5847
5850
|
import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
|
|
5848
5851
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
5849
5852
|
export interface CondensePluginRegistry {
|
|
5850
|
-
Storage:
|
|
5853
|
+
Storage: PreferencesPlugin;
|
|
5851
5854
|
Device: DevicePlugin;
|
|
5852
5855
|
App: AppPlugin;
|
|
5853
5856
|
Keyboard: KeyboardPlugin;
|