Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
testTimeout: 60000,
testTimeout: 240000,
testMatch: ["**/*.test.ts"],
transformIgnorePatterns: [
"/packages/cma-client-node/node_modules/(?!(got|p-cancelable|@szmarczak|lowercase-keys)/)",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "4.0.2"
"version": "5.0.0"
}
6 changes: 3 additions & 3 deletions packages/cma-client-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datocms/cma-client-browser",
"version": "4.0.2",
"version": "5.0.0",
"description": "Browser client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
Expand Down Expand Up @@ -28,8 +28,8 @@
"url": "git+https://github.com/datocms/js-rest-api-clients.git"
},
"dependencies": {
"@datocms/cma-client": "^4.0.2",
"@datocms/rest-client-utils": "^4.0.2"
"@datocms/cma-client": "^5.0.0",
"@datocms/rest-client-utils": "^5.0.0"
},
"scripts": {
"build": "tsc && tsc --project ./tsconfig.esnext.json && ts-node ./esbuild.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/cma-client-node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/cma-client-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datocms/cma-client-node",
"version": "4.0.2",
"version": "5.0.0",
"description": "NodeJS client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
Expand Down Expand Up @@ -28,13 +28,13 @@
"url": "git+https://github.com/datocms/js-rest-api-clients.git"
},
"dependencies": {
"@datocms/cma-client": "^4.0.2",
"@datocms/rest-client-utils": "^4.0.2",
"@datocms/cma-client": "^5.0.0",
"@datocms/rest-client-utils": "^5.0.0",
"mime-types": "^2.1.35",
"tmp-promise": "^3.0.3"
},
"devDependencies": {
"@datocms/dashboard-client": "^4.0.2",
"@datocms/dashboard-client": "^5.0.0",
"@types/mime-types": "^2.1.1",
"@types/tmp": "^0.2.3",
"datocms-structured-text-utils": "^2.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/cma-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/cma-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datocms/cma-client",
"version": "4.0.2",
"version": "5.0.0",
"description": "JS client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
Expand Down Expand Up @@ -37,11 +37,11 @@
"url": "https://github.com/datocms/js-rest-api-clients/issues"
},
"dependencies": {
"@datocms/rest-client-utils": "^4.0.2",
"@datocms/rest-client-utils": "^5.0.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@datocms/dashboard-client": "^4.0.2",
"@datocms/dashboard-client": "^5.0.0",
"@types/uuid": "^9.0.7"
},
"gitHead": "ac4164968026ba62a2841d31d2b60c31eadb2cc8"
Expand Down
8 changes: 8 additions & 0 deletions packages/cma-client/src/generated/SchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7305,6 +7305,10 @@ export type ItemMeta = {
* Workflow stage in which the item is
*/
stage: null | string;
/**
* When the records can be organized in a tree, indicates whether the record has children
*/
has_children: null | boolean;
};

/**
Expand Down Expand Up @@ -7562,6 +7566,10 @@ export type ItemUpdateSchema = {
* The new stage to move the record to
*/
stage?: string | null;
/**
* Whether the record has children or not
*/
has_children?: null | boolean;
};
relationships?: {
/**
Expand Down
8 changes: 8 additions & 0 deletions packages/cma-client/src/generated/SimpleSchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7464,6 +7464,10 @@ export type ItemMeta = {
* Workflow stage in which the item is
*/
stage: null | string;
/**
* When the records can be organized in a tree, indicates whether the record has children
*/
has_children: null | boolean;
};

/**
Expand Down Expand Up @@ -7653,6 +7657,10 @@ export type ItemUpdateSchema = {
* The new stage to move the record to
*/
stage?: string | null;
/**
* Whether the record has children or not
*/
has_children?: null | boolean;
};
[k: string]: unknown;
};
Expand Down
4 changes: 2 additions & 2 deletions packages/dashboard-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datocms/dashboard-client",
"version": "4.0.2",
"version": "5.0.0",
"description": "JS client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
Expand Down Expand Up @@ -37,7 +37,7 @@
"url": "https://github.com/datocms/js-rest-api-clients/issues"
},
"dependencies": {
"@datocms/rest-client-utils": "^4.0.2"
"@datocms/rest-client-utils": "^5.0.0"
},
"gitHead": "ac4164968026ba62a2841d31d2b60c31eadb2cc8"
}
2 changes: 1 addition & 1 deletion packages/rest-api-events/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/rest-api-events/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datocms/rest-api-events",
"version": "4.0.2",
"version": "5.0.0",
"description": "Utilities to receive real-time events from DatoCMS REST APIs",
"keywords": [
"datocms",
Expand Down Expand Up @@ -39,8 +39,8 @@
"pusher-js": "^7.0.6"
},
"devDependencies": {
"@datocms/cma-client": "^4.0.2",
"@datocms/dashboard-client": "^4.0.2"
"@datocms/cma-client": "^5.0.0",
"@datocms/dashboard-client": "^5.0.0"
},
"gitHead": "ac4164968026ba62a2841d31d2b60c31eadb2cc8"
}
2 changes: 1 addition & 1 deletion packages/rest-client-utils/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/rest-client-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@datocms/rest-client-utils",
"version": "4.0.2",
"version": "5.0.0",
"description": "Utilities for DatoCMS REST API clients",
"keywords": [
"datocms",
Expand Down