Skip to content

Commit 8cecc05

Browse files
authored
Document boolean type (#19)
1 parent b41a091 commit 8cecc05

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

changelog.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ breaking changes.
2020

2121

2222

23-
## \[0.3.18\] - 2022-12-30
23+
## \[0.3.18\] - 2023-01-05
2424

2525
### Added
2626

27-
- All fields are now indexed by default. This means that all fields can be queried and sorted without defining an explicit index.
27+
- All fields are now indexed by default. This means that all fields can be queried and sorted without defining an explicit index
28+
- Added `boolean` type to Polylang
2829

2930

3031
## \[0.3.16\] - 2022-12-30

collections.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,17 @@ collection CollectionName {
111111
}
112112
```
113113

114-
<Info>Additional types such as arrays, maps and dates will be added soon.</Info>
114+
#### Field Types
115+
116+
The following types are supported:
117+
118+
- `string`
119+
- `number`
120+
- `boolean`
121+
- `string[]`, `number[]` and `boolean[]`
122+
- `map<string | number, T>`
123+
124+
<Info>Additional types such as dates will be added soon.</Info>
115125

116126
#### Optional Fields
117127

0 commit comments

Comments
 (0)