Skip to content

Commit 627feef

Browse files
authored
docs: Small Documentation Typos (#3243)
1 parent aea8d1c commit 627feef

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/api/schema/typebox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const messageQueryProperties = Type.Pick(messageSchema, ['id', 'text', 'createdA
108108
})
109109
const messageQuerySchema = Type.Intersect(
110110
[
111-
// This will additioanlly allow querying for `{ name: { $ilike: 'Dav%' } }`
111+
// This will additionally allow querying for `{ name: { $ilike: 'Dav%' } }`
112112
querySyntax(messageQueryProperties, {
113113
name: {
114114
$ilike: Type.String()
@@ -542,7 +542,7 @@ The sections of this format are described as follows:
542542
###### `iso-date-time`
543543

544544
```ts
545-
Type.String({ format: 'date-time' })
545+
Type.String({ format: 'iso-date-time' })
546546
```
547547

548548
Validates against the [date-time](https://www.rfc-editor.org/rfc/rfc3339#section-5.6) described in RFC3339/ISO8601, which is the following format:

docs/guides/cli/service.schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const messageDataValidator = getValidator(messageDataSchema, dataValidato
7171
export const messageDataResolver = resolve<Message, HookContext>({})
7272
```
7373

74-
### Patch schema and resolvers
74+
## Patch schema and Resolvers
7575

7676
The patch schema is used for updating existing entries calling [service.patch](../../api/services.md#patchid-data-params). This is often different then the data schema for new entries and by default is a partial of the [main schema](#main-schemas-and-resolvers).
7777

0 commit comments

Comments
 (0)