Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema reference #141

Merged
merged 7 commits into from
Nov 26, 2024
Merged

Schema reference #141

merged 7 commits into from
Nov 26, 2024

Conversation

tomfrew
Copy link
Contributor

@tomfrew tomfrew commented Sep 21, 2024

  • Schema reference doc that focused on the DSL syntax in a single page.
  • Draft function SDK reference. Not sure if this is too much of a duplication of existing pages

Copy link

vercel bot commented Sep 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 5:51pm

@@ -301,3 +301,346 @@ The important thing here is the **“for each”** part of the last two steps. B
## Functions

Permission rules apply to both built-in actions and functions, and you can add permission rules to specific functions too. The only exception to this is for `read` and `write` functions - schema defined permission rules do not apply to these functions and so you must implement any permissions logic in your code. See the docs on [custom functions](/functions#permissions) for more info.


### Examples
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glorious! So glad to have more concrete examples of this stuff 🙌

| `@where` | ✓ | ✓ | ✓ | ✓ | ✓ |
| `@orderBy` | | ✓ | | | |
| `@sortable` | | ✓ | | | |
| `@set` | | | ✓ | ✓ | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This table is fantastic!

pages/schema-reference.mdx Outdated Show resolved Hide resolved
pages/schema-reference.mdx Outdated Show resolved Hide resolved
pages/schema-reference.mdx Outdated Show resolved Hide resolved
pages/functions-reference.mdx Outdated Show resolved Hide resolved
pages/functions-reference.mdx Outdated Show resolved Hide resolved
pages/functions-reference.mdx Outdated Show resolved Hide resolved
pages/functions-reference.mdx Outdated Show resolved Hide resolved
pages/functions-reference.mdx Outdated Show resolved Hide resolved
tomfrew and others added 2 commits November 26, 2024 11:28
Remove KeelGTP

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/functions-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/functions-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/functions-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/functions-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>

Update pages/schema-reference.mdx

Co-authored-by: Dave New <[email protected]>
@tomfrew tomfrew merged commit f239262 into main Nov 26, 2024
5 checks passed
@tomfrew tomfrew deleted the ref branch November 26, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants