andoncloud-prometheus-widget 1.3.4 → 1.3.6
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/index.d.ts +41 -5
- package/dist/index.js +590 -2
- package/dist/index.js.map +1 -1
- package/package.json +34 -29
- package/dist/components/Loading/index.d.ts +0 -3
- package/dist/components/PrometheusChart/GradientPlugin.d.ts +0 -6
- package/dist/components/PrometheusChart/index.d.ts +0 -4
- package/dist/components/SettingsForm/index.d.ts +0 -4
- package/dist/components/SettingsFormContent/index.d.ts +0 -5
- package/dist/components/Widget/index.d.ts +0 -5
- package/dist/components/Widget/utils.d.ts +0 -43
- package/dist/components/WidgetSettings/index.d.ts +0 -4
- package/dist/components/WidgetView/index.d.ts +0 -4
- package/dist/helpers.d.ts +0 -4
- package/dist/i18n.d.ts +0 -2
- package/dist/locales/index.d.ts +0 -33
- package/dist/stories/Widget.stories.d.ts +0 -5
- package/dist/types.d.ts +0 -34
- package/dist/utils/graphql-sdk.d.ts +0 -142
- package/dist/version.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "andoncloud-prometheus-widget",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"description": "Made with create-andoncloud-widget",
|
|
5
5
|
"author": "Adrian Olszewski",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
7
8
|
"main": "dist/index.js",
|
|
8
|
-
"
|
|
9
|
-
"source": "src/index.tsx",
|
|
10
|
-
"engines": {
|
|
11
|
-
"node": ">=14"
|
|
12
|
-
},
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
13
10
|
"scripts": {
|
|
14
|
-
"build": "library-scripts build
|
|
15
|
-
"build:watch": "library-scripts build-watch
|
|
16
|
-
"
|
|
17
|
-
"start": "run-p build:watch start:preview",
|
|
11
|
+
"build": "library-scripts build",
|
|
12
|
+
"build:watch": "library-scripts build-watch",
|
|
13
|
+
"i18n:extract": "i18next src/components/**/*.tsx [-oc]",
|
|
18
14
|
"lint": "eslint --ext .ts,.tsx --quiet --fix .",
|
|
19
15
|
"lint:ci": "eslint --ext .ts,.tsx --quiet .",
|
|
20
|
-
"i18n:extract": "i18next src/components/**/*.tsx [-oc]",
|
|
21
16
|
"prepare": "run-s build",
|
|
17
|
+
"prestart": "npm run build",
|
|
18
|
+
"start": "run-p build:watch start:preview",
|
|
19
|
+
"start:preview": "cd preview && npm run start",
|
|
20
|
+
"test": "cypress run --component",
|
|
22
21
|
"update": "ncu -u --reject chart.js,chartjs-plugin-datasource-prometheus,graphql-request && npm install --ignore-scripts && cd preview && ncu -u && npm install",
|
|
23
22
|
"version:bump": "npm version --no-git-tag-version patch"
|
|
24
23
|
},
|
|
@@ -32,36 +31,43 @@
|
|
|
32
31
|
"graphql-request": "^6.0.0",
|
|
33
32
|
"i18next": "^22.0.0",
|
|
34
33
|
"react": "^18.0.0",
|
|
35
|
-
"react-i18next": "^12.0.0"
|
|
34
|
+
"react-i18next": "^12.0.0",
|
|
35
|
+
"dayjs": "^1.11.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@craco/craco": "^7.1.0",
|
|
38
39
|
"@emotion/react": "^11.14.0",
|
|
39
40
|
"@emotion/styled": "^11.14.1",
|
|
40
|
-
"@mui/icons-material": "^7.3.
|
|
41
|
-
"@mui/lab": "^7.0.1-beta.
|
|
42
|
-
"@mui/material": "^7.3.
|
|
41
|
+
"@mui/icons-material": "^7.3.9",
|
|
42
|
+
"@mui/lab": "^7.0.1-beta.23",
|
|
43
|
+
"@mui/material": "^7.3.9",
|
|
44
|
+
"@mui/x-date-pickers": "^8.27.2",
|
|
43
45
|
"@types/chart.js": "^2.9.41",
|
|
44
|
-
"@types/color": "^4.2.
|
|
46
|
+
"@types/color": "^4.2.1",
|
|
45
47
|
"@types/lodash.pick": "^4.4.9",
|
|
46
|
-
"@types/react": "^19.2.
|
|
47
|
-
"
|
|
48
|
-
"andoncloud-
|
|
49
|
-
"andoncloud-
|
|
50
|
-
"andoncloud-
|
|
51
|
-
"
|
|
48
|
+
"@types/react": "^19.2.14",
|
|
49
|
+
"ajv": "^8.18.0",
|
|
50
|
+
"andoncloud-dashboard-toolkit": "^1.5.54",
|
|
51
|
+
"andoncloud-library-scripts": "^2.0.0",
|
|
52
|
+
"andoncloud-sdk": "^1.7.25",
|
|
53
|
+
"andoncloud-widget-base": "^1.2.24",
|
|
54
|
+
"cypress": "^15.12.0",
|
|
55
|
+
"eslint-config-andoncloud": "^1.1.0",
|
|
52
56
|
"graphql-request": "^6.1.0",
|
|
53
|
-
"i18next": "^25.
|
|
57
|
+
"i18next": "^25.10.9",
|
|
54
58
|
"mobx": "^6.15.0",
|
|
55
59
|
"mobx-react-lite": "^4.1.1",
|
|
56
|
-
"npm-check-updates": "^19.
|
|
60
|
+
"npm-check-updates": "^19.6.5",
|
|
57
61
|
"npm-run-all": "^4.1.5",
|
|
58
|
-
"postcss": "^8.5.
|
|
62
|
+
"postcss": "^8.5.8",
|
|
59
63
|
"react": "^19.2.4",
|
|
60
64
|
"react-dom": "^19.2.4",
|
|
61
|
-
"react-i18next": "^16.5
|
|
62
|
-
"react-router-dom": "^7.13.
|
|
65
|
+
"react-i18next": "^16.6.5",
|
|
66
|
+
"react-router-dom": "^7.13.2",
|
|
63
67
|
"react-scripts": "^5.0.1",
|
|
64
|
-
"
|
|
68
|
+
"tsdown": "^0.21.4",
|
|
69
|
+
"typescript": "~5.9.3",
|
|
70
|
+
"webpack-dev-server": "^5.2.3"
|
|
65
71
|
},
|
|
66
72
|
"files": [
|
|
67
73
|
"dist"
|
|
@@ -72,7 +78,6 @@
|
|
|
72
78
|
"color": "^5.0.3",
|
|
73
79
|
"compare-versions": "^6.1.1",
|
|
74
80
|
"formik": "^2.4.9",
|
|
75
|
-
"dayjs": "^1.11.19",
|
|
76
81
|
"lodash.pick": "^4.4.0",
|
|
77
82
|
"react-chartjs-2": "^5.3.1",
|
|
78
83
|
"react-text-truncate": "^0.19.0",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SettingsFormContentProps } from 'andoncloud-widget-base';
|
|
3
|
-
import { WidgetData, WidgetSettings } from '@/types';
|
|
4
|
-
declare const SettingsFormContent: React.FC<SettingsFormContentProps<WidgetData, WidgetSettings>>;
|
|
5
|
-
export default SettingsFormContent;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { TFunction } from 'i18next';
|
|
2
|
-
import * as yup from 'yup';
|
|
3
|
-
import { QueriesPeriod, WidgetSettings } from '@/types';
|
|
4
|
-
export declare const getSettingsFormProps: (t: TFunction) => {
|
|
5
|
-
initialValues: {
|
|
6
|
-
endpointUrl: string;
|
|
7
|
-
queriesPeriod: QueriesPeriod;
|
|
8
|
-
prometheusQueries: never[];
|
|
9
|
-
displayedQueryParams: never[];
|
|
10
|
-
xAxisUnit: string;
|
|
11
|
-
yAxisUnit: string;
|
|
12
|
-
};
|
|
13
|
-
validationSchema: yup.ObjectSchema<{
|
|
14
|
-
endpointUrl: string;
|
|
15
|
-
queriesPeriod: string;
|
|
16
|
-
prometheusQueries: {
|
|
17
|
-
query: string;
|
|
18
|
-
displayName: string;
|
|
19
|
-
}[] | undefined;
|
|
20
|
-
displayedQueryParams: string[] | undefined;
|
|
21
|
-
xAxisUnit: string;
|
|
22
|
-
yAxisUnit: string;
|
|
23
|
-
}, yup.AnyObject, {
|
|
24
|
-
endpointUrl: undefined;
|
|
25
|
-
queriesPeriod: undefined;
|
|
26
|
-
prometheusQueries: "";
|
|
27
|
-
displayedQueryParams: "";
|
|
28
|
-
xAxisUnit: undefined;
|
|
29
|
-
yAxisUnit: undefined;
|
|
30
|
-
}, "">;
|
|
31
|
-
};
|
|
32
|
-
export declare const migrateSettings: (settings: WidgetSettings) => WidgetSettings | {
|
|
33
|
-
prometheusQueries: {
|
|
34
|
-
query: import("@/types").PrometheusQuery;
|
|
35
|
-
displayName: string;
|
|
36
|
-
}[];
|
|
37
|
-
endpointUrl: string;
|
|
38
|
-
queriesPeriod: QueriesPeriod;
|
|
39
|
-
displayedQueryParams: string[];
|
|
40
|
-
xAxisUnit: string;
|
|
41
|
-
yAxisUnit: string;
|
|
42
|
-
version?: string;
|
|
43
|
-
};
|
package/dist/helpers.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { generateTimeRange } from 'andoncloud-dashboard-toolkit';
|
|
2
|
-
import { QueriesPeriod, QueriesTimeRange, WidgetData } from './types';
|
|
3
|
-
export { generateTimeRange };
|
|
4
|
-
export declare const getQueriesTimeRange: (period: QueriesPeriod, data: WidgetData) => QueriesTimeRange | null;
|
package/dist/i18n.d.ts
DELETED
package/dist/locales/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const resources: {
|
|
2
|
-
en: {
|
|
3
|
-
translation: {
|
|
4
|
-
"Previous shift": string;
|
|
5
|
-
"Current shift": string;
|
|
6
|
-
"Endpoint URL": string;
|
|
7
|
-
Period: string;
|
|
8
|
-
Query: string;
|
|
9
|
-
Name: string;
|
|
10
|
-
"Add another query": string;
|
|
11
|
-
"Displayed query parameter": string;
|
|
12
|
-
"Add another displayed query parameter": string;
|
|
13
|
-
"X axis unit": string;
|
|
14
|
-
"Y axis unit": string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
pl: {
|
|
18
|
-
translation: {
|
|
19
|
-
"Previous shift": string;
|
|
20
|
-
"Current shift": string;
|
|
21
|
-
"Endpoint URL": string;
|
|
22
|
-
Period: string;
|
|
23
|
-
Query: string;
|
|
24
|
-
Name: string;
|
|
25
|
-
"Add another query": string;
|
|
26
|
-
"Displayed query parameter": string;
|
|
27
|
-
"Add another displayed query parameter": string;
|
|
28
|
-
"X axis unit": string;
|
|
29
|
-
"Y axis unit": string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export default resources;
|
package/dist/types.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { BaseWidgetData, BaseWidgetSettings, Shift } from 'andoncloud-dashboard-toolkit';
|
|
2
|
-
import { BaseWidgetViewProps } from 'andoncloud-widget-base';
|
|
3
|
-
interface WidgetSettingsData {
|
|
4
|
-
shifts: Shift[];
|
|
5
|
-
}
|
|
6
|
-
export interface WidgetData extends BaseWidgetData, WidgetSettingsData {
|
|
7
|
-
}
|
|
8
|
-
export interface PrometheusQuery {
|
|
9
|
-
query: string;
|
|
10
|
-
displayName?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface WidgetSettings extends BaseWidgetSettings {
|
|
13
|
-
endpointUrl: string;
|
|
14
|
-
queriesPeriod: QueriesPeriod;
|
|
15
|
-
prometheusQueries: PrometheusQuery[];
|
|
16
|
-
displayedQueryParams: string[];
|
|
17
|
-
xAxisUnit: string;
|
|
18
|
-
yAxisUnit: string;
|
|
19
|
-
}
|
|
20
|
-
export interface WidgetViewProps extends BaseWidgetViewProps<WidgetData, WidgetSettings> {
|
|
21
|
-
}
|
|
22
|
-
export declare enum QueriesPeriod {
|
|
23
|
-
CURRENT_SHIFT = "CURRENT_SHIFT",
|
|
24
|
-
PREVIOUS_SHIFT = "PREVIOUS_SHIFT"
|
|
25
|
-
}
|
|
26
|
-
export interface QueriesTimeRange {
|
|
27
|
-
startedAt: Date | number;
|
|
28
|
-
finishedAt?: Date;
|
|
29
|
-
}
|
|
30
|
-
export interface PrometheusChartProps {
|
|
31
|
-
data: WidgetData;
|
|
32
|
-
settings: WidgetSettings;
|
|
33
|
-
}
|
|
34
|
-
export {};
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
declare const _default: (url: string, token: string) => {
|
|
2
|
-
createDashboard(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
gridLayout?: string | null | undefined;
|
|
6
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CreateDashboardMutation>;
|
|
7
|
-
createOrder(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
8
|
-
id: string;
|
|
9
|
-
number: string;
|
|
10
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CreateOrderMutation>;
|
|
11
|
-
createProduct(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
12
|
-
id: string;
|
|
13
|
-
name?: string | null | undefined;
|
|
14
|
-
number: string;
|
|
15
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CreateProductMutation>;
|
|
16
|
-
createStatusChange(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
17
|
-
id: string;
|
|
18
|
-
userId?: string | null | undefined;
|
|
19
|
-
reasonId: string;
|
|
20
|
-
workplaceId: string;
|
|
21
|
-
startedAt?: string | null | undefined;
|
|
22
|
-
note?: string | null | undefined;
|
|
23
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CreateStatusChangeMutation>;
|
|
24
|
-
createUserPresence(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
25
|
-
id: string;
|
|
26
|
-
workplaceId: string;
|
|
27
|
-
userToken: string;
|
|
28
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CreateUserPresenceMutation>;
|
|
29
|
-
createWidget(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
30
|
-
id: string;
|
|
31
|
-
config?: string | null | undefined;
|
|
32
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CreateWidgetMutation>;
|
|
33
|
-
pauseOrderExecution(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
34
|
-
id: string;
|
|
35
|
-
statusChangeId: string;
|
|
36
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").PauseOrderExecutionMutation>;
|
|
37
|
-
removeDashboard(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
38
|
-
id: string;
|
|
39
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").RemoveDashboardMutation>;
|
|
40
|
-
removeUserPresence(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
41
|
-
id: string;
|
|
42
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").RemoveUserPresenceMutation>;
|
|
43
|
-
removeWidget(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
44
|
-
id: string;
|
|
45
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").RemoveWidgetMutation>;
|
|
46
|
-
removeWorkplaceUsersPresences(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
47
|
-
workplaceId: string;
|
|
48
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").RemoveWorkplaceUsersPresencesMutation>;
|
|
49
|
-
setCounter(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
50
|
-
id: string;
|
|
51
|
-
value: number;
|
|
52
|
-
note?: string | null | undefined;
|
|
53
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").SetCounterMutation>;
|
|
54
|
-
startOrderExecution(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
55
|
-
id: string;
|
|
56
|
-
workplaceId: string;
|
|
57
|
-
orderId: string;
|
|
58
|
-
productId?: string | null | undefined;
|
|
59
|
-
statusChangeId: string;
|
|
60
|
-
quantity?: number | null | undefined;
|
|
61
|
-
note?: string | null | undefined;
|
|
62
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").StartOrderExecutionMutation>;
|
|
63
|
-
stopOrderExecution(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
64
|
-
id: string;
|
|
65
|
-
statusChangeId: string;
|
|
66
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").StopOrderExecutionMutation>;
|
|
67
|
-
updateDashboard(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
68
|
-
id: string;
|
|
69
|
-
name?: string | null | undefined;
|
|
70
|
-
gridLayout: string;
|
|
71
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").UpdateDashboardMutation>;
|
|
72
|
-
updateOrderExecution(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
73
|
-
id: string;
|
|
74
|
-
standardRateId: string;
|
|
75
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").UpdateOrderExecutionMutation>;
|
|
76
|
-
updateWidget(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
77
|
-
id: string;
|
|
78
|
-
config: string;
|
|
79
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").UpdateWidgetMutation>;
|
|
80
|
-
companyConfig(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
81
|
-
[key: string]: never;
|
|
82
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CompanyConfigQuery>;
|
|
83
|
-
counterDirectories(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
84
|
-
[key: string]: never;
|
|
85
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CounterDirectoriesQuery>;
|
|
86
|
-
counters(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
87
|
-
[key: string]: never;
|
|
88
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CountersQuery>;
|
|
89
|
-
currentUser(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
90
|
-
[key: string]: never;
|
|
91
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").CurrentUserQuery>;
|
|
92
|
-
dashboards(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
93
|
-
[key: string]: never;
|
|
94
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").DashboardsQuery>;
|
|
95
|
-
metricValues(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
96
|
-
workplaceIds?: string | string[] | null | undefined;
|
|
97
|
-
metricIds?: string | string[] | null | undefined;
|
|
98
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").MetricValuesQuery>;
|
|
99
|
-
metrics(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
100
|
-
[key: string]: never;
|
|
101
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").MetricsQuery>;
|
|
102
|
-
orders(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
103
|
-
[key: string]: never;
|
|
104
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").OrdersQuery>;
|
|
105
|
-
ordersExecutions(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
106
|
-
[key: string]: never;
|
|
107
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").OrdersExecutionsQuery>;
|
|
108
|
-
products(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
109
|
-
[key: string]: never;
|
|
110
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").ProductsQuery>;
|
|
111
|
-
reasons(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
112
|
-
[key: string]: never;
|
|
113
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").ReasonsQuery>;
|
|
114
|
-
shifts(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
115
|
-
[key: string]: never;
|
|
116
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").ShiftsQuery>;
|
|
117
|
-
standardRates(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
118
|
-
orderExecutionId: string;
|
|
119
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").StandardRatesQuery>;
|
|
120
|
-
statusChangeTransitionPermissions(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
121
|
-
workplaceId: string;
|
|
122
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").StatusChangeTransitionPermissionsQuery>;
|
|
123
|
-
statusChanges(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
124
|
-
[key: string]: never;
|
|
125
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").StatusChangesQuery>;
|
|
126
|
-
users(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
127
|
-
[key: string]: never;
|
|
128
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").UsersQuery>;
|
|
129
|
-
usersPresences(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
130
|
-
[key: string]: never;
|
|
131
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").UsersPresencesQuery>;
|
|
132
|
-
widget(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
133
|
-
id: string;
|
|
134
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").WidgetQuery>;
|
|
135
|
-
workplaces(variables?: import("andoncloud-dashboard-toolkit").Exact<{
|
|
136
|
-
[key: string]: never;
|
|
137
|
-
}> | undefined, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").WorkplacesQuery>;
|
|
138
|
-
workplaceEvent(variables: import("andoncloud-dashboard-toolkit").Exact<{
|
|
139
|
-
id: string;
|
|
140
|
-
}>, requestHeaders?: import("graphql-request/dist/types.dom").Headers | string[][] | Record<string, string> | undefined): Promise<import("andoncloud-dashboard-toolkit").WorkplaceEventSubscription>;
|
|
141
|
-
};
|
|
142
|
-
export default _default;
|
package/dist/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.3.4";
|