Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update @fadroma/schema to 1.1.0 #342

Merged
merged 2 commits into from
Sep 8, 2023
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
3 changes: 2 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ find contracts/*/schema -type f -maxdepth 1 -name '*.json' \
mkdir -p $DOCS_FOLDER

for SCHEMA in $(ls $SCHEMA_FOLDER); do
echo "Rendering $SCHEMA..."
awk "{sub(\"#/definitions\",\"./${SCHEMA}/#/definitions\")} {print}" ${SCHEMA_FOLDER}/${SCHEMA} > ${SCHEMA_FOLDER}/tmp

npx --yes @fadroma/schema@1.0.6 ${SCHEMA_FOLDER}/tmp > "${SCHEMA%.json}.md"
npx --yes @fadroma/schema@1.1.0 ${SCHEMA_FOLDER}/tmp > "${SCHEMA%.json}.md"

mv "${SCHEMA%.json}.md" "docs/${SCHEMA%.json}.md"
done
Expand Down
6 changes: 5 additions & 1 deletion docs/okp4-cognitarium.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,8 @@ Represents a condition in a [WhereClause].

|variant|description|
|-------|-----------|
|[Simple](#simple)|**object**. Represents a simple condition.|
|[Simple](#simple)|**object**. Represents a simple condition.|

---

*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `tmp` (`9967756b93791148`)*
6 changes: 5 additions & 1 deletion docs/okp4-law-stone.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,8 @@ A string containing Base64-encoded data.
|property|description|
|----------|-----------|
|`arguments`|*(Required.) * **Array<[Term](#term)>**. |
|`name`|*(Required.) * **string**. |
|`name`|*(Required.) * **string**. |

---

*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `tmp` (`20c06a648259a4b3`)*
6 changes: 5 additions & 1 deletion docs/okp4-objectarium.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,8 @@ A string containing a 128-bit integer in decimal representation.

|type|
|----|
|**string**.|
|**string**.|

---

*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `tmp` (`8624f6ec32a56a5d`)*
Loading