@carlonicora/nestjs-neo4jsonapi 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +675 -0
- package/README.md +1139 -0
- package/dist/agents/agents.modules.d.ts +8 -0
- package/dist/agents/agents.modules.d.ts.map +1 -0
- package/dist/agents/agents.modules.js +29 -0
- package/dist/agents/agents.modules.js.map +1 -0
- package/dist/agents/contextualiser/contexts/citations.context.d.ts +13 -0
- package/dist/agents/contextualiser/contexts/citations.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/citations.context.js +9 -0
- package/dist/agents/contextualiser/contexts/citations.context.js.map +1 -0
- package/dist/agents/contextualiser/contexts/contextualiser.context.d.ts +174 -0
- package/dist/agents/contextualiser/contexts/contextualiser.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/contextualiser.context.js +203 -0
- package/dist/agents/contextualiser/contexts/contextualiser.context.js.map +1 -0
- package/dist/agents/contextualiser/contexts/history.context.d.ts +14 -0
- package/dist/agents/contextualiser/contexts/history.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/history.context.js +9 -0
- package/dist/agents/contextualiser/contexts/history.context.js.map +1 -0
- package/dist/agents/contextualiser/contexts/limit.context.d.ts +2 -0
- package/dist/agents/contextualiser/contexts/limit.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/limit.context.js +6 -0
- package/dist/agents/contextualiser/contexts/limit.context.js.map +1 -0
- package/dist/agents/contextualiser/contexts/notebook.context.d.ts +18 -0
- package/dist/agents/contextualiser/contexts/notebook.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/notebook.context.js +10 -0
- package/dist/agents/contextualiser/contexts/notebook.context.js.map +1 -0
- package/dist/agents/contextualiser/contexts/prompt.context.d.ts +13 -0
- package/dist/agents/contextualiser/contexts/prompt.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/prompt.context.js +9 -0
- package/dist/agents/contextualiser/contexts/prompt.context.js.map +1 -0
- package/dist/agents/contextualiser/contexts/request.context.d.ts +13 -0
- package/dist/agents/contextualiser/contexts/request.context.d.ts.map +1 -0
- package/dist/agents/contextualiser/contexts/request.context.js +9 -0
- package/dist/agents/contextualiser/contexts/request.context.js.map +1 -0
- package/dist/agents/contextualiser/contextualiser.module.d.ts +3 -0
- package/dist/agents/contextualiser/contextualiser.module.d.ts.map +1 -0
- package/dist/agents/contextualiser/contextualiser.module.js +44 -0
- package/dist/agents/contextualiser/contextualiser.module.js.map +1 -0
- package/dist/agents/contextualiser/factories/contextualiser.context.factory.d.ts +22 -0
- package/dist/agents/contextualiser/factories/contextualiser.context.factory.d.ts.map +1 -0
- package/dist/agents/contextualiser/factories/contextualiser.context.factory.js +77 -0
- package/dist/agents/contextualiser/factories/contextualiser.context.factory.js.map +1 -0
- package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.d.ts +26 -0
- package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.d.ts.map +1 -0
- package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.js +3 -0
- package/dist/agents/contextualiser/interfaces/contextualiser.response.interface.js.map +1 -0
- package/dist/agents/contextualiser/nodes/atomicfacts.node.service.d.ts +25 -0
- package/dist/agents/contextualiser/nodes/atomicfacts.node.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/nodes/atomicfacts.node.service.js +196 -0
- package/dist/agents/contextualiser/nodes/atomicfacts.node.service.js.map +1 -0
- package/dist/agents/contextualiser/nodes/chunk.node.service.d.ts +21 -0
- package/dist/agents/contextualiser/nodes/chunk.node.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/nodes/chunk.node.service.js +229 -0
- package/dist/agents/contextualiser/nodes/chunk.node.service.js.map +1 -0
- package/dist/agents/contextualiser/nodes/chunk.vector.node.service.d.ts +21 -0
- package/dist/agents/contextualiser/nodes/chunk.vector.node.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/nodes/chunk.vector.node.service.js +166 -0
- package/dist/agents/contextualiser/nodes/chunk.vector.node.service.js.map +1 -0
- package/dist/agents/contextualiser/nodes/keyconcepts.node.service.d.ts +22 -0
- package/dist/agents/contextualiser/nodes/keyconcepts.node.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/nodes/keyconcepts.node.service.js +184 -0
- package/dist/agents/contextualiser/nodes/keyconcepts.node.service.js.map +1 -0
- package/dist/agents/contextualiser/nodes/question.refiner.node.service.d.ts +19 -0
- package/dist/agents/contextualiser/nodes/question.refiner.node.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/nodes/question.refiner.node.service.js +125 -0
- package/dist/agents/contextualiser/nodes/question.refiner.node.service.js.map +1 -0
- package/dist/agents/contextualiser/nodes/rational.node.service.d.ts +19 -0
- package/dist/agents/contextualiser/nodes/rational.node.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/nodes/rational.node.service.js +104 -0
- package/dist/agents/contextualiser/nodes/rational.node.service.js.map +1 -0
- package/dist/agents/contextualiser/services/contextualiser.service.d.ts +32 -0
- package/dist/agents/contextualiser/services/contextualiser.service.d.ts.map +1 -0
- package/dist/agents/contextualiser/services/contextualiser.service.js +193 -0
- package/dist/agents/contextualiser/services/contextualiser.service.js.map +1 -0
- package/dist/agents/graph.creator/graph.creator.module.d.ts +3 -0
- package/dist/agents/graph.creator/graph.creator.module.d.ts.map +1 -0
- package/dist/agents/graph.creator/graph.creator.module.js +24 -0
- package/dist/agents/graph.creator/graph.creator.module.js.map +1 -0
- package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.d.ts +14 -0
- package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.d.ts.map +1 -0
- package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.js +3 -0
- package/dist/agents/graph.creator/interfaces/chunk.analysis.interface.js.map +1 -0
- package/dist/agents/graph.creator/services/graph.creator.service.d.ts +17 -0
- package/dist/agents/graph.creator/services/graph.creator.service.d.ts.map +1 -0
- package/dist/agents/graph.creator/services/graph.creator.service.js +450 -0
- package/dist/agents/graph.creator/services/graph.creator.service.js.map +1 -0
- package/dist/agents/index.d.ts +15 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +45 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/prompts/index.d.ts +10 -0
- package/dist/agents/prompts/index.d.ts.map +1 -0
- package/dist/agents/prompts/index.js +29 -0
- package/dist/agents/prompts/index.js.map +1 -0
- package/dist/agents/prompts/prompt.interfaces.d.ts +128 -0
- package/dist/agents/prompts/prompt.interfaces.d.ts.map +1 -0
- package/dist/agents/prompts/prompt.interfaces.js +12 -0
- package/dist/agents/prompts/prompt.interfaces.js.map +1 -0
- package/dist/agents/prompts/prompt.tokens.d.ts +16 -0
- package/dist/agents/prompts/prompt.tokens.d.ts.map +1 -0
- package/dist/agents/prompts/prompt.tokens.js +23 -0
- package/dist/agents/prompts/prompt.tokens.js.map +1 -0
- package/dist/agents/responder/contexts/responder.answer.context.d.ts +28 -0
- package/dist/agents/responder/contexts/responder.answer.context.d.ts.map +1 -0
- package/dist/agents/responder/contexts/responder.answer.context.js +12 -0
- package/dist/agents/responder/contexts/responder.answer.context.js.map +1 -0
- package/dist/agents/responder/contexts/responder.context.d.ts +468 -0
- package/dist/agents/responder/contexts/responder.context.d.ts.map +1 -0
- package/dist/agents/responder/contexts/responder.context.js +32 -0
- package/dist/agents/responder/contexts/responder.context.js.map +1 -0
- package/dist/agents/responder/factories/responder.context.factory.d.ts +18 -0
- package/dist/agents/responder/factories/responder.context.factory.d.ts.map +1 -0
- package/dist/agents/responder/factories/responder.context.factory.js +50 -0
- package/dist/agents/responder/factories/responder.context.factory.js.map +1 -0
- package/dist/agents/responder/interfaces/responder.response.interface.d.ts +21 -0
- package/dist/agents/responder/interfaces/responder.response.interface.d.ts.map +1 -0
- package/dist/agents/responder/interfaces/responder.response.interface.js +3 -0
- package/dist/agents/responder/interfaces/responder.response.interface.js.map +1 -0
- package/dist/agents/responder/nodes/responder.answer.node.service.d.ts +16 -0
- package/dist/agents/responder/nodes/responder.answer.node.service.d.ts.map +1 -0
- package/dist/agents/responder/nodes/responder.answer.node.service.js +367 -0
- package/dist/agents/responder/nodes/responder.answer.node.service.js.map +1 -0
- package/dist/agents/responder/responder.module.d.ts +3 -0
- package/dist/agents/responder/responder.module.d.ts.map +1 -0
- package/dist/agents/responder/responder.module.js +28 -0
- package/dist/agents/responder/responder.module.js.map +1 -0
- package/dist/agents/responder/services/responder.service.d.ts +21 -0
- package/dist/agents/responder/services/responder.service.d.ts.map +1 -0
- package/dist/agents/responder/services/responder.service.js +87 -0
- package/dist/agents/responder/services/responder.service.js.map +1 -0
- package/dist/agents/summariser/services/summariser.service.d.ts +24 -0
- package/dist/agents/summariser/services/summariser.service.d.ts.map +1 -0
- package/dist/agents/summariser/services/summariser.service.js +105 -0
- package/dist/agents/summariser/services/summariser.service.js.map +1 -0
- package/dist/agents/summariser/summariser.module.d.ts +3 -0
- package/dist/agents/summariser/summariser.module.d.ts.map +1 -0
- package/dist/agents/summariser/summariser.module.js +23 -0
- package/dist/agents/summariser/summariser.module.js.map +1 -0
- package/dist/bootstrap/app.module.factory.d.ts +21 -0
- package/dist/bootstrap/app.module.factory.d.ts.map +1 -0
- package/dist/bootstrap/app.module.factory.js +156 -0
- package/dist/bootstrap/app.module.factory.js.map +1 -0
- package/dist/bootstrap/bootstrap.d.ts +31 -0
- package/dist/bootstrap/bootstrap.d.ts.map +1 -0
- package/dist/bootstrap/bootstrap.js +174 -0
- package/dist/bootstrap/bootstrap.js.map +1 -0
- package/dist/bootstrap/bootstrap.options.d.ts +40 -0
- package/dist/bootstrap/bootstrap.options.d.ts.map +1 -0
- package/dist/bootstrap/bootstrap.options.js +3 -0
- package/dist/bootstrap/bootstrap.options.js.map +1 -0
- package/dist/bootstrap/defaults.d.ts +33 -0
- package/dist/bootstrap/defaults.d.ts.map +1 -0
- package/dist/bootstrap/defaults.js +71 -0
- package/dist/bootstrap/defaults.js.map +1 -0
- package/dist/bootstrap/index.d.ts +47 -0
- package/dist/bootstrap/index.d.ts.map +1 -0
- package/dist/bootstrap/index.js +57 -0
- package/dist/bootstrap/index.js.map +1 -0
- package/dist/common/abstracts/abstract.company.configuration.d.ts +40 -0
- package/dist/common/abstracts/abstract.company.configuration.d.ts.map +1 -0
- package/dist/common/abstracts/abstract.company.configuration.js +44 -0
- package/dist/common/abstracts/abstract.company.configuration.js.map +1 -0
- package/dist/common/abstracts/entity.d.ts +13 -0
- package/dist/common/abstracts/entity.d.ts.map +1 -0
- package/dist/common/abstracts/entity.js +21 -0
- package/dist/common/abstracts/entity.js.map +1 -0
- package/dist/common/abstracts/index.d.ts +2 -0
- package/dist/common/abstracts/index.d.ts.map +1 -0
- package/dist/common/abstracts/index.js +18 -0
- package/dist/common/abstracts/index.js.map +1 -0
- package/dist/common/constants/system.roles.d.ts +18 -0
- package/dist/common/constants/system.roles.d.ts.map +1 -0
- package/dist/common/constants/system.roles.js +19 -0
- package/dist/common/constants/system.roles.js.map +1 -0
- package/dist/common/contexts/index.d.ts +2 -0
- package/dist/common/contexts/index.d.ts.map +1 -0
- package/dist/common/contexts/index.js +18 -0
- package/dist/common/contexts/index.js.map +1 -0
- package/dist/common/contexts/tokenusage.context.d.ts +13 -0
- package/dist/common/contexts/tokenusage.context.d.ts.map +1 -0
- package/dist/common/contexts/tokenusage.context.js +9 -0
- package/dist/common/contexts/tokenusage.context.js.map +1 -0
- package/dist/common/decorators/conditional-service.decorator.d.ts +50 -0
- package/dist/common/decorators/conditional-service.decorator.d.ts.map +1 -0
- package/dist/common/decorators/conditional-service.decorator.js +87 -0
- package/dist/common/decorators/conditional-service.decorator.js.map +1 -0
- package/dist/common/decorators/index.d.ts +6 -0
- package/dist/common/decorators/index.d.ts.map +1 -0
- package/dist/common/decorators/index.js +22 -0
- package/dist/common/decorators/index.js.map +1 -0
- package/dist/common/decorators/module.decorator.d.ts +6 -0
- package/dist/common/decorators/module.decorator.d.ts.map +1 -0
- package/dist/common/decorators/module.decorator.js +7 -0
- package/dist/common/decorators/module.decorator.js.map +1 -0
- package/dist/common/decorators/rate-limit.decorator.d.ts +6 -0
- package/dist/common/decorators/rate-limit.decorator.d.ts.map +1 -0
- package/dist/common/decorators/rate-limit.decorator.js +15 -0
- package/dist/common/decorators/rate-limit.decorator.js.map +1 -0
- package/dist/common/decorators/roles.decorator.d.ts +2 -0
- package/dist/common/decorators/roles.decorator.d.ts.map +1 -0
- package/dist/common/decorators/roles.decorator.js +7 -0
- package/dist/common/decorators/roles.decorator.js.map +1 -0
- package/dist/common/decorators/tool.decorator.d.ts +29 -0
- package/dist/common/decorators/tool.decorator.d.ts.map +1 -0
- package/dist/common/decorators/tool.decorator.js +38 -0
- package/dist/common/decorators/tool.decorator.js.map +1 -0
- package/dist/common/enums/action.d.ts +7 -0
- package/dist/common/enums/action.d.ts.map +1 -0
- package/dist/common/enums/action.js +11 -0
- package/dist/common/enums/action.js.map +1 -0
- package/dist/common/enums/agentmessage.type.d.ts +6 -0
- package/dist/common/enums/agentmessage.type.d.ts.map +1 -0
- package/dist/common/enums/agentmessage.type.js +10 -0
- package/dist/common/enums/agentmessage.type.js.map +1 -0
- package/dist/common/enums/ai.status.d.ts +8 -0
- package/dist/common/enums/ai.status.d.ts.map +1 -0
- package/dist/common/enums/ai.status.js +12 -0
- package/dist/common/enums/ai.status.js.map +1 -0
- package/dist/common/enums/index.d.ts +4 -0
- package/dist/common/enums/index.d.ts.map +1 -0
- package/dist/common/enums/index.js +20 -0
- package/dist/common/enums/index.js.map +1 -0
- package/dist/common/filters/http-exception.filter.d.ts +17 -0
- package/dist/common/filters/http-exception.filter.d.ts.map +1 -0
- package/dist/common/filters/http-exception.filter.js +92 -0
- package/dist/common/filters/http-exception.filter.js.map +1 -0
- package/dist/common/filters/index.d.ts +2 -0
- package/dist/common/filters/index.d.ts.map +1 -0
- package/dist/common/filters/index.js +18 -0
- package/dist/common/filters/index.js.map +1 -0
- package/dist/common/guards/index.d.ts +4 -0
- package/dist/common/guards/index.d.ts.map +1 -0
- package/dist/common/guards/index.js +20 -0
- package/dist/common/guards/index.js.map +1 -0
- package/dist/common/guards/jwt.auth.admin.guard.d.ts +18 -0
- package/dist/common/guards/jwt.auth.admin.guard.d.ts.map +1 -0
- package/dist/common/guards/jwt.auth.admin.guard.js +78 -0
- package/dist/common/guards/jwt.auth.admin.guard.js.map +1 -0
- package/dist/common/guards/jwt.auth.guard.d.ts +18 -0
- package/dist/common/guards/jwt.auth.guard.d.ts.map +1 -0
- package/dist/common/guards/jwt.auth.guard.js +81 -0
- package/dist/common/guards/jwt.auth.guard.js.map +1 -0
- package/dist/common/guards/jwt.auth.optional.guard.d.ts +16 -0
- package/dist/common/guards/jwt.auth.optional.guard.d.ts.map +1 -0
- package/dist/common/guards/jwt.auth.optional.guard.js +78 -0
- package/dist/common/guards/jwt.auth.optional.guard.js.map +1 -0
- package/dist/common/helpers/define-entity.d.ts +50 -0
- package/dist/common/helpers/define-entity.d.ts.map +1 -0
- package/dist/common/helpers/define-entity.js +196 -0
- package/dist/common/helpers/define-entity.js.map +1 -0
- package/dist/common/helpers/index.d.ts +2 -0
- package/dist/common/helpers/index.d.ts.map +1 -0
- package/dist/common/helpers/index.js +18 -0
- package/dist/common/helpers/index.js.map +1 -0
- package/dist/common/index.d.ts +21 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +51 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/interfaces/agents/graph.creator.interface.d.ts +17 -0
- package/dist/common/interfaces/agents/graph.creator.interface.d.ts.map +1 -0
- package/dist/common/interfaces/agents/graph.creator.interface.js +3 -0
- package/dist/common/interfaces/agents/graph.creator.interface.js.map +1 -0
- package/dist/common/interfaces/authenticated.request.interface.d.ts +14 -0
- package/dist/common/interfaces/authenticated.request.interface.d.ts.map +1 -0
- package/dist/common/interfaces/authenticated.request.interface.js +3 -0
- package/dist/common/interfaces/authenticated.request.interface.js.map +1 -0
- package/dist/common/interfaces/datamodel.interface.d.ts +25 -0
- package/dist/common/interfaces/datamodel.interface.d.ts.map +1 -0
- package/dist/common/interfaces/datamodel.interface.js +7 -0
- package/dist/common/interfaces/datamodel.interface.js.map +1 -0
- package/dist/common/interfaces/entity.descriptor.interface.d.ts +34 -0
- package/dist/common/interfaces/entity.descriptor.interface.d.ts.map +1 -0
- package/dist/common/interfaces/entity.descriptor.interface.js +6 -0
- package/dist/common/interfaces/entity.descriptor.interface.js.map +1 -0
- package/dist/common/interfaces/entity.schema.interface.d.ts +154 -0
- package/dist/common/interfaces/entity.schema.interface.d.ts.map +1 -0
- package/dist/common/interfaces/entity.schema.interface.js +3 -0
- package/dist/common/interfaces/entity.schema.interface.js.map +1 -0
- package/dist/common/interfaces/index.d.ts +8 -0
- package/dist/common/interfaces/index.d.ts.map +1 -0
- package/dist/common/interfaces/index.js +24 -0
- package/dist/common/interfaces/index.js.map +1 -0
- package/dist/common/interfaces/langchain.usage.interface.d.ts +21 -0
- package/dist/common/interfaces/langchain.usage.interface.d.ts.map +1 -0
- package/dist/common/interfaces/langchain.usage.interface.js +3 -0
- package/dist/common/interfaces/langchain.usage.interface.js.map +1 -0
- package/dist/common/interfaces/message.interface.d.ts +6 -0
- package/dist/common/interfaces/message.interface.d.ts.map +1 -0
- package/dist/common/interfaces/message.interface.js +3 -0
- package/dist/common/interfaces/message.interface.js.map +1 -0
- package/dist/common/interfaces/token.usage.interface.d.ts +5 -0
- package/dist/common/interfaces/token.usage.interface.d.ts.map +1 -0
- package/dist/common/interfaces/token.usage.interface.js +3 -0
- package/dist/common/interfaces/token.usage.interface.js.map +1 -0
- package/dist/common/registries/index.d.ts +2 -0
- package/dist/common/registries/index.d.ts.map +1 -0
- package/dist/common/registries/index.js +18 -0
- package/dist/common/registries/index.js.map +1 -0
- package/dist/common/registries/registry.d.ts +23 -0
- package/dist/common/registries/registry.d.ts.map +1 -0
- package/dist/common/registries/registry.js +55 -0
- package/dist/common/registries/registry.js.map +1 -0
- package/dist/common/repositories/ai.source.query.d.ts +13 -0
- package/dist/common/repositories/ai.source.query.d.ts.map +1 -0
- package/dist/common/repositories/ai.source.query.js +23 -0
- package/dist/common/repositories/ai.source.query.js.map +1 -0
- package/dist/common/repositories/index.d.ts +2 -0
- package/dist/common/repositories/index.d.ts.map +1 -0
- package/dist/common/repositories/index.js +18 -0
- package/dist/common/repositories/index.js.map +1 -0
- package/dist/common/strategies/index.d.ts +2 -0
- package/dist/common/strategies/index.d.ts.map +1 -0
- package/dist/common/strategies/index.js +18 -0
- package/dist/common/strategies/index.js.map +1 -0
- package/dist/common/strategies/jwt.strategy.d.ts +14 -0
- package/dist/common/strategies/jwt.strategy.d.ts.map +1 -0
- package/dist/common/strategies/jwt.strategy.js +43 -0
- package/dist/common/strategies/jwt.strategy.js.map +1 -0
- package/dist/common/tokens.d.ts +14 -0
- package/dist/common/tokens.d.ts.map +1 -0
- package/dist/common/tokens.js +11 -0
- package/dist/common/tokens.js.map +1 -0
- package/dist/common/types/data.limits.d.ts +2 -0
- package/dist/common/types/data.limits.d.ts.map +1 -0
- package/dist/common/types/data.limits.js +3 -0
- package/dist/common/types/data.limits.js.map +1 -0
- package/dist/common/types/index.d.ts +3 -0
- package/dist/common/types/index.d.ts.map +1 -0
- package/dist/common/types/index.js +19 -0
- package/dist/common/types/index.js.map +1 -0
- package/dist/common/types/reducers.d.ts +13 -0
- package/dist/common/types/reducers.d.ts.map +1 -0
- package/dist/common/types/reducers.js +19 -0
- package/dist/common/types/reducers.js.map +1 -0
- package/dist/config/base.config.d.ts +90 -0
- package/dist/config/base.config.d.ts.map +1 -0
- package/dist/config/base.config.js +209 -0
- package/dist/config/base.config.js.map +1 -0
- package/dist/config/company.configurations.d.ts +19 -0
- package/dist/config/company.configurations.d.ts.map +1 -0
- package/dist/config/company.configurations.js +23 -0
- package/dist/config/company.configurations.js.map +1 -0
- package/dist/config/enums/content.types.d.ts +6 -0
- package/dist/config/enums/content.types.d.ts.map +1 -0
- package/dist/config/enums/content.types.js +9 -0
- package/dist/config/enums/content.types.js.map +1 -0
- package/dist/config/enums/index.d.ts +3 -0
- package/dist/config/enums/index.d.ts.map +1 -0
- package/dist/config/enums/index.js +19 -0
- package/dist/config/enums/index.js.map +1 -0
- package/dist/config/enums/job.name.d.ts +9 -0
- package/dist/config/enums/job.name.d.ts.map +1 -0
- package/dist/config/enums/job.name.js +12 -0
- package/dist/config/enums/job.name.js.map +1 -0
- package/dist/config/enums/queue.id.d.ts +9 -0
- package/dist/config/enums/queue.id.d.ts.map +1 -0
- package/dist/config/enums/queue.id.js +13 -0
- package/dist/config/enums/queue.id.js.map +1 -0
- package/dist/config/index.d.ts +10 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +30 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/interfaces/base.config.interface.d.ts +45 -0
- package/dist/config/interfaces/base.config.interface.d.ts.map +1 -0
- package/dist/config/interfaces/base.config.interface.js +3 -0
- package/dist/config/interfaces/base.config.interface.js.map +1 -0
- package/dist/config/interfaces/config.ai.interface.d.ts +31 -0
- package/dist/config/interfaces/config.ai.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.ai.interface.js +3 -0
- package/dist/config/interfaces/config.ai.interface.js.map +1 -0
- package/dist/config/interfaces/config.api.interface.d.ts +6 -0
- package/dist/config/interfaces/config.api.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.api.interface.js +3 -0
- package/dist/config/interfaces/config.api.interface.js.map +1 -0
- package/dist/config/interfaces/config.app.interface.d.ts +4 -0
- package/dist/config/interfaces/config.app.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.app.interface.js +3 -0
- package/dist/config/interfaces/config.app.interface.js.map +1 -0
- package/dist/config/interfaces/config.cache.interface.d.ts +6 -0
- package/dist/config/interfaces/config.cache.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.cache.interface.js +3 -0
- package/dist/config/interfaces/config.cache.interface.js.map +1 -0
- package/dist/config/interfaces/config.chunk.queues.interface.d.ts +16 -0
- package/dist/config/interfaces/config.chunk.queues.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.chunk.queues.interface.js +3 -0
- package/dist/config/interfaces/config.chunk.queues.interface.js.map +1 -0
- package/dist/config/interfaces/config.content.types.interface.d.ts +8 -0
- package/dist/config/interfaces/config.content.types.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.content.types.interface.js +3 -0
- package/dist/config/interfaces/config.content.types.interface.js.map +1 -0
- package/dist/config/interfaces/config.cors.interface.d.ts +12 -0
- package/dist/config/interfaces/config.cors.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.cors.interface.js +3 -0
- package/dist/config/interfaces/config.cors.interface.js.map +1 -0
- package/dist/config/interfaces/config.email.interface.d.ts +11 -0
- package/dist/config/interfaces/config.email.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.email.interface.js +3 -0
- package/dist/config/interfaces/config.email.interface.js.map +1 -0
- package/dist/config/interfaces/config.encryption.interface.d.ts +4 -0
- package/dist/config/interfaces/config.encryption.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.encryption.interface.js +3 -0
- package/dist/config/interfaces/config.encryption.interface.js.map +1 -0
- package/dist/config/interfaces/config.environment.interface.d.ts +4 -0
- package/dist/config/interfaces/config.environment.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.environment.interface.js +3 -0
- package/dist/config/interfaces/config.environment.interface.js.map +1 -0
- package/dist/config/interfaces/config.interface.d.ts +8 -0
- package/dist/config/interfaces/config.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.interface.js +3 -0
- package/dist/config/interfaces/config.interface.js.map +1 -0
- package/dist/config/interfaces/config.job.names.interface.d.ts +20 -0
- package/dist/config/interfaces/config.job.names.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.job.names.interface.js +3 -0
- package/dist/config/interfaces/config.job.names.interface.js.map +1 -0
- package/dist/config/interfaces/config.jwt.interface.d.ts +5 -0
- package/dist/config/interfaces/config.jwt.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.jwt.interface.js +3 -0
- package/dist/config/interfaces/config.jwt.interface.js.map +1 -0
- package/dist/config/interfaces/config.logging.interface.d.ts +16 -0
- package/dist/config/interfaces/config.logging.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.logging.interface.js +3 -0
- package/dist/config/interfaces/config.logging.interface.js.map +1 -0
- package/dist/config/interfaces/config.neo4j.interface.d.ts +7 -0
- package/dist/config/interfaces/config.neo4j.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.neo4j.interface.js +3 -0
- package/dist/config/interfaces/config.neo4j.interface.js.map +1 -0
- package/dist/config/interfaces/config.prompts.interface.d.ts +18 -0
- package/dist/config/interfaces/config.prompts.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.prompts.interface.js +3 -0
- package/dist/config/interfaces/config.prompts.interface.js.map +1 -0
- package/dist/config/interfaces/config.ratelimit.interface.d.ts +7 -0
- package/dist/config/interfaces/config.ratelimit.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.ratelimit.interface.js +3 -0
- package/dist/config/interfaces/config.ratelimit.interface.js.map +1 -0
- package/dist/config/interfaces/config.redis.interface.d.ts +8 -0
- package/dist/config/interfaces/config.redis.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.redis.interface.js +3 -0
- package/dist/config/interfaces/config.redis.interface.js.map +1 -0
- package/dist/config/interfaces/config.s3.interface.d.ts +9 -0
- package/dist/config/interfaces/config.s3.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.s3.interface.js +3 -0
- package/dist/config/interfaces/config.s3.interface.js.map +1 -0
- package/dist/config/interfaces/config.stripe.interface.d.ts +9 -0
- package/dist/config/interfaces/config.stripe.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.stripe.interface.js +3 -0
- package/dist/config/interfaces/config.stripe.interface.js.map +1 -0
- package/dist/config/interfaces/config.tempo.interface.d.ts +7 -0
- package/dist/config/interfaces/config.tempo.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.tempo.interface.js +3 -0
- package/dist/config/interfaces/config.tempo.interface.js.map +1 -0
- package/dist/config/interfaces/config.vapid.interface.d.ts +6 -0
- package/dist/config/interfaces/config.vapid.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.vapid.interface.js +3 -0
- package/dist/config/interfaces/config.vapid.interface.js.map +1 -0
- package/dist/config/interfaces/index.d.ts +27 -0
- package/dist/config/interfaces/index.d.ts.map +1 -0
- package/dist/config/interfaces/index.js +43 -0
- package/dist/config/interfaces/index.js.map +1 -0
- package/dist/config/tokens.d.ts +12 -0
- package/dist/config/tokens.d.ts.map +1 -0
- package/dist/config/tokens.js +16 -0
- package/dist/config/tokens.js.map +1 -0
- package/dist/core/appmode/app.mode.module.d.ts +6 -0
- package/dist/core/appmode/app.mode.module.d.ts.map +1 -0
- package/dist/core/appmode/app.mode.module.js +47 -0
- package/dist/core/appmode/app.mode.module.js.map +1 -0
- package/dist/core/appmode/constants/app.mode.constant.d.ts +2 -0
- package/dist/core/appmode/constants/app.mode.constant.d.ts.map +1 -0
- package/dist/core/appmode/constants/app.mode.constant.js +8 -0
- package/dist/core/appmode/constants/app.mode.constant.js.map +1 -0
- package/dist/core/appmode/index.d.ts +8 -0
- package/dist/core/appmode/index.d.ts.map +1 -0
- package/dist/core/appmode/index.js +24 -0
- package/dist/core/appmode/index.js.map +1 -0
- package/dist/core/blocknote/blocknote.module.d.ts +22 -0
- package/dist/core/blocknote/blocknote.module.d.ts.map +1 -0
- package/dist/core/blocknote/blocknote.module.js +40 -0
- package/dist/core/blocknote/blocknote.module.js.map +1 -0
- package/dist/core/blocknote/index.d.ts +3 -0
- package/dist/core/blocknote/index.d.ts.map +1 -0
- package/dist/core/blocknote/index.js +19 -0
- package/dist/core/blocknote/index.js.map +1 -0
- package/dist/core/blocknote/services/blocknote.service.d.ts +53 -0
- package/dist/core/blocknote/services/blocknote.service.d.ts.map +1 -0
- package/dist/core/blocknote/services/blocknote.service.js +337 -0
- package/dist/core/blocknote/services/blocknote.service.js.map +1 -0
- package/dist/core/cache/cache.module.d.ts +3 -0
- package/dist/core/cache/cache.module.d.ts.map +1 -0
- package/dist/core/cache/cache.module.js +22 -0
- package/dist/core/cache/cache.module.js.map +1 -0
- package/dist/core/cache/index.d.ts +9 -0
- package/dist/core/cache/index.d.ts.map +1 -0
- package/dist/core/cache/index.js +25 -0
- package/dist/core/cache/index.js.map +1 -0
- package/dist/core/cache/interceptors/cache.interceptor.d.ts +16 -0
- package/dist/core/cache/interceptors/cache.interceptor.d.ts.map +1 -0
- package/dist/core/cache/interceptors/cache.interceptor.js +87 -0
- package/dist/core/cache/interceptors/cache.interceptor.js.map +1 -0
- package/dist/core/cache/services/cache.service.d.ts +36 -0
- package/dist/core/cache/services/cache.service.d.ts.map +1 -0
- package/dist/core/cache/services/cache.service.js +256 -0
- package/dist/core/cache/services/cache.service.js.map +1 -0
- package/dist/core/core.module.d.ts +36 -0
- package/dist/core/core.module.d.ts.map +1 -0
- package/dist/core/core.module.js +149 -0
- package/dist/core/core.module.js.map +1 -0
- package/dist/core/cors/cors.module.d.ts +12 -0
- package/dist/core/cors/cors.module.d.ts.map +1 -0
- package/dist/core/cors/cors.module.js +48 -0
- package/dist/core/cors/cors.module.js.map +1 -0
- package/dist/core/cors/index.d.ts +9 -0
- package/dist/core/cors/index.d.ts.map +1 -0
- package/dist/core/cors/index.js +27 -0
- package/dist/core/cors/index.js.map +1 -0
- package/dist/core/cors/services/cors.service.d.ts +17 -0
- package/dist/core/cors/services/cors.service.d.ts.map +1 -0
- package/dist/core/cors/services/cors.service.js +115 -0
- package/dist/core/cors/services/cors.service.js.map +1 -0
- package/dist/core/debug/debug.module.d.ts +26 -0
- package/dist/core/debug/debug.module.d.ts.map +1 -0
- package/dist/core/debug/debug.module.js +45 -0
- package/dist/core/debug/debug.module.js.map +1 -0
- package/dist/core/debug/index.d.ts +3 -0
- package/dist/core/debug/index.d.ts.map +1 -0
- package/dist/core/debug/index.js +19 -0
- package/dist/core/debug/index.js.map +1 -0
- package/dist/core/debug/services/debug.logger.service.d.ts +138 -0
- package/dist/core/debug/services/debug.logger.service.d.ts.map +1 -0
- package/dist/core/debug/services/debug.logger.service.js +350 -0
- package/dist/core/debug/services/debug.logger.service.js.map +1 -0
- package/dist/core/email/email.module.d.ts +12 -0
- package/dist/core/email/email.module.d.ts.map +1 -0
- package/dist/core/email/email.module.js +48 -0
- package/dist/core/email/email.module.js.map +1 -0
- package/dist/core/email/index.d.ts +9 -0
- package/dist/core/email/index.d.ts.map +1 -0
- package/dist/core/email/index.js +27 -0
- package/dist/core/email/index.js.map +1 -0
- package/dist/core/email/services/email.service.d.ts +18 -0
- package/dist/core/email/services/email.service.d.ts.map +1 -0
- package/dist/core/email/services/email.service.js +217 -0
- package/dist/core/email/services/email.service.js.map +1 -0
- package/dist/core/index.d.ts +31 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +52 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.d.ts +26 -0
- package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.d.ts.map +1 -0
- package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.js +78 -0
- package/dist/core/jsonapi/abstracts/abstract.jsonapi.serialiser.js.map +1 -0
- package/dist/core/jsonapi/factories/dynamic.relationship.factory.d.ts +7 -0
- package/dist/core/jsonapi/factories/dynamic.relationship.factory.d.ts.map +1 -0
- package/dist/core/jsonapi/factories/dynamic.relationship.factory.js +61 -0
- package/dist/core/jsonapi/factories/dynamic.relationship.factory.js.map +1 -0
- package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.d.ts +10 -0
- package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.d.ts.map +1 -0
- package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.js +43 -0
- package/dist/core/jsonapi/factories/jsonapi.serialiser.factory.js.map +1 -0
- package/dist/core/jsonapi/index.d.ts +20 -0
- package/dist/core/jsonapi/index.d.ts.map +1 -0
- package/dist/core/jsonapi/index.js +46 -0
- package/dist/core/jsonapi/index.js.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.d.ts +5 -0
- package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.d.ts.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.js +3 -0
- package/dist/core/jsonapi/interfaces/jsonapi.cursor.interface.js.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.data.interface.d.ts +31 -0
- package/dist/core/jsonapi/interfaces/jsonapi.data.interface.d.ts.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.data.interface.js +3 -0
- package/dist/core/jsonapi/interfaces/jsonapi.data.interface.js.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.d.ts +8 -0
- package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.d.ts.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.js +3 -0
- package/dist/core/jsonapi/interfaces/jsonapi.pagination.interface.js.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.d.ts +5 -0
- package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.d.ts.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.js +3 -0
- package/dist/core/jsonapi/interfaces/jsonapi.relationship.builder.interface.js.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.service.interface.d.ts +8 -0
- package/dist/core/jsonapi/interfaces/jsonapi.service.interface.d.ts.map +1 -0
- package/dist/core/jsonapi/interfaces/jsonapi.service.interface.js +3 -0
- package/dist/core/jsonapi/interfaces/jsonapi.service.interface.js.map +1 -0
- package/dist/core/jsonapi/jsonapi.module.d.ts +12 -0
- package/dist/core/jsonapi/jsonapi.module.d.ts.map +1 -0
- package/dist/core/jsonapi/jsonapi.module.js +50 -0
- package/dist/core/jsonapi/jsonapi.module.js.map +1 -0
- package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.d.ts +28 -0
- package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.d.ts.map +1 -0
- package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.js +121 -0
- package/dist/core/jsonapi/serialisers/descriptor.based.serialiser.js.map +1 -0
- package/dist/core/jsonapi/serialisers/jsonapi.paginator.d.ts +29 -0
- package/dist/core/jsonapi/serialisers/jsonapi.paginator.d.ts.map +1 -0
- package/dist/core/jsonapi/serialisers/jsonapi.paginator.js +183 -0
- package/dist/core/jsonapi/serialisers/jsonapi.paginator.js.map +1 -0
- package/dist/core/jsonapi/services/jsonapi.service.d.ts +26 -0
- package/dist/core/jsonapi/services/jsonapi.service.d.ts.map +1 -0
- package/dist/core/jsonapi/services/jsonapi.service.js +277 -0
- package/dist/core/jsonapi/services/jsonapi.service.js.map +1 -0
- package/dist/core/jsonapi/types/JsonApiIncludedFields.d.ts +5 -0
- package/dist/core/jsonapi/types/JsonApiIncludedFields.d.ts.map +1 -0
- package/dist/core/jsonapi/types/JsonApiIncludedFields.js +3 -0
- package/dist/core/jsonapi/types/JsonApiIncludedFields.js.map +1 -0
- package/dist/core/llm/abstracts/abstract.tools.d.ts +62 -0
- package/dist/core/llm/abstracts/abstract.tools.d.ts.map +1 -0
- package/dist/core/llm/abstracts/abstract.tools.js +69 -0
- package/dist/core/llm/abstracts/abstract.tools.js.map +1 -0
- package/dist/core/llm/index.d.ts +8 -0
- package/dist/core/llm/index.d.ts.map +1 -0
- package/dist/core/llm/index.js +24 -0
- package/dist/core/llm/index.js.map +1 -0
- package/dist/core/llm/llm.module.d.ts +16 -0
- package/dist/core/llm/llm.module.d.ts.map +1 -0
- package/dist/core/llm/llm.module.js +39 -0
- package/dist/core/llm/llm.module.js.map +1 -0
- package/dist/core/llm/services/embedder.service.d.ts +10 -0
- package/dist/core/llm/services/embedder.service.d.ts.map +1 -0
- package/dist/core/llm/services/embedder.service.js +31 -0
- package/dist/core/llm/services/embedder.service.js.map +1 -0
- package/dist/core/llm/services/llm.service.d.ts +196 -0
- package/dist/core/llm/services/llm.service.d.ts.map +1 -0
- package/dist/core/llm/services/llm.service.js +457 -0
- package/dist/core/llm/services/llm.service.js.map +1 -0
- package/dist/core/llm/services/model.service.d.ts +60 -0
- package/dist/core/llm/services/model.service.d.ts.map +1 -0
- package/dist/core/llm/services/model.service.js +215 -0
- package/dist/core/llm/services/model.service.js.map +1 -0
- package/dist/core/llm/services/vision.llm.service.d.ts +47 -0
- package/dist/core/llm/services/vision.llm.service.d.ts.map +1 -0
- package/dist/core/llm/services/vision.llm.service.js +105 -0
- package/dist/core/llm/services/vision.llm.service.js.map +1 -0
- package/dist/core/llm/types/llm.atomicfact.d.ts +6 -0
- package/dist/core/llm/types/llm.atomicfact.d.ts.map +1 -0
- package/dist/core/llm/types/llm.atomicfact.js +3 -0
- package/dist/core/llm/types/llm.atomicfact.js.map +1 -0
- package/dist/core/llm/types/llm.chunk.d.ts +8 -0
- package/dist/core/llm/types/llm.chunk.d.ts.map +1 -0
- package/dist/core/llm/types/llm.chunk.js +3 -0
- package/dist/core/llm/types/llm.chunk.js.map +1 -0
- package/dist/core/llm/types/llm.keyconcept.d.ts +4 -0
- package/dist/core/llm/types/llm.keyconcept.d.ts.map +1 -0
- package/dist/core/llm/types/llm.keyconcept.js +3 -0
- package/dist/core/llm/types/llm.keyconcept.js.map +1 -0
- package/dist/core/llm/types/llm.keyconcept.relationship.d.ts +8 -0
- package/dist/core/llm/types/llm.keyconcept.relationship.d.ts.map +1 -0
- package/dist/core/llm/types/llm.keyconcept.relationship.js +3 -0
- package/dist/core/llm/types/llm.keyconcept.relationship.js.map +1 -0
- package/dist/core/llm/utils/schema.utils.d.ts +89 -0
- package/dist/core/llm/utils/schema.utils.d.ts.map +1 -0
- package/dist/core/llm/utils/schema.utils.js +155 -0
- package/dist/core/llm/utils/schema.utils.js.map +1 -0
- package/dist/core/llm/utils/tools.utils.d.ts +56 -0
- package/dist/core/llm/utils/tools.utils.d.ts.map +1 -0
- package/dist/core/llm/utils/tools.utils.js +74 -0
- package/dist/core/llm/utils/tools.utils.js.map +1 -0
- package/dist/core/logging/index.d.ts +11 -0
- package/dist/core/logging/index.d.ts.map +1 -0
- package/dist/core/logging/index.js +30 -0
- package/dist/core/logging/index.js.map +1 -0
- package/dist/core/logging/interceptors/logging.interceptor.d.ts +12 -0
- package/dist/core/logging/interceptors/logging.interceptor.d.ts.map +1 -0
- package/dist/core/logging/interceptors/logging.interceptor.js +82 -0
- package/dist/core/logging/interceptors/logging.interceptor.js.map +1 -0
- package/dist/core/logging/interfaces/logging.interface.d.ts +35 -0
- package/dist/core/logging/interfaces/logging.interface.d.ts.map +1 -0
- package/dist/core/logging/interfaces/logging.interface.js +3 -0
- package/dist/core/logging/interfaces/logging.interface.js.map +1 -0
- package/dist/core/logging/logging.module.d.ts +3 -0
- package/dist/core/logging/logging.module.d.ts.map +1 -0
- package/dist/core/logging/logging.module.js +23 -0
- package/dist/core/logging/logging.module.js.map +1 -0
- package/dist/core/logging/services/logging.service.d.ts +32 -0
- package/dist/core/logging/services/logging.service.d.ts.map +1 -0
- package/dist/core/logging/services/logging.service.js +373 -0
- package/dist/core/logging/services/logging.service.js.map +1 -0
- package/dist/core/migrator/index.d.ts +4 -0
- package/dist/core/migrator/index.d.ts.map +1 -0
- package/dist/core/migrator/index.js +20 -0
- package/dist/core/migrator/index.js.map +1 -0
- package/dist/core/migrator/interfaces/migration.interface.d.ts +5 -0
- package/dist/core/migrator/interfaces/migration.interface.d.ts.map +1 -0
- package/dist/core/migrator/interfaces/migration.interface.js +3 -0
- package/dist/core/migrator/interfaces/migration.interface.js.map +1 -0
- package/dist/core/migrator/migrator.module.d.ts +27 -0
- package/dist/core/migrator/migrator.module.d.ts.map +1 -0
- package/dist/core/migrator/migrator.module.js +46 -0
- package/dist/core/migrator/migrator.module.js.map +1 -0
- package/dist/core/migrator/services/migrator.service.d.ts +40 -0
- package/dist/core/migrator/services/migrator.service.d.ts.map +1 -0
- package/dist/core/migrator/services/migrator.service.js +195 -0
- package/dist/core/migrator/services/migrator.service.js.map +1 -0
- package/dist/core/neo4j/abstracts/abstract.repository.d.ts +133 -0
- package/dist/core/neo4j/abstracts/abstract.repository.d.ts.map +1 -0
- package/dist/core/neo4j/abstracts/abstract.repository.js +509 -0
- package/dist/core/neo4j/abstracts/abstract.repository.js.map +1 -0
- package/dist/core/neo4j/abstracts/abstract.service.d.ts +166 -0
- package/dist/core/neo4j/abstracts/abstract.service.d.ts.map +1 -0
- package/dist/core/neo4j/abstracts/abstract.service.js +223 -0
- package/dist/core/neo4j/abstracts/abstract.service.js.map +1 -0
- package/dist/core/neo4j/abstracts/index.d.ts +3 -0
- package/dist/core/neo4j/abstracts/index.d.ts.map +1 -0
- package/dist/core/neo4j/abstracts/index.js +19 -0
- package/dist/core/neo4j/abstracts/index.js.map +1 -0
- package/dist/core/neo4j/factories/entity.factory.d.ts +17 -0
- package/dist/core/neo4j/factories/entity.factory.d.ts.map +1 -0
- package/dist/core/neo4j/factories/entity.factory.js +401 -0
- package/dist/core/neo4j/factories/entity.factory.js.map +1 -0
- package/dist/core/neo4j/index.d.ts +16 -0
- package/dist/core/neo4j/index.d.ts.map +1 -0
- package/dist/core/neo4j/index.js +41 -0
- package/dist/core/neo4j/index.js.map +1 -0
- package/dist/core/neo4j/neo4j.module.d.ts +3 -0
- package/dist/core/neo4j/neo4j.module.d.ts.map +1 -0
- package/dist/core/neo4j/neo4j.module.js +24 -0
- package/dist/core/neo4j/neo4j.module.js.map +1 -0
- package/dist/core/neo4j/queries/order.by.d.ts +11 -0
- package/dist/core/neo4j/queries/order.by.d.ts.map +1 -0
- package/dist/core/neo4j/queries/order.by.js +36 -0
- package/dist/core/neo4j/queries/order.by.js.map +1 -0
- package/dist/core/neo4j/queries/update.relationship.d.ts +15 -0
- package/dist/core/neo4j/queries/update.relationship.d.ts.map +1 -0
- package/dist/core/neo4j/queries/update.relationship.js +57 -0
- package/dist/core/neo4j/queries/update.relationship.js.map +1 -0
- package/dist/core/neo4j/services/cypher.service.d.ts +21 -0
- package/dist/core/neo4j/services/cypher.service.d.ts.map +1 -0
- package/dist/core/neo4j/services/cypher.service.js +49 -0
- package/dist/core/neo4j/services/cypher.service.js.map +1 -0
- package/dist/core/neo4j/services/neo4j.service.d.ts +59 -0
- package/dist/core/neo4j/services/neo4j.service.d.ts.map +1 -0
- package/dist/core/neo4j/services/neo4j.service.js +266 -0
- package/dist/core/neo4j/services/neo4j.service.js.map +1 -0
- package/dist/core/neo4j/services/token-resolver.service.d.ts +35 -0
- package/dist/core/neo4j/services/token-resolver.service.d.ts.map +1 -0
- package/dist/core/neo4j/services/token-resolver.service.js +100 -0
- package/dist/core/neo4j/services/token-resolver.service.js.map +1 -0
- package/dist/core/queue/index.d.ts +7 -0
- package/dist/core/queue/index.d.ts.map +1 -0
- package/dist/core/queue/index.js +24 -0
- package/dist/core/queue/index.js.map +1 -0
- package/dist/core/queue/queue.module.d.ts +19 -0
- package/dist/core/queue/queue.module.d.ts.map +1 -0
- package/dist/core/queue/queue.module.js +109 -0
- package/dist/core/queue/queue.module.js.map +1 -0
- package/dist/core/redis/index.d.ts +9 -0
- package/dist/core/redis/index.d.ts.map +1 -0
- package/dist/core/redis/index.js +25 -0
- package/dist/core/redis/index.js.map +1 -0
- package/dist/core/redis/redis.module.d.ts +3 -0
- package/dist/core/redis/redis.module.d.ts.map +1 -0
- package/dist/core/redis/redis.module.js +22 -0
- package/dist/core/redis/redis.module.js.map +1 -0
- package/dist/core/redis/services/redis.client.storage.service.d.ts +31 -0
- package/dist/core/redis/services/redis.client.storage.service.d.ts.map +1 -0
- package/dist/core/redis/services/redis.client.storage.service.js +162 -0
- package/dist/core/redis/services/redis.client.storage.service.js.map +1 -0
- package/dist/core/redis/services/redis.messaging.service.d.ts +28 -0
- package/dist/core/redis/services/redis.messaging.service.d.ts.map +1 -0
- package/dist/core/redis/services/redis.messaging.service.js +120 -0
- package/dist/core/redis/services/redis.messaging.service.js.map +1 -0
- package/dist/core/security/index.d.ts +8 -0
- package/dist/core/security/index.d.ts.map +1 -0
- package/dist/core/security/index.js +24 -0
- package/dist/core/security/index.js.map +1 -0
- package/dist/core/security/security.module.d.ts +3 -0
- package/dist/core/security/security.module.d.ts.map +1 -0
- package/dist/core/security/security.module.js +26 -0
- package/dist/core/security/security.module.js.map +1 -0
- package/dist/core/security/services/security.service.d.ts +30 -0
- package/dist/core/security/services/security.service.d.ts.map +1 -0
- package/dist/core/security/services/security.service.js +109 -0
- package/dist/core/security/services/security.service.js.map +1 -0
- package/dist/core/stripe/errors/stripe.errors.d.ts +9 -0
- package/dist/core/stripe/errors/stripe.errors.d.ts.map +1 -0
- package/dist/core/stripe/errors/stripe.errors.js +54 -0
- package/dist/core/stripe/errors/stripe.errors.js.map +1 -0
- package/dist/core/stripe/index.d.ts +12 -0
- package/dist/core/stripe/index.d.ts.map +1 -0
- package/dist/core/stripe/index.js +28 -0
- package/dist/core/stripe/index.js.map +1 -0
- package/dist/core/stripe/services/stripe.customer.service.d.ts +25 -0
- package/dist/core/stripe/services/stripe.customer.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.customer.service.js +124 -0
- package/dist/core/stripe/services/stripe.customer.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.invoice.service.d.ts +20 -0
- package/dist/core/stripe/services/stripe.invoice.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.invoice.service.js +102 -0
- package/dist/core/stripe/services/stripe.invoice.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.payment.service.d.ts +25 -0
- package/dist/core/stripe/services/stripe.payment.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.payment.service.js +111 -0
- package/dist/core/stripe/services/stripe.payment.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.portal.service.d.ts +8 -0
- package/dist/core/stripe/services/stripe.portal.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.portal.service.js +44 -0
- package/dist/core/stripe/services/stripe.portal.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.product.service.d.ts +46 -0
- package/dist/core/stripe/services/stripe.product.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.product.service.js +161 -0
- package/dist/core/stripe/services/stripe.product.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.service.d.ts +36 -0
- package/dist/core/stripe/services/stripe.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.service.js +89 -0
- package/dist/core/stripe/services/stripe.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.subscription.service.d.ts +26 -0
- package/dist/core/stripe/services/stripe.subscription.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.subscription.service.js +166 -0
- package/dist/core/stripe/services/stripe.subscription.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.usage.service.d.ts +35 -0
- package/dist/core/stripe/services/stripe.usage.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.usage.service.js +100 -0
- package/dist/core/stripe/services/stripe.usage.service.js.map +1 -0
- package/dist/core/stripe/services/stripe.webhook.service.d.ts +24 -0
- package/dist/core/stripe/services/stripe.webhook.service.d.ts.map +1 -0
- package/dist/core/stripe/services/stripe.webhook.service.js +63 -0
- package/dist/core/stripe/services/stripe.webhook.service.js.map +1 -0
- package/dist/core/stripe/stripe.module.d.ts +21 -0
- package/dist/core/stripe/stripe.module.d.ts.map +1 -0
- package/dist/core/stripe/stripe.module.js +66 -0
- package/dist/core/stripe/stripe.module.js.map +1 -0
- package/dist/core/tracing/index.d.ts +12 -0
- package/dist/core/tracing/index.d.ts.map +1 -0
- package/dist/core/tracing/index.js +33 -0
- package/dist/core/tracing/index.js.map +1 -0
- package/dist/core/tracing/interceptors/tracing.interceptor.d.ts +9 -0
- package/dist/core/tracing/interceptors/tracing.interceptor.d.ts.map +1 -0
- package/dist/core/tracing/interceptors/tracing.interceptor.js +119 -0
- package/dist/core/tracing/interceptors/tracing.interceptor.js.map +1 -0
- package/dist/core/tracing/interfaces/tracing.interface.d.ts +14 -0
- package/dist/core/tracing/interfaces/tracing.interface.d.ts.map +1 -0
- package/dist/core/tracing/interfaces/tracing.interface.js +3 -0
- package/dist/core/tracing/interfaces/tracing.interface.js.map +1 -0
- package/dist/core/tracing/services/tracing.service.d.ts +74 -0
- package/dist/core/tracing/services/tracing.service.d.ts.map +1 -0
- package/dist/core/tracing/services/tracing.service.js +262 -0
- package/dist/core/tracing/services/tracing.service.js.map +1 -0
- package/dist/core/tracing/tracing.module.d.ts +12 -0
- package/dist/core/tracing/tracing.module.d.ts.map +1 -0
- package/dist/core/tracing/tracing.module.js +46 -0
- package/dist/core/tracing/tracing.module.js.map +1 -0
- package/dist/core/tracing/tracing.setup.d.ts +17 -0
- package/dist/core/tracing/tracing.setup.d.ts.map +1 -0
- package/dist/core/tracing/tracing.setup.js +94 -0
- package/dist/core/tracing/tracing.setup.js.map +1 -0
- package/dist/core/version/index.d.ts +3 -0
- package/dist/core/version/index.d.ts.map +1 -0
- package/dist/core/version/index.js +19 -0
- package/dist/core/version/index.js.map +1 -0
- package/dist/core/version/services/version.service.d.ts +6 -0
- package/dist/core/version/services/version.service.d.ts.map +1 -0
- package/dist/core/version/services/version.service.js +27 -0
- package/dist/core/version/services/version.service.js.map +1 -0
- package/dist/core/version/version.module.d.ts +5 -0
- package/dist/core/version/version.module.d.ts.map +1 -0
- package/dist/core/version/version.module.js +27 -0
- package/dist/core/version/version.module.js.map +1 -0
- package/dist/core/websocket/gateways/event.gateway.d.ts +41 -0
- package/dist/core/websocket/gateways/event.gateway.d.ts.map +1 -0
- package/dist/core/websocket/gateways/event.gateway.js +164 -0
- package/dist/core/websocket/gateways/event.gateway.js.map +1 -0
- package/dist/core/websocket/guards/ws.jwt.auth.guard.d.ts +13 -0
- package/dist/core/websocket/guards/ws.jwt.auth.guard.d.ts.map +1 -0
- package/dist/core/websocket/guards/ws.jwt.auth.guard.js +62 -0
- package/dist/core/websocket/guards/ws.jwt.auth.guard.js.map +1 -0
- package/dist/core/websocket/index.d.ts +4 -0
- package/dist/core/websocket/index.d.ts.map +1 -0
- package/dist/core/websocket/index.js +20 -0
- package/dist/core/websocket/index.js.map +1 -0
- package/dist/core/websocket/services/presence.service.d.ts +59 -0
- package/dist/core/websocket/services/presence.service.d.ts.map +1 -0
- package/dist/core/websocket/services/presence.service.js +255 -0
- package/dist/core/websocket/services/presence.service.js.map +1 -0
- package/dist/core/websocket/services/websocket.service.d.ts +45 -0
- package/dist/core/websocket/services/websocket.service.d.ts.map +1 -0
- package/dist/core/websocket/services/websocket.service.js +169 -0
- package/dist/core/websocket/services/websocket.service.js.map +1 -0
- package/dist/core/websocket/websocket.module.d.ts +25 -0
- package/dist/core/websocket/websocket.module.d.ts.map +1 -0
- package/dist/core/websocket/websocket.module.js +57 -0
- package/dist/core/websocket/websocket.module.js.map +1 -0
- package/dist/foundations/atomicfact/atomicfact.module.d.ts +5 -0
- package/dist/foundations/atomicfact/atomicfact.module.d.ts.map +1 -0
- package/dist/foundations/atomicfact/atomicfact.module.js +29 -0
- package/dist/foundations/atomicfact/atomicfact.module.js.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.entity.d.ts +7 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.entity.d.ts.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.entity.js +3 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.entity.js.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.map.d.ts +8 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.map.d.ts.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.map.js +13 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.map.js.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.meta.d.ts +3 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.meta.d.ts.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.meta.js +10 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.meta.js.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.model.d.ts +4 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.model.d.ts.map +1 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.model.js +13 -0
- package/dist/foundations/atomicfact/entities/atomic.fact.model.js.map +1 -0
- package/dist/foundations/atomicfact/index.d.ts +4 -0
- package/dist/foundations/atomicfact/index.d.ts.map +1 -0
- package/dist/foundations/atomicfact/index.js +8 -0
- package/dist/foundations/atomicfact/index.js.map +1 -0
- package/dist/foundations/atomicfact/repositories/atomicfact.repository.d.ts +32 -0
- package/dist/foundations/atomicfact/repositories/atomicfact.repository.d.ts.map +1 -0
- package/dist/foundations/atomicfact/repositories/atomicfact.repository.js +111 -0
- package/dist/foundations/atomicfact/repositories/atomicfact.repository.js.map +1 -0
- package/dist/foundations/atomicfact/services/atomicfact.service.d.ts +14 -0
- package/dist/foundations/atomicfact/services/atomicfact.service.d.ts.map +1 -0
- package/dist/foundations/atomicfact/services/atomicfact.service.js +47 -0
- package/dist/foundations/atomicfact/services/atomicfact.service.js.map +1 -0
- package/dist/foundations/audit/audit.module.d.ts +5 -0
- package/dist/foundations/audit/audit.module.d.ts.map +1 -0
- package/dist/foundations/audit/audit.module.js +33 -0
- package/dist/foundations/audit/audit.module.js.map +1 -0
- package/dist/foundations/audit/controllers/audit.controller.d.ts +9 -0
- package/dist/foundations/audit/controllers/audit.controller.d.ts.map +1 -0
- package/dist/foundations/audit/controllers/audit.controller.js +47 -0
- package/dist/foundations/audit/controllers/audit.controller.js.map +1 -0
- package/dist/foundations/audit/entities/audit.entity.d.ts +8 -0
- package/dist/foundations/audit/entities/audit.entity.d.ts.map +1 -0
- package/dist/foundations/audit/entities/audit.entity.js +3 -0
- package/dist/foundations/audit/entities/audit.entity.js.map +1 -0
- package/dist/foundations/audit/entities/audit.map.d.ts +8 -0
- package/dist/foundations/audit/entities/audit.map.d.ts.map +1 -0
- package/dist/foundations/audit/entities/audit.map.js +15 -0
- package/dist/foundations/audit/entities/audit.map.js.map +1 -0
- package/dist/foundations/audit/entities/audit.meta.d.ts +3 -0
- package/dist/foundations/audit/entities/audit.meta.d.ts.map +1 -0
- package/dist/foundations/audit/entities/audit.meta.js +10 -0
- package/dist/foundations/audit/entities/audit.meta.js.map +1 -0
- package/dist/foundations/audit/entities/audit.model.d.ts +4 -0
- package/dist/foundations/audit/entities/audit.model.d.ts.map +1 -0
- package/dist/foundations/audit/entities/audit.model.js +17 -0
- package/dist/foundations/audit/entities/audit.model.js.map +1 -0
- package/dist/foundations/audit/index.d.ts +7 -0
- package/dist/foundations/audit/index.d.ts.map +1 -0
- package/dist/foundations/audit/index.js +14 -0
- package/dist/foundations/audit/index.js.map +1 -0
- package/dist/foundations/audit/repositories/audit.repository.d.ts +20 -0
- package/dist/foundations/audit/repositories/audit.repository.d.ts.map +1 -0
- package/dist/foundations/audit/repositories/audit.repository.js +72 -0
- package/dist/foundations/audit/repositories/audit.repository.js.map +1 -0
- package/dist/foundations/audit/serialisers/audit.serialiser.d.ts +14 -0
- package/dist/foundations/audit/serialisers/audit.serialiser.d.ts.map +1 -0
- package/dist/foundations/audit/serialisers/audit.serialiser.js +52 -0
- package/dist/foundations/audit/serialisers/audit.serialiser.js.map +1 -0
- package/dist/foundations/audit/services/audit.service.d.ts +18 -0
- package/dist/foundations/audit/services/audit.service.d.ts.map +1 -0
- package/dist/foundations/audit/services/audit.service.js +54 -0
- package/dist/foundations/audit/services/audit.service.js.map +1 -0
- package/dist/foundations/auth/auth.module.d.ts +5 -0
- package/dist/foundations/auth/auth.module.d.ts.map +1 -0
- package/dist/foundations/auth/auth.module.js +36 -0
- package/dist/foundations/auth/auth.module.js.map +1 -0
- package/dist/foundations/auth/controllers/auth.controller.d.ts +20 -0
- package/dist/foundations/auth/controllers/auth.controller.d.ts.map +1 -0
- package/dist/foundations/auth/controllers/auth.controller.js +148 -0
- package/dist/foundations/auth/controllers/auth.controller.js.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.forgot.dto.d.ts +11 -0
- package/dist/foundations/auth/dtos/auth.post.forgot.dto.d.ts.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.forgot.dto.js +46 -0
- package/dist/foundations/auth/dtos/auth.post.forgot.dto.js.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.login.dto.d.ts +12 -0
- package/dist/foundations/auth/dtos/auth.post.login.dto.d.ts.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.login.dto.js +53 -0
- package/dist/foundations/auth/dtos/auth.post.login.dto.js.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.register.dto.d.ts +14 -0
- package/dist/foundations/auth/dtos/auth.post.register.dto.d.ts.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.register.dto.js +60 -0
- package/dist/foundations/auth/dtos/auth.post.register.dto.js.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.d.ts +11 -0
- package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.d.ts.map +1 -0
- package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.js +46 -0
- package/dist/foundations/auth/dtos/auth.post.resetpassword.dto.js.map +1 -0
- package/dist/foundations/auth/entities/auth.code.entity.d.ts +7 -0
- package/dist/foundations/auth/entities/auth.code.entity.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.code.entity.js +3 -0
- package/dist/foundations/auth/entities/auth.code.entity.js.map +1 -0
- package/dist/foundations/auth/entities/auth.code.map.d.ts +8 -0
- package/dist/foundations/auth/entities/auth.code.map.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.code.map.js +13 -0
- package/dist/foundations/auth/entities/auth.code.map.js.map +1 -0
- package/dist/foundations/auth/entities/auth.code.meta.d.ts +3 -0
- package/dist/foundations/auth/entities/auth.code.meta.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.code.meta.js +10 -0
- package/dist/foundations/auth/entities/auth.code.meta.js.map +1 -0
- package/dist/foundations/auth/entities/auth.code.model.d.ts +4 -0
- package/dist/foundations/auth/entities/auth.code.model.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.code.model.js +13 -0
- package/dist/foundations/auth/entities/auth.code.model.js.map +1 -0
- package/dist/foundations/auth/entities/auth.entity.d.ts +8 -0
- package/dist/foundations/auth/entities/auth.entity.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.entity.js +3 -0
- package/dist/foundations/auth/entities/auth.entity.js.map +1 -0
- package/dist/foundations/auth/entities/auth.map.d.ts +8 -0
- package/dist/foundations/auth/entities/auth.map.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.map.js +14 -0
- package/dist/foundations/auth/entities/auth.map.js.map +1 -0
- package/dist/foundations/auth/entities/auth.meta.d.ts +3 -0
- package/dist/foundations/auth/entities/auth.meta.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.meta.js +10 -0
- package/dist/foundations/auth/entities/auth.meta.js.map +1 -0
- package/dist/foundations/auth/entities/auth.model.d.ts +4 -0
- package/dist/foundations/auth/entities/auth.model.d.ts.map +1 -0
- package/dist/foundations/auth/entities/auth.model.js +15 -0
- package/dist/foundations/auth/entities/auth.model.js.map +1 -0
- package/dist/foundations/auth/index.d.ts +2 -0
- package/dist/foundations/auth/index.d.ts.map +1 -0
- package/dist/foundations/auth/index.js +6 -0
- package/dist/foundations/auth/index.js.map +1 -0
- package/dist/foundations/auth/repositories/auth.repository.d.ts +75 -0
- package/dist/foundations/auth/repositories/auth.repository.d.ts.map +1 -0
- package/dist/foundations/auth/repositories/auth.repository.js +581 -0
- package/dist/foundations/auth/repositories/auth.repository.js.map +1 -0
- package/dist/foundations/auth/serialisers/auth.serialiser.d.ts +13 -0
- package/dist/foundations/auth/serialisers/auth.serialiser.d.ts.map +1 -0
- package/dist/foundations/auth/serialisers/auth.serialiser.js +48 -0
- package/dist/foundations/auth/serialisers/auth.serialiser.js.map +1 -0
- package/dist/foundations/auth/services/auth.service.d.ts +67 -0
- package/dist/foundations/auth/services/auth.service.d.ts.map +1 -0
- package/dist/foundations/auth/services/auth.service.js +260 -0
- package/dist/foundations/auth/services/auth.service.js.map +1 -0
- package/dist/foundations/chunk/chunk.module.d.ts +12 -0
- package/dist/foundations/chunk/chunk.module.d.ts.map +1 -0
- package/dist/foundations/chunk/chunk.module.js +46 -0
- package/dist/foundations/chunk/chunk.module.js.map +1 -0
- package/dist/foundations/chunk/controllers/chunk.controller.d.ts +7 -0
- package/dist/foundations/chunk/controllers/chunk.controller.d.ts.map +1 -0
- package/dist/foundations/chunk/controllers/chunk.controller.js +41 -0
- package/dist/foundations/chunk/controllers/chunk.controller.js.map +1 -0
- package/dist/foundations/chunk/entities/chunk.entity.d.ts +12 -0
- package/dist/foundations/chunk/entities/chunk.entity.d.ts.map +1 -0
- package/dist/foundations/chunk/entities/chunk.entity.js +3 -0
- package/dist/foundations/chunk/entities/chunk.entity.js.map +1 -0
- package/dist/foundations/chunk/entities/chunk.map.d.ts +8 -0
- package/dist/foundations/chunk/entities/chunk.map.d.ts.map +1 -0
- package/dist/foundations/chunk/entities/chunk.map.js +31 -0
- package/dist/foundations/chunk/entities/chunk.map.js.map +1 -0
- package/dist/foundations/chunk/entities/chunk.meta.d.ts +3 -0
- package/dist/foundations/chunk/entities/chunk.meta.d.ts.map +1 -0
- package/dist/foundations/chunk/entities/chunk.meta.js +10 -0
- package/dist/foundations/chunk/entities/chunk.meta.js.map +1 -0
- package/dist/foundations/chunk/entities/chunk.model.d.ts +4 -0
- package/dist/foundations/chunk/entities/chunk.model.d.ts.map +1 -0
- package/dist/foundations/chunk/entities/chunk.model.js +13 -0
- package/dist/foundations/chunk/entities/chunk.model.js.map +1 -0
- package/dist/foundations/chunk/index.d.ts +7 -0
- package/dist/foundations/chunk/index.d.ts.map +1 -0
- package/dist/foundations/chunk/index.js +14 -0
- package/dist/foundations/chunk/index.js.map +1 -0
- package/dist/foundations/chunk/processors/chunk.processor.d.ts +21 -0
- package/dist/foundations/chunk/processors/chunk.processor.d.ts.map +1 -0
- package/dist/foundations/chunk/processors/chunk.processor.js +83 -0
- package/dist/foundations/chunk/processors/chunk.processor.js.map +1 -0
- package/dist/foundations/chunk/repositories/chunk.repository.d.ts +69 -0
- package/dist/foundations/chunk/repositories/chunk.repository.d.ts.map +1 -0
- package/dist/foundations/chunk/repositories/chunk.repository.js +259 -0
- package/dist/foundations/chunk/repositories/chunk.repository.js.map +1 -0
- package/dist/foundations/chunk/serialisers/chunk.serialiser.d.ts +14 -0
- package/dist/foundations/chunk/serialisers/chunk.serialiser.d.ts.map +1 -0
- package/dist/foundations/chunk/serialisers/chunk.serialiser.js +54 -0
- package/dist/foundations/chunk/serialisers/chunk.serialiser.js.map +1 -0
- package/dist/foundations/chunk/services/chunk.service.d.ts +61 -0
- package/dist/foundations/chunk/services/chunk.service.d.ts.map +1 -0
- package/dist/foundations/chunk/services/chunk.service.js +282 -0
- package/dist/foundations/chunk/services/chunk.service.js.map +1 -0
- package/dist/foundations/chunker/chunker.module.d.ts +3 -0
- package/dist/foundations/chunker/chunker.module.d.ts.map +1 -0
- package/dist/foundations/chunker/chunker.module.js +38 -0
- package/dist/foundations/chunker/chunker.module.js.map +1 -0
- package/dist/foundations/chunker/constants/file.types.d.ts +3 -0
- package/dist/foundations/chunker/constants/file.types.d.ts.map +1 -0
- package/dist/foundations/chunker/constants/file.types.js +9 -0
- package/dist/foundations/chunker/constants/file.types.js.map +1 -0
- package/dist/foundations/chunker/index.d.ts +4 -0
- package/dist/foundations/chunker/index.d.ts.map +1 -0
- package/dist/foundations/chunker/index.js +20 -0
- package/dist/foundations/chunker/index.js.map +1 -0
- package/dist/foundations/chunker/loaders/json.loader.d.ts +23 -0
- package/dist/foundations/chunker/loaders/json.loader.d.ts.map +1 -0
- package/dist/foundations/chunker/loaders/json.loader.js +113 -0
- package/dist/foundations/chunker/loaders/json.loader.js.map +1 -0
- package/dist/foundations/chunker/loaders/text.loader.d.ts +12 -0
- package/dist/foundations/chunker/loaders/text.loader.d.ts.map +1 -0
- package/dist/foundations/chunker/loaders/text.loader.js +56 -0
- package/dist/foundations/chunker/loaders/text.loader.js.map +1 -0
- package/dist/foundations/chunker/services/chunker.service.d.ts +36 -0
- package/dist/foundations/chunker/services/chunker.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/chunker.service.js +371 -0
- package/dist/foundations/chunker/services/chunker.service.js.map +1 -0
- package/dist/foundations/chunker/services/types/docx.service.d.ts +26 -0
- package/dist/foundations/chunker/services/types/docx.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/docx.service.js +501 -0
- package/dist/foundations/chunker/services/types/docx.service.js.map +1 -0
- package/dist/foundations/chunker/services/types/imageextractor.service.d.ts +16 -0
- package/dist/foundations/chunker/services/types/imageextractor.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/imageextractor.service.js +196 -0
- package/dist/foundations/chunker/services/types/imageextractor.service.js.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.d.ts +14 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.js +198 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/layout.extractor.js.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.d.ts +27 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.js +396 -0
- package/dist/foundations/chunker/services/types/pdf/extractors/table.extractor.js.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.d.ts +89 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.js +3 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-content.interface.js.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.d.ts +95 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.js +3 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-element.interface.js.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.d.ts +86 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.js +3 -0
- package/dist/foundations/chunker/services/types/pdf/interfaces/pdf-layout.interface.js.map +1 -0
- package/dist/foundations/chunker/services/types/pdf.service.d.ts +64 -0
- package/dist/foundations/chunker/services/types/pdf.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pdf.service.js +1329 -0
- package/dist/foundations/chunker/services/types/pdf.service.js.map +1 -0
- package/dist/foundations/chunker/services/types/pptx.service.d.ts +11 -0
- package/dist/foundations/chunker/services/types/pptx.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/pptx.service.js +161 -0
- package/dist/foundations/chunker/services/types/pptx.service.js.map +1 -0
- package/dist/foundations/chunker/services/types/semanticsplitter.service.d.ts +40 -0
- package/dist/foundations/chunker/services/types/semanticsplitter.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/semanticsplitter.service.js +634 -0
- package/dist/foundations/chunker/services/types/semanticsplitter.service.js.map +1 -0
- package/dist/foundations/chunker/services/types/xlsx.service.d.ts +22 -0
- package/dist/foundations/chunker/services/types/xlsx.service.d.ts.map +1 -0
- package/dist/foundations/chunker/services/types/xlsx.service.js +284 -0
- package/dist/foundations/chunker/services/types/xlsx.service.js.map +1 -0
- package/dist/foundations/chunker/utils/file.downloader.d.ts +9 -0
- package/dist/foundations/chunker/utils/file.downloader.d.ts.map +1 -0
- package/dist/foundations/chunker/utils/file.downloader.js +58 -0
- package/dist/foundations/chunker/utils/file.downloader.js.map +1 -0
- package/dist/foundations/company/company.module.d.ts +5 -0
- package/dist/foundations/company/company.module.d.ts.map +1 -0
- package/dist/foundations/company/company.module.js +37 -0
- package/dist/foundations/company/company.module.js.map +1 -0
- package/dist/foundations/company/controllers/company.controller.d.ts +21 -0
- package/dist/foundations/company/controllers/company.controller.d.ts.map +1 -0
- package/dist/foundations/company/controllers/company.controller.js +164 -0
- package/dist/foundations/company/controllers/company.controller.js.map +1 -0
- package/dist/foundations/company/dtos/company.configurations.put.dto.d.ts +13 -0
- package/dist/foundations/company/dtos/company.configurations.put.dto.d.ts.map +1 -0
- package/dist/foundations/company/dtos/company.configurations.put.dto.js +54 -0
- package/dist/foundations/company/dtos/company.configurations.put.dto.js.map +1 -0
- package/dist/foundations/company/dtos/company.dto.d.ts +11 -0
- package/dist/foundations/company/dtos/company.dto.d.ts.map +1 -0
- package/dist/foundations/company/dtos/company.dto.js +45 -0
- package/dist/foundations/company/dtos/company.dto.js.map +1 -0
- package/dist/foundations/company/dtos/company.license.put.dto.d.ts +14 -0
- package/dist/foundations/company/dtos/company.license.put.dto.d.ts.map +1 -0
- package/dist/foundations/company/dtos/company.license.put.dto.js +59 -0
- package/dist/foundations/company/dtos/company.license.put.dto.js.map +1 -0
- package/dist/foundations/company/dtos/company.post.dto.d.ts +22 -0
- package/dist/foundations/company/dtos/company.post.dto.d.ts.map +1 -0
- package/dist/foundations/company/dtos/company.post.dto.js +87 -0
- package/dist/foundations/company/dtos/company.post.dto.js.map +1 -0
- package/dist/foundations/company/dtos/company.put.dto.d.ts +23 -0
- package/dist/foundations/company/dtos/company.put.dto.d.ts.map +1 -0
- package/dist/foundations/company/dtos/company.put.dto.js +92 -0
- package/dist/foundations/company/dtos/company.put.dto.js.map +1 -0
- package/dist/foundations/company/entities/company.entity.d.ts +17 -0
- package/dist/foundations/company/entities/company.entity.d.ts.map +1 -0
- package/dist/foundations/company/entities/company.entity.js +3 -0
- package/dist/foundations/company/entities/company.entity.js.map +1 -0
- package/dist/foundations/company/entities/company.map.d.ts +8 -0
- package/dist/foundations/company/entities/company.map.d.ts.map +1 -0
- package/dist/foundations/company/entities/company.map.js +22 -0
- package/dist/foundations/company/entities/company.map.js.map +1 -0
- package/dist/foundations/company/entities/company.meta.d.ts +3 -0
- package/dist/foundations/company/entities/company.meta.d.ts.map +1 -0
- package/dist/foundations/company/entities/company.meta.js +10 -0
- package/dist/foundations/company/entities/company.meta.js.map +1 -0
- package/dist/foundations/company/entities/company.model.d.ts +4 -0
- package/dist/foundations/company/entities/company.model.d.ts.map +1 -0
- package/dist/foundations/company/entities/company.model.js +17 -0
- package/dist/foundations/company/entities/company.model.js.map +1 -0
- package/dist/foundations/company/index.d.ts +7 -0
- package/dist/foundations/company/index.d.ts.map +1 -0
- package/dist/foundations/company/index.js +14 -0
- package/dist/foundations/company/index.js.map +1 -0
- package/dist/foundations/company/processors/company.processor.d.ts +23 -0
- package/dist/foundations/company/processors/company.processor.d.ts.map +1 -0
- package/dist/foundations/company/processors/company.processor.js +79 -0
- package/dist/foundations/company/processors/company.processor.js.map +1 -0
- package/dist/foundations/company/repositories/company.repository.d.ts +61 -0
- package/dist/foundations/company/repositories/company.repository.d.ts.map +1 -0
- package/dist/foundations/company/repositories/company.repository.js +295 -0
- package/dist/foundations/company/repositories/company.repository.js.map +1 -0
- package/dist/foundations/company/serialisers/company.serialiser.d.ts +14 -0
- package/dist/foundations/company/serialisers/company.serialiser.d.ts.map +1 -0
- package/dist/foundations/company/serialisers/company.serialiser.js +66 -0
- package/dist/foundations/company/serialisers/company.serialiser.js.map +1 -0
- package/dist/foundations/company/services/company.service.d.ts +65 -0
- package/dist/foundations/company/services/company.service.d.ts.map +1 -0
- package/dist/foundations/company/services/company.service.js +210 -0
- package/dist/foundations/company/services/company.service.js.map +1 -0
- package/dist/foundations/content/content.module.d.ts +5 -0
- package/dist/foundations/content/content.module.d.ts.map +1 -0
- package/dist/foundations/content/content.module.js +33 -0
- package/dist/foundations/content/content.module.js.map +1 -0
- package/dist/foundations/content/controllers/content.controller.d.ts +17 -0
- package/dist/foundations/content/controllers/content.controller.d.ts.map +1 -0
- package/dist/foundations/content/controllers/content.controller.js +129 -0
- package/dist/foundations/content/controllers/content.controller.js.map +1 -0
- package/dist/foundations/content/dtos/content.dto.d.ts +11 -0
- package/dist/foundations/content/dtos/content.dto.d.ts.map +1 -0
- package/dist/foundations/content/dtos/content.dto.js +45 -0
- package/dist/foundations/content/dtos/content.dto.js.map +1 -0
- package/dist/foundations/content/entities/content.entity.d.ts +13 -0
- package/dist/foundations/content/entities/content.entity.d.ts.map +1 -0
- package/dist/foundations/content/entities/content.entity.js +3 -0
- package/dist/foundations/content/entities/content.entity.js.map +1 -0
- package/dist/foundations/content/entities/content.map.d.ts +8 -0
- package/dist/foundations/content/entities/content.map.d.ts.map +1 -0
- package/dist/foundations/content/entities/content.map.js +19 -0
- package/dist/foundations/content/entities/content.map.js.map +1 -0
- package/dist/foundations/content/entities/content.meta.d.ts +3 -0
- package/dist/foundations/content/entities/content.meta.d.ts.map +1 -0
- package/dist/foundations/content/entities/content.meta.js +10 -0
- package/dist/foundations/content/entities/content.meta.js.map +1 -0
- package/dist/foundations/content/entities/content.model.d.ts +4 -0
- package/dist/foundations/content/entities/content.model.d.ts.map +1 -0
- package/dist/foundations/content/entities/content.model.js +16 -0
- package/dist/foundations/content/entities/content.model.js.map +1 -0
- package/dist/foundations/content/index.d.ts +8 -0
- package/dist/foundations/content/index.d.ts.map +1 -0
- package/dist/foundations/content/index.js +16 -0
- package/dist/foundations/content/index.js.map +1 -0
- package/dist/foundations/content/repositories/content.repository.d.ts +33 -0
- package/dist/foundations/content/repositories/content.repository.d.ts.map +1 -0
- package/dist/foundations/content/repositories/content.repository.js +100 -0
- package/dist/foundations/content/repositories/content.repository.js.map +1 -0
- package/dist/foundations/content/serialisers/content.serialiser.d.ts +12 -0
- package/dist/foundations/content/serialisers/content.serialiser.d.ts.map +1 -0
- package/dist/foundations/content/serialisers/content.serialiser.js +53 -0
- package/dist/foundations/content/serialisers/content.serialiser.js.map +1 -0
- package/dist/foundations/content/services/content.cypher.service.d.ts +20 -0
- package/dist/foundations/content/services/content.cypher.service.d.ts.map +1 -0
- package/dist/foundations/content/services/content.cypher.service.js +65 -0
- package/dist/foundations/content/services/content.cypher.service.js.map +1 -0
- package/dist/foundations/content/services/content.service.d.ts +25 -0
- package/dist/foundations/content/services/content.service.d.ts.map +1 -0
- package/dist/foundations/content/services/content.service.js +54 -0
- package/dist/foundations/content/services/content.service.js.map +1 -0
- package/dist/foundations/feature/controllers/feature.controller.d.ts +7 -0
- package/dist/foundations/feature/controllers/feature.controller.d.ts.map +1 -0
- package/dist/foundations/feature/controllers/feature.controller.js +47 -0
- package/dist/foundations/feature/controllers/feature.controller.js.map +1 -0
- package/dist/foundations/feature/dtos/feature.dto.d.ts +11 -0
- package/dist/foundations/feature/dtos/feature.dto.d.ts.map +1 -0
- package/dist/foundations/feature/dtos/feature.dto.js +45 -0
- package/dist/foundations/feature/dtos/feature.dto.js.map +1 -0
- package/dist/foundations/feature/entities/feature.entity.d.ts +8 -0
- package/dist/foundations/feature/entities/feature.entity.d.ts.map +1 -0
- package/dist/foundations/feature/entities/feature.entity.js +3 -0
- package/dist/foundations/feature/entities/feature.entity.js.map +1 -0
- package/dist/foundations/feature/entities/feature.map.d.ts +8 -0
- package/dist/foundations/feature/entities/feature.map.d.ts.map +1 -0
- package/dist/foundations/feature/entities/feature.map.js +14 -0
- package/dist/foundations/feature/entities/feature.map.js.map +1 -0
- package/dist/foundations/feature/entities/feature.meta.d.ts +3 -0
- package/dist/foundations/feature/entities/feature.meta.d.ts.map +1 -0
- package/dist/foundations/feature/entities/feature.meta.js +10 -0
- package/dist/foundations/feature/entities/feature.meta.js.map +1 -0
- package/dist/foundations/feature/entities/feature.model.d.ts +4 -0
- package/dist/foundations/feature/entities/feature.model.d.ts.map +1 -0
- package/dist/foundations/feature/entities/feature.model.js +15 -0
- package/dist/foundations/feature/entities/feature.model.js.map +1 -0
- package/dist/foundations/feature/feature.module.d.ts +5 -0
- package/dist/foundations/feature/feature.module.d.ts.map +1 -0
- package/dist/foundations/feature/feature.module.js +30 -0
- package/dist/foundations/feature/feature.module.js.map +1 -0
- package/dist/foundations/feature/index.d.ts +2 -0
- package/dist/foundations/feature/index.d.ts.map +1 -0
- package/dist/foundations/feature/index.js +6 -0
- package/dist/foundations/feature/index.js.map +1 -0
- package/dist/foundations/feature/repositories/feature.repository.d.ts +19 -0
- package/dist/foundations/feature/repositories/feature.repository.d.ts.map +1 -0
- package/dist/foundations/feature/repositories/feature.repository.js +64 -0
- package/dist/foundations/feature/repositories/feature.repository.js.map +1 -0
- package/dist/foundations/feature/serialisers/feature.serialiser.d.ts +12 -0
- package/dist/foundations/feature/serialisers/feature.serialiser.d.ts.map +1 -0
- package/dist/foundations/feature/serialisers/feature.serialiser.js +45 -0
- package/dist/foundations/feature/serialisers/feature.serialiser.js.map +1 -0
- package/dist/foundations/feature/services/feature.service.d.ts +16 -0
- package/dist/foundations/feature/services/feature.service.d.ts.map +1 -0
- package/dist/foundations/feature/services/feature.service.js +42 -0
- package/dist/foundations/feature/services/feature.service.js.map +1 -0
- package/dist/foundations/foundations.modules.d.ts +28 -0
- package/dist/foundations/foundations.modules.d.ts.map +1 -0
- package/dist/foundations/foundations.modules.js +85 -0
- package/dist/foundations/foundations.modules.js.map +1 -0
- package/dist/foundations/index.d.ts +22 -0
- package/dist/foundations/index.d.ts.map +1 -0
- package/dist/foundations/index.js +40 -0
- package/dist/foundations/index.js.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.entity.d.ts +8 -0
- package/dist/foundations/keyconcept/entities/key.concept.entity.d.ts.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.entity.js +3 -0
- package/dist/foundations/keyconcept/entities/key.concept.entity.js.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.map.d.ts +8 -0
- package/dist/foundations/keyconcept/entities/key.concept.map.d.ts.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.map.js +14 -0
- package/dist/foundations/keyconcept/entities/key.concept.map.js.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.meta.d.ts +3 -0
- package/dist/foundations/keyconcept/entities/key.concept.meta.d.ts.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.meta.js +10 -0
- package/dist/foundations/keyconcept/entities/key.concept.meta.js.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.model.d.ts +4 -0
- package/dist/foundations/keyconcept/entities/key.concept.model.d.ts.map +1 -0
- package/dist/foundations/keyconcept/entities/key.concept.model.js +14 -0
- package/dist/foundations/keyconcept/entities/key.concept.model.js.map +1 -0
- package/dist/foundations/keyconcept/index.d.ts +4 -0
- package/dist/foundations/keyconcept/index.d.ts.map +1 -0
- package/dist/foundations/keyconcept/index.js +8 -0
- package/dist/foundations/keyconcept/index.js.map +1 -0
- package/dist/foundations/keyconcept/keyconcept.module.d.ts +5 -0
- package/dist/foundations/keyconcept/keyconcept.module.d.ts.map +1 -0
- package/dist/foundations/keyconcept/keyconcept.module.js +29 -0
- package/dist/foundations/keyconcept/keyconcept.module.js.map +1 -0
- package/dist/foundations/keyconcept/repositories/keyconcept.repository.d.ts +54 -0
- package/dist/foundations/keyconcept/repositories/keyconcept.repository.d.ts.map +1 -0
- package/dist/foundations/keyconcept/repositories/keyconcept.repository.js +290 -0
- package/dist/foundations/keyconcept/repositories/keyconcept.repository.js.map +1 -0
- package/dist/foundations/keyconcept/services/keyconcept.service.d.ts +26 -0
- package/dist/foundations/keyconcept/services/keyconcept.service.d.ts.map +1 -0
- package/dist/foundations/keyconcept/services/keyconcept.service.js +68 -0
- package/dist/foundations/keyconcept/services/keyconcept.service.js.map +1 -0
- package/dist/foundations/module/dtos/module.dto.d.ts +11 -0
- package/dist/foundations/module/dtos/module.dto.d.ts.map +1 -0
- package/dist/foundations/module/dtos/module.dto.js +45 -0
- package/dist/foundations/module/dtos/module.dto.js.map +1 -0
- package/dist/foundations/module/entities/module.entity.d.ts +12 -0
- package/dist/foundations/module/entities/module.entity.d.ts.map +1 -0
- package/dist/foundations/module/entities/module.entity.js +3 -0
- package/dist/foundations/module/entities/module.entity.js.map +1 -0
- package/dist/foundations/module/entities/module.map.d.ts +8 -0
- package/dist/foundations/module/entities/module.map.d.ts.map +1 -0
- package/dist/foundations/module/entities/module.map.js +19 -0
- package/dist/foundations/module/entities/module.map.js.map +1 -0
- package/dist/foundations/module/entities/module.meta.d.ts +3 -0
- package/dist/foundations/module/entities/module.meta.d.ts.map +1 -0
- package/dist/foundations/module/entities/module.meta.js +10 -0
- package/dist/foundations/module/entities/module.meta.js.map +1 -0
- package/dist/foundations/module/entities/module.model.d.ts +4 -0
- package/dist/foundations/module/entities/module.model.d.ts.map +1 -0
- package/dist/foundations/module/entities/module.model.js +13 -0
- package/dist/foundations/module/entities/module.model.js.map +1 -0
- package/dist/foundations/module/enums/module.id.d.ts +11 -0
- package/dist/foundations/module/enums/module.id.d.ts.map +1 -0
- package/dist/foundations/module/enums/module.id.js +57 -0
- package/dist/foundations/module/enums/module.id.js.map +1 -0
- package/dist/foundations/module/index.d.ts +6 -0
- package/dist/foundations/module/index.d.ts.map +1 -0
- package/dist/foundations/module/index.js +12 -0
- package/dist/foundations/module/index.js.map +1 -0
- package/dist/foundations/module/module.module.d.ts +5 -0
- package/dist/foundations/module/module.module.d.ts.map +1 -0
- package/dist/foundations/module/module.module.js +29 -0
- package/dist/foundations/module/module.module.js.map +1 -0
- package/dist/foundations/module/repositories/module.repository.d.ts +10 -0
- package/dist/foundations/module/repositories/module.repository.d.ts.map +1 -0
- package/dist/foundations/module/repositories/module.repository.js +33 -0
- package/dist/foundations/module/repositories/module.repository.js.map +1 -0
- package/dist/foundations/module/serialisers/module.serialiser.d.ts +12 -0
- package/dist/foundations/module/serialisers/module.serialiser.d.ts.map +1 -0
- package/dist/foundations/module/serialisers/module.serialiser.js +46 -0
- package/dist/foundations/module/serialisers/module.serialiser.js.map +1 -0
- package/dist/foundations/notification/controllers/notification.controller.d.ts +11 -0
- package/dist/foundations/notification/controllers/notification.controller.d.ts.map +1 -0
- package/dist/foundations/notification/controllers/notification.controller.js +86 -0
- package/dist/foundations/notification/controllers/notification.controller.js.map +1 -0
- package/dist/foundations/notification/dtos/notification.patch.dto.d.ts +15 -0
- package/dist/foundations/notification/dtos/notification.patch.dto.d.ts.map +1 -0
- package/dist/foundations/notification/dtos/notification.patch.dto.js +59 -0
- package/dist/foundations/notification/dtos/notification.patch.dto.js.map +1 -0
- package/dist/foundations/notification/entities/notification.entity.d.ts +8 -0
- package/dist/foundations/notification/entities/notification.entity.d.ts.map +1 -0
- package/dist/foundations/notification/entities/notification.entity.js +3 -0
- package/dist/foundations/notification/entities/notification.entity.js.map +1 -0
- package/dist/foundations/notification/entities/notification.map.d.ts +8 -0
- package/dist/foundations/notification/entities/notification.map.d.ts.map +1 -0
- package/dist/foundations/notification/entities/notification.map.js +14 -0
- package/dist/foundations/notification/entities/notification.map.js.map +1 -0
- package/dist/foundations/notification/entities/notification.meta.d.ts +3 -0
- package/dist/foundations/notification/entities/notification.meta.d.ts.map +1 -0
- package/dist/foundations/notification/entities/notification.meta.js +10 -0
- package/dist/foundations/notification/entities/notification.meta.js.map +1 -0
- package/dist/foundations/notification/entities/notification.model.d.ts +4 -0
- package/dist/foundations/notification/entities/notification.model.d.ts.map +1 -0
- package/dist/foundations/notification/entities/notification.model.js +15 -0
- package/dist/foundations/notification/entities/notification.model.js.map +1 -0
- package/dist/foundations/notification/index.d.ts +2 -0
- package/dist/foundations/notification/index.d.ts.map +1 -0
- package/dist/foundations/notification/index.js +6 -0
- package/dist/foundations/notification/index.js.map +1 -0
- package/dist/foundations/notification/interfaces/notification.service.interface.d.ts +4 -0
- package/dist/foundations/notification/interfaces/notification.service.interface.d.ts.map +1 -0
- package/dist/foundations/notification/interfaces/notification.service.interface.js +3 -0
- package/dist/foundations/notification/interfaces/notification.service.interface.js.map +1 -0
- package/dist/foundations/notification/notification.module.d.ts +5 -0
- package/dist/foundations/notification/notification.module.d.ts.map +1 -0
- package/dist/foundations/notification/notification.module.js +31 -0
- package/dist/foundations/notification/notification.module.js.map +1 -0
- package/dist/foundations/notification/repositories/notification.repository.d.ts +31 -0
- package/dist/foundations/notification/repositories/notification.repository.d.ts.map +1 -0
- package/dist/foundations/notification/repositories/notification.repository.js +154 -0
- package/dist/foundations/notification/repositories/notification.repository.js.map +1 -0
- package/dist/foundations/notification/serialisers/notifications.serialiser.d.ts +12 -0
- package/dist/foundations/notification/serialisers/notifications.serialiser.d.ts.map +1 -0
- package/dist/foundations/notification/serialisers/notifications.serialiser.js +45 -0
- package/dist/foundations/notification/serialisers/notifications.serialiser.js.map +1 -0
- package/dist/foundations/notification/services/notification.service.d.ts +24 -0
- package/dist/foundations/notification/services/notification.service.d.ts.map +1 -0
- package/dist/foundations/notification/services/notification.service.js +47 -0
- package/dist/foundations/notification/services/notification.service.js.map +1 -0
- package/dist/foundations/push/controllers/push.controller.d.ts +8 -0
- package/dist/foundations/push/controllers/push.controller.d.ts.map +1 -0
- package/dist/foundations/push/controllers/push.controller.js +41 -0
- package/dist/foundations/push/controllers/push.controller.js.map +1 -0
- package/dist/foundations/push/dtos/subscription.push.dto.d.ts +8 -0
- package/dist/foundations/push/dtos/subscription.push.dto.d.ts.map +1 -0
- package/dist/foundations/push/dtos/subscription.push.dto.js +3 -0
- package/dist/foundations/push/dtos/subscription.push.dto.js.map +1 -0
- package/dist/foundations/push/entities/push.entity.d.ts +9 -0
- package/dist/foundations/push/entities/push.entity.d.ts.map +1 -0
- package/dist/foundations/push/entities/push.entity.js +3 -0
- package/dist/foundations/push/entities/push.entity.js.map +1 -0
- package/dist/foundations/push/entities/push.map.d.ts +8 -0
- package/dist/foundations/push/entities/push.map.d.ts.map +1 -0
- package/dist/foundations/push/entities/push.map.js +21 -0
- package/dist/foundations/push/entities/push.map.js.map +1 -0
- package/dist/foundations/push/entities/push.meta.d.ts +3 -0
- package/dist/foundations/push/entities/push.meta.d.ts.map +1 -0
- package/dist/foundations/push/entities/push.meta.js +10 -0
- package/dist/foundations/push/entities/push.meta.js.map +1 -0
- package/dist/foundations/push/entities/push.model.d.ts +4 -0
- package/dist/foundations/push/entities/push.model.d.ts.map +1 -0
- package/dist/foundations/push/entities/push.model.js +11 -0
- package/dist/foundations/push/entities/push.model.js.map +1 -0
- package/dist/foundations/push/index.d.ts +2 -0
- package/dist/foundations/push/index.d.ts.map +1 -0
- package/dist/foundations/push/index.js +6 -0
- package/dist/foundations/push/index.js.map +1 -0
- package/dist/foundations/push/push.module.d.ts +5 -0
- package/dist/foundations/push/push.module.d.ts.map +1 -0
- package/dist/foundations/push/push.module.js +30 -0
- package/dist/foundations/push/push.module.js.map +1 -0
- package/dist/foundations/push/repositories/push.repository.d.ts +18 -0
- package/dist/foundations/push/repositories/push.repository.d.ts.map +1 -0
- package/dist/foundations/push/repositories/push.repository.js +75 -0
- package/dist/foundations/push/repositories/push.repository.js.map +1 -0
- package/dist/foundations/push/services/push.service.d.ts +21 -0
- package/dist/foundations/push/services/push.service.d.ts.map +1 -0
- package/dist/foundations/push/services/push.service.js +97 -0
- package/dist/foundations/push/services/push.service.js.map +1 -0
- package/dist/foundations/relevancy/index.d.ts +5 -0
- package/dist/foundations/relevancy/index.d.ts.map +1 -0
- package/dist/foundations/relevancy/index.js +8 -0
- package/dist/foundations/relevancy/index.js.map +1 -0
- package/dist/foundations/relevancy/interfaces/relevance.repository.interface.d.ts +17 -0
- package/dist/foundations/relevancy/interfaces/relevance.repository.interface.d.ts.map +1 -0
- package/dist/foundations/relevancy/interfaces/relevance.repository.interface.js +3 -0
- package/dist/foundations/relevancy/interfaces/relevance.repository.interface.js.map +1 -0
- package/dist/foundations/relevancy/interfaces/relevance.service.interface.d.ts +17 -0
- package/dist/foundations/relevancy/interfaces/relevance.service.interface.d.ts.map +1 -0
- package/dist/foundations/relevancy/interfaces/relevance.service.interface.js +3 -0
- package/dist/foundations/relevancy/interfaces/relevance.service.interface.js.map +1 -0
- package/dist/foundations/relevancy/queries/relevance.d.ts +13 -0
- package/dist/foundations/relevancy/queries/relevance.d.ts.map +1 -0
- package/dist/foundations/relevancy/queries/relevance.js +134 -0
- package/dist/foundations/relevancy/queries/relevance.js.map +1 -0
- package/dist/foundations/relevancy/relevancy.module.d.ts +3 -0
- package/dist/foundations/relevancy/relevancy.module.d.ts.map +1 -0
- package/dist/foundations/relevancy/relevancy.module.js +23 -0
- package/dist/foundations/relevancy/relevancy.module.js.map +1 -0
- package/dist/foundations/relevancy/repositories/relevancy.repository.d.ts +31 -0
- package/dist/foundations/relevancy/repositories/relevancy.repository.d.ts.map +1 -0
- package/dist/foundations/relevancy/repositories/relevancy.repository.js +94 -0
- package/dist/foundations/relevancy/repositories/relevancy.repository.js.map +1 -0
- package/dist/foundations/relevancy/services/relevancy.service.d.ts +29 -0
- package/dist/foundations/relevancy/services/relevancy.service.d.ts.map +1 -0
- package/dist/foundations/relevancy/services/relevancy.service.js +66 -0
- package/dist/foundations/relevancy/services/relevancy.service.js.map +1 -0
- package/dist/foundations/role/controllers/role.controller.d.ts +12 -0
- package/dist/foundations/role/controllers/role.controller.d.ts.map +1 -0
- package/dist/foundations/role/controllers/role.controller.js +104 -0
- package/dist/foundations/role/controllers/role.controller.js.map +1 -0
- package/dist/foundations/role/controllers/role.user.controller.d.ts +9 -0
- package/dist/foundations/role/controllers/role.user.controller.d.ts.map +1 -0
- package/dist/foundations/role/controllers/role.user.controller.js +59 -0
- package/dist/foundations/role/controllers/role.user.controller.js.map +1 -0
- package/dist/foundations/role/dtos/role.dto.d.ts +11 -0
- package/dist/foundations/role/dtos/role.dto.d.ts.map +1 -0
- package/dist/foundations/role/dtos/role.dto.js +45 -0
- package/dist/foundations/role/dtos/role.dto.js.map +1 -0
- package/dist/foundations/role/dtos/role.post.dto.d.ts +15 -0
- package/dist/foundations/role/dtos/role.post.dto.d.ts.map +1 -0
- package/dist/foundations/role/dtos/role.post.dto.js +59 -0
- package/dist/foundations/role/dtos/role.post.dto.js.map +1 -0
- package/dist/foundations/role/entities/role.entity.d.ts +9 -0
- package/dist/foundations/role/entities/role.entity.d.ts.map +1 -0
- package/dist/foundations/role/entities/role.entity.js +3 -0
- package/dist/foundations/role/entities/role.entity.js.map +1 -0
- package/dist/foundations/role/entities/role.map.d.ts +8 -0
- package/dist/foundations/role/entities/role.map.d.ts.map +1 -0
- package/dist/foundations/role/entities/role.map.js +15 -0
- package/dist/foundations/role/entities/role.map.js.map +1 -0
- package/dist/foundations/role/entities/role.meta.d.ts +3 -0
- package/dist/foundations/role/entities/role.meta.d.ts.map +1 -0
- package/dist/foundations/role/entities/role.meta.js +10 -0
- package/dist/foundations/role/entities/role.meta.js.map +1 -0
- package/dist/foundations/role/entities/role.model.d.ts +4 -0
- package/dist/foundations/role/entities/role.model.d.ts.map +1 -0
- package/dist/foundations/role/entities/role.model.js +15 -0
- package/dist/foundations/role/entities/role.model.js.map +1 -0
- package/dist/foundations/role/index.d.ts +3 -0
- package/dist/foundations/role/index.d.ts.map +1 -0
- package/dist/foundations/role/index.js +8 -0
- package/dist/foundations/role/index.js.map +1 -0
- package/dist/foundations/role/repositories/role.repository.d.ts +47 -0
- package/dist/foundations/role/repositories/role.repository.d.ts.map +1 -0
- package/dist/foundations/role/repositories/role.repository.js +175 -0
- package/dist/foundations/role/repositories/role.repository.js.map +1 -0
- package/dist/foundations/role/role.module.d.ts +5 -0
- package/dist/foundations/role/role.module.d.ts.map +1 -0
- package/dist/foundations/role/role.module.js +32 -0
- package/dist/foundations/role/role.module.js.map +1 -0
- package/dist/foundations/role/serialisers/role.serialiser.d.ts +12 -0
- package/dist/foundations/role/serialisers/role.serialiser.d.ts.map +1 -0
- package/dist/foundations/role/serialisers/role.serialiser.js +46 -0
- package/dist/foundations/role/serialisers/role.serialiser.js.map +1 -0
- package/dist/foundations/role/services/role.service.d.ts +39 -0
- package/dist/foundations/role/services/role.service.d.ts.map +1 -0
- package/dist/foundations/role/services/role.service.js +88 -0
- package/dist/foundations/role/services/role.service.js.map +1 -0
- package/dist/foundations/s3/controllers/s3.controller.d.ts +9 -0
- package/dist/foundations/s3/controllers/s3.controller.d.ts.map +1 -0
- package/dist/foundations/s3/controllers/s3.controller.js +74 -0
- package/dist/foundations/s3/controllers/s3.controller.js.map +1 -0
- package/dist/foundations/s3/entities/s3.entity.d.ts +9 -0
- package/dist/foundations/s3/entities/s3.entity.d.ts.map +1 -0
- package/dist/foundations/s3/entities/s3.entity.js +3 -0
- package/dist/foundations/s3/entities/s3.entity.js.map +1 -0
- package/dist/foundations/s3/entities/s3.map.d.ts +8 -0
- package/dist/foundations/s3/entities/s3.map.d.ts.map +1 -0
- package/dist/foundations/s3/entities/s3.map.js +16 -0
- package/dist/foundations/s3/entities/s3.map.js.map +1 -0
- package/dist/foundations/s3/entities/s3.meta.d.ts +3 -0
- package/dist/foundations/s3/entities/s3.meta.d.ts.map +1 -0
- package/dist/foundations/s3/entities/s3.meta.js +10 -0
- package/dist/foundations/s3/entities/s3.meta.js.map +1 -0
- package/dist/foundations/s3/entities/s3.model.d.ts +4 -0
- package/dist/foundations/s3/entities/s3.model.d.ts.map +1 -0
- package/dist/foundations/s3/entities/s3.model.js +13 -0
- package/dist/foundations/s3/entities/s3.model.js.map +1 -0
- package/dist/foundations/s3/index.d.ts +3 -0
- package/dist/foundations/s3/index.d.ts.map +1 -0
- package/dist/foundations/s3/index.js +8 -0
- package/dist/foundations/s3/index.js.map +1 -0
- package/dist/foundations/s3/s3.module.d.ts +5 -0
- package/dist/foundations/s3/s3.module.d.ts.map +1 -0
- package/dist/foundations/s3/s3.module.js +29 -0
- package/dist/foundations/s3/s3.module.js.map +1 -0
- package/dist/foundations/s3/serialisers/s3.serialiser.d.ts +12 -0
- package/dist/foundations/s3/serialisers/s3.serialiser.d.ts.map +1 -0
- package/dist/foundations/s3/serialisers/s3.serialiser.js +41 -0
- package/dist/foundations/s3/serialisers/s3.serialiser.js.map +1 -0
- package/dist/foundations/s3/services/s3.service.d.ts +72 -0
- package/dist/foundations/s3/services/s3.service.d.ts.map +1 -0
- package/dist/foundations/s3/services/s3.service.js +468 -0
- package/dist/foundations/s3/services/s3.service.js.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.entity.d.ts +10 -0
- package/dist/foundations/tokenusage/entities/tokenusage.entity.d.ts.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.entity.js +3 -0
- package/dist/foundations/tokenusage/entities/tokenusage.entity.js.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.map.d.ts +8 -0
- package/dist/foundations/tokenusage/entities/tokenusage.map.d.ts.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.map.js +16 -0
- package/dist/foundations/tokenusage/entities/tokenusage.map.js.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.meta.d.ts +3 -0
- package/dist/foundations/tokenusage/entities/tokenusage.meta.d.ts.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.meta.js +10 -0
- package/dist/foundations/tokenusage/entities/tokenusage.meta.js.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.model.d.ts +4 -0
- package/dist/foundations/tokenusage/entities/tokenusage.model.d.ts.map +1 -0
- package/dist/foundations/tokenusage/entities/tokenusage.model.js +15 -0
- package/dist/foundations/tokenusage/entities/tokenusage.model.js.map +1 -0
- package/dist/foundations/tokenusage/enums/tokenusage.type.d.ts +10 -0
- package/dist/foundations/tokenusage/enums/tokenusage.type.d.ts.map +1 -0
- package/dist/foundations/tokenusage/enums/tokenusage.type.js +14 -0
- package/dist/foundations/tokenusage/enums/tokenusage.type.js.map +1 -0
- package/dist/foundations/tokenusage/index.d.ts +8 -0
- package/dist/foundations/tokenusage/index.d.ts.map +1 -0
- package/dist/foundations/tokenusage/index.js +16 -0
- package/dist/foundations/tokenusage/index.js.map +1 -0
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.d.ts +18 -0
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.d.ts.map +1 -0
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.js +60 -0
- package/dist/foundations/tokenusage/repositories/tokenusage.repository.js.map +1 -0
- package/dist/foundations/tokenusage/services/tokenusage.service.d.ts +18 -0
- package/dist/foundations/tokenusage/services/tokenusage.service.d.ts.map +1 -0
- package/dist/foundations/tokenusage/services/tokenusage.service.js +49 -0
- package/dist/foundations/tokenusage/services/tokenusage.service.js.map +1 -0
- package/dist/foundations/tokenusage/tokenusage.module.d.ts +5 -0
- package/dist/foundations/tokenusage/tokenusage.module.d.ts.map +1 -0
- package/dist/foundations/tokenusage/tokenusage.module.js +29 -0
- package/dist/foundations/tokenusage/tokenusage.module.js.map +1 -0
- package/dist/foundations/user/controllers/user.controller.d.ts +39 -0
- package/dist/foundations/user/controllers/user.controller.d.ts.map +1 -0
- package/dist/foundations/user/controllers/user.controller.js +374 -0
- package/dist/foundations/user/controllers/user.controller.js.map +1 -0
- package/dist/foundations/user/dtos/user.dto.d.ts +11 -0
- package/dist/foundations/user/dtos/user.dto.d.ts.map +1 -0
- package/dist/foundations/user/dtos/user.dto.js +45 -0
- package/dist/foundations/user/dtos/user.dto.js.map +1 -0
- package/dist/foundations/user/dtos/user.patch.rate.dto.d.ts +13 -0
- package/dist/foundations/user/dtos/user.patch.rate.dto.d.ts.map +1 -0
- package/dist/foundations/user/dtos/user.patch.rate.dto.js +54 -0
- package/dist/foundations/user/dtos/user.patch.rate.dto.js.map +1 -0
- package/dist/foundations/user/dtos/user.post.dto.d.ts +29 -0
- package/dist/foundations/user/dtos/user.post.dto.d.ts.map +1 -0
- package/dist/foundations/user/dtos/user.post.dto.js +117 -0
- package/dist/foundations/user/dtos/user.post.dto.js.map +1 -0
- package/dist/foundations/user/dtos/user.put.dto.d.ts +24 -0
- package/dist/foundations/user/dtos/user.put.dto.d.ts.map +1 -0
- package/dist/foundations/user/dtos/user.put.dto.js +100 -0
- package/dist/foundations/user/dtos/user.put.dto.js.map +1 -0
- package/dist/foundations/user/entities/user.entity.d.ts +23 -0
- package/dist/foundations/user/entities/user.entity.d.ts.map +1 -0
- package/dist/foundations/user/entities/user.entity.js +3 -0
- package/dist/foundations/user/entities/user.entity.js.map +1 -0
- package/dist/foundations/user/entities/user.map.d.ts +8 -0
- package/dist/foundations/user/entities/user.map.d.ts.map +1 -0
- package/dist/foundations/user/entities/user.map.js +27 -0
- package/dist/foundations/user/entities/user.map.js.map +1 -0
- package/dist/foundations/user/entities/user.meta.d.ts +6 -0
- package/dist/foundations/user/entities/user.meta.d.ts.map +1 -0
- package/dist/foundations/user/entities/user.meta.js +25 -0
- package/dist/foundations/user/entities/user.meta.js.map +1 -0
- package/dist/foundations/user/entities/user.model.d.ts +7 -0
- package/dist/foundations/user/entities/user.model.d.ts.map +1 -0
- package/dist/foundations/user/entities/user.model.js +30 -0
- package/dist/foundations/user/entities/user.model.js.map +1 -0
- package/dist/foundations/user/index.d.ts +11 -0
- package/dist/foundations/user/index.d.ts.map +1 -0
- package/dist/foundations/user/index.js +41 -0
- package/dist/foundations/user/index.js.map +1 -0
- package/dist/foundations/user/repositories/user.repository.d.ts +109 -0
- package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -0
- package/dist/foundations/user/repositories/user.repository.js +491 -0
- package/dist/foundations/user/repositories/user.repository.js.map +1 -0
- package/dist/foundations/user/serialisers/user.serialiser.d.ts +14 -0
- package/dist/foundations/user/serialisers/user.serialiser.d.ts.map +1 -0
- package/dist/foundations/user/serialisers/user.serialiser.js +80 -0
- package/dist/foundations/user/serialisers/user.serialiser.js.map +1 -0
- package/dist/foundations/user/services/user.cypher.service.d.ts +13 -0
- package/dist/foundations/user/services/user.cypher.service.d.ts.map +1 -0
- package/dist/foundations/user/services/user.cypher.service.js +46 -0
- package/dist/foundations/user/services/user.cypher.service.js.map +1 -0
- package/dist/foundations/user/services/user.service.d.ts +107 -0
- package/dist/foundations/user/services/user.service.d.ts.map +1 -0
- package/dist/foundations/user/services/user.service.js +231 -0
- package/dist/foundations/user/services/user.service.js.map +1 -0
- package/dist/foundations/user/user.module.d.ts +5 -0
- package/dist/foundations/user/user.module.d.ts.map +1 -0
- package/dist/foundations/user/user.module.js +38 -0
- package/dist/foundations/user/user.module.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +34 -0
- package/dist/index.js.map +1 -0
- package/dist/tools/migrate-entity/index.js +65 -0
- package/dist/tools/migrate-entity/lib/ast-parser.js +543 -0
- package/dist/tools/migrate-entity/lib/descriptor-generator.js +385 -0
- package/dist/tools/migrate-entity/lib/entity-migrator.js +300 -0
- package/dist/tools/migrate-entity/lib/file-discovery.js +123 -0
- package/dist/tools/migrate-entity/lib/module-updater.js +131 -0
- package/dist/tools/migrate-entity/lib/reference-updater.js +304 -0
- package/dist/tools/migrate-entity/lib/types.js +7 -0
- package/package.json +181 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Entity Migration CLI - File Discovery Module
|
|
4
|
+
*
|
|
5
|
+
* Discovers old-style entity files within a module path.
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
19
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
20
|
+
}) : function(o, v) {
|
|
21
|
+
o["default"] = v;
|
|
22
|
+
});
|
|
23
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
24
|
+
var ownKeys = function(o) {
|
|
25
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
26
|
+
var ar = [];
|
|
27
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
28
|
+
return ar;
|
|
29
|
+
};
|
|
30
|
+
return ownKeys(o);
|
|
31
|
+
};
|
|
32
|
+
return function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
})();
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.discoverOldFiles = discoverOldFiles;
|
|
42
|
+
exports.getModulePath = getModulePath;
|
|
43
|
+
exports.discoverAllModulePaths = discoverAllModulePaths;
|
|
44
|
+
exports.isAlreadyMigrated = isAlreadyMigrated;
|
|
45
|
+
const fs = __importStar(require("fs"));
|
|
46
|
+
const path = __importStar(require("path"));
|
|
47
|
+
const glob_1 = require("glob");
|
|
48
|
+
/**
|
|
49
|
+
* Discovers all old-style entity files within a module path.
|
|
50
|
+
*
|
|
51
|
+
* @param modulePath - Path to the module folder (e.g., "src/features/article")
|
|
52
|
+
* @param entityName - Optional specific entity name to filter by
|
|
53
|
+
* @returns Array of discovered entity file sets
|
|
54
|
+
*/
|
|
55
|
+
async function discoverOldFiles(modulePath, entityName) {
|
|
56
|
+
const absolutePath = path.isAbsolute(modulePath) ? modulePath : path.resolve(process.cwd(), modulePath);
|
|
57
|
+
// Find all *.meta.ts files to identify entities
|
|
58
|
+
const metaPattern = path.join(absolutePath, "**/*.meta.ts");
|
|
59
|
+
const metaFiles = await (0, glob_1.glob)(metaPattern, { nodir: true });
|
|
60
|
+
// Filter by entity name if provided
|
|
61
|
+
const filtered = entityName ? metaFiles.filter((f) => f.includes(`${entityName}.meta.ts`)) : metaFiles;
|
|
62
|
+
return filtered.map((metaFile) => {
|
|
63
|
+
const baseName = metaFile.replace(".meta.ts", "");
|
|
64
|
+
const dir = path.dirname(metaFile);
|
|
65
|
+
const name = path.basename(baseName);
|
|
66
|
+
// Entity file can be either {name}.ts or {name}.entity.ts
|
|
67
|
+
const entityFile = fs.existsSync(`${baseName}.entity.ts`)
|
|
68
|
+
? `${baseName}.entity.ts`
|
|
69
|
+
: fs.existsSync(`${baseName}.ts`)
|
|
70
|
+
? `${baseName}.ts`
|
|
71
|
+
: null;
|
|
72
|
+
return {
|
|
73
|
+
entityName: name,
|
|
74
|
+
entityDir: dir,
|
|
75
|
+
entity: entityFile,
|
|
76
|
+
meta: metaFile,
|
|
77
|
+
model: fs.existsSync(`${baseName}.model.ts`) ? `${baseName}.model.ts` : null,
|
|
78
|
+
map: fs.existsSync(`${baseName}.map.ts`) ? `${baseName}.map.ts` : null,
|
|
79
|
+
serialiser: findSerialiserFile(absolutePath, name),
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Finds the serialiser file for an entity, checking common locations.
|
|
85
|
+
*/
|
|
86
|
+
function findSerialiserFile(modulePath, entityName) {
|
|
87
|
+
const candidates = [
|
|
88
|
+
path.join(modulePath, "serialisers", `${entityName}.serialiser.ts`),
|
|
89
|
+
path.join(modulePath, `${entityName}.serialiser.ts`),
|
|
90
|
+
path.join(modulePath, "entities", `${entityName}.serialiser.ts`),
|
|
91
|
+
];
|
|
92
|
+
return candidates.find((c) => fs.existsSync(c)) || null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Gets the module path from a file path.
|
|
96
|
+
* Extracts the feature/foundation module directory.
|
|
97
|
+
*/
|
|
98
|
+
function getModulePath(filePath) {
|
|
99
|
+
// Match patterns like src/features/article/... or src/foundations/user/...
|
|
100
|
+
const match = filePath.match(/(src\/(features|foundations)\/[^/]+)/);
|
|
101
|
+
return match ? match[1] : path.dirname(filePath);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Discovers all module paths in the codebase that contain old-style entities.
|
|
105
|
+
*/
|
|
106
|
+
async function discoverAllModulePaths() {
|
|
107
|
+
const metaPattern = "src/**/*.meta.ts";
|
|
108
|
+
const metaFiles = await (0, glob_1.glob)(metaPattern, { nodir: true, cwd: process.cwd() });
|
|
109
|
+
const modulePaths = new Set();
|
|
110
|
+
for (const metaFile of metaFiles) {
|
|
111
|
+
modulePaths.add(getModulePath(metaFile));
|
|
112
|
+
}
|
|
113
|
+
return Array.from(modulePaths);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Checks if an entity has already been migrated to the new descriptor pattern.
|
|
117
|
+
*/
|
|
118
|
+
function isAlreadyMigrated(files) {
|
|
119
|
+
if (!files.entity)
|
|
120
|
+
return false;
|
|
121
|
+
const entityContent = fs.readFileSync(files.entity, "utf-8");
|
|
122
|
+
return entityContent.includes("defineEntity<");
|
|
123
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Entity Migration CLI - Module Updater
|
|
4
|
+
*
|
|
5
|
+
* Updates the entity's module file to use the new descriptor pattern.
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
19
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
20
|
+
}) : function(o, v) {
|
|
21
|
+
o["default"] = v;
|
|
22
|
+
});
|
|
23
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
24
|
+
var ownKeys = function(o) {
|
|
25
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
26
|
+
var ar = [];
|
|
27
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
28
|
+
return ar;
|
|
29
|
+
};
|
|
30
|
+
return ownKeys(o);
|
|
31
|
+
};
|
|
32
|
+
return function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
})();
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.findModuleFile = findModuleFile;
|
|
42
|
+
exports.updateModule = updateModule;
|
|
43
|
+
exports.formatModuleContent = formatModuleContent;
|
|
44
|
+
exports.findModuleFiles = findModuleFiles;
|
|
45
|
+
const fs = __importStar(require("fs"));
|
|
46
|
+
const path = __importStar(require("path"));
|
|
47
|
+
const glob_1 = require("glob");
|
|
48
|
+
/**
|
|
49
|
+
* Finds the module file for an entity.
|
|
50
|
+
*/
|
|
51
|
+
async function findModuleFile(modulePath) {
|
|
52
|
+
const pattern = path.join(modulePath, "*.module.ts");
|
|
53
|
+
const files = await (0, glob_1.glob)(pattern, { nodir: true });
|
|
54
|
+
return files.length > 0 ? files[0] : null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Updates the module file to use the new descriptor pattern.
|
|
58
|
+
*/
|
|
59
|
+
function updateModule(modulePath, entityName, labelName) {
|
|
60
|
+
const content = fs.readFileSync(modulePath, "utf-8");
|
|
61
|
+
const changes = [];
|
|
62
|
+
const descriptorName = `${labelName}Descriptor`;
|
|
63
|
+
const modelName = `${labelName}Model`;
|
|
64
|
+
const serialiserName = `${labelName}Serialiser`;
|
|
65
|
+
let updatedContent = content;
|
|
66
|
+
// 1. Update import: EntityModel -> EntityDescriptor
|
|
67
|
+
const modelImportPattern = new RegExp(`import\\s*\\{\\s*${modelName}\\s*\\}\\s*from\\s*["'][^"']+\\.model["'];?`, "g");
|
|
68
|
+
if (modelImportPattern.test(updatedContent)) {
|
|
69
|
+
// Replace the import path
|
|
70
|
+
const oldImport = updatedContent.match(modelImportPattern)?.[0] || "";
|
|
71
|
+
const newImportPath = oldImport
|
|
72
|
+
.replace(`{ ${modelName} }`, `{ ${descriptorName} }`)
|
|
73
|
+
.replace(".model", "");
|
|
74
|
+
updatedContent = updatedContent.replace(modelImportPattern, newImportPath);
|
|
75
|
+
changes.push(`Updated import: ${modelName} -> ${descriptorName}`);
|
|
76
|
+
}
|
|
77
|
+
// 2. Remove serialiser import (it's now auto-generated)
|
|
78
|
+
const serialiserImportPattern = new RegExp(`import\\s*\\{\\s*${serialiserName}\\s*\\}\\s*from\\s*["'][^"']+["'];?\\n?`, "g");
|
|
79
|
+
if (serialiserImportPattern.test(updatedContent)) {
|
|
80
|
+
updatedContent = updatedContent.replace(serialiserImportPattern, "");
|
|
81
|
+
changes.push(`Removed import: ${serialiserName} (now auto-generated)`);
|
|
82
|
+
}
|
|
83
|
+
// 3. Update providers: EntitySerialiser -> EntityDescriptor.model.serialiser
|
|
84
|
+
const serialiserProviderPattern = new RegExp(`\\b${serialiserName}\\b(?!\\.)`, "g");
|
|
85
|
+
if (serialiserProviderPattern.test(updatedContent)) {
|
|
86
|
+
updatedContent = updatedContent.replace(serialiserProviderPattern, `${descriptorName}.model.serialiser`);
|
|
87
|
+
changes.push(`Updated provider: ${serialiserName} -> ${descriptorName}.model.serialiser`);
|
|
88
|
+
}
|
|
89
|
+
// 4. Update modelRegistry.register(EntityModel) -> modelRegistry.register(EntityDescriptor.model)
|
|
90
|
+
const registryPattern = new RegExp(`modelRegistry\\.register\\(${modelName}\\)`, "g");
|
|
91
|
+
if (registryPattern.test(updatedContent)) {
|
|
92
|
+
updatedContent = updatedContent.replace(registryPattern, `modelRegistry.register(${descriptorName}.model)`);
|
|
93
|
+
changes.push(`Updated registry: modelRegistry.register(${modelName}) -> modelRegistry.register(${descriptorName}.model)`);
|
|
94
|
+
}
|
|
95
|
+
// 5. Update any other standalone EntityModel usages
|
|
96
|
+
const standaloneModelPattern = new RegExp(`\\b${modelName}\\b(?!\\.)`, "g");
|
|
97
|
+
if (standaloneModelPattern.test(updatedContent)) {
|
|
98
|
+
updatedContent = updatedContent.replace(standaloneModelPattern, `${descriptorName}.model`);
|
|
99
|
+
changes.push(`Updated standalone ${modelName} usages`);
|
|
100
|
+
}
|
|
101
|
+
if (changes.length === 0) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
modulePath,
|
|
106
|
+
changes,
|
|
107
|
+
updatedContent,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Generates the updated module content with proper formatting.
|
|
112
|
+
*/
|
|
113
|
+
function formatModuleContent(content) {
|
|
114
|
+
// Remove duplicate empty lines
|
|
115
|
+
let formatted = content.replace(/\n{3,}/g, "\n\n");
|
|
116
|
+
// Ensure single newline at end of file
|
|
117
|
+
formatted = formatted.trimEnd() + "\n";
|
|
118
|
+
return formatted;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Finds all files in the module that need updating.
|
|
122
|
+
* This includes controllers, services, repositories, etc.
|
|
123
|
+
*/
|
|
124
|
+
async function findModuleFiles(modulePath) {
|
|
125
|
+
const pattern = path.join(modulePath, "**/*.ts");
|
|
126
|
+
const files = await (0, glob_1.glob)(pattern, { nodir: true });
|
|
127
|
+
// Exclude node_modules, dist, and test files
|
|
128
|
+
return files.filter((f) => {
|
|
129
|
+
return !f.includes("node_modules") && !f.includes("/dist/") && !f.endsWith(".spec.ts");
|
|
130
|
+
});
|
|
131
|
+
}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Entity Migration CLI - Reference Updater Module
|
|
4
|
+
*
|
|
5
|
+
* Finds and updates external references to old-style entity exports.
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
19
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
20
|
+
}) : function(o, v) {
|
|
21
|
+
o["default"] = v;
|
|
22
|
+
});
|
|
23
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
24
|
+
var ownKeys = function(o) {
|
|
25
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
26
|
+
var ar = [];
|
|
27
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
28
|
+
return ar;
|
|
29
|
+
};
|
|
30
|
+
return ownKeys(o);
|
|
31
|
+
};
|
|
32
|
+
return function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
})();
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.findExternalReferences = findExternalReferences;
|
|
42
|
+
exports.updateFileReferences = updateFileReferences;
|
|
43
|
+
exports.summarizeReferences = summarizeReferences;
|
|
44
|
+
const fs = __importStar(require("fs"));
|
|
45
|
+
const path = __importStar(require("path"));
|
|
46
|
+
const glob_1 = require("glob");
|
|
47
|
+
/**
|
|
48
|
+
* Finds all external files that reference the old entity exports.
|
|
49
|
+
*/
|
|
50
|
+
async function findExternalReferences(entityName, labelName, srcDir = "src") {
|
|
51
|
+
const references = [];
|
|
52
|
+
// Patterns to search for
|
|
53
|
+
const metaName = `${entityName}Meta`;
|
|
54
|
+
const modelName = `${labelName}Model`;
|
|
55
|
+
const entityTypeName = labelName; // e.g., "Article"
|
|
56
|
+
// Find all TypeScript files
|
|
57
|
+
const tsFiles = await (0, glob_1.glob)(`${srcDir}/**/*.ts`, { nodir: true, cwd: process.cwd() });
|
|
58
|
+
for (const filePath of tsFiles) {
|
|
59
|
+
const absolutePath = path.resolve(process.cwd(), filePath);
|
|
60
|
+
const content = fs.readFileSync(absolutePath, "utf-8");
|
|
61
|
+
// Check if file imports or uses the old exports
|
|
62
|
+
const hasOldPatterns = content.includes(metaName) ||
|
|
63
|
+
content.includes(modelName) ||
|
|
64
|
+
content.includes(`${entityName}.entity`) ||
|
|
65
|
+
content.includes(`${entityName}.meta`) ||
|
|
66
|
+
content.includes(`${entityName}.model`);
|
|
67
|
+
if (!hasOldPatterns) {
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
const usages = findUsagesInFile(content, metaName, modelName, labelName);
|
|
71
|
+
// Find all old imports that need updating
|
|
72
|
+
const oldImports = extractAllOldImports(content, entityName, metaName, modelName, entityTypeName);
|
|
73
|
+
if (usages.length === 0 && oldImports.length === 0)
|
|
74
|
+
continue;
|
|
75
|
+
// Calculate new import
|
|
76
|
+
const newImport = calculateNewImport(oldImports, entityName, labelName);
|
|
77
|
+
references.push({
|
|
78
|
+
filePath: absolutePath,
|
|
79
|
+
oldImport: oldImports.join("\n"), // Store all old imports
|
|
80
|
+
newImport,
|
|
81
|
+
usages,
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
return references;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Finds all usages of old exports within a file (excluding import lines).
|
|
88
|
+
*/
|
|
89
|
+
function findUsagesInFile(content, metaName, modelName, labelName) {
|
|
90
|
+
const usages = [];
|
|
91
|
+
const lines = content.split("\n");
|
|
92
|
+
const descriptorName = `${labelName}Descriptor`;
|
|
93
|
+
for (let i = 0; i < lines.length; i++) {
|
|
94
|
+
const line = lines[i];
|
|
95
|
+
const lineNumber = i + 1;
|
|
96
|
+
// Skip import lines (handled separately)
|
|
97
|
+
if (line.trim().startsWith("import "))
|
|
98
|
+
continue;
|
|
99
|
+
// Check for meta usage patterns
|
|
100
|
+
if (line.includes(metaName)) {
|
|
101
|
+
// Pattern: entityMeta.property -> EntityDescriptor.model.property
|
|
102
|
+
const metaPattern = new RegExp(`${metaName}\\.(\\w+)`, "g");
|
|
103
|
+
let match;
|
|
104
|
+
while ((match = metaPattern.exec(line)) !== null) {
|
|
105
|
+
usages.push({
|
|
106
|
+
line: lineNumber,
|
|
107
|
+
oldText: `${metaName}.${match[1]}`,
|
|
108
|
+
newText: `${descriptorName}.model.${match[1]}`,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
// Pattern: standalone metaName usage (not followed by .)
|
|
112
|
+
const standaloneMetaPattern = new RegExp(`\\b${metaName}\\b(?!\\.)`, "g");
|
|
113
|
+
if (standaloneMetaPattern.test(line)) {
|
|
114
|
+
usages.push({
|
|
115
|
+
line: lineNumber,
|
|
116
|
+
oldText: metaName,
|
|
117
|
+
newText: `${descriptorName}.model`,
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
// Check for model usage patterns
|
|
122
|
+
if (line.includes(modelName)) {
|
|
123
|
+
// Pattern: EntityModel.property -> EntityDescriptor.model.property
|
|
124
|
+
const modelPropertyPattern = new RegExp(`${modelName}\\.(\\w+)`, "g");
|
|
125
|
+
let match;
|
|
126
|
+
while ((match = modelPropertyPattern.exec(line)) !== null) {
|
|
127
|
+
usages.push({
|
|
128
|
+
line: lineNumber,
|
|
129
|
+
oldText: `${modelName}.${match[1]}`,
|
|
130
|
+
newText: `${descriptorName}.model.${match[1]}`,
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
// Pattern: serialiserFactory.create(EntityModel) -> serialiserFactory.create(EntityDescriptor.model)
|
|
134
|
+
if (line.includes(`serialiserFactory.create(${modelName})`)) {
|
|
135
|
+
usages.push({
|
|
136
|
+
line: lineNumber,
|
|
137
|
+
oldText: `serialiserFactory.create(${modelName})`,
|
|
138
|
+
newText: `serialiserFactory.create(${descriptorName}.model)`,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
// Pattern: modelRegistry.register(EntityModel) -> modelRegistry.register(EntityDescriptor.model)
|
|
142
|
+
if (line.includes(`modelRegistry.register(${modelName})`)) {
|
|
143
|
+
usages.push({
|
|
144
|
+
line: lineNumber,
|
|
145
|
+
oldText: `modelRegistry.register(${modelName})`,
|
|
146
|
+
newText: `modelRegistry.register(${descriptorName}.model)`,
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
// Pattern: standalone EntityModel usage (not followed by .)
|
|
150
|
+
// But NOT inside a property access pattern we already handled
|
|
151
|
+
if (!line.includes(`${modelName}.`)) {
|
|
152
|
+
const standalonePattern = new RegExp(`\\b${modelName}\\b`, "g");
|
|
153
|
+
if (standalonePattern.test(line)) {
|
|
154
|
+
usages.push({
|
|
155
|
+
line: lineNumber,
|
|
156
|
+
oldText: modelName,
|
|
157
|
+
newText: `${descriptorName}.model`,
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
// Deduplicate usages for the same line and text
|
|
164
|
+
return deduplicateUsages(usages);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Extracts ALL old import statements related to the entity.
|
|
168
|
+
*/
|
|
169
|
+
function extractAllOldImports(content, entityName, metaName, modelName, entityTypeName) {
|
|
170
|
+
const imports = [];
|
|
171
|
+
const lines = content.split("\n");
|
|
172
|
+
for (const line of lines) {
|
|
173
|
+
if (!line.trim().startsWith("import "))
|
|
174
|
+
continue;
|
|
175
|
+
// Check for various import patterns
|
|
176
|
+
const isEntityImport = line.includes(metaName) ||
|
|
177
|
+
line.includes(modelName) ||
|
|
178
|
+
(line.includes(`${entityName}.entity`) && line.includes(entityTypeName)) ||
|
|
179
|
+
line.includes(`${entityName}.meta`) ||
|
|
180
|
+
line.includes(`${entityName}.model`);
|
|
181
|
+
if (isEntityImport) {
|
|
182
|
+
imports.push(line);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
return imports;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Calculates the new import statement, consolidating all old imports.
|
|
189
|
+
*/
|
|
190
|
+
function calculateNewImport(oldImports, entityName, labelName) {
|
|
191
|
+
const descriptorName = `${labelName}Descriptor`;
|
|
192
|
+
const imports = [];
|
|
193
|
+
let importPath = null;
|
|
194
|
+
// Determine what to import
|
|
195
|
+
let needsDescriptor = false;
|
|
196
|
+
let needsEntityType = false;
|
|
197
|
+
for (const oldImport of oldImports) {
|
|
198
|
+
// Check what's being imported
|
|
199
|
+
if (oldImport.includes("Meta") || oldImport.includes("Model")) {
|
|
200
|
+
needsDescriptor = true;
|
|
201
|
+
}
|
|
202
|
+
// Check if the entity type itself is imported
|
|
203
|
+
const entityTypePattern = new RegExp(`\\b${labelName}\\b`);
|
|
204
|
+
if (entityTypePattern.test(oldImport) && !oldImport.includes("Model") && !oldImport.includes("Meta")) {
|
|
205
|
+
needsEntityType = true;
|
|
206
|
+
}
|
|
207
|
+
// Extract path for the new import
|
|
208
|
+
const pathMatch = oldImport.match(/from\s+["']([^"']+)["']/);
|
|
209
|
+
if (pathMatch && !importPath) {
|
|
210
|
+
let extractedPath = pathMatch[1];
|
|
211
|
+
// Remove suffixes to get base path
|
|
212
|
+
extractedPath = extractedPath.replace(/\.(meta|model|entity)$/, "");
|
|
213
|
+
importPath = extractedPath;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
if (!importPath) {
|
|
217
|
+
// Fallback: construct path from entity name
|
|
218
|
+
importPath = `src/features/${entityName}/entities/${entityName}`;
|
|
219
|
+
}
|
|
220
|
+
// Build import list
|
|
221
|
+
if (needsDescriptor) {
|
|
222
|
+
imports.push(descriptorName);
|
|
223
|
+
}
|
|
224
|
+
if (needsEntityType) {
|
|
225
|
+
imports.push(labelName);
|
|
226
|
+
}
|
|
227
|
+
if (imports.length === 0) {
|
|
228
|
+
imports.push(descriptorName); // Default to descriptor
|
|
229
|
+
}
|
|
230
|
+
return `import { ${imports.join(", ")} } from "${importPath}";`;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Updates a file with the new references.
|
|
234
|
+
*/
|
|
235
|
+
function updateFileReferences(filePath, reference) {
|
|
236
|
+
let content = fs.readFileSync(filePath, "utf-8");
|
|
237
|
+
const lines = content.split("\n");
|
|
238
|
+
const newLines = [];
|
|
239
|
+
// Track which old imports we need to remove
|
|
240
|
+
const oldImportLines = new Set(reference.oldImport.split("\n"));
|
|
241
|
+
let newImportAdded = false;
|
|
242
|
+
// First pass: handle imports
|
|
243
|
+
for (const line of lines) {
|
|
244
|
+
if (oldImportLines.has(line)) {
|
|
245
|
+
// Replace first old import with new import, skip rest
|
|
246
|
+
if (!newImportAdded) {
|
|
247
|
+
newLines.push(reference.newImport);
|
|
248
|
+
newImportAdded = true;
|
|
249
|
+
}
|
|
250
|
+
// Skip this old import line
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
newLines.push(line);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
content = newLines.join("\n");
|
|
257
|
+
// Second pass: apply usage replacements (only to non-import lines)
|
|
258
|
+
// Sort by length descending to replace longer patterns first
|
|
259
|
+
const sortedUsages = [...reference.usages].sort((a, b) => b.oldText.length - a.oldText.length);
|
|
260
|
+
for (const usage of sortedUsages) {
|
|
261
|
+
// Use a regex that doesn't match inside import statements
|
|
262
|
+
const lines2 = content.split("\n");
|
|
263
|
+
const updatedLines = [];
|
|
264
|
+
for (const line of lines2) {
|
|
265
|
+
if (line.trim().startsWith("import ")) {
|
|
266
|
+
// Don't modify import lines
|
|
267
|
+
updatedLines.push(line);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
// Replace in non-import lines
|
|
271
|
+
updatedLines.push(line.split(usage.oldText).join(usage.newText));
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
content = updatedLines.join("\n");
|
|
275
|
+
}
|
|
276
|
+
return content;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Deduplicates usages that have the same oldText.
|
|
280
|
+
*/
|
|
281
|
+
function deduplicateUsages(usages) {
|
|
282
|
+
const seen = new Set();
|
|
283
|
+
return usages.filter((usage) => {
|
|
284
|
+
// Dedupe by oldText only (not line) to avoid multiple replacements
|
|
285
|
+
if (seen.has(usage.oldText))
|
|
286
|
+
return false;
|
|
287
|
+
seen.add(usage.oldText);
|
|
288
|
+
return true;
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Generates a summary of all reference changes.
|
|
293
|
+
*/
|
|
294
|
+
function summarizeReferences(references) {
|
|
295
|
+
if (references.length === 0) {
|
|
296
|
+
return "No external references found.";
|
|
297
|
+
}
|
|
298
|
+
let summary = `Found ${references.length} files with references:\n`;
|
|
299
|
+
for (const ref of references) {
|
|
300
|
+
const relativePath = path.relative(process.cwd(), ref.filePath);
|
|
301
|
+
summary += ` - ${relativePath} (${ref.usages.length} changes)\n`;
|
|
302
|
+
}
|
|
303
|
+
return summary;
|
|
304
|
+
}
|