interface JobsService {
    create(job: Job): Promise<SavedJob>;
    findById(
        id: string,
        listQueryOptions?: ListQueryOptions<SavedJob>,
    ): Promise<null | SavedJob>;
    findByUserId(userId: string): Promise<null | SavedJob>;
    list(
        query?: FilterQuery<Job>,
        listQueryOptions?: ListQueryOptions<Job>,
    ): Promise<SavedJob[]>;
    updateById(id: string, job: Partial<Job>): Promise<null | SavedJob>;
}

Methods