forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove index.types.d.ts (keybase#19730)
- Loading branch information
1 parent
c5baf21
commit 80aeced
Showing
66 changed files
with
317 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
import {RPCError} from '../../util/errors' | ||
|
||
export type Props = { | ||
onFeedback: () => void | ||
error: null | Error | RPCError | ||
daemonError: Error | null | ||
onDismiss: () => void | ||
copyToClipboard: (arg0: string) => void | ||
} | ||
|
||
export default class GlobalError extends React.Component<Props> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
import {MessageAttachment} from '../../../constants/types/chat2' | ||
export type Props = { | ||
path: string | ||
previewHeight: number | ||
previewWidth: number | ||
title: string | ||
message: MessageAttachment | ||
progress: number | ||
progressLabel: string | null | ||
onNextAttachment: () => void | ||
onPreviousAttachment: () => void | ||
onClose: () => void | ||
onDownloadAttachment: (() => void) | null | ||
onShowInFinder: (() => void) | null | ||
isVideo: boolean | ||
autoPlay: boolean | ||
} | ||
export default class Fullscreen extends React.Component<Props> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
shared/chat/conversation/attachment-fullscreen/index.types.d.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
shared/chat/conversation/attachment-video-fullscreen/index.types.d.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
import * as RPCChatTypes from '../../../constants/types/rpc-chat-gen' | ||
export type Props = { | ||
previews: Array<RPCChatTypes.GiphySearchResult> | null | ||
galleryURL: string | ||
onClick: (arg0: string) => void | ||
} | ||
export default class GiphySearch extends React.Component<Props> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
import {Component} from 'react' | ||
import {Props} from './index.types' | ||
export type Props = Props | ||
export type Props = { | ||
badgeNumber?: number | ||
channelName?: string | ||
contactNames: {[participant: string]: string} | ||
muted: boolean | ||
onBack: () => void | ||
onOpenFolder?: () => void | ||
onShowProfile: (user: string) => void | ||
onToggleInfoPanel: () => void | ||
onToggleThreadSearch: () => void | ||
infoPanelOpen: boolean | ||
teamName?: string | ||
participants: Array<string> | ||
pendingWaiting: boolean | ||
smallTeam: boolean | ||
unMuteConversation: () => void | ||
} | ||
export class ChannelHeader extends Component<Props> {} | ||
export class UsernameHeader extends Component<Props> {} | ||
export class PhoneOrEmailHeader extends Component<Props> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
shared/chat/conversation/header-area/normal/index.types.d.ts
This file was deleted.
Oops, something went wrong.
8 changes: 7 additions & 1 deletion
8
shared/chat/conversation/input-area/filepicker-popup/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
|
||
export type Props = { | ||
attachTo?: () => React.Component<any> | null | ||
visible: boolean | ||
onHidden: () => void | ||
onSelect: (mediaType: 'photo' | 'video' | 'mixed', location: 'camera' | 'library') => void | ||
} | ||
declare class FilePickerPopup extends React.Component<Props> {} | ||
export default FilePickerPopup |
2 changes: 1 addition & 1 deletion
2
shared/chat/conversation/input-area/filepicker-popup/index.native.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
shared/chat/conversation/input-area/filepicker-popup/index.types.d.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
import * as I from 'immutable' | ||
import * as Types from '../../../../constants/types/chat2' | ||
|
||
export type Props = { | ||
centeredOrdinal: Types.Ordinal | null | ||
copyToClipboard: (arg0: string) => void | ||
containsLatestMessage: boolean | ||
conversationIDKey: Types.ConversationIDKey | ||
messageOrdinals: I.List<Types.Ordinal> | ||
onFocusInput: () => void | ||
onJumpToRecent: () => void | ||
loadNewerMessages: (ordinal?: Types.Ordinal | null) => void | ||
loadOlderMessages: (ordinal?: Types.Ordinal | null) => void | ||
editingOrdinal: Types.Ordinal | null | ||
lastMessageIsOurs: boolean | ||
lastLoadMoreOrdinal: Types.Ordinal | null | ||
scrollListDownCounter: number | ||
scrollListToBottomCounter: number | ||
scrollListUpCounter: number | ||
} | ||
export default class ConversationList extends React.Component<Props> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
shared/chat/conversation/list-area/normal/index.types.d.ts
This file was deleted.
Oops, something went wrong.
11 changes: 10 additions & 1 deletion
11
shared/chat/conversation/messages/set-explode-popup/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
import {MessageExplodeDescription} from '../../../../constants/types/chat2' | ||
|
||
export type Props = { | ||
attachTo?: () => React.Component<any> | null | ||
visible: boolean | ||
onHidden: () => void | ||
selected: number | ||
onSelect: (arg0: number) => void | ||
items: MessageExplodeDescription[] | ||
} | ||
export declare class SetExplodingPopup extends React.Component<Props> {} | ||
export default SetExplodingPopup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
shared/chat/conversation/messages/set-explode-popup/index.native.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
shared/chat/conversation/messages/set-explode-popup/index.types.d.ts
This file was deleted.
Oops, something went wrong.
11 changes: 10 additions & 1 deletion
11
shared/chat/conversation/messages/wrapper/exploding-height-retainer/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import * as React from 'react' | ||
import {Props} from './index.types' | ||
import {StylesCrossPlatform} from '../../../../../styles' | ||
export type Props = { | ||
children?: React.ReactNode | ||
explodedBy?: string | ||
exploding: boolean | ||
measure?: () => void | ||
messageKey: string | ||
style?: StylesCrossPlatform | ||
retainHeight: boolean | ||
} | ||
export declare const animationDuration: number | ||
export default class ExplodingHeightRetainer extends React.Component<Props> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
shared/chat/conversation/messages/wrapper/exploding-height-retainer/index.types.d.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.