From 822d30b2070a20ca1361ff5e552c11e61411a5cd Mon Sep 17 00:00:00 2001 From: Si Taggart Date: Tue, 3 Oct 2023 10:40:10 -0700 Subject: [PATCH] chore: missing typedocs --- .../components/data-grid/type-docs.json | 24 +++++++++---------- .../check-uncommited-type.sh | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/paste-core/components/data-grid/type-docs.json b/packages/paste-core/components/data-grid/type-docs.json index 962358ed6e..166bd8ea29 100644 --- a/packages/paste-core/components/data-grid/type-docs.json +++ b/packages/paste-core/components/data-grid/type-docs.json @@ -3276,18 +3276,6 @@ } }, "DataGridRow": { - "role": { - "type": "string", - "defaultValue": null, - "required": true, - "externalProp": false - }, - "striped": { - "type": "boolean", - "defaultValue": null, - "required": true, - "externalProp": false - }, "about": { "type": "string", "defaultValue": null, @@ -4797,6 +4785,12 @@ "required": false, "externalProp": true }, + "role": { + "type": "string", + "defaultValue": null, + "required": false, + "externalProp": false + }, "security": { "type": "string", "defaultValue": null, @@ -4822,6 +4816,12 @@ "required": false, "externalProp": true }, + "striped": { + "type": "boolean", + "defaultValue": null, + "required": false, + "externalProp": false + }, "suppressContentEditableWarning": { "type": "boolean", "defaultValue": null, diff --git a/tools/build/generate-type-docs/check-uncommited-type.sh b/tools/build/generate-type-docs/check-uncommited-type.sh index c185004fa7..bd78f76555 100644 --- a/tools/build/generate-type-docs/check-uncommited-type.sh +++ b/tools/build/generate-type-docs/check-uncommited-type.sh @@ -5,7 +5,7 @@ MODIFIED_FILES=$(git status --porcelain | grep "^ M.*type-docs.json$" | awk '{pr # If there are any modified files, exit with a non-zero status code if [ -n "$MODIFIED_FILES" ]; then - echo "Error: The following type-docs.json files have been modified but not committed:" + echo "Error: The following type-docs.json files have been modified but not committed, run 'yarn build:typedocs' to update:" echo "$MODIFIED_FILES" exit 1 fi