This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf5e189
commit f90e165
Showing
414 changed files
with
35,443 additions
and
38,170 deletions.
There are no files selected for viewing
Empty file.
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,59 +1 @@ | ||
/** | ||
* Copyright (c) 2015-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the license found in the LICENSE file in | ||
* the root directory of this source tree. | ||
* | ||
* @flow | ||
* @format | ||
*/ | ||
|
||
/* eslint-disable no-undef */ | ||
|
||
declare interface nuclide$CwdApi { | ||
setCwd(path: string): void; | ||
observeCwd(callback: (path: ?string) => void): IDisposable; | ||
getCwd(): ?string; | ||
} | ||
|
||
type nuclide$TerminalCommand = { | ||
file: string, | ||
args: Array<string>, | ||
}; | ||
|
||
// Fields that are legal from untrusted sources. | ||
type TerminalInfoUntrustedFields = { | ||
title?: string, | ||
key?: string, | ||
remainOnCleanExit?: boolean, | ||
defaultLocation?: atom$PaneLocation | 'pane', | ||
icon?: string, | ||
trustToken?: string, | ||
}; | ||
|
||
// Fields that are only legal from trusted sources. | ||
type TerminalInfoTrustedFields = { | ||
command?: nuclide$TerminalCommand, | ||
cwd?: string, | ||
environmentVariables?: Map<string, string>, | ||
preservedCommands?: Array<string>, | ||
initialInput?: string, | ||
}; | ||
|
||
declare type nuclide$TerminalInfo = TerminalInfoUntrustedFields & | ||
TerminalInfoTrustedFields; | ||
|
||
declare interface nuclide$TerminalInstance { | ||
setProcessExitCallback(callback: () => mixed): void; | ||
terminateProcess(): void; | ||
} | ||
|
||
declare interface nuclide$TerminalApi { | ||
open(info: nuclide$TerminalInfo): Promise<nuclide$TerminalInstance>; | ||
close(key: string): void; | ||
} | ||
|
||
declare interface nuclide$RpcService { | ||
getServiceByNuclideUri(serviceName: string, uri: ?string): any; | ||
} | ||
'use strict'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,117 +1,20 @@ | ||
/** | ||
* Copyright (c) 2017-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* @flow | ||
* @format | ||
*/ | ||
'use strict'; | ||
|
||
export type { | ||
BusySignalOptions, | ||
BusySignalService, | ||
} from './pkg/atom-ide-busy-signal/lib/types'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
|
||
export type { | ||
CodeAction, | ||
CodeActionProvider, | ||
} from './pkg/atom-ide-code-actions/lib/types'; | ||
var _RemoteControlService; | ||
|
||
export type { | ||
CodeFormatProvider, | ||
RangeCodeFormatProvider, | ||
FileCodeFormatProvider, | ||
OnTypeCodeFormatProvider, | ||
OnSaveCodeFormatProvider, | ||
} from './pkg/atom-ide-code-format/lib/types'; | ||
function _load_RemoteControlService() { | ||
return _RemoteControlService = require('./pkg/atom-ide-debugger/lib/RemoteControlService'); | ||
} | ||
|
||
export type { | ||
CodeHighlightProvider, | ||
} from './pkg/atom-ide-code-highlight/lib/types'; | ||
Object.defineProperty(exports, 'DebuggerService', { | ||
enumerable: true, | ||
get: function () { | ||
return _interopRequireDefault(_RemoteControlService || _load_RemoteControlService()).default; | ||
} | ||
}); | ||
|
||
export type { | ||
Datatip, | ||
DatatipProvider, | ||
DatatipService, | ||
MarkedString, | ||
ModifierDatatipProvider, | ||
ModifierKey, | ||
} from './pkg/atom-ide-datatip/lib/types'; | ||
|
||
export type { | ||
Definition, | ||
DefinitionProvider, | ||
DefinitionPreviewProvider, | ||
DefinitionQueryResult, | ||
} from './pkg/atom-ide-definitions/lib/types'; | ||
|
||
export type { | ||
CallbackDiagnosticProvider, | ||
DiagnosticFix, | ||
DiagnosticInvalidationCallback, | ||
DiagnosticInvalidationMessage, | ||
DiagnosticMessage, | ||
DiagnosticMessages, | ||
DiagnosticMessageKind, | ||
DiagnosticMessageType, | ||
DiagnosticProvider, | ||
DiagnosticProviderUpdate, | ||
DiagnosticTrace, | ||
DiagnosticUpdateCallback, | ||
IndieLinterDelegate, | ||
LinterMessage, | ||
LinterMessageV1, | ||
LinterMessageV2, | ||
LinterProvider, | ||
LinterTrace, | ||
ObservableDiagnosticProvider, | ||
RegisterIndieLinter, | ||
} from './pkg/atom-ide-diagnostics/lib/types'; | ||
|
||
export type { | ||
FindReferencesProvider, | ||
FindReferencesReturn, | ||
Reference, | ||
} from './pkg/atom-ide-find-references/lib/types'; | ||
|
||
export type { | ||
Outline, | ||
OutlineProvider, | ||
OutlineTree, | ||
ResultsStreamProvider, | ||
} from './pkg/atom-ide-outline-view/lib/types'; | ||
|
||
export type { | ||
Signature, | ||
SignatureHelp, | ||
SignatureHelpProvider, | ||
SignatureHelpRegistry, | ||
SignatureParameter, | ||
} from './pkg/atom-ide-signature-help/lib/types'; | ||
|
||
export type { | ||
HyperclickProvider, | ||
HyperclickSuggestion, | ||
} from './pkg/hyperclick/lib/types'; | ||
|
||
export type { | ||
ConsoleService, | ||
ConsoleApi, | ||
Level as ConsoleLevel, | ||
Message as ConsoleMessage, | ||
SourceInfo as ConsoleSourceInfo, | ||
OutputProviderStatus, | ||
} from './pkg/atom-ide-console/lib/types'; | ||
|
||
// Deprecated console types. Exported only for legacy users. | ||
export type { | ||
OutputService, | ||
RegisterExecutorFunction, | ||
} from './pkg/atom-ide-console/lib/types'; | ||
|
||
export { | ||
default as DebuggerService, | ||
} from './pkg/atom-ide-debugger/lib/RemoteControlService'; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
Oops, something went wrong.