From 8aa2b0b7aa3792ca343b7020ebcfb2672506c0c8 Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 11 Jan 2022 09:57:47 -0500 Subject: [PATCH] fix(docs): consistency: use 'boolean' everywhere instead of 'bool' --- docs/content/api/legacy.md | 2 +- docs/content/api/models.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/api/legacy.md b/docs/content/api/legacy.md index 0455f76f..b8aa9a91 100644 --- a/docs/content/api/legacy.md +++ b/docs/content/api/legacy.md @@ -49,7 +49,7 @@ A `?` after the column type indicates a nullable parameter (value can be cleared | prefix | string? | Yes | **Deprecated.** Use `proxy_tags` instead. | | suffix | string? | Yes | **Deprecated.** Use `proxy_tags` instead. | | proxy_tags | ProxyTag[] | Yes (entire array) | An array of ProxyTag (see below) objects, each representing a single prefix/suffix pair. | -| keep_proxy | bool | Yes | Whether to display a member's proxy tags in the proxied message. | +| keep_proxy | boolean | Yes | Whether to display a member's proxy tags in the proxied message. | | created | datetime | No | | | privacy | string? | Yes | **Deprecated.** Use `_privacy` and `visibility` fields. | | visibility | string? | Yes | Patching with `private` will set it to private; `public` or `null` will set it to public. | diff --git a/docs/content/api/models.md b/docs/content/api/models.md index 977da123..76a02714 100644 --- a/docs/content/api/models.md +++ b/docs/content/api/models.md @@ -106,9 +106,9 @@ Every PluralKit entity has two IDs: a short (5-character) ID and a longer UUID. |timezone|string|defaults to `UTC`| |pings_enabled|boolean| |latch_timeout|int?| -|member_default_private*|bool|whether members created through the bot have privacy settings set to private by default| -|group_default_private*|bool|whether groups created through the bot have privacy settings set to private by default| -|show_private_info|bool|whether the bot shows the system's own private information without a `-private` flag| +|member_default_private*|boolean|whether members created through the bot have privacy settings set to private by default| +|group_default_private*|boolean|whether groups created through the bot have privacy settings set to private by default| +|show_private_info|boolean|whether the bot shows the system's own private information without a `-private` flag| |member_limit|int|read-only, defaults to 1000| |group_limit|int|read-only, defaults to 250|