@flusys/nestjs-shared 7.0.2 → 8.0.0-beta.1

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 (339) hide show
  1. package/classes/api-controller.class.d.ts +4 -4
  2. package/classes/api-service.class.d.ts +7 -7
  3. package/classes/disabled-event-bus.class.d.ts +1 -1
  4. package/classes/domain-event.publisher.d.ts +1 -1
  5. package/classes/event-bus.registry.d.ts +1 -1
  6. package/classes/event-transports/event-transport.registry.d.ts +1 -1
  7. package/classes/event-transports/index.d.ts +2 -2
  8. package/classes/event-transports/kafka-transport.optional.d.ts +1 -1
  9. package/classes/event-transports/memory-transport.d.ts +1 -1
  10. package/classes/event-transports/rabbitmq-transport.optional.d.ts +1 -1
  11. package/classes/hybrid-event-bus.class.d.ts +1 -1
  12. package/classes/index.d.ts +11 -11
  13. package/constants/index.d.ts +2 -2
  14. package/constants/permissions.d.ts +12 -0
  15. package/decorators/api-response.decorator.d.ts +1 -1
  16. package/decorators/current-user.decorator.d.ts +1 -1
  17. package/decorators/index.d.ts +6 -6
  18. package/decorators/require-permission.decorator.d.ts +1 -1
  19. package/dtos/filter-and-pagination.dto.d.ts +1 -1
  20. package/dtos/index.d.ts +6 -6
  21. package/entities/index.d.ts +3 -3
  22. package/enums/index.d.ts +3 -3
  23. package/exceptions/index.d.ts +2 -2
  24. package/fesm/470.js +2713 -0
  25. package/fesm/509.js +793 -0
  26. package/fesm/667.js +606 -0
  27. package/fesm/67.js +808 -0
  28. package/fesm/720.js +914 -0
  29. package/{cjs/classes/event-transports/rabbitmq-transport.optional.js → fesm/chunks/123.js} +78 -55
  30. package/fesm/{classes/event-transports/kafka-transport.optional.js → chunks/37.js} +74 -41
  31. package/fesm/classes/index.js +62 -12
  32. package/fesm/constants/index.js +445 -17
  33. package/fesm/decorators/index.js +341 -6
  34. package/fesm/dtos/index.js +23 -6
  35. package/fesm/entities/index.js +336 -3
  36. package/fesm/enums/index.js +57 -3
  37. package/fesm/exceptions/index.js +280 -2
  38. package/fesm/guards/index.js +1003 -3
  39. package/fesm/index.js +1524 -14
  40. package/fesm/interceptors/index.js +924 -5
  41. package/fesm/interfaces/index.js +57 -11
  42. package/fesm/middlewares/index.js +33 -1
  43. package/fesm/modules/index.js +432 -9
  44. package/fesm/runtime.js +134 -0
  45. package/fesm/utils/index.js +1045 -8
  46. package/filters/global-exception.filter.d.ts +1 -1
  47. package/filters/index.d.ts +1 -1
  48. package/guards/index.d.ts +3 -3
  49. package/guards/jwt-auth.guard.d.ts +1 -1
  50. package/guards/optional-jwt-auth.guard.d.ts +1 -1
  51. package/guards/permission.guard.d.ts +2 -2
  52. package/index.d.ts +14 -14
  53. package/interceptors/delete-empty-id-from-body.interceptor.d.ts +1 -1
  54. package/interceptors/idempotency.interceptor.d.ts +2 -2
  55. package/interceptors/index.d.ts +5 -5
  56. package/interceptors/response-meta.interceptor.d.ts +1 -1
  57. package/interceptors/set-user-field-on-body.interceptor.d.ts +1 -1
  58. package/interceptors/slug.interceptor.d.ts +2 -2
  59. package/interfaces/ai-assistant-adapter.interface.d.ts +1 -1
  60. package/interfaces/api.interface.d.ts +2 -2
  61. package/interfaces/datasource.interface.d.ts +1 -1
  62. package/interfaces/event-manager-adapter.interface.d.ts +2 -2
  63. package/interfaces/index.d.ts +11 -11
  64. package/interfaces/module-config.interface.d.ts +1 -1
  65. package/interfaces/notification-adapter.interface.d.ts +1 -1
  66. package/middlewares/index.d.ts +1 -1
  67. package/middlewares/logger.middleware.d.ts +2 -2
  68. package/modules/cache/cache.module.d.ts +1 -1
  69. package/modules/datasource/index.d.ts +1 -1
  70. package/modules/datasource/multi-tenant-datasource.service.d.ts +4 -4
  71. package/modules/event-bus/event-bus.explorer.d.ts +2 -2
  72. package/modules/event-bus/event-bus.module.d.ts +2 -2
  73. package/modules/event-bus/module-events.provider.d.ts +1 -1
  74. package/modules/index.d.ts +9 -9
  75. package/modules/shared-permission-cache/shared-permission-cache.service.d.ts +3 -3
  76. package/modules/utils/utils.service.d.ts +1 -1
  77. package/package.json +30 -44
  78. package/utils/index.d.ts +8 -8
  79. package/utils/permission-cache-key.util.d.ts +1 -1
  80. package/utils/query-helpers.util.d.ts +2 -2
  81. package/utils/request.util.d.ts +1 -1
  82. package/cjs/classes/api-controller.class.js +0 -728
  83. package/cjs/classes/api-controller.class.spec.js +0 -684
  84. package/cjs/classes/api-service.class.js +0 -631
  85. package/cjs/classes/api-service.class.spec.js +0 -1137
  86. package/cjs/classes/disabled-event-bus.class.js +0 -15
  87. package/cjs/classes/disabled-event-bus.class.spec.js +0 -40
  88. package/cjs/classes/domain-event.publisher.js +0 -76
  89. package/cjs/classes/domain-event.publisher.spec.js +0 -234
  90. package/cjs/classes/event-bus.registry.js +0 -68
  91. package/cjs/classes/event-bus.registry.spec.js +0 -141
  92. package/cjs/classes/event-transports/event-transport.registry.js +0 -41
  93. package/cjs/classes/event-transports/event-transport.registry.spec.js +0 -31
  94. package/cjs/classes/event-transports/index.js +0 -23
  95. package/cjs/classes/event-transports/kafka-transport.optional.js +0 -151
  96. package/cjs/classes/event-transports/kafka-transport.optional.spec.js +0 -198
  97. package/cjs/classes/event-transports/memory-transport.js +0 -53
  98. package/cjs/classes/event-transports/memory-transport.spec.js +0 -57
  99. package/cjs/classes/event-transports/rabbitmq-transport.optional.spec.js +0 -255
  100. package/cjs/classes/handle-custome-db.js +0 -37
  101. package/cjs/classes/handle-custome-db.spec.js +0 -82
  102. package/cjs/classes/hybrid-cache.class.js +0 -96
  103. package/cjs/classes/hybrid-cache.class.spec.js +0 -168
  104. package/cjs/classes/hybrid-event-bus.class.js +0 -281
  105. package/cjs/classes/hybrid-event-bus.class.spec.js +0 -218
  106. package/cjs/classes/index.js +0 -28
  107. package/cjs/classes/winston.logger.class.js +0 -274
  108. package/cjs/classes/winston.logger.class.spec.js +0 -330
  109. package/cjs/constants/index.js +0 -88
  110. package/cjs/constants/message-keys.js +0 -68
  111. package/cjs/constants/permissions.js +0 -297
  112. package/cjs/decorators/api-response.decorator.js +0 -52
  113. package/cjs/decorators/api-response.decorator.spec.js +0 -126
  114. package/cjs/decorators/current-user.decorator.js +0 -16
  115. package/cjs/decorators/current-user.decorator.spec.js +0 -74
  116. package/cjs/decorators/index.js +0 -23
  117. package/cjs/decorators/log-action.decorator.js +0 -149
  118. package/cjs/decorators/log-action.decorator.spec.js +0 -353
  119. package/cjs/decorators/on-domain-event.decorator.js +0 -13
  120. package/cjs/decorators/on-domain-event.decorator.spec.js +0 -50
  121. package/cjs/decorators/public.decorator.js +0 -13
  122. package/cjs/decorators/public.decorator.spec.js +0 -50
  123. package/cjs/decorators/require-permission.decorator.js +0 -32
  124. package/cjs/decorators/require-permission.decorator.spec.js +0 -147
  125. package/cjs/dtos/delete.dto.js +0 -92
  126. package/cjs/dtos/filter-and-pagination.dto.js +0 -164
  127. package/cjs/dtos/get-by-ids.dto.js +0 -65
  128. package/cjs/dtos/identity-response.dto.js +0 -108
  129. package/cjs/dtos/index.js +0 -23
  130. package/cjs/dtos/pagination.dto.js +0 -67
  131. package/cjs/dtos/response-payload.dto.js +0 -369
  132. package/cjs/entities/identity.js +0 -100
  133. package/cjs/entities/index.js +0 -20
  134. package/cjs/entities/raw-type.js +0 -4
  135. package/cjs/entities/user-root.js +0 -189
  136. package/cjs/enums/index.js +0 -20
  137. package/cjs/enums/notification-type.enum.js +0 -17
  138. package/cjs/enums/participant-status.enum.js +0 -17
  139. package/cjs/enums/recurrence-type.enum.js +0 -18
  140. package/cjs/exceptions/base-app.exception.js +0 -151
  141. package/cjs/exceptions/base-app.exception.spec.js +0 -157
  142. package/cjs/exceptions/index.js +0 -19
  143. package/cjs/exceptions/permission.exception.js +0 -56
  144. package/cjs/exceptions/permission.exception.spec.js +0 -82
  145. package/cjs/filters/global-exception.filter.js +0 -279
  146. package/cjs/filters/global-exception.filter.spec.js +0 -440
  147. package/cjs/filters/index.js +0 -18
  148. package/cjs/guards/index.js +0 -20
  149. package/cjs/guards/jwt-auth.guard.js +0 -75
  150. package/cjs/guards/jwt-auth.guard.spec.js +0 -75
  151. package/cjs/guards/optional-jwt-auth.guard.js +0 -67
  152. package/cjs/guards/optional-jwt-auth.guard.spec.js +0 -55
  153. package/cjs/guards/permission.guard.js +0 -179
  154. package/cjs/guards/permission.guard.spec.js +0 -373
  155. package/cjs/index.js +0 -31
  156. package/cjs/interceptors/delete-empty-id-from-body.interceptor.js +0 -40
  157. package/cjs/interceptors/delete-empty-id-from-body.interceptor.spec.js +0 -107
  158. package/cjs/interceptors/idempotency.interceptor.js +0 -96
  159. package/cjs/interceptors/idempotency.interceptor.spec.js +0 -116
  160. package/cjs/interceptors/index.js +0 -22
  161. package/cjs/interceptors/response-meta.interceptor.js +0 -47
  162. package/cjs/interceptors/response-meta.interceptor.spec.js +0 -89
  163. package/cjs/interceptors/set-user-field-on-body.interceptor.js +0 -60
  164. package/cjs/interceptors/set-user-field-on-body.interceptor.spec.js +0 -128
  165. package/cjs/interceptors/slug.interceptor.js +0 -75
  166. package/cjs/interceptors/slug.interceptor.spec.js +0 -110
  167. package/cjs/interfaces/ai-assistant-adapter.interface.js +0 -24
  168. package/cjs/interfaces/api.interface.js +0 -4
  169. package/cjs/interfaces/datasource.interface.js +0 -4
  170. package/cjs/interfaces/event-bus.interface.js +0 -4
  171. package/cjs/interfaces/event-manager-adapter.interface.js +0 -11
  172. package/cjs/interfaces/identity.interface.js +0 -4
  173. package/cjs/interfaces/index.js +0 -28
  174. package/cjs/interfaces/logged-user-info.interface.js +0 -6
  175. package/cjs/interfaces/module-config.interface.js +0 -4
  176. package/cjs/interfaces/notification-adapter.interface.js +0 -11
  177. package/cjs/interfaces/permission-sync-adapter.interface.js +0 -11
  178. package/cjs/interfaces/permission.interface.js +0 -4
  179. package/cjs/middlewares/index.js +0 -18
  180. package/cjs/middlewares/logger.middleware.js +0 -264
  181. package/cjs/middlewares/logger.middleware.spec.js +0 -462
  182. package/cjs/modules/cache/cache.module.js +0 -39
  183. package/cjs/modules/cache/cache.module.spec.js +0 -48
  184. package/cjs/modules/datasource/index.js +0 -18
  185. package/cjs/modules/datasource/multi-tenant-datasource.service.js +0 -222
  186. package/cjs/modules/datasource/multi-tenant-datasource.service.spec.js +0 -381
  187. package/cjs/modules/event-bus/event-bus.explorer.js +0 -124
  188. package/cjs/modules/event-bus/event-bus.explorer.spec.js +0 -189
  189. package/cjs/modules/event-bus/event-bus.integration.spec.js +0 -253
  190. package/cjs/modules/event-bus/event-bus.module.js +0 -94
  191. package/cjs/modules/event-bus/event-bus.module.spec.js +0 -149
  192. package/cjs/modules/event-bus/module-events.provider.js +0 -39
  193. package/cjs/modules/event-bus/module-events.provider.spec.js +0 -56
  194. package/cjs/modules/index.js +0 -26
  195. package/cjs/modules/shared-permission-cache/shared-permission-cache.module.js +0 -32
  196. package/cjs/modules/shared-permission-cache/shared-permission-cache.service.js +0 -101
  197. package/cjs/modules/shared-permission-cache/shared-permission-cache.service.spec.js +0 -165
  198. package/cjs/modules/utils/utils.module.js +0 -32
  199. package/cjs/modules/utils/utils.service.js +0 -76
  200. package/cjs/modules/utils/utils.service.spec.js +0 -169
  201. package/cjs/utils/date-time.util.js +0 -94
  202. package/cjs/utils/date-time.util.spec.js +0 -84
  203. package/cjs/utils/event-pattern.util.js +0 -103
  204. package/cjs/utils/event-pattern.util.spec.js +0 -251
  205. package/cjs/utils/html-sanitizer.util.js +0 -64
  206. package/cjs/utils/html-sanitizer.util.spec.js +0 -76
  207. package/cjs/utils/index.js +0 -25
  208. package/cjs/utils/optional-module.util.js +0 -35
  209. package/cjs/utils/optional-module.util.spec.js +0 -14
  210. package/cjs/utils/permission-cache-key.util.js +0 -31
  211. package/cjs/utils/permission-cache-key.util.spec.js +0 -88
  212. package/cjs/utils/query-helpers.util.js +0 -60
  213. package/cjs/utils/query-helpers.util.spec.js +0 -209
  214. package/cjs/utils/request.util.js +0 -96
  215. package/cjs/utils/request.util.spec.js +0 -249
  216. package/cjs/utils/string.util.js +0 -63
  217. package/cjs/utils/string.util.spec.js +0 -63
  218. package/fesm/classes/api-controller.class.js +0 -718
  219. package/fesm/classes/api-controller.class.spec.js +0 -680
  220. package/fesm/classes/api-service.class.js +0 -621
  221. package/fesm/classes/api-service.class.spec.js +0 -1133
  222. package/fesm/classes/disabled-event-bus.class.js +0 -11
  223. package/fesm/classes/disabled-event-bus.class.spec.js +0 -36
  224. package/fesm/classes/domain-event.publisher.js +0 -63
  225. package/fesm/classes/domain-event.publisher.spec.js +0 -230
  226. package/fesm/classes/event-bus.registry.js +0 -64
  227. package/fesm/classes/event-bus.registry.spec.js +0 -137
  228. package/fesm/classes/event-transports/event-transport.registry.js +0 -35
  229. package/fesm/classes/event-transports/event-transport.registry.spec.js +0 -27
  230. package/fesm/classes/event-transports/index.js +0 -6
  231. package/fesm/classes/event-transports/kafka-transport.optional.spec.js +0 -194
  232. package/fesm/classes/event-transports/memory-transport.js +0 -49
  233. package/fesm/classes/event-transports/memory-transport.spec.js +0 -53
  234. package/fesm/classes/event-transports/rabbitmq-transport.optional.js +0 -174
  235. package/fesm/classes/event-transports/rabbitmq-transport.optional.spec.js +0 -251
  236. package/fesm/classes/handle-custome-db.js +0 -19
  237. package/fesm/classes/handle-custome-db.spec.js +0 -78
  238. package/fesm/classes/hybrid-cache.class.js +0 -81
  239. package/fesm/classes/hybrid-cache.class.spec.js +0 -164
  240. package/fesm/classes/hybrid-event-bus.class.js +0 -237
  241. package/fesm/classes/hybrid-event-bus.class.spec.js +0 -214
  242. package/fesm/classes/winston.logger.class.js +0 -228
  243. package/fesm/classes/winston.logger.class.spec.js +0 -327
  244. package/fesm/constants/message-keys.js +0 -49
  245. package/fesm/constants/permissions.js +0 -208
  246. package/fesm/decorators/api-response.decorator.js +0 -42
  247. package/fesm/decorators/api-response.decorator.spec.js +0 -122
  248. package/fesm/decorators/current-user.decorator.js +0 -18
  249. package/fesm/decorators/current-user.decorator.spec.js +0 -73
  250. package/fesm/decorators/log-action.decorator.js +0 -139
  251. package/fesm/decorators/log-action.decorator.spec.js +0 -349
  252. package/fesm/decorators/on-domain-event.decorator.js +0 -10
  253. package/fesm/decorators/on-domain-event.decorator.spec.js +0 -46
  254. package/fesm/decorators/public.decorator.js +0 -20
  255. package/fesm/decorators/public.decorator.spec.js +0 -46
  256. package/fesm/decorators/require-permission.decorator.js +0 -27
  257. package/fesm/decorators/require-permission.decorator.spec.js +0 -143
  258. package/fesm/dtos/delete.dto.js +0 -82
  259. package/fesm/dtos/filter-and-pagination.dto.js +0 -148
  260. package/fesm/dtos/get-by-ids.dto.js +0 -55
  261. package/fesm/dtos/identity-response.dto.js +0 -98
  262. package/fesm/dtos/pagination.dto.js +0 -57
  263. package/fesm/dtos/response-payload.dto.js +0 -336
  264. package/fesm/entities/identity.js +0 -90
  265. package/fesm/entities/raw-type.js +0 -1
  266. package/fesm/entities/user-root.js +0 -179
  267. package/fesm/enums/notification-type.enum.js +0 -7
  268. package/fesm/enums/participant-status.enum.js +0 -7
  269. package/fesm/enums/recurrence-type.enum.js +0 -8
  270. package/fesm/exceptions/base-app.exception.js +0 -115
  271. package/fesm/exceptions/base-app.exception.spec.js +0 -153
  272. package/fesm/exceptions/permission.exception.js +0 -35
  273. package/fesm/exceptions/permission.exception.spec.js +0 -78
  274. package/fesm/filters/global-exception.filter.js +0 -269
  275. package/fesm/filters/global-exception.filter.spec.js +0 -436
  276. package/fesm/filters/index.js +0 -1
  277. package/fesm/guards/jwt-auth.guard.js +0 -65
  278. package/fesm/guards/jwt-auth.guard.spec.js +0 -71
  279. package/fesm/guards/optional-jwt-auth.guard.js +0 -57
  280. package/fesm/guards/optional-jwt-auth.guard.spec.js +0 -51
  281. package/fesm/guards/permission.guard.js +0 -169
  282. package/fesm/guards/permission.guard.spec.js +0 -369
  283. package/fesm/interceptors/delete-empty-id-from-body.interceptor.js +0 -30
  284. package/fesm/interceptors/delete-empty-id-from-body.interceptor.spec.js +0 -103
  285. package/fesm/interceptors/idempotency.interceptor.js +0 -86
  286. package/fesm/interceptors/idempotency.interceptor.spec.js +0 -112
  287. package/fesm/interceptors/response-meta.interceptor.js +0 -37
  288. package/fesm/interceptors/response-meta.interceptor.spec.js +0 -85
  289. package/fesm/interceptors/set-user-field-on-body.interceptor.js +0 -39
  290. package/fesm/interceptors/set-user-field-on-body.interceptor.spec.js +0 -124
  291. package/fesm/interceptors/slug.interceptor.js +0 -65
  292. package/fesm/interceptors/slug.interceptor.spec.js +0 -106
  293. package/fesm/interfaces/ai-assistant-adapter.interface.js +0 -3
  294. package/fesm/interfaces/api.interface.js +0 -1
  295. package/fesm/interfaces/datasource.interface.js +0 -1
  296. package/fesm/interfaces/event-bus.interface.js +0 -1
  297. package/fesm/interfaces/event-manager-adapter.interface.js +0 -1
  298. package/fesm/interfaces/identity.interface.js +0 -1
  299. package/fesm/interfaces/logged-user-info.interface.js +0 -3
  300. package/fesm/interfaces/module-config.interface.js +0 -5
  301. package/fesm/interfaces/notification-adapter.interface.js +0 -1
  302. package/fesm/interfaces/permission-sync-adapter.interface.js +0 -1
  303. package/fesm/interfaces/permission.interface.js +0 -1
  304. package/fesm/middlewares/logger.middleware.js +0 -235
  305. package/fesm/middlewares/logger.middleware.spec.js +0 -459
  306. package/fesm/modules/cache/cache.module.js +0 -29
  307. package/fesm/modules/cache/cache.module.spec.js +0 -44
  308. package/fesm/modules/datasource/index.js +0 -1
  309. package/fesm/modules/datasource/multi-tenant-datasource.service.js +0 -212
  310. package/fesm/modules/datasource/multi-tenant-datasource.service.spec.js +0 -377
  311. package/fesm/modules/event-bus/event-bus.explorer.js +0 -114
  312. package/fesm/modules/event-bus/event-bus.explorer.spec.js +0 -185
  313. package/fesm/modules/event-bus/event-bus.integration.spec.js +0 -249
  314. package/fesm/modules/event-bus/event-bus.module.js +0 -84
  315. package/fesm/modules/event-bus/event-bus.module.spec.js +0 -145
  316. package/fesm/modules/event-bus/module-events.provider.js +0 -26
  317. package/fesm/modules/event-bus/module-events.provider.spec.js +0 -52
  318. package/fesm/modules/shared-permission-cache/shared-permission-cache.module.js +0 -22
  319. package/fesm/modules/shared-permission-cache/shared-permission-cache.service.js +0 -91
  320. package/fesm/modules/shared-permission-cache/shared-permission-cache.service.spec.js +0 -161
  321. package/fesm/modules/utils/utils.module.js +0 -22
  322. package/fesm/modules/utils/utils.service.js +0 -66
  323. package/fesm/modules/utils/utils.service.spec.js +0 -165
  324. package/fesm/utils/date-time.util.js +0 -70
  325. package/fesm/utils/date-time.util.spec.js +0 -80
  326. package/fesm/utils/event-pattern.util.js +0 -91
  327. package/fesm/utils/event-pattern.util.spec.js +0 -247
  328. package/fesm/utils/html-sanitizer.util.js +0 -69
  329. package/fesm/utils/html-sanitizer.util.spec.js +0 -72
  330. package/fesm/utils/optional-module.util.js +0 -25
  331. package/fesm/utils/optional-module.util.spec.js +0 -10
  332. package/fesm/utils/permission-cache-key.util.js +0 -10
  333. package/fesm/utils/permission-cache-key.util.spec.js +0 -84
  334. package/fesm/utils/query-helpers.util.js +0 -85
  335. package/fesm/utils/query-helpers.util.spec.js +0 -205
  336. package/fesm/utils/request.util.js +0 -81
  337. package/fesm/utils/request.util.spec.js +0 -245
  338. package/fesm/utils/string.util.js +0 -71
  339. package/fesm/utils/string.util.spec.js +0 -59
