type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
MethodDeclaration
/** * androidpublisher.reviews.get * @desc Returns a single review. * @alias androidpublisher.reviews.get * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
get(params: Params$Resource$Reviews$Get, options: MethodOptions|BodyResponseCallback<Schema$Review>, callback: BodyResponseCallback<Schema$Review>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
get(params: Params$Resource$Reviews$Get, callback: BodyResponseCallback<Schema$Review>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
get(callback: BodyResponseCallback<Schema$Review>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
get(paramsOrCallback?: Params$Resource$Reviews$Get| BodyResponseCallback<Schema$Review>, optionsOrCallback?: MethodOptions|BodyResponseCallback<Schema$Review>, callback?: BodyResponseCallback<Schema$Review>): void|GaxiosPromise<Schema$Review> { let params = (paramsOrCallback || {}...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
/** * androidpublisher.reviews.list * @desc Returns a list of reviews. Only reviews from last week will be * returned. * @alias androidpublisher.reviews.list * @memberOf! () * * @param {object} params Parameters for request * @param {integer=} params.maxResults * @param {str...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
list( params: Params$Resource$Reviews$List, options: MethodOptions|BodyResponseCallback<Schema$ReviewsListResponse>, callback: BodyResponseCallback<Schema$ReviewsListResponse>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
list( params: Params$Resource$Reviews$List, callback: BodyResponseCallback<Schema$ReviewsListResponse>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
list(callback: BodyResponseCallback<Schema$ReviewsListResponse>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
list( paramsOrCallback?: Params$Resource$Reviews$List| BodyResponseCallback<Schema$ReviewsListResponse>, optionsOrCallback?: MethodOptions| BodyResponseCallback<Schema$ReviewsListResponse>, callback?: BodyResponseCallback<Schema$ReviewsListResponse>): void|GaxiosPromise<...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
/** * androidpublisher.reviews.reply * @desc Reply to a single review, or update an existing reply. * @alias androidpublisher.reviews.reply * @memberOf! () * * @param {object} params Parameters for request * @param {string} params.packageName Unique identifier for the Android app for ...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
reply( params: Params$Resource$Reviews$Reply, options: MethodOptions| BodyResponseCallback<Schema$ReviewsReplyResponse>, callback: BodyResponseCallback<Schema$ReviewsReplyResponse>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
reply( params: Params$Resource$Reviews$Reply, callback: BodyResponseCallback<Schema$ReviewsReplyResponse>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
reply(callback: BodyResponseCallback<Schema$ReviewsReplyResponse>): void;
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
MethodDeclaration
reply( paramsOrCallback?: Params$Resource$Reviews$Reply| BodyResponseCallback<Schema$ReviewsReplyResponse>, optionsOrCallback?: MethodOptions| BodyResponseCallback<Schema$ReviewsReplyResponse>, callback?: BodyResponseCallback<Schema$ReviewsReplyResponse>): void|GaxiosPro...
heldyyusliar/google-api-nodejs-client
src/apis/androidpublisher/v3.ts
TypeScript
ArrowFunction
x => { return x.filter(y => !y.hideFromEdit); }
damianfraszczak/nefbdaa
src/NEFBDAAStarter/angular/projects/nefbdaa-angular-nebular/src/lib/components/smart-table-utilities/editors/observable-select-editor.component.ts
TypeScript
ArrowFunction
y => !y.hideFromEdit
damianfraszczak/nefbdaa
src/NEFBDAAStarter/angular/projects/nefbdaa-angular-nebular/src/lib/components/smart-table-utilities/editors/observable-select-editor.component.ts
TypeScript
ArrowFunction
() => this.dropdownLoading = false
damianfraszczak/nefbdaa
src/NEFBDAAStarter/angular/projects/nefbdaa-angular-nebular/src/lib/components/smart-table-utilities/editors/observable-select-editor.component.ts
TypeScript
ClassDeclaration
@Component({ selector: 'ngx-table-observable-select-editor', template: ` <ng-select #inputControl [name]='cell.getId()' [(ngModel)]="selected" [readonly]='!cell.isEditable()' [loading]='dropdownLoading' [typeToSearchText]="'Write to fil...
damianfraszczak/nefbdaa
src/NEFBDAAStarter/angular/projects/nefbdaa-angular-nebular/src/lib/components/smart-table-utilities/editors/observable-select-editor.component.ts
TypeScript
MethodDeclaration
ngOnInit() { const fieldDefinitionModel = this.cell.getColumn().getConfig().fieldDefinition as FieldDefinitionModel; const modelType = this.cell.getColumn().getConfig().modelType; const crudService = this.crudMapperService.getCrudServiceForModel(fieldDefinitionModel.modelType); const staticData = this....
damianfraszczak/nefbdaa
src/NEFBDAAStarter/angular/projects/nefbdaa-angular-nebular/src/lib/components/smart-table-utilities/editors/observable-select-editor.component.ts
TypeScript
ClassDeclaration
export default class LoadableException extends Exception {}
inceptjs/incept.js
packages/incept/src/loadable/Exception.ts
TypeScript
InterfaceDeclaration
export interface ManifestFile { name: string; path: string; /** * Base64-encoded file contents. * We use Base64 to avoid any assumptions about the original file encoding, * which is difficult to infer and may be corrupted when the data is transferred over the network. */ contents: string; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface PluginResponse { /** The first result is guaranteed to be the OS dependencies scan result. */ scanResults: ScanResult[]; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface ScanResult { /** User-friendly name to use as the name of the Project that Snyk creates. */ name?: string; /** Contains the Snyk policy file content. */ policy?: string; /** The target defines "where" you found this scan result. */ target: ContainerTarget; /** Identity defines "what" you...
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface ContainerTarget { image: string; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
/** * The identity of a scan result allows to uniquely locate "what" you found. * Any differences in the identity influences how a Project is created in Snyk * and can result in a completely different Project (for example, if "args.targetFramework" differs). */ export interface Identity { /** * This used to be...
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
/** * A collection of things that were found as part of a scan. * As the developer and owner, you are responsible for defining and maintaining your own Facts. * Examples of facts: a dependency graph, a list of file content hashes, Dockerfile analysis. See FactType. */ export interface Fact { type: FactType; dat...
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
/** * WARNING! WARNING! WARNING! * The CLI may pass certain values as strings. * Please make sure to sanitize ALL input and not assume it is a "number" or "boolean". */ export interface PluginOptions { /** This can be an image identifier, or a path to an OCI or Docker archive. */ path: string; /** Override th...
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface DepTreeDep { name: string; version: string; dependencies: { [depName: string]: DepTreeDep; }; labels?: { [key: string]: string; }; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
/** @deprecated Prefer building Graphs instead of Trees. */ export interface DepTree extends DepTreeDep { type?: string; packageFormatVersion: string; targetOS: { name: string; prettyName: string; version: string; }; targetFile?: string; policy?: string; docker?: { dockerfileAnalysis?: Do...
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface Issue { pkgName: string; pkgVersion?: string; issueId: string; fixInfo: { nearestFixedInVersion?: string; // TODO: add more fix info }; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface IssuesData { [issueId: string]: { id: string; severity: string; from: string[][]; title: string; }; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface BaseImageRemediationAdvice { message: string; bold?: boolean; color?: string; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
interface BaseImageRemediation { code: string; advice: BaseImageRemediationAdvice[]; message?: string; // TODO: check if this is still being sent }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface TestResult { org: string; licensesPolicy: object | null; docker: { baseImage?: string; baseImageRemediation?: BaseImageRemediation; }; issues: Issue[]; issuesData: IssuesData; depGraphData: DepGraphData; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
InterfaceDeclaration
export interface Options { path: string; file?: string; debug?: boolean; isDockerUser?: boolean; config?: any; }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
EnumDeclaration
export enum ImageType { Identifier, // e.g. "nginx:latest" DockerArchive = "docker-archive", // e.g. "docker-archive:/tmp/nginx.tar" OciArchive = "oci-archive", // e.g. "oci-archive:/tmp/nginx.tar" }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
EnumDeclaration
export enum OsReleaseFilePath { Linux = "/etc/os-release", LinuxFallback = "/usr/lib/os-release", Lsb = "/etc/lsb-release", Debian = "/etc/debian_version", Alpine = "/etc/alpine-release", RedHat = "/etc/redhat-release", Oracle = "/etc/oracle-release", Centos = "/etc/centos-release", }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
EnumDeclaration
export enum HashAlgorithm { Sha256 = "sha256", Sha1 = "sha1", }
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
TypeAliasDeclaration
export type FactType = | "depGraph" // Hashes of executables not installed by a package manager (e.g. if they were copied straight onto the image). | "keyBinariesHashes" // Collects the file names of the individual .tar layers found in the scanned image. | "imageLayers" | "dockerfileAnalysis" | "rootFs" ...
tonidevine1/snyk-docker-plugin
lib/types.ts
TypeScript
FunctionDeclaration
function informOnce(selector: vscode.DocumentSelector) { if (!done) { extHostLogService.info(`Extension '${extension.identifier.value}' uses a document selector without scheme. Learn more about this: https://go.microsoft.com/fwlink/?linkid=872305`); done = true; } }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(...args: any[]): any => { const activeTextEditor = extHostEditors.getActiveTextEditor(); if (!activeTextEditor) { extHostLogService.warn('Cannot execute ' + id + ' because there is no active text editor.'); return undefined; } return activeTextEditor.edit((edit: vscode.TextEditorEdit)...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(edit: vscode.TextEditorEdit) => { callback.apply(thisArg, [activeTextEditor, edit, ...args]); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(result) => { if (!result) { extHostLogService.warn('Edits from command ' + id + ' were not applied.'); } }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(err) => { extHostLogService.warn('An error occurred while running command ' + id, err); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(id: string, callback: (diff: vscode.LineChange[], ...args: any[]) => any, thisArg?: any): vscode.Disposable => { checkProposedApiEnabled(extension); return extHostCommands.registerCommand(true, id, async (...args: any[]): Promise<any> => { const activeTextEditor = extHostEditors.getActiveTextEditor(); ...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
async (...args: any[]): Promise<any> => { const activeTextEditor = extHostEditors.getActiveTextEditor(); if (!activeTextEditor) { extHostLogService.warn('Cannot execute ' + id + ' because there is no active text editor.'); return undefined; } const diff = await extHostEditors.getDiffIn...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
l => typeConverters.LogLevel.to(l)
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(desc) => new Extension(extensionService, extension.identifier, desc, extensionKind)
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(resource?: vscode.Uri) => { return <any>extHostDiagnostics.getDiagnostics(resource); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(language: string, configuration: vscode.LanguageConfiguration): vscode.Disposable => { return extHostLanguageFeatures.setLanguageConfiguration(extension, language, configuration); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(progress, token) => task({ report(n: number) { /*noop*/ } })
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(viewType: string, serializer: vscode.WebviewPanelSerializer) => { return extHostWebviewPanels.registerWebviewPanelSerializer(extension, viewType, serializer); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(viewType: string, provider: vscode.CustomTextEditorProvider | vscode.CustomReadonlyEditorProvider, options: { webviewOptions?: vscode.WebviewPanelOptions, supportsMultipleEditorsPerDocument?: boolean } = {}) => { return extHostCustomEditors.registerCustomEditorProvider(extension, viewType, provider, options); ...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(index, deleteCount, ...workspaceFoldersToAdd) => { return extHostWorkspace.updateWorkspaceFolders(extension, index, deleteCount || 0, ...workspaceFoldersToAdd); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(pathOrUri, includeWorkspace?) => { return extHostWorkspace.getRelativePath(pathOrUri, includeWorkspace); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(include, exclude, maxResults?, token?) => { // Note, undefined/null have different meanings on "exclude" return extHostWorkspace.findFiles(typeConverters.GlobPattern.from(include), typeConverters.GlobPattern.from(exclude), maxResults, extension.identifier, token); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(query: vscode.TextSearchQuery, optionsOrCallback: vscode.FindTextInFilesOptions | ((result: vscode.TextSearchResult) => void), callbackOrToken?: vscode.CancellationToken | ((result: vscode.TextSearchResult) => void), token?: vscode.CancellationToken) => { let options: vscode.FindTextInFilesOptions; let callba...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(includeUntitled?) => { return extHostWorkspace.saveAll(includeUntitled); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(pattern, ignoreCreate, ignoreChange, ignoreDelete): vscode.FileSystemWatcher => { return extHostFileSystemEvent.createFileSystemWatcher(typeConverters.GlobPattern.from(pattern), ignoreCreate, ignoreChange, ignoreDelete); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
data => data.document
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
uri => { return extHostDocuments.ensureDocumentData(uri).then(documentData => { return documentData.document; }); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
documentData => { return documentData.document; }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArgs?, disposables?) => { return extHostDocuments.onDidAddDocument(listener, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArgs?, disposables?) => { return extHostDocuments.onDidRemoveDocument(listener, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArgs?, disposables?) => { return extHostDocuments.onDidChangeDocument(listener, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArgs?, disposables?) => { return extHostDocuments.onDidSaveDocument(listener, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArgs?, disposables?) => { return extHostDocumentSaveParticipant.getOnWillSaveTextDocumentEvent(extension)(listener, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener: (_: any) => any, thisArgs?: any, disposables?: extHostTypes.Disposable[]) => { return configProvider.onDidChangeConfiguration(listener, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(type: string, provider: vscode.TaskProvider) => { extHostApiDeprecation.report('window.registerTaskProvider', extension, `Use the corresponding function on the 'tasks' namespace instead`); return extHostTask.registerTaskProvider(extension, type, provider); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(scheme: string, provider: vscode.FileSearchProvider) => { checkProposedApiEnabled(extension); return extHostSearch.registerFileSearchProvider(scheme, provider); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(scheme: string, provider: vscode.TextSearchProvider) => { checkProposedApiEnabled(extension); return extHostSearch.registerTextSearchProvider(scheme, provider); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(authorityPrefix: string, resolver: vscode.RemoteAuthorityResolver) => { checkProposedApiEnabled(extension); return extensionService.registerRemoteAuthorityResolver(authorityPrefix, resolver); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(formatter: vscode.ResourceLabelFormatter) => { checkProposedApiEnabled(extension); return extHostLabelService.$registerResourceLabelFormatter(formatter); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArg, disposables) => { return extHostFileSystemEvent.onDidCreateFile(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArg, disposables) => { return extHostFileSystemEvent.onDidDeleteFile(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArg, disposables) => { return extHostFileSystemEvent.onDidRenameFile(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener: (e: vscode.FileWillCreateEvent) => any, thisArg?: any, disposables?: vscode.Disposable[]) => { return extHostFileSystemEvent.getOnWillCreateFileEvent(extension)(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener: (e: vscode.FileWillDeleteEvent) => any, thisArg?: any, disposables?: vscode.Disposable[]) => { return extHostFileSystemEvent.getOnWillDeleteFileEvent(extension)(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener: (e: vscode.FileWillRenameEvent) => any, thisArg?: any, disposables?: vscode.Disposable[]) => { return extHostFileSystemEvent.getOnWillRenameFileEvent(extension)(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(forward: vscode.TunnelOptions) => { checkProposedApiEnabled(extension); return extHostTunnelService.openTunnel(forward).then(value => { if (!value) { throw new Error('cannot open tunnel'); } return value; }); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
value => { if (!value) { throw new Error('cannot open tunnel'); } return value; }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listener, thisArg?, disposables?) => { checkProposedApiEnabled(extension); return extHostTunnelService.onDidChangeTunnels(listener, thisArg, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(scheme: string | string[], provider: vscode.TimelineProvider) => { checkProposedApiEnabled(extension); return extHostTimeline.registerTimelineProvider(scheme, provider, extension.identifier, extHostCommands.converter); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(type: string, provider: vscode.TaskProvider) => { return extHostTask.registerTaskProvider(extension, type, provider); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(filter?: vscode.TaskFilter): Thenable<vscode.Task[]> => { return extHostTask.fetchTasks(filter); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(task: vscode.Task): Thenable<vscode.TaskExecution> => { return extHostTask.executeTask(extension, task); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listeners, thisArgs?, disposables?) => { return extHostTask.onDidStartTask(listeners, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listeners, thisArgs?, disposables?) => { return extHostTask.onDidEndTask(listeners, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listeners, thisArgs?, disposables?) => { return extHostTask.onDidStartTaskProcess(listeners, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(listeners, thisArgs?, disposables?) => { return extHostTask.onDidEndTaskProcess(listeners, thisArgs, disposables); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
d => d.notebookDocument
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(viewType: string, provider: vscode.NotebookContentProvider, options?: { transientOutputs: boolean; transientMetadata: { [K in keyof vscode.NotebookCellMetadata]?: boolean } }) => { checkProposedApiEnabled(extension); return extHostNotebook.registerNotebookContentProvider(extension, viewType, provid...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
(selector: vscode.NotebookDocumentFilter, provider: vscode.NotebookKernelProvider) => { checkProposedApiEnabled(extension); return extHostNotebook.registerNotebookKernelProvider(extension, selector, provider); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ArrowFunction
() => this.exports
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
ClassDeclaration
class Extension<T> implements vscode.Extension<T> { private _extensionService: IExtHostExtensionService; private _originExtensionId: ExtensionIdentifier; private _identifier: ExtensionIdentifier; readonly id: string; readonly extensionUri: URI; readonly extensionPath: string; readonly packageJSON: IExtensionD...
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
InterfaceDeclaration
export interface IExtensionApiFactory { (extension: IExtensionDescription, registry: ExtensionDescriptionRegistry, configProvider: ExtHostConfigProvider): typeof vscode; }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
MethodDeclaration
registerAuthenticationProvider(provider: vscode.AuthenticationProvider): vscode.Disposable { return extHostAuthentication.registerAuthenticationProvider(provider); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
MethodDeclaration
getProviderIds(): Thenable<ReadonlyArray<string>> { return extHostAuthentication.getProviderIds(); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript
MethodDeclaration
getSession(providerId: string, scopes: string[], options?: vscode.AuthenticationGetSessionOptions) { return extHostAuthentication.getSession(extension, providerId, scopes, options as any); }
Alias-Alan/vscode
src/vs/workbench/api/common/extHost.api.impl.ts
TypeScript