@warlock.js/core 4.1.12 → 4.1.14

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 (383) hide show
  1. package/esm/application/app.d.mts +1 -1
  2. package/esm/application/app.mjs +1 -1
  3. package/esm/application/application-config-types.d.mts +1 -1
  4. package/esm/application/application.d.mts +1 -1
  5. package/esm/application/application.mjs +1 -1
  6. package/esm/benchmark/benchmark-snapshots.d.mts +1 -1
  7. package/esm/benchmark/benchmark-snapshots.mjs +1 -1
  8. package/esm/benchmark/benchmark.d.mts +1 -1
  9. package/esm/benchmark/benchmark.mjs +1 -1
  10. package/esm/benchmark/channels/console.channel.d.mts +1 -1
  11. package/esm/benchmark/channels/console.channel.mjs +1 -1
  12. package/esm/benchmark/channels/noop.channel.d.mts +1 -1
  13. package/esm/benchmark/channels/noop.channel.mjs +1 -1
  14. package/esm/benchmark/profiler.d.mts +1 -1
  15. package/esm/benchmark/profiler.mjs +1 -1
  16. package/esm/benchmark/types.d.mts +1 -1
  17. package/esm/bootstrap/setup.d.mts +1 -1
  18. package/esm/bootstrap/setup.mjs +1 -1
  19. package/esm/bootstrap.d.mts +1 -1
  20. package/esm/bootstrap.mjs +1 -1
  21. package/esm/cache/database-cache-driver.d.mts +1 -1
  22. package/esm/cache/database-cache-driver.mjs +1 -1
  23. package/esm/cache/index.mjs +1 -1
  24. package/esm/cli/cli-command.d.mts +1 -1
  25. package/esm/cli/cli-command.mjs +1 -1
  26. package/esm/cli/cli-commands.manager.mjs +8 -3
  27. package/esm/cli/cli-commands.manager.mjs.map +1 -1
  28. package/esm/cli/cli-commands.utils.mjs +32 -2
  29. package/esm/cli/cli-commands.utils.mjs.map +1 -1
  30. package/esm/cli/commands/add.command.mjs +1 -1
  31. package/esm/cli/commands/build.command.mjs +1 -1
  32. package/esm/cli/commands/create-database.command.mjs +1 -1
  33. package/esm/cli/commands/dev-server.command.mjs +1 -1
  34. package/esm/cli/commands/drop-tables.command.mjs +1 -1
  35. package/esm/cli/commands/generate/generate.command.mjs +1 -1
  36. package/esm/cli/commands/generate/generators/column-dsl-parser.mjs +1 -1
  37. package/esm/cli/commands/generate/generators/controller.generator.mjs +1 -1
  38. package/esm/cli/commands/generate/generators/migration.generator.mjs +1 -1
  39. package/esm/cli/commands/generate/generators/model.generator.mjs +1 -1
  40. package/esm/cli/commands/generate/generators/module.generator.mjs +1 -1
  41. package/esm/cli/commands/generate/generators/repository.generator.mjs +1 -1
  42. package/esm/cli/commands/generate/generators/resource.generator.mjs +1 -1
  43. package/esm/cli/commands/generate/generators/service.generator.mjs +1 -1
  44. package/esm/cli/commands/generate/templates/stubs.mjs +1 -1
  45. package/esm/cli/commands/generate/utils/name-parser.mjs +1 -1
  46. package/esm/cli/commands/generate/utils/path-resolver.mjs +1 -1
  47. package/esm/cli/commands/generate/utils/prompt.mjs +1 -1
  48. package/esm/cli/commands/generate/utils/writer.mjs +1 -1
  49. package/esm/cli/commands/migrate.command.mjs +1 -1
  50. package/esm/cli/commands/seed.command.mjs +1 -1
  51. package/esm/cli/commands/start-production.command.mjs +1 -1
  52. package/esm/cli/commands/storage-put.action.mjs +1 -1
  53. package/esm/cli/commands/storage-put.command.mjs +1 -1
  54. package/esm/cli/commands/typings-generator.command.mjs +1 -1
  55. package/esm/cli/commands-loader.mjs +1 -1
  56. package/esm/cli/framework-cli-commands.mjs +1 -1
  57. package/esm/cli/parse-cli-args.mjs +1 -1
  58. package/esm/cli/start.mjs +1 -1
  59. package/esm/cli/string-similarity.mjs +1 -1
  60. package/esm/cli/types.d.mts +1 -1
  61. package/esm/config/config-getter.d.mts +1 -1
  62. package/esm/config/config-getter.mjs +1 -1
  63. package/esm/config/config-handlers.d.mts +1 -1
  64. package/esm/config/config-handlers.mjs +1 -1
  65. package/esm/config/config-loader.d.mts +1 -1
  66. package/esm/config/config-loader.mjs +1 -1
  67. package/esm/config/config-manager.mjs +1 -1
  68. package/esm/config/config-special-handlers.d.mts +1 -1
  69. package/esm/config/config-special-handlers.mjs +1 -1
  70. package/esm/config/load-config-files.mjs +1 -1
  71. package/esm/config/types.d.mts +1 -1
  72. package/esm/connectors/base-connector.d.mts +1 -1
  73. package/esm/connectors/base-connector.mjs +1 -1
  74. package/esm/connectors/cache-connector.d.mts +1 -1
  75. package/esm/connectors/cache-connector.mjs +1 -1
  76. package/esm/connectors/connectors-manager.d.mts +1 -1
  77. package/esm/connectors/connectors-manager.mjs +1 -1
  78. package/esm/connectors/database-connector.d.mts +1 -1
  79. package/esm/connectors/database-connector.mjs +1 -1
  80. package/esm/connectors/herald-connector.d.mts +1 -1
  81. package/esm/connectors/herald-connector.mjs +1 -1
  82. package/esm/connectors/http-connector.d.mts +1 -1
  83. package/esm/connectors/http-connector.mjs +1 -1
  84. package/esm/connectors/logger-connector.d.mts +1 -1
  85. package/esm/connectors/logger-connector.mjs +1 -1
  86. package/esm/connectors/mail-connector.d.mts +1 -1
  87. package/esm/connectors/mail-connector.mjs +1 -1
  88. package/esm/connectors/socket-connector.d.mts +1 -1
  89. package/esm/connectors/socket-connector.mjs +1 -1
  90. package/esm/connectors/storage.connector.d.mts +1 -1
  91. package/esm/connectors/storage.connector.mjs +1 -1
  92. package/esm/connectors/types.d.mts +1 -1
  93. package/esm/connectors/types.mjs +1 -1
  94. package/esm/container/index.d.mts +1 -1
  95. package/esm/container/index.mjs +1 -1
  96. package/esm/database/create-database-action.mjs +1 -1
  97. package/esm/database/drop-tables-action.mjs +1 -1
  98. package/esm/database/migrate-action.mjs +1 -1
  99. package/esm/database/models/database-log/database-log.d.mts +1 -1
  100. package/esm/database/models/database-log/database-log.mjs +1 -1
  101. package/esm/database/seed-command-action.mjs +1 -1
  102. package/esm/database/seeds/seeder.d.mts +1 -1
  103. package/esm/database/seeds/seeder.mjs +1 -1
  104. package/esm/database/seeds/seeders.manager.mjs +1 -1
  105. package/esm/database/seeds/seeds-table-migration.mjs +1 -1
  106. package/esm/database/seeds/types.d.mts +1 -1
  107. package/esm/database/seeds/utils.mjs +1 -1
  108. package/esm/database/utils.d.mts +1 -1
  109. package/esm/database/utils.mjs +1 -1
  110. package/esm/dev-server/create-worker.mjs +1 -1
  111. package/esm/dev-server/dependency-graph.d.mts +1 -1
  112. package/esm/dev-server/dependency-graph.mjs +1 -1
  113. package/esm/dev-server/dev-logger.mjs +1 -1
  114. package/esm/dev-server/development-server.mjs +1 -1
  115. package/esm/dev-server/events.mjs +1 -1
  116. package/esm/dev-server/file-event-handler.mjs +1 -1
  117. package/esm/dev-server/file-manager.d.mts +1 -1
  118. package/esm/dev-server/file-manager.mjs +1 -1
  119. package/esm/dev-server/file-operations.d.mts +1 -1
  120. package/esm/dev-server/file-operations.mjs +1 -1
  121. package/esm/dev-server/files-orchestrator.d.mts +1 -1
  122. package/esm/dev-server/files-orchestrator.mjs +1 -1
  123. package/esm/dev-server/files-watcher.d.mts +1 -1
  124. package/esm/dev-server/files-watcher.mjs +1 -1
  125. package/esm/dev-server/flags.mjs +1 -1
  126. package/esm/dev-server/health-checker/checkers/base-health-checker.d.mts +1 -1
  127. package/esm/dev-server/health-checker/checkers/base-health-checker.mjs +1 -1
  128. package/esm/dev-server/health-checker/checkers/eslint-health-checker.d.mts +1 -1
  129. package/esm/dev-server/health-checker/checkers/eslint-health-checker.mjs +1 -1
  130. package/esm/dev-server/health-checker/checkers/typescript-health-checker.d.mts +1 -1
  131. package/esm/dev-server/health-checker/checkers/typescript-health-checker.mjs +1 -1
  132. package/esm/dev-server/health-checker/file-health-checker.contract.d.mts +1 -1
  133. package/esm/dev-server/health-checker/file-health-result.d.mts +1 -1
  134. package/esm/dev-server/health-checker/file-health-result.mjs +1 -1
  135. package/esm/dev-server/health-checker/files-healthcare.manager.d.mts +1 -1
  136. package/esm/dev-server/health-checker/files-healthcare.manager.mjs +1 -1
  137. package/esm/dev-server/health-checker/workers/eslint-health.worker.mjs +1 -1
  138. package/esm/dev-server/health-checker/workers/ts-health.worker.mjs +1 -1
  139. package/esm/dev-server/layer-executor.mjs +1 -1
  140. package/esm/dev-server/loader/build-transpile-init.mjs +1 -1
  141. package/esm/dev-server/loader/hook-thread.d.mts +1 -1
  142. package/esm/dev-server/loader/hook-thread.mjs +1 -1
  143. package/esm/dev-server/loader/load-hook.d.mts +1 -1
  144. package/esm/dev-server/loader/load-hook.mjs +1 -1
  145. package/esm/dev-server/loader/own-resolver.mjs +1 -1
  146. package/esm/dev-server/loader/register-loader.mjs +1 -1
  147. package/esm/dev-server/loader/resolve-capture.mjs +1 -1
  148. package/esm/dev-server/loader/resolve-hook.d.mts +1 -1
  149. package/esm/dev-server/loader/resolve-hook.mjs +1 -1
  150. package/esm/dev-server/loader/source-slug.mjs +1 -1
  151. package/esm/dev-server/loader/transpile-cache.mjs +1 -1
  152. package/esm/dev-server/loader/version-registry.mjs +1 -1
  153. package/esm/dev-server/manifest-manager.d.mts +1 -1
  154. package/esm/dev-server/manifest-manager.mjs +1 -1
  155. package/esm/dev-server/module-loader.d.mts +1 -1
  156. package/esm/dev-server/module-loader.mjs +1 -1
  157. package/esm/dev-server/package-json-manager.mjs +1 -1
  158. package/esm/dev-server/parse-imports.mjs +1 -1
  159. package/esm/dev-server/path.mjs +1 -1
  160. package/esm/dev-server/special-files-collector.d.mts +1 -1
  161. package/esm/dev-server/special-files-collector.mjs +1 -1
  162. package/esm/dev-server/start-development-server.mjs +1 -1
  163. package/esm/dev-server/tsconfig-manager.mjs +1 -1
  164. package/esm/dev-server/type-generator.mjs +1 -1
  165. package/esm/dev-server/types.d.mts +1 -1
  166. package/esm/dev-server/utils.mjs +1 -1
  167. package/esm/encryption/encrypt.d.mts +1 -1
  168. package/esm/encryption/encrypt.mjs +1 -1
  169. package/esm/encryption/hash.d.mts +1 -1
  170. package/esm/encryption/hash.mjs +1 -1
  171. package/esm/encryption/password.d.mts +1 -1
  172. package/esm/encryption/password.mjs +1 -1
  173. package/esm/encryption/types.d.mts +1 -1
  174. package/esm/generations/add-command.action.mjs +2 -2
  175. package/esm/generations/add-command.action.mjs.map +1 -1
  176. package/esm/generations/stubs.mjs +4 -4
  177. package/esm/generations/stubs.mjs.map +1 -1
  178. package/esm/http/config.d.mts +1 -1
  179. package/esm/http/config.mjs +1 -1
  180. package/esm/http/context/request-context.d.mts +1 -1
  181. package/esm/http/context/request-context.mjs +1 -1
  182. package/esm/http/createHttpApplication.d.mts +1 -1
  183. package/esm/http/createHttpApplication.mjs +1 -1
  184. package/esm/http/database/RequestLog.d.mts +1 -1
  185. package/esm/http/database/RequestLog.mjs +1 -1
  186. package/esm/http/error-codes.d.mts +1 -1
  187. package/esm/http/error-codes.mjs +1 -1
  188. package/esm/http/errors/errors.d.mts +1 -1
  189. package/esm/http/errors/errors.mjs +1 -1
  190. package/esm/http/events.d.mts +1 -1
  191. package/esm/http/events.mjs +1 -1
  192. package/esm/http/middleware/cache-response-middleware.d.mts +1 -1
  193. package/esm/http/middleware/cache-response-middleware.mjs +1 -1
  194. package/esm/http/middleware/concurrency-limit.middleware.d.mts +1 -1
  195. package/esm/http/middleware/concurrency-limit.middleware.mjs +1 -1
  196. package/esm/http/middleware/idempotency.middleware.d.mts +1 -1
  197. package/esm/http/middleware/idempotency.middleware.mjs +1 -1
  198. package/esm/http/middleware/inject-request-context.d.mts +1 -1
  199. package/esm/http/middleware/inject-request-context.mjs +1 -1
  200. package/esm/http/middleware/ip-filter.middleware.d.mts +1 -1
  201. package/esm/http/middleware/ip-filter.middleware.mjs +1 -1
  202. package/esm/http/middleware/maintenance.middleware.d.mts +1 -1
  203. package/esm/http/middleware/maintenance.middleware.mjs +1 -1
  204. package/esm/http/middleware/max-body-size.middleware.d.mts +1 -1
  205. package/esm/http/middleware/max-body-size.middleware.mjs +1 -1
  206. package/esm/http/middleware/middleware-list.d.mts +1 -1
  207. package/esm/http/middleware/middleware-list.mjs +1 -1
  208. package/esm/http/middleware/rate-limit.middleware.d.mts +1 -1
  209. package/esm/http/middleware/rate-limit.middleware.mjs +1 -1
  210. package/esm/http/middleware/utils/cidr-match.d.mts +1 -1
  211. package/esm/http/middleware/utils/cidr-match.mjs +1 -1
  212. package/esm/http/middleware/utils/idempotency-key.d.mts +1 -1
  213. package/esm/http/middleware/utils/idempotency-key.mjs +1 -1
  214. package/esm/http/middleware/utils/parse-size.d.mts +1 -1
  215. package/esm/http/middleware/utils/parse-size.mjs +1 -1
  216. package/esm/http/plugins.d.mts +1 -1
  217. package/esm/http/plugins.mjs +1 -1
  218. package/esm/http/request-controller.d.mts +1 -1
  219. package/esm/http/request-controller.mjs +1 -1
  220. package/esm/http/request.d.mts +1 -1
  221. package/esm/http/request.mjs +1 -1
  222. package/esm/http/response.d.mts +1 -1
  223. package/esm/http/response.mjs +1 -1
  224. package/esm/http/server.d.mts +1 -1
  225. package/esm/http/server.mjs +1 -1
  226. package/esm/http/types.d.mts +1 -1
  227. package/esm/http/uploaded-file.d.mts +1 -1
  228. package/esm/http/uploaded-file.mjs +1 -1
  229. package/esm/http/uploads-config.d.mts +1 -1
  230. package/esm/http/uploads-config.mjs +1 -1
  231. package/esm/http/uploads-types.d.mts +1 -1
  232. package/esm/image/image.d.mts +1 -1
  233. package/esm/image/image.mjs +1 -1
  234. package/esm/logger/logger.d.mts +1 -1
  235. package/esm/logger/logger.mjs +1 -1
  236. package/esm/logger/types.d.mts +1 -1
  237. package/esm/mail/config.d.mts +1 -1
  238. package/esm/mail/config.mjs +1 -1
  239. package/esm/mail/events.d.mts +1 -1
  240. package/esm/mail/events.mjs +1 -1
  241. package/esm/mail/mail.d.mts +1 -1
  242. package/esm/mail/mail.mjs +1 -1
  243. package/esm/mail/mailer-pool.d.mts +1 -1
  244. package/esm/mail/mailer-pool.mjs +1 -1
  245. package/esm/mail/react-mail.d.mts +1 -1
  246. package/esm/mail/react-mail.mjs +1 -1
  247. package/esm/mail/send-mail.d.mts +1 -1
  248. package/esm/mail/send-mail.mjs +1 -1
  249. package/esm/mail/test-mailbox.d.mts +1 -1
  250. package/esm/mail/test-mailbox.mjs +1 -1
  251. package/esm/mail/types.d.mts +1 -1
  252. package/esm/mail/types.mjs +1 -1
  253. package/esm/manifest/manifest-manager.mjs +1 -1
  254. package/esm/production/build-app-production.mjs +1 -1
  255. package/esm/production/esbuild-plugins.mjs +1 -1
  256. package/esm/production/production-builder.mjs +1 -1
  257. package/esm/production/resolve-build-config.mjs +1 -1
  258. package/esm/react/index.d.mts +1 -1
  259. package/esm/react/index.mjs +1 -1
  260. package/esm/repositories/adapters/cascade/cascade-adapter.d.mts +1 -1
  261. package/esm/repositories/adapters/cascade/cascade-adapter.mjs +1 -1
  262. package/esm/repositories/adapters/cascade/cascade-query-builder.d.mts +1 -1
  263. package/esm/repositories/adapters/cascade/cascade-query-builder.mjs +1 -1
  264. package/esm/repositories/adapters/cascade/filter-applicator.mjs +1 -1
  265. package/esm/repositories/contracts/query-builder.contract.d.mts +1 -1
  266. package/esm/repositories/contracts/repository-adapter.contract.d.mts +1 -1
  267. package/esm/repositories/contracts/types.d.mts +1 -1
  268. package/esm/repositories/repository.manager.d.mts +1 -1
  269. package/esm/repositories/repository.manager.mjs +1 -1
  270. package/esm/resource/define-resource.d.mts +1 -1
  271. package/esm/resource/define-resource.mjs +1 -1
  272. package/esm/resource/register-resource.d.mts +1 -1
  273. package/esm/resource/register-resource.mjs +1 -1
  274. package/esm/resource/resource-field-builder.d.mts +1 -1
  275. package/esm/resource/resource-field-builder.mjs +1 -1
  276. package/esm/resource/resource.d.mts +1 -1
  277. package/esm/resource/resource.mjs +1 -1
  278. package/esm/resource/types.d.mts +1 -1
  279. package/esm/restful/restful.d.mts +1 -1
  280. package/esm/restful/restful.mjs +1 -1
  281. package/esm/router/route-builder.d.mts +1 -1
  282. package/esm/router/route-builder.mjs +1 -1
  283. package/esm/router/route-registry.mjs +1 -1
  284. package/esm/router/router.d.mts +1 -1
  285. package/esm/router/router.mjs +1 -1
  286. package/esm/router/types.d.mts +1 -1
  287. package/esm/socket/types.d.mts +1 -1
  288. package/esm/socket/utils.d.mts +1 -1
  289. package/esm/socket/utils.mjs +1 -1
  290. package/esm/storage/config.d.mts +1 -1
  291. package/esm/storage/config.mjs +1 -1
  292. package/esm/storage/context/storage-driver-context.d.mts +1 -1
  293. package/esm/storage/context/storage-driver-context.mjs +1 -1
  294. package/esm/storage/drivers/cloud-driver.d.mts +1 -1
  295. package/esm/storage/drivers/cloud-driver.mjs +1 -1
  296. package/esm/storage/drivers/do-spaces-driver.d.mts +1 -1
  297. package/esm/storage/drivers/do-spaces-driver.mjs +1 -1
  298. package/esm/storage/drivers/local-driver.d.mts +1 -1
  299. package/esm/storage/drivers/local-driver.mjs +1 -1
  300. package/esm/storage/drivers/r2-driver.d.mts +1 -1
  301. package/esm/storage/drivers/r2-driver.mjs +1 -1
  302. package/esm/storage/drivers/s3-driver.d.mts +1 -1
  303. package/esm/storage/drivers/s3-driver.mjs +1 -1
  304. package/esm/storage/scoped-storage.d.mts +1 -1
  305. package/esm/storage/scoped-storage.mjs +1 -1
  306. package/esm/storage/storage-file.d.mts +1 -1
  307. package/esm/storage/storage-file.mjs +1 -1
  308. package/esm/storage/storage.d.mts +1 -1
  309. package/esm/storage/storage.mjs +1 -1
  310. package/esm/storage/types.d.mts +1 -1
  311. package/esm/storage/utils/mime.d.mts +1 -1
  312. package/esm/storage/utils/mime.mjs +1 -1
  313. package/esm/tests/start-http-development-server.d.mts +1 -1
  314. package/esm/tests/start-http-development-server.mjs +1 -1
  315. package/esm/tests/test-helpers.d.mts +1 -1
  316. package/esm/tests/test-helpers.mjs +1 -1
  317. package/esm/tests/vitest-setup.d.mts +1 -1
  318. package/esm/tests/vitest-setup.mjs +1 -1
  319. package/esm/use-cases/types.d.mts +1 -1
  320. package/esm/use-cases/use-case-broadcast.d.mts +1 -1
  321. package/esm/use-cases/use-case-broadcast.mjs +1 -1
  322. package/esm/use-cases/use-case-events.d.mts +1 -1
  323. package/esm/use-cases/use-case-events.mjs +1 -1
  324. package/esm/use-cases/use-case-pipeline.d.mts +1 -1
  325. package/esm/use-cases/use-case-pipeline.mjs +1 -1
  326. package/esm/use-cases/use-case.d.mts +1 -1
  327. package/esm/use-cases/use-case.errors.d.mts +1 -1
  328. package/esm/use-cases/use-case.errors.mjs +1 -1
  329. package/esm/use-cases/use-case.mjs +1 -1
  330. package/esm/use-cases/use-cases-registry.d.mts +1 -1
  331. package/esm/use-cases/use-cases-registry.mjs +1 -1
  332. package/esm/utils/app-log.d.mts +1 -1
  333. package/esm/utils/app-log.mjs +1 -1
  334. package/esm/utils/database-log.d.mts +1 -1
  335. package/esm/utils/database-log.mjs +1 -1
  336. package/esm/utils/environment.d.mts +1 -1
  337. package/esm/utils/environment.mjs +1 -1
  338. package/esm/utils/framework-vesion.mjs +1 -1
  339. package/esm/utils/get-localized.d.mts +1 -1
  340. package/esm/utils/get-localized.mjs +1 -1
  341. package/esm/utils/paths.d.mts +1 -1
  342. package/esm/utils/paths.mjs +1 -1
  343. package/esm/utils/promise-all-object.d.mts +1 -1
  344. package/esm/utils/promise-all-object.mjs +1 -1
  345. package/esm/utils/queue.d.mts +1 -1
  346. package/esm/utils/queue.mjs +1 -1
  347. package/esm/utils/sleep.d.mts +1 -1
  348. package/esm/utils/sleep.mjs +1 -1
  349. package/esm/utils/sluggable.d.mts +1 -1
  350. package/esm/utils/sluggable.mjs +1 -1
  351. package/esm/utils/to-json.d.mts +1 -1
  352. package/esm/utils/to-json.mjs +1 -1
  353. package/esm/utils/types.d.mts +1 -1
  354. package/esm/utils/urls.d.mts +1 -1
  355. package/esm/utils/urls.mjs +1 -1
  356. package/esm/validation/database/exists-except-current-id.d.mts +1 -1
  357. package/esm/validation/database/exists-except-current-id.mjs +1 -1
  358. package/esm/validation/database/exists-except-current-user.d.mts +1 -1
  359. package/esm/validation/database/exists-except-current-user.mjs +1 -1
  360. package/esm/validation/database/types.d.mts +1 -1
  361. package/esm/validation/database/unique-except-current-id.d.mts +1 -1
  362. package/esm/validation/database/unique-except-current-id.mjs +1 -1
  363. package/esm/validation/database/unique-except-current-user.d.mts +1 -1
  364. package/esm/validation/database/unique-except-current-user.mjs +1 -1
  365. package/esm/validation/file/file.d.mts +1 -1
  366. package/esm/validation/file/file.mjs +1 -1
  367. package/esm/validation/init.mjs +1 -1
  368. package/esm/validation/plugins/database-plugin.mjs +1 -1
  369. package/esm/validation/plugins/file-plugin.mjs +1 -1
  370. package/esm/validation/plugins/localized-plugin.mjs +1 -1
  371. package/esm/validation/types.d.mts +1 -1
  372. package/esm/validation/validateAll.mjs +1 -1
  373. package/esm/validation/validators/file-validator.d.mts +1 -1
  374. package/esm/validation/validators/file-validator.mjs +1 -1
  375. package/esm/warlock-config/default-configurations.mjs +1 -1
  376. package/esm/warlock-config/define-config.d.mts +1 -1
  377. package/esm/warlock-config/define-config.mjs +1 -1
  378. package/esm/warlock-config/types.d.mts +1 -1
  379. package/esm/warlock-config/warlock-config.manager.d.mts +1 -1
  380. package/esm/warlock-config/warlock-config.manager.mjs +1 -1
  381. package/llms-full.txt +2 -0
  382. package/package.json +1 -1
  383. package/skills/run-app/SKILL.md +2 -0
