Skip to content

Commit

Permalink
Add site.meta.require_2fa
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Apr 12, 2024
1 parent 2dbf483 commit e8de2c0
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 50 deletions.
10 changes: 2 additions & 8 deletions packages/cma-client-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@datocms/cma-client-browser",
"version": "3.1.10",
"description": "Browser client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
"client"
],
"keywords": ["datocms", "client"],
"author": "Stefano Verna <[email protected]>",
"homepage": "https://github.com/datocms/js-rest-api-clients/tree/main/packages/cma-client-browser#readme",
"license": "MIT",
Expand All @@ -16,10 +13,7 @@
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist",
"src"
],
"files": ["dist", "src"],
"publishConfig": {
"access": "public"
},
Expand Down
10 changes: 2 additions & 8 deletions packages/cma-client-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@datocms/cma-client-node",
"version": "3.1.10",
"description": "NodeJS client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
"client"
],
"keywords": ["datocms", "client"],
"author": "Stefano Verna <[email protected]>",
"homepage": "https://github.com/datocms/js-rest-api-clients/tree/main/packages/cma-client-node#readme",
"license": "MIT",
Expand All @@ -16,10 +13,7 @@
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist",
"src"
],
"files": ["dist", "src"],
"publishConfig": {
"access": "public"
},
Expand Down
11 changes: 2 additions & 9 deletions packages/cma-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@datocms/cma-client",
"version": "3.1.10",
"description": "JS client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
"client"
],
"keywords": ["datocms", "client"],
"author": "Stefano Verna <[email protected]>",
"homepage": "https://github.com/datocms/js-rest-api-clients/tree/main/packages/cma-client#readme",
"license": "MIT",
Expand All @@ -17,11 +14,7 @@
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist",
"src",
"resources.json"
],
"files": ["dist", "src", "resources.json"],
"publishConfig": {
"access": "public"
},
Expand Down
11 changes: 2 additions & 9 deletions packages/dashboard-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@datocms/dashboard-client",
"version": "3.1.10",
"description": "JS client for DatoCMS REST Content Management API",
"keywords": [
"datocms",
"client"
],
"keywords": ["datocms", "client"],
"author": "Stefano Verna <[email protected]>",
"homepage": "https://github.com/datocms/js-rest-api-clients/tree/main/packages/cma-client#readme",
"license": "MIT",
Expand All @@ -17,11 +14,7 @@
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist",
"src",
"resources.json"
],
"files": ["dist", "src", "resources.json"],
"publishConfig": {
"access": "public"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/dashboard-client/src/generated/SchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,10 @@ export type SiteMeta = {
* Site status
*/
status: string;
/**
* True if the site requires 2FA to enter
*/
require_2fa: boolean;
owner:
| {
/**
Expand Down
4 changes: 4 additions & 0 deletions packages/dashboard-client/src/generated/SimpleSchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1444,6 +1444,10 @@ export type SiteMeta = {
* Site status
*/
status: string;
/**
* True if the site requires 2FA to enter
*/
require_2fa: boolean;
owner:
| {
/**
Expand Down
10 changes: 2 additions & 8 deletions packages/rest-api-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@datocms/rest-api-events",
"version": "3.1.10",
"description": "Utilities to receive real-time events from DatoCMS REST APIs",
"keywords": [
"datocms",
"client"
],
"keywords": ["datocms", "client"],
"author": "Stefano Verna <[email protected]>",
"homepage": "https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-events#readme",
"license": "MIT",
Expand All @@ -17,10 +14,7 @@
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist",
"src"
],
"files": ["dist", "src"],
"publishConfig": {
"access": "public"
},
Expand Down
10 changes: 2 additions & 8 deletions packages/rest-client-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "@datocms/rest-client-utils",
"version": "3.1.10",
"description": "Utilities for DatoCMS REST API clients",
"keywords": [
"datocms",
"client"
],
"keywords": ["datocms", "client"],
"author": "Stefano Verna <[email protected]>",
"homepage": "https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-client-utils#readme",
"license": "MIT",
Expand All @@ -17,10 +14,7 @@
"lib": "dist",
"test": "__tests__"
},
"files": [
"dist",
"src"
],
"files": ["dist", "src"],
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit e8de2c0

Please sign in to comment.