Quramy / prisma-fabbrica

Prisma generator to define model factory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add TSDoc to generated functions

Quramy opened this issue · comments

/**
 *
 * Define factory for {@link User} model.
 *
 * @example
 * ```ts
 * const UserFactory = defineUserFactory();
 * 
 * await UserFactory.create();
 * ```
 *
 */
export function defineUserFactory(args: UserFactoryDefineOptions = {}) {
    return defineUserFactoryInternal(args);
}