Skip to content

Commit 8d17205

Browse files
committed
fix: finance client
1 parent 81db939 commit 8d17205

1 file changed

Lines changed: 0 additions & 38 deletions

File tree

packages/finance-prisma-client/README.md

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,6 @@ const prisma = createFinancePrismaClient(
4343
);
4444
```
4545

46-
### Using Types
47-
48-
```typescript
49-
import {
50-
createFinancePrismaClient,
51-
Prisma,
52-
payment_status,
53-
winnings
54-
} from '@topcoder/finance-prisma-client';
55-
56-
const prisma = createFinancePrismaClient(connectionString);
57-
58-
// Use Prisma types
59-
const payment: Prisma.paymentCreateInput = {
60-
// ...
61-
};
62-
63-
// Use enum types
64-
const status: payment_status = 'PAID';
65-
66-
// Use model types
67-
const winning: winnings = await prisma.winnings.findFirst();
68-
```
69-
7046
## Building
7147

7248
Before using this package, you need to build it:
@@ -78,17 +54,3 @@ npm run build
7854
This will:
7955
1. Generate the Prisma client from the schema
8056
2. Compile TypeScript to JavaScript
81-
82-
## Development
83-
84-
When installing this package in development mode (e.g., via `npm install file:../path`), the `postinstall` script will automatically generate the Prisma client.
85-
86-
## Requirements
87-
88-
- Node.js >= 16
89-
- Prisma >= 6.18.0
90-
- PostgreSQL database
91-
92-
## License
93-
94-
UNLICENSED

0 commit comments

Comments
 (0)