Comparing version 0.0.23 to 0.0.24
@@ -110,2 +110,28 @@ import { NotificationType, NotificationType0, RequestType, RequestType0 } from "vscode-jsonrpc"; | ||
} | ||
export interface RepoRemoteConfiguration { | ||
endpoint: string; | ||
repo: string; | ||
refspec: string; | ||
} | ||
export interface RefConfiguration { | ||
upstream: string; | ||
overwrite: boolean; | ||
} | ||
export interface RepoConfiguration { | ||
workspace?: WorkspaceConfiguration; | ||
remotes?: { | ||
[remote: string]: RepoRemoteConfiguration; | ||
}; | ||
refs: { | ||
[ref: string]: RefConfiguration; | ||
}; | ||
} | ||
export interface RepoInfoParams { | ||
repo: string; | ||
} | ||
export interface RepoInfoResult extends RepoConfiguration { | ||
} | ||
export declare namespace RepoInfoRequest { | ||
const type: RequestType<RepoInfoParams, RepoInfoResult, void, void>; | ||
} | ||
export interface RepoWatchParams { | ||
@@ -112,0 +138,0 @@ repo: string; |
@@ -60,2 +60,6 @@ "use strict"; | ||
})(RefListRequest = exports.RefListRequest || (exports.RefListRequest = {})); | ||
var RepoInfoRequest; | ||
(function (RepoInfoRequest) { | ||
RepoInfoRequest.type = new vscode_jsonrpc_1.RequestType("repo/info"); | ||
})(RepoInfoRequest = exports.RepoInfoRequest || (exports.RepoInfoRequest = {})); | ||
var RepoWatchRequest; | ||
@@ -62,0 +66,0 @@ (function (RepoWatchRequest) { |
{ | ||
"name": "libzap", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"description": "JavaScript library for Zap", | ||
@@ -5,0 +5,0 @@ "license": "none", |
@@ -282,2 +282,29 @@ import { NotificationType, NotificationType0, RequestType, RequestType0 } from "vscode-jsonrpc"; | ||
export interface RepoRemoteConfiguration { | ||
endpoint: string; | ||
repo: string; | ||
refspec: string; | ||
} | ||
export interface RefConfiguration { | ||
upstream: string; | ||
overwrite: boolean; | ||
} | ||
export interface RepoConfiguration { | ||
workspace?: WorkspaceConfiguration; | ||
remotes?: { [remote: string]: RepoRemoteConfiguration }; | ||
refs: { [ref: string]: RefConfiguration }; | ||
} | ||
export interface RepoInfoParams { | ||
repo: string; | ||
} | ||
export interface RepoInfoResult extends RepoConfiguration { } | ||
export namespace RepoInfoRequest { | ||
export const type = new RequestType<RepoInfoParams, RepoInfoResult, void, void>("repo/info"); | ||
} | ||
export interface RepoWatchParams { | ||
@@ -284,0 +311,0 @@ repo: string; |
Sorry, the diff of this file is not supported yet
229346
4467