@appkit/dek-lib 0.24.0 → 0.26.0
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/dist/components/CommandGroup/CommandGroup.styled.d.ts +1 -1
- package/dist/data/types/gql.d.ts +2 -2
- package/dist/data/types/graphql.d.ts +24 -8
- package/dist/index.es.js +10738 -10604
- package/dist/index.umd.js +9278 -9144
- package/dist/lib/globals.d.ts +4 -4
- package/dist/lib/state.d.ts +3 -3
- package/dist/plugins/home-assistant/MediaView/MediaView.styled.d.ts +1 -1
- package/package.json +1 -1
package/dist/lib/globals.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DekApiMessage,
|
|
1
|
+
import { DekApiMessage, DekBoard, DekCommandGroup, DekIntegration, DekPluginFactory, DekRegistry } from '@appkit/dek-plugin';
|
|
2
2
|
export type SetLocationFunc = (to: string, options?: {
|
|
3
3
|
replace?: boolean | undefined;
|
|
4
4
|
} | undefined) => void;
|
|
5
5
|
type Globals = {
|
|
6
|
-
boards:
|
|
7
|
-
commandGroups:
|
|
6
|
+
boards: DekBoard[];
|
|
7
|
+
commandGroups: DekCommandGroup[];
|
|
8
8
|
plugins: Readonly<Record<string, Readonly<DekPluginFactory>>>;
|
|
9
|
-
|
|
9
|
+
integrationInstances: Readonly<Record<string, Readonly<DekIntegration>>>;
|
|
10
10
|
setLocation: SetLocationFunc;
|
|
11
11
|
registry: DekRegistry;
|
|
12
12
|
messages: DekApiMessage[];
|
package/dist/lib/state.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DekPlugin, DekPluginFactory } from '@appkit/dek-plugin';
|
|
1
|
+
import { DekIntegration, DekPlugin, DekPluginFactory } from '@appkit/dek-plugin';
|
|
2
2
|
import { UserData } from '../data/fetchUserData';
|
|
3
3
|
export type LibraryState = {
|
|
4
4
|
plugins: Record<string, DekPluginFactory>;
|
|
@@ -6,8 +6,8 @@ export type LibraryState = {
|
|
|
6
6
|
loading: boolean;
|
|
7
7
|
};
|
|
8
8
|
declare const state: LibraryState;
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function updateStatePlugins(
|
|
9
|
+
export declare function getIntegrationInstances(): Record<string, DekIntegration>;
|
|
10
|
+
export declare function updateStatePlugins(pluginFactories: Record<string, DekPluginFactory>, integrationInstances: Record<string, DekPlugin>): void;
|
|
11
11
|
export declare function updateStateData(data: UserData | null): void;
|
|
12
12
|
export declare function updateStateLoading(loading: boolean): void;
|
|
13
13
|
export default state;
|
|
@@ -13,5 +13,5 @@ export declare const Artist: import("styled-components").IStyledComponent<"web",
|
|
|
13
13
|
export declare const Album: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContentProps>>;
|
|
14
14
|
export declare const Controls: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
15
15
|
export declare const ControlSpacer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
16
|
-
export declare const Error: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("../../../../../ui/dist/components/View/View").ViewProps, never>> & Omit<({ label, direction, collapse, valign, halign, vscroll, hscroll, padding, paddingVert, paddingHorz, paddingRight, paddingLeft, paddingTop, paddingBottom, width, height, fixed, backColor, backColorHover, borderRadius, className, onClick, style, children, }: import("../../../../../ui/dist/components/View/View").ViewProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
16
|
+
export declare const Error: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("../../../../../ui/dist/components/View/View").ViewProps, never>> & Omit<({ label, direction, collapse, valign, halign, vscroll, hscroll, padding, paddingVert, paddingHorz, paddingRight, paddingLeft, paddingTop, paddingBottom, width, height, fixed, backColor, backColorHover, borderRadius, wrap, gap, gapRow, gapCol, className, onClick, style, children, }: import("../../../../../ui/dist/components/View/View").ViewProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
17
17
|
export {};
|