Skip to content

Commit

Permalink
feat(utils folder): rename files to common naming style
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalgaurav-bmw committed Nov 14, 2024
1 parent 5a95e2c commit 7b29a5b
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/components/AuthorizingRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import Main from 'components/Main'
import { BrowserRouter, Routes, Route } from 'react-router-dom'
import NotFound from 'components/pages/NotFound'
import AccessService from 'services/AccessService'
import ScrollToTop from '../utils/ScrollToTop'
import ScrollToTop from '../utils/scrollToTop'
import ErrorBoundary from 'components/pages/ErrorBoundary'
import DeleteCompany from './pages/DeleteCompany'

Expand Down
2 changes: 1 addition & 1 deletion src/features/admin/registration/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import { getApiBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { InviteData, CompanyDetail, InvitesDataGrid } from './types'
import { getHeaders } from 'services/RequestService'
import { PAGE_SIZE } from 'types/Constants'
Expand Down
2 changes: 1 addition & 1 deletion src/features/admin/userDeprecated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import { getApiBase } from 'services/EnvironmentService'
import { getHeaders } from 'services/RequestService'
import type { PaginResult } from '@catena-x/portal-shared-components'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { TenantUser } from '../userApiSlice'
import type { AddUser } from './types'

Expand Down
2 changes: 1 addition & 1 deletion src/features/admin/userOwn/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import { getApiBase } from 'services/EnvironmentService'
import { getHeaders } from 'services/RequestService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { UserDetail } from './types'

export class Api extends HttpClient {
Expand Down
2 changes: 1 addition & 1 deletion src/features/apps/details/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import { getApiBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { AppDetails } from './types'
import i18next from 'i18next'
import { getHeaders } from 'services/RequestService'
Expand Down
2 changes: 1 addition & 1 deletion src/features/apps/details/apiTestdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import { getAssetBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { AppDetails } from './types'

export class Api extends HttpClient {
Expand Down
2 changes: 1 addition & 1 deletion src/features/apps/favorites/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import { getApiBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import { getHeaders } from 'services/RequestService'

export class Api extends HttpClient {
Expand Down
2 changes: 1 addition & 1 deletion src/features/apps/marketplaceDeprecated/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import { getApiBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { SubscribedApps } from './types'
import { getHeaders } from 'services/RequestService'
import type { AppMarketplaceApp } from '../types'
Expand Down
2 changes: 1 addition & 1 deletion src/features/apps/marketplaceDeprecated/apiTestdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import { getAssetBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { AppMarketplaceApp } from './types'

export class Api extends HttpClient {
Expand Down
2 changes: 1 addition & 1 deletion src/features/connector/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import qs from 'qs'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type {
ConnectorAPIResponse,
SearchParams,
Expand Down
2 changes: 1 addition & 1 deletion src/features/info/news/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import type { CardItems } from '@catena-x/portal-shared-components'
import { getAssetBase } from 'services/EnvironmentService'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'

export class Api extends HttpClient {
private static classInstance?: Api
Expand Down
2 changes: 1 addition & 1 deletion src/features/partnerNetwork/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import qs from 'qs'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { BusinessPartnerResponse, BusinessPartner } from './types'
import { getApiBase, getBpdmPoolApiBase } from 'services/EnvironmentService'
import { getHeaders } from 'services/RequestService'
Expand Down
2 changes: 1 addition & 1 deletion src/features/provisioning/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type { ProvisionIdentityProviderData } from './types'
import UserService from 'services/UserService'
import { getApiBase } from 'services/EnvironmentService'
Expand Down
2 changes: 1 addition & 1 deletion src/features/semanticModels/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
********************************************************************************/

import qs from 'qs'
import { HttpClient } from 'utils/HttpClient'
import { HttpClient } from 'utils/httpClient'
import type {
FilterParams,
ModelList,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 7b29a5b

Please sign in to comment.