@valbuild/core 0.60.23 → 0.60.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,11 +27,10 @@ export declare class ValApi {
|
|
27
27
|
mode: "proxy" | "local";
|
28
28
|
member_role: "owner" | "developer" | "editor";
|
29
29
|
}>>;
|
30
|
-
getTree({ patch, includeSchema, includeSource, treePath,
|
30
|
+
getTree({ patch, includeSchema, includeSource, treePath, headers, }: {
|
31
31
|
patch?: boolean;
|
32
32
|
includeSchema?: boolean;
|
33
33
|
includeSource?: boolean;
|
34
|
-
validate?: boolean;
|
35
34
|
treePath?: string;
|
36
35
|
headers?: Record<string, string> | undefined;
|
37
36
|
}): Promise<result.Result<ApiTreeResponse, FetchError>>;
|
@@ -1574,14 +1574,11 @@ var ValApi = /*#__PURE__*/function () {
|
|
1574
1574
|
includeSource = _ref3$includeSource === void 0 ? false : _ref3$includeSource,
|
1575
1575
|
_ref3$treePath = _ref3.treePath,
|
1576
1576
|
treePath = _ref3$treePath === void 0 ? "/" : _ref3$treePath,
|
1577
|
-
_ref3$validate = _ref3.validate,
|
1578
|
-
validate = _ref3$validate === void 0 ? false : _ref3$validate,
|
1579
1577
|
headers = _ref3.headers;
|
1580
1578
|
var params = new URLSearchParams();
|
1581
1579
|
params.set("patch", patch.toString());
|
1582
1580
|
params.set("schema", includeSchema.toString());
|
1583
1581
|
params.set("source", includeSource.toString());
|
1584
|
-
params.set("validate", validate.toString());
|
1585
1582
|
return fetch("".concat(this.host, "/tree/~").concat(treePath, "?").concat(params.toString()), {
|
1586
1583
|
headers: headers
|
1587
1584
|
}).then(function (res) {
|
@@ -1574,14 +1574,11 @@ var ValApi = /*#__PURE__*/function () {
|
|
1574
1574
|
includeSource = _ref3$includeSource === void 0 ? false : _ref3$includeSource,
|
1575
1575
|
_ref3$treePath = _ref3.treePath,
|
1576
1576
|
treePath = _ref3$treePath === void 0 ? "/" : _ref3$treePath,
|
1577
|
-
_ref3$validate = _ref3.validate,
|
1578
|
-
validate = _ref3$validate === void 0 ? false : _ref3$validate,
|
1579
1577
|
headers = _ref3.headers;
|
1580
1578
|
var params = new URLSearchParams();
|
1581
1579
|
params.set("patch", patch.toString());
|
1582
1580
|
params.set("schema", includeSchema.toString());
|
1583
1581
|
params.set("source", includeSource.toString());
|
1584
|
-
params.set("validate", validate.toString());
|
1585
1582
|
return fetch("".concat(this.host, "/tree/~").concat(treePath, "?").concat(params.toString()), {
|
1586
1583
|
headers: headers
|
1587
1584
|
}).then(function (res) {
|
@@ -1572,14 +1572,11 @@ var ValApi = /*#__PURE__*/function () {
|
|
1572
1572
|
includeSource = _ref3$includeSource === void 0 ? false : _ref3$includeSource,
|
1573
1573
|
_ref3$treePath = _ref3.treePath,
|
1574
1574
|
treePath = _ref3$treePath === void 0 ? "/" : _ref3$treePath,
|
1575
|
-
_ref3$validate = _ref3.validate,
|
1576
|
-
validate = _ref3$validate === void 0 ? false : _ref3$validate,
|
1577
1575
|
headers = _ref3.headers;
|
1578
1576
|
var params = new URLSearchParams();
|
1579
1577
|
params.set("patch", patch.toString());
|
1580
1578
|
params.set("schema", includeSchema.toString());
|
1581
1579
|
params.set("source", includeSource.toString());
|
1582
|
-
params.set("validate", validate.toString());
|
1583
1580
|
return fetch("".concat(this.host, "/tree/~").concat(treePath, "?").concat(params.toString()), {
|
1584
1581
|
headers: headers
|
1585
1582
|
}).then(function (res) {
|