@@ -1,11 +1,57 @@
1
- export * from './ai-assistant-adapter.interface';
2
- export * from './api.interface';
3
- export * from './datasource.interface';
4
- export * from './event-bus.interface';
5
- export * from './event-manager-adapter.interface';
6
- export * from './identity.interface';
7
- export * from './logged-user-info.interface';
8
- export * from './module-config.interface';
9
- export * from './notification-adapter.interface';
10
- export * from './permission.interface';
11
- export * from './permission-sync-adapter.interface';
1
+ export const __rspack_esm_id = 471;
2
+ export const __rspack_esm_ids = [471];
3
+ export const __webpack_modules__ = {
4
+ 473(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
5
+
6
+ // EXPORTS
7
+ __webpack_require__.d(__webpack_exports__, {
8
+ Fi: () => (/* reexport */ AI_ASSISTANT_AUTH_PROVIDER),
9
+ Hb: () => (/* reexport */ AI_ASSISTANT_TOOL_PROVIDER),
10
+ T4: () => (/* reexport */ AI_ASSISTANT_USER_LOOKUP_PROVIDER),
11
+ LO: () => (/* reexport */ EVENT_MANAGER_ADAPTER),
12
+ KR: () => (/* reexport */ NOTIFICATION_ADAPTER),
13
+ kF: () => (/* reexport */ PERMISSION_SYNC_ADAPTER)
14
+ });
15
+
16
+ ;// CONCATENATED MODULE: ./projects/nestjs-shared/src/interfaces/ai-assistant-adapter.interface.ts
17
+ const AI_ASSISTANT_AUTH_PROVIDER = 'AI_ASSISTANT_AUTH_PROVIDER';
18
+ const AI_ASSISTANT_TOOL_PROVIDER = 'AI_ASSISTANT_TOOL_PROVIDER';
19
+ const AI_ASSISTANT_USER_LOOKUP_PROVIDER = 'AI_ASSISTANT_USER_LOOKUP_PROVIDER';
20
+
21
+ ;// CONCATENATED MODULE: ./projects/nestjs-shared/src/interfaces/event-manager-adapter.interface.ts
22
+ const EVENT_MANAGER_ADAPTER = 'EVENT_MANAGER_ADAPTER';
23
+
24
+ ;// CONCATENATED MODULE: ./projects/nestjs-shared/src/interfaces/notification-adapter.interface.ts
25
+ const NOTIFICATION_ADAPTER = 'NOTIFICATION_ADAPTER';
26
+
27
+ ;// CONCATENATED MODULE: ./projects/nestjs-shared/src/interfaces/permission-sync-adapter.interface.ts
28
+ const PERMISSION_SYNC_ADAPTER = 'PERMISSION_SYNC_ADAPTER';
29
+
30
+ ;// CONCATENATED MODULE: ./projects/nestjs-shared/src/interfaces/index.ts
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ },
45
+
46
+ };
47
+ import { __webpack_require__ } from '../runtime.js';
48
+ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
49
+ import * as __rspack_chunk_1 from './index.js';
50
+ __webpack_require__.C(__rspack_chunk_1);
51
+ var __webpack_exports__ = __webpack_exec__(473);var __webpack_exports__AI_ASSISTANT_AUTH_PROVIDER = __webpack_exports__.Fi;
52
+ var __webpack_exports__AI_ASSISTANT_TOOL_PROVIDER = __webpack_exports__.Hb;
53
+ var __webpack_exports__AI_ASSISTANT_USER_LOOKUP_PROVIDER = __webpack_exports__.T4;
54
+ var __webpack_exports__EVENT_MANAGER_ADAPTER = __webpack_exports__.LO;
55
+ var __webpack_exports__NOTIFICATION_ADAPTER = __webpack_exports__.KR;
56
+ var __webpack_exports__PERMISSION_SYNC_ADAPTER = __webpack_exports__.kF;
57
+ export { __webpack_exports__AI_ASSISTANT_AUTH_PROVIDER as AI_ASSISTANT_AUTH_PROVIDER, __webpack_exports__AI_ASSISTANT_TOOL_PROVIDER as AI_ASSISTANT_TOOL_PROVIDER, __webpack_exports__AI_ASSISTANT_USER_LOOKUP_PROVIDER as AI_ASSISTANT_USER_LOOKUP_PROVIDER, __webpack_exports__EVENT_MANAGER_ADAPTER as EVENT_MANAGER_ADAPTER, __webpack_exports__NOTIFICATION_ADAPTER as NOTIFICATION_ADAPTER, __webpack_exports__PERMISSION_SYNC_ADAPTER as PERMISSION_SYNC_ADAPTER };
@@ -1 +1,33 @@
1
- export * from './logger.middleware';
1
+ export const __rspack_esm_id = 548;
2
+ export const __rspack_esm_ids = [548];
3
+ export const __webpack_modules__ = {
4
+ 799(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
5
+ /* import */ var _logger_middleware_js__rspack_import_0 = __webpack_require__(419);
6
+
7
+
8
+ __webpack_require__.d(__webpack_exports__, {
9
+ EO: () => (/* reexport safe */ _logger_middleware_js__rspack_import_0.EO),
10
+ F6: () => (/* reexport safe */ _logger_middleware_js__rspack_import_0.F6),
11
+ RE: () => (/* reexport safe */ _logger_middleware_js__rspack_import_0.RE),
12
+ V8: () => (/* reexport safe */ _logger_middleware_js__rspack_import_0.V8),
13
+ pq: () => (/* reexport safe */ _logger_middleware_js__rspack_import_0.pq),
14
+ xR: () => (/* reexport safe */ _logger_middleware_js__rspack_import_0.xR)
15
+ });
16
+
17
+
18
+ },
19
+
20
+ };
21
+ import { __webpack_require__ } from '../runtime.js';
22
+ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
23
+ import * as __rspack_chunk_1 from '../720.js';
24
+ __webpack_require__.C(__rspack_chunk_1);
25
+ import * as __rspack_chunk_2 from './index.js';
26
+ __webpack_require__.C(__rspack_chunk_2);
27
+ var __webpack_exports__ = __webpack_exec__(799);var __webpack_exports__LoggerMiddleware = __webpack_exports__.pq;
28
+ var __webpack_exports__getCompanyId = __webpack_exports__.xR;
29
+ var __webpack_exports__getRequestId = __webpack_exports__.RE;
30
+ var __webpack_exports__getTenantId = __webpack_exports__.EO;
31
+ var __webpack_exports__getUserId = __webpack_exports__.F6;
32
+ var __webpack_exports__requestContext = __webpack_exports__.V8;
33
+ export { __webpack_exports__LoggerMiddleware as LoggerMiddleware, __webpack_exports__getCompanyId as getCompanyId, __webpack_exports__getRequestId as getRequestId, __webpack_exports__getTenantId as getTenantId, __webpack_exports__getUserId as getUserId, __webpack_exports__requestContext as requestContext };
@@ -1,9 +1,432 @@
1
- export * from './cache/cache.module';
2
- export * from './datasource';
3
- export * from './event-bus/event-bus.explorer';
4
- export * from './event-bus/event-bus.module';
5
- export * from './event-bus/module-events.provider';
6
- export * from './shared-permission-cache/shared-permission-cache.module';
7
- export * from './shared-permission-cache/shared-permission-cache.service';
8
- export * from './utils/utils.module';
9
- export * from './utils/utils.service';
1
+ import * as __rspack_external__flusys_nestjs_core_config_197fa0a9 from "@flusys/nestjs-core/config";
2
+ import * as __rspack_external__nestjs_common_a04939da from "@nestjs/common";
3
+ export const __rspack_esm_id = 900;
4
+ export const __rspack_esm_ids = [900];
5
+ export const __webpack_modules__ = {
6
+ 43(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
7
+ /* import */ var _permissions_js__rspack_import_0 = __webpack_require__(975);
8
+ /* import */ var _message_keys_js__rspack_import_1 = __webpack_require__(389);
9
+ // Metadata keys
10
+ const IS_PUBLIC_KEY = 'isPublic';
11
+ const PERMISSIONS_KEY = 'permissions';
12
+ const DOMAIN_EVENT_HANDLER_KEY = 'domainEventHandler';
13
+ // Injection tokens
14
+ const CACHE_INSTANCE = 'CACHE_INSTANCE';
15
+ const PERMISSION_GUARD_CONFIG = 'PERMISSION_GUARD_CONFIG';
16
+ const EVENT_BUS_INSTANCE = 'EVENT_BUS_INSTANCE';
17
+ const EVENT_BUS_MODULE_OPTIONS = 'EVENT_BUS_MODULE_OPTIONS';
18
+ // Header names
19
+ const IDEMPOTENCY_KEY_HEADER = 'x-idempotency-key';
20
+ const REQUEST_ID_HEADER = 'x-request-id';
21
+ const CLIENT_TYPE_HEADER = 'x-client-type';
22
+ // Cache key prefixes
23
+ const PERMISSIONS_CACHE_PREFIX = 'my-permissions';
24
+ const IDEMPOTENCY_CACHE_PREFIX = 'idempotency';
25
+ // Event bus defaults
26
+ const DEFAULT_EVENT_EXCHANGE = 'flusys.events';
27
+ const DEFAULT_EVENT_TOPIC = 'flusys.domain-events';
28
+ const DEFAULT_EVENT_SERVICE_NAME = 'flusys';
29
+ // Permission codes
30
+
31
+ // Message keys for localization
32
+
33
+
34
+ __webpack_require__.d(__webpack_exports__, {
35
+ BC: () => (/* reexport safe */ _permissions_js__rspack_import_0.BC),
36
+ Bz: () => (/* reexport safe */ _permissions_js__rspack_import_0.Bz),
37
+ Em: () => (/* reexport safe */ _permissions_js__rspack_import_0.Em),
38
+ GT: () => (/* reexport safe */ _permissions_js__rspack_import_0.GT),
39
+ Jj: () => (/* reexport safe */ _permissions_js__rspack_import_0.Jj),
40
+ N3: () => (/* reexport safe */ _permissions_js__rspack_import_0.N3),
41
+ ON: () => (/* reexport safe */ _permissions_js__rspack_import_0.ON),
42
+ P0: () => (/* reexport safe */ _permissions_js__rspack_import_0.P0),
43
+ Q5: () => (/* reexport safe */ _permissions_js__rspack_import_0.Q5),
44
+ S6: () => (/* reexport safe */ _permissions_js__rspack_import_0.S6),
45
+ T: () => (/* reexport safe */ _permissions_js__rspack_import_0.T),
46
+ UB: () => (/* reexport safe */ _permissions_js__rspack_import_0.UB),
47
+ UG: () => (/* reexport safe */ _permissions_js__rspack_import_0.UG),
48
+ UU: () => (/* reexport safe */ _message_keys_js__rspack_import_1.UU),
49
+ Ub: () => (/* reexport safe */ _permissions_js__rspack_import_0.Ub),
50
+ V0: () => (/* reexport safe */ _permissions_js__rspack_import_0.V0),
51
+ Wc: () => (/* reexport safe */ _permissions_js__rspack_import_0.Wc),
52
+ Y3: () => (/* reexport safe */ _permissions_js__rspack_import_0.Y3),
53
+ Y7: () => (/* reexport safe */ _permissions_js__rspack_import_0.Y7),
54
+ _X: () => (/* reexport safe */ _permissions_js__rspack_import_0._X),
55
+ aO: () => (/* reexport safe */ _permissions_js__rspack_import_0.aO),
56
+ fS: () => (/* reexport safe */ _permissions_js__rspack_import_0.fS),
57
+ hg: () => (/* reexport safe */ _message_keys_js__rspack_import_1.hg),
58
+ l3: () => (/* reexport safe */ _permissions_js__rspack_import_0.l3),
59
+ mK: () => (/* reexport safe */ _message_keys_js__rspack_import_1.mK),
60
+ mV: () => (/* reexport safe */ _permissions_js__rspack_import_0.mV),
61
+ rH: () => (/* reexport safe */ _permissions_js__rspack_import_0.rH),
62
+ t$: () => (/* reexport safe */ _permissions_js__rspack_import_0.t$),
63
+ w7: () => (/* reexport safe */ _permissions_js__rspack_import_0.w7),
64
+ wA: () => (/* reexport safe */ _permissions_js__rspack_import_0.wA),
65
+ wM: () => (/* reexport safe */ _permissions_js__rspack_import_0.wM),
66
+ z$: () => (/* reexport safe */ _permissions_js__rspack_import_0.z$),
67
+ zd: () => (/* reexport safe */ _permissions_js__rspack_import_0.zd)
68
+ }, {
69
+ Hq: DEFAULT_EVENT_EXCHANGE,
70
+ Lw: PERMISSION_GUARD_CONFIG,
71
+ N7: PERMISSIONS_KEY,
72
+ PT: DOMAIN_EVENT_HANDLER_KEY,
73
+ Qj: EVENT_BUS_INSTANCE,
74
+ SL: EVENT_BUS_MODULE_OPTIONS,
75
+ fG: PERMISSIONS_CACHE_PREFIX,
76
+ iH: IDEMPOTENCY_KEY_HEADER,
77
+ jA: IS_PUBLIC_KEY,
78
+ kC: REQUEST_ID_HEADER,
79
+ mg: IDEMPOTENCY_CACHE_PREFIX,
80
+ nx: DEFAULT_EVENT_TOPIC,
81
+ xw: CLIENT_TYPE_HEADER,
82
+ zl: CACHE_INSTANCE
83
+ });
84
+
85
+
86
+ },
87
+ 389(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
88
+ // ==================== AUTH (Shared across guards/interceptors) ====================
89
+ // These are duplicated in nestjs-auth but needed here to avoid circular dependencies
90
+ const AUTH_MESSAGES = {
91
+ TOKEN_REQUIRED: 'auth.token.required',
92
+ TOKEN_INVALID: 'auth.token.invalid',
93
+ ENTITY_BELOG_ANOTHER_COMPANY: 'entity.belongs.another.company',
94
+ COMPANY_NO_ACCESS: 'auth.company.no.access'
95
+ };
96
+ // ==================== ERROR (HTTP Exceptions) ====================
97
+ const ERROR_MESSAGES = {
98
+ NOT_FOUND: 'error.not.found',
99
+ VALIDATION: 'error.validation',
100
+ UNAUTHORIZED: 'error.unauthorized',
101
+ FORBIDDEN: 'error.forbidden',
102
+ CONFLICT: 'error.conflict',
103
+ DB_FOREIGN_KEY: 'error.db.foreign.key',
104
+ DB_NOT_NULL: 'error.db.not.null',
105
+ DB_INVALID_INPUT: 'error.db.invalid.input',
106
+ DB_VALUE_TOO_LONG: 'error.db.value.too.long',
107
+ DB_CHECK_CONSTRAINT: 'error.db.check.constraint',
108
+ DB_DEADLOCK: 'error.db.deadlock',
109
+ INTERNAL: 'error.internal',
110
+ SERVICE_UNAVAILABLE: 'error.service.unavailable',
111
+ UNKNOWN: 'error.unknown',
112
+ HTTP: 'error.http',
113
+ GENERIC: 'error.generic',
114
+ PERMISSION_SYSTEM_UNAVAILABLE: 'error.permission.system.unavailable',
115
+ INSUFFICIENT_PERMISSIONS: 'error.insufficient.permissions',
116
+ INSUFFICIENT_PERMISSIONS_OR: 'error.insufficient.permissions.or',
117
+ NO_PERMISSIONS_FOUND: 'error.no.permissions.found',
118
+ ENDPOINT_DISABLED: 'error.endpoint.disabled'
119
+ };
120
+ // ==================== SYSTEM (Infrastructure) ====================
121
+ const SYSTEM_MESSAGES = {
122
+ REPOSITORY_NOT_AVAILABLE: 'system.repository.not.available',
123
+ DATASOURCE_NOT_AVAILABLE: 'system.datasource.not.available',
124
+ DATABASE_CONFIG_NOT_AVAILABLE: 'system.database.config.not.available',
125
+ SERVICE_NOT_AVAILABLE: 'system.service.not.available',
126
+ CONFIG_REQUIRED: 'system.config.required',
127
+ INTERNAL_ERROR: 'system.internal.error',
128
+ DUPLICATE_REQUEST: 'system.duplicate.request',
129
+ INVALID_TENANT_ID: 'system.invalid.tenant.id',
130
+ TENANT_NOT_FOUND: 'system.tenant.not.found',
131
+ TENANT_HEADER_REQUIRED: 'system.tenant.header.required',
132
+ MISSING_PARAMETER: 'system.missing.parameter',
133
+ SDK_NOT_INSTALLED: 'system.sdk.not.installed',
134
+ PATH_TRAVERSAL_DETECTED: 'system.path.traversal.detected',
135
+ INVALID_FILE_KEY: 'system.invalid.file.key'
136
+ };
137
+
138
+ __webpack_require__.d(__webpack_exports__, {
139
+ }, {
140
+ UU: ERROR_MESSAGES,
141
+ hg: SYSTEM_MESSAGES,
142
+ mK: AUTH_MESSAGES
143
+ });
144
+
145
+
146
+ },
147
+ 975(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
148
+ // ==================== AUTH MODULE ====================
149
+ const USER_PERMISSIONS = {
150
+ CREATE: 'user.create',
151
+ READ: 'user.read',
152
+ UPDATE: 'user.update',
153
+ DELETE: 'user.delete',
154
+ LOOKUP: 'user.lookup'
155
+ };
156
+ const COMPANY_PERMISSIONS = {
157
+ CREATE: 'company.create',
158
+ READ: 'company.read',
159
+ UPDATE: 'company.update',
160
+ DELETE: 'company.delete'
161
+ };
162
+ const BRANCH_PERMISSIONS = {
163
+ CREATE: 'branch.create',
164
+ READ: 'branch.read',
165
+ UPDATE: 'branch.update',
166
+ DELETE: 'branch.delete'
167
+ };
168
+ const SOCIAL_AUTH_CONFIG_PERMISSIONS = {
169
+ CREATE: 'social-config.create',
170
+ READ: 'social-config.read',
171
+ UPDATE: 'social-config.update',
172
+ DELETE: 'social-config.delete'
173
+ };
174
+ // ==================== IAM MODULE ====================
175
+ const ACTION_PERMISSIONS = {
176
+ CREATE: 'action.create',
177
+ READ: 'action.read',
178
+ UPDATE: 'action.update',
179
+ DELETE: 'action.delete'
180
+ };
181
+ const ROLE_PERMISSIONS = {
182
+ CREATE: 'role.create',
183
+ READ: 'role.read',
184
+ UPDATE: 'role.update',
185
+ DELETE: 'role.delete'
186
+ };
187
+ const ROLE_ACTION_PERMISSIONS = {
188
+ READ: 'role-action.read',
189
+ ASSIGN: 'role-action.assign'
190
+ };
191
+ const USER_ROLE_PERMISSIONS = {
192
+ READ: 'user-role.read',
193
+ ASSIGN: 'user-role.assign'
194
+ };
195
+ const USER_ACTION_PERMISSIONS = {
196
+ READ: 'user-action.read',
197
+ ASSIGN: 'user-action.assign'
198
+ };
199
+ const COMPANY_ACTION_PERMISSIONS = {
200
+ READ: 'company-action.read',
201
+ ASSIGN: 'company-action.assign'
202
+ };
203
+ // ==================== STORAGE MODULE ====================
204
+ const FILE_PERMISSIONS = {
205
+ CREATE: 'file.create',
206
+ READ: 'file.read',
207
+ UPDATE: 'file.update',
208
+ DELETE: 'file.delete',
209
+ VIEW_PRIVATE_ACTION: 'file.view.private'
210
+ };
211
+ const FOLDER_PERMISSIONS = {
212
+ CREATE: 'folder.create',
213
+ READ: 'folder.read',
214
+ UPDATE: 'folder.update',
215
+ DELETE: 'folder.delete'
216
+ };
217
+ const STORAGE_CONFIG_PERMISSIONS = {
218
+ CREATE: 'storage-config.create',
219
+ READ: 'storage-config.read',
220
+ UPDATE: 'storage-config.update',
221
+ DELETE: 'storage-config.delete'
222
+ };
223
+ const UPLOAD_CONFIG_PERMISSIONS = {
224
+ DELETE: 'upload-config.delete'
225
+ };
226
+ // ==================== EMAIL MODULE ====================
227
+ const EMAIL_CONFIG_PERMISSIONS = {
228
+ CREATE: 'email-config.create',
229
+ READ: 'email-config.read',
230
+ UPDATE: 'email-config.update',
231
+ DELETE: 'email-config.delete'
232
+ };
233
+ const EMAIL_TEMPLATE_PERMISSIONS = {
234
+ CREATE: 'email-template.create',
235
+ READ: 'email-template.read',
236
+ UPDATE: 'email-template.update',
237
+ DELETE: 'email-template.delete'
238
+ };
239
+ // ==================== FORM BUILDER MODULE ====================
240
+ const FORM_PERMISSIONS = {
241
+ CREATE: 'form.create',
242
+ READ: 'form.read',
243
+ UPDATE: 'form.update',
244
+ DELETE: 'form.delete'
245
+ };
246
+ const FORM_RESULT_PERMISSIONS = {
247
+ CREATE: 'form-result.create',
248
+ READ: 'form-result.read',
249
+ UPDATE: 'form-result.update',
250
+ DELETE: 'form-result.delete'
251
+ };
252
+ // ==================== EVENT MANAGER MODULE ====================
253
+ const EVENT_PERMISSIONS = {
254
+ CREATE: 'event.create',
255
+ READ: 'event.read',
256
+ UPDATE: 'event.update',
257
+ DELETE: 'event.delete'
258
+ };
259
+ // ==================== NOTIFICATION MODULE ====================
260
+ const NOTIFICATION_PERMISSIONS = {
261
+ CREATE: 'notification.create',
262
+ READ: 'notification.read',
263
+ UPDATE: 'notification.update',
264
+ DELETE: 'notification.delete'
265
+ };
266
+ // ==================== LOCALIZATION MODULE ====================
267
+ const LANGUAGE_PERMISSIONS = {
268
+ CREATE: 'language.create',
269
+ READ: 'language.read',
270
+ UPDATE: 'language.update',
271
+ DELETE: 'language.delete'
272
+ };
273
+ const TRANSLATION_KEY_PERMISSIONS = {
274
+ CREATE: 'translation-key.create',
275
+ READ: 'translation-key.read',
276
+ UPDATE: 'translation-key.update',
277
+ DELETE: 'translation-key.delete'
278
+ };
279
+ const TRANSLATION_PERMISSIONS = {
280
+ CREATE: 'translation.create',
281
+ READ: 'translation.read',
282
+ UPDATE: 'translation.update',
283
+ DELETE: 'translation.delete'
284
+ };
285
+ // ==================== TASK MANAGER MODULE ====================
286
+ const TASK_BOARD_PERMISSIONS = {
287
+ CREATE: 'task-board.create',
288
+ READ: 'task-board.read',
289
+ UPDATE: 'task-board.update',
290
+ DELETE: 'task-board.delete',
291
+ MANAGE_MEMBERS: 'task-board.manage-members'
292
+ };
293
+ const TASK_LIST_PERMISSIONS = {
294
+ CREATE: 'task-list.create',
295
+ READ: 'task-list.read',
296
+ UPDATE: 'task-list.update',
297
+ DELETE: 'task-list.delete'
298
+ };
299
+ const TASK_PERMISSIONS = {
300
+ CREATE: 'task.create',
301
+ READ: 'task.read',
302
+ UPDATE: 'task.update',
303
+ DELETE: 'task.delete',
304
+ MOVE: 'task.move',
305
+ ASSIGN: 'task.assign'
306
+ };
307
+ const TASK_LABEL_PERMISSIONS = {
308
+ CREATE: 'task-label.create',
309
+ READ: 'task-label.read',
310
+ UPDATE: 'task-label.update',
311
+ DELETE: 'task-label.delete'
312
+ };
313
+ const TASK_COMMENT_PERMISSIONS = {
314
+ CREATE: 'task-comment.create',
315
+ READ: 'task-comment.read',
316
+ DELETE: 'task-comment.delete'
317
+ };
318
+ // ==================== AI ASSISTANT MODULE ====================
319
+ const AI_ASSISTANT_PERMISSIONS = {
320
+ VIEW_ALL_HISTORY: 'ai-assistant.view-all-history'
321
+ };
322
+ // ==================== AGGREGATED EXPORTS ====================
323
+ const PERMISSIONS = {
324
+ // Auth
325
+ USER: USER_PERMISSIONS,
326
+ COMPANY: COMPANY_PERMISSIONS,
327
+ BRANCH: BRANCH_PERMISSIONS,
328
+ SOCIAL_AUTH_CONFIG: SOCIAL_AUTH_CONFIG_PERMISSIONS,
329
+ // IAM
330
+ ACTION: ACTION_PERMISSIONS,
331
+ ROLE: ROLE_PERMISSIONS,
332
+ ROLE_ACTION: ROLE_ACTION_PERMISSIONS,
333
+ USER_ROLE: USER_ROLE_PERMISSIONS,
334
+ USER_ACTION: USER_ACTION_PERMISSIONS,
335
+ COMPANY_ACTION: COMPANY_ACTION_PERMISSIONS,
336
+ // Storage
337
+ FILE: FILE_PERMISSIONS,
338
+ FOLDER: FOLDER_PERMISSIONS,
339
+ STORAGE_CONFIG: STORAGE_CONFIG_PERMISSIONS,
340
+ // Email
341
+ EMAIL_CONFIG: EMAIL_CONFIG_PERMISSIONS,
342
+ EMAIL_TEMPLATE: EMAIL_TEMPLATE_PERMISSIONS,
343
+ // Form Builder
344
+ FORM: FORM_PERMISSIONS,
345
+ FORM_RESULT: FORM_RESULT_PERMISSIONS,
346
+ // Event Manager
347
+ EVENT: EVENT_PERMISSIONS,
348
+ // Notification
349
+ NOTIFICATION: NOTIFICATION_PERMISSIONS,
350
+ // Localization
351
+ LANGUAGE: LANGUAGE_PERMISSIONS,
352
+ TRANSLATION_KEY: TRANSLATION_KEY_PERMISSIONS,
353
+ TRANSLATION: TRANSLATION_PERMISSIONS,
354
+ // Task Manager
355
+ TASK_BOARD: TASK_BOARD_PERMISSIONS,
356
+ TASK_LIST: TASK_LIST_PERMISSIONS,
357
+ TASK: TASK_PERMISSIONS,
358
+ TASK_LABEL: TASK_LABEL_PERMISSIONS,
359
+ TASK_COMMENT: TASK_COMMENT_PERMISSIONS,
360
+ // AI Assistant
361
+ AI_ASSISTANT: AI_ASSISTANT_PERMISSIONS
362
+ };
363
+
364
+ __webpack_require__.d(__webpack_exports__, {
365
+ }, {
366
+ BC: USER_PERMISSIONS,
367
+ Bz: AI_ASSISTANT_PERMISSIONS,
368
+ Em: STORAGE_CONFIG_PERMISSIONS,
369
+ GT: FORM_RESULT_PERMISSIONS,
370
+ Jj: PERMISSIONS,
371
+ N3: TRANSLATION_KEY_PERMISSIONS,
372
+ ON: TASK_LIST_PERMISSIONS,
373
+ P0: ROLE_ACTION_PERMISSIONS,
374
+ Q5: LANGUAGE_PERMISSIONS,
375
+ S6: FILE_PERMISSIONS,
376
+ T: TASK_PERMISSIONS,
377
+ UB: UPLOAD_CONFIG_PERMISSIONS,
378
+ UG: TASK_LABEL_PERMISSIONS,
379
+ Ub: EVENT_PERMISSIONS,
380
+ V0: EMAIL_CONFIG_PERMISSIONS,
381
+ Wc: FORM_PERMISSIONS,
382
+ Y3: TASK_BOARD_PERMISSIONS,
383
+ Y7: ACTION_PERMISSIONS,
384
+ _X: USER_ACTION_PERMISSIONS,
385
+ aO: COMPANY_ACTION_PERMISSIONS,
386
+ fS: TRANSLATION_PERMISSIONS,
387
+ l3: SOCIAL_AUTH_CONFIG_PERMISSIONS,
388
+ mV: ROLE_PERMISSIONS,
389
+ rH: NOTIFICATION_PERMISSIONS,
390
+ t$: COMPANY_PERMISSIONS,
391
+ w7: USER_ROLE_PERMISSIONS,
392
+ wA: BRANCH_PERMISSIONS,
393
+ wM: FOLDER_PERMISSIONS,
394
+ z$: EMAIL_TEMPLATE_PERMISSIONS,
395
+ zd: TASK_COMMENT_PERMISSIONS
396
+ });
397
+
398
+
399
+ },
400
+ 307(module) {
401
+
402
+ module.exports = __rspack_external__flusys_nestjs_core_config_197fa0a9;
403
+
404
+
405
+ },
406
+ 157(module) {
407
+
408
+ module.exports = __rspack_external__nestjs_common_a04939da;
409
+
410
+
411
+ },
412
+
413
+ };
414
+ import { __webpack_require__ } from '../runtime.js';
415
+ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
416
+ import * as __rspack_chunk_1 from '../67.js';
417
+ __webpack_require__.C(__rspack_chunk_1);
418
+ import * as __rspack_chunk_2 from '../667.js';
419
+ __webpack_require__.C(__rspack_chunk_2);
420
+ import * as __rspack_chunk_3 from './index.js';
421
+ __webpack_require__.C(__rspack_chunk_3);
422
+ var __webpack_exports__ = __webpack_exec__(686);var __webpack_exports__CacheModule = __webpack_exports__.vd;
423
+ var __webpack_exports__EventBusExplorer = __webpack_exports__.K6;
424
+ var __webpack_exports__EventBusModule = __webpack_exports__.Zv;
425
+ var __webpack_exports__MultiTenantDataSourceService = __webpack_exports__.Ct;
426
+ var __webpack_exports__SharedPermissionCacheModule = __webpack_exports__.nE;
427
+ var __webpack_exports__SharedPermissionCacheService = __webpack_exports__.U8;
428
+ var __webpack_exports__UtilsModule = __webpack_exports__.uh;
429
+ var __webpack_exports__UtilsService = __webpack_exports__.TJ;
430
+ var __webpack_exports__createModuleEventsProvider = __webpack_exports__.fv;
431
+ var __webpack_exports__moduleEventsToken = __webpack_exports__.Ri;
432
+ export { __webpack_exports__CacheModule as CacheModule, __webpack_exports__EventBusExplorer as EventBusExplorer, __webpack_exports__EventBusModule as EventBusModule, __webpack_exports__MultiTenantDataSourceService as MultiTenantDataSourceService, __webpack_exports__SharedPermissionCacheModule as SharedPermissionCacheModule, __webpack_exports__SharedPermissionCacheService as SharedPermissionCacheService, __webpack_exports__UtilsModule as UtilsModule, __webpack_exports__UtilsService as UtilsService, __webpack_exports__createModuleEventsProvider as createModuleEventsProvider, __webpack_exports__moduleEventsToken as moduleEventsToken };
@@ -0,0 +1,134 @@
1
+ var __webpack_modules__ = ({});
2
+ // The module cache
3
+ var __webpack_module_cache__ = {};
4
+
5
+ // The require function
6
+ function __webpack_require__(moduleId) {
7
+
8
+ // Check if module is in cache
9
+ var cachedModule = __webpack_module_cache__[moduleId];
10
+ if (cachedModule !== undefined) {
11
+ return cachedModule.exports;
12
+ }
13
+ // Create a new module (and put it into the cache)
14
+ var module = (__webpack_module_cache__[moduleId] = {
15
+ exports: {}
16
+ });
17
+ // Execute the module function
18
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
19
+
20
+ // Return the exports of the module
21
+ return module.exports;
22
+
23
+ }
24
+
25
+ // expose the modules object (__webpack_modules__)
26
+ __webpack_require__.m = __webpack_modules__;
27
+
28
+ // webpack/runtime/define_property_getters
29
+ (() => {
30
+ __webpack_require__.d = (exports, getters, values) => {
31
+ var define = (defs, kind) => {
32
+ for(var key in defs) {
33
+ if(__webpack_require__.o(defs, key) && !__webpack_require__.o(exports, key)) {
34
+ Object.defineProperty(exports, key, { enumerable: true, [kind]: defs[key] });
35
+ }
36
+ }
37
+ };
38
+ define(getters, "get");
39
+ define(values, "value");
40
+ };
41
+ })();
42
+ // webpack/runtime/ensure_chunk
43
+ (() => {
44
+ __webpack_require__.f = {};
45
+ // This file contains only the entry chunk.
46
+ // The chunk loading function for additional chunks
47
+ __webpack_require__.e = (chunkId) => {
48
+ return Promise.all(
49
+ Object.keys(__webpack_require__.f).reduce((promises, key) => {
50
+ __webpack_require__.f[key](chunkId, promises);
51
+ return promises;
52
+ }, [])
53
+ );
54
+ };
55
+ })();
56
+ // webpack/runtime/export_webpack_require
57
+ var __webpack_require__temp = __webpack_require__;
58
+ export { __webpack_require__temp as __webpack_require__ };
59
+ // webpack/runtime/get javascript chunk filename
60
+ (() => {
61
+ // This function allow to reference chunks
62
+ __webpack_require__.u = (chunkId) => {
63
+ // return url for filenames not based on template
64
+
65
+ // return url for filenames based on template
66
+ return "chunks/" + chunkId + ".js"
67
+ }
68
+ })();
69
+ // webpack/runtime/has_own_property
70
+ (() => {
71
+ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
72
+ })();
73
+ // webpack/runtime/module_chunk_loading
74
+ (() => {
75
+ // no BaseURI
76
+ // object to store loaded and loading chunks
77
+ // undefined = chunk not loaded, null = chunk preloaded/prefetched
78
+ // [resolve, Promise] = chunk loading, 0 = chunk loaded
79
+ var moduleInstalledChunks = {146: 0,};
80
+ var moduleInstallChunk = (data) => {
81
+ var __rspack_esm_ids = data.__rspack_esm_ids;
82
+ var moreModules = data.__webpack_modules__;
83
+ var __rspack_esm_runtime = data.__rspack_esm_runtime;
84
+ // add "modules" to the modules object,
85
+ // then flag all "ids" as loaded and fire callback
86
+ var moduleId, chunkId, i = 0;
87
+ for (moduleId in moreModules) {
88
+ if (__webpack_require__.o(moreModules, moduleId)) {
89
+ __webpack_require__.m[moduleId] = moreModules[moduleId];
90
+ }
91
+ }
92
+ if (__rspack_esm_runtime) __rspack_esm_runtime(__webpack_require__);
93
+ for (; i < __rspack_esm_ids.length; i++) {
94
+ chunkId = __rspack_esm_ids[i];
95
+ if (__webpack_require__.o(moduleInstalledChunks, chunkId) && moduleInstalledChunks[chunkId]) {
96
+ moduleInstalledChunks[chunkId][0]();
97
+ }
98
+ moduleInstalledChunks[__rspack_esm_ids[i]] = 0;
99
+ }
100
+
101
+ };
102
+
103
+ __webpack_require__.f.j = function (chunkId, promises) {
104
+ // import() chunk loading for javascript
105
+ var installedChunkData = __webpack_require__.o(moduleInstalledChunks, chunkId) ? moduleInstalledChunks[chunkId] : undefined;
106
+ if (installedChunkData !== 0) { // 0 means "already installed".'
107
+ // a Promise means "currently loading".
108
+ if (installedChunkData) {
109
+ promises.push(installedChunkData[1]);
110
+ } else {
111
+ if (146 != chunkId) {
112
+ // setup Promise in chunk cache
113
+ var promise = import("./" + __webpack_require__.u(chunkId)).then(moduleInstallChunk, (e) => {
114
+ if (moduleInstalledChunks[chunkId] !== 0) moduleInstalledChunks[chunkId] = undefined;
115
+ throw e;
116
+ });
117
+ var promise = Promise.race([promise, new Promise((resolve) => {
118
+ installedChunkData = moduleInstalledChunks[chunkId] = [resolve];
119
+ })]);
120
+ promises.push(installedChunkData[1] = promise);
121
+ }
122
+ else moduleInstalledChunks[chunkId] = 0;
123
+
124
+ }
125
+ }
126
+
127
+ }
128
+
129
+ __webpack_require__.C = moduleInstallChunk;
130
+ // no on chunks loaded
131
+ // no HMR
132
+ // no HMR manifest
133
+
134
+ })();