Skip to content

Commit 6235f38

Browse files
chore: version packages (#228)
* chore: version packages * Update docs --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Anar Kafkas <anarkafkas@gmail.com>
1 parent 96a90bb commit 6235f38

7 files changed

Lines changed: 557 additions & 12 deletions

File tree

.changeset/modern-parrots-search.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.18.0
4+
5+
### Minor Changes
6+
7+
- 96a90bb: Add Firestore `document-reference` schema support, including optional target-model narrowing in generated TypeScript and Zod types, schema validation for referenced models, and integration coverage across TypeScript, Zod, Python, and Swift.
8+
39
## 0.17.0
410

511
### Minor Changes

docs/schema/definition.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Example values:
5353
### Example
5454

5555
```yaml user.yml
56-
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
56+
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json
5757

5858
User:
5959
model: document
@@ -89,7 +89,7 @@ An alias model is used for convenience purposes to define reusable type aliases.
8989
### Example
9090

9191
```yaml user.yml
92-
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
92+
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json
9393
9494
UserRole:
9595
model: alias
@@ -113,7 +113,7 @@ UserRole:
113113
of each definition file.
114114

115115
```yaml
116-
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
116+
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json
117117
```
118118

119119
This indicates to your IDE that the file is not just any YAML file but a part of a Typesync definition by linking it to the relevant JSON Schema.. This will allow your IDE to provide Intellisense/autocomplete for definition fields.
@@ -133,7 +133,7 @@ UserRole:
133133

134134
```json
135135
{
136-
"$schema": "https://schema.typesync.org/v0.16.json"
136+
"$schema": "https://schema.typesync.org/v0.18.json"
137137
// ...
138138
}
139139
```

docs/snippets/example-definition-graph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
```yaml models.yml
2-
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
2+
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json
33

44
Author:
55
model: document

docs/snippets/example-definition.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
```yaml models.yml
2-
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
2+
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json
33

44
UserRole:
55
model: alias

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typesync-cli",
3-
"version": "0.17.0",
3+
"version": "0.18.0",
44
"description": "Schema-first Firestore tooling for types, validation, and visualization",
55
"keywords": [
66
"typesync",

public/v0.18.json

Lines changed: 544 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)