@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
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Container: 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>>;
|
|
2
|
+
export declare const Container: 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>>;
|
|
3
3
|
export declare const CommandItem: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
package/dist/data/types/gql.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|
|
11
11
|
* Therefore it is highly recommended to use the babel or swc plugin for production.
|
|
12
12
|
*/
|
|
13
13
|
declare const documents: {
|
|
14
|
-
"\n query userData {\n currentUser {\n id\n name\n email\n location\n avatar\n boards {\n id\n title\n key\n layout\n zones {\n key\n
|
|
14
|
+
"\n query userData {\n currentUser {\n id\n name\n email\n location\n avatar\n boards {\n id\n title\n key\n layout\n base {\n integration\n key\n }\n zones {\n key\n integration\n component\n props {\n key\n value\n }\n containerProps {\n key\n value\n }\n }\n }\n commandGroups {\n title\n key\n commands {\n title\n integration\n component\n props {\n key\n value\n }\n containerProps {\n key\n value\n }\n }\n }\n }\n }\n": DocumentNode<types.UserDataQuery, types.Exact<{
|
|
15
15
|
[key: string]: never;
|
|
16
16
|
}>>;
|
|
17
17
|
"\n query userPluginsAndIntegrations {\n currentUser {\n plugins {\n name\n code\n version\n }\n integrations {\n key\n pluginName\n pluginVersion\n pluginConfig {\n key\n value\n }\n }\n }\n }\n": DocumentNode<types.UserPluginsAndIntegrationsQuery, types.Exact<{
|
|
@@ -37,7 +37,7 @@ export declare function gql(source: string): unknown;
|
|
|
37
37
|
/**
|
|
38
38
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
39
39
|
*/
|
|
40
|
-
export declare function gql(source: "\n query userData {\n currentUser {\n id\n name\n email\n location\n avatar\n boards {\n id\n title\n key\n layout\n zones {\n key\n
|
|
40
|
+
export declare function gql(source: "\n query userData {\n currentUser {\n id\n name\n email\n location\n avatar\n boards {\n id\n title\n key\n layout\n base {\n integration\n key\n }\n zones {\n key\n integration\n component\n props {\n key\n value\n }\n containerProps {\n key\n value\n }\n }\n }\n commandGroups {\n title\n key\n commands {\n title\n integration\n component\n props {\n key\n value\n }\n containerProps {\n key\n value\n }\n }\n }\n }\n }\n"): (typeof documents)["\n query userData {\n currentUser {\n id\n name\n email\n location\n avatar\n boards {\n id\n title\n key\n layout\n base {\n integration\n key\n }\n zones {\n key\n integration\n component\n props {\n key\n value\n }\n containerProps {\n key\n value\n }\n }\n }\n commandGroups {\n title\n key\n commands {\n title\n integration\n component\n props {\n key\n value\n }\n containerProps {\n key\n value\n }\n }\n }\n }\n }\n"];
|
|
41
41
|
/**
|
|
42
42
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
43
43
|
*/
|
|
@@ -93,7 +93,7 @@ export type AddCommandGroupResult = {
|
|
|
93
93
|
export type AddCommandInput = {
|
|
94
94
|
component: Scalars['String']['input'];
|
|
95
95
|
containerProps?: InputMaybe<Array<CommandPropInput>>;
|
|
96
|
-
|
|
96
|
+
integration: Scalars['String']['input'];
|
|
97
97
|
props?: InputMaybe<Array<CommandPropInput>>;
|
|
98
98
|
title: Scalars['String']['input'];
|
|
99
99
|
};
|
|
@@ -174,8 +174,8 @@ export type AddZoneInput = {
|
|
|
174
174
|
boardId: Scalars['ID']['input'];
|
|
175
175
|
component: Scalars['String']['input'];
|
|
176
176
|
containerProps?: InputMaybe<Array<ZonePropInput>>;
|
|
177
|
+
integration: Scalars['String']['input'];
|
|
177
178
|
key: Scalars['String']['input'];
|
|
178
|
-
plugin: Scalars['String']['input'];
|
|
179
179
|
props?: InputMaybe<Array<ZonePropInput>>;
|
|
180
180
|
};
|
|
181
181
|
export type AddZoneResult = {
|
|
@@ -250,6 +250,7 @@ export type Board = {
|
|
|
250
250
|
__typename?: 'Board';
|
|
251
251
|
archived: Scalars['Boolean']['output'];
|
|
252
252
|
archivedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
253
|
+
base?: Maybe<BoardBase>;
|
|
253
254
|
createdAt: Scalars['DateTime']['output'];
|
|
254
255
|
id: Scalars['ID']['output'];
|
|
255
256
|
key: Scalars['ID']['output'];
|
|
@@ -259,6 +260,11 @@ export type Board = {
|
|
|
259
260
|
user: User;
|
|
260
261
|
zones: Array<Zone>;
|
|
261
262
|
};
|
|
263
|
+
export type BoardBase = {
|
|
264
|
+
__typename?: 'BoardBase';
|
|
265
|
+
integration: Scalars['String']['output'];
|
|
266
|
+
key: Scalars['String']['output'];
|
|
267
|
+
};
|
|
262
268
|
export type BoardChangeResult = {
|
|
263
269
|
__typename?: 'BoardChangeResult';
|
|
264
270
|
action: ChangeAction;
|
|
@@ -323,7 +329,7 @@ export type Command = {
|
|
|
323
329
|
containerProps: Array<CommandProp>;
|
|
324
330
|
createdAt: Scalars['DateTime']['output'];
|
|
325
331
|
id: Scalars['ID']['output'];
|
|
326
|
-
|
|
332
|
+
integration: Scalars['String']['output'];
|
|
327
333
|
props: Array<CommandProp>;
|
|
328
334
|
title: Scalars['String']['output'];
|
|
329
335
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -987,7 +993,7 @@ export type UpdateCommandInput = {
|
|
|
987
993
|
archived?: InputMaybe<Scalars['Boolean']['input']>;
|
|
988
994
|
component?: InputMaybe<Scalars['String']['input']>;
|
|
989
995
|
containerProps?: InputMaybe<Array<CommandPropInput>>;
|
|
990
|
-
|
|
996
|
+
integration?: InputMaybe<Scalars['String']['input']>;
|
|
991
997
|
props?: InputMaybe<Array<CommandPropInput>>;
|
|
992
998
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
993
999
|
};
|
|
@@ -1063,8 +1069,8 @@ export type UpdateZoneInput = {
|
|
|
1063
1069
|
archived?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1064
1070
|
component?: InputMaybe<Scalars['String']['input']>;
|
|
1065
1071
|
containerProps?: InputMaybe<Array<ZonePropInput>>;
|
|
1072
|
+
integration?: InputMaybe<Scalars['String']['input']>;
|
|
1066
1073
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
1067
|
-
plugin?: InputMaybe<Scalars['String']['input']>;
|
|
1068
1074
|
props?: InputMaybe<Array<ZonePropInput>>;
|
|
1069
1075
|
};
|
|
1070
1076
|
export type UpdateZoneResult = {
|
|
@@ -1151,8 +1157,8 @@ export type Zone = {
|
|
|
1151
1157
|
containerProps: Array<ZoneProp>;
|
|
1152
1158
|
createdAt: Scalars['DateTime']['output'];
|
|
1153
1159
|
id: Scalars['ID']['output'];
|
|
1160
|
+
integration: Scalars['String']['output'];
|
|
1154
1161
|
key: Scalars['String']['output'];
|
|
1155
|
-
plugin: Scalars['String']['output'];
|
|
1156
1162
|
props: Array<ZoneProp>;
|
|
1157
1163
|
updatedAt: Scalars['DateTime']['output'];
|
|
1158
1164
|
};
|
|
@@ -1201,10 +1207,15 @@ export type UserDataQuery = {
|
|
|
1201
1207
|
title: string;
|
|
1202
1208
|
key: string;
|
|
1203
1209
|
layout?: string | null;
|
|
1210
|
+
base?: {
|
|
1211
|
+
__typename?: 'BoardBase';
|
|
1212
|
+
integration: string;
|
|
1213
|
+
key: string;
|
|
1214
|
+
} | null;
|
|
1204
1215
|
zones: Array<{
|
|
1205
1216
|
__typename?: 'Zone';
|
|
1206
1217
|
key: string;
|
|
1207
|
-
|
|
1218
|
+
integration: string;
|
|
1208
1219
|
component: string;
|
|
1209
1220
|
props: Array<{
|
|
1210
1221
|
__typename?: 'ZoneProp';
|
|
@@ -1225,13 +1236,18 @@ export type UserDataQuery = {
|
|
|
1225
1236
|
commands: Array<{
|
|
1226
1237
|
__typename?: 'Command';
|
|
1227
1238
|
title: string;
|
|
1228
|
-
|
|
1239
|
+
integration: string;
|
|
1229
1240
|
component: string;
|
|
1230
1241
|
props: Array<{
|
|
1231
1242
|
__typename?: 'CommandProp';
|
|
1232
1243
|
key: string;
|
|
1233
1244
|
value: string;
|
|
1234
1245
|
}>;
|
|
1246
|
+
containerProps: Array<{
|
|
1247
|
+
__typename?: 'CommandProp';
|
|
1248
|
+
key: string;
|
|
1249
|
+
value: string;
|
|
1250
|
+
}>;
|
|
1235
1251
|
}>;
|
|
1236
1252
|
}>;
|
|
1237
1253
|
};
|