@interopio/home-ui-react 1.1.0 → 1.1.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/index.js +9 -9
- package/index.js.map +1 -1
- package/index.mjs +1110 -1096
- package/index.mjs.map +1 -1
- package/lib/io-connect-home-provider/constants.d.ts +4 -1
- package/lib/io-connect-home-provider/types.d.ts +3 -2
- package/lib/permissions-setup/constants.d.ts +2 -1
- package/lib/permissions-setup/types.d.ts +0 -2
- package/lib/permissions-setup/unsuccessful-setup.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PERMISSION_NAMES } from './constants';
|
|
2
|
+
export type PermissionNames = (typeof PERMISSION_NAMES)[keyof typeof PERMISSION_NAMES];
|
|
2
3
|
export type HomePermissionStatus = PermissionStatus & {
|
|
3
|
-
|
|
4
|
+
stableName: PermissionNames;
|
|
4
5
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PermissionNames
|
|
1
|
+
import type { PermissionNames } from '../io-connect-home-provider/types';
|
|
2
|
+
import type { PermissionStep } from './types';
|
|
2
3
|
export declare const PERMISSION_STEPS: Record<PermissionNames, PermissionStep>;
|
|
3
4
|
export declare const DEFAULT_SETTINGS: {
|
|
4
5
|
edgeNotificationsPermissionTimeout: number;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PERMISSION_NAMES } from '../io-connect-home-provider/constants';
|
|
3
2
|
export interface PermissionStep {
|
|
4
3
|
heading: string;
|
|
5
4
|
description: string;
|
|
@@ -11,4 +10,3 @@ export interface PermissionStep {
|
|
|
11
10
|
handlePermissionsPromptClose: () => void;
|
|
12
11
|
}) => void;
|
|
13
12
|
}
|
|
14
|
-
export type PermissionNames = (typeof PERMISSION_NAMES)[number];
|
package/package.json
CHANGED