@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.2 → 0.0.1-alpha.20
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/openapi-k8s-toolkit.es.js +18741 -38983
- package/dist/openapi-k8s-toolkit.es.js.map +1 -0
- package/dist/openapi-k8s-toolkit.umd.js +381 -417
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -0
- package/dist/types/api/forms.d.ts +12 -0
- package/dist/types/api/getApiResource.d.ts +17 -0
- package/dist/types/api/getApiResourceTypes.d.ts +9 -0
- package/dist/types/api/getBuiltinResource.d.ts +13 -0
- package/dist/types/api/getBuiltinResourceTypes.d.ts +4 -0
- package/dist/types/api/getClusterList.d.ts +3 -0
- package/dist/types/api/getCrdData.d.ts +6 -0
- package/dist/types/api/getCrdResource.d.ts +16 -0
- package/dist/types/api/getDirectUnknownResource.d.ts +4 -0
- package/dist/types/api/getSwagger.d.ts +5 -0
- package/dist/types/api/permissions.d.ts +14 -0
- package/dist/types/components/atoms/DeleteModal/DeleteModal.d.ts +7 -0
- package/dist/types/components/atoms/DeleteModal/index.d.ts +2 -0
- package/dist/types/components/atoms/DeleteModalMany/DeleteModalMany.d.ts +9 -0
- package/dist/types/components/atoms/DeleteModalMany/index.d.ts +2 -0
- package/dist/types/components/atoms/Spacer/Spacer.d.ts +7 -0
- package/dist/types/components/atoms/Spacer/index.d.ts +2 -0
- package/dist/types/components/atoms/TreeWithSearch/TreeWithSearch.d.ts +7 -0
- package/dist/types/components/atoms/TreeWithSearch/index.d.ts +2 -0
- package/dist/types/components/atoms/TreeWithSearch/styled.d.ts +276 -0
- package/dist/types/components/atoms/index.d.ts +4 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CursorPointerText/CursorPointerText.d.ts +7 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CursorPointerText/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CursorPointerText/styled.d.ts +276 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/CustomCollapse.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/styled.d.ts +553 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/DebugNameViewer.d.ts +11 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/PersistedCheckbox.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/styled.d.ts +277 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/PossibleHiddenContainer.d.ts +6 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts +49 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +6 -0
- package/dist/types/components/molecules/BlackholeForm/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/styled.d.ts +548 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +20 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +22 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +13 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +20 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/FormRangeInput.d.ts +19 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +19 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.d.ts +18 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +19 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/YamlEditor.d.ts +8 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/styled.d.ts +276 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +15 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/styled.d.ts +276 -0
- package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +9 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +31 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/guards.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/index.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +1112 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +195 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +45 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/guards.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/helpers.d.ts +16 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/index.d.ts +4 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/utils.d.ts +43 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/index.d.ts +2 -0
- package/dist/types/components/molecules/EnrichedTable/EnrichedTable.d.ts +30 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/FilterDropdown/FilterDropdown.d.ts +11 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/FilterDropdown/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/ShortenedTextWithTooltip.d.ts +8 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/ShortenedTextWithTooltip/styled.d.ts +9 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/TableComponents.d.ts +284 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TextAlignContainer/TextAlignContainer.d.ts +6 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TextAlignContainer/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TinyButton/TinyButton.d.ts +312 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TinyButton/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TrimmedTags/TrimmedTags.d.ts +7 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/TrimmedTags/index.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/atoms/index.d.ts +6 -0
- package/dist/types/components/molecules/EnrichedTable/index.d.ts +3 -0
- package/dist/types/components/molecules/EnrichedTable/types.d.ts +16 -0
- package/dist/types/components/molecules/EnrichedTable/utils.d.ts +17 -0
- package/dist/types/components/molecules/EnrichedTableProvider/EnrichedTableProvider.d.ts +45 -0
- package/dist/types/components/molecules/EnrichedTableProvider/index.d.ts +3 -0
- package/dist/types/components/molecules/EnrichedTableProvider/utils.d.ts +25 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +16 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/styled.d.ts +276 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/types.d.ts +17 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/utils.d.ts +13 -0
- package/dist/types/components/molecules/ManageableSidebar/ManageableSidebar.d.ts +17 -0
- package/dist/types/components/molecules/ManageableSidebar/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableSidebar/styled.d.ts +322 -0
- package/dist/types/components/molecules/ManageableSidebar/types.d.ts +18 -0
- package/dist/types/components/molecules/ManageableSidebar/utils.d.ts +14 -0
- package/dist/types/components/molecules/index.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/DynamicComponents.d.ts +3 -0
- package/dist/types/components/organisms/DynamicComponents/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/AntdCard.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/AntdCol.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/AntdFlex.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/AntdRow.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/AntdText.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/MultiQuery.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/ParsedText.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/PartsOfUrl.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +8 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +32 -0
- package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.d.ts +7 -0
- package/dist/types/components/organisms/DynamicRenderer/index.d.ts +2 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +6 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/multiQueryProvider.d.ts +17 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/partsOfUrlContext.d.ts +9 -0
- package/dist/types/components/organisms/index.d.ts +3 -0
- package/dist/types/hooks/useApiResource.d.ts +28 -0
- package/dist/types/hooks/useApisResourceTypes.d.ts +30 -0
- package/dist/types/hooks/useBuiltinResource.d.ts +24 -0
- package/dist/types/hooks/useBuiltinResourceTypes.d.ts +4 -0
- package/dist/types/hooks/useClusterList.d.ts +3 -0
- package/dist/types/hooks/useCrdData.d.ts +26 -0
- package/dist/types/hooks/useCrdResource.d.ts +39 -0
- package/dist/types/hooks/useDirectUnknownResource.d.ts +7 -0
- package/dist/types/hooks/usePermissions.d.ts +13 -0
- package/dist/types/index.d.ts +29 -0
- package/dist/types/localTypes/JSON.d.ts +3 -0
- package/dist/types/localTypes/api.d.ts +8 -0
- package/dist/types/localTypes/clusterList.d.ts +7 -0
- package/dist/types/localTypes/dynamicRender.d.ts +29 -0
- package/dist/types/localTypes/form.d.ts +27 -0
- package/dist/types/localTypes/formExtensions.d.ts +71 -0
- package/dist/types/localTypes/k8s.d.ts +100 -0
- package/dist/types/localTypes/richTable.d.ts +31 -0
- package/dist/types/setupTests.d.ts +1 -0
- package/dist/types/utils/createContextFactory/createContextFactory.d.ts +7 -0
- package/dist/types/utils/createContextFactory/index.d.ts +1 -0
- package/dist/types/utils/filterSelectOptions/filterSelectOptions.d.ts +2 -0
- package/dist/types/utils/filterSelectOptions/index.d.ts +1 -0
- package/dist/types/utils/getAllPathsFromObj/getAllPathsFromObj.d.ts +3 -0
- package/dist/types/utils/getAllPathsFromObj/index.d.ts +1 -0
- package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +54 -0
- package/dist/types/utils/getGroupsByCategory/index.d.ts +1 -0
- package/dist/types/utils/getPrefixSubArrays/getPrefixSubArrays.d.ts +1 -0
- package/dist/types/utils/getPrefixSubArrays/index.d.ts +1 -0
- package/dist/types/utils/getStringByName/getStringByName.d.ts +2 -0
- package/dist/types/utils/getStringByName/index.d.ts +1 -0
- package/dist/types/utils/groupsToTreeData/groupsToTreeData.d.ts +7 -0
- package/dist/types/utils/groupsToTreeData/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +17 -0
- package/dist/types/utils/isFlatObject/index.d.ts +1 -0
- package/dist/types/utils/isFlatObject/isFlatObject.d.ts +1 -0
- package/dist/types/utils/nestedStringsArrayInclude/index.d.ts +1 -0
- package/dist/types/utils/nestedStringsArrayInclude/nestedStringsArrayInclude.d.ts +1 -0
- package/dist/types/utils/normalizeValuesForQuotas/index.d.ts +1 -0
- package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +3 -0
- package/dist/types/utils/openApi/index.d.ts +1 -0
- package/dist/types/utils/openApi/openApi.d.ts +17 -0
- package/dist/types/utils/overwriteMatchingKeys/index.d.ts +1 -0
- package/dist/types/utils/overwriteMatchingKeys/overwriteMatchingKeys.d.ts +3 -0
- package/dist/types/utils/parseColumnsOverrides/guards.d.ts +21 -0
- package/dist/types/utils/parseColumnsOverrides/index.d.ts +2 -0
- package/dist/types/utils/parseColumnsOverrides/parseColumnsOverrides.d.ts +23 -0
- package/dist/types/utils/parseForQuotaValues/index.d.ts +1 -0
- package/dist/types/utils/parseForQuotaValues/parseForQuotaValues.d.ts +4 -0
- package/dist/types/utils/prepareTableMappings/index.d.ts +1 -0
- package/dist/types/utils/prepareTableMappings/prepareTableMappings.d.ts +20 -0
- package/dist/types/utils/prepareTemplate/index.d.ts +1 -0
- package/dist/types/utils/prepareTemplate/prepareTemplate.d.ts +4 -0
- package/dist/types/utils/prepareTemplate/prepareTemplate.test.d.ts +1 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/index.d.ts +1 -0
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/prepareUrlsToFetchForDynamicRenderer.d.ts +4 -0
- package/dist/types/utils/removeEmptyFormValues/index.d.ts +1 -0
- package/dist/types/utils/removeEmptyFormValues/removeEmptyFormValues.d.ts +4 -0
- package/package.json +26 -15
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TBuiltinResources } from '../localTypes/k8s';
|
|
2
|
+
export declare const useBuiltinResources: ({ clusterName, namespace, typeName, limit, refetchInterval, }: {
|
|
3
|
+
clusterName: string;
|
|
4
|
+
namespace?: string | undefined;
|
|
5
|
+
typeName: string;
|
|
6
|
+
limit: string | null;
|
|
7
|
+
refetchInterval?: number | false | undefined;
|
|
8
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResources, Error>;
|
|
9
|
+
export declare const useBuiltinResourceSingle: ({ clusterName, namespace, typeName, entryName, refetchInterval, }: {
|
|
10
|
+
clusterName: string;
|
|
11
|
+
namespace?: string | undefined;
|
|
12
|
+
typeName: string;
|
|
13
|
+
entryName: string;
|
|
14
|
+
refetchInterval?: number | false | undefined;
|
|
15
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
16
|
+
metadata: {
|
|
17
|
+
name: string;
|
|
18
|
+
creationTimestamp: string;
|
|
19
|
+
namespace?: string | undefined;
|
|
20
|
+
managedFields?: any;
|
|
21
|
+
};
|
|
22
|
+
spec?: import("..").TJSON | undefined;
|
|
23
|
+
status?: any;
|
|
24
|
+
}, Error>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const useCrdData: ({ clusterName, apiExtensionVersion, crdName, }: {
|
|
2
|
+
clusterName: string;
|
|
3
|
+
apiExtensionVersion: string;
|
|
4
|
+
crdName: string;
|
|
5
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
metadata: {
|
|
8
|
+
resourceVersion: string;
|
|
9
|
+
managedFields?: any;
|
|
10
|
+
};
|
|
11
|
+
spec: {
|
|
12
|
+
names: {
|
|
13
|
+
kind: string;
|
|
14
|
+
singular: string;
|
|
15
|
+
plural: string;
|
|
16
|
+
};
|
|
17
|
+
versions: {
|
|
18
|
+
name: string;
|
|
19
|
+
additionalPrinterColumns: import("..").TAdditionalPrinterColumns;
|
|
20
|
+
}[];
|
|
21
|
+
group: string;
|
|
22
|
+
};
|
|
23
|
+
status: {
|
|
24
|
+
storedVersions: string[];
|
|
25
|
+
};
|
|
26
|
+
}, Error>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TJSON } from 'localTypes/JSON';
|
|
2
|
+
export declare const useCrdResources: <T = TJSON[]>({ clusterName, namespace, apiGroup, apiVersion, crdName, refetchInterval, }: {
|
|
3
|
+
clusterName: string;
|
|
4
|
+
namespace?: string | undefined;
|
|
5
|
+
apiGroup: string;
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
crdName: string;
|
|
8
|
+
refetchInterval?: number | false | undefined;
|
|
9
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
10
|
+
kind: string;
|
|
11
|
+
apiVersion: string;
|
|
12
|
+
metadata: {
|
|
13
|
+
resourceVersion: string;
|
|
14
|
+
managedFields?: any;
|
|
15
|
+
};
|
|
16
|
+
items: T;
|
|
17
|
+
status?: {
|
|
18
|
+
allowed?: boolean | undefined;
|
|
19
|
+
reason?: string | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
}, Error>;
|
|
22
|
+
export declare const useCrdResourceSingle: ({ clusterName, namespace, apiGroup, apiVersion, crdName, entryName, refetchInterval, }: {
|
|
23
|
+
clusterName: string;
|
|
24
|
+
namespace?: string | undefined;
|
|
25
|
+
apiGroup: string;
|
|
26
|
+
apiVersion: string;
|
|
27
|
+
crdName: string;
|
|
28
|
+
entryName: string;
|
|
29
|
+
refetchInterval?: number | false | undefined;
|
|
30
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
31
|
+
metadata: {
|
|
32
|
+
name: string;
|
|
33
|
+
creationTimestamp: string;
|
|
34
|
+
namespace?: string | undefined;
|
|
35
|
+
managedFields?: any;
|
|
36
|
+
};
|
|
37
|
+
spec?: TJSON | undefined;
|
|
38
|
+
status?: any;
|
|
39
|
+
}, Error>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
export declare const useDirectUnknownResource: <T>({ uri, queryKey, refetchInterval, isEnabled, }: {
|
|
3
|
+
uri: string;
|
|
4
|
+
queryKey: string[];
|
|
5
|
+
refetchInterval?: number | false | undefined;
|
|
6
|
+
isEnabled?: boolean | undefined;
|
|
7
|
+
}) => UseQueryResult<T, Error>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const usePermissions: ({ clusterName, namespace, apiGroup, typeName, verb, refetchInterval, enabler, }: {
|
|
2
|
+
clusterName: string;
|
|
3
|
+
apiGroup: string;
|
|
4
|
+
typeName: string;
|
|
5
|
+
namespace: string;
|
|
6
|
+
verb: 'create' | 'delete' | 'patch' | 'update';
|
|
7
|
+
refetchInterval?: number | false | undefined;
|
|
8
|
+
enabler?: boolean | undefined;
|
|
9
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
10
|
+
status: {
|
|
11
|
+
allowed?: boolean | undefined;
|
|
12
|
+
};
|
|
13
|
+
}, Error>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './utils';
|
|
3
|
+
export { getSwagger } from './api/getSwagger';
|
|
4
|
+
export { getClusterList } from './api/getClusterList';
|
|
5
|
+
export { createNewEntry, updateEntry, deleteEntry } from './api/forms';
|
|
6
|
+
export { getApiResources, getApiResourceSingle } from './api/getApiResource';
|
|
7
|
+
export { getBuiltinResources, getBuiltinResourceSingle } from './api/getBuiltinResource';
|
|
8
|
+
export { getCrdResources, getCrdResourceSingle } from './api/getCrdResource';
|
|
9
|
+
export { getApiResourceTypes, getApiResourceTypesByApiGroup } from './api/getApiResourceTypes';
|
|
10
|
+
export { getBuiltinResourceTypes } from './api/getBuiltinResourceTypes';
|
|
11
|
+
export { getCrdData } from './api/getCrdData';
|
|
12
|
+
export { getDirectUnknownResource } from './api/getDirectUnknownResource';
|
|
13
|
+
export { checkPermission } from './api/permissions';
|
|
14
|
+
export { useClusterList } from './hooks/useClusterList';
|
|
15
|
+
export { usePermissions } from './hooks/usePermissions';
|
|
16
|
+
export { useApiResources, useApiResourceSingle } from './hooks/useApiResource';
|
|
17
|
+
export { useBuiltinResources, useBuiltinResourceSingle } from './hooks/useBuiltinResource';
|
|
18
|
+
export { useCrdResources, useCrdResourceSingle } from './hooks/useCrdResource';
|
|
19
|
+
export { useApisResourceTypes, useApiResourceTypesByGroup } from './hooks/useApisResourceTypes';
|
|
20
|
+
export { useBuiltinResourceTypes } from './hooks/useBuiltinResourceTypes';
|
|
21
|
+
export { useCrdData } from './hooks/useCrdData';
|
|
22
|
+
export { useDirectUnknownResource } from './hooks/useDirectUnknownResource';
|
|
23
|
+
export type { TUrlParams } from './localTypes/form';
|
|
24
|
+
export type { TFormsPrefillsData, TFormsOverridesData } from './localTypes/formExtensions';
|
|
25
|
+
export type { TClusterList } from './localTypes/clusterList';
|
|
26
|
+
export type { TJSON } from './localTypes/JSON';
|
|
27
|
+
export type { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TTableMappingData, TTableMappingResource, TTableMappingResponse, } from './localTypes/richTable';
|
|
28
|
+
export type { TApiGroupList, TApiGroupResourceTypeList, TBuiltinResourceTypeList, TSingleResource, TBuiltinResources, TApiResources, TCrdResources, TCRD, } from './localTypes/k8s';
|
|
29
|
+
export type { TItemTypeMap, TRenderableItem, TRendererComponents, TFactoryResponse, TFactoryResource, TFactoryDataK8s, } from './localTypes/dynamicRender';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export type TItemTypeMap = Record<string, unknown>;
|
|
3
|
+
export type TRenderableItem<T extends TItemTypeMap> = {
|
|
4
|
+
[K in keyof T]: {
|
|
5
|
+
type: K;
|
|
6
|
+
data: T[K];
|
|
7
|
+
children?: readonly TRenderableItem<T>[];
|
|
8
|
+
};
|
|
9
|
+
}[keyof T];
|
|
10
|
+
export type TRendererComponents<T extends TItemTypeMap> = {
|
|
11
|
+
[K in keyof T]: React.ComponentType<{
|
|
12
|
+
data: T[K];
|
|
13
|
+
children?: ReactElement | ReactElement[];
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
export type TFactoryDataK8s<T extends TItemTypeMap> = {
|
|
17
|
+
key: string;
|
|
18
|
+
urlsToFetch: string[];
|
|
19
|
+
data: TRenderableItem<T>[];
|
|
20
|
+
};
|
|
21
|
+
export type TFactoryResource<T extends TItemTypeMap> = {
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
kind: string;
|
|
24
|
+
spec: TFactoryDataK8s<T>;
|
|
25
|
+
} & unknown;
|
|
26
|
+
export type TFactoryResponse<T extends TItemTypeMap> = {
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
items: TFactoryResource<T>[];
|
|
29
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DefaultOptionType } from 'antd/es/select';
|
|
2
|
+
export type TNamespaceData = {
|
|
3
|
+
filterSelectOptions: (input: string, option?: DefaultOptionType) => boolean;
|
|
4
|
+
selectValues: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
} | undefined;
|
|
10
|
+
export type TFormName = string | number | string[] | number[] | (string | number)[];
|
|
11
|
+
export type TExpandedControls = {
|
|
12
|
+
onExpandOpen: (value: TFormName) => void;
|
|
13
|
+
onExpandClose: (value: TFormName) => void;
|
|
14
|
+
expandedKeys: TFormName[];
|
|
15
|
+
};
|
|
16
|
+
export type TPersistedControls = {
|
|
17
|
+
onPersistMark: (value: TFormName, type?: 'str' | 'number' | 'arr' | 'obj') => void;
|
|
18
|
+
onPersistUnmark: (value: TFormName) => void;
|
|
19
|
+
persistedKeys: TFormName[];
|
|
20
|
+
isPersistedKeysShown?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export type TUrlParams = {
|
|
23
|
+
clusterName?: string;
|
|
24
|
+
namespace?: string;
|
|
25
|
+
syntheticProject?: string;
|
|
26
|
+
entryName?: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export type TFormPrefill = {
|
|
2
|
+
spec: {
|
|
3
|
+
overrideType: string;
|
|
4
|
+
values: {
|
|
5
|
+
path: (string | number)[];
|
|
6
|
+
value: unknown;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type TFormsPrefillsData = {
|
|
11
|
+
items: TFormPrefill[];
|
|
12
|
+
};
|
|
13
|
+
export type TFormOverride = {
|
|
14
|
+
spec: {
|
|
15
|
+
overrideType: string;
|
|
16
|
+
strategy: string;
|
|
17
|
+
schema: {
|
|
18
|
+
properties: Record<string, unknown>;
|
|
19
|
+
required?: string[];
|
|
20
|
+
};
|
|
21
|
+
hidden?: string[][];
|
|
22
|
+
expanded?: string[][];
|
|
23
|
+
persisted?: string[][];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type TFormsOverridesData = {
|
|
27
|
+
items: (TFormOverride & unknown)[];
|
|
28
|
+
};
|
|
29
|
+
type TRangeInputCustomValue = {
|
|
30
|
+
type: 'number';
|
|
31
|
+
value: number;
|
|
32
|
+
} | {
|
|
33
|
+
type: 'substractResourceValues';
|
|
34
|
+
firstValueUri: string;
|
|
35
|
+
firstValuesKeysToValue: string[];
|
|
36
|
+
secondValueUri: string;
|
|
37
|
+
secondValuesKeysToValue: string[];
|
|
38
|
+
} | {
|
|
39
|
+
type: 'addResourceValues';
|
|
40
|
+
firstValueUri: string;
|
|
41
|
+
firstValuesKeysToValue: string[];
|
|
42
|
+
secondValueUri: string;
|
|
43
|
+
secondValuesKeysToValue: string[];
|
|
44
|
+
} | {
|
|
45
|
+
type: 'resourceValue';
|
|
46
|
+
valueUri: string;
|
|
47
|
+
keysToValue: string[];
|
|
48
|
+
};
|
|
49
|
+
export type TRangeInputCustomValuesBlock = {
|
|
50
|
+
min: TRangeInputCustomValue;
|
|
51
|
+
max: TRangeInputCustomValue;
|
|
52
|
+
step: number;
|
|
53
|
+
};
|
|
54
|
+
export type TRangeInputCustomProps = {
|
|
55
|
+
logic: 'memoryLike' | 'cpuLike';
|
|
56
|
+
add: TRangeInputCustomValuesBlock;
|
|
57
|
+
edit: TRangeInputCustomValuesBlock;
|
|
58
|
+
};
|
|
59
|
+
export type TListInputCustomProps = {
|
|
60
|
+
valueUri: string;
|
|
61
|
+
keysToValue: string[];
|
|
62
|
+
keysToLabel?: string[];
|
|
63
|
+
mode?: 'multiple' | 'tags';
|
|
64
|
+
criteria?: {
|
|
65
|
+
keysToValue: string[];
|
|
66
|
+
type: 'equals' | 'notEquals';
|
|
67
|
+
value: unknown;
|
|
68
|
+
keepPrefilled?: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { TJSON } from './JSON';
|
|
2
|
+
import { TAdditionalPrinterColumns } from './richTable';
|
|
3
|
+
export type TApiGroupList = {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
kind: string;
|
|
6
|
+
groups: {
|
|
7
|
+
name: string;
|
|
8
|
+
versions: {
|
|
9
|
+
groupVersion: string;
|
|
10
|
+
version: string;
|
|
11
|
+
}[];
|
|
12
|
+
preferredVersion: {
|
|
13
|
+
groupVersion: string;
|
|
14
|
+
version: string;
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
17
|
+
} & unknown;
|
|
18
|
+
export type TApiGroupResourceTypeList = {
|
|
19
|
+
apiVersion: string;
|
|
20
|
+
kind: string;
|
|
21
|
+
groupVersion: string;
|
|
22
|
+
resources: ({
|
|
23
|
+
name: string;
|
|
24
|
+
kind: string;
|
|
25
|
+
} & unknown)[];
|
|
26
|
+
} & unknown;
|
|
27
|
+
export type TBuiltinResourceTypeList = {
|
|
28
|
+
kind: string;
|
|
29
|
+
groupVersion: string;
|
|
30
|
+
resources: {
|
|
31
|
+
name: string;
|
|
32
|
+
singularName: string;
|
|
33
|
+
namespaced: boolean;
|
|
34
|
+
kind: string;
|
|
35
|
+
verbs: string[];
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
export type TSingleResource = unknown & {
|
|
39
|
+
metadata: {
|
|
40
|
+
name: string;
|
|
41
|
+
creationTimestamp: string;
|
|
42
|
+
namespace?: string;
|
|
43
|
+
managedFields?: any;
|
|
44
|
+
};
|
|
45
|
+
spec?: TJSON;
|
|
46
|
+
status?: any;
|
|
47
|
+
};
|
|
48
|
+
export type TBuiltinResources = {
|
|
49
|
+
kind: string;
|
|
50
|
+
apiVersion: string;
|
|
51
|
+
metadata: {
|
|
52
|
+
name: string;
|
|
53
|
+
resourceVersion: string;
|
|
54
|
+
};
|
|
55
|
+
items: TSingleResource[];
|
|
56
|
+
};
|
|
57
|
+
export type TApiResources = {
|
|
58
|
+
kind: string;
|
|
59
|
+
apiVersion: string;
|
|
60
|
+
metadata: {
|
|
61
|
+
name: string;
|
|
62
|
+
resourceVersion: string;
|
|
63
|
+
};
|
|
64
|
+
items: TSingleResource[];
|
|
65
|
+
};
|
|
66
|
+
export type TCrdResources<T = TJSON[]> = {
|
|
67
|
+
kind: string;
|
|
68
|
+
apiVersion: string;
|
|
69
|
+
metadata: {
|
|
70
|
+
resourceVersion: string;
|
|
71
|
+
managedFields?: any;
|
|
72
|
+
};
|
|
73
|
+
items: T;
|
|
74
|
+
status?: {
|
|
75
|
+
allowed?: boolean;
|
|
76
|
+
reason?: string;
|
|
77
|
+
};
|
|
78
|
+
} & unknown;
|
|
79
|
+
export type TCRD = {
|
|
80
|
+
apiVersion: string;
|
|
81
|
+
metadata: {
|
|
82
|
+
resourceVersion: string;
|
|
83
|
+
managedFields?: any;
|
|
84
|
+
};
|
|
85
|
+
spec: {
|
|
86
|
+
names: {
|
|
87
|
+
kind: string;
|
|
88
|
+
singular: string;
|
|
89
|
+
plural: string;
|
|
90
|
+
};
|
|
91
|
+
versions: {
|
|
92
|
+
name: string;
|
|
93
|
+
additionalPrinterColumns: TAdditionalPrinterColumns;
|
|
94
|
+
}[];
|
|
95
|
+
group: string;
|
|
96
|
+
};
|
|
97
|
+
status: {
|
|
98
|
+
storedVersions: string[];
|
|
99
|
+
};
|
|
100
|
+
} & unknown;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export type TAdditionalPrinterColumns = {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
jsonPath: string;
|
|
5
|
+
}[];
|
|
6
|
+
export type TAdditionalPrinterColumnsUndefinedValues = {
|
|
7
|
+
key: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
export type TAdditionalPrinterColumnsTrimLengths = {
|
|
11
|
+
key: string;
|
|
12
|
+
value: number;
|
|
13
|
+
}[];
|
|
14
|
+
export type TAdditionalPrinterColumnsColWidths = {
|
|
15
|
+
key: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
export type TTableMappingData = {
|
|
19
|
+
pathToMatch: string;
|
|
20
|
+
pathToNavigate: string;
|
|
21
|
+
keysToParse: string[];
|
|
22
|
+
};
|
|
23
|
+
export type TTableMappingResource = {
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
kind: string;
|
|
26
|
+
spec: TTableMappingData;
|
|
27
|
+
} & unknown;
|
|
28
|
+
export type TTableMappingResponse = {
|
|
29
|
+
apiVersion: string;
|
|
30
|
+
items: TTableMappingResource[];
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const createContextFactory: <TContextValue extends Record<string, unknown>>() => {
|
|
3
|
+
Provider: ({ children, value }: React.PropsWithChildren<{
|
|
4
|
+
value: TContextValue;
|
|
5
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
useTypedContext: () => TContextValue;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './createContextFactory';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filterSelectOptions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getAllPathsFromObj';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OpenAPIV2 } from 'openapi-types';
|
|
2
|
+
import { TApiGroupList, TBuiltinResourceTypeList } from 'localTypes/k8s';
|
|
3
|
+
export declare const getGroupsByCategory: ({ swagger, apiGroupListData, builtinResourceTypesData, namespace, noncrds, }: {
|
|
4
|
+
swagger: OpenAPIV2.Document | undefined;
|
|
5
|
+
namespace?: string | undefined;
|
|
6
|
+
apiGroupListData?: {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
kind: string;
|
|
9
|
+
groups: {
|
|
10
|
+
name: string;
|
|
11
|
+
versions: {
|
|
12
|
+
groupVersion: string;
|
|
13
|
+
version: string;
|
|
14
|
+
}[];
|
|
15
|
+
preferredVersion: {
|
|
16
|
+
groupVersion: string;
|
|
17
|
+
version: string;
|
|
18
|
+
};
|
|
19
|
+
}[];
|
|
20
|
+
} | undefined;
|
|
21
|
+
builtinResourceTypesData?: TBuiltinResourceTypeList | undefined;
|
|
22
|
+
noncrds?: string[] | undefined;
|
|
23
|
+
}) => {
|
|
24
|
+
crdGroups?: {
|
|
25
|
+
name: string;
|
|
26
|
+
versions: {
|
|
27
|
+
groupVersion: string;
|
|
28
|
+
version: string;
|
|
29
|
+
}[];
|
|
30
|
+
preferredVersion: {
|
|
31
|
+
groupVersion: string;
|
|
32
|
+
version: string;
|
|
33
|
+
};
|
|
34
|
+
}[] | undefined;
|
|
35
|
+
nonCrdGroups?: {
|
|
36
|
+
name: string;
|
|
37
|
+
versions: {
|
|
38
|
+
groupVersion: string;
|
|
39
|
+
version: string;
|
|
40
|
+
}[];
|
|
41
|
+
preferredVersion: {
|
|
42
|
+
groupVersion: string;
|
|
43
|
+
version: string;
|
|
44
|
+
};
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
builtinGroups?: {
|
|
47
|
+
name: string;
|
|
48
|
+
singularName: string;
|
|
49
|
+
namespaced: boolean;
|
|
50
|
+
kind: string;
|
|
51
|
+
verbs: string[];
|
|
52
|
+
}[] | undefined;
|
|
53
|
+
apiExtensionVersion?: string | undefined;
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getGroupsByCategory';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPrefixSubarrays: (arr: (string | number)[]) => (string | number)[][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getPrefixSubArrays';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getStringByName';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DataNode } from 'antd/es/tree';
|
|
2
|
+
export type TGroupsToTreeDataProps = {
|
|
3
|
+
apis: string[];
|
|
4
|
+
highlightString: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const groupsToTreeData: (entries: TGroupsToTreeDataProps) => DataNode[];
|
|
7
|
+
export declare const getBuiltinTreeData: (apis: string[]) => DataNode[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './groupsToTreeData';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './prepareTemplate';
|
|
2
|
+
export * from './isFlatObject';
|
|
3
|
+
export * from './openApi';
|
|
4
|
+
export * from './overwriteMatchingKeys';
|
|
5
|
+
export * from './filterSelectOptions';
|
|
6
|
+
export * from './getStringByName';
|
|
7
|
+
export * from './parseForQuotaValues';
|
|
8
|
+
export * from './removeEmptyFormValues';
|
|
9
|
+
export * from './normalizeValuesForQuotas';
|
|
10
|
+
export * from './getAllPathsFromObj';
|
|
11
|
+
export * from './getPrefixSubArrays';
|
|
12
|
+
export * from './groupsToTreeData';
|
|
13
|
+
export * from './getGroupsByCategory';
|
|
14
|
+
export * from './prepareTableMappings';
|
|
15
|
+
export * from './parseColumnsOverrides';
|
|
16
|
+
export * from './createContextFactory';
|
|
17
|
+
export * from './prepareUrlsToFetchForDynamicRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './isFlatObject';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isFlatObject: (obj: Record<string, any>) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './nestedStringsArrayInclude';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const includesArray: (matrix: string[][] | undefined, target: (string | number)[]) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './normalizeValuesForQuotas';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { OpenAPIV2 } from 'openapi-types';
|
|
2
|
+
export declare const normalizeValuesForQuotas: (object: any, properties: OpenAPIV2.SchemaObject['properties']) => any;
|
|
3
|
+
export declare const normalizeValuesForQuotasToNumber: (object: any, properties: OpenAPIV2.SchemaObject['properties']) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { checkIfApiInstanceNamespaceScoped, checkIfBuiltInInstanceNamespaceScoped } from './openApi';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OpenAPIV2 } from 'openapi-types';
|
|
2
|
+
export declare const checkIfApiInstanceNamespaceScoped: ({ typeName, apiGroup, apiVersion, swagger, }: {
|
|
3
|
+
typeName: string;
|
|
4
|
+
apiGroup: string;
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
swagger: OpenAPIV2.Document;
|
|
7
|
+
}) => {
|
|
8
|
+
isClusterWide: boolean;
|
|
9
|
+
isNamespaceScoped: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const checkIfBuiltInInstanceNamespaceScoped: ({ typeName, swagger, }: {
|
|
12
|
+
typeName: string;
|
|
13
|
+
swagger: OpenAPIV2.Document;
|
|
14
|
+
}) => {
|
|
15
|
+
isClusterWide: boolean;
|
|
16
|
+
isNamespaceScoped: boolean;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './overwriteMatchingKeys';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from 'localTypes/richTable';
|
|
2
|
+
export declare const isWithAdditionalPrinterColumns: (x: any) => x is {
|
|
3
|
+
spec: {
|
|
4
|
+
additionalPrinterColumns: TAdditionalPrinterColumns;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const isWithAdditionalPrinterColumnsUndefinedValues: (x: any) => x is {
|
|
8
|
+
spec: {
|
|
9
|
+
additionalPrinterColumnsUndefinedValues: TAdditionalPrinterColumnsUndefinedValues;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const isWithAdditionalPrinterColumnsTrimLengths: (x: any) => x is {
|
|
13
|
+
spec: {
|
|
14
|
+
additionalPrinterColumnsTrimLengths: TAdditionalPrinterColumnsTrimLengths;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const isWithAdditionalPrinterColumnsColWidths: (x: any) => x is {
|
|
18
|
+
spec: {
|
|
19
|
+
additionalPrinterColumnsColWidths: TAdditionalPrinterColumnsColWidths;
|
|
20
|
+
};
|
|
21
|
+
};
|