-
-
Notifications
You must be signed in to change notification settings - Fork 38
docs: permission checker documentation #303
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe recent documentation updates across various files mainly enhance clarity and introduce new functionalities. Key changes include the introduction of the Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional Context UsedLanguageTool (8)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
Out of diff range and nitpick comments (3)
docs/reference/runtime-api.md (3)
Line range hint
69-69: Consider rephrasing to "By default, all enhancements are applied." for clarity and grammatical correctness.- By default all enhancements are applied. + By default, all enhancements are applied.
Line range hint
70-70: Consider using a more assertive verb such as "ensure" instead of "make sure" to strengthen the documentation.- so please make sure you [turn that level on] + so please ensure you [turn that level on]
Line range hint
11-11: Adjust the heading level from h3 to h2 to maintain a proper incremental sequence in the document structure.- ### enhance + ## enhance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 8
Out of diff range and nitpick comments (6)
docs/reference/error-handling.md (1)
Line range hint
29-37: Adjust the indentation of the unordered list for consistency.- - `reason` - A string field indicating the detailed reason of the rejection. Its value can be one of the following: - - *ACCESS_POLICY_VIOLATION* - CRUD failed because of access policy violation. - - *RESULT_NOT_READABLE* - CRUD succeeded but the result was not readable (violating "read" access policies). - - *DATA_VALIDATION_VIOLATION* - CRUD failed because of a [data validation](./zmodel-language#data-validation) error. + - `reason`: A string field indicating the detailed reason of the rejection. Its value can be one of the following: + - *ACCESS_POLICY_VIOLATION*: CRUD failed because of access policy violation. + - *RESULT_NOT_READABLE*: CRUD succeeded but the result was not readable (violating "read" access policies). + - *DATA_VALIDATION_VIOLATION*: CRUD failed because of a [data validation](./zmodel-language#data-validation) error.docs/reference/plugins/tanstack-query.mdx (5)
Line range hint
16-16: Correct the spelling of "checkout" to "check out" to use it as a verb.- please checkout the + please check out the
Line range hint
184-184: Change "Todo" to "To-do" to correctly spell the noun form.- fully functional Todo app example + fully functional To-do app example
Line range hint
295-295: Correct the usage of "otherwise" to improve readability.- by Vite, otherwise you'll encounter errors when the SvelteKit server renders the app. + by Vite; otherwise, you'll encounter errors when the SvelteKit server renders the app.
Line range hint
442-442: Correct the verb form of "opt-in".- mutation hooks allow you to opt-in to "automatic optimistic update" + mutation hooks allow you to opt in to "automatic optimistic update"
Line range hint
466-466: Correct the verb form of "opt-out".- You can opt-out on a per-query basis + You can opt out on a per-query basis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Out of diff range and nitpick comments (7)
docs/upgrade.md (7)
Line range hint
16-16: Consider using a stronger adjective than "deeper" to emphasize the extent of the problems being addressed.
Line range hint
24-24: Correct the verb form for better grammatical accuracy: change "allows" to "allow".- Polymorphic relations allows you to model relations + Polymorphic relations allow you to model relations
Line range hint
82-82: Consider using a synonym for "in many cases" to enhance the writing style.
Line range hint
105-106: Fix the unpaired quotation marks in the image source paths.- light: useBaseUrl('/img/zmodel-format-light.png'), - dark: useBaseUrl('/img/zmodel-format-dark.png'), + light: useBaseUrl('/img/zmodel-format-light.png'), + dark: useBaseUrl('/img/zmodel-format-dark.png'),
Line range hint
217-217: Correct the article usage: change "an" to "a" before "compile-time error".- You'll get an compile-time error if you pass an `user` object without the `role` field: + You'll get a compile-time error if you pass an `user` object without the `role` field:
Line range hint
248-248: Remove the repeated word "to" and consider using a stronger verb than "make sure".- Please make sure not to mix manually created files with the generated ones to to avoid data loss. + Please ensure not to mix manually created files with the generated ones to avoid data loss.
Line range hint
200-200: Remove unnecessary trailing spaces.-
Summary by CodeRabbit