Skip to content

Commit

Permalink
🐛 Fixed bugs with typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
abdheshnayak committed Dec 23, 2023
1 parent c5823a4 commit 522f1c2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/apps/auth/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const restActions = async (ctx: IExtRemixCtx) => {
const { data, errors } = await GQLServerHandler(
ctx.request
).setRemoteAuthHeader({
loginId: cookie.get('cliLogin'),
loginId: cookie.get('cliLogin') || '',
authHeader: ctx?.request?.headers?.get('cookie'),
});

Expand Down
4 changes: 2 additions & 2 deletions src/apps/console/components/commons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { WorkspacesLogo } from '~/components/branding/workspace-logo';
import useClipboard from '~/root/lib/client/hooks/use-clipboard';
import { generateKey, titleCase } from '~/components/utils';
import {
Kloudlite__Io___Pkg___Types__SyncStatusState as SyncState,
Kloudlite__Io___Pkg___Types__SyncStatusAction as SyncAction,
Github__Com___Kloudlite___Api___Pkg___Types__SyncStatusState as SyncState,
Github__Com___Kloudlite___Api___Pkg___Types__SyncStatusAction as SyncAction,
} from '~/root/src/generated/gql/server';
import Tooltip from '~/components/atoms/tooltip';
import { Link } from '@remix-run/react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useConsoleApi } from '~/console/server/gql/api-provider';
import useForm from '~/root/lib/client/hooks/use-form';
import Yup from '~/root/lib/server/helpers/yup';
import { handleError } from '~/root/lib/utils/common';
import { Kloudlite__Io___Apps___Iam___Types__Role as Role } from '~/root/src/generated/gql/server';
import { Github__Com___Kloudlite___Api___Apps___Iam___Types__Role as Role } from '~/root/src/generated/gql/server';
import { parseName } from '~/console/server/r-utils/common';
import { IAccountContext } from '../_.$account';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { titleCase, useMapper } from '~/components/utils';
import useForm from '~/root/lib/client/hooks/use-form';
import Yup from '~/root/lib/server/helpers/yup';
import { handleError } from '~/root/lib/utils/common';
import { Kloudlite__Io___Apps___Iam___Types__Role as Role } from '~/root/src/generated/gql/server';
import { Github__Com___Kloudlite___Api___Apps___Iam___Types__Role as Role } from '~/root/src/generated/gql/server';
import { ListBody, ListItem } from '../components/console-list-components';
import DynamicPagination from '../components/dynamic-pagination';
import List from '../components/list';
Expand Down
4 changes: 2 additions & 2 deletions src/apps/console/server/r-utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider as CloudProvider,
Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode as AvailabilityMode,
ProjectId,
Kloudlite__Io___Pkg___Types__SyncStatusAction as SyncStatusAction,
Kloudlite__Io___Pkg___Types__SyncStatusState as SyncStatusState,
Github__Com___Kloudlite___Api___Pkg___Types__SyncStatusAction as SyncStatusAction,
Github__Com___Kloudlite___Api___Pkg___Types__SyncStatusState as SyncStatusState,
WorkspaceOrEnvId,
} from '~/root/src/generated/gql/server';

Expand Down

0 comments on commit 522f1c2

Please sign in to comment.