@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,229 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ChunkNodeService = exports.defaultChunkPrompt = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const config_1 = require("@nestjs/config");
|
|
15
|
+
const nestjs_cls_1 = require("nestjs-cls");
|
|
16
|
+
const zod_1 = require("zod");
|
|
17
|
+
const llm_service_1 = require("../../../core/llm/services/llm.service");
|
|
18
|
+
const websocket_service_1 = require("../../../core/websocket/services/websocket.service");
|
|
19
|
+
const chunk_repository_1 = require("../../../foundations/chunk/repositories/chunk.repository");
|
|
20
|
+
exports.defaultChunkPrompt = `
|
|
21
|
+
As an intelligent assistant, your primary objective is to assess a specific **text chunk** and determine whether the available information suffices to answer the question.
|
|
22
|
+
|
|
23
|
+
Given the **question**, and the **rational plan** to answer the question you have to:
|
|
24
|
+
1. Analyse the text and determine if it is relevant to answer the user question
|
|
25
|
+
- The text chunk should be examined for key information that directly relates to the question being asked.
|
|
26
|
+
|
|
27
|
+
2. Write an note summarizing the key points from the current text chunk that are relevant to the question
|
|
28
|
+
- The note should contain all the information required to provide a detailed answer
|
|
29
|
+
- The note should be a comprehensive summary that can be used to generate a precise, contextualised response to the question, containing all the required details enough to cover all relevant aspects.
|
|
30
|
+
|
|
31
|
+
3. Write a reason describing how the text chunk is relevant to the question
|
|
32
|
+
- The reason should explain why the text chunk is relevant or not to answer the question.
|
|
33
|
+
|
|
34
|
+
4. Select the appropriate next action to take based on your assessment of the current information.
|
|
35
|
+
- **queuePreviousChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a previous text chunk that would **significantly** enhance your answer. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
|
|
36
|
+
- **queueNextChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a subsequent text chunk that would **significantly** enhance your answer. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
|
|
37
|
+
- **readNeighbouringNodes**: Choose this action if you believe that this text chunk does not contain relevant information and that exploring neighbouring chunks could provide valuable context.
|
|
38
|
+
- **answer**: Choose this action if you believe that the information in this text chunk is sufficient to provide a **comprehensive and accurate** answer to the question.
|
|
39
|
+
- **skip**: Choose this action if you believe that the current chunk of text is not relevant to the question and that you want to move on to the next chunk without taking any further action.
|
|
40
|
+
|
|
41
|
+
5. **Provide a Status Message**:
|
|
42
|
+
- Write a **short, friendly message** (maximum 40 characters) about your action.
|
|
43
|
+
- **Avoid technical terms** such as "nodes", "atomic facts", or "key concepts".
|
|
44
|
+
- The status message should make the user understand the action being taken
|
|
45
|
+
- The status message **MUST** contain clear information contextualised to the current question and the gathered information.
|
|
46
|
+
- The status message should be specific to the context and clearly convey the next steps or actions being taken.
|
|
47
|
+
- The status message **MUST NOT** be something unrelated to the text, such as "success", "sufficient information", "insufficient information", "chunk analysed", "chunk processed" or similar generic messages.
|
|
48
|
+
|
|
49
|
+
### Important Notes:
|
|
50
|
+
- **Proceed to Answer When Appropriate**: If the current information is sufficient to provide a reliable answer, do not hesitate to proceed to select **answer** as the next step.
|
|
51
|
+
- **Gather More Information When Needed**: If you identify gaps or uncertainties that could be addressed by additional information, choose the appropriate action to gather that information.
|
|
52
|
+
- **Use Judgment in Decision-Making**: Apply thoughtful consideration to decide whether additional information is necessary.
|
|
53
|
+
- If the content contains acronyms and their definition, include the definition of the acronym in your answer.
|
|
54
|
+
|
|
55
|
+
### **Please strictly follow the above instructions and format. Let's begin.**
|
|
56
|
+
`;
|
|
57
|
+
const outputSchema = zod_1.z.object({
|
|
58
|
+
status: zod_1.z
|
|
59
|
+
.string()
|
|
60
|
+
.describe(`Write a short, friendly message (max 40 characters) about your action, avoiding technical terms such as "nodes" or "atomic facts" or "key concepts". Give flavour to the message and avoid repeating the same message.`),
|
|
61
|
+
note: zod_1.z
|
|
62
|
+
.object({
|
|
63
|
+
content: zod_1.z.string().describe("The new insights and findings about the question from current text"),
|
|
64
|
+
reason: zod_1.z.string().describe("The reason describing how the text chunk is relevant to the question"),
|
|
65
|
+
})
|
|
66
|
+
.describe("The note summarizing the key points from the current text chunk that are relevant to the question"),
|
|
67
|
+
chosenAction: zod_1.z.string()
|
|
68
|
+
.describe(`This is the action you have decided to do in the next step. You **MUST** pick one of the following actions:
|
|
69
|
+
- **queuePreviousChunk**: Choose this action if you feel that the previous text chunk contains valuable information for answering the question. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
|
|
70
|
+
- **queueNextChunk**: Choose this action if you feel that the subsequent text chunk contains valuable information for answering the question. Do not select this action if you believe the current chunk is either sufficient or completely irrelevant.
|
|
71
|
+
- **readNeighbouringNodes**: Choose this action if you feel that the current text contains valuable, but somewhat incomplete information that could be clarified by exploring related concepts.
|
|
72
|
+
- **answer**: Choose this action if you believe that the information you have currently obtained is enough to answer the question. This will allow you to summarize the gathered information and provide a final answer.
|
|
73
|
+
- **skip**: Choose this action if you believe that the current chunk of text is not relevant to the question and that you want to move on to the next chunk without taking any further action.
|
|
74
|
+
`),
|
|
75
|
+
});
|
|
76
|
+
const inputSchema = zod_1.z.object({
|
|
77
|
+
question: zod_1.z.string().describe("The question asked by the user"),
|
|
78
|
+
rationalPlan: zod_1.z
|
|
79
|
+
.string()
|
|
80
|
+
.describe("The rational plan you designed to provide a comprehensive answer to the user question"),
|
|
81
|
+
text: zod_1.z.string().describe("The content of the text you must analyse to provide an answer to the user question"),
|
|
82
|
+
});
|
|
83
|
+
let ChunkNodeService = class ChunkNodeService {
|
|
84
|
+
constructor(llmService, chunkRepository, webSocketService, clsService, configService) {
|
|
85
|
+
this.llmService = llmService;
|
|
86
|
+
this.chunkRepository = chunkRepository;
|
|
87
|
+
this.webSocketService = webSocketService;
|
|
88
|
+
this.clsService = clsService;
|
|
89
|
+
this.configService = configService;
|
|
90
|
+
const prompts = this.configService.get("prompts");
|
|
91
|
+
this.systemPrompt = prompts?.contextualiser?.chunk ?? exports.defaultChunkPrompt;
|
|
92
|
+
}
|
|
93
|
+
async execute(params) {
|
|
94
|
+
if (params.state.queuedChunks.length === 0) {
|
|
95
|
+
return {
|
|
96
|
+
nextStep: params.state.neighbouringAlreadyExplored ? "answer" : "neighbouring_nodes",
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
const chunks = [];
|
|
100
|
+
const chunkIdsToProcess = params.state.queuedChunks.filter((chunkId) => !params.state.processedChunks.includes(chunkId));
|
|
101
|
+
while (chunkIdsToProcess.length > 0) {
|
|
102
|
+
const chunkId = chunkIdsToProcess.shift();
|
|
103
|
+
const chunk = await this.chunkRepository.findChunkById({
|
|
104
|
+
chunkId: chunkId,
|
|
105
|
+
});
|
|
106
|
+
if (chunk)
|
|
107
|
+
chunks.push(chunk);
|
|
108
|
+
}
|
|
109
|
+
if (chunks.length === 0) {
|
|
110
|
+
return {
|
|
111
|
+
queuedChunks: [],
|
|
112
|
+
nextStep: params.state.neighbouringAlreadyExplored ? "answer" : "neighbouring_nodes",
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
const llmResponses = (await Promise.all(chunks.map(async (chunk) => {
|
|
116
|
+
if (!chunk.content || chunk.content.trim() === "")
|
|
117
|
+
return null;
|
|
118
|
+
const inputParams = {
|
|
119
|
+
rationalPlan: params.state.rationalPlan,
|
|
120
|
+
question: params.state.question,
|
|
121
|
+
text: chunk.content,
|
|
122
|
+
};
|
|
123
|
+
const llmResponse = await this.llmService.call({
|
|
124
|
+
inputSchema: inputSchema,
|
|
125
|
+
inputParams: inputParams,
|
|
126
|
+
outputSchema: outputSchema,
|
|
127
|
+
systemPrompts: [this.systemPrompt],
|
|
128
|
+
temperature: 0.1,
|
|
129
|
+
});
|
|
130
|
+
if (params.state.contentType === "Conversation")
|
|
131
|
+
await this.webSocketService.sendMessageToUser(this.clsService.get("userId"), "contextualiser", {
|
|
132
|
+
message: llmResponse.status,
|
|
133
|
+
conversationId: params.state.contentId,
|
|
134
|
+
});
|
|
135
|
+
return {
|
|
136
|
+
chunkId: chunk.id,
|
|
137
|
+
status: llmResponse.chosenAction === "answer" ? llmResponse.status : undefined,
|
|
138
|
+
note: {
|
|
139
|
+
content: llmResponse.note?.content ?? "",
|
|
140
|
+
reason: llmResponse.note?.reason ?? "",
|
|
141
|
+
},
|
|
142
|
+
chosenAction: llmResponse.chosenAction,
|
|
143
|
+
tokens: llmResponse.tokenUsage,
|
|
144
|
+
};
|
|
145
|
+
})));
|
|
146
|
+
const tokenUsed = {
|
|
147
|
+
input: 0,
|
|
148
|
+
output: 0,
|
|
149
|
+
};
|
|
150
|
+
const newNotebookEntries = [];
|
|
151
|
+
const statuses = [];
|
|
152
|
+
for (const llmResponse of llmResponses.filter((response) => !!response)) {
|
|
153
|
+
tokenUsed.input += llmResponse.tokens.input;
|
|
154
|
+
tokenUsed.output += llmResponse.tokens.output;
|
|
155
|
+
if (llmResponse.chosenAction !== "skip")
|
|
156
|
+
newNotebookEntries.push({
|
|
157
|
+
chunkId: llmResponse.chunkId,
|
|
158
|
+
content: llmResponse.note.content,
|
|
159
|
+
reason: llmResponse.note.reason,
|
|
160
|
+
});
|
|
161
|
+
if (!statuses.includes(llmResponse.status) && !params.state.status.includes(llmResponse.status))
|
|
162
|
+
statuses.push(llmResponse.status);
|
|
163
|
+
}
|
|
164
|
+
const newChunksToQuery = [];
|
|
165
|
+
await Promise.all(llmResponses
|
|
166
|
+
.filter((response) => !!response)
|
|
167
|
+
.map(async (llmResponse) => {
|
|
168
|
+
switch (llmResponse.chosenAction) {
|
|
169
|
+
case "queueNextChunk":
|
|
170
|
+
const nextChunk = await this.chunkRepository.findSubsequentChunkId({
|
|
171
|
+
chunkId: llmResponse.chunkId,
|
|
172
|
+
});
|
|
173
|
+
if (nextChunk)
|
|
174
|
+
newChunksToQuery.push(nextChunk.id);
|
|
175
|
+
break;
|
|
176
|
+
case "queuePreviousChunk":
|
|
177
|
+
const previousChunk = await this.chunkRepository.findPreviousChunkId({
|
|
178
|
+
chunkId: llmResponse.chunkId,
|
|
179
|
+
});
|
|
180
|
+
if (previousChunk)
|
|
181
|
+
newChunksToQuery.push(previousChunk.id);
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
}));
|
|
185
|
+
let nextStep;
|
|
186
|
+
if (newChunksToQuery.length > 0) {
|
|
187
|
+
nextStep = "chunks";
|
|
188
|
+
}
|
|
189
|
+
else if (llmResponses.filter((response) => !!response).some((llmResponse) => llmResponse.chosenAction === "answer") ===
|
|
190
|
+
true) {
|
|
191
|
+
nextStep = "answer";
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
if (params.state.neighbouringAlreadyExplored)
|
|
195
|
+
nextStep = "answer";
|
|
196
|
+
else
|
|
197
|
+
nextStep = "neighbouring_nodes";
|
|
198
|
+
}
|
|
199
|
+
// Safety checks to prevent excessive looping:
|
|
200
|
+
// 1. Local check: If we've gone through chunks more than 3 times
|
|
201
|
+
// 2. Global check: If we're approaching the maxHops limit (typically 20, leave 5 hop buffer)
|
|
202
|
+
const approachingMaxHops = params.state.hops >= 15;
|
|
203
|
+
if (params.state.chunkLevel > 3 || approachingMaxHops) {
|
|
204
|
+
newChunksToQuery.length = 0;
|
|
205
|
+
nextStep = "answer";
|
|
206
|
+
}
|
|
207
|
+
const returnedHops = params.state.hops + 1;
|
|
208
|
+
return {
|
|
209
|
+
hops: returnedHops,
|
|
210
|
+
notebook: newNotebookEntries,
|
|
211
|
+
chunkLevel: params.state.chunkLevel + 1,
|
|
212
|
+
processedChunks: chunks.map((c) => c.id),
|
|
213
|
+
queuedChunks: newChunksToQuery,
|
|
214
|
+
nextStep: nextStep,
|
|
215
|
+
status: statuses.filter((status) => status),
|
|
216
|
+
tokens: tokenUsed,
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
exports.ChunkNodeService = ChunkNodeService;
|
|
221
|
+
exports.ChunkNodeService = ChunkNodeService = __decorate([
|
|
222
|
+
(0, common_1.Injectable)(),
|
|
223
|
+
__metadata("design:paramtypes", [llm_service_1.LLMService,
|
|
224
|
+
chunk_repository_1.ChunkRepository,
|
|
225
|
+
websocket_service_1.WebSocketService,
|
|
226
|
+
nestjs_cls_1.ClsService,
|
|
227
|
+
config_1.ConfigService])
|
|
228
|
+
], ChunkNodeService);
|
|
229
|
+
//# sourceMappingURL=chunk.node.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.node.service.js","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/chunk.node.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAA+C;AAC/C,2CAAwC;AACxC,6BAAwB;AAGxB,wEAAoE;A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AM,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC;QAE3C,OAAO;YACL,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,kBAAkB;YAC5B,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,UAAU,GAAG,CAAC;YACvC,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACxC,YAAY,EAAE,gBAAgB;YAC9B,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC;YAC3C,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;CACF,CAAA;AAvKY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAKoB,wBAAU;QACL,kCAAe;QACd,oCAAgB;QACtB,uBAAU;QACP,sBAAa;GARpC,gBAAgB,CAuK5B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ConfigService } from "@nestjs/config";
|
|
2
|
+
import { ClsService } from "nestjs-cls";
|
|
3
|
+
import { BaseConfigInterface } from "../../../config/interfaces";
|
|
4
|
+
import { LLMService } from "../../../core/llm/services/llm.service";
|
|
5
|
+
import { WebSocketService } from "../../../core/websocket/services/websocket.service";
|
|
6
|
+
import { ChunkRepository } from "../../../foundations/chunk/repositories/chunk.repository";
|
|
7
|
+
import { ContextualiserContext, ContextualiserContextState } from "../../contextualiser/contexts/contextualiser.context";
|
|
8
|
+
export declare const defaultChunkVectorPrompt = "\nAs an intelligent assistant, your primary objective is to assess a specific **text chunk** and determine whether the available information suffices to answer the question.\n\nGiven the **question**, and the **rational plan** to answer the question you have to:\n1. Write a note summarizing the key points from the current text chunk that are relevant to the question. This must be used as context to answer the question.\n - The note should contain all the information required to provide a detailed answer\n - It should be a comprehensive note that can be used to generate a precise, contextualise reponse to the question, containing all the required details enough to cover all relevant aspects.\n\n2. Write a reason describing how the text chunk is relevant to the question\n - The reason should explain why the text chunk is relevant or not to answer the question.\n\n3. Select the appropriate next action to take based on your assessment of the current information.\n - **queuePreviousChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a previous text chunk that would **significantly** enhance your answer.\n - **queueNextChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a subsequent text chunk that would **significantly** enhance your answer.\n - **readNeighbouringNodes**: Choose this action if you believe that this text chunk does not contain relevant information and that exploring neighbouring chunks could provide valuable context.\n - **answer**: Choose this action if you believe that the information in this text chunk is sufficient to provide a **comprehensive and accurate** answer to the question.\n\n 4. **Provide a Status Message**:\n - Write a **short, friendly message** (maximum 40 characters) about your action.\n - **Avoid technical terms** such as \"nodes\", \"atomic facts\", or \"key concepts\".\n - The status message should make the user understand the action being taken\n - The status message **MUST** contain clear information contextualised to the current question and the gathered information.\n - The status message should be specific to the context and clearly convey the next steps or actions being taken.\n - The status message **MUST NOT** be something unrelated to the text, such as \"success\", \"sufficient information\", \"insufficient information\", \"chunk analysed\", \"chunk processed\" or similar generic messages.\n \n ### Important Notes:\n - **Proceed to Answer When Appropriate**: If the current information is sufficient to provide a reliable answer, do not hesitate to proceed to select **answer** as the next step.\n - **Gather More Information When Needed**: If you identify gaps or uncertainties that could be addressed by additional information, choose the appropriate action to gather that information.\n - **Use Judgment in Decision-Making**: Apply thoughtful consideration to decide whether additional information is necessary.\n - If the content contains acronyms and their definition, include the definition of the acronym in your answer.\n \n### **Please strictly follow the above instructions and format. Let's begin.**\n";
|
|
9
|
+
export declare class ChunkVectorNodeService {
|
|
10
|
+
private readonly llmService;
|
|
11
|
+
private readonly chunkRepository;
|
|
12
|
+
private readonly webSocketService;
|
|
13
|
+
private readonly clsService;
|
|
14
|
+
private readonly configService;
|
|
15
|
+
private readonly systemPrompt;
|
|
16
|
+
constructor(llmService: LLMService, chunkRepository: ChunkRepository, webSocketService: WebSocketService, clsService: ClsService, configService: ConfigService<BaseConfigInterface>);
|
|
17
|
+
execute(params: {
|
|
18
|
+
state: typeof ContextualiserContext.State;
|
|
19
|
+
}): Promise<Partial<ContextualiserContextState>>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=chunk.vector.node.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.vector.node.service.d.ts","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/chunk.vector.node.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAA0B,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,0DAA0D,CAAC;AAC3F,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,wBAAwB,6pGAgCpC,CAAC;AA+BF,qBACa,sBAAsB;IAI/B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAPhC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC;IAM9D,OAAO,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,OAAO,qBAAqB,CAAC,KAAK,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CAyFnH"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ChunkVectorNodeService = exports.defaultChunkVectorPrompt = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const config_1 = require("@nestjs/config");
|
|
15
|
+
const nestjs_cls_1 = require("nestjs-cls");
|
|
16
|
+
const zod_1 = require("zod");
|
|
17
|
+
const llm_service_1 = require("../../../core/llm/services/llm.service");
|
|
18
|
+
const websocket_service_1 = require("../../../core/websocket/services/websocket.service");
|
|
19
|
+
const chunk_repository_1 = require("../../../foundations/chunk/repositories/chunk.repository");
|
|
20
|
+
exports.defaultChunkVectorPrompt = `
|
|
21
|
+
As an intelligent assistant, your primary objective is to assess a specific **text chunk** and determine whether the available information suffices to answer the question.
|
|
22
|
+
|
|
23
|
+
Given the **question**, and the **rational plan** to answer the question you have to:
|
|
24
|
+
1. Write a note summarizing the key points from the current text chunk that are relevant to the question. This must be used as context to answer the question.
|
|
25
|
+
- The note should contain all the information required to provide a detailed answer
|
|
26
|
+
- It should be a comprehensive note that can be used to generate a precise, contextualise reponse to the question, containing all the required details enough to cover all relevant aspects.
|
|
27
|
+
|
|
28
|
+
2. Write a reason describing how the text chunk is relevant to the question
|
|
29
|
+
- The reason should explain why the text chunk is relevant or not to answer the question.
|
|
30
|
+
|
|
31
|
+
3. Select the appropriate next action to take based on your assessment of the current information.
|
|
32
|
+
- **queuePreviousChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a previous text chunk that would **significantly** enhance your answer.
|
|
33
|
+
- **queueNextChunk**: Choose this action if you feel that the current chunk of text might have relevant information in a subsequent text chunk that would **significantly** enhance your answer.
|
|
34
|
+
- **readNeighbouringNodes**: Choose this action if you believe that this text chunk does not contain relevant information and that exploring neighbouring chunks could provide valuable context.
|
|
35
|
+
- **answer**: Choose this action if you believe that the information in this text chunk is sufficient to provide a **comprehensive and accurate** answer to the question.
|
|
36
|
+
|
|
37
|
+
4. **Provide a Status Message**:
|
|
38
|
+
- Write a **short, friendly message** (maximum 40 characters) about your action.
|
|
39
|
+
- **Avoid technical terms** such as "nodes", "atomic facts", or "key concepts".
|
|
40
|
+
- The status message should make the user understand the action being taken
|
|
41
|
+
- The status message **MUST** contain clear information contextualised to the current question and the gathered information.
|
|
42
|
+
- The status message should be specific to the context and clearly convey the next steps or actions being taken.
|
|
43
|
+
- The status message **MUST NOT** be something unrelated to the text, such as "success", "sufficient information", "insufficient information", "chunk analysed", "chunk processed" or similar generic messages.
|
|
44
|
+
|
|
45
|
+
### Important Notes:
|
|
46
|
+
- **Proceed to Answer When Appropriate**: If the current information is sufficient to provide a reliable answer, do not hesitate to proceed to select **answer** as the next step.
|
|
47
|
+
- **Gather More Information When Needed**: If you identify gaps or uncertainties that could be addressed by additional information, choose the appropriate action to gather that information.
|
|
48
|
+
- **Use Judgment in Decision-Making**: Apply thoughtful consideration to decide whether additional information is necessary.
|
|
49
|
+
- If the content contains acronyms and their definition, include the definition of the acronym in your answer.
|
|
50
|
+
|
|
51
|
+
### **Please strictly follow the above instructions and format. Let's begin.**
|
|
52
|
+
`;
|
|
53
|
+
const outputSchema = zod_1.z.object({
|
|
54
|
+
status: zod_1.z
|
|
55
|
+
.string()
|
|
56
|
+
.describe(`Write a short, friendly message (max 40 characters) about your action, avoiding technical terms such as "nodes" or "atomic facts" or "key concepts". Give flavour to the message and avoid repeating the same message.`),
|
|
57
|
+
note: zod_1.z
|
|
58
|
+
.object({
|
|
59
|
+
content: zod_1.z.string().describe("The new insights and findings about the question from current text"),
|
|
60
|
+
reason: zod_1.z.string().describe("The reason describing how the text chunk is relevant to the question"),
|
|
61
|
+
})
|
|
62
|
+
.describe("The note summarizing the key points from the current text chunk that are relevant to the question"),
|
|
63
|
+
chosenAction: zod_1.z.string()
|
|
64
|
+
.describe(`This is the action you have decided to do in the next step. You **MUST** pick one of the following actions:
|
|
65
|
+
- **queuePreviousChunk**: Choose this action if you feel that the previous text chunk contains valuable information for answering the question.
|
|
66
|
+
- **queueNextChunk**: Choose this action if you feel that the subsequent text chunk contains valuable information for answering the question.
|
|
67
|
+
- **readNeighbouringNodes**: Choose this action if you feel that the current text contains valuable, but somewhat incomplete information that could be clarified by exploring related concepts.
|
|
68
|
+
- **answer**: Choose this action if you believe that the information you have currently obtained is enough to answer the question. This will allow you to summarize the gathered information and provide a final answer.
|
|
69
|
+
`),
|
|
70
|
+
});
|
|
71
|
+
const inputSchema = zod_1.z.object({
|
|
72
|
+
question: zod_1.z.string().describe("The question asked by the user"),
|
|
73
|
+
rationalPlan: zod_1.z
|
|
74
|
+
.string()
|
|
75
|
+
.describe("The rational plan you designed to provide a comprehensive answer to the user question"),
|
|
76
|
+
text: zod_1.z.string().describe("The content of the text you must analyse to provide an answer to the user question"),
|
|
77
|
+
});
|
|
78
|
+
let ChunkVectorNodeService = class ChunkVectorNodeService {
|
|
79
|
+
constructor(llmService, chunkRepository, webSocketService, clsService, configService) {
|
|
80
|
+
this.llmService = llmService;
|
|
81
|
+
this.chunkRepository = chunkRepository;
|
|
82
|
+
this.webSocketService = webSocketService;
|
|
83
|
+
this.clsService = clsService;
|
|
84
|
+
this.configService = configService;
|
|
85
|
+
const prompts = this.configService.get("prompts");
|
|
86
|
+
this.systemPrompt = prompts?.contextualiser?.chunkVector ?? exports.defaultChunkVectorPrompt;
|
|
87
|
+
}
|
|
88
|
+
async execute(params) {
|
|
89
|
+
const chunks = await this.chunkRepository.findPotentialChunks({
|
|
90
|
+
question: params.state.question,
|
|
91
|
+
dataLimits: params.state.limits,
|
|
92
|
+
});
|
|
93
|
+
if (chunks.length === 0) {
|
|
94
|
+
params.state.nextStep = "answer";
|
|
95
|
+
return params.state;
|
|
96
|
+
}
|
|
97
|
+
const llmResponses = (await Promise.all(chunks.map(async (chunk) => {
|
|
98
|
+
if (!chunk.content || chunk.content.trim() === "")
|
|
99
|
+
return null;
|
|
100
|
+
const inputParams = {
|
|
101
|
+
rationalPlan: params.state.rationalPlan,
|
|
102
|
+
question: params.state.question,
|
|
103
|
+
text: chunk.content,
|
|
104
|
+
};
|
|
105
|
+
const llmResponse = await this.llmService.call({
|
|
106
|
+
inputSchema: inputSchema,
|
|
107
|
+
inputParams: inputParams,
|
|
108
|
+
outputSchema: outputSchema,
|
|
109
|
+
systemPrompts: [this.systemPrompt],
|
|
110
|
+
temperature: 0.1,
|
|
111
|
+
});
|
|
112
|
+
if (params.state.contentType === "Conversation")
|
|
113
|
+
await this.webSocketService.sendMessageToUser(this.clsService.get("userId"), "contextualiser", {
|
|
114
|
+
message: llmResponse.status,
|
|
115
|
+
conversationId: params.state.contentId,
|
|
116
|
+
});
|
|
117
|
+
return {
|
|
118
|
+
chunkId: chunk.id,
|
|
119
|
+
status: llmResponse.status,
|
|
120
|
+
note: {
|
|
121
|
+
content: llmResponse.note?.content ?? "",
|
|
122
|
+
reason: llmResponse.note?.reason ?? "",
|
|
123
|
+
},
|
|
124
|
+
chosenAction: llmResponse.chosenAction,
|
|
125
|
+
tokens: llmResponse.tokenUsage,
|
|
126
|
+
};
|
|
127
|
+
})));
|
|
128
|
+
const tokenUsed = {
|
|
129
|
+
input: 0,
|
|
130
|
+
output: 0,
|
|
131
|
+
};
|
|
132
|
+
const newNotebookEntries = [];
|
|
133
|
+
const statuses = [];
|
|
134
|
+
for (const llmResponse of llmResponses.filter((response) => !!response)) {
|
|
135
|
+
tokenUsed.input += llmResponse.tokens.input;
|
|
136
|
+
tokenUsed.output += llmResponse.tokens.output;
|
|
137
|
+
newNotebookEntries.push({
|
|
138
|
+
chunkId: llmResponse.chunkId,
|
|
139
|
+
content: llmResponse.note.content,
|
|
140
|
+
reason: llmResponse.note.reason,
|
|
141
|
+
});
|
|
142
|
+
if (llmResponse.status &&
|
|
143
|
+
!statuses.includes(llmResponse.status) &&
|
|
144
|
+
!params.state.status.includes(llmResponse.status)) {
|
|
145
|
+
statuses.push(llmResponse.status);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return {
|
|
149
|
+
hops: params.state.hops + 1,
|
|
150
|
+
processedChunks: chunks.map((c) => c.id),
|
|
151
|
+
notebook: newNotebookEntries,
|
|
152
|
+
status: statuses,
|
|
153
|
+
tokens: tokenUsed,
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
exports.ChunkVectorNodeService = ChunkVectorNodeService;
|
|
158
|
+
exports.ChunkVectorNodeService = ChunkVectorNodeService = __decorate([
|
|
159
|
+
(0, common_1.Injectable)(),
|
|
160
|
+
__metadata("design:paramtypes", [llm_service_1.LLMService,
|
|
161
|
+
chunk_repository_1.ChunkRepository,
|
|
162
|
+
websocket_service_1.WebSocketService,
|
|
163
|
+
nestjs_cls_1.ClsService,
|
|
164
|
+
config_1.ConfigService])
|
|
165
|
+
], ChunkVectorNodeService);
|
|
166
|
+
//# sourceMappingURL=chunk.vector.node.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chunk.vector.node.service.js","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/chunk.vector.node.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;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,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC;gBACtC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,EACjD,CAAC;gBACD,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YACpC,CAAC;QACH,CAAC;QAED,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC;YAC3B,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACxC,QAAQ,EAAE,kBAAkB;YAC5B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;CACF,CAAA;AAvGY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,mBAAU,GAAE;qCAKoB,wBAAU;QACL,kCAAe;QACd,oCAAgB;QACtB,uBAAU;QACP,sBAAa;GARpC,sBAAsB,CAuGlC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ConfigService } from "@nestjs/config";
|
|
2
|
+
import { ClsService } from "nestjs-cls";
|
|
3
|
+
import { BaseConfigInterface } from "../../../config/interfaces";
|
|
4
|
+
import { LLMService } from "../../../core/llm/services/llm.service";
|
|
5
|
+
import { WebSocketService } from "../../../core/websocket/services/websocket.service";
|
|
6
|
+
import { KeyConceptRepository } from "../../../foundations/keyconcept/repositories/keyconcept.repository";
|
|
7
|
+
import { ContextualiserContext, ContextualiserContextState } from "../../contextualiser/contexts/contextualiser.context";
|
|
8
|
+
export declare const defaultKeyConceptsPrompt = "\nAs an intelligent assistant, your primary objective is to score a list of key concepts in relation to the user question.\n\nYou are given the question, the rational plan, and a list of key elements with additional metadata.\nYour must check a list of Key Concepts, with the objective of selecting the most relevant ones to efficiently answer the question.\nThese initial key concepts are crucial because they are the starting point for searching for relevant information.\n\nGiven the **question**, the **rational plan** to answer the question, and the list of **Key Concepts** you have to:\n1. for each key concept\n - Read the key concept\n - Read the metadata (if they are available)\n - Assess a relevance to the potential answer by assigning a score between 0 and 100. A score of 100 implies a high likelihood of relevance to the answer, whereas a score of 0 suggests minimal relevance.\n - If the key element contains metadata and the metadata is very relevant to the question and it will be used to answer the question, please indicate that the key element is used as a source for the answer setting isUsedAsSource to true. In any other case (there is no metadata or the metadata is not relevant to the question), set isUsedAsSource to false.\n2. Provide a Status Message\n - Write a **short, friendly message** (maximum 40 characters) about your action.\n - **Avoid technical terms** such as \"nodes\", \"atomic facts\", or \"key concepts\".\n - The status message should make the user understand the action being taken\n - The status message **MUST** contain clear information contextualised to the current question and the gathered information.\n - The status message should be specific to the context and clearly convey the next steps or actions being taken.\n - The status message **MUST NOT** be something unrelated to the text, such as \"success\", \"sufficient information\", \"insufficient information\", \"chunk analysed\", \"chunk processed\" or similar generic messages.\n\n### IMPORTANT\n - You should only use Key concepts provided in the list of key elements and refrain from using any other key concepts.\n - You **MUST NOT** create new key concepts, but use ONLY the ones provided.\n\n### **Please strictly follow the above instructions and format. Let's begin.**\n";
|
|
9
|
+
export declare class KeyConceptsNodeService {
|
|
10
|
+
private readonly llmService;
|
|
11
|
+
private readonly keyConceptRepository;
|
|
12
|
+
private readonly webSocketService;
|
|
13
|
+
private readonly clsService;
|
|
14
|
+
private readonly configService;
|
|
15
|
+
private readonly systemPrompt;
|
|
16
|
+
constructor(llmService: LLMService, keyConceptRepository: KeyConceptRepository, webSocketService: WebSocketService, clsService: ClsService, configService: ConfigService<BaseConfigInterface>);
|
|
17
|
+
execute(params: {
|
|
18
|
+
state: typeof ContextualiserContext.State;
|
|
19
|
+
}): Promise<Partial<ContextualiserContextState>>;
|
|
20
|
+
private _transformMetadata;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=keyconcepts.node.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyconcepts.node.service.d.ts","sourceRoot":"","sources":["../../../../src/agents/contextualiser/nodes/keyconcepts.node.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,mBAAmB,EAA0B,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAEtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,oEAAoE,CAAC;AAC1G,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,sDAAsD,CAAC;AAE9D,eAAO,MAAM,wBAAwB,owEA0BpC,CAAC;AAoCF,qBACa,sBAAsB;IAI/B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAPhC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;gBAGnB,UAAU,EAAE,UAAU,EACtB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,CAAC,mBAAmB,CAAC;IAM9D,OAAO,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,OAAO,qBAAqB,CAAC,KAAK,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAkGlH,OAAO,CAAC,kBAAkB;CAa3B"}
|