rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,7 @@
---
description: Applies general rules for Convex development, emphasizing schema design, validator usage, and correct handling of system fields.
globs: **/convex/**/*.*
---
- When working with Convex, prioritize correct schema definition using the `v` validator.
- Be aware of the automatically-generated system fields `_id` and `_creationTime`.
- See https://docs.convex.dev/database/types for available types.
@@ -0,0 +1,6 @@
---
description: Provides guidance on using built-in system fields and data types when defining Convex schemas to ensure proper data handling.
globs: **/convex/schema.ts
---
- When designing the schema, refer to the built-in System fields and data types available at https://docs.convex.dev/database/types.
- Pay special attention to the correct usage of the `v` validator builder (https://docs.convex.dev/api/modules/values#v) for defining schema types.
@@ -0,0 +1,6 @@
---
description: Instructs developers to follow the patterns demonstrated in the example schema provided, paying attention to index creation and field validation using `v`.
globs: **/convex/schema.ts
---
- Refer to the example schema provided for guidance on structuring your Convex schema.
- Pay attention to index creation using `.index()` and field validation using `v`.
@@ -0,0 +1,6 @@
---
description: Enforces the understanding that Convex automatically handles system fields (_id, _creationTime) and that manual index creation for these fields is unnecessary.
globs: **/convex/schema.ts
---
- Understand that Convex automatically generates system fields `_id` and `_creationTime` for every document.
- Do not manually add indices for `_id` and `_creationTime` as they are added automatically.