fix(prisma): import process and configure types node for seed tsconfig
Some checks failed
Deploy Canina / deploy (push) Failing after 25s

This commit is contained in:
parsa aghaei 2026-08-17 12:06:38 +03:30
parent d4bee0c1e9
commit d8fc57c23d
11 changed files with 44630 additions and 44532 deletions

View File

@ -1,4 +1,5 @@
import { PrismaClient } from '@prisma/client';
import process from 'node:process';
const prisma = new PrismaClient();

View File

@ -4,6 +4,7 @@ import * as path from 'path';
import * as ts from 'typescript';
import * as vm from 'vm';
import * as bcrypt from 'bcryptjs';
import process from 'node:process';
const prisma = new PrismaClient();

View File

@ -3,6 +3,8 @@
"module": "CommonJS",
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true
}
"skipLibCheck": true,
"types": ["node"]
},
"include": ["./**/*.ts"]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_backend_prisma_tsconfig_seed_json", "label": "tsconfig.seed.json", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L1"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "label": "compilerOptions", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L2"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_module", "label": "module", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L3"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_moduleresolution", "label": "moduleResolution", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L4"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_esmoduleinterop", "label": "esModuleInterop", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L5"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_skiplibcheck", "label": "skipLibCheck", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L6"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_types", "label": "types", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L7"}, {"id": "ref_node", "label": "node", "file_type": "concept", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L7"}, {"id": "$graphify-root$_backend_prisma_tsconfig_seed_include", "label": "include", "file_type": "code", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L9"}, {"id": "ref_ts", "label": "./**/*.ts", "file_type": "concept", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L9"}], "edges": [{"source": "$graphify-root$_backend_prisma_tsconfig_seed_json", "target": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "target": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_module", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "target": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_moduleresolution", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "target": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_esmoduleinterop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "target": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_skiplibcheck", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions", "target": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_types", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_compileroptions_types", "target": "ref_node", "relation": "extends", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_json", "target": "$graphify-root$_backend_prisma_tsconfig_seed_include", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_backend_prisma_tsconfig_seed_include", "target": "ref_ts", "relation": "extends", "confidence": "EXTRACTED", "source_file": "backend/prisma/tsconfig.seed.json", "source_location": "L9", "weight": 1.0, "context": "import"}]}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff