@galaxy-io/filament-ui 0.8.0 → 0.9.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/api/queries/version.d.ts +6 -0
- package/dist/api/queries/version.js +11 -0
- package/dist/components/connections/constants.js +1 -1
- package/dist/components/pipelines/PipelineName.js +1 -1
- package/dist/components/runs/PipelineRunRecords.js +1 -1
- package/dist/components/runs/PipelineRunVolume.js +1 -1
- package/dist/gen/ingestion/v1/service_pb.d.ts +11 -0
- package/dist/gen/ingestion/v1/service_pb.js +5 -3
- package/dist/gen/ingestion/v1/version_pb.d.ts +37 -0
- package/dist/gen/ingestion/v1/version_pb.js +8 -0
- package/dist/layouts/main/MainLayoutSidebar.js +7 -1
- package/dist/pages/connections/components/card/ConnectionCard.js +2 -2
- package/dist/pages/connections/components/drawer/ConnectionDrawer.js +1 -1
- package/dist/pages/connections/components/drawer/ConnectionDrawerJsonSection.js +2 -10
- package/dist/pages/connections/hooks/useConnectionPipelines.js +1 -1
- package/dist/pages/observability/components/metrics/ObservabilityMetricsWidget.js +1 -1
- package/dist/pages/observability/components/runs/ObservabilityRunsPastTable.js +2 -2
- package/dist/pages/observability/components/runs/ObservabilityRunsUpcomingTable.js +1 -1
- package/dist/pages/observability/components/setup/constants.js +1 -1
- package/dist/pages/pipelines/PipelineHistoryPage.js +1 -1
- package/dist/pages/pipelines/canvas/panel/overview/PipelineCanvasPanelOverview.js +1 -1
- package/dist/pages/pipelines/canvas/panel/overview/node/PipelineCanvasPanelNodeDetail.js +1 -1
- package/dist/pages/pipelines/canvas/routes/PipelineCanvasRoutesDraftRow.js +1 -1
- package/dist/pages/pipelines/components/header/PipelinePageHeading.js +1 -1
- package/dist/pages/pipelines/components/header/PipelinePageScheduleBanner.js +1 -1
- package/dist/pages/pipelines/components/table/PipelinesTable.js +1 -1
- package/dist/pages/pipelines/components/table/columns/PipelinesTableColumnRecentRuns.js +1 -1
- package/dist/pages/pipelines/components/table/columns/PipelinesTableColumnRecentRunsTooltip.js +2 -2
- package/dist/pages/pipelines/history/PipelineHistoryRunContinuousSummary.js +1 -1
- package/dist/pages/pipelines/history/PipelineHistoryRunInfo.js +2 -3
- package/dist/pages/pipelines/history/components/PipelineHistoryRunInfoConnectionColumn.js +1 -1
- package/dist/utils/format.d.ts +1 -0
- package/dist/utils/format.js +2 -1
- package/package.json +3 -3
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@connectrpc/connect-query';
|
|
2
|
+
import { IngestionService } from '../../gen/ingestion/v1/service_pb';
|
|
3
|
+
import { GetVersionResponse } from '../../gen/ingestion/v1/version_pb';
|
|
4
|
+
export declare const useGetVersionQuery: ({ options, }?: {
|
|
5
|
+
options?: UseQueryOptions<typeof IngestionService.method.getVersion.output, GetVersionResponse>;
|
|
6
|
+
}) => import('@tanstack/react-query').UseQueryResult<GetVersionResponse, import('@connectrpc/connect').ConnectError>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IngestionService } from "../../gen/ingestion/v1/service_pb.js";
|
|
2
|
+
import { useQuery } from "@connectrpc/connect-query";
|
|
3
|
+
//#region src/api/queries/version.ts
|
|
4
|
+
var useGetVersionQuery = ({ options = {} } = {}) => {
|
|
5
|
+
return useQuery(IngestionService.method.getVersion, {}, {
|
|
6
|
+
staleTime: Number.POSITIVE_INFINITY,
|
|
7
|
+
...options
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { useGetVersionQuery };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FilamentPath } from "../../module/paths.js";
|
|
2
2
|
import { ConnectorKind } from "../../gen/ingestion/v1/common_pb.js";
|
|
3
3
|
import { ConnectorTileSize } from "./types.js";
|
|
4
|
+
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
4
5
|
import { ChipVariant } from "@galaxy-io/dls/chips/Chip";
|
|
5
6
|
import { SkeletonSize } from "@galaxy-io/dls/feedback/Skeleton";
|
|
6
7
|
import { TextSize } from "@galaxy-io/dls/text/Text";
|
|
7
|
-
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
8
8
|
//#region src/components/connections/constants.ts
|
|
9
9
|
var CONNECTOR_KIND_TO_LABEL_MAP = {
|
|
10
10
|
[ConnectorKind.UNSPECIFIED]: EMPTY_VALUE,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { formatTimestamp } from "../../utils/format.js";
|
|
1
2
|
import { PIPELINE_UNTITLED_NAME } from "./constants.js";
|
|
2
3
|
import { formatPipelineName } from "./utils.js";
|
|
3
4
|
import { createGetPipelineInput, useGetPipelineQuery } from "../../api/queries/pipelines.js";
|
|
4
|
-
import { formatTimestamp } from "../../utils/format.js";
|
|
5
5
|
import { TrashIcon } from "@phosphor-icons/react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import Flex, { AlignItems } from "@galaxy-io/dls/layout/Flex";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
3
2
|
import { EMPTY_VALUE, formatNumber } from "@galaxy-io/dls/utils/format";
|
|
3
|
+
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
4
4
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
5
5
|
//#region src/components/runs/PipelineRunRecords.tsx
|
|
6
6
|
var PipelineRunRecords = ({ run }) => /* @__PURE__ */ jsx(Text, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
3
2
|
import { EMPTY_VALUE, formatBytes } from "@galaxy-io/dls/utils/format";
|
|
3
|
+
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
4
4
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
5
5
|
//#region src/components/runs/PipelineRunVolume.tsx
|
|
6
6
|
var PipelineRunVolume = ({ run }) => /* @__PURE__ */ jsx(Text, {
|
|
@@ -6,6 +6,7 @@ import { CreatePipelineNotifierRequestSchema, CreatePipelineNotifierResponseSche
|
|
|
6
6
|
import { CreatePipelineRequestSchema, CreatePipelineResponseSchema, CreatePipelineScheduleRequestSchema, CreatePipelineScheduleResponseSchema, CreatePipelineVersionRequestSchema, CreatePipelineVersionResponseSchema, DeletePipelineRequestSchema, DeletePipelineResponseSchema, GetPipelineRequestSchema, GetPipelineResponseSchema, GetPipelineVersionRequestSchema, GetPipelineVersionResponseSchema, ListPipelinesRequestSchema, ListPipelinesResponseSchema, ListPipelineVersionsRequestSchema, ListPipelineVersionsResponseSchema, UpdatePipelineRequestSchema, UpdatePipelineResponseSchema, UpdatePipelineScheduleRequestSchema, UpdatePipelineScheduleResponseSchema } from './pipelines_pb';
|
|
7
7
|
import { GetRunRequestSchema, GetRunResponseSchema, ListRunsRequestSchema, ListRunsResponseSchema, RunPipelineRequestSchema, RunPipelineResponseSchema, SignalRunRequestSchema, SignalRunResponseSchema, TailRunRequestSchema, TailRunResponseSchema } from './runs_pb';
|
|
8
8
|
import { ListTransformFunctionsRequestSchema, ListTransformFunctionsResponseSchema, ValidateTransformRequestSchema, ValidateTransformResponseSchema } from './transformations_pb';
|
|
9
|
+
import { GetVersionRequestSchema, GetVersionResponseSchema } from './version_pb';
|
|
9
10
|
/**
|
|
10
11
|
* Describes the file ingestion/v1/service.proto.
|
|
11
12
|
*/
|
|
@@ -294,4 +295,14 @@ export declare const IngestionService: GenService<{
|
|
|
294
295
|
input: typeof TailRunRequestSchema;
|
|
295
296
|
output: typeof TailRunResponseSchema;
|
|
296
297
|
};
|
|
298
|
+
/**
|
|
299
|
+
* The build version stamped into the server binary.
|
|
300
|
+
*
|
|
301
|
+
* @generated from rpc ingestion.v1.IngestionService.GetVersion
|
|
302
|
+
*/
|
|
303
|
+
getVersion: {
|
|
304
|
+
methodKind: "unary";
|
|
305
|
+
input: typeof GetVersionRequestSchema;
|
|
306
|
+
output: typeof GetVersionResponseSchema;
|
|
307
|
+
};
|
|
297
308
|
}>;
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { file_ingestion_v1_runs } from "./runs_pb.js";
|
|
2
|
-
import { file_ingestion_v1_connections } from "./connections_pb.js";
|
|
3
2
|
import { file_ingestion_v1_connectors } from "./connectors_pb.js";
|
|
4
3
|
import { file_ingestion_v1_pipelines } from "./pipelines_pb.js";
|
|
5
4
|
import { file_ingestion_v1_capabilities } from "./capabilities_pb.js";
|
|
5
|
+
import { file_ingestion_v1_connections } from "./connections_pb.js";
|
|
6
6
|
import { file_ingestion_v1_notifiers } from "./notifiers_pb.js";
|
|
7
7
|
import { file_ingestion_v1_transformations } from "./transformations_pb.js";
|
|
8
|
+
import { file_ingestion_v1_version } from "./version_pb.js";
|
|
8
9
|
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
9
10
|
//#region src/gen/ingestion/v1/service_pb.ts
|
|
10
11
|
/**
|
|
11
12
|
* Describes the file ingestion/v1/service.proto.
|
|
12
13
|
*/
|
|
13
|
-
var file_ingestion_v1_service = /*@__PURE__*/ fileDesc("
|
|
14
|
+
var file_ingestion_v1_service = /*@__PURE__*/ fileDesc("Chppbmdlc3Rpb24vdjEvc2VydmljZS5wcm90bxIMaW5nZXN0aW9uLnYxMqoZChBJbmdlc3Rpb25TZXJ2aWNlElsKDkxpc3RDb25uZWN0b3JzEiMuaW5nZXN0aW9uLnYxLkxpc3RDb25uZWN0b3JzUmVxdWVzdBokLmluZ2VzdGlvbi52MS5MaXN0Q29ubmVjdG9yc1Jlc3BvbnNlElUKDEdldENvbm5lY3RvchIhLmluZ2VzdGlvbi52MS5HZXRDb25uZWN0b3JSZXF1ZXN0GiIuaW5nZXN0aW9uLnYxLkdldENvbm5lY3RvclJlc3BvbnNlElsKDlZhbGlkYXRlQ29uZmlnEiMuaW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2VzdGlvbi52MS5MaXN0UGlwZWxpbmVOb3RpZmllcnNSZXF1ZXN0GisuaW5nZXN0aW9uLnYxLkxpc3RQaXBlbGluZU5vdGlmaWVyc1Jlc3BvbnNlEnMKFkRlbGV0ZVBpcGVsaW5lTm90aWZpZXISKy5pbmdlc3Rpb24udjEuRGVsZXRlUGlwZWxpbmVOb3RpZmllclJlcXVlc3QaLC5pbmdlc3Rpb24udjEuRGVsZXRlUGlwZWxpbmVOb3RpZmllclJlc3BvbnNlElIKC1J1blBpcGVsaW5lEiAuaW5nZXN0aW9uLnYxLlJ1blBpcGVsaW5lUmVxdWVzdBohLmluZ2VzdGlvbi52MS5SdW5QaXBlbGluZVJlc3BvbnNlEkkKCExpc3RSdW5zEh0uaW5nZXN0aW9uLnYxLkxpc3RSdW5zUmVxdWVzdBoeLmluZ2VzdGlvbi52MS5MaXN0UnVuc1Jlc3BvbnNlEkMKBkdldFJ1bhIbLmluZ2VzdGlvbi52MS5HZXRSdW5SZXF1ZXN0GhwuaW5nZXN0aW9uLnYxLkdldFJ1blJlc3BvbnNlEkwKCVNpZ25hbFJ1bhIeLmluZ2VzdGlvbi52MS5TaWduYWxSdW5SZXF1ZXN0Gh8uaW5nZXN0aW9uLnYxLlNpZ25hbFJ1blJlc3BvbnNlEkgKB1RhaWxSdW4SHC5pbmdlc3Rpb24udjEuVGFpbFJ1blJlcXVlc3QaHS5pbmdlc3Rpb24udjEuVGFpbFJ1blJlc3BvbnNlMAESTwoKR2V0VmVyc2lvbhIfLmluZ2VzdGlvbi52MS5HZXRWZXJzaW9uUmVxdWVzdBogLmluZ2VzdGlvbi52MS5HZXRWZXJzaW9uUmVzcG9uc2ViBnByb3RvMw", [
|
|
14
15
|
file_ingestion_v1_capabilities,
|
|
15
16
|
file_ingestion_v1_connections,
|
|
16
17
|
file_ingestion_v1_connectors,
|
|
17
18
|
file_ingestion_v1_notifiers,
|
|
18
19
|
file_ingestion_v1_pipelines,
|
|
19
20
|
file_ingestion_v1_runs,
|
|
20
|
-
file_ingestion_v1_transformations
|
|
21
|
+
file_ingestion_v1_transformations,
|
|
22
|
+
file_ingestion_v1_version
|
|
21
23
|
]);
|
|
22
24
|
/**
|
|
23
25
|
* IngestionService is the engine-as-a-service surface the pipeline UI drives.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2';
|
|
2
|
+
import { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ingestion/v1/version.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_ingestion_v1_version: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message ingestion.v1.GetVersionRequest
|
|
9
|
+
*/
|
|
10
|
+
export type GetVersionRequest = Message<"ingestion.v1.GetVersionRequest"> & {};
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message ingestion.v1.GetVersionRequest.
|
|
13
|
+
* Use `create(GetVersionRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export declare const GetVersionRequestSchema: GenMessage<GetVersionRequest>;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from message ingestion.v1.GetVersionResponse
|
|
18
|
+
*/
|
|
19
|
+
export type GetVersionResponse = Message<"ingestion.v1.GetVersionResponse"> & {
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string version = 1;
|
|
22
|
+
*/
|
|
23
|
+
version: string;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string commit = 2;
|
|
26
|
+
*/
|
|
27
|
+
commit: string;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string date = 3;
|
|
30
|
+
*/
|
|
31
|
+
date: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message ingestion.v1.GetVersionResponse.
|
|
35
|
+
* Use `create(GetVersionResponseSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const GetVersionResponseSchema: GenMessage<GetVersionResponse>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { fileDesc } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
//#region src/gen/ingestion/v1/version_pb.ts
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file ingestion/v1/version.proto.
|
|
5
|
+
*/
|
|
6
|
+
var file_ingestion_v1_version = /*@__PURE__*/ fileDesc("Chppbmdlc3Rpb24vdjEvdmVyc2lvbi5wcm90bxIMaW5nZXN0aW9uLnYxIhMKEUdldFZlcnNpb25SZXF1ZXN0IkMKEkdldFZlcnNpb25SZXNwb25zZRIPCgd2ZXJzaW9uGAEgASgJEg4KBmNvbW1pdBgCIAEoCRIMCgRkYXRlGAMgASgJYgZwcm90bzM");
|
|
7
|
+
//#endregion
|
|
8
|
+
export { file_ingestion_v1_version };
|
|
@@ -3,6 +3,8 @@ import { useFilamentMatchRoute } from "../../module/hooks.js";
|
|
|
3
3
|
import RouterLink from "../../components/RouterLink.js";
|
|
4
4
|
import { GITHUB_REPO_URL } from "../../constants.js";
|
|
5
5
|
import { FILAMENT_NAV_ITEMS, FILAMENT_NAV_ITEM_TO_ICON_MAP, FILAMENT_NAV_ITEM_TO_LABEL_MAP, FILAMENT_NAV_ITEM_TO_PATH_MAP } from "../../module/nav.js";
|
|
6
|
+
import { useGetVersionQuery } from "../../api/queries/version.js";
|
|
7
|
+
import { formatServerVersion } from "../../utils/format.js";
|
|
6
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
9
|
import { AppFrameToggle } from "@galaxy-io/dls/layout/AppFrame";
|
|
8
10
|
import PoweredBy, { PoweredByWordmark } from "@galaxy-io/dls/brand/PoweredBy";
|
|
@@ -12,6 +14,8 @@ import { t } from "@galaxy-io/dls/theme/tokens/t";
|
|
|
12
14
|
//#region src/layouts/main/MainLayoutSidebar.tsx
|
|
13
15
|
var MainLayoutSidebar = ({ footer }) => {
|
|
14
16
|
const matchRoute = useFilamentMatchRoute();
|
|
17
|
+
const { data: versionData } = useGetVersionQuery();
|
|
18
|
+
const version = versionData?.version ? formatServerVersion(versionData.version) : void 0;
|
|
15
19
|
const activeItem = FILAMENT_NAV_ITEMS.find((item) => matchRoute(FILAMENT_NAV_ITEM_TO_PATH_MAP[item], { fuzzy: true }));
|
|
16
20
|
return /* @__PURE__ */ jsx(SidebarNav, {
|
|
17
21
|
ariaLabel: "Filament",
|
|
@@ -21,9 +25,11 @@ var MainLayoutSidebar = ({ footer }) => {
|
|
|
21
25
|
justifyContent: JustifyContent.SPACE_BETWEEN,
|
|
22
26
|
height: t.size.control.xLarge,
|
|
23
27
|
children: [/* @__PURE__ */ jsx(PoweredBy, {
|
|
28
|
+
label: null,
|
|
24
29
|
wordmark: PoweredByWordmark.FILAMENT,
|
|
25
30
|
href: GITHUB_REPO_URL,
|
|
26
|
-
ariaLabel: "Filament on GitHub"
|
|
31
|
+
ariaLabel: "Filament on GitHub",
|
|
32
|
+
trailing: version
|
|
27
33
|
}), /* @__PURE__ */ jsx(AppFrameToggle, {})]
|
|
28
34
|
})] }),
|
|
29
35
|
children: FILAMENT_NAV_ITEMS.map((item) => /* @__PURE__ */ jsx(NavItem, {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { formatVersion } from "../../../../utils/format.js";
|
|
1
2
|
import ConnectorTile from "../../../../components/connections/ConnectorTile.js";
|
|
2
3
|
import ConnectionKindChip from "../../../../components/connections/ConnectionKindChip.js";
|
|
3
|
-
import { formatVersion } from "../../../../utils/format.js";
|
|
4
4
|
import { FlowArrowIcon } from "@phosphor-icons/react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import Flex, { AlignItems, JustifyContent } from "@galaxy-io/dls/layout/Flex";
|
|
7
|
+
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
7
8
|
import Chip, { ChipSize, ChipVariant } from "@galaxy-io/dls/chips/Chip";
|
|
8
9
|
import Text, { TextSize, TextVariant, TextWeight } from "@galaxy-io/dls/text/Text";
|
|
9
|
-
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
10
10
|
import Widget from "@galaxy-io/dls/widget/Widget";
|
|
11
11
|
import FlexItem from "@galaxy-io/dls/layout/FlexItem";
|
|
12
12
|
import pluralize from "pluralize";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IS_DEBUG } from "../../../../constants.js";
|
|
2
|
+
import { formatVersion } from "../../../../utils/format.js";
|
|
2
3
|
import ConnectionKindChip from "../../../../components/connections/ConnectionKindChip.js";
|
|
3
4
|
import { isNotFoundError } from "../../../../utils/errors.js";
|
|
4
5
|
import { createGetConnectionInput, useGetConnectionQuery } from "../../../../api/queries/connections.js";
|
|
@@ -9,7 +10,6 @@ import KeyValueListRow from "../../../../components/KeyValueListRow.js";
|
|
|
9
10
|
import ConnectionDrawerActions from "./ConnectionDrawerActions.js";
|
|
10
11
|
import ConnectionDrawerHeader from "./ConnectionDrawerHeader.js";
|
|
11
12
|
import ConnectionDrawerJsonSection from "./ConnectionDrawerJsonSection.js";
|
|
12
|
-
import { formatVersion } from "../../../../utils/format.js";
|
|
13
13
|
import ConnectionDrawerPipelines from "./ConnectionDrawerPipelines.js";
|
|
14
14
|
import { KeyIcon, LinkBreakIcon, SlidersIcon } from "@phosphor-icons/react";
|
|
15
15
|
import Button, { ButtonSize, ButtonVariant } from "@galaxy-io/dls/buttons/Button";
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import ConnectionDrawerSection from "./ConnectionDrawerSection.js";
|
|
2
|
-
import { ButtonSize, ButtonVariant } from "@galaxy-io/dls/buttons/Button";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import CopyButton from "@galaxy-io/dls/buttons/CopyButton";
|
|
5
3
|
import JsonViewer, { JsonViewerSize } from "@galaxy-io/dls/json/JsonViewer";
|
|
6
4
|
//#region src/pages/connections/components/drawer/ConnectionDrawerJsonSection.tsx
|
|
7
|
-
var JSON_INDENT = 2;
|
|
8
5
|
var ConnectionDrawerJsonSection = ({ header, icon, data, emptyHeader, emptyMessage }) => {
|
|
9
6
|
const document = data ?? {};
|
|
10
7
|
return /* @__PURE__ */ jsx(ConnectionDrawerSection, {
|
|
@@ -13,16 +10,11 @@ var ConnectionDrawerJsonSection = ({ header, icon, data, emptyHeader, emptyMessa
|
|
|
13
10
|
count: Object.keys(document).length,
|
|
14
11
|
emptyHeader,
|
|
15
12
|
emptyMessage,
|
|
16
|
-
actions: /* @__PURE__ */ jsx(CopyButton, {
|
|
17
|
-
value: JSON.stringify(document, null, JSON_INDENT),
|
|
18
|
-
ariaLabel: `Copy ${header.toLowerCase()}`,
|
|
19
|
-
variant: ButtonVariant.TERTIARY,
|
|
20
|
-
size: ButtonSize.SMALL
|
|
21
|
-
}),
|
|
22
13
|
children: /* @__PURE__ */ jsx(JsonViewer, {
|
|
23
14
|
ariaLabel: header,
|
|
24
15
|
data: document,
|
|
25
|
-
size: JsonViewerSize.SMALL
|
|
16
|
+
size: JsonViewerSize.SMALL,
|
|
17
|
+
canCopy: true
|
|
26
18
|
})
|
|
27
19
|
});
|
|
28
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CONNECTION_PIPELINES_PAGE_SIZE } from "../constants.js";
|
|
2
1
|
import { ListPipelinesRequestSchema } from "../../../gen/ingestion/v1/pipelines_pb.js";
|
|
2
|
+
import { CONNECTION_PIPELINES_PAGE_SIZE } from "../constants.js";
|
|
3
3
|
import { useListPipelinesQuery } from "../../../api/queries/pipelines.js";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { create } from "@bufbuild/protobuf";
|
|
@@ -16,8 +16,8 @@ import { useMemo } from "react";
|
|
|
16
16
|
import { create } from "@bufbuild/protobuf";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
import Flex, { AlignItems, FlexDirection, JustifyContent } from "@galaxy-io/dls/layout/Flex";
|
|
19
|
-
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
20
19
|
import { formatBytes, formatNumber } from "@galaxy-io/dls/utils/format";
|
|
20
|
+
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
21
21
|
import Icon, { IconVariant } from "@galaxy-io/dls/icons/Icon";
|
|
22
22
|
import BigNumber from "@galaxy-io/dls/charts/BigNumber";
|
|
23
23
|
import BigNumberGroup, { BigNumberGroupVariant } from "@galaxy-io/dls/charts/BigNumberGroup";
|
|
@@ -3,8 +3,8 @@ import { RunStatus } from "../../../../gen/ingestion/v1/runs_pb.js";
|
|
|
3
3
|
import { ObservabilityRunsView } from "../../types.js";
|
|
4
4
|
import { OBSERVABILITY_RUNS_EMPTY_STATE_TEXT_MAP } from "./constants.js";
|
|
5
5
|
import { useFilamentNavigate, useObservabilitySearch } from "../../../../module/hooks.js";
|
|
6
|
-
import { useListRunsInfiniteQuery } from "../../../../api/queries/runs.js";
|
|
7
6
|
import { formatTimestamp } from "../../../../utils/format.js";
|
|
7
|
+
import { useListRunsInfiniteQuery } from "../../../../api/queries/runs.js";
|
|
8
8
|
import { useObservabilityBucketStart } from "../../hooks/useObservabilityBucketStart.js";
|
|
9
9
|
import { createRunsWindowInput } from "./utils.js";
|
|
10
10
|
import PipelineRunDuration from "../../../../components/runs/PipelineRunDuration.js";
|
|
@@ -13,8 +13,8 @@ import PipelineRunVolume from "../../../../components/runs/PipelineRunVolume.js"
|
|
|
13
13
|
import { OBSERVABILITY_RUNS_TABLE_BASE_COLUMNS } from "./columns/constants.js";
|
|
14
14
|
import { useMemo } from "react";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
17
16
|
import { EMPTY_VALUE, formatBytes, formatDuration } from "@galaxy-io/dls/utils/format";
|
|
17
|
+
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
18
18
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
19
19
|
import EmptyLayout, { EmptyLayoutSize } from "@galaxy-io/dls/layout/EmptyLayout";
|
|
20
20
|
import InfiniteTable from "@galaxy-io/dls/table/InfiniteTable";
|
|
@@ -2,8 +2,8 @@ import { FilamentPath } from "../../../../module/paths.js";
|
|
|
2
2
|
import { ObservabilityRunsView } from "../../types.js";
|
|
3
3
|
import { OBSERVABILITY_RUNS_EMPTY_STATE_TEXT_MAP, OBSERVABILITY_RUNS_SCHEDULED_INPUT } from "./constants.js";
|
|
4
4
|
import { useFilamentNavigate } from "../../../../module/hooks.js";
|
|
5
|
-
import { useListRunsQuery } from "../../../../api/queries/runs.js";
|
|
6
5
|
import { formatTimestamp } from "../../../../utils/format.js";
|
|
6
|
+
import { useListRunsQuery } from "../../../../api/queries/runs.js";
|
|
7
7
|
import { OBSERVABILITY_RUNS_TABLE_BASE_COLUMNS } from "./columns/constants.js";
|
|
8
8
|
import { useMemo } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConnectorKind } from "../../../../gen/ingestion/v1/common_pb.js";
|
|
2
2
|
import { Flow } from "../../../../module/types.js";
|
|
3
|
-
import { ListConnectionsRequestSchema } from "../../../../gen/ingestion/v1/connections_pb.js";
|
|
4
3
|
import { ListPipelinesRequestSchema } from "../../../../gen/ingestion/v1/pipelines_pb.js";
|
|
4
|
+
import { ListConnectionsRequestSchema } from "../../../../gen/ingestion/v1/connections_pb.js";
|
|
5
5
|
import { PIPELINE_CREATE_TITLE } from "../../../../components/pipelines/constants.js";
|
|
6
6
|
import { ObservabilitySetupStep, ObservabilitySetupStepStatus } from "./types.js";
|
|
7
7
|
import { CheckCircleIcon, CircleIcon } from "@phosphor-icons/react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RunStatus } from "../../gen/ingestion/v1/runs_pb.js";
|
|
2
2
|
import { useFilamentSearchUpdate, usePipelineHistorySearch, usePipelineParams } from "../../module/hooks.js";
|
|
3
|
+
import { formatTimestamp, formatVersion } from "../../utils/format.js";
|
|
3
4
|
import { useSuspenseListRunsInfiniteQuery } from "../../api/queries/runs.js";
|
|
4
5
|
import { createGetPipelineInput, useSuspenseGetPipelineQuery } from "../../api/queries/pipelines.js";
|
|
5
|
-
import { formatTimestamp, formatVersion } from "../../utils/format.js";
|
|
6
6
|
import PipelineRunDuration from "../../components/runs/PipelineRunDuration.js";
|
|
7
7
|
import PipelineRunRecords from "../../components/runs/PipelineRunRecords.js";
|
|
8
8
|
import PipelineRunVolume from "../../components/runs/PipelineRunVolume.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PipelineCanvasNodeType } from "../../types.js";
|
|
2
2
|
import { usePipelineParams } from "../../../../../module/hooks.js";
|
|
3
|
+
import { formatVersion } from "../../../../../utils/format.js";
|
|
3
4
|
import ConnectorTile from "../../../../../components/connections/ConnectorTile.js";
|
|
4
5
|
import KeyValueList from "../../../../../components/KeyValueList.js";
|
|
5
6
|
import KeyValueListRow from "../../../../../components/KeyValueListRow.js";
|
|
6
7
|
import { formatPipelineName } from "../../../../../components/pipelines/utils.js";
|
|
7
8
|
import { createGetPipelineInput, useSuspenseGetPipelineQuery } from "../../../../../api/queries/pipelines.js";
|
|
8
|
-
import { formatVersion } from "../../../../../utils/format.js";
|
|
9
9
|
import { PIPELINE_CANVAS_NODE_TYPE_TO_CONNECTOR_KIND_MAP } from "../../constants.js";
|
|
10
10
|
import { isConnectionNode } from "../../utils.js";
|
|
11
11
|
import { usePipelineCanvasState } from "../../providers/canvas/PipelineCanvasProvider.js";
|
|
@@ -17,10 +17,10 @@ import PipelineCanvasPanelResourceSection from "../resource/PipelineCanvasPanelR
|
|
|
17
17
|
import PipelineCanvasPanelHeader from "../../PipelineCanvasPanelHeader.js";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
import Flex, { FlexDirection } from "@galaxy-io/dls/layout/Flex";
|
|
20
|
+
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
20
21
|
import { BoxVariant } from "@galaxy-io/dls/layout/Box";
|
|
21
22
|
import { ChipSize } from "@galaxy-io/dls/chips/Chip";
|
|
22
23
|
import Text, { TextSize } from "@galaxy-io/dls/text/Text";
|
|
23
|
-
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
24
24
|
import { InputVariant } from "@galaxy-io/dls/inputs/Input";
|
|
25
25
|
import FlexItem from "@galaxy-io/dls/layout/FlexItem";
|
|
26
26
|
import ScrollArea from "@galaxy-io/dls/layout/ScrollArea";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConnectorKind, ReadMode, WriteMode } from "../../../../gen/ingestion/v1/common_pb.js";
|
|
2
2
|
import { getEnumSelectValue, mapOptionIdToEnum } from "../../../../utils/select.js";
|
|
3
|
-
import { ConnectorTileSize } from "../../../../components/connections/types.js";
|
|
4
3
|
import { ResourceCursorConfigSchema } from "../../../../gen/ingestion/v1/pipelines_pb.js";
|
|
4
|
+
import { ConnectorTileSize } from "../../../../components/connections/types.js";
|
|
5
5
|
import ConnectorTile from "../../../../components/connections/ConnectorTile.js";
|
|
6
6
|
import { getCompatibleWriteModes, getCursorSelectOptions, getDefaultReadMode, getReadModeSelectOptions, getWriteModeSelectOptions } from "../../components/resource/utils.js";
|
|
7
7
|
import { PIPELINE_CANVAS_NODE_SINK_HANDLE_ID } from "../constants.js";
|
|
@@ -2,12 +2,12 @@ import { FilamentPath, createFilamentHref } from "../../../../module/paths.js";
|
|
|
2
2
|
import { usePipelineParams } from "../../../../module/hooks.js";
|
|
3
3
|
import RouterLink from "../../../../components/RouterLink.js";
|
|
4
4
|
import { UpdatePipelineRequestSchema } from "../../../../gen/ingestion/v1/pipelines_pb.js";
|
|
5
|
+
import { formatVersion } from "../../../../utils/format.js";
|
|
5
6
|
import { getErrorMessage } from "../../../../utils/errors.js";
|
|
6
7
|
import { getNameError, isNameValid } from "../../../../utils/validation.js";
|
|
7
8
|
import PipelineFlow from "../../../../components/pipelines/PipelineFlow.js";
|
|
8
9
|
import { PIPELINE_UNTITLED_NAME } from "../../../../components/pipelines/constants.js";
|
|
9
10
|
import { createGetPipelineInput, useSuspenseGetPipelineQuery, useUpdatePipelineMutation } from "../../../../api/queries/pipelines.js";
|
|
10
|
-
import { formatVersion } from "../../../../utils/format.js";
|
|
11
11
|
import { mapCanvasNodesToFlowEndpoints } from "../../canvas/utils.js";
|
|
12
12
|
import { usePipelineCanvasState } from "../../canvas/providers/canvas/PipelineCanvasProvider.js";
|
|
13
13
|
import { usePipelineCanvasNavigate } from "../../hooks/usePipelineCanvasNavigate.js";
|
|
@@ -8,8 +8,8 @@ import { formatPipelineScheduleSummary } from "../schedule/utils.js";
|
|
|
8
8
|
import { CalendarIcon } from "@phosphor-icons/react";
|
|
9
9
|
import Button, { ButtonSize, ButtonVariant } from "@galaxy-io/dls/buttons/Button";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
|
-
import Alert from "@galaxy-io/dls/feedback/Alert";
|
|
12
11
|
import { formatRelativeTime } from "@galaxy-io/dls/utils/format";
|
|
12
|
+
import Alert from "@galaxy-io/dls/feedback/Alert";
|
|
13
13
|
//#region src/pages/pipelines/components/header/PipelinePageScheduleBanner.tsx
|
|
14
14
|
var PipelinePageScheduleBanner = () => {
|
|
15
15
|
const { id } = usePipelineParams();
|
|
@@ -17,10 +17,10 @@ import { create } from "@bufbuild/protobuf";
|
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
import { useLocalStorage } from "@galaxy-io/dls/hooks/useLocalStorage";
|
|
19
19
|
import Flex, { AlignItems, FlexDirection } from "@galaxy-io/dls/layout/Flex";
|
|
20
|
+
import { EMPTY_VALUE, formatNumber, formatRelativeTime } from "@galaxy-io/dls/utils/format";
|
|
20
21
|
import { ToastVariant } from "@galaxy-io/dls/toast/Toast";
|
|
21
22
|
import { useToast } from "@galaxy-io/dls/toast/useToast";
|
|
22
23
|
import Text, { TextSize, TextVariant } from "@galaxy-io/dls/text/Text";
|
|
23
|
-
import { EMPTY_VALUE, formatNumber, formatRelativeTime } from "@galaxy-io/dls/utils/format";
|
|
24
24
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
25
25
|
import EmptyLayout from "@galaxy-io/dls/layout/EmptyLayout";
|
|
26
26
|
import InfiniteTable from "@galaxy-io/dls/table/InfiniteTable";
|
|
@@ -4,9 +4,9 @@ import { ListRunsRequestSchema, RunStatus } from "../../../../../gen/ingestion/v
|
|
|
4
4
|
import { PIPELINE_RUN_EXECUTED_STATUSES, PIPELINE_RUN_STATUS_TO_LABEL_MAP } from "../../../../../components/runs/constants.js";
|
|
5
5
|
import PipelineRunStatusSwatch from "../../../../../components/runs/PipelineRunStatusSwatch.js";
|
|
6
6
|
import { useFilamentNavigate } from "../../../../../module/hooks.js";
|
|
7
|
+
import { formatTimestamp } from "../../../../../utils/format.js";
|
|
7
8
|
import { getPipelineNextFireAt } from "../../../../../components/pipelines/utils.js";
|
|
8
9
|
import { useListRunsQuery } from "../../../../../api/queries/runs.js";
|
|
9
|
-
import { formatTimestamp } from "../../../../../utils/format.js";
|
|
10
10
|
import PipelinesTableColumnRecentRunsTooltip from "./PipelinesTableColumnRecentRunsTooltip.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { useMemo } from "react";
|
package/dist/pages/pipelines/components/table/columns/PipelinesTableColumnRecentRunsTooltip.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { formatRunDuration } from "../../../../../utils/runs.js";
|
|
2
1
|
import { formatTimestamp } from "../../../../../utils/format.js";
|
|
2
|
+
import { formatRunDuration } from "../../../../../utils/runs.js";
|
|
3
3
|
import { getPipelineHistoryRunTimestamp } from "../../../history/utils.js";
|
|
4
4
|
import { Fragment } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import Flex, { AlignItems, FlexDirection } from "@galaxy-io/dls/layout/Flex";
|
|
7
|
+
import { formatBytes, formatNumber } from "@galaxy-io/dls/utils/format";
|
|
7
8
|
import Box from "@galaxy-io/dls/layout/Box";
|
|
8
9
|
import Text, { TextSize, TextVariant, TextWeight } from "@galaxy-io/dls/text/Text";
|
|
9
|
-
import { formatBytes, formatNumber } from "@galaxy-io/dls/utils/format";
|
|
10
10
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
11
11
|
import Grid, { GridAlignItems } from "@galaxy-io/dls/layout/Grid";
|
|
12
12
|
//#region src/pages/pipelines/components/table/columns/PipelinesTableColumnRecentRunsTooltip.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { formatTimestamp } from "../../../utils/format.js";
|
|
1
2
|
import KeyValueList from "../../../components/KeyValueList.js";
|
|
2
3
|
import KeyValueListRow from "../../../components/KeyValueListRow.js";
|
|
3
|
-
import { formatTimestamp } from "../../../utils/format.js";
|
|
4
4
|
import PipelineRunRecords from "../../../components/runs/PipelineRunRecords.js";
|
|
5
5
|
import PipelineRunVolume from "../../../components/runs/PipelineRunVolume.js";
|
|
6
6
|
import PipelineRunStatus from "../../../components/runs/PipelineRunStatus.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ExecutionMode } from "../../../gen/ingestion/v1/common_pb.js";
|
|
2
2
|
import { GetRunRequestSchema, RunStatus } from "../../../gen/ingestion/v1/runs_pb.js";
|
|
3
|
-
import { useGetRunQuery } from "../../../api/queries/runs.js";
|
|
4
3
|
import { formatTimestamp } from "../../../utils/format.js";
|
|
4
|
+
import { useGetRunQuery } from "../../../api/queries/runs.js";
|
|
5
5
|
import PipelineHistoryRunInfoConnectionColumn from "./components/PipelineHistoryRunInfoConnectionColumn.js";
|
|
6
6
|
import PipelineHistoryRunContinuousSummary from "./PipelineHistoryRunContinuousSummary.js";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { create } from "@bufbuild/protobuf";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import Flex, { AlignItems } from "@galaxy-io/dls/layout/Flex";
|
|
11
|
+
import { formatBytes, formatNumber } from "@galaxy-io/dls/utils/format";
|
|
11
12
|
import Box, { BoxVariant } from "@galaxy-io/dls/layout/Box";
|
|
12
13
|
import Skeleton from "@galaxy-io/dls/feedback/Skeleton";
|
|
13
14
|
import Text, { TextSize, TextVariant } from "@galaxy-io/dls/text/Text";
|
|
14
|
-
import { formatBytes, formatNumber } from "@galaxy-io/dls/utils/format";
|
|
15
15
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
16
16
|
import Divider from "@galaxy-io/dls/layout/Divider";
|
|
17
17
|
import InfiniteTable, { InfiniteTableSize } from "@galaxy-io/dls/table/InfiniteTable";
|
|
@@ -115,7 +115,6 @@ var PipelineHistoryRunInfo = ({ runId }) => {
|
|
|
115
115
|
return /* @__PURE__ */ jsx(Box, {
|
|
116
116
|
variant: BoxVariant.PRIMARY,
|
|
117
117
|
fillWidth: true,
|
|
118
|
-
height: "100%",
|
|
119
118
|
children: renderBody()
|
|
120
119
|
});
|
|
121
120
|
};
|
|
@@ -4,8 +4,8 @@ import ConnectorTile from "../../../../components/connections/ConnectorTile.js";
|
|
|
4
4
|
import { createGetConnectionInput, useGetConnectionQuery } from "../../../../api/queries/connections.js";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import Flex, { AlignItems } from "@galaxy-io/dls/layout/Flex";
|
|
7
|
-
import Text, { TextSize, TextVariant, TextWeight } from "@galaxy-io/dls/text/Text";
|
|
8
7
|
import { EMPTY_VALUE } from "@galaxy-io/dls/utils/format";
|
|
8
|
+
import Text, { TextSize, TextVariant, TextWeight } from "@galaxy-io/dls/text/Text";
|
|
9
9
|
import FlexItem from "@galaxy-io/dls/layout/FlexItem";
|
|
10
10
|
import { FontFamily } from "@galaxy-io/dls/theme/enums";
|
|
11
11
|
//#region src/pages/pipelines/history/components/PipelineHistoryRunInfoConnectionColumn.tsx
|
package/dist/utils/format.d.ts
CHANGED
package/dist/utils/format.js
CHANGED
|
@@ -2,5 +2,6 @@ import { EMPTY_VALUE, formatDate } from "@galaxy-io/dls/utils/format";
|
|
|
2
2
|
//#region src/utils/format.ts
|
|
3
3
|
var formatTimestamp = (unixMillis) => unixMillis ? formatDate(unixMillis, { style: "dateTime" }) : EMPTY_VALUE;
|
|
4
4
|
var formatVersion = (version) => version ? `Version ${version}` : EMPTY_VALUE;
|
|
5
|
+
var formatServerVersion = (version) => /^\d/.test(version) ? `v${version}` : version;
|
|
5
6
|
//#endregion
|
|
6
|
-
export { formatTimestamp, formatVersion };
|
|
7
|
+
export { formatServerVersion, formatTimestamp, formatVersion };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galaxy-io/filament-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Filament's web UI as a Galaxy module a host app mounts",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@codemirror/view": "^6.43.1",
|
|
114
114
|
"@connectrpc/connect": "^2.1.0",
|
|
115
115
|
"@connectrpc/connect-query": "^2.1.1",
|
|
116
|
-
"@galaxy-io/dls": "^2.13.
|
|
116
|
+
"@galaxy-io/dls": "^2.13.3",
|
|
117
117
|
"@lezer/highlight": "^1.2.3",
|
|
118
118
|
"@tanstack/react-query": "^5.90.12",
|
|
119
119
|
"@tanstack/react-router": "^1.141.2",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@connectrpc/connect": "^2.1.0",
|
|
142
142
|
"@connectrpc/connect-query": "^2.1.1",
|
|
143
143
|
"@connectrpc/connect-web": "^2.1.0",
|
|
144
|
-
"@galaxy-io/dls": "^2.13.
|
|
144
|
+
"@galaxy-io/dls": "^2.13.3",
|
|
145
145
|
"@lezer/highlight": "^1.2.3",
|
|
146
146
|
"@tanstack/react-query": "^5.90.12",
|
|
147
147
|
"@tanstack/react-router": "^1.141.2",
|