Skip to content

Commit

Permalink
Merge pull request #342 from hackbg/main
Browse files Browse the repository at this point in the history
chore: update @fadroma/schema to 1.1.0
  • Loading branch information
amimart authored Sep 8, 2023
2 parents 296c61a + c80889d commit b669c07
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
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`)*

0 comments on commit b669c07

Please sign in to comment.