@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,634 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
41
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
42
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
43
|
+
};
|
|
44
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.SemanticSplitterService = void 0;
|
|
49
|
+
const docx_1 = require("@langchain/community/document_loaders/fs/docx");
|
|
50
|
+
const documents_1 = require("@langchain/core/documents");
|
|
51
|
+
const textsplitters_1 = require("@langchain/textsplitters");
|
|
52
|
+
const common_1 = require("@nestjs/common");
|
|
53
|
+
const math = __importStar(require("mathjs"));
|
|
54
|
+
const natural = __importStar(require("natural"));
|
|
55
|
+
const model_service_1 = require("../../../../core/llm/services/model.service");
|
|
56
|
+
const turndown_1 = __importDefault(require("turndown"));
|
|
57
|
+
const text_loader_1 = require("../../loaders/text.loader");
|
|
58
|
+
const pdf = require("pdf-parse");
|
|
59
|
+
const fs = require("fs");
|
|
60
|
+
const _ = require("lodash");
|
|
61
|
+
let SemanticSplitterService = class SemanticSplitterService {
|
|
62
|
+
constructor(modelService) {
|
|
63
|
+
this.modelService = modelService;
|
|
64
|
+
}
|
|
65
|
+
async loadTextFile(relativePath) {
|
|
66
|
+
const loader = new text_loader_1.TextLoader(relativePath);
|
|
67
|
+
const docs = await loader.load();
|
|
68
|
+
const textCorpus = docs[0].pageContent;
|
|
69
|
+
return textCorpus;
|
|
70
|
+
}
|
|
71
|
+
async loadHtmlFile(relativePath) {
|
|
72
|
+
if (!fs.existsSync(relativePath)) {
|
|
73
|
+
throw new Error(`File not found: ${relativePath}`);
|
|
74
|
+
}
|
|
75
|
+
return fs.readFileSync(relativePath, "utf-8");
|
|
76
|
+
}
|
|
77
|
+
normalizeContent(content) {
|
|
78
|
+
return content
|
|
79
|
+
.replace(/\s+/g, " ") // Collapse all whitespace into single spaces
|
|
80
|
+
.trim(); // Remove leading and trailing whitespace
|
|
81
|
+
}
|
|
82
|
+
async splitHtmlContent(htmlContent) {
|
|
83
|
+
const splitter = textsplitters_1.RecursiveCharacterTextSplitter.fromLanguage("html", {
|
|
84
|
+
chunkSize: 1000,
|
|
85
|
+
chunkOverlap: 500,
|
|
86
|
+
});
|
|
87
|
+
const parts = await splitter.createDocuments([htmlContent]);
|
|
88
|
+
const turndownService = new turndown_1.default();
|
|
89
|
+
const chunks = parts.map((part) => {
|
|
90
|
+
return turndownService.turndown(this.normalizeContent(part.pageContent));
|
|
91
|
+
});
|
|
92
|
+
return chunks;
|
|
93
|
+
}
|
|
94
|
+
async loadDocxFile(relativePath) {
|
|
95
|
+
const loader = new docx_1.DocxLoader(relativePath);
|
|
96
|
+
const docs = await loader.load();
|
|
97
|
+
const textCorpus = docs[0].pageContent;
|
|
98
|
+
return textCorpus;
|
|
99
|
+
}
|
|
100
|
+
async loadPdfFile(relativePath) {
|
|
101
|
+
const pdfBuffer = fs.readFileSync(relativePath);
|
|
102
|
+
const pdfData = await pdf(pdfBuffer);
|
|
103
|
+
return pdfData.text;
|
|
104
|
+
}
|
|
105
|
+
splitToSentencesUsingNLP(textCorpus) {
|
|
106
|
+
const tokenizer = new natural.SentenceTokenizer([]);
|
|
107
|
+
const sentences = tokenizer.tokenize(textCorpus);
|
|
108
|
+
return sentences;
|
|
109
|
+
}
|
|
110
|
+
quantile(arr, q) {
|
|
111
|
+
if (!arr || arr.length === 0)
|
|
112
|
+
return undefined;
|
|
113
|
+
if (q < 0 || q > 1)
|
|
114
|
+
return undefined;
|
|
115
|
+
const sorted = _.sortBy(arr);
|
|
116
|
+
// Handle single element case
|
|
117
|
+
if (sorted.length === 1)
|
|
118
|
+
return sorted[0];
|
|
119
|
+
const pos = (sorted.length - 1) * q;
|
|
120
|
+
const base = Math.floor(pos);
|
|
121
|
+
const rest = pos - base;
|
|
122
|
+
if (sorted[base + 1] !== undefined) {
|
|
123
|
+
return sorted[base] + rest * (sorted[base + 1] - sorted[base]);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
return sorted[base];
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
async splitToSentences(textCorpus) {
|
|
130
|
+
const splitter = new textsplitters_1.RecursiveCharacterTextSplitter({
|
|
131
|
+
chunkSize: 200,
|
|
132
|
+
chunkOverlap: 20,
|
|
133
|
+
});
|
|
134
|
+
const output = await splitter.createDocuments([textCorpus]);
|
|
135
|
+
return output.map((out) => out.pageContent);
|
|
136
|
+
}
|
|
137
|
+
structureSentences(sentences, bufferSize = 1) {
|
|
138
|
+
const sentenceObjectArray = sentences.map((sentence, i) => ({
|
|
139
|
+
sentence,
|
|
140
|
+
index: i,
|
|
141
|
+
}));
|
|
142
|
+
sentenceObjectArray.forEach((currentSentenceObject, i) => {
|
|
143
|
+
let combinedSentence = "";
|
|
144
|
+
for (let j = i - bufferSize; j < i; j++) {
|
|
145
|
+
if (j >= 0) {
|
|
146
|
+
combinedSentence += sentenceObjectArray[j].sentence + " ";
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
combinedSentence += currentSentenceObject.sentence + " ";
|
|
150
|
+
for (let j = i + 1; j <= i + bufferSize; j++) {
|
|
151
|
+
if (j < sentenceObjectArray.length) {
|
|
152
|
+
combinedSentence += sentenceObjectArray[j].sentence;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
sentenceObjectArray[i].combined_sentence = combinedSentence.trim();
|
|
156
|
+
});
|
|
157
|
+
return sentenceObjectArray;
|
|
158
|
+
}
|
|
159
|
+
async generateAndAttachEmbeddings(sentencesArray) {
|
|
160
|
+
try {
|
|
161
|
+
/* Create embedding instance */
|
|
162
|
+
const embeddings = this.modelService.getEmbedder();
|
|
163
|
+
// Deep copy the sentencesArray to ensure purity
|
|
164
|
+
const sentencesArrayCopy = sentencesArray.map((sentenceObject) => ({
|
|
165
|
+
...sentenceObject,
|
|
166
|
+
combined_sentence_embedding: sentenceObject.combined_sentence_embedding
|
|
167
|
+
? [...sentenceObject.combined_sentence_embedding]
|
|
168
|
+
: undefined,
|
|
169
|
+
}));
|
|
170
|
+
// Extract combined sentences for embedding
|
|
171
|
+
const combinedSentencesStrings = sentencesArrayCopy
|
|
172
|
+
.filter((item) => item.combined_sentence !== undefined)
|
|
173
|
+
.map((item) => item.combined_sentence);
|
|
174
|
+
// Handle case where no sentences to embed
|
|
175
|
+
if (combinedSentencesStrings.length === 0) {
|
|
176
|
+
console.warn("No sentences found for embedding generation");
|
|
177
|
+
return sentencesArrayCopy;
|
|
178
|
+
}
|
|
179
|
+
// Generate embeddings for the combined sentences
|
|
180
|
+
const embeddingsArray = await embeddings.embedDocuments(combinedSentencesStrings);
|
|
181
|
+
// Attach embeddings to the corresponding SentenceObject in the copied array
|
|
182
|
+
let embeddingIndex = 0;
|
|
183
|
+
for (let i = 0; i < sentencesArrayCopy.length; i++) {
|
|
184
|
+
if (sentencesArrayCopy[i].combined_sentence !== undefined) {
|
|
185
|
+
if (embeddingIndex < embeddingsArray.length) {
|
|
186
|
+
sentencesArrayCopy[i].combined_sentence_embedding = embeddingsArray[embeddingIndex++];
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
console.warn(`Missing embedding for sentence at index ${i}`);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
return sentencesArrayCopy;
|
|
194
|
+
}
|
|
195
|
+
catch (error) {
|
|
196
|
+
console.error("Error generating embeddings, returning sentences without embeddings:", error);
|
|
197
|
+
// Return the original sentences without embeddings rather than failing completely
|
|
198
|
+
return sentencesArray.map((sentenceObject) => ({
|
|
199
|
+
...sentenceObject,
|
|
200
|
+
combined_sentence_embedding: undefined,
|
|
201
|
+
}));
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
cosineSimilarity(vecA, vecB) {
|
|
205
|
+
try {
|
|
206
|
+
// Handle empty or invalid vectors
|
|
207
|
+
if (!vecA || !vecB || vecA.length === 0 || vecB.length === 0 || vecA.length !== vecB.length) {
|
|
208
|
+
console.warn("Invalid vectors for cosine similarity calculation");
|
|
209
|
+
return 0;
|
|
210
|
+
}
|
|
211
|
+
const dotProduct = math.dot(vecA, vecB);
|
|
212
|
+
const normA = math.norm(vecA);
|
|
213
|
+
const normB = math.norm(vecB);
|
|
214
|
+
if (normA === 0 || normB === 0 || !isFinite(normA) || !isFinite(normB)) {
|
|
215
|
+
return 0;
|
|
216
|
+
}
|
|
217
|
+
const similarity = dotProduct / (normA * normB);
|
|
218
|
+
// Handle NaN or infinite results
|
|
219
|
+
if (!isFinite(similarity)) {
|
|
220
|
+
console.warn("Non-finite cosine similarity result, returning 0");
|
|
221
|
+
return 0;
|
|
222
|
+
}
|
|
223
|
+
return similarity;
|
|
224
|
+
}
|
|
225
|
+
catch (error) {
|
|
226
|
+
console.error("Error calculating cosine similarity:", error);
|
|
227
|
+
return 0;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
async calculateCosineDistancesAndSignificantShifts(sentenceObjectArray, percentileThreshold) {
|
|
231
|
+
// Calculate cosine distances and update the array
|
|
232
|
+
const distances = [];
|
|
233
|
+
const updatedSentenceObjectArray = sentenceObjectArray.map((item, index, array) => {
|
|
234
|
+
if (index < array.length - 1 &&
|
|
235
|
+
item.combined_sentence_embedding &&
|
|
236
|
+
array[index + 1].combined_sentence_embedding) {
|
|
237
|
+
const embeddingCurrent = item.combined_sentence_embedding;
|
|
238
|
+
const embeddingNext = array[index + 1].combined_sentence_embedding;
|
|
239
|
+
const similarity = this.cosineSimilarity(embeddingCurrent, embeddingNext);
|
|
240
|
+
const distance = 1 - similarity;
|
|
241
|
+
distances.push(distance); // Keep track of calculated distances
|
|
242
|
+
return { ...item, distance_to_next: distance };
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
return { ...item, distance_to_next: undefined };
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
// Handle case where no distances were calculated (empty array, single sentence, etc.)
|
|
249
|
+
if (distances.length === 0) {
|
|
250
|
+
return {
|
|
251
|
+
updatedArray: updatedSentenceObjectArray,
|
|
252
|
+
significantShiftIndices: [], // No shifts when no distances
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
// Determine the threshold value for significant shifts
|
|
256
|
+
const sortedDistances = [...distances].sort((a, b) => a - b);
|
|
257
|
+
const quantileThreshold = percentileThreshold / 100;
|
|
258
|
+
// const breakpointDistanceThreshold = d3Array.quantile(
|
|
259
|
+
// sortedDistances,
|
|
260
|
+
// quantileThreshold,
|
|
261
|
+
// );
|
|
262
|
+
const breakpointDistanceThreshold = this.quantile(sortedDistances, quantileThreshold);
|
|
263
|
+
if (breakpointDistanceThreshold === undefined) {
|
|
264
|
+
// Fallback: use the median distance if quantile calculation fails
|
|
265
|
+
const medianIndex = Math.floor(sortedDistances.length / 2);
|
|
266
|
+
const fallbackThreshold = sortedDistances[medianIndex] || 0.5; // Default to 0.5 if still undefined
|
|
267
|
+
const significantShiftIndices = distances
|
|
268
|
+
.map((distance, index) => (distance > fallbackThreshold ? index : -1))
|
|
269
|
+
.filter((index) => index !== -1);
|
|
270
|
+
return {
|
|
271
|
+
updatedArray: updatedSentenceObjectArray,
|
|
272
|
+
significantShiftIndices,
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
// Identify indices of significant shifts
|
|
276
|
+
const significantShiftIndices = distances
|
|
277
|
+
.map((distance, index) => (distance > breakpointDistanceThreshold ? index : -1))
|
|
278
|
+
.filter((index) => index !== -1);
|
|
279
|
+
return {
|
|
280
|
+
updatedArray: updatedSentenceObjectArray,
|
|
281
|
+
significantShiftIndices,
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
groupSentencesIntoChunks(sentenceObjectArray, shiftIndices) {
|
|
285
|
+
// Handle empty array case
|
|
286
|
+
if (!sentenceObjectArray || sentenceObjectArray.length === 0) {
|
|
287
|
+
return [];
|
|
288
|
+
}
|
|
289
|
+
let startIdx = 0; // Initialize the start index
|
|
290
|
+
const chunks = []; // Create an array to hold the grouped sentences
|
|
291
|
+
// Handle case where there are no shift indices
|
|
292
|
+
if (!shiftIndices || shiftIndices.length === 0) {
|
|
293
|
+
const combinedText = sentenceObjectArray.map((item) => item.sentence).join(" ");
|
|
294
|
+
return combinedText.trim() ? [combinedText] : [];
|
|
295
|
+
}
|
|
296
|
+
// Add one beyond the last index to handle remaining sentences as a final chunk
|
|
297
|
+
const adjustedBreakpoints = [...shiftIndices, sentenceObjectArray.length - 1];
|
|
298
|
+
// Iterate through the breakpoints to slice and accumulate sentences into chunks
|
|
299
|
+
adjustedBreakpoints.forEach((breakpoint) => {
|
|
300
|
+
// Extract the sentences from the current start index to the breakpoint (inclusive)
|
|
301
|
+
const group = sentenceObjectArray.slice(startIdx, breakpoint + 1);
|
|
302
|
+
const combinedText = group.map((item) => item.sentence).join(" "); // Combine the sentences
|
|
303
|
+
if (combinedText.trim()) {
|
|
304
|
+
// Only add non-empty chunks
|
|
305
|
+
chunks.push(combinedText);
|
|
306
|
+
}
|
|
307
|
+
startIdx = breakpoint + 1; // Update the start index for the next group
|
|
308
|
+
});
|
|
309
|
+
return chunks;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Merges small adjacent chunks while preserving semantic coherence.
|
|
313
|
+
* Ensures chunks meet minimum size requirements by merging semantically similar neighbors.
|
|
314
|
+
*/
|
|
315
|
+
async mergeSmallChunks(chunks, minChunkSize = 1000) {
|
|
316
|
+
if (!chunks || chunks.length <= 1) {
|
|
317
|
+
return chunks;
|
|
318
|
+
}
|
|
319
|
+
try {
|
|
320
|
+
// Generate embeddings for all chunks
|
|
321
|
+
const embeddings = this.modelService.getEmbedder();
|
|
322
|
+
const chunkEmbeddings = await embeddings.embedDocuments(chunks);
|
|
323
|
+
let mergedChunks = [...chunks];
|
|
324
|
+
let mergedEmbeddings = [...chunkEmbeddings];
|
|
325
|
+
let hasChanges = true;
|
|
326
|
+
// Keep merging until no more small chunks can be merged
|
|
327
|
+
while (hasChanges) {
|
|
328
|
+
hasChanges = false;
|
|
329
|
+
const newChunks = [];
|
|
330
|
+
const newEmbeddings = [];
|
|
331
|
+
let i = 0;
|
|
332
|
+
while (i < mergedChunks.length) {
|
|
333
|
+
const currentChunk = mergedChunks[i];
|
|
334
|
+
const currentEmbedding = mergedEmbeddings[i];
|
|
335
|
+
// If chunk is large enough or it's the last chunk, keep it as-is
|
|
336
|
+
if (currentChunk.length >= minChunkSize || i === mergedChunks.length - 1) {
|
|
337
|
+
newChunks.push(currentChunk);
|
|
338
|
+
newEmbeddings.push(currentEmbedding);
|
|
339
|
+
i++;
|
|
340
|
+
continue;
|
|
341
|
+
}
|
|
342
|
+
// Chunk is too small - check if we can merge with next chunk
|
|
343
|
+
if (i < mergedChunks.length - 1) {
|
|
344
|
+
const nextChunk = mergedChunks[i + 1];
|
|
345
|
+
const nextEmbedding = mergedEmbeddings[i + 1];
|
|
346
|
+
// Calculate semantic similarity with next chunk
|
|
347
|
+
const similarity = this.cosineSimilarity(currentEmbedding, nextEmbedding);
|
|
348
|
+
// Merge if similarity is high enough (>0.7 indicates strong semantic relation)
|
|
349
|
+
// or if the combined size is reasonable (<3000 chars)
|
|
350
|
+
const combinedSize = currentChunk.length + nextChunk.length;
|
|
351
|
+
if (similarity > 0.7 || combinedSize < 2000) {
|
|
352
|
+
const mergedChunk = `${currentChunk} ${nextChunk}`;
|
|
353
|
+
newChunks.push(mergedChunk);
|
|
354
|
+
// Calculate new embedding for merged chunk
|
|
355
|
+
const mergedChunkEmbedding = await embeddings.embedDocuments([mergedChunk]);
|
|
356
|
+
newEmbeddings.push(mergedChunkEmbedding[0]);
|
|
357
|
+
hasChanges = true;
|
|
358
|
+
i += 2; // Skip the next chunk since we merged it
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
// Can't merge, keep current chunk despite being small
|
|
362
|
+
newChunks.push(currentChunk);
|
|
363
|
+
newEmbeddings.push(currentEmbedding);
|
|
364
|
+
i++;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
else {
|
|
368
|
+
// Last chunk and it's small - keep it
|
|
369
|
+
newChunks.push(currentChunk);
|
|
370
|
+
newEmbeddings.push(currentEmbedding);
|
|
371
|
+
i++;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
mergedChunks = newChunks;
|
|
375
|
+
mergedEmbeddings = newEmbeddings;
|
|
376
|
+
}
|
|
377
|
+
return mergedChunks;
|
|
378
|
+
}
|
|
379
|
+
catch (error) {
|
|
380
|
+
console.error("Error merging small chunks, returning original chunks:", error);
|
|
381
|
+
return chunks;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
async splitContentSemanticially(content, metadata) {
|
|
385
|
+
if (!content || content.trim().length === 0) {
|
|
386
|
+
return [new documents_1.Document({ pageContent: content || "", metadata })];
|
|
387
|
+
}
|
|
388
|
+
const sentences = await this.splitToSentences(content);
|
|
389
|
+
if (!sentences || sentences.length === 0) {
|
|
390
|
+
return [new documents_1.Document({ pageContent: content, metadata })];
|
|
391
|
+
}
|
|
392
|
+
try {
|
|
393
|
+
const structuredSentences = this.structureSentences(sentences, 3);
|
|
394
|
+
const sentencesWithEmbeddings = await this.generateAndAttachEmbeddings(structuredSentences);
|
|
395
|
+
const { updatedArray, significantShiftIndices } = await this.calculateCosineDistancesAndSignificantShifts(sentencesWithEmbeddings, 75);
|
|
396
|
+
const chunks = this.groupSentencesIntoChunks(updatedArray, significantShiftIndices);
|
|
397
|
+
if (chunks.length === 0) {
|
|
398
|
+
return [new documents_1.Document({ pageContent: content, metadata })];
|
|
399
|
+
}
|
|
400
|
+
// Merge small chunks while preserving semantic coherence
|
|
401
|
+
const mergedChunks = await this.mergeSmallChunks(chunks, 1000);
|
|
402
|
+
return mergedChunks.map((chunk) => {
|
|
403
|
+
return new documents_1.Document({
|
|
404
|
+
pageContent: chunk,
|
|
405
|
+
metadata: { ...metadata, type: "semantic_chunk" },
|
|
406
|
+
});
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
catch (error) {
|
|
410
|
+
console.error("Error in semantic splitting, falling back to content as-is:", error);
|
|
411
|
+
return [new documents_1.Document({ pageContent: content, metadata })];
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
async splitDocumentToChunks(params) {
|
|
415
|
+
return this.splitContentSemanticially(params.document.pageContent, { type: "paragraphs" });
|
|
416
|
+
}
|
|
417
|
+
async splitMarkdownToChunks(params) {
|
|
418
|
+
if (!params.content || params.content.trim().length === 0) {
|
|
419
|
+
return [new documents_1.Document({ pageContent: params.content || "" })];
|
|
420
|
+
}
|
|
421
|
+
try {
|
|
422
|
+
const fullContent = params.title ? `# ${params.title}\n\n${params.content}` : params.content;
|
|
423
|
+
const structuredSections = this.splitMarkdownByStructure(fullContent);
|
|
424
|
+
// If no structure found (no headers), use semantic splitting on entire content
|
|
425
|
+
if (structuredSections.length <= 1) {
|
|
426
|
+
if (fullContent.length <= 1500) {
|
|
427
|
+
return [
|
|
428
|
+
new documents_1.Document({
|
|
429
|
+
pageContent: fullContent,
|
|
430
|
+
metadata: { type: "markdown_section", split_method: "single_chunk" },
|
|
431
|
+
}),
|
|
432
|
+
];
|
|
433
|
+
}
|
|
434
|
+
else {
|
|
435
|
+
// Apply semantic splitting to the entire content
|
|
436
|
+
return await this.splitContentSemanticially(fullContent, {
|
|
437
|
+
type: "markdown_section",
|
|
438
|
+
split_method: "semantic_full",
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
const allChunks = [];
|
|
443
|
+
for (let i = 0; i < structuredSections.length; i++) {
|
|
444
|
+
const section = structuredSections[i];
|
|
445
|
+
const trimmedSection = section.trim();
|
|
446
|
+
if (trimmedSection.length < 50) {
|
|
447
|
+
continue;
|
|
448
|
+
}
|
|
449
|
+
// Extract header from section for metadata
|
|
450
|
+
const headerMatch = trimmedSection.match(/^(#+)\s+(.+)/);
|
|
451
|
+
const headerLevel = headerMatch ? headerMatch[1].length : 0;
|
|
452
|
+
const headerText = headerMatch ? headerMatch[2] : "";
|
|
453
|
+
if (this.isTableSection(trimmedSection)) {
|
|
454
|
+
allChunks.push(new documents_1.Document({
|
|
455
|
+
pageContent: trimmedSection,
|
|
456
|
+
metadata: {
|
|
457
|
+
type: "table_section",
|
|
458
|
+
split_method: "table",
|
|
459
|
+
section_index: i,
|
|
460
|
+
header_level: headerLevel,
|
|
461
|
+
header_text: headerText,
|
|
462
|
+
},
|
|
463
|
+
}));
|
|
464
|
+
continue;
|
|
465
|
+
}
|
|
466
|
+
// Apply hybrid logic: use semantic splitting for sections > 1500 chars
|
|
467
|
+
if (trimmedSection.length > 1500) {
|
|
468
|
+
try {
|
|
469
|
+
const semanticChunks = await this.splitContentSemanticially(trimmedSection, {
|
|
470
|
+
type: "markdown_section",
|
|
471
|
+
split_method: "semantic_section",
|
|
472
|
+
section_index: i,
|
|
473
|
+
header_level: headerLevel,
|
|
474
|
+
header_text: headerText,
|
|
475
|
+
});
|
|
476
|
+
allChunks.push(...semanticChunks);
|
|
477
|
+
}
|
|
478
|
+
catch (error) {
|
|
479
|
+
console.warn(`Semantic splitting failed for section ${i}, falling back to basic splitting:`, error);
|
|
480
|
+
// Fallback to basic splitting
|
|
481
|
+
const splitter = new textsplitters_1.RecursiveCharacterTextSplitter({
|
|
482
|
+
chunkSize: 2000,
|
|
483
|
+
chunkOverlap: 200,
|
|
484
|
+
separators: ["\n\n", "\n", ". ", " "],
|
|
485
|
+
});
|
|
486
|
+
const sectionChunks = await splitter.createDocuments([trimmedSection]);
|
|
487
|
+
sectionChunks.forEach((chunk, chunkIndex) => {
|
|
488
|
+
chunk.metadata = {
|
|
489
|
+
type: "markdown_section",
|
|
490
|
+
split_method: "basic_fallback",
|
|
491
|
+
section_index: i,
|
|
492
|
+
chunk_index: chunkIndex,
|
|
493
|
+
header_level: headerLevel,
|
|
494
|
+
header_text: headerText,
|
|
495
|
+
};
|
|
496
|
+
});
|
|
497
|
+
allChunks.push(...sectionChunks);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
// Keep smaller sections as single coherent chunks
|
|
502
|
+
allChunks.push(new documents_1.Document({
|
|
503
|
+
pageContent: trimmedSection,
|
|
504
|
+
metadata: {
|
|
505
|
+
type: "markdown_section",
|
|
506
|
+
split_method: "header_section",
|
|
507
|
+
section_index: i,
|
|
508
|
+
header_level: headerLevel,
|
|
509
|
+
header_text: headerText,
|
|
510
|
+
},
|
|
511
|
+
}));
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
// Apply final merging to combine small adjacent chunks while preserving semantic coherence
|
|
515
|
+
if (allChunks.length > 1) {
|
|
516
|
+
try {
|
|
517
|
+
const chunkTexts = allChunks.map((doc) => doc.pageContent);
|
|
518
|
+
const mergedChunkTexts = await this.mergeSmallChunks(chunkTexts, 1000);
|
|
519
|
+
// Convert back to Document objects, preserving metadata from first chunk in merge
|
|
520
|
+
const finalChunks = [];
|
|
521
|
+
let originalIndex = 0;
|
|
522
|
+
for (const mergedText of mergedChunkTexts) {
|
|
523
|
+
// Find the metadata from the original chunk(s) that contributed to this merged chunk
|
|
524
|
+
const metadata = allChunks[originalIndex]?.metadata || { type: "markdown_section" };
|
|
525
|
+
finalChunks.push(new documents_1.Document({
|
|
526
|
+
pageContent: mergedText,
|
|
527
|
+
metadata: { ...metadata, merged: true },
|
|
528
|
+
}));
|
|
529
|
+
// Advance index - rough estimate of how many original chunks went into this merged one
|
|
530
|
+
originalIndex += Math.ceil(mergedText.length / 1500);
|
|
531
|
+
if (originalIndex >= allChunks.length)
|
|
532
|
+
originalIndex = allChunks.length - 1;
|
|
533
|
+
}
|
|
534
|
+
return finalChunks;
|
|
535
|
+
}
|
|
536
|
+
catch (mergeError) {
|
|
537
|
+
console.warn("Error merging markdown chunks, returning unmerged chunks:", mergeError);
|
|
538
|
+
return allChunks;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
return allChunks.length > 0 ? allChunks : [new documents_1.Document({ pageContent: fullContent })];
|
|
542
|
+
}
|
|
543
|
+
catch (error) {
|
|
544
|
+
console.error("Error splitting markdown to chunks", error);
|
|
545
|
+
return [new documents_1.Document({ pageContent: params.content })];
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
splitMarkdownByStructure(content) {
|
|
549
|
+
const sections = [];
|
|
550
|
+
const lines = content.split("\n");
|
|
551
|
+
let currentSection = "";
|
|
552
|
+
for (const line of lines) {
|
|
553
|
+
if (line.trim().startsWith("#")) {
|
|
554
|
+
if (currentSection.trim())
|
|
555
|
+
sections.push(currentSection.trim());
|
|
556
|
+
currentSection = line + "\n";
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
currentSection += line + "\n";
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
if (currentSection.trim())
|
|
563
|
+
sections.push(currentSection.trim());
|
|
564
|
+
return sections.length > 0 ? sections : [content];
|
|
565
|
+
}
|
|
566
|
+
isTableSection(section) {
|
|
567
|
+
const lines = section.trim().split("\n");
|
|
568
|
+
const firstLine = lines[0]?.trim() || "";
|
|
569
|
+
if (!firstLine.startsWith("## ")) {
|
|
570
|
+
return false;
|
|
571
|
+
}
|
|
572
|
+
const contentLines = lines.slice(1).filter((line) => line.trim() !== "");
|
|
573
|
+
return contentLines.length > 0;
|
|
574
|
+
}
|
|
575
|
+
async splitTextToChunks(params) {
|
|
576
|
+
let text;
|
|
577
|
+
let semanticChunks;
|
|
578
|
+
try {
|
|
579
|
+
switch (params.type) {
|
|
580
|
+
case "txt":
|
|
581
|
+
case "adoc":
|
|
582
|
+
text = await this.loadTextFile(params.filePath);
|
|
583
|
+
semanticChunks = this.splitToSentencesUsingNLP(text);
|
|
584
|
+
break;
|
|
585
|
+
case "docx":
|
|
586
|
+
text = await this.loadDocxFile(params.filePath);
|
|
587
|
+
semanticChunks = this.splitToSentencesUsingNLP(text);
|
|
588
|
+
break;
|
|
589
|
+
case "pdf":
|
|
590
|
+
text = await this.loadPdfFile(params.filePath);
|
|
591
|
+
semanticChunks = this.splitToSentencesUsingNLP(text);
|
|
592
|
+
break;
|
|
593
|
+
case "html":
|
|
594
|
+
text = await this.loadHtmlFile(params.filePath);
|
|
595
|
+
semanticChunks = await this.splitHtmlContent(text);
|
|
596
|
+
break;
|
|
597
|
+
default:
|
|
598
|
+
console.warn(`Unsupported file type: ${params.type}`);
|
|
599
|
+
return [];
|
|
600
|
+
}
|
|
601
|
+
try {
|
|
602
|
+
const structuredSentences = this.structureSentences(semanticChunks, 1);
|
|
603
|
+
const sentencesWithEmbeddings = await this.generateAndAttachEmbeddings(structuredSentences);
|
|
604
|
+
const { updatedArray, significantShiftIndices } = await this.calculateCosineDistancesAndSignificantShifts(sentencesWithEmbeddings, 95);
|
|
605
|
+
const chunks = this.groupSentencesIntoChunks(updatedArray, significantShiftIndices);
|
|
606
|
+
return chunks.map((chunk) => {
|
|
607
|
+
return new documents_1.Document({
|
|
608
|
+
pageContent: chunk,
|
|
609
|
+
metadata: { type: "paragraphs" },
|
|
610
|
+
});
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
catch (processingError) {
|
|
614
|
+
console.error("Error in semantic processing, falling back to simple chunks:", processingError);
|
|
615
|
+
return semanticChunks.map((chunk) => {
|
|
616
|
+
return new documents_1.Document({
|
|
617
|
+
pageContent: chunk,
|
|
618
|
+
metadata: { type: "simple_chunks" },
|
|
619
|
+
});
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
catch (error) {
|
|
624
|
+
console.error("Error splitting text to chunks:", error);
|
|
625
|
+
return [];
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
exports.SemanticSplitterService = SemanticSplitterService;
|
|
630
|
+
exports.SemanticSplitterService = SemanticSplitterService = __decorate([
|
|
631
|
+
(0, common_1.Injectable)(),
|
|
632
|
+
__metadata("design:paramtypes", [model_service_1.ModelService])
|
|
633
|
+
], SemanticSplitterService);
|
|
634
|
+
//# sourceMappingURL=semanticsplitter.service.js.map
|