andoncloud-dashboard-toolkit 1.3.13 → 1.3.14
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/hooks/useGqlClients.d.ts +1 -6
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { CardProps } from '@mui/material';
|
|
2
2
|
import { SidePanelProps } from 'andoncloud-sdk';
|
|
3
|
+
import GraphqlWsClient from './utils/graphql-ws-client';
|
|
4
|
+
import { Sdk } from './graphql-request';
|
|
3
5
|
import { ListStatusChangesQuery, ListWorkOrdersQuery, ListWorkplacesQuery } from './graphql-request';
|
|
4
6
|
export type BaseWidgetData = Record<string, unknown>;
|
|
5
7
|
export interface BaseWidgetSettings {
|
|
@@ -27,7 +29,10 @@ export interface WidgetCardProps extends Omit<CardProps, 'id' | 'lang'>, WidgetP
|
|
|
27
29
|
onDelete?: () => Promise<void>;
|
|
28
30
|
version?: string;
|
|
29
31
|
}
|
|
32
|
+
export interface GqlClients {
|
|
33
|
+
graphqlSdk?: Sdk;
|
|
34
|
+
gqlWsClient?: GraphqlWsClient;
|
|
35
|
+
}
|
|
30
36
|
export type ListStatusChanges_StatusChange = ListStatusChangesQuery['statusChanges'][0];
|
|
31
37
|
export type ListWorkOrders_WorkOrder = ListWorkOrdersQuery['workOrders'][0];
|
|
32
38
|
export type ListWorkplaces_Workplace = ListWorkplacesQuery['workplaces'][0];
|
|
33
|
-
export { type GqlClients } from './hooks/useGqlClients';
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.3.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.3.14";
|