refactor: Use internal namespace for the existing API

This commit is contained in:
Faruk AYDIN
2025-04-17 19:47:03 +02:00
parent 53f0d80c80
commit cddfbad68a
354 changed files with 2275 additions and 2195 deletions

View File

@@ -1,6 +1,6 @@
import { createRole } from './role';
import { createRole } from './role.js';
import { faker } from '@faker-js/faker';
import User from '../../src/models/user';
import User from '../../src/models/user.js';
export const createUser = async (params = {}) => {
params.roleId = params?.roleId || (await createRole()).id;