Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/modern-parrots-search.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.18.0

### Minor Changes

- 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.

## 0.17.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions docs/schema/definition.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Example values:
### Example

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

User:
model: document
Expand Down Expand Up @@ -89,7 +89,7 @@ An alias model is used for convenience purposes to define reusable type aliases.
### Example

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

UserRole:
model: alias
Expand All @@ -113,7 +113,7 @@ UserRole:
of each definition file.

```yaml
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json
```

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.
Expand All @@ -133,7 +133,7 @@ UserRole:

```json
{
"$schema": "https://schema.typesync.org/v0.16.json"
"$schema": "https://schema.typesync.org/v0.18.json"
// ...
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/example-definition-graph.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```yaml models.yml
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json

Author:
model: document
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/example-definition.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```yaml models.yml
# yaml-language-server: $schema=https://schema.typesync.org/v0.16.json
# yaml-language-server: $schema=https://schema.typesync.org/v0.18.json

UserRole:
model: alias
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typesync-cli",
"version": "0.17.0",
"version": "0.18.0",
"description": "Schema-first Firestore tooling for types, validation, and visualization",
"keywords": [
"typesync",
Expand Down
544 changes: 544 additions & 0 deletions public/v0.18.json

Large diffs are not rendered by default.

Loading