fifth
fifth
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
It's pretty weird, but for now it is not complaining about the submissions.ts anymore. Thank you Tom! I'll update here should there be anything you guys need to be aware of
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
What do you think? It is now showing submissions correctly
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
Oh it does, and it is indeed correct now: / * Generated api utility. * * THIS CODE IS AUTOMATICALLY GENERATED. * * To regenerate, run npx convex dev. * @module */ import type { ApiFromModules, FilterApi, FunctionReference, } from "convex/server"; import type * as answers from "../answers.js"; import type * as auth from "../auth.js"; import type * as http from "../http.js"; import type * as questions from "../questions.js"; import type * as quizzes from "../quizzes.js"; import type * as submissions from "../submissions.js"; import type * as users from "../users.js"; / * A utility for referencing Convex functions in your app's API. * * Usage: *
* const myFunctionReference = api.myModule.myFunction;
*
* const myFunctionReference = api.myModule.myFunction;
*
*/ declare const fullApi: ApiFromModules<{ answers: typeof answers; auth: typeof auth; http: typeof http; questions: typeof questions; quizzes: typeof quizzes; submissions: typeof submissions; users: typeof users; }>; export declare const api: FilterApi< typeof fullApi, FunctionReference<any, "public"> >; export declare const internal: FilterApi< typeof fullApi, FunctionReference<any, "internal"> >;
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
Here is the result if I run ls convex/ ls convex/ README.md questions.ts _generated quizzes.ts answers.ts schema.ts auth.config.ts submissions.ts auth.ts tsconfig.json http.ts users.ts I'm not quite sure what's happening in here 😢
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
It's importing as submission after running the command 😅
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
Here is what it says after I run npx convex codegen --typecheck=disable: / * Generated api utility. * * THIS CODE IS AUTOMATICALLY GENERATED. * * To regenerate, run npx convex dev. * @module */ import type { ApiFromModules, FilterApi, FunctionReference, } from "convex/server"; import type * as auth from "../auth.js"; import type * as http from "../http.js"; import type * as questions from "../questions.js"; import type * as quizzes from "../quizzes.js"; import type * as submission from "../submissions.js"; import type * as users from "../users.js"; / * A utility for referencing Convex functions in your app's API. * * Usage: *
* const myFunctionReference = api.myModule.myFunction;
*
* const myFunctionReference = api.myModule.myFunction;
*
*/ declare const fullApi: ApiFromModules<{ auth: typeof auth; http: typeof http; questions: typeof questions; quizzes: typeof quizzes; submission: typeof submission; users: typeof users; }>; export declare const api: FilterApi< typeof fullApi, FunctionReference<any, "public"> >; export declare const internal: FilterApi< typeof fullApi, FunctionReference<any, "internal"> >;
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
It does says in here that it is submisisons.ts
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
Hi Tom! I'm sorry the notification to this thread got away from my attention somehow... But this is what it looks like: / * Generated api utility. * * THIS CODE IS AUTOMATICALLY GENERATED. * * To regenerate, run npx convex dev. * @module */ import type { ApiFromModules, FilterApi, FunctionReference, } from "convex/server"; import type * as auth from "../auth.js"; import type * as http from "../http.js"; import type * as questions from "../questions.js"; import type * as quizzes from "../quizzes.js"; import type * as submission from "../submissions.js"; import type * as users from "../users.js"; / * A utility for referencing Convex functions in your app's API. * * Usage: *
* const myFunctionReference = api.myModule.myFunction;
*
* const myFunctionReference = api.myModule.myFunction;
*
*/ declare const fullApi: ApiFromModules<{ auth: typeof auth; http: typeof http; questions: typeof questions; quizzes: typeof quizzes; submission: typeof submission; users: typeof users; }>; export declare const api: FilterApi< typeof fullApi, FunctionReference<any, "public"> >; export declare const internal: FilterApi< typeof fullApi, FunctionReference<any, "internal"> >;
18 replies
CCConvex Community
Created by fifth on 11/13/2024 in #support-community
VSCode keeps showing an error on functional Convex API Call
No description
18 replies
CCConvex Community
Created by fifth on 11/11/2024 in #general
Using Convex with Vercel | Convex Develo...
Thank you!
5 replies
CCConvex Community
Created by fifth on 11/11/2024 in #general
Using Convex with Vercel | Convex Develo...
Thanks Hmza!
5 replies
CCConvex Community
Created by fifth on 11/11/2024 in #general
Using Convex with Vercel | Convex Develo...
Oh, I think we just resolved it. It was probably an error on Vercel side
5 replies