Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions docs/modeling/custom-proc.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import AvailableSince from '../_components/AvailableSince';

# Custom Procedure

> This amazing feature is implemented by [Mike Willbanks
](https://github.com/mwillbanks).

<PreviewFeature name="Custom procedure" />

<AvailableSince version="v3.2.0" />
Expand Down
4 changes: 4 additions & 0 deletions docs/orm/api/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ The `find` series of APIs are used to query records from the database. It has th

Similar to `findFirst`, but throws an error if no record is found.

- `exists`

Check if any record exists that matches the query criteria. More performant than using `findFirst` or `count`.

## Basic usage

<StackBlitzGithub repoPath="zenstackhq/v3-doc-orm" openFile="find/basic.ts" startScript="generate,find:basic" />
Expand Down
3 changes: 3 additions & 0 deletions docs/orm/custom-proc.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import AvailableSince from '../_components/AvailableSince';

# Custom Procedures

> This amazing feature is implemented by [Mike Willbanks
](https://github.com/mwillbanks).

<PreviewFeature name="Custom procedure" />

<AvailableSince version="v3.2.0" />
Expand Down
9 changes: 9 additions & 0 deletions docs/recipe/trpc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar_position: 5
---

# Using ZenStack With tRPC

In previous versions of ZenStack, [tRPC](https://trpc.io) integration was provided as a built-in package. For v3, it is now maintained by the community at [`zenstack-trpc`](https://github.com/olup/zenstack-trpc). This shift allows the core team to focus development resources on the essential components while the community contributes specialized integrations. Please check its GitHub repo for documentation.

Special thanks to [Olup](https://github.com/olup) for building and maintaining this amazing implementation!
1 change: 1 addition & 0 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Options:
--schema <file> schema file (with extension .zmodel). Defaults to "zenstack/schema.zmodel" unless
specified in package.json.
-o, --output <path> default output directory for code generation
-w, --watch watch for changes and re-generate automatically
--lite also generate a lite version of schema without attributes
--lite-only only generate lite version of schema without attributes
--silent suppress all output except errors (default: false)
Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} ZenStack, Inc.`,
},

image: '/img/social-cover-xmas.png',
image: '/img/social-cover.png',

prism: {
theme: prismThemes.github,
Expand Down