-
Create a new file:
.ai/status/YYYY-MM-DD.md
-
Structure the update with sections:
- Development Steps
- Key Decisions
- Next Steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convex Ents | |
Convex Ents are an ergonomic layer on top of the [Convex](https://convex.dev) | |
built-in [`ctx.db`](https://docs.convex.dev/database) API for reading from and | |
writing to the database. | |
Convex Ents: | |
1. Build upon the relational capabilities of the database to provide an easier | |
way to query related documents. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: Guidelines and best practices for building Convex projects with Convex Ents, including database schema design, queries, mutations, and real-world examples | |
globs: **/*.ts,**/*.tsx | |
alwaysApply: false | |
--- | |
# Convex guidelines (with Convex Ents) | |
## Authentication & Functions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"permissions": { | |
"allow": ["Bash", "Edit", "mcp__task_master_ai__*"] | |
}, | |
"enableAllProjectMcpServers": true, | |
"hooks": { | |
"Notification": [ | |
{ | |
"matcher": "", | |
"hooks": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { useMounted } from "@/hooks/use-mounted"; | |
import { cn } from "@/lib/utils"; | |
export function Skeleton({ className, ...props }: React.ComponentProps<"div">) { | |
return ( | |
<div | |
className={cn("animate-pulse rounded-md bg-muted", className)} | |
{...props} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// eslint-plugin-array-methods/rules/prefer-array-immutable-methods.js | |
module.exports = { | |
create: function (context) { | |
return { | |
CallExpression(node) { | |
const sourceCode = context.getSourceCode() | |
if (node.callee.type !== 'MemberExpression') return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { ZodSchema } from 'zod'; | |
import { parseSchema } from '@/lib/schemas/parseSchema'; | |
/** Get a response with a file to download */ | |
export const getFileResponse = <T>({ | |
file, | |
filename, | |
schema, | |
}: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client'; | |
import * as React from 'react'; | |
import type { DataTableFilterField } from '@/components/ui/data-table/data-table.types'; | |
import { | |
type ColumnDef, | |
type ColumnFiltersState, | |
type PaginationState, |
NewerOlder