@sidekick-coder/zenith-kit 0.4.14 → 0.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/zenith.js +1 -2
- package/dist/client/{DashboardWidgetActionSetting-Dw-dJ_ft.mjs → DashboardWidgetActionSetting-CAWFyAkq.mjs} +2 -2
- package/dist/client/{Icon.vue_vue_type_script_setup_true_lang-C6nXDR3M.mjs → Icon.vue_vue_type_script_setup_true_lang-mpkMPRLI.mjs} +1 -1
- package/dist/client/{WidgetTextRender-BS6AbF9D.mjs → WidgetTextRender-GFtACbUf.mjs} +2 -2
- package/dist/client/{index-Ck3vTAA8.mjs → index-BJAQ9u3g.mjs} +1310 -1314
- package/dist/client/index.es.js +72 -73
- package/dist/client/src/client/components/ZDialogForm.vue.d.ts +4 -0
- package/dist/client/src/client/contracts/events.d.ts +5 -0
- package/dist/client/src/client/facades/emmitter.d.ts +2 -1
- package/dist/client/src/client/index.d.ts +0 -1
- package/dist/client/src/client/services/RouterService.d.ts +9 -2
- package/dist/client/src/shared/index.d.ts +1 -0
- package/dist/client/src/shared/utils/definePlugin.d.ts +4 -0
- package/dist/client/styles.css +1 -1
- package/dist/components/index.es.js +8 -2
- package/dist/components/src/client/components/ZDialogForm.vue.d.ts +4 -0
- package/dist/components/src/client/contracts/events.d.ts +5 -0
- package/dist/components/src/client/facades/emmitter.d.ts +2 -1
- package/dist/components/src/client/index.d.ts +0 -1
- package/dist/components/src/client/services/RouterService.d.ts +9 -2
- package/dist/components/src/shared/index.d.ts +1 -0
- package/dist/components/src/shared/utils/definePlugin.d.ts +4 -0
- package/dist/components/styles.css +1 -1
- package/dist/server/{AclEntity-D7L0rf_N.d.mts → AclEntity-BV_Gy8V3.d.mts} +7 -7
- package/dist/server/AclEntity-D1Xc5mz7.mjs +2 -0
- package/dist/server/{AuthMiddleware-C-U2cctE.d.mts → AuthMiddleware-BG4LOM8l.d.mts} +4 -4
- package/dist/server/AuthService-Cc-9vmcF.d.mts +44 -0
- package/dist/server/AuthSilenceMiddleware-DjuTsPUk.d.mts +16 -0
- package/dist/server/{AuthorizationMiddleware-6yB0swe7.d.mts → AuthorizationMiddleware-CdqP4E0e.d.mts} +5 -5
- package/dist/server/{BaseEntityMixin-Dgtsvy4d.mjs → BaseEntityMixin-Cz9oTbYK.mjs} +1 -1
- package/dist/server/{BaseException-cMfHz0w8.mjs → BaseException-DDPm8ax8.mjs} +1 -1
- package/dist/server/{BaseRelation-BvRPeHHv.d.mts → BaseRelation-exvk0rap.d.mts} +1 -1
- package/dist/server/{BelongsToFileRelation-BmcdbXgc.d.mts → BelongsToFileRelation-C2guKtUl.d.mts} +3 -3
- package/dist/server/{BelongsToRelation-BND3bOqh.d.mts → BelongsToRelation-ZdiJDWbX.d.mts} +2 -2
- package/dist/server/{BelongsToUserRelation-DP5mSxbJ.d.mts → BelongsToUserRelation-DZ0P0GMV.d.mts} +2 -2
- package/dist/server/{CliService-CsqiDAHp.d.mts → CliService-DEzEQLNp.d.mts} +4 -4
- package/dist/server/{CliTesterService-BfLnyu4E.d.mts → CliTesterService-CbAd-_U1.d.mts} +2 -2
- package/dist/server/{CliWrapperService-CYuFTUtL.d.mts → CliWrapperService-ZsC1eMjB.d.mts} +2 -2
- package/dist/server/{ConfigFSService-Bye4rsEz.d.mts → ConfigFSService-B7qEaGNz.d.mts} +3 -3
- package/dist/server/{ConfigManagerService-hVM061F2.d.mts → ConfigManagerService-pYYQVI-F.d.mts} +4 -4
- package/dist/server/{ConfigRepository-B7BdqQP-.d.mts → ConfigRepository-D22semiw.d.mts} +3 -3
- package/dist/server/{ConfigS3Service-C76CDqjM.d.mts → ConfigS3Service-C8lDs-Sh.d.mts} +4 -4
- package/dist/server/{ConfigService-DuslPPRy.mjs → ConfigService-CFVgL8pu.mjs} +2 -2
- package/dist/server/{ConfigService-87ljUsHX.d.mts → ConfigService-DVw--ZK5.d.mts} +1 -1
- package/dist/server/{ContainerService-BFr3w1gk.mjs → ContainerService-6vqVYulz.mjs} +2 -2
- package/dist/server/{ContainerService-DPMmsq7H.d.mts → ContainerService-Ba7XIQpg.d.mts} +1 -1
- package/dist/server/CookieMapEntity-BWbUjHGF.mjs +2 -0
- package/dist/server/{CookieMapEntity-DVOZdq6x.d.mts → CookieMapEntity-CkJUeH1Y.d.mts} +1 -1
- package/dist/server/{CookieMapEntity-mfxiZ5Z_.d.mts → CookieMapEntity-UsIoVNri.d.mts} +2 -2
- package/dist/server/{DatabaseContract-Bdo1gl39.d.mts → DatabaseContract-CkQwm56B.d.mts} +1 -1
- package/dist/server/{DatabaseGateway-BDMiL3c1.d.mts → DatabaseGateway-BRFlO0RJ.d.mts} +1 -1
- package/dist/server/{DatabaseRepository-CrxOcQL-.d.mts → DatabaseRepository-BYawHK2G.d.mts} +4 -4
- package/dist/server/{DatabaseRepositoryInferMixin-DgySpR7_.d.mts → DatabaseRepositoryInferMixin-DdVIWbGA.d.mts} +3 -3
- package/dist/server/{DownloadService-lpaNhK_K.d.mts → DownloadService-D3W4CjrP.d.mts} +1 -1
- package/dist/server/{DriveBaseGateway-BRUK2hCh.d.mts → DriveBaseGateway-CTiaRLDA.d.mts} +2 -2
- package/dist/server/DriveConfigEntity-BWNf1F0H.mjs +2 -0
- package/dist/server/{DriveConfigEntity-C-ILJEuo.d.mts → DriveConfigEntity-CLrBr62T.d.mts} +2 -2
- package/dist/server/{DriveContract-B3NBb9LL.d.mts → DriveContract-Bg9SvPmD.d.mts} +2 -2
- package/dist/server/{DriveEntryEntity-DN21xjBo.d.mts → DriveEntryEntity-D-7uPnRl.d.mts} +1 -1
- package/dist/server/{DriveFSGateway-DV5eEwEW.d.mts → DriveFSGateway-BBlvxIPJ.d.mts} +2 -2
- package/dist/server/{DriveS3Gateway-DzvC9KgH.d.mts → DriveS3Gateway-D7riz6RF.d.mts} +2 -2
- package/dist/server/{DriveService-C1UxNIHt.d.mts → DriveService-D2CUvaJE.d.mts} +5 -5
- package/dist/server/{EmmitterService-PK9gRKKM.d.mts → EmmitterService-BzlHBv6B.d.mts} +3 -3
- package/dist/server/{EmmitterService-HDj5QWII.d.mts → EmmitterService-DK4_m4FG.d.mts} +2 -2
- package/dist/server/{EmmitterService-Dw_dThZJ.mjs → EmmitterService-DikgCt8y.mjs} +2 -2
- package/dist/server/{EncryptService-mkspDyI6.d.mts → EncryptService-xbNoUGT9.d.mts} +3 -3
- package/dist/server/EnvService-D6_02gUh.mjs +2 -0
- package/dist/server/{EnvService-BobC7OC4.d.mts → EnvService-DuQ7K6FN.d.mts} +2 -2
- package/dist/server/{EventContract-Dg6gEv-G.d.mts → EventContract-MIynyYrK.d.mts} +8 -8
- package/dist/server/{ExceptionService-U3LKGhcX.d.mts → ExceptionService-C88hn4Ar.d.mts} +3 -3
- package/dist/server/FileEntity-DZoFEF3z.mjs +2 -0
- package/dist/server/{FileEntity-C6sMpeuL.d.mts → FileEntity-Digyfg-C.d.mts} +11 -12
- package/dist/server/FileMetaEntity-IRgP68d1.mjs +2 -0
- package/dist/server/{FileRepository-DU1xZp-5.d.mts → FileRepository-LcUXKAiu.d.mts} +4 -4
- package/dist/server/GitBranchEntity-CoLBI3Vw.mjs +2 -0
- package/dist/server/{GitBranchRepository-B7YOHCwV.d.mts → GitBranchRepository-0lnyAU7-.d.mts} +2 -2
- package/dist/server/GitCommitEntity-DU69Kj06.mjs +2 -0
- package/dist/server/{GitCommitRepository-D1Ad7SsF.d.mts → GitCommitRepository-Cy9EafEu.d.mts} +2 -2
- package/dist/server/{GitGateway-Do2Qt29v.d.mts → GitGateway-NWvd6wpG.d.mts} +3 -3
- package/dist/server/{HasManyRelation-5u-NVpeI.d.mts → HasManyRelation-d7tYeD9t.d.mts} +2 -2
- package/dist/server/{HasMetasRelation-Cw-xk_5u.d.mts → HasMetasRelation-CRhqKMwM.d.mts} +2 -2
- package/dist/server/{HasherService-D3pp9u4I.d.mts → HasherService-BvtYemFA.d.mts} +1 -1
- package/dist/server/{HooksMixin-D_OSdJ8D.mjs → HooksMixin-D-FOwqgn.mjs} +1 -1
- package/dist/server/{HttpContextContract-1CiBSmHM.d.mts → HttpContextContract-BiG2I2mT.d.mts} +4 -4
- package/dist/server/{HttpService-zQZKW13G.d.mts → HttpService-DnYKVek_.d.mts} +7 -7
- package/dist/server/{KyselyContract-7gMXHFr8.d.mts → KyselyContract-C8oRvArN.d.mts} +2 -2
- package/dist/server/{LifecycleHook-DecY1BiW.mjs → LifecycleHook-B_r0jo8V.mjs} +1 -1
- package/dist/server/{LifecycleHook-BtNMFgLK.d.mts → LifecycleHook-CpKhpmW1.d.mts} +1 -1
- package/dist/server/{LifecycleService-B6F51jqI.d.mts → LifecycleService-D7txJnZ6.d.mts} +4 -4
- package/dist/server/LifecycleService-TEUevixR.mjs +2 -0
- package/dist/server/{LoggerService-8XvsFBNN.mjs → LoggerService-BrBWU538.mjs} +1 -1
- package/dist/server/{LoggerService-Nim8qDLj.d.mts → LoggerService-DMUjB626.d.mts} +1 -1
- package/dist/server/{MetadataMixin-DqBEDicp.d.mts → MetadataMixin-CtI9cepx.d.mts} +3 -3
- package/dist/server/{MetadataQueryService-CMRWXD7m.d.mts → MetadataQueryService--Hd8eNlt.d.mts} +2 -2
- package/dist/server/{MetadataService-B0yROVds.d.mts → MetadataService-zGP-aruL.d.mts} +1 -1
- package/dist/server/{MigrationEntity-BVr5cuSI.d.mts → MigrationEntity-CMy8TTJ1.d.mts} +1 -1
- package/dist/server/{MigratorService-CAMQOHr9.d.mts → MigratorService-KUY0Osi8.d.mts} +4 -4
- package/dist/server/{ModelConfigMixin-DaA-xieD.d.mts → ModelConfigMixin-Cfy1funR.d.mts} +2 -2
- package/dist/server/{ModuleEntity-llcGGoY7.d.mts → ModuleEntity-D6wGxNwd.d.mts} +5 -5
- package/dist/server/ModuleEntity-zLWtaLvE.mjs +2 -0
- package/dist/server/{PageRequestContextEntity-COqt4XTn.d.mts → PageRequestContextEntity-BAdEJEpj.d.mts} +4 -4
- package/dist/server/{PermissionAssignmentRepository-DFPUyo11.d.mts → PermissionAssignmentRepository-DFUKIv23.d.mts} +2 -2
- package/dist/server/{PermissionEntity-Dd13IzSA.d.mts → PermissionEntity-FrvUrXYW.d.mts} +2 -2
- package/dist/server/{PermissionRepository-CvEb2nh_.d.mts → PermissionRepository-BhyHZK-A.d.mts} +12 -6
- package/dist/server/PermissionRepository-CDv8g8T-.mjs +2 -0
- package/dist/server/PluginEntity-B8lM--vr.mjs +2 -0
- package/dist/server/{PluginEntity-0ScFNgg3.d.mts → PluginEntity-BNxu5LOk.d.mts} +2 -2
- package/dist/server/{PluginEntryEntity-ZAlECr32.d.mts → PluginEntryEntity-DlPLorqO.d.mts} +5 -5
- package/dist/server/{PluginIpcClient-C7sh60zS.d.mts → PluginIpcClient-CFdGAToW.d.mts} +1 -1
- package/dist/server/{PluginIpcHost-BIgVLF5A.d.mts → PluginIpcHost-DRIPJiZM.d.mts} +1 -1
- package/dist/server/{PluginRouter-DwAhAwEz.d.mts → PluginRouter-DAm0Ya_q.d.mts} +2 -2
- package/dist/server/{RelationsMixin-khS-hIMS.d.mts → RelationsMixin-sglFqlms.d.mts} +2 -2
- package/dist/server/{RouteEntity-DOlZ1IaW.d.mts → RouteEntity-C_vnO708.d.mts} +2 -2
- package/dist/server/{RouterContract-BZL3xSfA.d.mts → RouterContract-Bju-hLsm.d.mts} +2 -2
- package/dist/server/{RouterFileBaseRoutingService-BE7AXExw.d.mts → RouterFileBaseRoutingService-CVTYRedl.d.mts} +3 -3
- package/dist/server/{RouterRegisterService-ftj9ZhDy.d.mts → RouterRegisterService-CkG5KnGj.d.mts} +2 -2
- package/dist/server/{RouterResourceConfigService-Djv6npYs.d.mts → RouterResourceConfigService-DdumyzyX.d.mts} +4 -4
- package/dist/server/{RouterResourceService-CWgVzF9n.d.mts → RouterResourceService-CkFRq8fl.d.mts} +5 -5
- package/dist/server/{RouterService-508A8IEt.d.mts → RouterService-tj5tmqMt.d.mts} +11 -6
- package/dist/server/{RoutineEntity-7PglKQ8X.d.mts → RoutineEntity-CRC4rgmo.d.mts} +1 -1
- package/dist/server/{SchedulerService-DQ4h6bWK.d.mts → SchedulerService-C7rx5SK4.d.mts} +3 -3
- package/dist/server/{SeederEntity-CN8nZuKr.d.mts → SeederEntity-x32642MQ.d.mts} +1 -1
- package/dist/server/{SeederService-W6tUTAVu.d.mts → SeederService-BFdd1cAb.d.mts} +4 -4
- package/dist/server/ShellException-Ci5rGS8A.mjs +2 -0
- package/dist/server/{ShellService-Ds7KZx67.d.mts → ShellService-DI15Al_O.d.mts} +2 -2
- package/dist/server/{SoftDeleteMixin-De5HmL4P.mjs → SoftDeleteMixin-DY7GrNAh.mjs} +1 -1
- package/dist/server/{TokenRepository-Vm0JUA22.d.mts → TokenRepository-Mr8yAWM6.d.mts} +8 -5
- package/dist/server/TranslatorService-C8H8JeQc.mjs +2 -0
- package/dist/server/UserEntity-BtSb5X5u.mjs +2 -0
- package/dist/server/{UserEntity-Dgl8Johm.d.mts → UserEntity-CIdyp6Na.d.mts} +3 -3
- package/dist/server/UserRepository-C3IIkR-h.d.mts +37 -0
- package/dist/server/{addIdColumn-Nt5P96_-.d.mts → addIdColumn-D0O4tZD_.d.mts} +1 -1
- package/dist/server/{addSoftDeleteColumn-CfJo0Hj1.d.mts → addSoftDeleteColumn-Bjz8ufPk.d.mts} +1 -1
- package/dist/server/{addTimestampColumns-u2kotOSM.d.mts → addTimestampColumns-CQLa4VmQ.d.mts} +1 -1
- package/dist/server/auth-sE4ooGXz.d.mts +7 -0
- package/dist/server/{basePath-C4F_Cfa9.d.mts → basePath-uAW0Wf7d.d.mts} +1 -1
- package/dist/server/{belongsToLoader-Dw9L_KNC.d.mts → belongsToLoader-B4HDS8Pe.d.mts} +2 -2
- package/dist/server/commands/pluginBuild.d.mts +1 -1
- package/dist/server/commands/pluginGenerateId.d.mts +1 -1
- package/dist/server/{common-CVoUcmxL.d.mts → common-J0aOi3jF.d.mts} +3 -3
- package/dist/server/{compose-XJLd0ioo.mjs → compose-BSyNueUA.mjs} +1 -1
- package/dist/server/{compose-D_uNcgZ5.d.mts → compose-D_zWUPJv.d.mts} +1 -1
- package/dist/server/{config-BfgL_2oN.d.mts → config-DWlk8Ag4.d.mts} +2 -2
- package/dist/server/{config-7O5n5RmM.d.mts → config-DXuzzZRI.d.mts} +1 -1
- package/dist/server/{container-Dx9dYmw7.d.mts → container-Dc7YvYnk.d.mts} +2 -2
- package/dist/server/contracts/DatabaseContract.d.mts +1 -1
- package/dist/server/contracts/DriveContract.d.mts +1 -1
- package/dist/server/contracts/EventContract.d.mts +1 -1
- package/dist/server/contracts/HttpContextContract.d.mts +1 -1
- package/dist/server/contracts/KyselyContract.d.mts +1 -1
- package/dist/server/contracts/RouterContract.d.mts +1 -1
- package/dist/server/{count-R4ZkzLv3.d.mts → count-BWMTsLtD.d.mts} +3 -3
- package/dist/server/{create-CA_sxzMC.d.mts → create-B4njkvTi.d.mts} +3 -3
- package/dist/server/{createId-c4X4-v2p.mjs → createId-KUJA83Uh.mjs} +1 -1
- package/dist/server/{createLoaderFactory-8APBn0kF.d.mts → createLoaderFactory-DPUT78ov.d.mts} +2 -2
- package/dist/server/{cuid-CZ1ceiBl.d.mts → cuid-KsFKSmjL.d.mts} +1 -1
- package/dist/server/{database-Cq3A7DKe.d.mts → database-BqrZSsec.d.mts} +3 -3
- package/dist/server/{defineHandler-9jEh75nw.d.mts → defineHandler-C_CcoLtY.d.mts} +2 -2
- package/dist/server/{defineLoader-PXXl39_4.d.mts → defineLoader-63rL91KJ.d.mts} +1 -1
- package/dist/server/{destroy-BRszXxSa.d.mts → destroy-DgYHooQ1.d.mts} +3 -3
- package/dist/server/{download-z1xMkkBF.d.mts → download-YvIvbq5G.d.mts} +2 -2
- package/dist/server/{drive-BYUfXvqw.d.mts → drive-B7wmLr1R.d.mts} +2 -2
- package/dist/server/{emmitter-DGqucDhf.d.mts → emmitter-BCi_ROhg.d.mts} +2 -2
- package/dist/server/{encrypt-4RgpRIWa.d.mts → encrypt-pOe4R1qi.d.mts} +2 -2
- package/dist/server/entities/AclEntity.d.mts +2 -2
- package/dist/server/entities/AclEntity.mjs +2 -1
- package/dist/server/entities/CookieMapEntity.d.mts +1 -1
- package/dist/server/entities/CookieMapEntity.mjs +2 -1
- package/dist/server/entities/DriveConfigEntity.d.mts +1 -1
- package/dist/server/entities/DriveConfigEntity.mjs +2 -1
- package/dist/server/entities/FileEntity.d.mts +1 -1
- package/dist/server/entities/FileEntity.mjs +2 -1
- package/dist/server/entities/FileMetaEntity.d.mts +1 -1
- package/dist/server/entities/FileMetaEntity.mjs +2 -1
- package/dist/server/entities/MigrationEntity.d.mts +1 -1
- package/dist/server/entities/MigrationEntity.mjs +1 -1
- package/dist/server/entities/ModuleEntity.d.mts +1 -1
- package/dist/server/entities/ModuleEntity.mjs +2 -1
- package/dist/server/entities/PageRequestContextEntity.d.mts +1 -1
- package/dist/server/entities/PageRequestContextEntity.mjs +2 -2
- package/dist/server/entities/PluginEntity.d.mts +1 -1
- package/dist/server/entities/PluginEntity.mjs +2 -2
- package/dist/server/entities/PluginEntryEntity.d.mts +1 -1
- package/dist/server/entities/PluginEntryEntity.mjs +2 -1
- package/dist/server/entities/RouteEntity.d.mts +1 -1
- package/dist/server/entities/RoutineEntity.d.mts +1 -1
- package/dist/server/entities/SeederEntity.d.mts +1 -1
- package/dist/server/entities/SeederEntity.mjs +1 -1
- package/dist/server/{env-CITkhiaX.d.mts → env-D_lNPTFP.d.mts} +2 -2
- package/dist/server/{exists-O3eCoBXI.d.mts → exists-Dta2lhjx.d.mts} +3 -3
- package/dist/server/facades/auth.d.mts +2 -0
- package/dist/server/facades/auth.mjs +2 -0
- package/dist/server/facades/config.d.mts +1 -1
- package/dist/server/facades/config.mjs +1 -1
- package/dist/server/facades/container.d.mts +1 -1
- package/dist/server/facades/container.mjs +1 -1
- package/dist/server/facades/database.d.mts +1 -1
- package/dist/server/facades/download.d.mts +1 -1
- package/dist/server/facades/drive.d.mts +1 -1
- package/dist/server/facades/emmitter.d.mts +1 -1
- package/dist/server/facades/emmitter.mjs +1 -1
- package/dist/server/facades/encrypt.d.mts +1 -1
- package/dist/server/facades/env.d.mts +1 -1
- package/dist/server/facades/env.mjs +1 -1
- package/dist/server/facades/filesRepository.d.mts +1 -1
- package/dist/server/facades/hasher.d.mts +1 -1
- package/dist/server/facades/http.d.mts +1 -1
- package/dist/server/facades/lifecycle.d.mts +1 -1
- package/dist/server/facades/lifecycle.mjs +1 -1
- package/dist/server/facades/logger.d.mts +1 -1
- package/dist/server/facades/logger.mjs +2 -2
- package/dist/server/facades/migrator.d.mts +1 -1
- package/dist/server/facades/permissionAssignmentRepository.d.mts +1 -1
- package/dist/server/facades/permissionRepository.d.mts +1 -1
- package/dist/server/facades/permissionRepository.mjs +2 -2
- package/dist/server/facades/router.d.mts +1 -1
- package/dist/server/facades/router.mjs +1 -1
- package/dist/server/facades/scheduler.d.mts +1 -1
- package/dist/server/facades/shell.d.mts +1 -1
- package/dist/server/facades/shell.mjs +1 -1
- package/dist/server/facades/tokenRepository.d.mts +1 -1
- package/dist/server/facades/tokenRepository.mjs +2 -2
- package/dist/server/facades/translator.d.mts +1 -1
- package/dist/server/facades/translator.mjs +1 -1
- package/dist/server/facades/userRepository.d.mts +1 -1
- package/dist/server/{fileLoader-DxPJmHpf.d.mts → fileLoader-D6wkNp6q.d.mts} +2 -2
- package/dist/server/{fileUrlLoader-DTjBSLug.d.mts → fileUrlLoader-Dtoaj5d0.d.mts} +2 -2
- package/dist/server/{filesRepository-CJiUe_2E.d.mts → filesRepository-pZZWlI9I.d.mts} +2 -2
- package/dist/server/{findOne-BEWFqAa7.d.mts → findOne-48pn7Lft.d.mts} +3 -3
- package/dist/server/{firstOrCreate-BJiIy9ID.d.mts → firstOrCreate-B3m-lKps.d.mts} +3 -3
- package/dist/server/{flatten-DHGvYNde.mjs → flatten-BQL8wp_f.mjs} +1 -1
- package/dist/server/gateways/DatabaseGateway.d.mts +1 -1
- package/dist/server/gateways/DriveBaseGateway.d.mts +1 -1
- package/dist/server/gateways/DriveFSGateway.d.mts +1 -1
- package/dist/server/gateways/DriveFSGateway.mjs +1 -1
- package/dist/server/gateways/DriveS3Gateway.d.mts +1 -1
- package/dist/server/gateways/DriveS3Gateway.mjs +1 -1
- package/dist/server/gateways/GitGateway.d.mts +1 -1
- package/dist/server/gateways/GitGateway.mjs +2 -2
- package/dist/server/{generateIndexFile-DmBqoEZz.d.mts → generateIndexFile-C5QppkFm.d.mts} +1 -1
- package/dist/server/{hasManyThroughLoader-kZ5hlw4v.d.mts → hasManyThroughLoader-xEolQCBD.d.mts} +2 -2
- package/dist/server/{hasManyThroughRelation-DYH0QQNN.d.mts → hasManyThroughRelation-q4K5JfU6.d.mts} +3 -3
- package/dist/server/{hasher-Ces7ODrS.d.mts → hasher-CJlzQIri.d.mts} +2 -2
- package/dist/server/{http-CPAwj-Oj.d.mts → http-DCsQgtYo.d.mts} +2 -2
- package/dist/server/{importAll-uLDTI0rz.d.mts → importAll-MXe1URG0.d.mts} +1 -1
- package/dist/server/{importOne-CNdxVHgo.d.mts → importOne-P3rrXqix.d.mts} +1 -1
- package/dist/server/index.d.mts +130 -128
- package/dist/server/index.mjs +1 -1
- package/dist/server/{lifecycle-Bju5JoON.d.mts → lifecycle-CzgIrz26.d.mts} +2 -2
- package/dist/server/{list-a0nJoNvU.d.mts → list-BzdSvKlZ.d.mts} +3 -3
- package/dist/server/{loadMetas-D4JoZS9s.d.mts → loadMetas-b_6CQ91K.d.mts} +2 -2
- package/dist/server/loaders/belongsToLoader.d.mts +1 -1
- package/dist/server/loaders/fileLoader.d.mts +1 -1
- package/dist/server/loaders/fileLoader.mjs +1 -1
- package/dist/server/loaders/fileUrlLoader.d.mts +1 -1
- package/dist/server/loaders/fileUrlLoader.mjs +1 -1
- package/dist/server/loaders/hasManyThroughLoader.d.mts +1 -1
- package/dist/server/loaders/loadMetas.d.mts +1 -1
- package/dist/server/loaders/loadMetas.mjs +1 -1
- package/dist/server/loaders/permissionLoader.d.mts +1 -1
- package/dist/server/loaders/userLoader.d.mts +1 -1
- package/dist/server/{logger-DqHdxoY6.d.mts → logger-BaBXF0k_.d.mts} +2 -2
- package/dist/server/matchPaths-DGK-Kf1Q.mjs +2 -0
- package/dist/server/middlewares/AuthMiddleware.d.mts +1 -1
- package/dist/server/middlewares/AuthMiddleware.mjs +1 -1
- package/dist/server/middlewares/AuthSilenceMiddleware.d.mts +1 -1
- package/dist/server/middlewares/AuthorizationMiddleware.d.mts +1 -1
- package/dist/server/middlewares/AuthorizationMiddleware.mjs +2 -2
- package/dist/server/{migrator-BPrKsSdf.d.mts → migrator-CZ0EE7pU.d.mts} +2 -2
- package/dist/server/mixins/DatabaseRepositoryInferMixin.d.mts +1 -1
- package/dist/server/mixins/MetadataMixin.d.mts +1 -1
- package/dist/server/mixins/ModelConfigMixin.d.mts +1 -1
- package/dist/server/mixins/ModelConfigMixin.mjs +1 -1
- package/dist/server/mixins/ModelMixin.d.mts +12 -12
- package/dist/server/mixins/ModelMixin.mjs +1 -1
- package/dist/server/mixins/RelationsMixin.d.mts +1 -1
- package/dist/server/{normalizers-ByJRmAYa.mjs → normalizers-CK0XPnh9.mjs} +1 -1
- package/dist/server/{paginate-D1ybToCY.d.mts → paginate-CZkI0_Ph.d.mts} +3 -3
- package/dist/server/{paginate-xPInooKh.mjs → paginate-gGwOR2jo.mjs} +1 -1
- package/dist/server/{permissionAssignmentRepository-l4JUT-dw.d.mts → permissionAssignmentRepository-mDe4bB0q.d.mts} +2 -2
- package/dist/server/{permissionLoader-DT2LrRDC.d.mts → permissionLoader-CDYV9_O7.d.mts} +2 -2
- package/dist/server/{permissionRepository-DnoabpKr.d.mts → permissionRepository-DsCTjpeG.d.mts} +2 -2
- package/dist/server/{printTable-D2fn7NUa.d.mts → printTable-Ce2xsZsL.d.mts} +1 -1
- package/dist/server/queries/common.d.mts +1 -1
- package/dist/server/queries/count.d.mts +1 -1
- package/dist/server/queries/create.d.mts +1 -1
- package/dist/server/queries/create.mjs +1 -1
- package/dist/server/queries/destroy.d.mts +1 -1
- package/dist/server/queries/exists.d.mts +1 -1
- package/dist/server/queries/findOne.d.mts +1 -1
- package/dist/server/queries/findOne.mjs +1 -1
- package/dist/server/queries/firstOrCreate.d.mts +1 -1
- package/dist/server/queries/index.d.mts +13 -13
- package/dist/server/queries/index.mjs +1 -1
- package/dist/server/queries/list.d.mts +1 -1
- package/dist/server/queries/paginate.d.mts +1 -1
- package/dist/server/queries/paginate.mjs +1 -1
- package/dist/server/queries/softDelete.d.mts +1 -1
- package/dist/server/queries/timestamp.d.mts +1 -1
- package/dist/server/queries/update.d.mts +1 -1
- package/dist/server/queries/update.mjs +1 -1
- package/dist/server/queries/updateOrCreate.d.mts +1 -1
- package/dist/server/relations/BaseRelation.d.mts +1 -1
- package/dist/server/relations/BelongsToFileRelation.d.mts +1 -1
- package/dist/server/relations/BelongsToFileRelation.mjs +2 -2
- package/dist/server/relations/BelongsToRelation.d.mts +1 -1
- package/dist/server/relations/BelongsToUserRelation.d.mts +1 -1
- package/dist/server/relations/BelongsToUserRelation.mjs +2 -1
- package/dist/server/relations/HasManyRelation.d.mts +1 -1
- package/dist/server/relations/HasMetasRelation.d.mts +1 -1
- package/dist/server/relations/hasManyThroughRelation.d.mts +1 -1
- package/dist/server/repositories/ConfigRepository.d.mts +1 -1
- package/dist/server/repositories/ConfigRepository.mjs +1 -1
- package/dist/server/repositories/DatabaseRepository.d.mts +1 -1
- package/dist/server/repositories/DatabaseRepository.mjs +2 -2
- package/dist/server/repositories/FileRepository.d.mts +1 -1
- package/dist/server/repositories/GitBranchRepository.d.mts +1 -1
- package/dist/server/repositories/GitBranchRepository.mjs +3 -1
- package/dist/server/repositories/GitCommitRepository.d.mts +1 -1
- package/dist/server/repositories/GitCommitRepository.mjs +2 -1
- package/dist/server/repositories/PermissionAssignmentRepository.d.mts +1 -1
- package/dist/server/repositories/PermissionRepository.d.mts +2 -2
- package/dist/server/repositories/PermissionRepository.mjs +1 -2
- package/dist/server/repositories/PermissionRepository.test-d.mjs +2 -2
- package/dist/server/repositories/TokenRepository.d.mts +1 -1
- package/dist/server/repositories/TokenRepository.mjs +2 -1
- package/dist/server/repositories/UserRepository.d.mts +1 -1
- package/dist/server/repositories/UserRepository.mjs +2 -2
- package/dist/server/{router-CXRSsq_i.d.mts → router-C-M6Nbem.d.mts} +3 -3
- package/dist/server/{scheduler-D_30hE7h.d.mts → scheduler-0zgSuHi8.d.mts} +2 -2
- package/dist/server/services/AuthService.d.mts +2 -0
- package/dist/server/services/AuthService.mjs +2 -0
- package/dist/server/services/CliService.d.mts +1 -1
- package/dist/server/services/CliService.mjs +1 -1
- package/dist/server/services/CliTesterService.d.mts +1 -1
- package/dist/server/services/CliWrapperService.d.mts +1 -1
- package/dist/server/services/CliWrapperService.mjs +1 -1
- package/dist/server/services/ConfigFSService.d.mts +1 -1
- package/dist/server/services/ConfigFSService.mjs +1 -1
- package/dist/server/services/ConfigManagerService.d.mts +1 -1
- package/dist/server/services/ConfigManagerService.mjs +1 -1
- package/dist/server/services/ConfigS3Service.d.mts +1 -1
- package/dist/server/services/ConfigS3Service.mjs +1 -1
- package/dist/server/services/DownloadService.d.mts +1 -1
- package/dist/server/services/DownloadService.mjs +1 -1
- package/dist/server/services/DriveService.d.mts +1 -1
- package/dist/server/services/DriveService.mjs +2 -2
- package/dist/server/services/EmmitterService.d.mts +1 -1
- package/dist/server/services/EmmitterService.mjs +1 -1
- package/dist/server/services/EncryptService.d.mts +1 -1
- package/dist/server/services/EncryptService.mjs +1 -1
- package/dist/server/services/EnvService.d.mts +1 -1
- package/dist/server/services/EnvService.mjs +1 -1
- package/dist/server/services/ExceptionService.d.mts +1 -1
- package/dist/server/services/ExceptionService.mjs +1 -1
- package/dist/server/services/HasherService.d.mts +1 -1
- package/dist/server/services/HttpService.d.mts +1 -1
- package/dist/server/services/HttpService.mjs +2 -2
- package/dist/server/services/LifecycleService.d.mts +1 -1
- package/dist/server/services/LifecycleService.mjs +2 -1
- package/dist/server/services/MetadataQueryService.d.mts +1 -1
- package/dist/server/services/MetadataService.d.mts +1 -1
- package/dist/server/services/MigratorService.d.mts +1 -1
- package/dist/server/services/MigratorService.mjs +1 -1
- package/dist/server/services/PluginIpcClient.d.mts +1 -1
- package/dist/server/services/PluginIpcClient.mjs +1 -1
- package/dist/server/services/PluginIpcHost.d.mts +1 -1
- package/dist/server/services/PluginIpcHost.mjs +1 -1
- package/dist/server/services/PluginRouter.d.mts +1 -1
- package/dist/server/services/RouterFileBaseRoutingService.d.mts +1 -1
- package/dist/server/services/RouterFileBaseRoutingService.mjs +1 -1
- package/dist/server/services/RouterRegisterService.d.mts +1 -1
- package/dist/server/services/RouterRegisterService.mjs +2 -2
- package/dist/server/services/RouterResourceConfigService.d.mts +1 -1
- package/dist/server/services/RouterResourceService.d.mts +1 -1
- package/dist/server/services/RouterResourceService.mjs +1 -1
- package/dist/server/services/RouterService.d.mts +2 -2
- package/dist/server/services/RouterService.mjs +2 -1
- package/dist/server/services/SchedulerService.d.mts +1 -1
- package/dist/server/services/SchedulerService.mjs +1 -1
- package/dist/server/services/SeederService.d.mts +1 -1
- package/dist/server/services/SeederService.mjs +1 -1
- package/dist/server/services/ShellService.d.mts +1 -1
- package/dist/server/services/ShellService.mjs +2 -1
- package/dist/server/{shell-CECiDTOh.d.mts → shell-tnctUynp.d.mts} +2 -2
- package/dist/server/{softDelete-kL3KLbnh.d.mts → softDelete-CDpNnT-v.d.mts} +3 -3
- package/dist/server/{timestamp-wsiGW-0j.d.mts → timestamp-CONRelwb.d.mts} +1 -1
- package/dist/server/{tokenRepository-DY6-MSYv.d.mts → tokenRepository-DNgHmFVJ.d.mts} +2 -2
- package/dist/server/{tokenSchema-CRtEGbUB.d.mts → tokenSchema-CUjPXQhU.d.mts} +1 -1
- package/dist/server/translator-Crnxc_IO.mjs +2 -0
- package/dist/server/{translator-dkMJRVE7.d.mts → translator-Quly_M9k.d.mts} +2 -2
- package/dist/server/{tryCatch-Dz4OvJig.mjs → tryCatch-CeZCOA0-.mjs} +1 -1
- package/dist/server/{update-CpwHBGgu.d.mts → update-BZyYrX6R.d.mts} +3 -3
- package/dist/server/{updateOrCreate-JPKB5oSq.d.mts → updateOrCreate-CQziRAKL.d.mts} +3 -3
- package/dist/server/{userLoader-CEcIGsDi.d.mts → userLoader-BFFWqEUF.d.mts} +2 -2
- package/dist/server/{userRepository-BXmj6p-D.d.mts → userRepository-B9n60RfV.d.mts} +2 -2
- package/dist/server/utils/addSoftDeleteColumn.d.mts +1 -1
- package/dist/server/utils/addTimestampColumns.d.mts +1 -1
- package/dist/server/utils/basePath.d.mts +1 -1
- package/dist/server/utils/config.d.mts +1 -1
- package/dist/server/utils/createLoaderFactory.d.mts +1 -1
- package/dist/server/utils/createLoaderFactory.mjs +1 -1
- package/dist/server/utils/cuid.d.mts +1 -1
- package/dist/server/utils/defineHandler.d.mts +1 -1
- package/dist/server/utils/defineLoader.d.mts +1 -1
- package/dist/server/utils/generateIndexFile.d.mts +1 -1
- package/dist/server/utils/importAll.d.mts +1 -1
- package/dist/server/utils/importAll.mjs +1 -1
- package/dist/server/utils/importOne.d.mts +1 -1
- package/dist/server/utils/printTable.d.mts +1 -1
- package/dist/server/utils-DhBoMMLd.mjs +1 -0
- package/dist/server/{validator-BMGCmL9U.mjs → validator-DHUfe5gf.mjs} +2 -2
- package/dist/shared/ValidatorService-BbgdTYlF.d.mts +1 -1
- package/dist/shared/compose-e5D0sqye.d.mts +1 -1
- package/dist/shared/entities/CookieMapEntity.d.mts +1 -1
- package/dist/shared/entities/FileEntity.d.mts +1 -1
- package/dist/shared/entities/FileMetaEntity.d.mts +1 -1
- package/dist/shared/entities/FileUploadSessionEntity.d.mts +1 -1
- package/dist/shared/entities/RoleEntity.d.mts +1 -1
- package/dist/shared/exceptions/ShellException.d.mts +1 -1
- package/dist/shared/index.d.mts +2 -1
- package/dist/shared/index.mjs +1 -1
- package/dist/shared/mixins/HooksMixin.d.mts +1 -1
- package/dist/shared/mixins/SoftDeleteMixin.d.mts +1 -1
- package/dist/shared/schemas/dashboardMetaSchema.d.mts +25 -25
- package/dist/shared/schemas/dashboardSchema.d.mts +25 -25
- package/dist/shared/schemas/userSchema.d.mts +25 -25
- package/dist/shared/services/EmmitterService.d.mts +1 -1
- package/dist/shared/utils/createId.d.mts +1 -1
- package/dist/shared/utils/definePlugin.d.mts +8 -0
- package/dist/shared/utils/definePlugin.mjs +2 -0
- package/dist/shared/utils/matchPaths.d.mts +1 -1
- package/dist/shared/utils/tryCatch.d.mts +1 -1
- package/package.json +1 -1
- package/src/client/components/ZDialogForm.vue +6 -1
- package/src/client/contracts/events.ts +7 -0
- package/src/client/facades/emmitter.ts +3 -2
- package/src/client/index.ts +0 -1
- package/src/client/services/RouterService.ts +11 -2
- package/src/server/entities/AclEntity.ts +5 -3
- package/src/server/facades/auth.ts +6 -0
- package/src/server/index.ts +4 -0
- package/src/server/repositories/DatabaseRepository.ts +3 -3
- package/src/server/repositories/PermissionRepository.ts +47 -8
- package/src/server/repositories/TokenRepository.ts +40 -0
- package/src/server/repositories/UserRepository.ts +2 -2
- package/src/server/schemas/envSchema.ts +1 -1
- package/src/server/services/AuthService.ts +201 -0
- package/src/server/services/RouterService.ts +24 -0
- package/src/shared/index.ts +1 -0
- package/src/shared/utils/definePlugin.ts +21 -0
- package/dist/client/src/client/utils/autoPages.d.ts +0 -5
- package/dist/components/src/client/utils/autoPages.d.ts +0 -5
- package/dist/server/AclEntity-CWgfTUAY.mjs +0 -2
- package/dist/server/AuthSilenceMiddleware-C0f2BYSp.d.mts +0 -31
- package/dist/server/BelongsToUserRelation-8-li7H2u.mjs +0 -2
- package/dist/server/CookieMapEntity-KhdSUHhb.mjs +0 -2
- package/dist/server/DriveConfigEntity-BTK1AHGA.mjs +0 -2
- package/dist/server/EnvService-DNXPdLnK.mjs +0 -2
- package/dist/server/FileEntity-Dpxa4jdE.mjs +0 -2
- package/dist/server/FileMetaEntity-Okr9s1nu.mjs +0 -2
- package/dist/server/GitBranchRepository-C0VHcpbD.mjs +0 -3
- package/dist/server/GitCommitRepository-BnuZR7xt.mjs +0 -2
- package/dist/server/LifecycleService-5eYElrdc.mjs +0 -2
- package/dist/server/ModuleEntity-Lot--7RL.mjs +0 -2
- package/dist/server/PluginEntryEntity-BrgVZATz.mjs +0 -2
- package/dist/server/RouterService-BS_1MzFI.mjs +0 -2
- package/dist/server/ShellService-BYXgMyxs.mjs +0 -2
- package/dist/server/TokenRepository-C1RqlmxD.mjs +0 -2
- package/dist/server/UserRepository-CMcIWjnN.d.mts +0 -37
- package/dist/server/translator-y0eQdAls.mjs +0 -2
- package/src/client/utils/autoPages.ts +0 -12
- /package/dist/server/{index-Qwqzz3XM.d.mts → index-CliqZ9rj.d.mts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as HasherService } from "./HasherService-
|
|
1
|
+
import { t as HasherService } from "./HasherService-BvtYemFA.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/server/facades/hasher.d.ts
|
|
4
4
|
declare const hasher: HasherService;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { hasher as t };
|
|
7
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzaGVyLUNKbHpRSXJpLmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvZmFjYWRlcy9oYXNoZXIuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgSGFzaGVyU2VydmljZSBmcm9tICcjc2VydmVyL3NlcnZpY2VzL0hhc2hlclNlcnZpY2UudHMnO1xuZGVjbGFyZSBjb25zdCBoYXNoZXI6IEhhc2hlclNlcnZpY2U7XG5leHBvcnQgZGVmYXVsdCBoYXNoZXI7XG4iXSwibWFwcGluZ3MiOiI7OztBQUNBLElBQUEsU0FBYTtDQUFDO09BQVEsQ0FBQSxjQUFhO0NBQUEsQ0FBQSxHQUFBO0NBQUEifQ==
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as HttpService } from "./HttpService-
|
|
1
|
+
import { t as HttpService } from "./HttpService-DnYKVek_.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/server/facades/http.d.ts
|
|
4
4
|
declare const http: HttpService;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { http as t };
|
|
7
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1EQ3NRZ3RZby5kLm10cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VydmVyL2ZhY2FkZXMvaHR0cC5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBIdHRwU2VydmljZSBmcm9tIFwiI3NlcnZlci9zZXJ2aWNlcy9IdHRwU2VydmljZS50c1wiO1xuZGVjbGFyZSBjb25zdCBodHRwOiBIdHRwU2VydmljZTtcbmV4cG9ydCBkZWZhdWx0IGh0dHA7XG4iXSwibWFwcGluZ3MiOiI7OztBQUNBLElBQUEsT0FBUTtDQUFBO09BQVksQ0FBQSxZQUFXO0NBQUEsQ0FBQSxHQUFBO0NBQUEifQ==
|
|
@@ -19,4 +19,4 @@ declare function importGlob(pattern: string, options?: Options): Promise<Record<
|
|
|
19
19
|
declare function importAll(directory: string, options?: Options): Promise<Record<string, any>>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { importFiles as n, importGlob as r, importAll as t };
|
|
22
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1wb3J0QWxsLU1YZTFVUkcwLmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvdXRpbHMvaW1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E7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0NBQUE7QUFDbEIsSUFBVyxjQUFRO0NBQUE7T0FBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0NBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7Q0FBQTtBQUNuQixJQUFJLGFBQWtCO0NBQUc7T0FBRTtFQUFBO0VBQUE7RUFBQTtFQUFBO0NBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7Q0FBQTtBQUMzQixJQUFRLFlBQVU7Q0FBTTtPQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7Q0FBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtDQUFBIn0=
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
declare function importOne(filenames: string[]): Promise<any>;
|
|
3
3
|
//#endregion
|
|
4
4
|
export { importOne as t };
|
|
5
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1wb3J0T25lLVAzcnJYcWl4LmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvdXRpbHMvaW1wb3J0T25lLmQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlY2xhcmUgZnVuY3Rpb24gaW1wb3J0T25lKGZpbGVuYW1lczogc3RyaW5nW10pOiBQcm9taXNlPGFueT47XG4iXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFPLFlBQWdCO0NBQUM7T0FBVSxDQUFBLFFBQVU7Q0FBQyxDQUFBLElBQU0sR0FBRztDQUFDIn0=
|
package/dist/server/index.d.mts
CHANGED
|
@@ -1,129 +1,131 @@
|
|
|
1
|
-
import { i as printTable, n as TableColumn, r as printObject, t as ObjectOptions } from "./printTable-
|
|
2
|
-
import { n as CliEvents, r as CliService, t as CliCommand } from "./CliService-
|
|
3
|
-
import { _ as UserMetaTable, a as FileTable, c as OauthAccountTable, d as PermissionTable, f as RoleTable, g as UploadSessionTable, h as TokenTable, i as FileMetaTable, l as OauthTokenTable, m as TimestampTable, n as EmailTemplateMetaTable, o as JobTable, p as SoftDeleteTable, r as EmailTemplateTable, s as MigrationsTable, t as DatabaseContract, u as PermissionAssignmentTable, v as UserRoleTable, y as UserTable } from "./DatabaseContract-
|
|
4
|
-
import { n as DriveUploadUrlOptions, r as DriveUrlOptions, t as DriveContract } from "./DriveContract-
|
|
5
|
-
import { t as CookieMapEntity } from "./CookieMapEntity-
|
|
6
|
-
import { n as PageRequestContextEntityOptions, t as PageRequestContextEntity } from "./PageRequestContextEntity-
|
|
7
|
-
import { a as Pagination, i as PaginateOptions, n as DeleteManyOptions, r as FindManyOptions, t as DatabaseRepository } from "./DatabaseRepository-
|
|
8
|
-
import { n as UserRepositoryEvents, r as UserRepositoryQueryOptions, t as UserRepository } from "./UserRepository-
|
|
9
|
-
import { n as MigrationEntiyData, t as MigrationEntity } from "./MigrationEntity-
|
|
10
|
-
import { a as MigratorServiceEvents, i as MigratorService, n as Migration, o as MigratorServiceOptions, r as MigrationSource, t as ListFilters } from "./MigratorService-
|
|
11
|
-
import { n as RouterService, t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { n as Request, r as Response, t as HttpContext } from "./HttpContextContract-
|
|
14
|
-
import { a as Redirect, i as MiddlewareHandleResult, n as Handler, r as Middleware, t as HandleResult } from "./RouterContract-
|
|
15
|
-
import { t as Route } from "./RouteEntity-
|
|
16
|
-
import { n as RoutineEntityOptions, r as RoutineHandler, t as RoutineEntity } from "./RoutineEntity-
|
|
17
|
-
import { i as SchedulerServiceOptions, n as SchedulerEvents, r as SchedulerService, t as AddOptions } from "./SchedulerService-
|
|
18
|
-
import { n as SeederEntiyData, t as SeederEntity } from "./SeederEntity-
|
|
19
|
-
import { a as SeederSource, i as SeederServiceOptions, n as SeederEvents, o as SeeederService, r as SeederResult } from "./SeederService-
|
|
20
|
-
import { t as EventContract } from "./EventContract-
|
|
21
|
-
import { t as DatabaseKysely } from "./KyselyContract-
|
|
22
|
-
import { t as DriveConfig } from "./DriveConfigEntity-
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { n as
|
|
26
|
-
import { t as
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { n as
|
|
30
|
-
import { t as
|
|
31
|
-
import { n as
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import { n as
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import { t as
|
|
39
|
-
import { n as
|
|
40
|
-
import { t as
|
|
41
|
-
import {
|
|
42
|
-
import { t as
|
|
43
|
-
import {
|
|
44
|
-
import { t as
|
|
45
|
-
import {
|
|
46
|
-
import { n as
|
|
47
|
-
import {
|
|
48
|
-
import { t as
|
|
49
|
-
import { n as
|
|
50
|
-
import { t as
|
|
51
|
-
import {
|
|
52
|
-
import { n as
|
|
53
|
-
import {
|
|
54
|
-
import { n as
|
|
55
|
-
import { n as
|
|
56
|
-
import { n as
|
|
57
|
-
import { n as
|
|
58
|
-
import { t as
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import { n as
|
|
62
|
-
import { t as
|
|
63
|
-
import {
|
|
64
|
-
import { n as
|
|
65
|
-
import { n as list, t as ListOptions } from "./list-
|
|
66
|
-
import {
|
|
67
|
-
import { n as
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import { n as
|
|
71
|
-
import { n as
|
|
72
|
-
import { n as
|
|
1
|
+
import { i as printTable, n as TableColumn, r as printObject, t as ObjectOptions } from "./printTable-Ce2xsZsL.mjs";
|
|
2
|
+
import { n as CliEvents, r as CliService, t as CliCommand } from "./CliService-DEzEQLNp.mjs";
|
|
3
|
+
import { _ as UserMetaTable, a as FileTable, c as OauthAccountTable, d as PermissionTable, f as RoleTable, g as UploadSessionTable, h as TokenTable, i as FileMetaTable, l as OauthTokenTable, m as TimestampTable, n as EmailTemplateMetaTable, o as JobTable, p as SoftDeleteTable, r as EmailTemplateTable, s as MigrationsTable, t as DatabaseContract, u as PermissionAssignmentTable, v as UserRoleTable, y as UserTable } from "./DatabaseContract-CkQwm56B.mjs";
|
|
4
|
+
import { n as DriveUploadUrlOptions, r as DriveUrlOptions, t as DriveContract } from "./DriveContract-Bg9SvPmD.mjs";
|
|
5
|
+
import { t as CookieMapEntity } from "./CookieMapEntity-UsIoVNri.mjs";
|
|
6
|
+
import { n as PageRequestContextEntityOptions, t as PageRequestContextEntity } from "./PageRequestContextEntity-BAdEJEpj.mjs";
|
|
7
|
+
import { a as Pagination, i as PaginateOptions, n as DeleteManyOptions, r as FindManyOptions, t as DatabaseRepository } from "./DatabaseRepository-BYawHK2G.mjs";
|
|
8
|
+
import { n as UserRepositoryEvents, r as UserRepositoryQueryOptions, t as UserRepository } from "./UserRepository-C3IIkR-h.mjs";
|
|
9
|
+
import { n as MigrationEntiyData, t as MigrationEntity } from "./MigrationEntity-CMy8TTJ1.mjs";
|
|
10
|
+
import { a as MigratorServiceEvents, i as MigratorService, n as Migration, o as MigratorServiceOptions, r as MigrationSource, t as ListFilters } from "./MigratorService-KUY0Osi8.mjs";
|
|
11
|
+
import { n as RouterEvents, r as RouterService, t as FileBaseRoutingOptions } from "./RouterService-tj5tmqMt.mjs";
|
|
12
|
+
import { t as AclEntity } from "./AclEntity-BV_Gy8V3.mjs";
|
|
13
|
+
import { n as Request, r as Response, t as HttpContext } from "./HttpContextContract-BiG2I2mT.mjs";
|
|
14
|
+
import { a as Redirect, i as MiddlewareHandleResult, n as Handler, r as Middleware, t as HandleResult } from "./RouterContract-Bju-hLsm.mjs";
|
|
15
|
+
import { t as Route } from "./RouteEntity-C_vnO708.mjs";
|
|
16
|
+
import { n as RoutineEntityOptions, r as RoutineHandler, t as RoutineEntity } from "./RoutineEntity-CRC4rgmo.mjs";
|
|
17
|
+
import { i as SchedulerServiceOptions, n as SchedulerEvents, r as SchedulerService, t as AddOptions } from "./SchedulerService-C7rx5SK4.mjs";
|
|
18
|
+
import { n as SeederEntiyData, t as SeederEntity } from "./SeederEntity-x32642MQ.mjs";
|
|
19
|
+
import { a as SeederSource, i as SeederServiceOptions, n as SeederEvents, o as SeeederService, r as SeederResult } from "./SeederService-BFdd1cAb.mjs";
|
|
20
|
+
import { t as EventContract } from "./EventContract-MIynyYrK.mjs";
|
|
21
|
+
import { t as DatabaseKysely } from "./KyselyContract-C8oRvArN.mjs";
|
|
22
|
+
import { t as DriveConfig } from "./DriveConfigEntity-CLrBr62T.mjs";
|
|
23
|
+
import { t as HasherService } from "./HasherService-BvtYemFA.mjs";
|
|
24
|
+
import { n as IRepositoryTypes, t as DatabaseRepositoryInferMixin } from "./DatabaseRepositoryInferMixin-DdVIWbGA.mjs";
|
|
25
|
+
import { n as TokenRepositoryGenerateOptions, r as TokenRepositoryQueryOptions, t as TokenRepository } from "./TokenRepository-Mr8yAWM6.mjs";
|
|
26
|
+
import { a as RegisterCredentials, i as LoginCredentials, n as AuthService, r as AuthenticateOptions, t as AuthResult } from "./AuthService-Cc-9vmcF.mjs";
|
|
27
|
+
import { t as ArteTesterService } from "./CliTesterService-CbAd-_U1.mjs";
|
|
28
|
+
import { t as CliWrapperService } from "./CliWrapperService-ZsC1eMjB.mjs";
|
|
29
|
+
import { n as ConfigFSServiceOptions, t as ConfigFSService } from "./ConfigFSService-B7qEaGNz.mjs";
|
|
30
|
+
import { t as EnvService } from "./EnvService-DuQ7K6FN.mjs";
|
|
31
|
+
import { n as ConfigManagerService, t as ConfigManagerOptions } from "./ConfigManagerService-pYYQVI-F.mjs";
|
|
32
|
+
import { n as UploadUrlOptions, r as UrlOptions, t as DriveBaseGateway } from "./DriveBaseGateway-CTiaRLDA.mjs";
|
|
33
|
+
import { n as S3DriveConfig, t as DriveS3 } from "./DriveS3Gateway-D7riz6RF.mjs";
|
|
34
|
+
import { t as ConfigS3Service } from "./ConfigS3Service-C8lDs-Sh.mjs";
|
|
35
|
+
import { n as DownloadedFetchOptions, t as DownloadService } from "./DownloadService-D3W4CjrP.mjs";
|
|
36
|
+
import { t as DriveService } from "./DriveService-D2CUvaJE.mjs";
|
|
37
|
+
import { t as EmmitterService } from "./EmmitterService-BzlHBv6B.mjs";
|
|
38
|
+
import { t as EncryptService } from "./EncryptService-xbNoUGT9.mjs";
|
|
39
|
+
import { n as ExceptionServiceOptions, t as ExceptionService } from "./ExceptionService-C88hn4Ar.mjs";
|
|
40
|
+
import { n as HttpServiceOptions, t as HttpService } from "./HttpService-DnYKVek_.mjs";
|
|
41
|
+
import { t as LifecycleService } from "./LifecycleService-D7txJnZ6.mjs";
|
|
42
|
+
import { n as MetadataQueryPayload, r as MetadataQueryService, t as Metadafilter } from "./MetadataQueryService--Hd8eNlt.mjs";
|
|
43
|
+
import { t as MetadataService } from "./MetadataService-zGP-aruL.mjs";
|
|
44
|
+
import { n as PluginIpcClient, t as IpcMessage } from "./PluginIpcClient-CFdGAToW.mjs";
|
|
45
|
+
import { t as PluginIpcHost } from "./PluginIpcHost-DRIPJiZM.mjs";
|
|
46
|
+
import { a as RouteReply, i as RouteHandler, n as PluginRouter, o as RouteRequest, r as RouteDefinition, s as RouteResponsePayload, t as HttpMethod } from "./PluginRouter-DAm0Ya_q.mjs";
|
|
47
|
+
import { t as RouterFileBaseRoutingService } from "./RouterFileBaseRoutingService-CVTYRedl.mjs";
|
|
48
|
+
import { n as RouterRegisterEntry, t as RouterRegister } from "./RouterRegisterService-CkG5KnGj.mjs";
|
|
49
|
+
import { n as RouterResourceOptions, r as RouterResourceService, t as ResourceMethod } from "./RouterResourceService-CkFRq8fl.mjs";
|
|
50
|
+
import { n as ModelConfig, t as ConfigModel } from "./ModelConfigMixin-Cfy1funR.mjs";
|
|
51
|
+
import { t as RouterResourceConfig } from "./RouterResourceConfigService-DdumyzyX.mjs";
|
|
52
|
+
import { n as ShellServiceOptions, t as ShellService } from "./ShellService-DI15Al_O.mjs";
|
|
53
|
+
import { t as ConfigRepository } from "./ConfigRepository-D22semiw.mjs";
|
|
54
|
+
import { n as FileRepositoryQueryOptions, t as FileRepository } from "./FileRepository-LcUXKAiu.mjs";
|
|
55
|
+
import { n as GitBranchRepositoryOptions, t as GitBranchRepository } from "./GitBranchRepository-0lnyAU7-.mjs";
|
|
56
|
+
import { i as GitCommitRepositoryOptions, n as GitCommitListResult, r as GitCommitRepository, t as GitCommitListOptions } from "./GitCommitRepository-Cy9EafEu.mjs";
|
|
57
|
+
import { n as PermissionAssignmentRepositoryQueryOptions, t as PermissionAssignmentRepository } from "./PermissionAssignmentRepository-DFUKIv23.mjs";
|
|
58
|
+
import { t as PermissionRepository } from "./PermissionRepository-BhyHZK-A.mjs";
|
|
59
|
+
import { t as DatabaseGateway } from "./DatabaseGateway-BRFlO0RJ.mjs";
|
|
60
|
+
import { t as database } from "./database-BqrZSsec.mjs";
|
|
61
|
+
import { a as SelectFrom, c as UpdateFrom, i as SelectBuilder, l as now, n as ExpressionBuilder, o as SerializableResult, r as InsertFrom, s as SerializeOptions, t as DeleteFrom } from "./common-J0aOi3jF.mjs";
|
|
62
|
+
import { n as count, t as CountOptions } from "./count-BWMTsLtD.mjs";
|
|
63
|
+
import { i as createMysql, n as create, r as createDefault, t as CreateOptions } from "./create-B4njkvTi.mjs";
|
|
64
|
+
import { n as destroy, t as DestroyOptions } from "./destroy-DgYHooQ1.mjs";
|
|
65
|
+
import { n as list, t as ListOptions } from "./list-BzdSvKlZ.mjs";
|
|
66
|
+
import { t as exists } from "./exists-Dta2lhjx.mjs";
|
|
67
|
+
import { n as findOne, r as findOneOrFail, t as FindOneOptions } from "./findOne-48pn7Lft.mjs";
|
|
68
|
+
import { n as firstOrCreate, t as FirstOrCreateOptions } from "./firstOrCreate-B3m-lKps.mjs";
|
|
69
|
+
import { n as PaginateResult, r as paginate } from "./paginate-CZkI0_Ph.mjs";
|
|
70
|
+
import { a as softDelete, i as deleted, n as SoftDeleteResult, o as undeleted, r as addSoftDeleteColumn, s as whereNotDeleted, t as SoftDeleteOptions } from "./softDelete-CDpNnT-v.mjs";
|
|
71
|
+
import { n as addTimestampColumns, r as addUpdatedColumn, t as addCreatedColumn } from "./timestamp-CONRelwb.mjs";
|
|
72
|
+
import { i as updateMysql, n as update, r as updateDefault, t as UpdateOptions } from "./update-BZyYrX6R.mjs";
|
|
73
|
+
import { n as updateOrCreate, t as UpdateOrCreateOptions } from "./updateOrCreate-CQziRAKL.mjs";
|
|
74
|
+
import { n as DriveFSConfig, t as DriveFS } from "./DriveFSGateway-BBlvxIPJ.mjs";
|
|
75
|
+
import { i as GitRepoInfo, n as GitGatewayCloneOptions, r as GitGatewayOptions, t as GitGateway } from "./GitGateway-NWvd6wpG.mjs";
|
|
76
|
+
import { n as valueToString, t as Metadata } from "./MetadataMixin-CtI9cepx.mjs";
|
|
73
77
|
import ModelMixin, { ModelCountOptions, ModelCreateOptions, ModelDestroyOptions, ModelEntity, ModelFindOptions, ModelFirstOrCreateOptions, ModelListOptions, ModelPaginateOptions, ModelUpdateOptions, ModelUpdateOrCreateOptions } from "./mixins/ModelMixin.mjs";
|
|
74
|
-
import { t as Relation } from "./RelationsMixin-
|
|
75
|
-
import { t as
|
|
76
|
-
import { t as
|
|
77
|
-
import { t as
|
|
78
|
-
import { t as
|
|
79
|
-
import { t as
|
|
80
|
-
import { t as
|
|
81
|
-
import { t as
|
|
82
|
-
import { t as
|
|
83
|
-
import { t as
|
|
84
|
-
import { t as
|
|
85
|
-
import { t as
|
|
86
|
-
import { t as
|
|
87
|
-
import { t as
|
|
88
|
-
import { t as
|
|
89
|
-
import { t as
|
|
90
|
-
import { t as
|
|
91
|
-
import { t as
|
|
92
|
-
import { t as
|
|
93
|
-
import { t as
|
|
94
|
-
import {
|
|
95
|
-
import { t as
|
|
96
|
-
import {
|
|
97
|
-
import { n as
|
|
98
|
-
import { t as
|
|
99
|
-
import {
|
|
100
|
-
import { n as
|
|
101
|
-
import { n as
|
|
102
|
-
import { n as
|
|
103
|
-
import { n as
|
|
104
|
-
import { n as
|
|
105
|
-
import { t as
|
|
106
|
-
import { t as
|
|
107
|
-
import { t as
|
|
108
|
-
import { t as
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import { t as
|
|
112
|
-
import { t as
|
|
113
|
-
import {
|
|
114
|
-
import { t as
|
|
115
|
-
import { t as
|
|
116
|
-
import { t as
|
|
117
|
-
import { t as
|
|
118
|
-
import { n as
|
|
119
|
-
import { n as
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import { t as
|
|
123
|
-
import {
|
|
124
|
-
import { t as
|
|
125
|
-
import { n as
|
|
126
|
-
import { t as
|
|
127
|
-
|
|
128
|
-
import { t as importOne } from "./importOne-CNdxVHgo.mjs";
|
|
129
|
-
export { $d, $dt, $t, Acl as AclEntity, AddOptions, AuthMiddleware, AuthMiddlewareContext, AuthSilenceMiddleware, AuthSilenceMiddlewareContext, AuthorizationContext, AuthorizationMiddleware, AuthorizePermission, AuthorizePermissionPayload, BaseRelation, BelongsToFile as BelongsToFileRelation, BelongsTo as BelongsToRelation, BelongsToUser as BelongsToUserRelation, CliCommand, CliEvents, CliService, ArteTesterService as CliTesterService, CliWrapperService, ConfigFSService, ConfigFSServiceOptions, ConfigManagerOptions, ConfigManagerService, ConfigModel, ConfigRepository, ConfigS3Service, CookieMapEntity, CountOptions, CreateOptions, DatabaseContract, DatabaseGateway, DatabaseKysely, DatabaseRepository, DatabaseRepositoryInferMixin, DeleteFrom, DeleteManyOptions, DestroyOptions, DownloadService, DownloadedFetchOptions, DriveBaseGateway, DriveConfig as DriveConfigEntity, DriveContract, DriveFSConfig, DriveFS as DriveFSGateway, DriveS3 as DriveS3Gateway, DriveService, DriveUploadUrlOptions, DriveUrlOptions, EmailTemplateMetaTable, EmailTemplateTable, EmmitterService, EncryptService, EnvService, EventContract, ExceptionService, ExceptionServiceOptions, ExpressionBuilder, File as FileEntity, FileMeta as FileMetaEntity, FileMetaTable, FileRepository, FileRepositoryQueryOptions, FileTable, FindManyOptions, FindOneOptions, FirstOrCreateOptions, GitBranchRepository, GitBranchRepositoryOptions, GitCommitListOptions, GitCommitListResult, GitCommitRepository, GitCommitRepositoryOptions, GitGateway, GitGatewayCloneOptions, GitGatewayOptions, GitRepoInfo, HandleResult, HasMany as HasManyRelation, HasManyThroughLoaderOptions, HasMetas as HasMetasRelation, HasherService, HttpContext, HttpMethod, HttpService, HttpServiceOptions, IRepositoryTypes, InsertFrom, IpcMessage, JobTable, LifecycleService, ListOptions, LoadFileMetas, LoadFileUrl, Loader, LoaderRecord, Metadafilter, Metadata as MetadataMixin, MetadataQueryPayload, MetadataQueryService, MetadataService, Middleware, MiddlewareHandleResult, Migration, MigrationEntity, MigrationEntiyData, MigrationSource, MigrationsTable, MigratorService, MigratorServiceEvents, MigratorServiceOptions, ModelConfig as ModelConfigMixin, ModelCountOptions, ModelCreateOptions, ModelDestroyOptions, ModelEntity, ModelFindOptions, ModelFirstOrCreateOptions, ModelListOptions, ModelMixin, ModelPaginateOptions, ModelUpdateOptions, ModelUpdateOrCreateOptions, Module as ModuleEntity, OauthAccountTable, OauthTokenTable, ObjectOptions, PageRequestContextEntity, PageRequestContextEntityOptions, PaginateResult, Pagination, PermissionAssignmentRepository, PermissionAssignmentRepositoryQueryOptions, PermissionAssignmentTable, PermissionRepository, PermissionRepositoryQueryOptions, PermissionTable, PluginEntity, PluginEntryEntity, PluginIpcClient, PluginIpcHost, PluginRouter, Redirect, Relation as RelationsMixin, Request, ResourceMethod, Response, RoleTable, RouteDefinition, Route as RouteEntity, RouteHandler, RouteReply, RouteRequest, RouteResponsePayload, RouterEvents, RouterFileBaseRoutingService, RouterRegisterEntry, RouterRegister as RouterRegisterService, RouterResourceConfig as RouterResourceConfigService, RouterResourceOptions, RouterResourceService, RouterService, RoutineEntity, RoutineEntityOptions, RoutineHandler, S3DriveConfig, SchedulerEvents, SchedulerService, SchedulerServiceOptions, SeederEntity, SeederEntiyData, SeederEvents, SeederResult, SeeederService as SeederService, SeederServiceOptions, SeederSource, SelectBuilder, SelectFrom, SerializableResult, SerializeOptions, ShellService, ShellServiceOptions, SoftDeleteOptions, SoftDeleteResult, TableColumn, TokenRepository, TokenRepositoryGenerateOptions, TokenRepositoryQueryOptions, TokenTable, UpdateFrom, UpdateOptions, UpdateOrCreateOptions, UploadSessionTable, UploadUrlOptions, UrlOptions, UserMetaTable, UserRepository, UserRepositoryEvents, UserRepositoryQueryOptions, UserRoleTable, UserTable, addCreatedColumn, addSoftDeleteColumn, addTimestampColumns, addUpdatedColumn, basePath, clientPath, config, _default as container, count, create, createBelongsToLoader, createDefault, createFileLoader, createFileUrlLoader, createHasManyThroughLoader, createLoaderFactory, createMetasLoader, createMysql, createPermissionLoader, createUserLoader, cuid, dataPath, database, defineHandler, defineLoader, deleted, destroy, download, drive, emmitter, encrypt, env, exists, fileRepository as filesRepository, findOne, findOneOrFail, firstOrCreate, generateIndexFile, getPluginConfig, HasManyThrough as hasManyThroughRelation, hasher, http, importAll, importFiles, importGlob, importOne, lifecycle, list, loadBelongsTo, loadFileUrl, loadHasManyThrough, loadMetas, loadPermissions, loadUser, logger, migrator, now, paginate, permissionAssignmentRepository, permissionRepository, printObject, printTable, relativeToBasePath, router, scheduler, serverPath, shell, softDelete, storagePath, tmpPath, tokenRepository, translator, undeleted, update, updateDefault, updateMysql, updateOrCreate, userRepository, valueToString, whereNotDeleted };
|
|
78
|
+
import { t as Relation } from "./RelationsMixin-sglFqlms.mjs";
|
|
79
|
+
import { t as auth } from "./auth-sE4ooGXz.mjs";
|
|
80
|
+
import { t as config } from "./config-DWlk8Ag4.mjs";
|
|
81
|
+
import { t as _default } from "./container-Dc7YvYnk.mjs";
|
|
82
|
+
import { t as download } from "./download-YvIvbq5G.mjs";
|
|
83
|
+
import { t as drive } from "./drive-B7wmLr1R.mjs";
|
|
84
|
+
import { t as emmitter } from "./emmitter-BCi_ROhg.mjs";
|
|
85
|
+
import { t as encrypt } from "./encrypt-pOe4R1qi.mjs";
|
|
86
|
+
import { t as env } from "./env-D_lNPTFP.mjs";
|
|
87
|
+
import { t as fileRepository } from "./filesRepository-pZZWlI9I.mjs";
|
|
88
|
+
import { t as hasher } from "./hasher-CJlzQIri.mjs";
|
|
89
|
+
import { t as http } from "./http-DCsQgtYo.mjs";
|
|
90
|
+
import { t as lifecycle } from "./lifecycle-CzgIrz26.mjs";
|
|
91
|
+
import { t as logger } from "./logger-BaBXF0k_.mjs";
|
|
92
|
+
import { t as migrator } from "./migrator-CZ0EE7pU.mjs";
|
|
93
|
+
import { t as permissionAssignmentRepository } from "./permissionAssignmentRepository-mDe4bB0q.mjs";
|
|
94
|
+
import { t as permissionRepository } from "./permissionRepository-DsCTjpeG.mjs";
|
|
95
|
+
import { t as router } from "./router-C-M6Nbem.mjs";
|
|
96
|
+
import { t as scheduler } from "./scheduler-0zgSuHi8.mjs";
|
|
97
|
+
import { t as shell } from "./shell-tnctUynp.mjs";
|
|
98
|
+
import { t as tokenRepository } from "./tokenRepository-DNgHmFVJ.mjs";
|
|
99
|
+
import { i as translator, n as $dt, r as $t, t as $d } from "./translator-Quly_M9k.mjs";
|
|
100
|
+
import { t as userRepository } from "./userRepository-B9n60RfV.mjs";
|
|
101
|
+
import { n as LoaderRecord, r as defineLoader, t as Loader } from "./defineLoader-63rL91KJ.mjs";
|
|
102
|
+
import { n as loadBelongsTo, t as createBelongsToLoader } from "./belongsToLoader-B4HDS8Pe.mjs";
|
|
103
|
+
import { t as createFileLoader } from "./fileLoader-D6wkNp6q.mjs";
|
|
104
|
+
import { n as loadFileUrl, t as createFileUrlLoader } from "./fileUrlLoader-Dtoaj5d0.mjs";
|
|
105
|
+
import { n as createHasManyThroughLoader, r as loadHasManyThrough, t as HasManyThroughLoaderOptions } from "./hasManyThroughLoader-xEolQCBD.mjs";
|
|
106
|
+
import { n as loadMetas, t as createMetasLoader } from "./loadMetas-b_6CQ91K.mjs";
|
|
107
|
+
import { n as loadPermissions, t as createPermissionLoader } from "./permissionLoader-CDYV9_O7.mjs";
|
|
108
|
+
import { n as loadUser, t as createUserLoader } from "./userLoader-BFFWqEUF.mjs";
|
|
109
|
+
import { n as FileMeta, t as File } from "./FileEntity-Digyfg-C.mjs";
|
|
110
|
+
import { t as Module } from "./ModuleEntity-D6wGxNwd.mjs";
|
|
111
|
+
import { t as PluginEntryEntity } from "./PluginEntryEntity-DlPLorqO.mjs";
|
|
112
|
+
import { t as PluginEntity } from "./PluginEntity-BNxu5LOk.mjs";
|
|
113
|
+
import { t as BaseRelation } from "./BaseRelation-exvk0rap.mjs";
|
|
114
|
+
import { t as BelongsTo } from "./BelongsToRelation-ZdiJDWbX.mjs";
|
|
115
|
+
import { n as LoadFileMetas, r as LoadFileUrl, t as BelongsToFile } from "./BelongsToFileRelation-C2guKtUl.mjs";
|
|
116
|
+
import { t as BelongsToUser } from "./BelongsToUserRelation-DZ0P0GMV.mjs";
|
|
117
|
+
import { t as HasMany } from "./HasManyRelation-d7tYeD9t.mjs";
|
|
118
|
+
import { t as HasMetas } from "./HasMetasRelation-CRhqKMwM.mjs";
|
|
119
|
+
import { t as HasManyThrough } from "./hasManyThroughRelation-q4K5JfU6.mjs";
|
|
120
|
+
import { n as AuthMiddlewareContext, t as AuthMiddleware } from "./AuthMiddleware-BG4LOM8l.mjs";
|
|
121
|
+
import { n as AuthSilenceMiddlewareContext, t as AuthSilenceMiddleware } from "./AuthSilenceMiddleware-DjuTsPUk.mjs";
|
|
122
|
+
import { i as AuthorizePermissionPayload, n as AuthorizationMiddleware, r as AuthorizePermission, t as AuthorizationContext } from "./AuthorizationMiddleware-CdqP4E0e.mjs";
|
|
123
|
+
import { a as serverPath, i as relativeToBasePath, n as clientPath, o as storagePath, r as dataPath, s as tmpPath, t as basePath } from "./basePath-uAW0Wf7d.mjs";
|
|
124
|
+
import { t as getPluginConfig } from "./config-DXuzzZRI.mjs";
|
|
125
|
+
import { t as createLoaderFactory } from "./createLoaderFactory-DPUT78ov.mjs";
|
|
126
|
+
import { t as cuid } from "./cuid-KsFKSmjL.mjs";
|
|
127
|
+
import { n as defineHandler } from "./defineHandler-C_CcoLtY.mjs";
|
|
128
|
+
import { t as generateIndexFile } from "./generateIndexFile-C5QppkFm.mjs";
|
|
129
|
+
import { n as importFiles, r as importGlob, t as importAll } from "./importAll-MXe1URG0.mjs";
|
|
130
|
+
import { t as importOne } from "./importOne-P3rrXqix.mjs";
|
|
131
|
+
export { $d, $dt, $t, AclEntity, AddOptions, AuthMiddleware, AuthMiddlewareContext, AuthResult, AuthService, AuthSilenceMiddleware, AuthSilenceMiddlewareContext, AuthenticateOptions, AuthorizationContext, AuthorizationMiddleware, AuthorizePermission, AuthorizePermissionPayload, BaseRelation, BelongsToFile as BelongsToFileRelation, BelongsTo as BelongsToRelation, BelongsToUser as BelongsToUserRelation, CliCommand, CliEvents, CliService, ArteTesterService as CliTesterService, CliWrapperService, ConfigFSService, ConfigFSServiceOptions, ConfigManagerOptions, ConfigManagerService, ConfigModel, ConfigRepository, ConfigS3Service, CookieMapEntity, CountOptions, CreateOptions, DatabaseContract, DatabaseGateway, DatabaseKysely, DatabaseRepository, DatabaseRepositoryInferMixin, DeleteFrom, DeleteManyOptions, DestroyOptions, DownloadService, DownloadedFetchOptions, DriveBaseGateway, DriveConfig as DriveConfigEntity, DriveContract, DriveFSConfig, DriveFS as DriveFSGateway, DriveS3 as DriveS3Gateway, DriveService, DriveUploadUrlOptions, DriveUrlOptions, EmailTemplateMetaTable, EmailTemplateTable, EmmitterService, EncryptService, EnvService, EventContract, ExceptionService, ExceptionServiceOptions, ExpressionBuilder, FileBaseRoutingOptions, File as FileEntity, FileMeta as FileMetaEntity, FileMetaTable, FileRepository, FileRepositoryQueryOptions, FileTable, FindManyOptions, FindOneOptions, FirstOrCreateOptions, GitBranchRepository, GitBranchRepositoryOptions, GitCommitListOptions, GitCommitListResult, GitCommitRepository, GitCommitRepositoryOptions, GitGateway, GitGatewayCloneOptions, GitGatewayOptions, GitRepoInfo, HandleResult, HasMany as HasManyRelation, HasManyThroughLoaderOptions, HasMetas as HasMetasRelation, HasherService, HttpContext, HttpMethod, HttpService, HttpServiceOptions, IRepositoryTypes, InsertFrom, IpcMessage, JobTable, LifecycleService, ListOptions, LoadFileMetas, LoadFileUrl, Loader, LoaderRecord, LoginCredentials, Metadafilter, Metadata as MetadataMixin, MetadataQueryPayload, MetadataQueryService, MetadataService, Middleware, MiddlewareHandleResult, Migration, MigrationEntity, MigrationEntiyData, MigrationSource, MigrationsTable, MigratorService, MigratorServiceEvents, MigratorServiceOptions, ModelConfig as ModelConfigMixin, ModelCountOptions, ModelCreateOptions, ModelDestroyOptions, ModelEntity, ModelFindOptions, ModelFirstOrCreateOptions, ModelListOptions, ModelMixin, ModelPaginateOptions, ModelUpdateOptions, ModelUpdateOrCreateOptions, Module as ModuleEntity, OauthAccountTable, OauthTokenTable, ObjectOptions, PageRequestContextEntity, PageRequestContextEntityOptions, PaginateResult, Pagination, PermissionAssignmentRepository, PermissionAssignmentRepositoryQueryOptions, PermissionAssignmentTable, PermissionRepository, PermissionTable, PluginEntity, PluginEntryEntity, PluginIpcClient, PluginIpcHost, PluginRouter, Redirect, RegisterCredentials, Relation as RelationsMixin, Request, ResourceMethod, Response, RoleTable, RouteDefinition, Route as RouteEntity, RouteHandler, RouteReply, RouteRequest, RouteResponsePayload, RouterEvents, RouterFileBaseRoutingService, RouterRegisterEntry, RouterRegister as RouterRegisterService, RouterResourceConfig as RouterResourceConfigService, RouterResourceOptions, RouterResourceService, RouterService, RoutineEntity, RoutineEntityOptions, RoutineHandler, S3DriveConfig, SchedulerEvents, SchedulerService, SchedulerServiceOptions, SeederEntity, SeederEntiyData, SeederEvents, SeederResult, SeeederService as SeederService, SeederServiceOptions, SeederSource, SelectBuilder, SelectFrom, SerializableResult, SerializeOptions, ShellService, ShellServiceOptions, SoftDeleteOptions, SoftDeleteResult, TableColumn, TokenRepository, TokenRepositoryGenerateOptions, TokenRepositoryQueryOptions, TokenTable, UpdateFrom, UpdateOptions, UpdateOrCreateOptions, UploadSessionTable, UploadUrlOptions, UrlOptions, UserMetaTable, UserRepository, UserRepositoryEvents, UserRepositoryQueryOptions, UserRoleTable, UserTable, addCreatedColumn, addSoftDeleteColumn, addTimestampColumns, addUpdatedColumn, auth, basePath, clientPath, config, _default as container, count, create, createBelongsToLoader, createDefault, createFileLoader, createFileUrlLoader, createHasManyThroughLoader, createLoaderFactory, createMetasLoader, createMysql, createPermissionLoader, createUserLoader, cuid, dataPath, database, defineHandler, defineLoader, deleted, destroy, download, drive, emmitter, encrypt, env, exists, fileRepository as filesRepository, findOne, findOneOrFail, firstOrCreate, generateIndexFile, getPluginConfig, HasManyThrough as hasManyThroughRelation, hasher, http, importAll, importFiles, importGlob, importOne, lifecycle, list, loadBelongsTo, loadFileUrl, loadHasManyThrough, loadMetas, loadPermissions, loadUser, logger, migrator, now, paginate, permissionAssignmentRepository, permissionRepository, printObject, printTable, relativeToBasePath, router, scheduler, serverPath, shell, softDelete, storagePath, tmpPath, tokenRepository, translator, undeleted, update, updateDefault, updateMysql, updateOrCreate, userRepository, valueToString, whereNotDeleted };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{printObject as e,printTable as t}from"./utils/printTable.mjs";import n from"./facades/container.mjs";import r from"./facades/logger.mjs";import{importAll as i,importFiles as a,importGlob as o}from"./utils/importAll.mjs";import s,{CliCommand as c}from"./services/CliService.mjs";import l from"./services/CliTesterService.mjs";import u from"./services/CliWrapperService.mjs";import{basePath as d,clientPath as f,dataPath as p,relativeToBasePath as m,serverPath as h,storagePath as g,tmpPath as _}from"./utils/basePath.mjs";import v from"./services/ConfigFSService.mjs";import y from"./services/ConfigManagerService.mjs";import b from"./gateways/DriveBaseGateway.mjs";import x from"./gateways/DriveS3Gateway.mjs";import S from"./services/ConfigS3Service.mjs";import C from"./services/DownloadService.mjs";import w from"./facades/config.mjs";import T from"./mixins/ModelConfigMixin.mjs";import{t as E}from"./DriveConfigEntity-BTK1AHGA.mjs";import{t as D}from"./EnvService-DNXPdLnK.mjs";import O from"./services/EncryptService.mjs";import k from"./facades/encrypt.mjs";import A from"./gateways/DriveFSGateway.mjs";import j from"./services/DriveService.mjs";import M from"./services/EmmitterService.mjs";import N from"./services/ExceptionService.mjs";import P from"./services/HasherService.mjs";import F from"./entities/RouteEntity.mjs";import{t as I}from"./RouterService-BS_1MzFI.mjs";import{t as L}from"./CookieMapEntity-KhdSUHhb.mjs";import R from"./services/HttpService.mjs";import{t as z}from"./LifecycleService-5eYElrdc.mjs";import B from"./services/MetadataQueryService.mjs";import V from"./gateways/DatabaseGateway.mjs";import H from"./facades/database.mjs";import U from"./services/MetadataService.mjs";import W from"./entities/MigrationEntity.mjs";import G from"./services/MigratorService.mjs";import{PluginIpcClient as K}from"./services/PluginIpcClient.mjs";import{PluginIpcHost as q}from"./services/PluginIpcHost.mjs";import{PluginRouter as J}from"./services/PluginRouter.mjs";import Y from"./services/RouterFileBaseRoutingService.mjs";import X from"./services/RouterRegisterService.mjs";import Z from"./services/RouterResourceService.mjs";import Q from"./services/RouterResourceConfigService.mjs";import $ from"./entities/RoutineEntity.mjs";import ee from"./services/SchedulerService.mjs";import te from"./entities/SeederEntity.mjs";import ne from"./services/SeederService.mjs";import{t as re}from"./ShellService-BYXgMyxs.mjs";import ie from"./repositories/ConfigRepository.mjs";import{now as ae}from"./queries/common.mjs";import{count as oe}from"./queries/count.mjs";import{create as se,createDefault as ce,createMysql as le}from"./queries/create.mjs";import{destroy as ue}from"./queries/destroy.mjs";import{list as de}from"./queries/list.mjs";import{exists as fe}from"./queries/exists.mjs";import{findOne as pe,findOneOrFail as me}from"./queries/findOne.mjs";import{firstOrCreate as he}from"./queries/firstOrCreate.mjs";import{t as ge}from"./paginate-xPInooKh.mjs";import{addSoftDeleteColumn as _e,deleted as ve,softDelete as ye,undeleted as be,whereNotDeleted as xe}from"./queries/softDelete.mjs";import{addCreatedColumn as Se,addTimestampColumns as Ce,addUpdatedColumn as we}from"./queries/timestamp.mjs";import{update as Te,updateDefault as Ee,updateMysql as De}from"./queries/update.mjs";import{updateOrCreate as Oe}from"./queries/updateOrCreate.mjs";import"./queries/index.mjs";import ke from"./repositories/DatabaseRepository.mjs";import Ae from"./repositories/FileRepository.mjs";import{t as je}from"./GitBranchRepository-C0VHcpbD.mjs";import{t as Me}from"./GitCommitRepository-BnuZR7xt.mjs";import Ne from"./repositories/PermissionAssignmentRepository.mjs";import Pe from"./repositories/PermissionRepository.mjs";import Fe from"./mixins/DatabaseRepositoryInferMixin.mjs";import{t as Ie}from"./TokenRepository-C1RqlmxD.mjs";import Le from"./facades/emmitter.mjs";import Re from"./facades/hasher.mjs";import ze from"./repositories/UserRepository.mjs";import{GitGateway as Be}from"./gateways/GitGateway.mjs";import Ve,{valueToString as He}from"./mixins/MetadataMixin.mjs";import Ue from"./mixins/ModelMixin.mjs";import We from"./mixins/RelationsMixin.mjs";import Ge from"./facades/download.mjs";import Ke from"./facades/drive.mjs";import qe from"./facades/env.mjs";import Je from"./facades/filesRepository.mjs";import Ye from"./facades/http.mjs";import Xe from"./facades/lifecycle.mjs";import Ze from"./facades/migrator.mjs";import Qe from"./facades/permissionAssignmentRepository.mjs";import $e from"./facades/permissionRepository.mjs";import et from"./facades/router.mjs";import tt from"./facades/scheduler.mjs";import nt from"./facades/shell.mjs";import rt from"./facades/tokenRepository.mjs";import{i as it,n as at,r as ot,t as st}from"./translator-y0eQdAls.mjs";import ct from"./facades/userRepository.mjs";import"./contracts/DatabaseContract.mjs";import"./contracts/DriveContract.mjs";import"./contracts/EventContract.mjs";import"./contracts/HttpContextContract.mjs";import"./contracts/KyselyContract.mjs";import"./contracts/RouterContract.mjs";import{defineLoader as lt}from"./utils/defineLoader.mjs";import{createBelongsToLoader as ut,loadBelongsTo as dt}from"./loaders/belongsToLoader.mjs";import{t as ft}from"./FileMetaEntity-Okr9s1nu.mjs";import{t as pt}from"./FileEntity-Dpxa4jdE.mjs";import mt from"./relations/HasMetasRelation.mjs";import{createFileLoader as ht}from"./loaders/fileLoader.mjs";import{createFileUrlLoader as gt,loadFileUrl as _t}from"./loaders/fileUrlLoader.mjs";import{createHasManyThroughLoader as vt,loadHasManyThrough as yt}from"./loaders/hasManyThroughLoader.mjs";import{createMetasLoader as bt,loadMetas as xt}from"./loaders/loadMetas.mjs";import{createPermissionLoader as St,loadPermissions as Ct}from"./loaders/permissionLoader.mjs";import{createUserLoader as wt,loadUser as Tt}from"./loaders/userLoader.mjs";import{t as Et}from"./AclEntity-CWgfTUAY.mjs";import{t as Dt}from"./ModuleEntity-Lot--7RL.mjs";import Ot from"./entities/PageRequestContextEntity.mjs";import{t as kt}from"./PluginEntryEntity-BrgVZATz.mjs";import At from"./entities/PluginEntity.mjs";import jt from"./relations/BaseRelation.mjs";import Mt from"./relations/BelongsToRelation.mjs";import Nt,{LoadFileMetas as Pt,LoadFileUrl as Ft}from"./relations/BelongsToFileRelation.mjs";import{t as It}from"./BelongsToUserRelation-8-li7H2u.mjs";import Lt from"./relations/HasManyRelation.mjs";import Rt from"./relations/hasManyThroughRelation.mjs";import zt from"./middlewares/AuthMiddleware.mjs";import Bt from"./middlewares/AuthSilenceMiddleware.mjs";import Vt,{AuthorizePermission as Ht}from"./middlewares/AuthorizationMiddleware.mjs";import"./utils/addIdColumn.mjs";import"./utils/addSoftDeleteColumn.mjs";import"./utils/addTimestampColumns.mjs";import{getPluginConfig as Ut}from"./utils/config.mjs";import{createLoaderFactory as Wt}from"./utils/createLoaderFactory.mjs";import{cuid as Gt}from"./utils/cuid.mjs";import{defineHandler as Kt}from"./utils/defineHandler.mjs";import{generateIndexFile as qt}from"./utils/generateIndexFile.mjs";import{importOne as Jt}from"./utils/importOne.mjs";export{st as $d,at as $dt,ot as $t,Et as AclEntity,zt as AuthMiddleware,Bt as AuthSilenceMiddleware,Vt as AuthorizationMiddleware,Ht as AuthorizePermission,jt as BaseRelation,Nt as BelongsToFileRelation,Mt as BelongsToRelation,It as BelongsToUserRelation,c as CliCommand,s as CliService,l as CliTesterService,u as CliWrapperService,v as ConfigFSService,y as ConfigManagerService,ie as ConfigRepository,S as ConfigS3Service,L as CookieMapEntity,V as DatabaseGateway,ke as DatabaseRepository,Fe as DatabaseRepositoryInferMixin,C as DownloadService,b as DriveBaseGateway,E as DriveConfigEntity,A as DriveFSGateway,x as DriveS3Gateway,j as DriveService,M as EmmitterService,O as EncryptService,D as EnvService,N as ExceptionService,pt as FileEntity,ft as FileMetaEntity,Ae as FileRepository,je as GitBranchRepository,Me as GitCommitRepository,Be as GitGateway,Lt as HasManyRelation,mt as HasMetasRelation,P as HasherService,R as HttpService,z as LifecycleService,Pt as LoadFileMetas,Ft as LoadFileUrl,Ve as MetadataMixin,B as MetadataQueryService,U as MetadataService,W as MigrationEntity,G as MigratorService,T as ModelConfigMixin,Ue as ModelMixin,Dt as ModuleEntity,Ot as PageRequestContextEntity,Ne as PermissionAssignmentRepository,Pe as PermissionRepository,At as PluginEntity,kt as PluginEntryEntity,K as PluginIpcClient,q as PluginIpcHost,J as PluginRouter,We as RelationsMixin,F as RouteEntity,Y as RouterFileBaseRoutingService,X as RouterRegisterService,Q as RouterResourceConfigService,Z as RouterResourceService,I as RouterService,$ as RoutineEntity,ee as SchedulerService,te as SeederEntity,ne as SeederService,re as ShellService,Ie as TokenRepository,ze as UserRepository,Se as addCreatedColumn,_e as addSoftDeleteColumn,Ce as addTimestampColumns,we as addUpdatedColumn,d as basePath,f as clientPath,w as config,n as container,oe as count,se as create,ut as createBelongsToLoader,ce as createDefault,ht as createFileLoader,gt as createFileUrlLoader,vt as createHasManyThroughLoader,Wt as createLoaderFactory,bt as createMetasLoader,le as createMysql,St as createPermissionLoader,wt as createUserLoader,Gt as cuid,p as dataPath,H as database,Kt as defineHandler,lt as defineLoader,ve as deleted,ue as destroy,Ge as download,Ke as drive,Le as emmitter,k as encrypt,qe as env,fe as exists,Je as filesRepository,pe as findOne,me as findOneOrFail,he as firstOrCreate,qt as generateIndexFile,Ut as getPluginConfig,Rt as hasManyThroughRelation,Re as hasher,Ye as http,i as importAll,a as importFiles,o as importGlob,Jt as importOne,Xe as lifecycle,de as list,dt as loadBelongsTo,_t as loadFileUrl,yt as loadHasManyThrough,xt as loadMetas,Ct as loadPermissions,Tt as loadUser,r as logger,Ze as migrator,ae as now,ge as paginate,Qe as permissionAssignmentRepository,$e as permissionRepository,e as printObject,t as printTable,m as relativeToBasePath,et as router,tt as scheduler,h as serverPath,nt as shell,ye as softDelete,g as storagePath,_ as tmpPath,rt as tokenRepository,it as translator,be as undeleted,Te as update,Ee as updateDefault,De as updateMysql,Oe as updateOrCreate,ct as userRepository,He as valueToString,xe as whereNotDeleted};
|
|
1
|
+
import e from"./facades/container.mjs";import t from"./gateways/DatabaseGateway.mjs";import n from"./facades/database.mjs";import{now as r}from"./queries/common.mjs";import{addSoftDeleteColumn as i,deleted as a,softDelete as o,undeleted as s,whereNotDeleted as c}from"./queries/softDelete.mjs";import l from"./services/AuthService.mjs";import{printObject as u,printTable as d}from"./utils/printTable.mjs";import f from"./facades/logger.mjs";import{importAll as p,importFiles as m,importGlob as h}from"./utils/importAll.mjs";import g,{CliCommand as _}from"./services/CliService.mjs";import v from"./services/CliTesterService.mjs";import y from"./services/CliWrapperService.mjs";import{basePath as b,clientPath as x,dataPath as S,relativeToBasePath as C,serverPath as w,storagePath as T,tmpPath as E}from"./utils/basePath.mjs";import D from"./services/ConfigFSService.mjs";import O from"./services/ConfigManagerService.mjs";import k from"./gateways/DriveBaseGateway.mjs";import A from"./gateways/DriveS3Gateway.mjs";import j from"./services/ConfigS3Service.mjs";import M from"./services/DownloadService.mjs";import N from"./facades/config.mjs";import P from"./mixins/ModelConfigMixin.mjs";import F from"./entities/DriveConfigEntity.mjs";import{t as I}from"./EnvService-D6_02gUh.mjs";import L from"./services/EncryptService.mjs";import R from"./facades/encrypt.mjs";import z from"./gateways/DriveFSGateway.mjs";import B from"./services/DriveService.mjs";import V from"./services/EmmitterService.mjs";import H from"./services/ExceptionService.mjs";import U from"./services/HasherService.mjs";import W from"./entities/RouteEntity.mjs";import G from"./services/RouterFileBaseRoutingService.mjs";import K from"./services/RouterService.mjs";import q from"./entities/CookieMapEntity.mjs";import J from"./services/HttpService.mjs";import Y from"./services/LifecycleService.mjs";import X from"./services/MetadataQueryService.mjs";import Z from"./services/MetadataService.mjs";import Q from"./entities/MigrationEntity.mjs";import $ from"./services/MigratorService.mjs";import{PluginIpcClient as ee}from"./services/PluginIpcClient.mjs";import{PluginIpcHost as te}from"./services/PluginIpcHost.mjs";import{PluginRouter as ne}from"./services/PluginRouter.mjs";import re from"./services/RouterRegisterService.mjs";import ie from"./services/RouterResourceService.mjs";import ae from"./services/RouterResourceConfigService.mjs";import oe from"./entities/RoutineEntity.mjs";import se from"./services/SchedulerService.mjs";import ce from"./entities/SeederEntity.mjs";import le from"./services/SeederService.mjs";import ue from"./services/ShellService.mjs";import de from"./repositories/ConfigRepository.mjs";import{count as fe}from"./queries/count.mjs";import{create as pe,createDefault as me,createMysql as he}from"./queries/create.mjs";import{destroy as ge}from"./queries/destroy.mjs";import{list as _e}from"./queries/list.mjs";import{exists as ve}from"./queries/exists.mjs";import{findOne as ye,findOneOrFail as be}from"./queries/findOne.mjs";import{firstOrCreate as xe}from"./queries/firstOrCreate.mjs";import{t as Se}from"./paginate-gGwOR2jo.mjs";import{addCreatedColumn as Ce,addTimestampColumns as we,addUpdatedColumn as Te}from"./queries/timestamp.mjs";import{update as Ee,updateDefault as De,updateMysql as Oe}from"./queries/update.mjs";import{updateOrCreate as ke}from"./queries/updateOrCreate.mjs";import"./queries/index.mjs";import Ae from"./repositories/DatabaseRepository.mjs";import je from"./repositories/FileRepository.mjs";import Me from"./repositories/GitBranchRepository.mjs";import Ne from"./repositories/GitCommitRepository.mjs";import Pe from"./repositories/PermissionAssignmentRepository.mjs";import{t as Fe}from"./PermissionRepository-CDv8g8T-.mjs";import Ie from"./mixins/DatabaseRepositoryInferMixin.mjs";import Le from"./repositories/TokenRepository.mjs";import Re from"./facades/emmitter.mjs";import ze from"./facades/hasher.mjs";import Be from"./repositories/UserRepository.mjs";import{GitGateway as Ve}from"./gateways/GitGateway.mjs";import He,{valueToString as Ue}from"./mixins/MetadataMixin.mjs";import We from"./mixins/ModelMixin.mjs";import Ge from"./mixins/RelationsMixin.mjs";import Ke from"./facades/auth.mjs";import qe from"./facades/download.mjs";import Je from"./facades/drive.mjs";import Ye from"./facades/env.mjs";import Xe from"./facades/filesRepository.mjs";import Ze from"./facades/http.mjs";import Qe from"./facades/lifecycle.mjs";import $e from"./facades/migrator.mjs";import et from"./facades/permissionAssignmentRepository.mjs";import tt from"./facades/permissionRepository.mjs";import nt from"./facades/router.mjs";import rt from"./facades/scheduler.mjs";import it from"./facades/shell.mjs";import at from"./facades/tokenRepository.mjs";import{i as ot,n as st,r as ct,t as lt}from"./translator-Crnxc_IO.mjs";import ut from"./facades/userRepository.mjs";import"./contracts/DatabaseContract.mjs";import"./contracts/DriveContract.mjs";import"./contracts/EventContract.mjs";import"./contracts/HttpContextContract.mjs";import"./contracts/KyselyContract.mjs";import"./contracts/RouterContract.mjs";import{defineLoader as dt}from"./utils/defineLoader.mjs";import{createBelongsToLoader as ft,loadBelongsTo as pt}from"./loaders/belongsToLoader.mjs";import mt from"./entities/FileMetaEntity.mjs";import ht from"./relations/HasMetasRelation.mjs";import gt from"./entities/FileEntity.mjs";import{createFileLoader as _t}from"./loaders/fileLoader.mjs";import{createFileUrlLoader as vt,loadFileUrl as yt}from"./loaders/fileUrlLoader.mjs";import{createHasManyThroughLoader as bt,loadHasManyThrough as xt}from"./loaders/hasManyThroughLoader.mjs";import{createMetasLoader as St,loadMetas as Ct}from"./loaders/loadMetas.mjs";import{createPermissionLoader as wt,loadPermissions as Tt}from"./loaders/permissionLoader.mjs";import{createUserLoader as Et,loadUser as Dt}from"./loaders/userLoader.mjs";import Ot from"./entities/AclEntity.mjs";import kt from"./entities/ModuleEntity.mjs";import At from"./entities/PageRequestContextEntity.mjs";import jt from"./entities/PluginEntryEntity.mjs";import Mt from"./entities/PluginEntity.mjs";import Nt from"./relations/BaseRelation.mjs";import Pt from"./relations/BelongsToRelation.mjs";import Ft,{LoadFileMetas as It,LoadFileUrl as Lt}from"./relations/BelongsToFileRelation.mjs";import Rt from"./relations/BelongsToUserRelation.mjs";import zt from"./relations/HasManyRelation.mjs";import Bt from"./relations/hasManyThroughRelation.mjs";import Vt from"./middlewares/AuthMiddleware.mjs";import Ht from"./middlewares/AuthSilenceMiddleware.mjs";import Ut,{AuthorizePermission as Wt}from"./middlewares/AuthorizationMiddleware.mjs";import"./utils/addIdColumn.mjs";import"./utils/addSoftDeleteColumn.mjs";import"./utils/addTimestampColumns.mjs";import{getPluginConfig as Gt}from"./utils/config.mjs";import{createLoaderFactory as Kt}from"./utils/createLoaderFactory.mjs";import{cuid as qt}from"./utils/cuid.mjs";import{defineHandler as Jt}from"./utils/defineHandler.mjs";import{generateIndexFile as Yt}from"./utils/generateIndexFile.mjs";import{importOne as Xt}from"./utils/importOne.mjs";export{lt as $d,st as $dt,ct as $t,Ot as AclEntity,Vt as AuthMiddleware,l as AuthService,Ht as AuthSilenceMiddleware,Ut as AuthorizationMiddleware,Wt as AuthorizePermission,Nt as BaseRelation,Ft as BelongsToFileRelation,Pt as BelongsToRelation,Rt as BelongsToUserRelation,_ as CliCommand,g as CliService,v as CliTesterService,y as CliWrapperService,D as ConfigFSService,O as ConfigManagerService,de as ConfigRepository,j as ConfigS3Service,q as CookieMapEntity,t as DatabaseGateway,Ae as DatabaseRepository,Ie as DatabaseRepositoryInferMixin,M as DownloadService,k as DriveBaseGateway,F as DriveConfigEntity,z as DriveFSGateway,A as DriveS3Gateway,B as DriveService,V as EmmitterService,L as EncryptService,I as EnvService,H as ExceptionService,gt as FileEntity,mt as FileMetaEntity,je as FileRepository,Me as GitBranchRepository,Ne as GitCommitRepository,Ve as GitGateway,zt as HasManyRelation,ht as HasMetasRelation,U as HasherService,J as HttpService,Y as LifecycleService,It as LoadFileMetas,Lt as LoadFileUrl,He as MetadataMixin,X as MetadataQueryService,Z as MetadataService,Q as MigrationEntity,$ as MigratorService,P as ModelConfigMixin,We as ModelMixin,kt as ModuleEntity,At as PageRequestContextEntity,Pe as PermissionAssignmentRepository,Fe as PermissionRepository,Mt as PluginEntity,jt as PluginEntryEntity,ee as PluginIpcClient,te as PluginIpcHost,ne as PluginRouter,Ge as RelationsMixin,W as RouteEntity,G as RouterFileBaseRoutingService,re as RouterRegisterService,ae as RouterResourceConfigService,ie as RouterResourceService,K as RouterService,oe as RoutineEntity,se as SchedulerService,ce as SeederEntity,le as SeederService,ue as ShellService,Le as TokenRepository,Be as UserRepository,Ce as addCreatedColumn,i as addSoftDeleteColumn,we as addTimestampColumns,Te as addUpdatedColumn,Ke as auth,b as basePath,x as clientPath,N as config,e as container,fe as count,pe as create,ft as createBelongsToLoader,me as createDefault,_t as createFileLoader,vt as createFileUrlLoader,bt as createHasManyThroughLoader,Kt as createLoaderFactory,St as createMetasLoader,he as createMysql,wt as createPermissionLoader,Et as createUserLoader,qt as cuid,S as dataPath,n as database,Jt as defineHandler,dt as defineLoader,a as deleted,ge as destroy,qe as download,Je as drive,Re as emmitter,R as encrypt,Ye as env,ve as exists,Xe as filesRepository,ye as findOne,be as findOneOrFail,xe as firstOrCreate,Yt as generateIndexFile,Gt as getPluginConfig,Bt as hasManyThroughRelation,ze as hasher,Ze as http,p as importAll,m as importFiles,h as importGlob,Xt as importOne,Qe as lifecycle,_e as list,pt as loadBelongsTo,yt as loadFileUrl,xt as loadHasManyThrough,Ct as loadMetas,Tt as loadPermissions,Dt as loadUser,f as logger,$e as migrator,r as now,Se as paginate,et as permissionAssignmentRepository,tt as permissionRepository,u as printObject,d as printTable,C as relativeToBasePath,nt as router,rt as scheduler,w as serverPath,it as shell,o as softDelete,T as storagePath,E as tmpPath,at as tokenRepository,ot as translator,s as undeleted,Ee as update,De as updateDefault,Oe as updateMysql,ke as updateOrCreate,ut as userRepository,Ue as valueToString,c as whereNotDeleted};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as LifecycleService } from "./LifecycleService-
|
|
1
|
+
import { t as LifecycleService } from "./LifecycleService-D7txJnZ6.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/server/facades/lifecycle.d.ts
|
|
4
4
|
declare const lifecycle: LifecycleService;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { lifecycle as t };
|
|
7
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlmZWN5Y2xlLUN6Z0lyejI2LmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvZmFjYWRlcy9saWZlY3ljbGUuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgTGlmZWN5Y2xlU2VydmljZSBmcm9tICcjc2VydmVyL3NlcnZpY2VzL0xpZmVjeWNsZVNlcnZpY2UudHMnO1xuZGVjbGFyZSBjb25zdCBsaWZlY3ljbGU6IExpZmVjeWNsZVNlcnZpY2U7XG5leHBvcnQgZGVmYXVsdCBsaWZlY3ljbGU7XG4iXSwibWFwcGluZ3MiOiI7OztBQUNBLElBQUEsWUFBYztDQUFBO09BQVcsQ0FBQSxpQkFBZ0I7Q0FBQSxDQUFBLEdBQUE7Q0FBQSJ9
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DatabaseContract } from "./DatabaseContract-
|
|
2
|
-
import { a as SelectFrom, o as SerializableResult, s as SerializeOptions } from "./common-
|
|
1
|
+
import { t as DatabaseContract } from "./DatabaseContract-CkQwm56B.mjs";
|
|
2
|
+
import { a as SelectFrom, o as SerializableResult, s as SerializeOptions } from "./common-J0aOi3jF.mjs";
|
|
3
3
|
import { ExpressionBuilder, ExpressionWrapper } from "kysely";
|
|
4
4
|
|
|
5
5
|
//#region src/server/queries/list.d.ts
|
|
@@ -13,4 +13,4 @@ interface ListOptions<T extends keyof DatabaseContract> extends SerializeOptions
|
|
|
13
13
|
declare function list<T extends keyof DatabaseContract, O extends ListOptions<T>>(table: T, options?: O): Promise<SerializableResult<T, O>[]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { list as n, ListOptions as t };
|
|
16
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
16
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1CemRTdktsWi5kLm10cyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi9zcmMvc2VydmVyL3F1ZXJpZXMvbGlzdC5kLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgRXhwcmVzc2lvbkJ1aWxkZXIsIEV4cHJlc3Npb25XcmFwcGVyIH0gZnJvbSAna3lzZWx5JztcbmltcG9ydCB0eXBlIHsgU2VsZWN0RnJvbSwgU2VyaWFsaXplT3B0aW9ucywgU2VyaWFsaXphYmxlUmVzdWx0IH0gZnJvbSAnLi9jb21tb24udHMnO1xuaW1wb3J0IHR5cGUgeyBEYXRhYmFzZUNvbnRyYWN0IGFzIERhdGFiYXNlIH0gZnJvbSAnI3NlcnZlci9jb250cmFjdHMvRGF0YWJhc2VDb250cmFjdC50cyc7XG5leHBvcnQgaW50ZXJmYWNlIExpc3RPcHRpb25zPFQgZXh0ZW5kcyBrZXlvZiBEYXRhYmFzZT4gZXh0ZW5kcyBTZXJpYWxpemVPcHRpb25zPFQ+IHtcbiAgICBsaW1pdD86IG51bWJlcjtcbiAgICBvZmZzZXQ/OiBudW1iZXI7XG4gICAgZGVidWc/OiBib29sZWFuO1xuICAgIHdoZXJlPzogKHFiOiBFeHByZXNzaW9uQnVpbGRlcjxEYXRhYmF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@ -15,4 +15,4 @@ declare function loadMetas<T extends Record<string, any>>(payload: T | T[], opti
|
|
|
15
15
|
declare function createMetasLoader<T extends Record<string, any>>(options: LoadMetasOptions): Loader<T>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { loadMetas as n, createMetasLoader as t };
|
|
18
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZE1ldGFzLWJfNkNROTFLLmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvbG9hZGVycy9sb2FkTWV0YXMuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbnRlcmZhY2UgUmVwb3NpdG9yeU1ldGEge1xuICAgIG5hbWU6IHN0cmluZztcbiAgICB2YWx1ZTogYW55O1xufVxuaW50ZXJmYWNlIExvYWRNZXRhc09wdGlvbnMge1xuICAgIGZpbmRNYW55KGlkczogYW55W10pOiBQcm9taXNlPFJlcG9zaXRvcnlNZXRhW10+O1xuICAgIGVudGl0eUlkS2V5Pzogc3RyaW5nO1xuICAgIGZvcmVpZ25LZXk/OiBzdHJpbmc7XG4gICAgdGFyZ2V0S2V5Pzogc3RyaW5nO1xufVxuZXhwb3J0IGRlY2xhcmUgZnVuY3Rpb24gbG9hZE1ldGFzPFQgZXh0ZW5kcyBSZWNvcmQ8c3RyaW5nLCBhbnk+PihwYXlsb2FkOiBUIHwgVFtdLCBvcHRpb25zOiBMb2FkTWV0YXNPcHRpb25zKTogUHJvbWlzZTx2b2lkPjtcbmV4cG9ydCBkZWNsYXJlIGZ1bmN0aW9uIGNyZWF0ZU1ldGFzTG9hZGVyPFQgZXh0ZW5kcyBSZWNvcmQ8c3RyaW5nLCBhbnk+PihvcHRpb25zOiBMb2FkTWV0YXNPcHRpb25zKTogaW1wb3J0KFwiI3NlcnZlci91dGlscy9kZWZpbmVMb2FkZXIudHNcIikuTG9hZGVyPFQ+O1xuZXhwb3J0IHt9O1xuIl0sIm1hcHBpbmdzIjoiOzs7QUFDQSxJQUFJLGlCQUFZO0NBQUE7T0FBQSxFQUFBO0NBQUEsQ0FBQSxJQUFBLEdBQUE7Q0FBQTtBQUNoQixJQUFJLG1CQUFVO0NBQUE7T0FBQSxDQUFBLGdCQUFBLFFBQUE7Q0FBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7Q0FBQTtBQUNkLElBQUEsWUFBQTtDQUFBO0VBQUEsTUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtDQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0NBQUE7QUFDQSxJQUFVLG9CQUFpQjtDQUFBO0VBQUEsTUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7Q0FBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0VBQUE7RUFBQTtFQUFBO0NBQUEifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadBelongsTo, t as createBelongsToLoader } from "../belongsToLoader-
|
|
1
|
+
import { n as loadBelongsTo, t as createBelongsToLoader } from "../belongsToLoader-B4HDS8Pe.mjs";
|
|
2
2
|
export { createBelongsToLoader, loadBelongsTo };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createFileLoader } from "../fileLoader-
|
|
1
|
+
import { t as createFileLoader } from "../fileLoader-D6wkNp6q.mjs";
|
|
2
2
|
export { createFileLoader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineLoader as e}from"../utils/defineLoader.mjs";import
|
|
1
|
+
import{defineLoader as e}from"../utils/defineLoader.mjs";import t from"../entities/FileEntity.mjs";import{set as n}from"lodash-es";function r(r){return e({async load(e){let{fileIdProperty:i,fileProperty:a}=r,o=e.map(e=>e[i]).filter(Boolean);if(!o.length)return;let s=await t.list({where:e=>e(`id`,`in`,o)});for(let t of e){let e=s.find(e=>e.id===t[i]);e&&n(t,a,e)}}})}export{r as createFileLoader};
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZUxvYWRlci5tanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3NlcnZlci9sb2FkZXJzL2ZpbGVMb2FkZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc2V0IH0gZnJvbSAnbG9kYXNoLWVzJ1xuaW1wb3J0IHsgZGVmaW5lTG9hZGVyIH0gZnJvbSAnI3NlcnZlci91dGlscy9kZWZpbmVMb2FkZXIudHMnXG5pbXBvcnQgRmlsZSBmcm9tICcjc2VydmVyL2VudGl0aWVzL0ZpbGVFbnRpdHkudHMnXG5cbmludGVyZmFjZSBGaWxlTG9hZGVyT3B0aW9ucyB7XG4gICAgZmlsZUlkUHJvcGVydHk6IHN0cmluZ1xuICAgIGZpbGVQcm9wZXJ0eTogc3RyaW5nXG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVGaWxlTG9hZGVyPFQgZXh0ZW5kcyBSZWNvcmQ8c3RyaW5nLCBhbnk+PihvcHRpb25zOiBGaWxlTG9hZGVyT3B0aW9ucykge1xuICAgIHJldHVybiBkZWZpbmVMb2FkZXI8VD4oe1xuXG4gICAgICAgIGFzeW5jIGxvYWQoZW50aXRpZXM6IFRbXSkge1xuICAgICAgICAgICAgY29uc3QgeyBmaWxlSWRQcm9wZXJ0eSwgZmlsZVByb3BlcnR5IH0gPSBvcHRpb25zIFxuXG4gICAgICAgICAgICBjb25zdCBmaWxlSWRzID0gZW50aXRpZXMubWFwKGUgPT4gZVtmaWxlSWRQcm9wZXJ0eV0gYXMgbnVtYmVyKS5maWx0ZXIoQm9vbGVhbilcblxuICAgICAgICAgICAgaWYgKCFmaWxlS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loadFileUrl, t as createFileUrlLoader } from "../fileUrlLoader-
|
|
1
|
+
import { n as loadFileUrl, t as createFileUrlLoader } from "../fileUrlLoader-Dtoaj5d0.mjs";
|
|
2
2
|
export { createFileUrlLoader, loadFileUrl };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineLoader as e}from"../utils/defineLoader.mjs";import
|
|
1
|
+
import{defineLoader as e}from"../utils/defineLoader.mjs";import t from"../entities/FileEntity.mjs";import{set as n}from"lodash-es";async function r(e,r){let i=r?.fileIdProperty||`file_id`,a=r?.fileUrlProperty||`url`,o=e.map(e=>e[i]).filter(Boolean);if(!o.length)return;let s=await t.list({where:e=>e(`id`,`in`,o)});await Promise.all(s.map(async e=>e.loadUrl()));for(let t of e){let e=s.find(e=>e.id===t[i]);e&&n(t,a,e.url)}}function i(t){return e({load:e=>r(e,t)})}export{i as createFileUrlLoader,r as loadFileUrl};
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZVVybExvYWRlci5tanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3NlcnZlci9sb2FkZXJzL2ZpbGVVcmxMb2FkZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc2V0IH0gZnJvbSAnbG9kYXNoLWVzJ1xuaW1wb3J0IHsgZGVmaW5lTG9hZGVyIH0gZnJvbSAnI3NlcnZlci91dGlscy9kZWZpbmVMb2FkZXIudHMnXG5pbXBvcnQgRmlsZSBmcm9tICcjc2VydmVyL2VudGl0aWVzL0ZpbGVFbnRpdHkudHMnXG5cbmludGVyZmFjZSBGaWxlTG9hZGVyT3B0aW9ucyB7XG4gICAgZmlsZUlkUHJvcGVydHk/OiBzdHJpbmdcbiAgICBmaWxlVXJsUHJvcGVydHk/OiBzdHJpbmdcbn1cblxuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGxvYWRGaWxlVXJs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bmVMb2FkZXI8VD4oe1xuICAgICAgICBsb2FkOiAoZW50aXRpZXMpID0+IGxvYWRGaWxlVXJsKGVudGl0aWVzLCBvcHRpb25zKSxcbiAgICB9KVxufVxuIl0sIm1hcHBpbmdzIjoibUlBU0EsZUFBc0IsRUFBMkMsRUFBZSxFQUE2QixDQUN6RyxJQUFNLEVBQWlCLEdBQVMsZ0JBQWtCLFVBQzVDLEVBQWtCLEdBQVMsaUJBQW1CLE1BQzlDLEVBQVUsRUFBUyxJQUFJLEdBQUssRUFBRSxHQUEwQixDQUFDLE9BQU8sUUFBUSxDQUU5RSxHQUFJLENBQUMsRUFBUSxPQUNULE9BR0osSUFBTSxFQUFRLE1BQU0sRUFBSyxLQUFLLENBQUUsTUFBUSxHQUFPLEVBQUcsS0FBTSxLQUFNLEVBQVEsQ0FBRSxDQUFDLENBRXpFLE1BQU0sUUFBUSxJQUFJLEVBQU0sSUFBSSxLQUFPLElBQVMsRUFBSyxTQUFTLENBQUMsQ0FBQyxDQUU1RCxJQUFLLElBQU0sS0FBVSxFQUFVLENBQzNCLElBQU0sRUFBTyxFQUFNLEtBQUssR0FBSyxFQUFFLEtBQU8sRUFBTyxHQUFnQixDQUV6RCxHQUNBLEVBQUksRUFBUSxFQUFpQixFQUFLLElBQUksRUFLbEQsU0FBZ0IsRUFBbUQsRUFBNkIsQ0FDNUYsT0FBTyxFQUFnQixDQUNuQixLQUFPLEdBQWEsRUFBWSxFQUFVLEVBQVEsQ0FDckQsQ0FBQyJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createHasManyThroughLoader, r as loadHasManyThrough, t as HasManyThroughLoaderOptions } from "../hasManyThroughLoader-
|
|
1
|
+
import { n as createHasManyThroughLoader, r as loadHasManyThrough, t as HasManyThroughLoaderOptions } from "../hasManyThroughLoader-xEolQCBD.mjs";
|
|
2
2
|
export { HasManyThroughLoaderOptions, createHasManyThroughLoader, loadHasManyThrough };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadMetas, t as createMetasLoader } from "../loadMetas-
|
|
1
|
+
import { n as loadMetas, t as createMetasLoader } from "../loadMetas-b_6CQ91K.mjs";
|
|
2
2
|
export { createMetasLoader, loadMetas };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as e}from"../flatten-
|
|
1
|
+
import{n as e}from"../flatten-BQL8wp_f.mjs";import{defineLoader as t}from"../utils/defineLoader.mjs";import{get as n,set as r}from"lodash-es";async function i(t,i){let a=i?.entityIdKey||`id`,o=i?.foreignKey||`id`,s=i?.targetKey||`metas`,c=i.findMany,l=Array.isArray(t)?t:[t],u=new Set;l.forEach(e=>u.add(n(e,a)));let d=await c(Array.from(u.values()));for(let t of l){let i=n(t,a),c=d.filter(e=>n(e,o)===i),l=Object.fromEntries(c.map(e=>[e.name,e.value]));Object.keys(l).forEach(e=>{let t=l[e];t&&t.startsWith(`number:`)&&(l[e]=Number(t.slice(7)))}),l=e(l),r(t,s,l)}}function a(e){return t({load:t=>i(t,e)})}export{a as createMetasLoader,i as loadMetas};
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZE1ldGFzLm1qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2VydmVyL2xvYWRlcnMvbG9hZE1ldGFzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHNldCwgZ2V0IH0gZnJvbSAnbG9kYXNoLWVzJ1xuaW1wb3J0IHsgdW5mbGF0dGVuIH0gZnJvbSAnI3NoYXJlZC91dGlscy9mbGF0dGVuLnRzJ1xuaW1wb3J0IHsgZGVmaW5lTG9hZGVyIH0gZnJvbSAnI3NlcnZlci91dGlscy9kZWZpbmVMb2FkZXIudHMnXG5cbmludGVyZmFjZSBSZXBvc2l0b3J5TWV0YSB7XG4gICAgbmFtZTogc3RyaW5nXG4gICAgdmFsdWU6IGFueVxufVxuXG5pbnR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BYSxHQUFTLFlBQWMsS0FDcEMsRUFBWSxHQUFTLFdBQWEsUUFDbEMsRUFBVyxFQUFRLFNBRW5CLEVBQVcsTUFBTSxRQUFRLEVBQVEsQ0FBRyxFQUFVLENBQUMsRUFBUSxDQUN2RCxFQUFTLElBQUksSUFFbkIsRUFBUyxRQUFRLEdBQVUsRUFBTyxJQUFJLEVBQUksRUFBUSxFQUFZLENBQUMsQ0FBQyxDQUVoRSxJQUFNLEVBQVEsTUFBTSxFQUFTLE1BQU0sS0FBSyxFQUFPLFFBQVEsQ0FBQyxDQUFDLENBRXpELElBQUssSUFBTSxLQUFVLEVBQVUsQ0FDM0IsSUFBTSxFQUFXLEVBQUksRUFBUSxFQUFZLENBRW5DLEVBQWMsRUFBTSxPQUFPLEdBQVEsRUFBSSxFQUFNLEVBQVcsR0FBSyxFQUFTLENBRXhFLEVBQVMsT0FBTyxZQUFZLEVBQVksSUFBSSxHQUFRLENBQUMsRUFBSyxLQUFNLEVBQUssTUFBTSxDQUFDLENBQUMsQ0FFakYsT0FBTyxLQUFLLEVBQU8sQ0FBQyxRQUFRLEdBQU8sQ0FDL0IsSUFBTSxFQUFRLEVBQU8sR0FFaEIsR0FJRCxFQUFNLFdBQVcsVUFBVSxHQUMzQixFQUFPLEdBQU8sT0FBTyxFQUFNLE1BQU0sRUFBRSxDQUFDLEdBRTFDLENBRUYsRUFBUyxFQUFVLEVBQU8sQ0FFMUIsRUFBSSxFQUFRLEVBQVcsRUFBTyxFQUl0QyxTQUFnQixFQUFpRCxFQUEyQixDQUN4RixPQUFPLEVBQWdCLENBQUUsS0FBTyxHQUFhLEVBQVUsRUFBVSxFQUFRLENBQUcsQ0FBQyJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadPermissions, t as createPermissionLoader } from "../permissionLoader-
|
|
1
|
+
import { n as loadPermissions, t as createPermissionLoader } from "../permissionLoader-CDYV9_O7.mjs";
|
|
2
2
|
export { createPermissionLoader, loadPermissions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as loadUser, t as createUserLoader } from "../userLoader-
|
|
1
|
+
import { n as loadUser, t as createUserLoader } from "../userLoader-BFFWqEUF.mjs";
|
|
2
2
|
export { createUserLoader, loadUser };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as LoggerService } from "./LoggerService-
|
|
1
|
+
import { t as LoggerService } from "./LoggerService-DMUjB626.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/server/facades/logger.d.ts
|
|
4
4
|
declare const logger: LoggerService;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { logger as t };
|
|
7
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nZ2VyLUJhQlhGMGtfLmQubXRzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zZXJ2ZXIvZmFjYWRlcy9sb2dnZXIuZC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgTG9nZ2VyU2VydmljZSBmcm9tICcjc2hhcmVkL3NlcnZpY2VzL0xvZ2dlclNlcnZpY2UudHMnO1xuZGVjbGFyZSBjb25zdCBsb2dnZXI6IExvZ2dlclNlcnZpY2U7XG5leHBvcnQgZGVmYXVsdCBsb2dnZXI7XG4iXSwibWFwcGluZ3MiOiI7OztBQUNBLElBQUEsU0FBYTtDQUFDO09BQVEsQ0FBQSxjQUFhO0NBQUEsQ0FBQSxHQUFBO0NBQUEifQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function e(e,t){let n=e.split(`/`).filter(Boolean),r=t.split(`/`).filter(Boolean);for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if(t===`*`)return!0;if(e>=r.length||!t.startsWith(`:`)&&t!==i)return!1}return!(r.length>n.length)}export{e as t};
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,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YSxXQUFXLElBQUksRUFLNUIsSUFBaUIsRUFDakIsTUFBTyxHQVNmLE1BSkEsRUFBSSxFQUFhLE9BQVMsRUFBZ0IifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AuthMiddlewareContext, t as AuthMiddleware } from "../AuthMiddleware-
|
|
1
|
+
import { n as AuthMiddlewareContext, t as AuthMiddleware } from "../AuthMiddleware-BG4LOM8l.mjs";
|
|
2
2
|
export { AuthMiddlewareContext, AuthMiddleware as default };
|