@@ -3,7 +3,7 @@ import "../utils/index.mjs";
3
3
  import config from "@mongez/config";
4
4
  import fastifyMultipart from "@fastify/multipart";
5
5
 
6
- //#region ../@warlock.js/core/src/http/plugins.ts
6
+ //#region ../../@warlock.js/core/src/http/plugins.ts
7
7
  const defaultCorsOptions = {
8
8
  origin: "*",
9
9
  methods: "*"
@@ -3,7 +3,7 @@ import { Response } from "./response.mjs";
3
3
  import { ReturnedResponse } from "./types.mjs";
4
4
  import { RequestControllerContract } from "../router/types.mjs";
5
5
 
6
- //#region ../@warlock.js/core/src/http/request-controller.d.ts
6
+ //#region ../../@warlock.js/core/src/http/request-controller.d.ts
7
7
  declare abstract class RequestController implements RequestControllerContract {
8
8
  readonly request: Request;
9
9
  readonly response: Response;
@@ -1,4 +1,4 @@
1
- //#region ../@warlock.js/core/src/http/request-controller.ts
1
+ //#region ../../@warlock.js/core/src/http/request-controller.ts
2
2
  var RequestController = class {
3
3
  constructor(request, response) {
4
4
  this.request = request;
@@ -8,7 +8,7 @@ import { LogLevel } from "@warlock.js/logger";
8
8
  import { FastifyRequest } from "fastify";
9
9
  import { IncomingHttpHeaders } from "node:http2";
10
10
 
11
- //#region ../@warlock.js/core/src/http/request.d.ts
11
+ //#region ../../@warlock.js/core/src/http/request.d.ts
12
12
  type StandardHeaders = { [K in keyof IncomingHttpHeaders as string extends K ? never : number extends K ? never : K]: IncomingHttpHeaders[K] };
13
13
  type HeaderKeys = keyof StandardHeaders;
14
14
  declare class Request<RequestValidation = any> {
@@ -11,7 +11,7 @@ import { Random, except, get, only, rtrim, set, unset } from "@mongez/reinforcem
11
11
  import { colors } from "@mongez/copper";
12
12
  import events from "@mongez/events";
13
13
 
14
- //#region ../@warlock.js/core/src/http/request.ts
14
+ //#region ../../@warlock.js/core/src/http/request.ts
15
15
  var Request = class Request {
16
16
  constructor() {
17
17
  this.payload = {};
@@ -9,7 +9,7 @@ import { FastifyReply } from "fastify";
9
9
  import { CookieSerializeOptions } from "@fastify/cookie";
10
10
  import React from "react";
11
11
 
12
- //#region ../@warlock.js/core/src/http/response.d.ts
12
+ //#region ../../@warlock.js/core/src/http/response.d.ts
13
13
  type CookieValue = string | number | boolean | Record<string, any> | Array<any>;
14
14
  /**
15
15
  * Cookie options accepted by `response.cookie()`.
@@ -10,7 +10,7 @@ import { fileExistsAsync } from "@warlock.js/fs";
10
10
  import fs from "fs";
11
11
  import mime from "mime";
12
12
 
13
- //#region ../@warlock.js/core/src/http/response.ts
13
+ //#region ../../@warlock.js/core/src/http/response.ts
14
14
  let ResponseStatus = /* @__PURE__ */ function(ResponseStatus) {
15
15
  ResponseStatus[ResponseStatus["OK"] = 200] = "OK";
16
16
  ResponseStatus[ResponseStatus["CREATED"] = 201] = "CREATED";
@@ -1,6 +1,6 @@
1
1
  import Fastify, { FastifyServerOptions } from "fastify";
2
2
 
3
- //#region ../@warlock.js/core/src/http/server.d.ts
3
+ //#region ../../@warlock.js/core/src/http/server.d.ts
4
4
  type FastifyInstance$1 = ReturnType<typeof Fastify>;
5
5
  declare function startHttpServer(options?: FastifyServerOptions): FastifyInstance$1;
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import config from "@mongez/config";
2
2
  import Fastify from "fastify";
3
3
 
4
- //#region ../@warlock.js/core/src/http/server.ts
4
+ //#region ../../@warlock.js/core/src/http/server.ts
5
5
  /**
6
6
  * Default Fastify body limit. Kept at the historical 200GB so existing apps
7
7
  * don't regress on upgrade. Override via `http.bodyLimit` in config; for
@@ -4,7 +4,7 @@ import { CookieSerializeOptions } from "@fastify/cookie";
4
4
  import { FastifyCorsOptions } from "@fastify/cors";
5
5
  import React from "react";
6
6
 
7
- //#region ../@warlock.js/core/src/http/types.d.ts
7
+ //#region ../../@warlock.js/core/src/http/types.d.ts
8
8
  type RequestEvent = "executingMiddleware" | "executedMiddleware" | "executingAction" | "executedAction";
9
9
  /**
10
10
  * Allowed response type
@@ -6,7 +6,7 @@ import { Image, ImageFormat, ImageTransformOptions } from "../image/image.mjs";
6
6
  import { ImageTransformCallback, PrefixConfig, SaveAsOptions, SaveOptions, UploadedFileImageOptions } from "./uploads-types.mjs";
7
7
  import { MultipartFile } from "@fastify/multipart";
8
8
 
9
- //#region ../@warlock.js/core/src/http/uploaded-file.d.ts
9
+ //#region ../../@warlock.js/core/src/http/uploaded-file.d.ts
10
10
  type UploadedFileMetadata = {
11
11
  name: string;
12
12
  mimeType: string;
@@ -8,7 +8,7 @@ import path from "path";
8
8
  import { Random } from "@mongez/reinforcements";
9
9
  import dayjs from "dayjs";
10
10
 
11
- //#region ../@warlock.js/core/src/http/uploaded-file.ts
11
+ //#region ../../@warlock.js/core/src/http/uploaded-file.ts
12
12
  /**
13
13
  * UploadedFile - Handles multipart file uploads with storage and image integration
14
14
  *
@@ -1,6 +1,6 @@
1
1
  import { UploadsConfigurations } from "./uploads-types.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/http/uploads-config.d.ts
3
+ //#region ../../@warlock.js/core/src/http/uploads-config.d.ts
4
4
  /**
5
5
  * Default uploads configuration values
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import { config } from "../config/config-getter.mjs";
2
2
  import "../config/index.mjs";
3
3
 
4
- //#region ../@warlock.js/core/src/http/uploads-config.ts
4
+ //#region ../../@warlock.js/core/src/http/uploads-config.ts
5
5
  /**
6
6
  * Default uploads configuration values
7
7
  *
@@ -2,7 +2,7 @@ import { StorageDriverName } from "../storage/types.mjs";
2
2
  import { Image, ImageFormat, ImageTransformOptions } from "../image/image.mjs";
3
3
  import { FileValidationOptions } from "./uploaded-file.mjs";
4
4
 
5
- //#region ../@warlock.js/core/src/http/uploads-types.d.ts
5
+ //#region ../../@warlock.js/core/src/http/uploads-types.d.ts
6
6
  /**
7
7
  * Prefix options for file path generation
8
8
  *
@@ -1,6 +1,6 @@
1
1
  import sharp, { FormatEnum } from "sharp";
2
2
 
3
- //#region ../@warlock.js/core/src/image/image.d.ts
3
+ //#region ../../@warlock.js/core/src/image/image.d.ts
4
4
  type ImageFormat = keyof FormatEnum;
5
5
  type ImageInput = string | Buffer | Uint8Array | ArrayBuffer;
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { http } from "@mongez/http";
2
2
 
3
- //#region ../@warlock.js/core/src/image/image.ts
3
+ //#region ../../@warlock.js/core/src/image/image.ts
4
4
  /**
5
5
  * Installation instructions for sharp
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { LogConfigurations } from "./types.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/logger/logger.d.ts
3
+ //#region ../../@warlock.js/core/src/logger/logger.d.ts
4
4
  declare function setLogConfigurations(options: LogConfigurations): void;
5
5
  //#endregion
6
6
  export { setLogConfigurations };
@@ -2,7 +2,7 @@ import { environment } from "../utils/environment.mjs";
2
2
  import "../utils/index.mjs";
3
3
  import { log } from "@warlock.js/logger";
4
4
 
5
- //#region ../@warlock.js/core/src/logger/logger.ts
5
+ //#region ../../@warlock.js/core/src/logger/logger.ts
6
6
  function setLogConfigurations(options) {
7
7
  const channels = [];
8
8
  const envChannels = options[environment()]?.channels;
@@ -1,6 +1,6 @@
1
1
  import { LogChannel } from "@warlock.js/logger";
2
2
 
3
- //#region ../@warlock.js/core/src/logger/types.d.ts
3
+ //#region ../../@warlock.js/core/src/logger/types.d.ts
4
4
  type EnvironmentConfigurations = {
5
5
  /**
6
6
  * List of logging channels
@@ -1,6 +1,6 @@
1
1
  import { MailConfigurations, MailMode, MailersConfig } from "./types.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/config.d.ts
3
+ //#region ../../@warlock.js/core/src/mail/config.d.ts
4
4
  /**
5
5
  * Set the mail mode
6
6
  *
@@ -1,4 +1,4 @@
1
- //#region ../@warlock.js/core/src/mail/config.ts
1
+ //#region ../../@warlock.js/core/src/mail/config.ts
2
2
  /**
3
3
  * Default mail configurations
4
4
  */
@@ -1,4 +1,4 @@
1
- //#region ../@warlock.js/core/src/mail/events.d.ts
1
+ //#region ../../@warlock.js/core/src/mail/events.d.ts
2
2
  /**
3
3
  * Generate a unique mail ID for event namespacing
4
4
  */
@@ -1,7 +1,7 @@
1
1
  import { Random } from "@mongez/reinforcements";
2
2
  import events from "@mongez/events";
3
3
 
4
- //#region ../@warlock.js/core/src/mail/events.ts
4
+ //#region ../../@warlock.js/core/src/mail/events.ts
5
5
  /**
6
6
  * Generate a unique mail ID for event namespacing
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { MailAddress, MailAttachment, MailConfigurations, MailEvents, MailOptions, MailPriority, MailResult } from "./types.mjs";
2
2
  import React from "react";
3
3
 
4
- //#region ../@warlock.js/core/src/mail/mail.d.ts
4
+ //#region ../../@warlock.js/core/src/mail/mail.d.ts
5
5
  /**
6
6
  * Fluent Mail Builder
7
7
  *
package/esm/mail/mail.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { sendMail } from "./send-mail.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/mail.ts
3
+ //#region ../../@warlock.js/core/src/mail/mail.ts
4
4
  /**
5
5
  * Fluent Mail Builder
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import { MailConfigurations } from "./types.mjs";
2
2
  import { Transporter } from "nodemailer";
3
3
 
4
- //#region ../@warlock.js/core/src/mail/mailer-pool.d.ts
4
+ //#region ../../@warlock.js/core/src/mail/mailer-pool.d.ts
5
5
  /**
6
6
  * Get or create a mailer transporter from the pool
7
7
  * Nodemailer is eagerly loaded at import time
@@ -1,6 +1,6 @@
1
1
  import { log } from "@warlock.js/logger";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/mailer-pool.ts
3
+ //#region ../../@warlock.js/core/src/mail/mailer-pool.ts
4
4
  /**
5
5
  * Installation instructions for nodemailer
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/react-mail.d.ts
3
+ //#region ../../@warlock.js/core/src/mail/react-mail.d.ts
4
4
  /**
5
5
  * Render a React element to HTML for email
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import { renderReact } from "../react/index.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/react-mail.ts
3
+ //#region ../../@warlock.js/core/src/mail/react-mail.ts
4
4
  /**
5
5
  * Create a complete HTML page from rendered content
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { MailOptions, MailResult } from "./types.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/send-mail.d.ts
3
+ //#region ../../@warlock.js/core/src/mail/send-mail.d.ts
4
4
  /**
5
5
  * Send an email
6
6
  *
@@ -7,7 +7,7 @@ import { MailError } from "./types.mjs";
7
7
  import { log } from "@warlock.js/logger";
8
8
  import { readFile } from "node:fs/promises";
9
9
 
10
- //#region ../@warlock.js/core/src/mail/send-mail.ts
10
+ //#region ../../@warlock.js/core/src/mail/send-mail.ts
11
11
  /**
12
12
  * Normalize email address to string
13
13
  */
@@ -1,6 +1,6 @@
1
1
  import { CapturedMail } from "./types.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/mail/test-mailbox.d.ts
3
+ //#region ../../@warlock.js/core/src/mail/test-mailbox.d.ts
4
4
  /**
5
5
  * Add a mail to the test mailbox
6
6
  */
@@ -1,4 +1,4 @@
1
- //#region ../@warlock.js/core/src/mail/test-mailbox.ts
1
+ //#region ../../@warlock.js/core/src/mail/test-mailbox.ts
2
2
  /**
3
3
  * Test mailbox for capturing sent emails in test mode
4
4
  */
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import SMTPTransport from "nodemailer/lib/smtp-transport";
3
3
 
4
- //#region ../@warlock.js/core/src/mail/types.d.ts
4
+ //#region ../../@warlock.js/core/src/mail/types.d.ts
5
5
  /**
6
6
  * AWS SES mail configuration
7
7
  */
@@ -1,4 +1,4 @@
1
- //#region ../@warlock.js/core/src/mail/types.ts
1
+ //#region ../../@warlock.js/core/src/mail/types.ts
2
2
  /**
3
3
  * Mail error class
4
4
  */
@@ -2,7 +2,7 @@ import { warlockPath } from "../utils/paths.mjs";
2
2
  import "../utils/index.mjs";
3
3
  import { getJsonFileAsync, putJsonFileAsync, unlinkAsync } from "@warlock.js/fs";
4
4
 
5
- //#region ../@warlock.js/core/src/manifest/manifest-manager.ts
5
+ //#region ../../@warlock.js/core/src/manifest/manifest-manager.ts
6
6
  var ManifestManager = class {
7
7
  constructor() {
8
8
  this._hasChanges = false;
@@ -1,6 +1,6 @@
1
1
  import { ProductionBuilder } from "./production-builder.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/production/build-app-production.ts
3
+ //#region ../../@warlock.js/core/src/production/build-app-production.ts
4
4
  /**
5
5
  * Build the application for production
6
6
  * Options are loaded from warlock.config.ts
@@ -1,6 +1,6 @@
1
1
  import { __require } from "../_virtual/_rolldown/runtime.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/production/esbuild-plugins.ts
3
+ //#region ../../@warlock.js/core/src/production/esbuild-plugins.ts
4
4
  const nativeNodeModulesPlugin = {
5
5
  name: "native-node-modules",
6
6
  setup(build) {
@@ -10,7 +10,7 @@ import { ensureDirectoryAsync, fileExistsAsync, putFileAsync, removeDirectoryAsy
10
10
  import glob from "fast-glob";
11
11
  import esbuild from "esbuild";
12
12
 
13
- //#region ../@warlock.js/core/src/production/production-builder.ts
13
+ //#region ../../@warlock.js/core/src/production/production-builder.ts
14
14
  /**
15
15
  * Production Builder
16
16
  * Generates production-ready files and bundles them for deployment
@@ -2,7 +2,7 @@ import { warlockConfigManager } from "../warlock-config/warlock-config.manager.m
2
2
  import { defaultWarlockConfigurations } from "../warlock-config/default-configurations.mjs";
3
3
  import path from "path";
4
4
 
5
- //#region ../@warlock.js/core/src/production/resolve-build-config.ts
5
+ //#region ../../@warlock.js/core/src/production/resolve-build-config.ts
6
6
  /**
7
7
  * Resolve the build config with framework defaults applied.
8
8
  *
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactElement, ReactNode } from "react";
2
2
 
3
- //#region ../@warlock.js/core/src/react/index.d.ts
3
+ //#region ../../@warlock.js/core/src/react/index.d.ts
4
4
  /**
5
5
  * Render a React element/component to HTML string
6
6
  *
@@ -1,4 +1,4 @@
1
- //#region ../@warlock.js/core/src/react/index.ts
1
+ //#region ../../@warlock.js/core/src/react/index.ts
2
2
  /**
3
3
  * Installation instructions for React
4
4
  */
@@ -3,7 +3,7 @@ import { ChunkCallback, CursorPaginationOptions, CursorPaginationResult, Paginat
3
3
  import { QueryBuilderContract as QueryBuilderContract$1 } from "../../contracts/query-builder.contract.mjs";
4
4
  import { ChildModel, Model } from "@warlock.js/cascade";
5
5
 
6
- //#region ../@warlock.js/core/src/repositories/adapters/cascade/cascade-adapter.d.ts
6
+ //#region ../../@warlock.js/core/src/repositories/adapters/cascade/cascade-adapter.d.ts
7
7
  /**
8
8
  * Cascade adapter for Cascade-Next ORM
9
9
  * Implements RepositoryAdapterContract for @warlock.js/cascade
@@ -1,7 +1,7 @@
1
1
  import { CascadeQueryBuilder } from "./cascade-query-builder.mjs";
2
2
  import { Model } from "@warlock.js/cascade";
3
3
 
4
- //#region ../@warlock.js/core/src/repositories/adapters/cascade/cascade-adapter.ts
4
+ //#region ../../@warlock.js/core/src/repositories/adapters/cascade/cascade-adapter.ts
5
5
  /**
6
6
  * Cascade adapter for Cascade-Next ORM
7
7
  * Implements RepositoryAdapterContract for @warlock.js/cascade
@@ -2,7 +2,7 @@ import { ChunkCallback, CursorPaginationOptions, CursorPaginationResult, FilterO
2
2
  import { QueryBuilderContract as QueryBuilderContract$1 } from "../../contracts/query-builder.contract.mjs";
3
3
  import { Model, QueryBuilderContract } from "@warlock.js/cascade";
4
4
 
5
- //#region ../@warlock.js/core/src/repositories/adapters/cascade/cascade-query-builder.d.ts
5
+ //#region ../../@warlock.js/core/src/repositories/adapters/cascade/cascade-query-builder.d.ts
6
6
  /**
7
7
  * Cascade query builder wrapper
8
8
  * Wraps Cascade-Next's ModelAggregate to implement QueryBuilderContract
@@ -1,6 +1,6 @@
1
1
  import { FilterApplicator } from "./filter-applicator.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/repositories/adapters/cascade/cascade-query-builder.ts
3
+ //#region ../../@warlock.js/core/src/repositories/adapters/cascade/cascade-query-builder.ts
4
4
  /**
5
5
  * Cascade query builder wrapper
6
6
  * Wraps Cascade-Next's ModelAggregate to implement QueryBuilderContract
@@ -1,6 +1,6 @@
1
1
  import { isEmpty } from "@mongez/supportive-is";
2
2
 
3
- //#region ../@warlock.js/core/src/repositories/adapters/cascade/filter-applicator.ts
3
+ //#region ../../@warlock.js/core/src/repositories/adapters/cascade/filter-applicator.ts
4
4
  /**
5
5
  * Applies repository filters to a Cascade-Next query builder
6
6
  * Translates repository filter rules into Cascade query builder method calls
@@ -1,6 +1,6 @@
1
1
  import { ChunkCallback, CursorPaginationOptions, CursorPaginationResult, FilterOptions, FilterRules, PaginationResult, WhereOperator } from "./types.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/repositories/contracts/query-builder.contract.d.ts
3
+ //#region ../../@warlock.js/core/src/repositories/contracts/query-builder.contract.d.ts
4
4
  /**
5
5
  * Query builder contract for building database queries
6
6
  * This interface is ORM-agnostic and can be implemented by any data source adapter
@@ -1,7 +1,7 @@
1
1
  import { ChunkCallback, CursorPaginationOptions, CursorPaginationResult, PaginationResult } from "./types.mjs";
2
2
  import { QueryBuilderContract } from "./query-builder.contract.mjs";
3
3
 
4
- //#region ../@warlock.js/core/src/repositories/contracts/repository-adapter.contract.d.ts
4
+ //#region ../../@warlock.js/core/src/repositories/contracts/repository-adapter.contract.d.ts
5
5
  /**
6
6
  * Repository adapter contract for data source operations
7
7
  * This interface abstracts database/ORM operations and can be implemented
@@ -3,7 +3,7 @@ import { RepositoryAdapterContract } from "./repository-adapter.contract.mjs";
3
3
  import { QueryBuilderContract } from "./query-builder.contract.mjs";
4
4
  import { CacheDriver } from "@warlock.js/cache";
5
5
 
6
- //#region ../@warlock.js/core/src/repositories/contracts/types.d.ts
6
+ //#region ../../@warlock.js/core/src/repositories/contracts/types.d.ts
7
7
  /**
8
8
  * Pagination result structure returned by repository list methods
9
9
  */
@@ -3,7 +3,7 @@ import { AllRepositoryOptions, ChunkCallback, CursorPaginationResult, FilterRule
3
3
  import { QueryBuilderContract } from "./contracts/query-builder.contract.mjs";
4
4
  import { CacheDriver, CacheKey } from "@warlock.js/cache";
5
5
 
6
- //#region ../@warlock.js/core/src/repositories/repository.manager.d.ts
6
+ //#region ../../@warlock.js/core/src/repositories/repository.manager.d.ts
7
7
  /**
8
8
  * Base repository manager class
9
9
  * Provides ORM-agnostic data access layer with support for listing, filtering,
@@ -4,7 +4,7 @@ import { CascadeAdapter } from "./adapters/cascade/cascade-adapter.mjs";
4
4
  import "./adapters/cascade/index.mjs";
5
5
  import { cache } from "@warlock.js/cache";
6
6
 
7
- //#region ../@warlock.js/core/src/repositories/repository.manager.ts
7
+ //#region ../../@warlock.js/core/src/repositories/repository.manager.ts
8
8
  /**
9
9
  * Base repository manager class
10
10
  * Provides ORM-agnostic data access layer with support for listing, filtering,
@@ -1,7 +1,7 @@
1
1
  import { ResourceConstructor, ResourceContract } from "./resource.mjs";
2
2
  import { ResourceSchema } from "./types.mjs";
3
3
 
4
- //#region ../@warlock.js/core/src/resource/define-resource.d.ts
4
+ //#region ../../@warlock.js/core/src/resource/define-resource.d.ts
5
5
  /**
6
6
  * Options for defining a resource
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { Resource } from "./resource.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/resource/define-resource.ts
3
+ //#region ../../@warlock.js/core/src/resource/define-resource.ts
4
4
  /**
5
5
  * Define a resource with a clean, shorthand API.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import { Resource } from "./resource.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/resource/register-resource.d.ts
3
+ //#region ../../@warlock.js/core/src/resource/register-resource.d.ts
4
4
  /**
5
5
  * Decorator for hand-written Resource classes.
6
6
  * Triggers one-time schema normalization (converts string cast types into
@@ -1,6 +1,6 @@
1
1
  import { Resource } from "./resource.mjs";
2
2
 
3
- //#region ../@warlock.js/core/src/resource/register-resource.ts
3
+ //#region ../../@warlock.js/core/src/resource/register-resource.ts
4
4
  /**
5
5
  * Decorator for hand-written Resource classes.
6
6
  * Triggers one-time schema normalization (converts string cast types into
@@ -1,7 +1,7 @@
1
1
  import { LocalizedObject } from "../utils/get-localized.mjs";
2
2
  import { ResourceFieldBuilderDateOutputOptions, ResourceOutputValueCastType } from "./types.mjs";
3
3
 
4
- //#region ../@warlock.js/core/src/resource/resource-field-builder.d.ts
4
+ //#region ../../@warlock.js/core/src/resource/resource-field-builder.d.ts
5
5
  declare class ResourceFieldBuilder {
6
6
  protected readonly type: ResourceOutputValueCastType;
7
7
  /**
@@ -5,7 +5,7 @@ import { isObject } from "@mongez/supportive-is";
5
5
  import dayjs from "dayjs";
6
6
  import relativeTime from "dayjs/plugin/relativeTime.js";
7
7
 
8
- //#region ../@warlock.js/core/src/resource/resource-field-builder.ts
8
+ //#region ../../@warlock.js/core/src/resource/resource-field-builder.ts
9
9
  dayjs.extend(relativeTime);
10
10
  var ResourceFieldBuilder = class ResourceFieldBuilder {
11
11
  /**
@@ -3,7 +3,7 @@ import { ResourceArraySchema, ResourceFieldConfig, ResourceOutputValueCastType,
3
3
  import { Model } from "@warlock.js/cascade";
4
4
  import { GenericObject } from "@mongez/reinforcements";
5
5
 
6
- //#region ../@warlock.js/core/src/resource/resource.d.ts
6
+ //#region ../../@warlock.js/core/src/resource/resource.d.ts
7
7
  /**
8
8
  * Resource contract
9
9
  */
@@ -3,7 +3,7 @@ import { ResourceFieldBuilder } from "./resource-field-builder.mjs";
3
3
  import { Model } from "@warlock.js/cascade";
4
4
  import { get, isLazy, set } from "@mongez/reinforcements";
5
5
 
6
- //#region ../@warlock.js/core/src/resource/resource.ts
6
+ //#region ../../@warlock.js/core/src/resource/resource.ts
7
7
  /**
8
8
  * Maximum recursion depth for self-referencing fields.
9
9
  * Prevents runaway serialization on deep trees or circular data.
@@ -3,7 +3,7 @@ import { ResourceFieldBuilder } from "./resource-field-builder.mjs";
3
3
  import { ResourceConstructor, ResourceContract } from "./resource.mjs";
4
4
  import { Lazy } from "@mongez/reinforcements";
5
5
 
6
- //#region ../@warlock.js/core/src/resource/types.d.ts
6
+ //#region ../../@warlock.js/core/src/resource/types.d.ts
7
7
  type ResourceOutputValueCastType = "string" | "number" | "date" | "localized" | "boolean" | "url" | "float" | "int" | "object" | "array" | "uploadsUrl"
8
8
  /**
9
9
  * Storage url means the value will be generated using current storage.url method
@@ -4,7 +4,7 @@ import { RestfulMiddleware, RouteResource } from "../router/types.mjs";
4
4
  import { RepositoryManager } from "../repositories/repository.manager.mjs";
5
5
  import { Model } from "@warlock.js/cascade";
6
6
 
7
- //#region ../@warlock.js/core/src/restful/restful.d.ts
7
+ //#region ../../@warlock.js/core/src/restful/restful.d.ts
8
8
  declare abstract class Restful<T extends Model> implements RouteResource {
9
9
  /**
10
10
  * Middleware for each method
@@ -1,6 +1,6 @@
1
1
  import { log } from "@warlock.js/logger";
2
2
 
3
- //#region ../@warlock.js/core/src/restful/restful.ts
3
+ //#region ../../@warlock.js/core/src/restful/restful.ts
4
4
  var Restful = class {
5
5
  constructor() {
6
6
  this.middleware = {};