M Zeeshan
M Zeeshan
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
as queries runs immediately how to call query function inside an event e.g. onClick
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
i have one more question
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
this makes sense and i will use it
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
i c... this one
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
how to?
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
self repetation ?
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
why do i call cron if nobody interact
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
it works... but i dont want to call cron job every minute
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
crons.ts
crons.interval(
'push notification',
{ minutes: 1 }, // every minute
internal.actions.sendNotification,
);
crons.interval(
'push notification',
{ minutes: 1 }, // every minute
internal.actions.sendNotification,
);
27 replies
CCConvex Community
Created by M Zeeshan on 10/4/2024 in #support-community
Schedule function
@ballingt @Hmza at the moment i am executing a cron job for every minute but i know this is not appropriate solution, actually i am practicing web push notification where user gets push notification every minute, after 10 minutes i unsubscribe it auto. in dry code step, i realized why not schedual a function when i am creating subscription instead of executing cron job every minute. here is the working push notifications
27 replies
CCConvex Community
Created by M Zeeshan on 9/25/2024 in #support-community
Disable useQuery hook
3 replies
CCConvex Community
Created by CabalDAO on 9/25/2024 in #support-community
Mapping defined types to other defined types
e.g.
import { Doc } from './_generated/dataModel';
type SkillType = Doc<"skills">['type'];
import { Doc } from './_generated/dataModel';
type SkillType = Doc<"skills">['type'];
9 replies
CCConvex Community
Created by CabalDAO on 9/25/2024 in #support-community
Mapping defined types to other defined types
@CabalDAO have you tried this approach?
status: args.decision as Doc<YOU_SCHEMA_TABLE_NAME>['filed name']
status: args.decision as Doc<YOU_SCHEMA_TABLE_NAME>['filed name']
9 replies
CCConvex Community
Created by kebinnnnn on 9/17/2024 in #support-community
Auth is working in development but getting an error after deploying on Vercel
@kebinnnnn you need to set env variable in convex dashboard
6 replies
CCConvex Community
Created by M Zeeshan on 9/17/2024 in #support-community
Cannot find module dataModel
get error while depoying convex functions in dev mode
3 replies
CCConvex Community
Created by M Zeeshan on 9/17/2024 in #support-community
Cannot find module dataModel
vs code typescript intellisense wroks
3 replies
CCConvex Community
Created by M Zeeshan on 9/17/2024 in #support-community
Authentication in paginated query
❤️
58 replies
CCConvex Community
Created by M Zeeshan on 9/17/2024 in #support-community
Authentication in paginated query
@Hmza i know there is getPage helper and i'v read "take control of pagination'. what i did in my gist is copy/paste original hook and only added data variable. all optimizations by convex team are there!
58 replies
CCConvex Community
Created by M Zeeshan on 9/17/2024 in #support-community
Authentication in paginated query
it returns extra data passed from server in data variable and it gets overridden returned from last page
58 replies
CCConvex Community
Created by M Zeeshan on 9/17/2024 in #support-community
Authentication in paginated query
58 replies