Skip to content

Commit

Permalink
refactor(multiple files): fixes export related termnial warning and u…
Browse files Browse the repository at this point in the history
…pdates yarn.lock
  • Loading branch information
rohitmalhotra1420 committed May 7, 2024
1 parent 2f67e3c commit b7882fc
Show file tree
Hide file tree
Showing 8 changed files with 33,006 additions and 23,183 deletions.
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/user/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { authUpdate } from './auth.updateUser';
import { profileUpdate, profileUpdateCore } from './profile.updateUser';
export { ProfileUpdateProps } from './profile.updateUser';
export type { ProfileUpdateProps } from './profile.updateUser';
export * from './createUser';
export * from './getFeeds';
export * from './getSubscriptions';
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/video/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './Video';
export { VideoDataType } from './helpers/sendVideoCallNotification';
export type { VideoDataType } from './helpers/sendVideoCallNotification';
4,834 changes: 3,115 additions & 1,719 deletions packages/restapi/yarn.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/uiweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"@web3-onboard/react": "^2.8.9",
"@web3-onboard/walletconnect": "^2.4.6",
"@web3-react/injected-connector": "^6.0.7",
"animejs": "^2.2.0",
"classnames": "^2.2.5",
"date-fns": "^2.28.0",
"emoji-picker-react": "^4.4.9",
"ethers": "^5.6.8",
"gif-picker-react": "^1.1.0",
"html-react-parser": "^1.4.13",
"livekit-client": "^1.13.3",
"moment": "^2.29.4",
"raf": "^3.4.0",
"react-easy-crop": "^4.1.4",
"react-icons": "^4.10.1",
"react-image-file-resizer": "^0.4.7",
"animejs": "^2.2.0",
"classnames": "^2.2.5",
"raf": "^3.4.0",
"react-toastify": "^9.1.3",
"react-twitter-embed": "^4.0.4",
"uuid": "^9.0.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/uiweb/src/lib/components/chat/exportedTypes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CONSTANTS, GroupDTO, GroupInfoDTO, IMessageIPFS } from '@pushprotocol/restapi';
import type { GroupDTO, GroupInfoDTO, IMessageIPFS } from '@pushprotocol/restapi';
import { IGroup, ModalBackgroundType, ModalPositionType } from '../../types';
import { IChatTheme } from './theme';

Expand Down Expand Up @@ -177,7 +177,7 @@ export interface ModalButtonProps {
isLoading?: boolean;
}

export { IChatTheme } from './theme';
export type { IChatTheme } from './theme';

export interface ConditionData {
operator?: string;
Expand Down
18 changes: 6 additions & 12 deletions packages/uiweb/src/lib/components/space/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import { ISpaceBannerProps } from "./SpaceBanner";
import { ISpaceFeedProps } from "./SpaceFeed";
import { SpacesUI } from "./SpacesUI";
import { ISpaceInvitesProps } from "./SpaceInvites";
import { ISpaceCreateWidgetProps } from "./SpaceCreationWidget";
import { ISpaceBannerProps } from './SpaceBanner';
import { ISpaceFeedProps } from './SpaceFeed';
import { ISpaceInvitesProps } from './SpaceInvites';
import { ISpaceCreateWidgetProps } from './SpaceCreationWidget';

export {
SpacesUI,
ISpaceBannerProps,
ISpaceFeedProps,
ISpaceInvitesProps,
ISpaceCreateWidgetProps
}
export { SpacesUI } from './SpacesUI';
export type { ISpaceBannerProps, ISpaceFeedProps, ISpaceInvitesProps, ISpaceCreateWidgetProps };

export * from './exportedTypes';
11,545 changes: 6,998 additions & 4,547 deletions packages/uiweb/yarn.lock

Large diffs are not rendered by default.

39,778 changes: 22,880 additions & 16,898 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit b7882fc

Please sign in to comment.