se supone que volvio
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 54s
build-and-deploy / deploy (push) Successful in 15s

This commit is contained in:
2025-05-30 23:51:22 -06:00
parent 254beb897a
commit 32f2686f14
2108 changed files with 301539 additions and 19567 deletions

View File

@@ -14,8 +14,7 @@
"axios": "^1.9.0",
"pinia": "^3.0.2",
"vue": "^3.5.13",
"vue-router": "^4.5.1",
"@empresa/prisma-schema": "1.0.0"
"vue-router": "^4.5.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.2",

View File

@@ -43,7 +43,20 @@
<script setup lang="ts">
import { PropType } from 'vue'
import { useRouter } from 'vue-router'
import type { Employee } from '@empresa/prisma-schema'
// Define the structure of the employee object based on the Prisma schema
interface Employee {
id: string | number // Changed from BigInt to string | number for easier handling in frontend
name: string
cedula: number // Changed from BigInt
avatar_url?: string
telefono?: string
ubicacion: string
idciat?: string
grupo_estudio?: string
// created_at and updated_at are usually not displayed directly in a summary card
// empleado: boolean // This is implicit as it's an employee card
}
const props = defineProps({
employee: {

View File

@@ -1,23 +0,0 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"jsx": "preserve",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true, // Vite handles emission
// Add Vue-specific options if not in base
"allowJs": true, // If you have JS files too
// Vite projects often use this for path aliases like @/
// The base already has baseUrl: "."
// Paths for @empresa/prisma-schema are inherited from tsconfig.base.json
"paths": {
"@/*": ["src/*"] // Local alias for UI project
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }] // Common for Vite projects
}

View File

@@ -1,12 +0,0 @@
{
"extends": "../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"module": "esnext",
"moduleResolution": "node",
"target": "esnext",
// Specific overrides for Node context if needed
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.js"] // Or .ts if you use TypeScript for Vite config
}