@fluojs/prisma 1.0.0-beta.2 → 1.0.0-beta.4
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.
- package/README.ko.md +12 -4
- package/README.md +12 -4
- package/dist/module.d.ts +6 -19
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +11 -29
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
package/README.ko.md
CHANGED
|
@@ -83,7 +83,7 @@ export class UserRepository {
|
|
|
83
83
|
import { Inject } from '@fluojs/core';
|
|
84
84
|
import { PrismaModule, PrismaService, getPrismaServiceToken } from '@fluojs/prisma';
|
|
85
85
|
|
|
86
|
-
const usersPrismaModule = PrismaModule.
|
|
86
|
+
const usersPrismaModule = PrismaModule.forRoot({ name: 'users', client: usersPrisma });
|
|
87
87
|
const analyticsPrismaModule = PrismaModule.forRoot({ name: 'analytics', client: analyticsPrisma });
|
|
88
88
|
|
|
89
89
|
@Inject(getPrismaServiceToken('users'), getPrismaServiceToken('analytics'))
|
|
@@ -176,11 +176,12 @@ defineModule(ManualPrismaModule, {
|
|
|
176
176
|
### `PrismaModule`
|
|
177
177
|
|
|
178
178
|
- `PrismaModule.forRoot(options)` / `PrismaModule.forRootAsync(options)`
|
|
179
|
-
- `PrismaModule.forName(name, options)` / `PrismaModule.forNameAsync(name, options)`
|
|
180
179
|
- `forRoot(...)`와 `forRootAsync(...)`도 이름 있는/scoped 등록을 위해 `name`을 받을 수 있습니다.
|
|
181
|
-
- `forRootAsync(...)`는 `
|
|
180
|
+
- `forRootAsync(...)`는 client와 transaction 설정을 factory에서 반환하는 DI-aware Prisma 옵션을 받습니다. 모듈 identity와 visibility가 factory 실행 전에 결정되도록 `name` 또는 `global`은 최상위 async 등록 옵션에 전달하세요.
|
|
182
181
|
- `forRootAsync(...)`는 애플리케이션 컨테이너마다 옵션을 한 번 resolve하여, 별도 bootstrap 사이에서 클라이언트 라이프사이클과 요청 트랜잭션 격리를 보존합니다.
|
|
183
182
|
- `strictTransactions: true` 설정 시 트랜잭션 미지원 환경에서 즉시 예외를 발생시킵니다.
|
|
183
|
+
- `strictTransactions`가 `false`이면 클라이언트가 interactive `$transaction`을 제공하지 않을 때 직접 실행으로 fallback합니다.
|
|
184
|
+
- 이름 있는 등록의 `name`은 trim되며, 빈 이름은 거부됩니다.
|
|
184
185
|
|
|
185
186
|
### `PrismaService<TClient>`
|
|
186
187
|
|
|
@@ -189,12 +190,16 @@ defineModule(ManualPrismaModule, {
|
|
|
189
190
|
- `transaction(fn, options?): Promise<T>`
|
|
190
191
|
- 대화형 트랜잭션 내에서 함수를 실행합니다.
|
|
191
192
|
- `requestTransaction(fn, signal?, options?): Promise<T>`
|
|
192
|
-
- HTTP 요청 라이프사이클에 특화된 트랜잭션 경계를 실행합니다.
|
|
193
|
+
- HTTP 요청 라이프사이클에 특화된 트랜잭션 경계를 실행합니다. Abort를 인식하고, shutdown 중에는 disconnect 전에 열린 요청 트랜잭션을 drain하며, Prisma client가 `signal` 옵션을 거부하면 해당 옵션 없이 재시도합니다.
|
|
193
194
|
|
|
194
195
|
### `PRISMA_CLIENT` (Token)
|
|
195
196
|
|
|
196
197
|
원시 `PrismaClient` 인스턴스를 위한 주입 토큰입니다.
|
|
197
198
|
|
|
199
|
+
### 플랫폼 status
|
|
200
|
+
|
|
201
|
+
- `createPrismaPlatformStatusSnapshot(input)`: Prisma readiness, health, ownership, ALS 기반 transaction context를 보고하는 persistence platform status snapshot을 생성합니다.
|
|
202
|
+
|
|
198
203
|
### 이름 있는 Prisma 토큰 헬퍼
|
|
199
204
|
|
|
200
205
|
- `getPrismaClientToken(name?)`
|
|
@@ -206,6 +211,8 @@ defineModule(ManualPrismaModule, {
|
|
|
206
211
|
### 관련 export 타입
|
|
207
212
|
|
|
208
213
|
- `PrismaModuleOptions`
|
|
214
|
+
- `PrismaClientLike`
|
|
215
|
+
- `PrismaHandleProvider`
|
|
209
216
|
- `PrismaTransactionClient<TClient>`
|
|
210
217
|
- `InferPrismaTransactionClient<TClient>`
|
|
211
218
|
- `InferPrismaTransactionOptions<TClient>`
|
|
@@ -219,3 +226,4 @@ defineModule(ManualPrismaModule, {
|
|
|
219
226
|
## 예제 소스
|
|
220
227
|
|
|
221
228
|
- `packages/prisma/src/vertical-slice.test.ts`: 표준 DTO → 서비스 → 리포지토리 → Prisma 흐름 예제.
|
|
229
|
+
- `packages/prisma/src/module.test.ts`: 모듈 라이프사이클, 이름 있는 클라이언트, async factory, strict transaction 동작, status snapshot 테스트.
|
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ When one application container needs more than one Prisma client, register each
|
|
|
83
83
|
import { Inject } from '@fluojs/core';
|
|
84
84
|
import { PrismaModule, PrismaService, getPrismaServiceToken } from '@fluojs/prisma';
|
|
85
85
|
|
|
86
|
-
const usersPrismaModule = PrismaModule.
|
|
86
|
+
const usersPrismaModule = PrismaModule.forRoot({ name: 'users', client: usersPrisma });
|
|
87
87
|
const analyticsPrismaModule = PrismaModule.forRoot({ name: 'analytics', client: analyticsPrisma });
|
|
88
88
|
|
|
89
89
|
@Inject(getPrismaServiceToken('users'), getPrismaServiceToken('analytics'))
|
|
@@ -176,11 +176,12 @@ defineModule(ManualPrismaModule, {
|
|
|
176
176
|
### `PrismaModule`
|
|
177
177
|
|
|
178
178
|
- `PrismaModule.forRoot(options)` / `PrismaModule.forRootAsync(options)`
|
|
179
|
-
- `PrismaModule.forName(name, options)` / `PrismaModule.forNameAsync(name, options)`
|
|
180
179
|
- `forRoot(...)` and `forRootAsync(...)` also accept `name` for named/scoped registrations.
|
|
181
|
-
- `forRootAsync(...)` accepts `
|
|
180
|
+
- `forRootAsync(...)` accepts DI-aware Prisma options whose factory returns the client and transaction settings; pass `name` or `global` on the top-level async registration so module identity and visibility are decided before the factory runs.
|
|
182
181
|
- `forRootAsync(...)` resolves options once per application container, preserving client lifecycle and request transaction isolation across separate bootstraps.
|
|
183
182
|
- Supports `strictTransactions: true` to throw if transaction support is missing.
|
|
183
|
+
- When `strictTransactions` is `false`, PrismaService falls back to direct execution if the client does not expose interactive `$transaction`.
|
|
184
|
+
- Names are trimmed for named registrations, and blank names are rejected.
|
|
184
185
|
|
|
185
186
|
### `PrismaService<TClient>`
|
|
186
187
|
|
|
@@ -189,12 +190,16 @@ defineModule(ManualPrismaModule, {
|
|
|
189
190
|
- `transaction(fn, options?): Promise<T>`
|
|
190
191
|
- Runs a function within an interactive transaction.
|
|
191
192
|
- `requestTransaction(fn, signal?, options?): Promise<T>`
|
|
192
|
-
- Specialized transaction boundary for HTTP request lifecycles.
|
|
193
|
+
- Specialized transaction boundary for HTTP request lifecycles. It is abort-aware, drains during shutdown before disconnect, and retries without `signal` when a Prisma client rejects that option.
|
|
193
194
|
|
|
194
195
|
### `PRISMA_CLIENT` (Token)
|
|
195
196
|
|
|
196
197
|
Injectable token for the raw `PrismaClient` instance.
|
|
197
198
|
|
|
199
|
+
### Platform status
|
|
200
|
+
|
|
201
|
+
- `createPrismaPlatformStatusSnapshot(input)`: Creates a persistence platform status snapshot that reports Prisma readiness, health, ownership, and ALS-backed transaction context.
|
|
202
|
+
|
|
198
203
|
### Named Prisma token helpers
|
|
199
204
|
|
|
200
205
|
- `getPrismaClientToken(name?)`
|
|
@@ -206,6 +211,8 @@ These helpers return the default unnamed token when `name` is omitted and a regi
|
|
|
206
211
|
### Related exported types
|
|
207
212
|
|
|
208
213
|
- `PrismaModuleOptions`
|
|
214
|
+
- `PrismaClientLike`
|
|
215
|
+
- `PrismaHandleProvider`
|
|
209
216
|
- `PrismaTransactionClient<TClient>`
|
|
210
217
|
- `InferPrismaTransactionClient<TClient>`
|
|
211
218
|
- `InferPrismaTransactionOptions<TClient>`
|
|
@@ -219,3 +226,4 @@ These helpers return the default unnamed token when `name` is omitted and a regi
|
|
|
219
226
|
## Example Sources
|
|
220
227
|
|
|
221
228
|
- `packages/prisma/src/vertical-slice.test.ts`: DTO → Service → Repository → Prisma flow.
|
|
229
|
+
- `packages/prisma/src/module.test.ts`: Module lifecycle, named clients, async factories, strict transaction behavior, and status snapshots.
|
package/dist/module.d.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { type AsyncModuleOptions } from '@fluojs/core';
|
|
2
2
|
import { type ModuleType } from '@fluojs/runtime';
|
|
3
3
|
import type { InferPrismaTransactionClient, InferPrismaTransactionOptions, PrismaClientLike, PrismaModuleOptions } from './types.js';
|
|
4
|
+
type PrismaAsyncModuleOptions<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient, TTransactionOptions> = AsyncModuleOptions<Omit<PrismaModuleOptions<TClient, TTransactionClient, TTransactionOptions>, 'global' | 'name'>> & {
|
|
5
|
+
global?: boolean;
|
|
6
|
+
name?: string;
|
|
7
|
+
};
|
|
4
8
|
/**
|
|
5
9
|
* Runtime module entrypoint for Prisma lifecycle and transaction wiring.
|
|
6
10
|
*/
|
|
7
11
|
export declare class PrismaModule {
|
|
8
|
-
/**
|
|
9
|
-
* Registers Prisma providers from static options under an explicit name.
|
|
10
|
-
*
|
|
11
|
-
* @param name Registration name used to generate isolated Prisma DI tokens.
|
|
12
|
-
* @param options Prisma module options with client handle and strict transaction mode.
|
|
13
|
-
* @returns A module definition that exports the named Prisma tokens.
|
|
14
|
-
*/
|
|
15
|
-
static forName<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient = InferPrismaTransactionClient<TClient>, TTransactionOptions = InferPrismaTransactionOptions<TClient>>(name: string, options: Omit<PrismaModuleOptions<TClient, TTransactionClient, TTransactionOptions>, 'name'>): ModuleType;
|
|
16
12
|
/**
|
|
17
13
|
* Registers Prisma providers from static options.
|
|
18
14
|
*
|
|
@@ -20,22 +16,13 @@ export declare class PrismaModule {
|
|
|
20
16
|
* @returns A module definition that exports `PrismaService` and `PrismaTransactionInterceptor`.
|
|
21
17
|
*/
|
|
22
18
|
static forRoot<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient = InferPrismaTransactionClient<TClient>, TTransactionOptions = InferPrismaTransactionOptions<TClient>>(options: PrismaModuleOptions<TClient, TTransactionClient, TTransactionOptions>): ModuleType;
|
|
23
|
-
/**
|
|
24
|
-
* Registers Prisma providers from an async DI factory under an explicit name.
|
|
25
|
-
*
|
|
26
|
-
* @param name Registration name used to generate isolated Prisma DI tokens.
|
|
27
|
-
* @param options Async module options that resolve Prisma client/module configuration.
|
|
28
|
-
* @returns A module definition that resolves async options once per application container.
|
|
29
|
-
*/
|
|
30
|
-
static forNameAsync<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient = InferPrismaTransactionClient<TClient>, TTransactionOptions = InferPrismaTransactionOptions<TClient>>(name: string, options: AsyncModuleOptions<Omit<PrismaModuleOptions<TClient, TTransactionClient, TTransactionOptions>, 'name'>>): ModuleType;
|
|
31
19
|
/**
|
|
32
20
|
* Registers Prisma providers from an async DI factory.
|
|
33
21
|
*
|
|
34
22
|
* @param options Async module options that resolve Prisma client/module configuration.
|
|
35
23
|
* @returns A module definition that resolves async options once per application container.
|
|
36
24
|
*/
|
|
37
|
-
static forRootAsync<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient = InferPrismaTransactionClient<TClient>, TTransactionOptions = InferPrismaTransactionOptions<TClient>>(options:
|
|
38
|
-
name?: string;
|
|
39
|
-
}): ModuleType;
|
|
25
|
+
static forRootAsync<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient = InferPrismaTransactionClient<TClient>, TTransactionOptions = InferPrismaTransactionOptions<TClient>>(options: PrismaAsyncModuleOptions<TClient, TTransactionClient, TTransactionOptions>): ModuleType;
|
|
40
26
|
}
|
|
27
|
+
export {};
|
|
41
28
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EA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AC,EACzE,kBAAkB,GAAG,4BAA4B,CAAC,OAAO,CAAC,EAC1D,mBAAmB,GAAG,6BAA6B,CAAC,OAAO,CAAC,EAE5D,OAAO,EAAE,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,CAAC,GAClF,UAAU;CAGd"}
|
package/dist/module.js
CHANGED
|
@@ -22,6 +22,7 @@ function normalizePrismaModuleOptions(options) {
|
|
|
22
22
|
return {
|
|
23
23
|
name: normalizePrismaRegistrationName(options.name),
|
|
24
24
|
client: options.client,
|
|
25
|
+
global: options.global ?? false,
|
|
25
26
|
strictTransactions: options.strictTransactions ?? false
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -58,8 +59,12 @@ function createPrismaRuntimeProviders(normalizedOptionsProvider, name) {
|
|
|
58
59
|
function buildPrismaModule(options) {
|
|
59
60
|
class PrismaRootModuleDefinition {}
|
|
60
61
|
const normalizedOptions = normalizePrismaModuleOptions(options);
|
|
62
|
+
if (normalizedOptions.name !== undefined && normalizedOptions.global) {
|
|
63
|
+
throw new Error('Named Prisma registrations are scoped and cannot be registered globally.');
|
|
64
|
+
}
|
|
61
65
|
return defineModule(PrismaRootModuleDefinition, {
|
|
62
66
|
exports: normalizedOptions.name === undefined ? [PrismaService, PrismaTransactionInterceptor, getPrismaServiceToken(), getPrismaClientToken(), getPrismaOptionsToken()] : [getPrismaServiceToken(normalizedOptions.name), getPrismaClientToken(normalizedOptions.name), getPrismaOptionsToken(normalizedOptions.name)],
|
|
67
|
+
global: normalizedOptions.name === undefined ? normalizedOptions.global : false,
|
|
63
68
|
providers: createPrismaRuntimeProviders({
|
|
64
69
|
provide: getPrismaNormalizedOptionsToken(normalizedOptions.name),
|
|
65
70
|
useValue: normalizedOptions
|
|
@@ -70,6 +75,9 @@ function buildPrismaModuleAsync(options) {
|
|
|
70
75
|
class PrismaAsyncModuleDefinition {}
|
|
71
76
|
const factory = options.useFactory;
|
|
72
77
|
const normalizedName = normalizePrismaRegistrationName(options.name);
|
|
78
|
+
if (normalizedName !== undefined && options.global) {
|
|
79
|
+
throw new Error('Named Prisma registrations are scoped and cannot be registered globally.');
|
|
80
|
+
}
|
|
73
81
|
const normalizedOptionsProvider = {
|
|
74
82
|
inject: options.inject,
|
|
75
83
|
provide: getPrismaNormalizedOptionsToken(normalizedName),
|
|
@@ -78,12 +86,14 @@ function buildPrismaModuleAsync(options) {
|
|
|
78
86
|
const resolvedOptions = await factory(...deps);
|
|
79
87
|
return normalizePrismaModuleOptions({
|
|
80
88
|
...resolvedOptions,
|
|
81
|
-
|
|
89
|
+
global: options.global,
|
|
90
|
+
name: normalizedName
|
|
82
91
|
});
|
|
83
92
|
}
|
|
84
93
|
};
|
|
85
94
|
return defineModule(PrismaAsyncModuleDefinition, {
|
|
86
95
|
exports: normalizedName === undefined ? [PrismaService, PrismaTransactionInterceptor, getPrismaServiceToken(), getPrismaClientToken(), getPrismaOptionsToken()] : [getPrismaServiceToken(normalizedName), getPrismaClientToken(normalizedName), getPrismaOptionsToken(normalizedName)],
|
|
96
|
+
global: normalizedName === undefined ? options.global ?? false : false,
|
|
87
97
|
providers: createPrismaRuntimeProviders(normalizedOptionsProvider, normalizedName)
|
|
88
98
|
});
|
|
89
99
|
}
|
|
@@ -92,20 +102,6 @@ function buildPrismaModuleAsync(options) {
|
|
|
92
102
|
* Runtime module entrypoint for Prisma lifecycle and transaction wiring.
|
|
93
103
|
*/
|
|
94
104
|
export class PrismaModule {
|
|
95
|
-
/**
|
|
96
|
-
* Registers Prisma providers from static options under an explicit name.
|
|
97
|
-
*
|
|
98
|
-
* @param name Registration name used to generate isolated Prisma DI tokens.
|
|
99
|
-
* @param options Prisma module options with client handle and strict transaction mode.
|
|
100
|
-
* @returns A module definition that exports the named Prisma tokens.
|
|
101
|
-
*/
|
|
102
|
-
static forName(name, options) {
|
|
103
|
-
return buildPrismaModule({
|
|
104
|
-
...options,
|
|
105
|
-
name
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
|
|
109
105
|
/**
|
|
110
106
|
* Registers Prisma providers from static options.
|
|
111
107
|
*
|
|
@@ -116,20 +112,6 @@ export class PrismaModule {
|
|
|
116
112
|
return buildPrismaModule(options);
|
|
117
113
|
}
|
|
118
114
|
|
|
119
|
-
/**
|
|
120
|
-
* Registers Prisma providers from an async DI factory under an explicit name.
|
|
121
|
-
*
|
|
122
|
-
* @param name Registration name used to generate isolated Prisma DI tokens.
|
|
123
|
-
* @param options Async module options that resolve Prisma client/module configuration.
|
|
124
|
-
* @returns A module definition that resolves async options once per application container.
|
|
125
|
-
*/
|
|
126
|
-
static forNameAsync(name, options) {
|
|
127
|
-
return buildPrismaModuleAsync({
|
|
128
|
-
...options,
|
|
129
|
-
name
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
|
|
133
115
|
/**
|
|
134
116
|
* Registers Prisma providers from an async DI factory.
|
|
135
117
|
*
|
package/dist/types.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export interface PrismaClientLike<TTransactionClient = unknown, TTransactionOpti
|
|
|
41
41
|
* @typeParam TTransactionOptions Options forwarded to Prisma interactive transactions.
|
|
42
42
|
*/
|
|
43
43
|
export interface PrismaModuleOptions<TClient extends PrismaClientLike<TTransactionClient, TTransactionOptions>, TTransactionClient = InferPrismaTransactionClient<TClient>, TTransactionOptions = InferPrismaTransactionOptions<TClient>> {
|
|
44
|
+
/** Whether the default unnamed Prisma registration should be visible globally. Defaults to `false`. */
|
|
45
|
+
global?: boolean;
|
|
44
46
|
/** Optional registration name used to isolate Prisma tokens inside one application container. */
|
|
45
47
|
name?: string;
|
|
46
48
|
/** Root Prisma client shared outside ambient transaction scopes. */
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,KAAK,yBAAyB,CAAC,kBAAkB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OAAO,CAAC;IAChB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB,CACnC,OAAO,SAAS,gBAAgB,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,EACzE,kBAAkB,GAAG,4BAA4B,CAAC,OAAO,CAAC,EAC1D,mBAAmB,GAAG,6BAA6B,CAAC,OAAO,CAAC;IAE5D,gGAAgG;IAChG,OAAO,IAAI,OAAO,GAAG,kBAAkB,CAAC;IACxC;;;;;;;OAOG;IACH,kBAAkB,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC7G;;;;;;OAMG;IACH,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACjF"}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"transaction",
|
|
10
10
|
"als"
|
|
11
11
|
],
|
|
12
|
-
"version": "1.0.0-beta.
|
|
12
|
+
"version": "1.0.0-beta.4",
|
|
13
13
|
"private": false,
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"repository": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@fluojs/core": "^1.0.0-beta.
|
|
40
|
-
"@fluojs/
|
|
41
|
-
"@fluojs/
|
|
42
|
-
"@fluojs/
|
|
43
|
-
"@fluojs/
|
|
39
|
+
"@fluojs/core": "^1.0.0-beta.4",
|
|
40
|
+
"@fluojs/http": "^1.0.0-beta.10",
|
|
41
|
+
"@fluojs/validation": "^1.0.0-beta.3",
|
|
42
|
+
"@fluojs/runtime": "^1.0.0-beta.11",
|
|
43
|
+
"@fluojs/di": "^1.0.0-beta.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@prisma/client": ">=5.0.0"
|