@datocms/cma-client
Advanced tools
Comparing version 3.3.10 to 3.3.11
@@ -134,3 +134,3 @@ "use strict"; | ||
var _this = this; | ||
return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.10', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
return (0, rest_client_utils_1.request)(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.11', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -137,0 +137,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
@@ -211,4 +211,4 @@ "use strict"; | ||
type: 'menu_item', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
})).then(function (body) { | ||
@@ -215,0 +215,0 @@ return Utils.deserializeResponseBody(body); |
@@ -211,4 +211,4 @@ "use strict"; | ||
type: 'schema_menu_item', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
})).then(function (body) { | ||
@@ -215,0 +215,0 @@ return Utils.deserializeResponseBody(body); |
@@ -211,4 +211,4 @@ "use strict"; | ||
type: 'upload_collection', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
})).then(function (body) { | ||
@@ -215,0 +215,0 @@ return Utils.deserializeResponseBody(body); |
@@ -108,3 +108,3 @@ var __assign = (this && this.__assign) || function () { | ||
var _this = this; | ||
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.10', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
return request(__assign(__assign(__assign({}, this.config), options), { logFn: this.config.logFn || console.log, userAgent: '@datocms/cma-client v3.3.11', baseUrl: this.baseUrl, preCallStack: new Error().stack, extraHeaders: __assign(__assign(__assign({}, (this.config.extraHeaders || {})), (this.config.environment | ||
? { 'X-Environment': this.config.environment } | ||
@@ -111,0 +111,0 @@ : {})), { 'X-API-Version': '3' }), fetchJobResult: function (jobId) { |
@@ -183,4 +183,4 @@ var __extends = (this && this.__extends) || (function () { | ||
type: 'menu_item', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
})).then(function (body) { | ||
@@ -187,0 +187,0 @@ return Utils.deserializeResponseBody(body); |
@@ -183,4 +183,4 @@ var __extends = (this && this.__extends) || (function () { | ||
type: 'schema_menu_item', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
})).then(function (body) { | ||
@@ -187,0 +187,0 @@ return Utils.deserializeResponseBody(body); |
@@ -183,4 +183,4 @@ var __extends = (this && this.__extends) || (function () { | ||
type: 'upload_collection', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
})).then(function (body) { | ||
@@ -187,0 +187,0 @@ return Utils.deserializeResponseBody(body); |
{ | ||
"name": "@datocms/cma-client", | ||
"version": "3.3.10", | ||
"version": "3.3.11", | ||
"description": "JS client for DatoCMS REST Content Management API", | ||
@@ -44,6 +44,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"@datocms/dashboard-client": "^3.3.10", | ||
"@datocms/dashboard-client": "^3.3.11", | ||
"@types/uuid": "^9.0.7" | ||
}, | ||
"gitHead": "cdd10b11be7e7449b0b9b5f49f296596d8104e44" | ||
"gitHead": "d6814df6db5de375d1f0a1fa9082d3c681c5b79a" | ||
} |
@@ -150,3 +150,3 @@ import { | ||
logFn: this.config.logFn || console.log, | ||
userAgent: '@datocms/cma-client v3.3.10', | ||
userAgent: '@datocms/cma-client v3.3.11', | ||
baseUrl: this.baseUrl, | ||
@@ -153,0 +153,0 @@ preCallStack: new Error().stack, |
@@ -207,4 +207,4 @@ import * as Utils from '@datocms/rest-client-utils'; | ||
type: 'menu_item', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
}), | ||
@@ -211,0 +211,0 @@ ).then((body) => |
@@ -213,4 +213,4 @@ import * as Utils from '@datocms/rest-client-utils'; | ||
type: 'schema_menu_item', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
}, | ||
@@ -217,0 +217,0 @@ ), |
@@ -221,4 +221,4 @@ import * as Utils from '@datocms/rest-client-utils'; | ||
type: 'upload_collection', | ||
attributes: [], | ||
relationships: [], | ||
attributes: ['position'], | ||
relationships: ['parent'], | ||
}, | ||
@@ -225,0 +225,0 @@ ), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
3621265
107150