Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/announcements/announcements-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

import type { UUID } from 'crypto';
import type { UUID } from 'node:crypto';
import { useCallback, useMemo, useRef, useState } from 'react';
import { FormattedMessage, useIntl } from 'react-intl';
import { Divider, Grid, Typography } from '@mui/material';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/announcements/cancel-cell-renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { UUID } from 'crypto';
import type { UUID } from 'node:crypto';
import { useCallback } from 'react';
import { IconButton, type IconButtonProps, Tooltip } from '@mui/material';
import { Delete } from '@mui/icons-material';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { useForm } from 'react-hook-form';
import { FunctionComponent, useCallback, useEffect, useMemo, useState } from 'react';
import { CustomMuiDialog, FetchStatus, useSnackMessage, yupConfig as yup } from '@gridsuite/commons-ui';
import { UserAdminSrv, UserProfile } from '../../../services';
import { UUID } from 'crypto';
import type { UUID } from 'node:crypto';

export interface ProfileModificationDialogProps {
profileId: UUID | undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/profiles/profiles-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { GridTableRef } from '../../components/Grid';
import { UserProfile } from '../../services';
import { RowClickedEvent } from 'ag-grid-community';
import ProfileModificationDialog from './modification/profile-modification-dialog';
import { UUID } from 'crypto';
import type { UUID } from 'node:crypto';
import ProfilesTable from './profiles-table';
import AddProfileDialog from './add-profile-dialog';

Expand Down
2 changes: 1 addition & 1 deletion src/services/directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { backendFetchJson, getRestBase } from '../utils/api-rest';
import { UUID } from 'crypto';
import type { UUID } from 'node:crypto';
import { ElementAttributes } from '@gridsuite/commons-ui';

const EXPLORE_URL = `${getRestBase()}/explore/v1`;
Expand Down
2 changes: 1 addition & 1 deletion src/services/user-admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { backendFetch, backendFetchJson, getRestBase } from '../utils/api-rest';
import { UUID } from 'crypto';
import type { UUID } from 'node:crypto';

const USER_ADMIN_URL = `${getRestBase()}/user-admin/v1`;

Expand Down
Loading