efiber-prisma-schema 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/index.d.ts +2 -6
  2. package/{index.js → index.ts} +4 -2
  3. package/package.json +21 -7
  4. package/prisma.config.ts +7 -2
  5. package/.github/workflows/main.yml +0 -84
  6. package/prisma/migrations_old/20231209164007_/migration.sql +0 -8
  7. package/prisma/migrations_old/20231209192452_country_table/migration.sql +0 -7
  8. package/prisma/migrations_old/20231209194848_/migration.sql +0 -10
  9. package/prisma/migrations_old/20231209195140_/migration.sql +0 -8
  10. package/prisma/migrations_old/20231209201218_country_update/migration.sql +0 -29
  11. package/prisma/migrations_old/20231209201405_/migration.sql +0 -8
  12. package/prisma/migrations_old/20231209213149_camusat_country/migration.sql +0 -20
  13. package/prisma/migrations_old/20231209221814_platform/migration.sql +0 -26
  14. package/prisma/migrations_old/20231209223246_/migration.sql +0 -16
  15. package/prisma/migrations_old/20231209231721_roles/migration.sql +0 -34
  16. package/prisma/migrations_old/20231210113501_team_and_users/migration.sql +0 -119
  17. package/prisma/migrations_old/20231210181832_user_update/migration.sql +0 -25
  18. package/prisma/migrations_old/20231219121311_add_projects/migration.sql +0 -60
  19. package/prisma/migrations_old/20231219123045_/migration.sql +0 -8
  20. package/prisma/migrations_old/20231219123850_audit/migration.sql +0 -20
  21. package/prisma/migrations_old/20240116090035_/migration.sql +0 -57
  22. package/prisma/migrations_old/20240220085809_emails/migration.sql +0 -82
  23. package/prisma/migrations_old/20240226075734_update_email_config_and_workorder/migration.sql +0 -33
  24. package/prisma/migrations_old/20240227112839_update_email_config/migration.sql +0 -2
  25. package/prisma/migrations_old/20240227124801_work_order_update/migration.sql +0 -6
  26. package/prisma/migrations_old/20250121073034_homogenize_migrations/migration.sql +0 -2481
  27. package/prisma/migrations_old/migration_lock.toml +0 -3
  28. package/prisma/seed.ts +0 -33
  29. package/tsconfig.json +0 -13
@@ -1,3 +0,0 @@
1
- # Please do not edit this file manually
2
- # It should be added in your version-control system (i.e. Git)
3
- provider = "postgresql"
package/prisma/seed.ts DELETED
@@ -1,33 +0,0 @@
1
- import 'dotenv/config'
2
- import { PrismaClient } from '@prisma/client'
3
- import { PrismaPg } from '@prisma/adapter-pg'
4
- import pg from 'pg'
5
-
6
- const pool = new pg.Pool({ connectionString: process.env.DATABASE_URL })
7
- const adapter = new PrismaPg(pool)
8
- const prisma = new PrismaClient({ adapter })
9
-
10
- async function main() {
11
- // Add your seed data here
12
- console.log('Seeding database...')
13
-
14
- // Example:
15
- // await prisma.user.create({
16
- // data: {
17
- // name: 'Test User',
18
- // email: 'test@example.com',
19
- // },
20
- // })
21
-
22
- console.log('Seeding completed!')
23
- }
24
-
25
- main()
26
- .then(async () => {
27
- await prisma.$disconnect()
28
- })
29
- .catch(async (e) => {
30
- console.error(e)
31
- await prisma.$disconnect()
32
- process.exit(1)
33
- })
package/tsconfig.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "ESNext",
4
- "moduleResolution": "Node",
5
- "target": "ES2023",
6
- "strict": true,
7
- "esModuleInterop": true,
8
- "skipLibCheck": true,
9
- "forceConsistentCasingInFileNames": true
10
- },
11
- "include": ["**/*.ts", "**/*.tsx"],
12
- "exclude": ["node_modules", "dist"]
13
- }