feat: add ratelimit model support in API and data model definitions, enhancing rate limiting functionality

This commit is contained in:
2025-12-14 20:56:27 -03:00
parent 67b2091d96
commit b76c308aab
2 changed files with 115 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ export type Doc<TableName extends TableNames> = DocumentByName<
* Convex documents are uniquely identified by their `Id`, which is accessible
* on the `_id` field. To learn more, see [Document IDs](https://docs.convex.dev/using/document-ids).
*
* Documents can be loaded using `db.get(tableName, id)` in query and mutation functions.
* Documents can be loaded using `db.get(id)` in query and mutation functions.
*
* IDs are just strings at runtime, but this type can be used to distinguish them from other
* strings when type checking.