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,5 +1,5 @@
import Flow from '../../src/models/flow';
import { createUser } from './user';
import Flow from '../../src/models/flow.js';
import { createUser } from './user.js';
export const createFlow = async (params = {}) => {
params.userId = params?.userId || (await createUser()).id;