We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/// @@allow('create', true) /// @@allow('read', spaces?[space.members?[user == auth()]]) /// @@allow('all', auth() == this) /// My model for a user model User { id String @id() @default(uuid()) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt() /// @email email String @unique() emailVerified DateTime? /// @password /// @omit password String? name String? spaces SpaceUser[] /// @url image String? /// @json profile Json? lists List[] todos Todo[] accounts Account[] }
The text was updated successfully, but these errors were encountered:
fix(zmodel): prefer to use triple-slash comments as ZModel documentation
9ebfcf8
fixes #1816
No branches or pull requests
The text was updated successfully, but these errors were encountered: