@forinda/kickjs 3.1.3 → 4.0.0
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.md +13 -212
- package/dist/adapter-BNw2pGbg.d.mts +261 -0
- package/dist/adapter-BNw2pGbg.d.mts.map +1 -0
- package/dist/{app-module-Cotu9TIC.d.mts → app-module-CO0ksPCm.d.mts} +12 -2
- package/dist/app-module-CO0ksPCm.d.mts.map +1 -0
- package/dist/{application-BVl6L8xo.mjs → application-Ce4DQN6m.mjs} +114 -25
- package/dist/application-Ce4DQN6m.mjs.map +1 -0
- package/dist/application-Czwm7Gty.d.mts +302 -0
- package/dist/application-Czwm7Gty.d.mts.map +1 -0
- package/dist/{bootstrap-D6leYXz2.mjs → bootstrap-CB7bJeJG.mjs} +6 -6
- package/dist/{bootstrap-D6leYXz2.mjs.map → bootstrap-CB7bJeJG.mjs.map} +1 -1
- package/dist/bootstrap-NxFRaNTh.d.mts +28 -0
- package/dist/bootstrap-NxFRaNTh.d.mts.map +1 -0
- package/dist/{cache-CcTzzNdr.d.mts → cache-BStrqXSZ.d.mts} +2 -2
- package/dist/{cache-CcTzzNdr.d.mts.map → cache-BStrqXSZ.d.mts.map} +1 -1
- package/dist/config/index.d.mts +1 -1
- package/dist/config/index.mjs +3 -3
- package/dist/{config-gkVEnxVm.mjs → config-wZ_TgBfs.mjs} +4 -4
- package/dist/{config-gkVEnxVm.mjs.map → config-wZ_TgBfs.mjs.map} +1 -1
- package/dist/{container-BJb34faa.d.mts → container-CnWDsxi-.d.mts} +9 -7
- package/dist/container-CnWDsxi-.d.mts.map +1 -0
- package/dist/{container-BBZLlK6y.mjs → container-DYYSu58w.mjs} +313 -9
- package/dist/container-DYYSu58w.mjs.map +1 -0
- package/dist/context-BAGzqT7-.mjs +319 -0
- package/dist/context-BAGzqT7-.mjs.map +1 -0
- package/dist/context-Ymvv-85x.d.mts +260 -0
- package/dist/context-Ymvv-85x.d.mts.map +1 -0
- package/dist/context-decorator-B5v3VQCN.d.mts +111 -0
- package/dist/context-decorator-B5v3VQCN.d.mts.map +1 -0
- package/dist/core/adapter.d.mts +1 -1
- package/dist/core/adapter.mjs +1 -1
- package/dist/core/app-module.d.mts +1 -1
- package/dist/core/app-module.mjs +1 -1
- package/dist/core/cache.d.mts +1 -1
- package/dist/core/cache.mjs +2 -2
- package/dist/core/cache.mjs.map +1 -1
- package/dist/core/container.d.mts +1 -1
- package/dist/core/container.mjs +2 -2
- package/dist/core/cron.d.mts +1 -1
- package/dist/core/cron.mjs +2 -2
- package/dist/core/decorators.d.mts +2 -2
- package/dist/core/decorators.mjs +48 -16
- package/dist/core/decorators.mjs.map +1 -1
- package/dist/core/errors.d.mts +1 -1
- package/dist/core/errors.mjs +1 -1
- package/dist/core/interfaces.d.mts +1 -1
- package/dist/core/interfaces.mjs +35 -16
- package/dist/core/interfaces.mjs.map +1 -1
- package/dist/core/logger.d.mts +2 -2
- package/dist/core/logger.mjs +2 -4
- package/dist/core/logger.mjs.map +1 -1
- package/dist/core/path.d.mts +1 -1
- package/dist/core/path.mjs +1 -1
- package/dist/core/plugin.d.mts +1 -1
- package/dist/core/plugin.mjs +1 -1
- package/dist/core/reactivity.d.mts +1 -1
- package/dist/core/reactivity.mjs +1 -1
- package/dist/core-DBcoqPHM.mjs +709 -0
- package/dist/core-DBcoqPHM.mjs.map +1 -0
- package/dist/cors-BfgqfLPd.d.mts +48 -0
- package/dist/cors-BfgqfLPd.d.mts.map +1 -0
- package/dist/{cron-H-IyLcOr.d.mts → cron-7zqvsmMI.d.mts} +1 -1
- package/dist/{cron-H-IyLcOr.d.mts.map → cron-7zqvsmMI.d.mts.map} +1 -1
- package/dist/csrf-DiK9zept.d.mts +52 -0
- package/dist/csrf-DiK9zept.d.mts.map +1 -0
- package/dist/{decorators-C9_SN7ge.d.mts → decorators-BMvaLliz.d.mts} +147 -12
- package/dist/decorators-BMvaLliz.d.mts.map +1 -0
- package/dist/{env-Cu5hWsuE.mjs → env-CdH5-dM_.mjs} +3 -4
- package/dist/{env-Cu5hWsuE.mjs.map → env-CdH5-dM_.mjs.map} +1 -1
- package/dist/error-handler-Xud_3Lah.d.mts +20 -0
- package/dist/error-handler-Xud_3Lah.d.mts.map +1 -0
- package/dist/{errors-BOUCRl-p.d.mts → errors-uaHCeXRz.d.mts} +1 -1
- package/dist/{errors-BOUCRl-p.d.mts.map → errors-uaHCeXRz.d.mts.map} +1 -1
- package/dist/execution-context-DKnt61pY.d.mts +57 -0
- package/dist/execution-context-DKnt61pY.d.mts.map +1 -0
- package/dist/helmet-CaMbjzBG.d.mts +41 -0
- package/dist/helmet-CaMbjzBG.d.mts.map +1 -0
- package/dist/http/application.d.mts +2 -239
- package/dist/http/application.mjs +2 -2
- package/dist/http/bootstrap.d.mts +2 -27
- package/dist/http/bootstrap.mjs +2 -2
- package/dist/http/context.d.mts +3 -262
- package/dist/http/context.mjs +2 -271
- package/dist/http/middleware/cors.d.mts +2 -47
- package/dist/http/middleware/cors.mjs +1 -1
- package/dist/http/middleware/csrf.d.mts +2 -51
- package/dist/http/middleware/csrf.mjs +2 -2
- package/dist/http/middleware/csrf.mjs.map +1 -1
- package/dist/http/middleware/error-handler.d.mts +2 -19
- package/dist/http/middleware/error-handler.mjs +2 -2
- package/dist/http/middleware/helmet.d.mts +2 -40
- package/dist/http/middleware/helmet.mjs +1 -1
- package/dist/http/middleware/rate-limit.d.mts +2 -55
- package/dist/http/middleware/rate-limit.mjs +2 -2
- package/dist/http/middleware/rate-limit.mjs.map +1 -1
- package/dist/http/middleware/request-id.d.mts +2 -9
- package/dist/http/middleware/request-id.mjs +12 -3
- package/dist/http/middleware/request-id.mjs.map +1 -1
- package/dist/http/middleware/request-logger.d.mts +2 -31
- package/dist/http/middleware/request-logger.mjs +2 -2
- package/dist/http/middleware/session.d.mts +2 -69
- package/dist/http/middleware/session.mjs +1 -1
- package/dist/http/middleware/spa.d.mts +2 -100
- package/dist/http/middleware/spa.mjs +5 -5
- package/dist/http/middleware/spa.mjs.map +1 -1
- package/dist/http/middleware/upload.d.mts +2 -78
- package/dist/http/middleware/upload.mjs +1 -1
- package/dist/http/middleware/validate.d.mts +2 -22
- package/dist/http/middleware/validate.mjs +2 -2
- package/dist/http/middleware/views.d.mts +2 -61
- package/dist/http/middleware/views.mjs +16 -15
- package/dist/http/middleware/views.mjs.map +1 -1
- package/dist/http/query/index.d.mts +1 -1
- package/dist/http/query/index.mjs +2 -2
- package/dist/http/router-builder.d.mts +2 -20
- package/dist/http/router-builder.mjs +58 -10
- package/dist/http/router-builder.mjs.map +1 -1
- package/dist/{index-Co7a3Zat.d.mts → index-B9cyOQAe.d.mts} +1 -1
- package/dist/{index-Co7a3Zat.d.mts.map → index-B9cyOQAe.d.mts.map} +1 -1
- package/dist/{index-DNVfGjF9.d.mts → index-D-qhXg9M.d.mts} +3 -3
- package/dist/{index-DNVfGjF9.d.mts.map → index-D-qhXg9M.d.mts.map} +1 -1
- package/dist/index-DQyWtyp0.d.mts +511 -0
- package/dist/index-DQyWtyp0.d.mts.map +1 -0
- package/dist/index.d.mts +34 -133
- package/dist/index.mjs +14 -14
- package/dist/interfaces-B50n7dwl.d.mts +71 -0
- package/dist/{interfaces-DXjE8Re1.d.mts.map → interfaces-B50n7dwl.d.mts.map} +1 -1
- package/dist/{logger-CW6FHtvU.d.mts → logger-CLVRZf2N.d.mts} +2 -4
- package/dist/{logger-CW6FHtvU.d.mts.map → logger-CLVRZf2N.d.mts.map} +1 -1
- package/dist/{metadata-BwRJ69bC.mjs → metadata-VQM9wChy.mjs} +2 -2
- package/dist/{metadata-BwRJ69bC.mjs.map → metadata-VQM9wChy.mjs.map} +1 -1
- package/dist/{path-B4JcbwKX.d.mts → path-Diviu6hv.d.mts} +1 -1
- package/dist/path-Diviu6hv.d.mts.map +1 -0
- package/dist/plugin-WdrDgNzk.d.mts +165 -0
- package/dist/plugin-WdrDgNzk.d.mts.map +1 -0
- package/dist/{query-BQ2UT3oi.mjs → query-DJMxdx5r.mjs} +2 -2
- package/dist/{query-BQ2UT3oi.mjs.map → query-DJMxdx5r.mjs.map} +1 -1
- package/dist/rate-limit-DUwoICtI.d.mts +56 -0
- package/dist/rate-limit-DUwoICtI.d.mts.map +1 -0
- package/dist/{reactivity-I8nDlg4c.d.mts → reactivity-CfJceo4H.d.mts} +1 -1
- package/dist/{reactivity-I8nDlg4c.d.mts.map → reactivity-CfJceo4H.d.mts.map} +1 -1
- package/dist/request-id-BgglvZHN.d.mts +19 -0
- package/dist/request-id-BgglvZHN.d.mts.map +1 -0
- package/dist/request-logger-CWHbAzTE.d.mts +32 -0
- package/dist/request-logger-CWHbAzTE.d.mts.map +1 -0
- package/dist/router-builder-C799BAf0.d.mts +31 -0
- package/dist/router-builder-C799BAf0.d.mts.map +1 -0
- package/dist/session-N0hActOO.d.mts +70 -0
- package/dist/session-N0hActOO.d.mts.map +1 -0
- package/dist/spa-CrFR2_cz.d.mts +101 -0
- package/dist/spa-CrFR2_cz.d.mts.map +1 -0
- package/dist/upload-BueOnnLw.d.mts +79 -0
- package/dist/upload-BueOnnLw.d.mts.map +1 -0
- package/dist/validate-HwAyWTwH.d.mts +23 -0
- package/dist/validate-HwAyWTwH.d.mts.map +1 -0
- package/dist/views-DhQSXV2P.d.mts +176 -0
- package/dist/views-DhQSXV2P.d.mts.map +1 -0
- package/package.json +6 -9
- package/dist/adapter-DjL8ql5d.d.mts +0 -140
- package/dist/adapter-DjL8ql5d.d.mts.map +0 -1
- package/dist/app-module-Cotu9TIC.d.mts.map +0 -1
- package/dist/application-BVl6L8xo.mjs.map +0 -1
- package/dist/chunk-CVPG7JJl.mjs +0 -15
- package/dist/container-BBZLlK6y.mjs.map +0 -1
- package/dist/container-BJb34faa.d.mts.map +0 -1
- package/dist/core-qyPNtpKp.mjs +0 -121
- package/dist/core-qyPNtpKp.mjs.map +0 -1
- package/dist/decorators-C9_SN7ge.d.mts.map +0 -1
- package/dist/http/application.d.mts.map +0 -1
- package/dist/http/bootstrap.d.mts.map +0 -1
- package/dist/http/context.d.mts.map +0 -1
- package/dist/http/context.mjs.map +0 -1
- package/dist/http/middleware/cors.d.mts.map +0 -1
- package/dist/http/middleware/csrf.d.mts.map +0 -1
- package/dist/http/middleware/error-handler.d.mts.map +0 -1
- package/dist/http/middleware/helmet.d.mts.map +0 -1
- package/dist/http/middleware/rate-limit.d.mts.map +0 -1
- package/dist/http/middleware/request-id.d.mts.map +0 -1
- package/dist/http/middleware/request-logger.d.mts.map +0 -1
- package/dist/http/middleware/session.d.mts.map +0 -1
- package/dist/http/middleware/spa.d.mts.map +0 -1
- package/dist/http/middleware/upload.d.mts.map +0 -1
- package/dist/http/middleware/validate.d.mts.map +0 -1
- package/dist/http/middleware/views.d.mts.map +0 -1
- package/dist/http/router-builder.d.mts.map +0 -1
- package/dist/index-CwqjAF6I.d.mts +0 -112
- package/dist/index-CwqjAF6I.d.mts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/interfaces-DXjE8Re1.d.mts +0 -52
- package/dist/path-B4JcbwKX.d.mts.map +0 -1
- package/dist/plugin-Cvacmm7N.d.mts +0 -95
- package/dist/plugin-Cvacmm7N.d.mts.map +0 -1
package/README.md
CHANGED
|
@@ -1,244 +1,45 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @forinda/kickjs
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Decorator-driven Node.js framework on Express 5 + TypeScript. Custom DI, module system, code generators, Zod-native validation, Vite HMR.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## Install Manually
|
|
5
|
+
## Install
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
|
-
|
|
8
|
+
# Scaffold a new project (recommended)
|
|
9
|
+
npx @forinda/kickjs-cli new my-api && cd my-api && pnpm dev
|
|
10
|
+
|
|
11
|
+
# Or add to an existing project
|
|
11
12
|
pnpm add @forinda/kickjs express reflect-metadata zod
|
|
12
13
|
pnpm add -D @forinda/kickjs-cli
|
|
13
14
|
```
|
|
14
15
|
|
|
15
|
-
##
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Using npx
|
|
19
|
-
npx @forinda/kickjs-cli new my-api
|
|
20
|
-
# Using global install
|
|
21
|
-
pnpm add -g @forinda/kickjs-cli
|
|
22
|
-
kick new my-api
|
|
23
|
-
# pnpm
|
|
24
|
-
pnpm dlx @forinda/kickjs-cli new my-api
|
|
25
|
-
# yarn
|
|
26
|
-
yarn dlx @forinda/kickjs-cli new my-api
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Quick Start
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
kick new my-api && cd my-api && kick dev
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Hello World
|
|
36
|
-
|
|
37
|
-
A fresh `kick new my-api` scaffolds a complete project. Here are the files
|
|
38
|
-
that matter, exactly as the CLI generates them:
|
|
39
|
-
|
|
40
|
-
```ts
|
|
41
|
-
// src/modules/hello/hello.service.ts
|
|
42
|
-
import { Service } from '@forinda/kickjs'
|
|
43
|
-
|
|
44
|
-
@Service()
|
|
45
|
-
export class HelloService {
|
|
46
|
-
greet(name: string) {
|
|
47
|
-
return { message: `Hello ${name} from KickJS!`, timestamp: new Date().toISOString() }
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
healthCheck() {
|
|
51
|
-
return { status: 'ok', uptime: process.uptime() }
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
16
|
+
## Quick Example
|
|
55
17
|
|
|
56
18
|
```ts
|
|
57
19
|
// src/modules/hello/hello.controller.ts
|
|
58
|
-
import { Controller, Get,
|
|
59
|
-
import { HelloService } from './hello.service'
|
|
20
|
+
import { Controller, Get, type RequestContext } from '@forinda/kickjs'
|
|
60
21
|
|
|
61
|
-
@Controller()
|
|
22
|
+
@Controller('/hello')
|
|
62
23
|
export class HelloController {
|
|
63
|
-
@Autowired() private readonly helloService!: HelloService
|
|
64
|
-
|
|
65
24
|
@Get('/')
|
|
66
|
-
|
|
67
|
-
ctx.json(
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@Get('/health')
|
|
71
|
-
health(ctx: Ctx<KickRoutes.HelloController['health']>) {
|
|
72
|
-
ctx.json(this.helloService.healthCheck())
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
```ts
|
|
78
|
-
// src/modules/hello/hello.module.ts
|
|
79
|
-
import { type AppModule, type ModuleRoutes, buildRoutes } from '@forinda/kickjs'
|
|
80
|
-
import { HelloController } from './hello.controller'
|
|
81
|
-
|
|
82
|
-
export class HelloModule implements AppModule {
|
|
83
|
-
routes(): ModuleRoutes {
|
|
84
|
-
return {
|
|
85
|
-
path: '/hello',
|
|
86
|
-
router: buildRoutes(HelloController),
|
|
87
|
-
controller: HelloController,
|
|
88
|
-
}
|
|
25
|
+
hello(ctx: RequestContext) {
|
|
26
|
+
ctx.json({ message: 'Hello from KickJS' })
|
|
89
27
|
}
|
|
90
28
|
}
|
|
91
29
|
```
|
|
92
30
|
|
|
93
|
-
```ts
|
|
94
|
-
// src/modules/index.ts
|
|
95
|
-
import type { AppModuleClass } from '@forinda/kickjs'
|
|
96
|
-
import { HelloModule } from './hello/hello.module'
|
|
97
|
-
|
|
98
|
-
export const modules: AppModuleClass[] = [HelloModule]
|
|
99
|
-
```
|
|
100
|
-
|
|
101
31
|
```ts
|
|
102
32
|
// src/index.ts
|
|
103
33
|
import 'reflect-metadata'
|
|
104
|
-
import './config' // registers env schema before bootstrap
|
|
105
34
|
import { bootstrap } from '@forinda/kickjs'
|
|
106
35
|
import { modules } from './modules'
|
|
107
36
|
|
|
108
37
|
export const app = await bootstrap({ modules })
|
|
109
38
|
```
|
|
110
39
|
|
|
111
|
-
## What's Included
|
|
112
|
-
|
|
113
|
-
Everything you need for a production API — one import:
|
|
114
|
-
|
|
115
|
-
```typescript
|
|
116
|
-
import {
|
|
117
|
-
// DI + Decorators
|
|
118
|
-
Controller, Get, Post, Put, Delete, Patch,
|
|
119
|
-
Service, Repository, Autowired, Inject, Value, Middleware,
|
|
120
|
-
createToken, // typed DI tokens: createToken<T>('name')
|
|
121
|
-
|
|
122
|
-
// Application
|
|
123
|
-
bootstrap, Application, buildRoutes,
|
|
124
|
-
RequestContext, type Ctx, type RouteShape,
|
|
125
|
-
|
|
126
|
-
// Middleware
|
|
127
|
-
helmet, cors, csrf, rateLimit, requestId, requestLogger,
|
|
128
|
-
validate, upload, session, traceContext,
|
|
129
|
-
|
|
130
|
-
// Query parsing
|
|
131
|
-
parseQuery, type QueryFieldConfig, type ParsedQuery,
|
|
132
|
-
|
|
133
|
-
// Utilities
|
|
134
|
-
Container, HttpException, createLogger,
|
|
135
|
-
ref, computed, watch,
|
|
136
|
-
|
|
137
|
-
// Types
|
|
138
|
-
type AppAdapter, type AdapterContext, type AppModule,
|
|
139
|
-
type MiddlewareHandler, type ModuleRoutes,
|
|
140
|
-
} from '@forinda/kickjs'
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
## Typed Routes, Body, Query, and Env
|
|
144
|
-
|
|
145
|
-
`kick typegen` (auto-runs on `kick dev`) generates `KickRoutes` and `KickEnv`
|
|
146
|
-
from your codebase. Route handlers, request bodies, query strings, and
|
|
147
|
-
`@Value` injections are all type-checked end-to-end:
|
|
148
|
-
|
|
149
|
-
```ts
|
|
150
|
-
import { Controller, Post, Value, type Ctx } from '@forinda/kickjs'
|
|
151
|
-
import { z } from 'zod'
|
|
152
|
-
|
|
153
|
-
const createUserBody = z.object({ name: z.string(), email: z.string().email() })
|
|
154
|
-
|
|
155
|
-
@Controller('/users')
|
|
156
|
-
class UserController {
|
|
157
|
-
// Typed env injection — keys come from KickEnv (your src/config/index.ts)
|
|
158
|
-
@Value('DATABASE_URL') private dbUrl!: string
|
|
159
|
-
|
|
160
|
-
@Post('/', { body: createUserBody, name: 'CreateUser' })
|
|
161
|
-
create(ctx: Ctx<KickRoutes.UserController['create']>) {
|
|
162
|
-
ctx.body.email // ✅ string — inferred from the Zod schema
|
|
163
|
-
ctx.created({ id: '1', ...ctx.body })
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
## Typed DI Tokens
|
|
169
|
-
|
|
170
|
-
```typescript
|
|
171
|
-
import { createToken, Inject, Service } from '@forinda/kickjs'
|
|
172
|
-
|
|
173
|
-
export const USER_REPO = createToken<UserRepository>('user.repo')
|
|
174
|
-
|
|
175
|
-
@Service()
|
|
176
|
-
class UserService {
|
|
177
|
-
constructor(@Inject(USER_REPO) private readonly repo: UserRepository) {}
|
|
178
|
-
// repo is typed as UserRepository — no casts
|
|
179
|
-
}
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
## Typed Adapter Hooks
|
|
183
|
-
|
|
184
|
-
```typescript
|
|
185
|
-
import type { AppAdapter, AdapterContext } from '@forinda/kickjs'
|
|
186
|
-
|
|
187
|
-
class MyAdapter implements AppAdapter {
|
|
188
|
-
name = 'MyAdapter'
|
|
189
|
-
|
|
190
|
-
beforeMount({ app, container, isProduction }: AdapterContext) {
|
|
191
|
-
// app: Express, container: Container, isProduction: boolean
|
|
192
|
-
app.use(myMiddleware())
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
afterStart({ server }: AdapterContext) {
|
|
196
|
-
// server: http.Server — attach WebSocket, etc.
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
async shutdown() {
|
|
200
|
-
await cleanup()
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
## Ecosystem
|
|
206
|
-
|
|
207
|
-
| Package | Description |
|
|
208
|
-
|---------|-------------|
|
|
209
|
-
| [`@forinda/kickjs`](https://www.npmjs.com/package/@forinda/kickjs) | Core framework (DI, decorators, Express 5, middleware) |
|
|
210
|
-
| [`@forinda/kickjs-config`](https://www.npmjs.com/package/@forinda/kickjs-config) | Zod-based env validation, ConfigService, `@Value` |
|
|
211
|
-
| [`@forinda/kickjs-swagger`](https://www.npmjs.com/package/@forinda/kickjs-swagger) | Auto OpenAPI from decorators + Zod schemas |
|
|
212
|
-
| [`@forinda/kickjs-cli`](https://www.npmjs.com/package/@forinda/kickjs-cli) | Scaffolding, DDD generators, custom commands |
|
|
213
|
-
| [`@forinda/kickjs-testing`](https://www.npmjs.com/package/@forinda/kickjs-testing) | `createTestApp`, `createTestModule` |
|
|
214
|
-
| [`@forinda/kickjs-prisma`](https://www.npmjs.com/package/@forinda/kickjs-prisma) | Prisma adapter (v5/6/7) |
|
|
215
|
-
| [`@forinda/kickjs-drizzle`](https://www.npmjs.com/package/@forinda/kickjs-drizzle) | Drizzle adapter, query builder |
|
|
216
|
-
| [`@forinda/kickjs-auth`](https://www.npmjs.com/package/@forinda/kickjs-auth) | JWT, API key, OAuth strategies |
|
|
217
|
-
| [`@forinda/kickjs-ws`](https://www.npmjs.com/package/@forinda/kickjs-ws) | WebSocket with `@WsController` |
|
|
218
|
-
| [`@forinda/kickjs-queue`](https://www.npmjs.com/package/@forinda/kickjs-queue) | BullMQ, RabbitMQ, Kafka |
|
|
219
|
-
| [`@forinda/kickjs-cron`](https://www.npmjs.com/package/@forinda/kickjs-cron) | `@Cron` decorator scheduling |
|
|
220
|
-
| [`@forinda/kickjs-mailer`](https://www.npmjs.com/package/@forinda/kickjs-mailer) | SMTP, Resend, SES |
|
|
221
|
-
| [`@forinda/kickjs-graphql`](https://www.npmjs.com/package/@forinda/kickjs-graphql) | `@Resolver`, `@Query`, `@Mutation` |
|
|
222
|
-
| [`@forinda/kickjs-otel`](https://www.npmjs.com/package/@forinda/kickjs-otel) | OpenTelemetry tracing + metrics |
|
|
223
|
-
| [`@forinda/kickjs-devtools`](https://www.npmjs.com/package/@forinda/kickjs-devtools) | Debug dashboard at `/_debug` |
|
|
224
|
-
| [`@forinda/kickjs-notifications`](https://www.npmjs.com/package/@forinda/kickjs-notifications) | Email, Slack, Discord, webhook |
|
|
225
|
-
| [`@forinda/kickjs-multi-tenant`](https://www.npmjs.com/package/@forinda/kickjs-multi-tenant) | Tenant resolution middleware |
|
|
226
|
-
| [`@forinda/kickjs-ai`](https://www.npmjs.com/package/@forinda/kickjs-ai) | Providers (OpenAI, Anthropic), `@AiTool`, memory, RAG, agent loop |
|
|
227
|
-
| [`@forinda/kickjs-mcp`](https://www.npmjs.com/package/@forinda/kickjs-mcp) | Model Context Protocol server adapter + `kick mcp` CLI |
|
|
228
|
-
|
|
229
|
-
## CLI
|
|
230
|
-
|
|
231
|
-
```bash
|
|
232
|
-
kick new my-api # Scaffold project
|
|
233
|
-
kick dev # Vite HMR dev server
|
|
234
|
-
kick build # Production build
|
|
235
|
-
kick g module users # Generate full DDD module (18 files)
|
|
236
|
-
kick g module users --repo prisma # With Prisma repository
|
|
237
|
-
```
|
|
238
|
-
|
|
239
40
|
## Documentation
|
|
240
41
|
|
|
241
|
-
[forinda.github.io/kick-js](https://forinda.github.io/kick-js/)
|
|
42
|
+
[forinda.github.io/kick-js](https://forinda.github.io/kick-js/) — full guide, API reference, tutorials, and example apps.
|
|
242
43
|
|
|
243
44
|
## License
|
|
244
45
|
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
|
|
2
|
+
import { i as Constructor, o as MaybePromise } from "./interfaces-B50n7dwl.mjs";
|
|
3
|
+
import { t as Container } from "./container-CnWDsxi-.mjs";
|
|
4
|
+
import { r as ContributorRegistration } from "./context-decorator-B5v3VQCN.mjs";
|
|
5
|
+
import http from "node:http";
|
|
6
|
+
import { Express } from "express";
|
|
7
|
+
|
|
8
|
+
//#region src/core/augmentation.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* Augmentation registry — runtime no-op + the canonical
|
|
11
|
+
* `KickJsPluginRegistry` interface that `kick typegen` augments.
|
|
12
|
+
*
|
|
13
|
+
* See `architecture.md` §21.2.1 (typegen for `dependsOn`) and §21.3.3
|
|
14
|
+
* (standardized augmentation registry) for the design rationale.
|
|
15
|
+
*
|
|
16
|
+
* @module @forinda/kickjs/core/augmentation
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Marker interface that lists every plugin/adapter in the project. The
|
|
20
|
+
* keys are the literal `name` field passed to `defineAdapter` /
|
|
21
|
+
* `definePlugin` (or declared on a `class implements AppAdapter`); the
|
|
22
|
+
* values are the kind tag (`'plugin' | 'adapter'`).
|
|
23
|
+
*
|
|
24
|
+
* The framework ships this empty. `kick typegen` augments it from
|
|
25
|
+
* source so `keyof KickJsPluginRegistry` resolves to a string-literal
|
|
26
|
+
* union of every name in scope — and therefore so do `dependsOn`
|
|
27
|
+
* declarations on plugins/adapters.
|
|
28
|
+
*/
|
|
29
|
+
interface KickJsPluginRegistry {}
|
|
30
|
+
/**
|
|
31
|
+
* Resolves to a string-literal union of every registered plugin/adapter
|
|
32
|
+
* name when the project's typegen has populated `KickJsPluginRegistry`,
|
|
33
|
+
* or to `string` when the registry is empty (no typegen pass yet).
|
|
34
|
+
*
|
|
35
|
+
* Falling back to `string` keeps fresh projects compiling — the typegen
|
|
36
|
+
* narrowing is a progressive enhancement, not a hard prerequisite.
|
|
37
|
+
*/
|
|
38
|
+
type KickJsPluginName = keyof KickJsPluginRegistry extends never ? string : keyof KickJsPluginRegistry & string;
|
|
39
|
+
/**
|
|
40
|
+
* Metadata attached to a `defineAugmentation` call. The fields are
|
|
41
|
+
* documentation-only — `kick typegen` surfaces them in the generated
|
|
42
|
+
* `.kickjs/types/augmentations.d.ts` so adopters can browse every
|
|
43
|
+
* augmentable interface from one place.
|
|
44
|
+
*/
|
|
45
|
+
interface AugmentationMeta {
|
|
46
|
+
/** One-line description of what the augmentation customises. */
|
|
47
|
+
description?: string;
|
|
48
|
+
/** Tiny TS snippet showing a typical shape (`'{ foo: string }'`). */
|
|
49
|
+
example?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Advertise an augmentable interface so `kick typegen` can list it in
|
|
53
|
+
* `.kickjs/types/augmentations.d.ts`. Runtime no-op — exists purely as
|
|
54
|
+
* a static marker for the typegen scanner to discover.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* import { defineAugmentation } from '@forinda/kickjs'
|
|
59
|
+
*
|
|
60
|
+
* export interface FeatureFlags {} // augmentable
|
|
61
|
+
*
|
|
62
|
+
* defineAugmentation('FeatureFlags', {
|
|
63
|
+
* description: 'Flags consumed by FlagsPlugin',
|
|
64
|
+
* example: '{ beta: boolean; rolloutPercentage: number }',
|
|
65
|
+
* })
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
declare function defineAugmentation(name: string, meta?: AugmentationMeta): void;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/core/adapter.d.ts
|
|
71
|
+
/**
|
|
72
|
+
* Where in the middleware pipeline an adapter's middleware should be inserted.
|
|
73
|
+
*
|
|
74
|
+
* beforeGlobal → runs before any user-defined global middleware
|
|
75
|
+
* afterGlobal → runs after global middleware, before module routes
|
|
76
|
+
* beforeRoutes → just before module routes are mounted
|
|
77
|
+
* afterRoutes → after module routes but before error handlers
|
|
78
|
+
*/
|
|
79
|
+
type MiddlewarePhase = 'beforeGlobal' | 'afterGlobal' | 'beforeRoutes' | 'afterRoutes';
|
|
80
|
+
/** A middleware entry contributed by an adapter */
|
|
81
|
+
interface AdapterMiddleware {
|
|
82
|
+
/** Express-compatible handler: (req, res, next) => void */
|
|
83
|
+
handler: any;
|
|
84
|
+
/** Which phase to insert into (default: 'afterGlobal') */
|
|
85
|
+
phase?: MiddlewarePhase;
|
|
86
|
+
/** Optional path to scope the middleware to (e.g. '/api/v1/auth') */
|
|
87
|
+
path?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Context passed to adapter lifecycle hooks.
|
|
91
|
+
* Populated by the Application — provides access to the Express app,
|
|
92
|
+
* DI container, http.Server, and environment info without requiring
|
|
93
|
+
* external type imports. Cast `app` or `server` if you need specific types.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* ```ts
|
|
97
|
+
* beforeMount({ app, container }: AdapterContext) {
|
|
98
|
+
* app.use(myMiddleware())
|
|
99
|
+
* }
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
interface AdapterContext {
|
|
103
|
+
/** Express application instance — fully typed */
|
|
104
|
+
app: Express;
|
|
105
|
+
/** DI container */
|
|
106
|
+
container: Container;
|
|
107
|
+
/** Node.js http.Server — only available in afterStart */
|
|
108
|
+
server?: http.Server;
|
|
109
|
+
/** Current NODE_ENV value (default: 'development') */
|
|
110
|
+
env: string;
|
|
111
|
+
/** true when NODE_ENV === 'production' */
|
|
112
|
+
isProduction: boolean;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Adapters plug into the Application lifecycle.
|
|
116
|
+
* Implement this to add WebSocket, database, rate limiting, docs, etc.
|
|
117
|
+
*
|
|
118
|
+
* All hooks receive an `AdapterContext` populated by the framework.
|
|
119
|
+
* No external type imports needed — the context is fully typed from KickJS internals.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```ts
|
|
123
|
+
* import type { AppAdapter, AdapterContext } from '@forinda/kickjs/adapter'
|
|
124
|
+
*
|
|
125
|
+
* class SentryAdapter implements AppAdapter {
|
|
126
|
+
* name = 'SentryAdapter'
|
|
127
|
+
*
|
|
128
|
+
* beforeMount({ app, container }: AdapterContext) {
|
|
129
|
+
* app.use(Sentry.expressRequestHandler())
|
|
130
|
+
* }
|
|
131
|
+
*
|
|
132
|
+
* afterStart({ server }: AdapterContext) {
|
|
133
|
+
* // server is the http.Server — available after listen()
|
|
134
|
+
* }
|
|
135
|
+
*
|
|
136
|
+
* async shutdown() {
|
|
137
|
+
* await Sentry.close(2000)
|
|
138
|
+
* }
|
|
139
|
+
* }
|
|
140
|
+
* ```
|
|
141
|
+
*/
|
|
142
|
+
interface AppAdapter {
|
|
143
|
+
/**
|
|
144
|
+
* Human-readable name for logging and `dependsOn` resolution.
|
|
145
|
+
* Required when the adapter (or any other in the same set) declares
|
|
146
|
+
* `dependsOn` — sort errors will reference adapters by name.
|
|
147
|
+
*/
|
|
148
|
+
name?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Other adapter names that must mount before this one. The framework
|
|
151
|
+
* topologically sorts adapters at boot — cycles or unknown names throw
|
|
152
|
+
* via `MountCycleError` / `MissingMountDepError` so bad configurations
|
|
153
|
+
* fail boot rather than corrupt live traffic.
|
|
154
|
+
*
|
|
155
|
+
* Common pattern: `TenantAdapter` populates `req.tenant` and
|
|
156
|
+
* `AuthAdapter` reads it for tenant-scoped RBAC, so AuthAdapter
|
|
157
|
+
* declares `dependsOn = ['TenantAdapter']`. Adapters without
|
|
158
|
+
* `dependsOn` retain their declaration order.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```ts
|
|
162
|
+
* class AuthAdapter implements AppAdapter {
|
|
163
|
+
* name = 'AuthAdapter'
|
|
164
|
+
* dependsOn = ['TenantAdapter']
|
|
165
|
+
* }
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
dependsOn?: readonly KickJsPluginName[];
|
|
169
|
+
/**
|
|
170
|
+
* Return middleware entries to be inserted into the pipeline.
|
|
171
|
+
* The `phase` controls ordering relative to global middleware and routes.
|
|
172
|
+
*/
|
|
173
|
+
middleware?(): AdapterMiddleware[];
|
|
174
|
+
/**
|
|
175
|
+
* Return Context Contributors (#107) that apply to every route in the
|
|
176
|
+
* application. Adapter-level contributors merge into the per-route
|
|
177
|
+
* pipeline at the `'adapter'` precedence level — they win over global
|
|
178
|
+
* contributors but lose to module, class, and method decorators.
|
|
179
|
+
*
|
|
180
|
+
* Useful for cross-cutting concerns: an auth adapter contributing
|
|
181
|
+
* `user`, a multi-tenant adapter contributing `tenant`, etc. Optional.
|
|
182
|
+
*/
|
|
183
|
+
contributors?(): ContributorRegistration[] | readonly ContributorRegistration[];
|
|
184
|
+
/**
|
|
185
|
+
* Called before global middleware — register early routes (docs UI, health).
|
|
186
|
+
* May return a Promise — async rejections are caught and logged.
|
|
187
|
+
*/
|
|
188
|
+
beforeMount?(ctx: AdapterContext): void | Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
* Called for each module route that gets mounted.
|
|
191
|
+
* Use this to collect route metadata (e.g. for OpenAPI spec generation).
|
|
192
|
+
*/
|
|
193
|
+
onRouteMount?(controllerClass: Constructor, mountPath: string): void;
|
|
194
|
+
/**
|
|
195
|
+
* Called after modules are registered and the DI container is bootstrapped,
|
|
196
|
+
* before the HTTP server starts listening. **This is the correct hook for
|
|
197
|
+
* adapters that register DI bindings, resolve services, or otherwise prepare
|
|
198
|
+
* container-side state** (e.g. `container.registerInstance(MAILER, ...)`).
|
|
199
|
+
*
|
|
200
|
+
* `beforeStart` runs inside `app.setup()`, which means it also fires under
|
|
201
|
+
* `createTestApp` — adapters using this hook work in unit tests without
|
|
202
|
+
* needing a live HTTP server. See {@link afterStart} for the contrast.
|
|
203
|
+
*
|
|
204
|
+
* May return a Promise — async rejections are caught and logged.
|
|
205
|
+
*/
|
|
206
|
+
beforeStart?(ctx: AdapterContext): void | Promise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* Called after the HTTP server is listening — `ctx.server` is the live
|
|
209
|
+
* `http.Server`. **Use this hook only for work that genuinely needs a
|
|
210
|
+
* listening server**: attaching Socket.IO / WS upgrades, reading the bound
|
|
211
|
+
* port via `server.address()`, dispatching to the local server over HTTP,
|
|
212
|
+
* etc.
|
|
213
|
+
*
|
|
214
|
+
* `afterStart` does NOT fire under `createTestApp`, since tests call
|
|
215
|
+
* `app.setup()` and never `app.start()`. If your adapter only registers DI
|
|
216
|
+
* bindings or resolves services, use {@link beforeStart} — that hook runs
|
|
217
|
+
* in both production (`start()`) and tests (`setup()`).
|
|
218
|
+
*
|
|
219
|
+
* May return a Promise — async rejections are caught and logged.
|
|
220
|
+
*/
|
|
221
|
+
afterStart?(ctx: AdapterContext): void | Promise<void>;
|
|
222
|
+
/**
|
|
223
|
+
* Called by the /health/ready endpoint. Return the health status of your adapter's
|
|
224
|
+
* backing service (database, Redis, queue, etc.).
|
|
225
|
+
*/
|
|
226
|
+
onHealthCheck?(): Promise<{
|
|
227
|
+
name: string;
|
|
228
|
+
status: 'up' | 'down';
|
|
229
|
+
}>;
|
|
230
|
+
/** Called on shutdown — clean up connections */
|
|
231
|
+
shutdown?(): MaybePromise;
|
|
232
|
+
/**
|
|
233
|
+
* Optional DevTools introspection hook (architecture.md §23). Returns
|
|
234
|
+
* a snapshot describing this adapter's current state, metrics, and DI
|
|
235
|
+
* tokens. DevTools awaits the result, so async work is fine — but keep
|
|
236
|
+
* the implementation cheap (counters + flags, no DB round trips) since
|
|
237
|
+
* the topology endpoint polls on a short interval.
|
|
238
|
+
*
|
|
239
|
+
* The return type is intentionally untyped at this layer to avoid
|
|
240
|
+
* `@forinda/kickjs` taking on a runtime dep on `@forinda/kickjs-devtools-kit`.
|
|
241
|
+
* Adapter authors should import and return `IntrospectionSnapshot`
|
|
242
|
+
* from `@forinda/kickjs-devtools-kit` directly.
|
|
243
|
+
*/
|
|
244
|
+
introspect?(): unknown | Promise<unknown>;
|
|
245
|
+
/**
|
|
246
|
+
* Optional DevTools tabs this adapter contributes (architecture.md §23).
|
|
247
|
+
* Returns an array of `DevtoolsTabDescriptor` shapes — typically one
|
|
248
|
+
* entry per adapter-owned panel (iframe / launch / html view).
|
|
249
|
+
*
|
|
250
|
+
* Same untyped-at-this-layer convention as {@link introspect}: adapter
|
|
251
|
+
* authors import `defineDevtoolsTab` (or the bare type) from
|
|
252
|
+
* `@forinda/kickjs-devtools-kit` so `@forinda/kickjs` doesn't take on
|
|
253
|
+
* a runtime dep on the kit.
|
|
254
|
+
*/
|
|
255
|
+
devtoolsTabs?(): readonly unknown[];
|
|
256
|
+
}
|
|
257
|
+
/** Constructor type for AppAdapter classes */
|
|
258
|
+
type AppAdapterClass = new () => AppAdapter;
|
|
259
|
+
//#endregion
|
|
260
|
+
export { MiddlewarePhase as a, KickJsPluginRegistry as c, AppAdapterClass as i, defineAugmentation as l, AdapterMiddleware as n, AugmentationMeta as o, AppAdapter as r, KickJsPluginName as s, AdapterContext as t };
|
|
261
|
+
//# sourceMappingURL=adapter-BNw2pGbg.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter-BNw2pGbg.d.mts","names":[],"sources":["../src/core/augmentation.ts","../src/core/adapter.ts"],"mappings":";;;;;;;;;;;;;;;AAqBA;;;;;AAUA;;;;;AAUA;;;UApBiB,oBAAA;AA4CjB;;;;;;;;AAAA,KAlCY,gBAAA,SAAyB,oBAAA,gCAE3B,oBAAA;;;;AClBV;;;UD0BiB,gBAAA;EC1BU;ED4BzB,WAAA;ECzBgC;ED2BhC,OAAA;AAAA;;;;;;;ACLF;;;;;;;;;;;iBDyBgB,kBAAA,CAAmB,IAAA,UAAc,IAAA,GAAO,gBAAA;;;;AA5CxD;;;;;AAUA;;KChBY,eAAA;;UAGK,iBAAA;EDuBA;ECrBf,OAAA;;EAEA,KAAA,GAAQ,eAAA;EDuBD;ECrBP,IAAA;AAAA;;;;;;;;;;;AATF;;;UAyBiB,cAAA;EAzBU;EA2BzB,GAAA,EAAK,OAAA;EAxB2B;EA0BhC,SAAA,EAAW,SAAA;EAtBY;EAwBvB,MAAA,GAAS,IAAA,CAAK,MAAA;EAxBd;EA0BA,GAAA;EAxBA;EA0BA,YAAA;AAAA;AAVF;;;;;;;;;;;;;;;;;;;AAyCA;;;;;;;;;AAzCA,UAyCiB,UAAA;EAsEG;;;;;EAhElB,IAAA;EAuGyB;;;;;;;;;;;;;;;;;;;EAlFzB,SAAA,YAAqB,gBAAA;EA2CH;;;;EArClB,UAAA,KAAe,iBAAA;EAqDH;;;;;;;;;EA1CZ,YAAA,KAAiB,uBAAA,cAAqC,uBAAA;EA6EtD;;;AAIF;EA3EE,WAAA,EAAa,GAAA,EAAK,cAAA,UAAwB,OAAA;;;;;EAM1C,YAAA,EAAc,eAAA,EAAiB,WAAA,EAAa,SAAA;;;;;;;;;;;;;EAc5C,WAAA,EAAa,GAAA,EAAK,cAAA,UAAwB,OAAA;;;;;;;;;;;;;;;EAgB1C,UAAA,EAAY,GAAA,EAAK,cAAA,UAAwB,OAAA;;;;;EAMzC,aAAA,KAAkB,OAAA;IAAU,IAAA;IAAc,MAAA;EAAA;;EAG1C,QAAA,KAAa,YAAA;;;;;;;;;;;;;EAcb,UAAA,eAAyB,OAAA;;;;;;;;;;;EAYzB,YAAA;AAAA;;KAIU,eAAA,aAA4B,UAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { t as Container } from "./container-
|
|
2
|
+
import { t as Container } from "./container-CnWDsxi-.mjs";
|
|
3
|
+
import { r as ContributorRegistration } from "./context-decorator-B5v3VQCN.mjs";
|
|
3
4
|
|
|
4
5
|
//#region src/core/app-module.d.ts
|
|
5
6
|
/**
|
|
@@ -30,6 +31,15 @@ interface ModuleRoutes {
|
|
|
30
31
|
interface AppModule {
|
|
31
32
|
/** Optional — bind interfaces to implementations in the container */
|
|
32
33
|
register?(container: Container): void;
|
|
34
|
+
/**
|
|
35
|
+
* Return Context Contributors (#107) that apply to every route this
|
|
36
|
+
* module mounts. Module-level contributors are merged into the per-route
|
|
37
|
+
* pipeline at the `'module'` precedence level — they win over adapter
|
|
38
|
+
* and global contributors but lose to method and class decorators.
|
|
39
|
+
*
|
|
40
|
+
* Optional — modules without per-module contributors omit this hook.
|
|
41
|
+
*/
|
|
42
|
+
contributors?(): ContributorRegistration[] | readonly ContributorRegistration[];
|
|
33
43
|
/** Return route definitions for this module, or null for non-HTTP modules */
|
|
34
44
|
routes(): ModuleRoutes | ModuleRoutes[] | null;
|
|
35
45
|
}
|
|
@@ -37,4 +47,4 @@ interface AppModule {
|
|
|
37
47
|
type AppModuleClass = new () => AppModule;
|
|
38
48
|
//#endregion
|
|
39
49
|
export { AppModuleClass as n, ModuleRoutes as r, AppModule as t };
|
|
40
|
-
//# sourceMappingURL=app-module-
|
|
50
|
+
//# sourceMappingURL=app-module-CO0ksPCm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-module-CO0ksPCm.d.mts","names":[],"sources":["../src/core/app-module.ts"],"mappings":";;;;;;;AAOA;;UAAiB,YAAA;EAAY;EAE3B,IAAA;EAEA;EAAA,MAAA;EAIA;EAFA,OAAA;EAEU;EAAV,UAAA;AAAA;;;;;;;;;;;;UAce,SAAA;EAWE;EATjB,QAAA,EAAU,SAAA,EAAW,SAAA;EAWrB;;;;;AAIF;;;EANE,YAAA,KAAiB,uBAAA,cAAqC,uBAAA;EAMR;EAJ9C,MAAA,IAAU,YAAA,GAAe,YAAA;AAAA;;KAIf,cAAA,aAA2B,SAAA"}
|