@solidxai/core 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/dtos/create-saved-filters.dto.d.ts.map +1 -1
  2. package/dist/dtos/create-saved-filters.dto.js.map +1 -1
  3. package/dist/entities/chatter-message.entity.d.ts.map +1 -1
  4. package/dist/entities/chatter-message.entity.js +2 -0
  5. package/dist/entities/chatter-message.entity.js.map +1 -1
  6. package/dist/helpers/schematic.service.d.ts.map +1 -1
  7. package/dist/helpers/schematic.service.js +5 -1
  8. package/dist/helpers/schematic.service.js.map +1 -1
  9. package/dist/jobs/api-email-queue-options.d.ts.map +1 -1
  10. package/dist/jobs/api-email-queue-options.js +2 -2
  11. package/dist/jobs/api-email-queue-options.js.map +1 -1
  12. package/dist/jobs/chatter-queue-options.js +2 -2
  13. package/dist/jobs/chatter-queue-options.js.map +1 -1
  14. package/dist/jobs/computed-field-evaluation-queue-options.js +2 -2
  15. package/dist/jobs/computed-field-evaluation-queue-options.js.map +1 -1
  16. package/dist/jobs/database/api-email-queue-options-database.js +2 -2
  17. package/dist/jobs/database/api-email-queue-options-database.js.map +1 -1
  18. package/dist/jobs/database/computed-field-evaluation-queue-options-database.js +2 -2
  19. package/dist/jobs/database/computed-field-evaluation-queue-options-database.js.map +1 -1
  20. package/dist/jobs/database/generate-code-queue-options-database.js +2 -2
  21. package/dist/jobs/database/generate-code-queue-options-database.js.map +1 -1
  22. package/dist/jobs/database/msg91-sms-queue-database-options.d.ts.map +1 -1
  23. package/dist/jobs/database/msg91-sms-queue-database-options.js +2 -2
  24. package/dist/jobs/database/msg91-sms-queue-database-options.js.map +1 -1
  25. package/dist/jobs/database/msg91-whatsapp-queue-options-database.js +2 -2
  26. package/dist/jobs/database/msg91-whatsapp-queue-options-database.js.map +1 -1
  27. package/dist/jobs/database/otp-queue-options-database.d.ts.map +1 -1
  28. package/dist/jobs/database/otp-queue-options-database.js +2 -2
  29. package/dist/jobs/database/otp-queue-options-database.js.map +1 -1
  30. package/dist/jobs/database/smtp-email-queue-options-database.js +1 -1
  31. package/dist/jobs/database/smtp-email-queue-options-database.js.map +1 -1
  32. package/dist/jobs/database/test-queue-options-database.js +2 -2
  33. package/dist/jobs/database/test-queue-options-database.js.map +1 -1
  34. package/dist/jobs/database/three60-whatsapp-queue-options-database.js +2 -2
  35. package/dist/jobs/database/three60-whatsapp-queue-options-database.js.map +1 -1
  36. package/dist/jobs/database/trigger-mcp-client-queue-options.js +2 -2
  37. package/dist/jobs/database/trigger-mcp-client-queue-options.js.map +1 -1
  38. package/dist/jobs/database/twilio-sms-queue-database-options.js +2 -2
  39. package/dist/jobs/database/twilio-sms-queue-database-options.js.map +1 -1
  40. package/dist/jobs/generate-code-queue-options.js +2 -2
  41. package/dist/jobs/generate-code-queue-options.js.map +1 -1
  42. package/dist/jobs/msg91-otp-queue-options.d.ts.map +1 -1
  43. package/dist/jobs/msg91-otp-queue-options.js +2 -2
  44. package/dist/jobs/msg91-otp-queue-options.js.map +1 -1
  45. package/dist/jobs/msg91-sms-queue-options.d.ts.map +1 -1
  46. package/dist/jobs/msg91-sms-queue-options.js +2 -2
  47. package/dist/jobs/msg91-sms-queue-options.js.map +1 -1
  48. package/dist/jobs/msg91-whatsapp-queue-options.d.ts.map +1 -1
  49. package/dist/jobs/msg91-whatsapp-queue-options.js +2 -2
  50. package/dist/jobs/msg91-whatsapp-queue-options.js.map +1 -1
  51. package/dist/jobs/smtp-email-queue-options.d.ts.map +1 -1
  52. package/dist/jobs/smtp-email-queue-options.js +1 -1
  53. package/dist/jobs/smtp-email-queue-options.js.map +1 -1
  54. package/dist/jobs/test-queue-options.d.ts.map +1 -1
  55. package/dist/jobs/test-queue-options.js +2 -2
  56. package/dist/jobs/test-queue-options.js.map +1 -1
  57. package/dist/jobs/three60-whatsapp-queue-options.d.ts.map +1 -1
  58. package/dist/jobs/three60-whatsapp-queue-options.js +2 -2
  59. package/dist/jobs/three60-whatsapp-queue-options.js.map +1 -1
  60. package/dist/jobs/three60-whatsapp-subscriber.service.js +2 -2
  61. package/dist/jobs/three60-whatsapp-subscriber.service.js.map +1 -1
  62. package/dist/jobs/trigger-mcp-client-queue-options.js +2 -2
  63. package/dist/jobs/trigger-mcp-client-queue-options.js.map +1 -1
  64. package/dist/jobs/twilio-sms-queue-options.js +2 -2
  65. package/dist/jobs/twilio-sms-queue-options.js.map +1 -1
  66. package/dist/services/chatter-message.service.d.ts.map +1 -1
  67. package/dist/services/chatter-message.service.js +8 -1
  68. package/dist/services/chatter-message.service.js.map +1 -1
  69. package/dist/services/crud-helper.service.js.map +1 -1
  70. package/dist/services/queues/database-publisher.service.js +0 -1
  71. package/dist/services/queues/database-publisher.service.js.map +1 -1
  72. package/dist/services/queues/database-subscriber.service.d.ts.map +1 -1
  73. package/dist/services/queues/database-subscriber.service.js +14 -1
  74. package/dist/services/queues/database-subscriber.service.js.map +1 -1
  75. package/dist/services/queues/rabbitmq-subscriber.service.d.ts.map +1 -1
  76. package/dist/services/queues/rabbitmq-subscriber.service.js +18 -3
  77. package/dist/services/queues/rabbitmq-subscriber.service.js.map +1 -1
  78. package/dist/services/scheduled-jobs/scheduler.service.d.ts +1 -0
  79. package/dist/services/scheduled-jobs/scheduler.service.d.ts.map +1 -1
  80. package/dist/services/scheduled-jobs/scheduler.service.js +26 -10
  81. package/dist/services/scheduled-jobs/scheduler.service.js.map +1 -1
  82. package/dist/tsconfig.tsbuildinfo +1 -1
  83. package/package.json +1 -1
  84. package/src/dtos/create-saved-filters.dto.ts +10 -1
  85. package/src/entities/chatter-message.entity.ts +11 -1
  86. package/src/helpers/schematic.service.ts +5 -1
  87. package/src/jobs/api-email-queue-options.ts +2 -6
  88. package/src/jobs/chatter-queue-options.ts +2 -2
  89. package/src/jobs/computed-field-evaluation-queue-options.ts +2 -2
  90. package/src/jobs/database/api-email-queue-options-database.ts +2 -2
  91. package/src/jobs/database/computed-field-evaluation-queue-options-database.ts +2 -2
  92. package/src/jobs/database/generate-code-queue-options-database.ts +2 -2
  93. package/src/jobs/database/msg91-sms-queue-database-options.ts +3 -2
  94. package/src/jobs/database/msg91-whatsapp-queue-options-database.ts +2 -2
  95. package/src/jobs/database/otp-queue-options-database.ts +3 -2
  96. package/src/jobs/database/smtp-email-queue-options-database.ts +1 -1
  97. package/src/jobs/database/test-queue-options-database.ts +2 -2
  98. package/src/jobs/database/three60-whatsapp-queue-options-database.ts +2 -2
  99. package/src/jobs/database/trigger-mcp-client-queue-options.ts +2 -2
  100. package/src/jobs/database/twilio-sms-queue-database-options.ts +2 -2
  101. package/src/jobs/generate-code-queue-options.ts +2 -2
  102. package/src/jobs/msg91-otp-queue-options.ts +3 -8
  103. package/src/jobs/msg91-sms-queue-options.ts +3 -6
  104. package/src/jobs/msg91-whatsapp-queue-options.ts +4 -7
  105. package/src/jobs/smtp-email-queue-options.ts +1 -6
  106. package/src/jobs/test-queue-options.ts +2 -6
  107. package/src/jobs/three60-whatsapp-queue-options.ts +4 -7
  108. package/src/jobs/three60-whatsapp-subscriber.service.ts +1 -1
  109. package/src/jobs/trigger-mcp-client-queue-options.ts +2 -2
  110. package/src/jobs/twilio-sms-queue-options.ts +3 -3
  111. package/src/services/chatter-message.service.ts +32 -26
  112. package/src/services/crud-helper.service.ts +1 -1
  113. package/src/services/queues/database-publisher.service.ts +1 -1
  114. package/src/services/queues/database-subscriber.service.ts +17 -28
  115. package/src/services/queues/rabbitmq-subscriber.service.ts +21 -5
  116. package/src/services/scheduled-jobs/scheduler.service.ts +31 -14
@@ -1 +1 @@
1
- {"version":3,"file":"create-saved-filters.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAI9B,eAAe,EAAE,GAAG,CAAC;IAIrB,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,OAAO,CAAS;IAI3B,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,EAAE,MAAM,CAAC;IAIrB,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,WAAW,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"create-saved-filters.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAI9B,eAAe,EAAE,GAAG,CAAC;IAKrB,IAAI,EAAE,MAAM,CAAC;IAKb,SAAS,EAAE,OAAO,CAAS;IAK3B,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC;IAKpB,OAAO,EAAE,MAAM,CAAC;IAKhB,YAAY,EAAE,MAAM,CAAC;IAKrB,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC;IAKpB,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-saved-filters.dto.js","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAAmF;AAEnF,MAAa,qBAAqB;IAAlC;QAYI,cAAS,GAAY,KAAK,CAAC;KA6B9B;;mLA7BwB,KAAK;;CA6B7B;AAzCD,sDAyCC;AArCG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;8DACO;AAIrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mDACD;AAIb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;wDACa;AAI3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;qDAC3C;AAIf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;0DACtC;AAIpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;sDAC3D;AAIhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;2DACtD;AAIrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;qDAC3D;AAIf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;0DACtD;AAIpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,6GAA6G,EAAE,CAAC;;0DACxH","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsOptional, IsNotEmpty, IsBoolean, IsInt, IsJSON } from 'class-validator';\n\nexport class CreateSavedFiltersDto {\n @IsOptional()\n @IsJSON()\n @ApiProperty()\n filterQueryJson: any;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isPrivate: boolean = false;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the user id field\" })\n userId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the user id field\" })\n userUserKey: string;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelUserKey: string;\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewId: number;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewUserKey: string;\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"A brief description providing additional context about the saved filter’s purpose or usage within the view.\" })\n description: string;\n}"]}
1
+ {"version":3,"file":"create-saved-filters.dto.js","sourceRoot":"","sources":["../../src/dtos/create-saved-filters.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAAmF;AAEnF,MAAa,qBAAqB;IAAlC;QAcI,cAAS,GAAY,KAAK,CAAC;KAoC9B;;mLApCwB,KAAK;;CAoC7B;AAlDD,sDAkDC;AA9CG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;8DACO;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;wDACa;AAK3B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;qDAC3C;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC;;0DACtC;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;sDAC3D;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,4CAA4C,EAAE,CAAC;;2DACtD;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;qDAC3D;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,2CAA2C,EAAE,CAAC;;0DACtD;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,6GAA6G,EAAE,CAAC;;0DACxH","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsOptional, IsNotEmpty, IsBoolean, IsInt, IsJSON } from 'class-validator';\n\nexport class CreateSavedFiltersDto {\n @IsOptional()\n @IsJSON()\n @ApiProperty()\n filterQueryJson: any;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isPrivate: boolean = false;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the user id field\" })\n userId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the user id field\" })\n userUserKey: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the model related to saved filter.\" })\n modelUserKey: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewId: number;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"This is the view related to saved filter.\" })\n viewUserKey: string;\n\n @IsString()\n @IsOptional()\n @ApiProperty({ description: \"A brief description providing additional context about the saved filter’s purpose or usage within the view.\" })\n description: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-message.entity.d.ts","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,cAAe,SAAQ,YAAY;IAG5C,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,EAAE,MAAM,CAAC;IAEvB,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,MAAM,CAAC;IAExB,WAAW,EAAE,MAAM,CAAC;IAGpB,IAAI,EAAE,IAAI,CAAC;IAEX,qBAAqB,EAAE,qBAAqB,EAAE,CAAC;IAE/C,gBAAgB,EAAE,MAAM,CAAC;IAEzB,YAAY,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"chatter-message.entity.d.ts","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,cAAe,SAAQ,YAAY;IAG5C,WAAW,EAAE,MAAM,CAAC;IAGpB,cAAc,EAAE,MAAM,CAAC;IAGvB,WAAW,EAAE,MAAM,CAAC;IAIpB,eAAe,EAAE,MAAM,CAAC;IAIxB,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,IAAI,CAAC;IAGX,qBAAqB,EAAE,qBAAqB,EAAE,CAAC;IAG/C,gBAAgB,EAAE,MAAM,CAAC;IAGzB,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -40,10 +40,12 @@ __decorate([
40
40
  __metadata("design:type", Number)
41
41
  ], ChatterMessage.prototype, "coModelEntityId", void 0);
42
42
  __decorate([
43
+ (0, typeorm_1.Index)(),
43
44
  (0, typeorm_1.Column)({ type: "varchar" }),
44
45
  __metadata("design:type", String)
45
46
  ], ChatterMessage.prototype, "coModelName", void 0);
46
47
  __decorate([
48
+ (0, typeorm_1.Index)(),
47
49
  (0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true }),
48
50
  (0, typeorm_1.JoinColumn)(),
49
51
  __metadata("design:type", user_entity_1.User)
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-message.entity.js","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAkF;AAClF,+CAA+C;AAC/C,qFAAyE;AAGlE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;;;;CAsB/C,CAAA;AAtBY,wCAAc;AAGvB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAEpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;sDACL;AAEvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAGpB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACJ;AAExB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAGpB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;4CAAC;AAEX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,CAAC,qBAAqB,EAAE,EAAE,CAAC,qBAAqB,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6DAC5E;AAE/C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAChB;AAEzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACpB;yBArBZ,cAAc;IAD1B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,cAAc,CAsB1B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, Index, JoinColumn, ManyToOne, OneToMany } from 'typeorm';\nimport { User } from 'src/entities/user.entity'\nimport { ChatterMessageDetails } from './chatter-message-details.entity';\n\n@Entity(\"ss_chatter_message\")\nexport class ChatterMessage extends CommonEntity {\n @Index()\n @Column({ type: \"varchar\" })\n messageType: string; // audit | custom \n @Column({ type: \"varchar\" })\n messageSubType: string; // audit_update | audit_insert | audit_delete | custom\n @Column({ type: \"text\", nullable: true })\n messageBody: string;\n @Index()\n @Column({ type: \"integer\" })\n coModelEntityId: number;\n @Column({ type: \"varchar\" })\n coModelName: string;\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n @OneToMany(() => ChatterMessageDetails, (chatterMessageDetails) => chatterMessageDetails.chatterMessage, { cascade: true })\n chatterMessageDetails: ChatterMessageDetails[];\n @Column({ type: \"text\", nullable: true })\n modelDisplayName: string;\n @Column({ type: \"text\", nullable: true })\n modelUserKey: string;\n}"]}
1
+ {"version":3,"file":"chatter-message.entity.js","sourceRoot":"","sources":["../../src/entities/chatter-message.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAkF;AAClF,+CAA+C;AAC/C,qFAAyE;AAGlE,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;;;;CAgC/C,CAAA;AAhCY,wCAAc;AAGvB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;sDACL;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAIpB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACJ;AAIxB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAKpB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzC,IAAA,oBAAU,GAAE;8BACP,kBAAI;4CAAC;AAGX;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,CAAC,qBAAqB,EAAE,EAAE,CAAC,qBAAqB,CAAC,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6DAC5E;AAG/C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDAChB;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACpB;yBA/BZ,cAAc;IAD1B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,cAAc,CAgC1B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity'\nimport { Entity, Column, Index, JoinColumn, ManyToOne, OneToMany } from 'typeorm';\nimport { User } from 'src/entities/user.entity'\nimport { ChatterMessageDetails } from './chatter-message-details.entity';\n\n@Entity(\"ss_chatter_message\")\nexport class ChatterMessage extends CommonEntity {\n @Index()\n @Column({ type: \"varchar\" })\n messageType: string; // audit | custom \n\n @Column({ type: \"varchar\" })\n messageSubType: string; // audit_update | audit_insert | audit_delete | custom\n\n @Column({ type: \"text\", nullable: true })\n messageBody: string;\n\n @Index()\n @Column({ type: \"integer\" })\n coModelEntityId: number;\n\n @Index()\n @Column({ type: \"varchar\" })\n coModelName: string;\n\n @Index()\n @ManyToOne(() => User, { nullable: true })\n @JoinColumn()\n user: User;\n\n @OneToMany(() => ChatterMessageDetails, (chatterMessageDetails) => chatterMessageDetails.chatterMessage, { cascade: true })\n chatterMessageDetails: ChatterMessageDetails[];\n\n @Column({ type: \"text\", nullable: true })\n modelDisplayName: string;\n\n @Column({ type: \"text\", nullable: true })\n modelUserKey: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"schematic.service.d.ts","sourceRoot":"","sources":["../../src/helpers/schematic.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAmB,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAC/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAGF,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AACrD,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AAGrD,qBACa,gBAAgB;IAKf,OAAO,CAAC,QAAQ,CAAC,cAAc;IAAkB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAJ3F,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAC5D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA4B;IAC9D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAgB;gBAEtB,cAAc,EAAE,cAAc,EAAmB,aAAa,EAAE,aAAa;IAEpG,uBAAuB,CAC3B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,qBAAqB,GAAG,8BAA8B,EAC/D,KAAK,UAAQ,GACZ,OAAO,CAAC,MAAM,CAAC;IAKlB,OAAO,CAAC,wBAAwB;IA4BhC,OAAO,CAAC,wBAAwB;IAWhC,OAAO,CAAC,wBAAwB;CAOjC"}
1
+ {"version":3,"file":"schematic.service.d.ts","sourceRoot":"","sources":["../../src/helpers/schematic.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAmB,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAC/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAGF,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AACrD,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AAGrD,qBACa,gBAAgB;IAKf,OAAO,CAAC,QAAQ,CAAC,cAAc;IAAkB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAJ3F,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqC;IAC5D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA4B;IAC9D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAgB;gBAEtB,cAAc,EAAE,cAAc,EAAmB,aAAa,EAAE,aAAa;IAEpG,uBAAuB,CAC3B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,qBAAqB,GAAG,8BAA8B,EAC/D,KAAK,UAAQ,GACZ,OAAO,CAAC,MAAM,CAAC;IAKlB,OAAO,CAAC,wBAAwB;IAgChC,OAAO,CAAC,wBAAwB;IAWhC,OAAO,CAAC,wBAAwB;CAOjC"}
@@ -36,7 +36,11 @@ let SchematicService = SchematicService_1 = class SchematicService {
36
36
  command === exports.REFRESH_MODEL_COMMAND) {
37
37
  const { fieldNamesForRemoval, ...modelSpecificOptions } = options;
38
38
  const modelArgs = this.buildModelGenerationArgs(modelSpecificOptions);
39
- const fieldArgs = this.buildFieldGenerationArgs(fieldNamesForRemoval);
39
+ const fieldArgs = [];
40
+ if (fieldNamesForRemoval && fieldNamesForRemoval.length > 0) {
41
+ const _fieldArgs = this.buildFieldGenerationArgs(fieldNamesForRemoval);
42
+ fieldArgs.push(..._fieldArgs);
43
+ }
40
44
  const args = [...baseArgs, ...modelArgs, ...fieldArgs];
41
45
  this.logger.debug('schematicCommand args', args);
42
46
  return { command: this.SCHEMATICS_COMMAND, args };
@@ -1 +1 @@
1
- {"version":3,"file":"schematic.service.js","sourceRoot":"","sources":["../../src/helpers/schematic.service.ts"],"names":[],"mappings":"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","sourcesContent":["import { Injectable, Logger } from '@nestjs/common';\nimport { CommandService, CommandWithArgs } from './command.service';\nimport { SolidRegistry } from './solid-registry';\n\nexport const ADD_MODULE_COMMAND = 'add-module';\nexport type GenerateModuleOptions = {\n module: string;\n};\ntype ModelGenerationOptions = Omit<ModelAndFieldGenerationOptions, 'fieldNamesForRemoval'>;\n\ntype ModelAndFieldGenerationOptions = {\n module: string;\n model: string;\n fieldNamesForRemoval: string[];\n};\nexport const REMOVE_FIELDS_COMMAND = 'remove-fields';\nexport const REFRESH_MODEL_COMMAND = 'refresh-model';\n\n//TODO Rename to CodeBuilder service\n@Injectable()\nexport class SchematicService {\n private readonly logger = new Logger(SchematicService.name);\n private readonly SCHEMATIC_PROJECT = '@solidxai/code-builder';\n private readonly SCHEMATICS_COMMAND = 'schematics';\n\n constructor(private readonly commandService: CommandService, private readonly solidRegistry: SolidRegistry) { }\n\n async executeSchematicCommand(\n command: string,\n options: GenerateModuleOptions | ModelAndFieldGenerationOptions,\n debug = false,\n ): Promise<string> {\n const commandWithArgs = this.generateSchematicCommand(command, options, debug);\n return await this.commandService.executeCommandWithArgs(commandWithArgs);\n }\n\n private generateSchematicCommand(\n command: string,\n options: GenerateModuleOptions | ModelAndFieldGenerationOptions,\n debug: boolean,\n ): CommandWithArgs {\n const schematicName = `${this.SCHEMATIC_PROJECT}:${command}`;\n const baseArgs = [schematicName, `--debug=${debug}`];\n\n if (\n command === REMOVE_FIELDS_COMMAND ||\n command === REFRESH_MODEL_COMMAND\n ) {\n const { fieldNamesForRemoval, ...modelSpecificOptions } = options as ModelAndFieldGenerationOptions;\n const modelArgs = this.buildModelGenerationArgs(modelSpecificOptions);\n const fieldArgs = this.buildFieldGenerationArgs(fieldNamesForRemoval);\n const args = [...baseArgs, ...modelArgs, ...fieldArgs];\n this.logger.debug('schematicCommand args', args);\n return { command: this.SCHEMATICS_COMMAND, args };\n } else if (command === ADD_MODULE_COMMAND) {\n const moduleOptions = options as GenerateModuleOptions;\n const args = [...baseArgs, `--module=${moduleOptions.module}`];\n this.logger.debug('schematicCommand args', args);\n return { command: this.SCHEMATICS_COMMAND, args };\n } else {\n throw new Error('Schematic command not supported.');\n }\n }\n\n private buildFieldGenerationArgs(fieldNamesForRemoval: string[]): string[] {\n return fieldNamesForRemoval\n .filter((fieldName) => {\n return !this.solidRegistry.getCommonEntityKeys().map(key => key.toString()).includes(fieldName);\n })\n .map((fieldName) => {\n // Using argument array eliminates the need for shell-specific quoting\n return `--fieldNamesForRemoval=${fieldName}`;\n });\n }\n\n private buildModelGenerationArgs(modelSpecificOptions: ModelGenerationOptions): string[] {\n const args: string[] = [\n `--module=${modelSpecificOptions.module}`,\n `--model=${modelSpecificOptions.model}`,\n ];\n return args;\n }\n}\n"]}
1
+ {"version":3,"file":"schematic.service.js","sourceRoot":"","sources":["../../src/helpers/schematic.service.ts"],"names":[],"mappings":"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","sourcesContent":["import { Injectable, Logger } from '@nestjs/common';\nimport { CommandService, CommandWithArgs } from './command.service';\nimport { SolidRegistry } from './solid-registry';\n\nexport const ADD_MODULE_COMMAND = 'add-module';\nexport type GenerateModuleOptions = {\n module: string;\n};\ntype ModelGenerationOptions = Omit<ModelAndFieldGenerationOptions, 'fieldNamesForRemoval'>;\n\ntype ModelAndFieldGenerationOptions = {\n module: string;\n model: string;\n fieldNamesForRemoval: string[];\n};\nexport const REMOVE_FIELDS_COMMAND = 'remove-fields';\nexport const REFRESH_MODEL_COMMAND = 'refresh-model';\n\n//TODO Rename to CodeBuilder service\n@Injectable()\nexport class SchematicService {\n private readonly logger = new Logger(SchematicService.name);\n private readonly SCHEMATIC_PROJECT = '@solidxai/code-builder';\n private readonly SCHEMATICS_COMMAND = 'schematics';\n\n constructor(private readonly commandService: CommandService, private readonly solidRegistry: SolidRegistry) { }\n\n async executeSchematicCommand(\n command: string,\n options: GenerateModuleOptions | ModelAndFieldGenerationOptions,\n debug = false,\n ): Promise<string> {\n const commandWithArgs = this.generateSchematicCommand(command, options, debug);\n return await this.commandService.executeCommandWithArgs(commandWithArgs);\n }\n\n private generateSchematicCommand(\n command: string,\n options: GenerateModuleOptions | ModelAndFieldGenerationOptions,\n debug: boolean,\n ): CommandWithArgs {\n const schematicName = `${this.SCHEMATIC_PROJECT}:${command}`;\n const baseArgs = [schematicName, `--debug=${debug}`];\n\n if (\n command === REMOVE_FIELDS_COMMAND ||\n command === REFRESH_MODEL_COMMAND\n ) {\n const { fieldNamesForRemoval, ...modelSpecificOptions } = options as ModelAndFieldGenerationOptions;\n const modelArgs = this.buildModelGenerationArgs(modelSpecificOptions);\n const fieldArgs: string[] = [];\n if (fieldNamesForRemoval && fieldNamesForRemoval.length > 0) {\n const _fieldArgs = this.buildFieldGenerationArgs(fieldNamesForRemoval);\n fieldArgs.push(..._fieldArgs);\n }\n const args = [...baseArgs, ...modelArgs, ...fieldArgs];\n this.logger.debug('schematicCommand args', args);\n return { command: this.SCHEMATICS_COMMAND, args };\n } else if (command === ADD_MODULE_COMMAND) {\n const moduleOptions = options as GenerateModuleOptions;\n const args = [...baseArgs, `--module=${moduleOptions.module}`];\n this.logger.debug('schematicCommand args', args);\n return { command: this.SCHEMATICS_COMMAND, args };\n } else {\n throw new Error('Schematic command not supported.');\n }\n }\n\n private buildFieldGenerationArgs(fieldNamesForRemoval: string[]): string[] {\n return fieldNamesForRemoval\n .filter((fieldName) => {\n return !this.solidRegistry.getCommonEntityKeys().map(key => key.toString()).includes(fieldName);\n })\n .map((fieldName) => {\n // Using argument array eliminates the need for shell-specific quoting\n return `--fieldNamesForRemoval=${fieldName}`;\n });\n }\n\n private buildModelGenerationArgs(modelSpecificOptions: ModelGenerationOptions): string[] {\n const args: string[] = [\n `--module=${modelSpecificOptions.module}`,\n `--model=${modelSpecificOptions.model}`,\n ];\n return args;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"api-email-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/api-email-queue-options.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAQE"}
1
+ {"version":3,"file":"api-email-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/api-email-queue-options.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const API_MAIL_QUEUE_NAME = 'api_mail_queue';
4
+ const API_MAIL_QUEUE_NAME = 'solid_api_mail_queue';
5
5
  exports.default = {
6
- name: 'apiMailInstance',
6
+ name: API_MAIL_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: API_MAIL_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"api-email-queue-options.js","sourceRoot":"","sources":["../../src/jobs/api-email-queue-options.ts"],"names":[],"mappings":";;AACA,8CAA2C;AAE3C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAE7C,kBAAe;IACX,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CAKjC,CAAC","sourcesContent":["import { QueueMessage } from 'src/interfaces/mq';\nimport { BrokerType } from \"../interfaces\";\n\nconst API_MAIL_QUEUE_NAME = 'api_mail_queue';\n\nexport default {\n name: 'apiMailInstance',\n type: BrokerType.RabbitMQ,\n queueName: API_MAIL_QUEUE_NAME,\n // receive: async (message: QueueMessage<any>) => { // Default receive handler\n // console.log(`Received message: ${JSON.stringify(message)} from queue ${MAIL_QUEUE_NAME}`);\n // return 'Received';\n // },\n};\n"]}
1
+ {"version":3,"file":"api-email-queue-options.js","sourceRoot":"","sources":["../../src/jobs/api-email-queue-options.ts"],"names":[],"mappings":";;AACA,8CAA2C;AAE3C,MAAM,mBAAmB,GAAG,sBAAsB,CAAC;AAEnD,kBAAe;IACX,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { QueueMessage } from 'src/interfaces/mq';\nimport { BrokerType } from \"../interfaces\";\n\nconst API_MAIL_QUEUE_NAME = 'solid_api_mail_queue';\n\nexport default {\n name: API_MAIL_QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: API_MAIL_QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const QUEUE_NAME = 'chatter_queue';
4
+ const QUEUE_NAME = 'solid_chatter_queue';
5
5
  exports.default = {
6
- name: 'queueChatter',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"chatter-queue-options.js","sourceRoot":"","sources":["../../src/jobs/chatter-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,eAAe,CAAC;AAEnC,kBAAe;IACX,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'chatter_queue';\n\nexport default {\n name: 'queueChatter',\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"chatter-queue-options.js","sourceRoot":"","sources":["../../src/jobs/chatter-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,qBAAqB,CAAC;AAEzC,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'solid_chatter_queue';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const QUEUE_NAME = 'computed_field_evaluation_queue';
4
+ const QUEUE_NAME = 'solid_computed_field_evaluation_queue';
5
5
  exports.default = {
6
- name: 'computedFieldEvaluationQueue',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"computed-field-evaluation-queue-options.js","sourceRoot":"","sources":["../../src/jobs/computed-field-evaluation-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,iCAAiC,CAAC;AAErD,kBAAe;IACX,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'computed_field_evaluation_queue';\n\nexport default {\n name: 'computedFieldEvaluationQueue',\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"computed-field-evaluation-queue-options.js","sourceRoot":"","sources":["../../src/jobs/computed-field-evaluation-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,uCAAuC,CAAC;AAE3D,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'solid_computed_field_evaluation_queue';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const API_MAIL_QUEUE_NAME = 'api_mail_queue_database';
4
+ const API_MAIL_QUEUE_NAME = 'solid_api_mail_queue_database';
5
5
  exports.default = {
6
- name: 'apiMailInstance',
6
+ name: API_MAIL_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: API_MAIL_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"api-email-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/api-email-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,mBAAmB,GAAG,yBAAyB,CAAC;AAEtD,kBAAe;IACX,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst API_MAIL_QUEUE_NAME = 'api_mail_queue_database';\n\nexport default {\n name: 'apiMailInstance',\n type: BrokerType.Database,\n queueName: API_MAIL_QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"api-email-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/api-email-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,mBAAmB,GAAG,+BAA+B,CAAC;AAE5D,kBAAe;IACX,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst API_MAIL_QUEUE_NAME = 'solid_api_mail_queue_database';\n\nexport default {\n name: API_MAIL_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: API_MAIL_QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const QUEUE_NAME = 'computed_field_evaluation_queue_database';
4
+ const QUEUE_NAME = 'solid_computed_field_evaluation_queue_database';
5
5
  exports.default = {
6
- name: 'computedFieldEvaluationQueueDatabase',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"computed-field-evaluation-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/computed-field-evaluation-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,UAAU,GAAG,0CAA0C,CAAC;AAE9D,kBAAe;IACX,IAAI,EAAE,sCAAsC;IAC5C,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../../interfaces\";\n\nconst QUEUE_NAME = 'computed_field_evaluation_queue_database';\n\nexport default {\n name: 'computedFieldEvaluationQueueDatabase',\n type: BrokerType.Database,\n queueName: QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"computed-field-evaluation-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/computed-field-evaluation-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,UAAU,GAAG,gDAAgD,CAAC;AAEpE,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../../interfaces\";\n\nconst QUEUE_NAME = 'solid_computed_field_evaluation_queue_database';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.Database,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const QUEUE_NAME = 'generate_code_queue_database';
4
+ const QUEUE_NAME = 'solid_generate_code_queue_database';
5
5
  exports.default = {
6
- name: 'generateCodeQueueDatabase',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"generate-code-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/generate-code-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,UAAU,GAAG,8BAA8B,CAAC;AAElD,kBAAe;IACX,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../../interfaces\";\n\nconst QUEUE_NAME = 'generate_code_queue_database';\n\nexport default {\n name: 'generateCodeQueueDatabase',\n type: BrokerType.Database,\n queueName: QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"generate-code-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/generate-code-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,UAAU,GAAG,oCAAoC,CAAC;AAExD,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../../interfaces\";\n\nconst QUEUE_NAME = 'solid_generate_code_queue_database';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.Database,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-sms-queue-database-options.d.ts","sourceRoot":"","sources":["../../../src/jobs/database/msg91-sms-queue-database-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;;;;;;AAG5C,wBAIE"}
1
+ {"version":3,"file":"msg91-sms-queue-database-options.d.ts","sourceRoot":"","sources":["../../../src/jobs/database/msg91-sms-queue-database-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;;;;;;AAI5C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const SMS_QUEUE_NAME = 'sms_queue_database';
4
+ const SMS_QUEUE_NAME = 'solid_msg91_sms_queue_database';
5
5
  exports.default = {
6
- name: 'smsInstance',
6
+ name: SMS_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: SMS_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-sms-queue-database-options.js","sourceRoot":"","sources":["../../../src/jobs/database/msg91-sms-queue-database-options.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAC5C,kBAAe;IACX,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst SMS_QUEUE_NAME = 'sms_queue_database';\nexport default {\n name: 'smsInstance',\n type: BrokerType.Database,\n queueName: SMS_QUEUE_NAME,\n};"]}
1
+ {"version":3,"file":"msg91-sms-queue-database-options.js","sourceRoot":"","sources":["../../../src/jobs/database/msg91-sms-queue-database-options.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,cAAc,GAAG,gCAAgC,CAAC;AAExD,kBAAe;IACX,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst SMS_QUEUE_NAME = 'solid_msg91_sms_queue_database';\n\nexport default {\n name: SMS_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: SMS_QUEUE_NAME,\n};"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const WHATSAPP_QUEUE_NAME = 'msg91_whatsapp_queue_database';
4
+ const WHATSAPP_QUEUE_NAME = 'solid_msg91_whatsapp_queue_database';
5
5
  exports.default = {
6
- name: 'whatsappInstance',
6
+ name: WHATSAPP_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: WHATSAPP_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-whatsapp-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/msg91-whatsapp-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,mBAAmB,GAAG,+BAA+B,CAAC;AAE5D,kBAAe;IACX,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst WHATSAPP_QUEUE_NAME = 'msg91_whatsapp_queue_database';\n\nexport default {\n name: 'whatsappInstance',\n type: BrokerType.Database,\n queueName: WHATSAPP_QUEUE_NAME,\n};"]}
1
+ {"version":3,"file":"msg91-whatsapp-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/msg91-whatsapp-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,mBAAmB,GAAG,qCAAqC,CAAC;AAElE,kBAAe;IACX,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst WHATSAPP_QUEUE_NAME = 'solid_msg91_whatsapp_queue_database';\n\nexport default {\n name: WHATSAPP_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: WHATSAPP_QUEUE_NAME,\n};"]}
@@ -1 +1 @@
1
- {"version":3,"file":"otp-queue-options-database.d.ts","sourceRoot":"","sources":["../../../src/jobs/database/otp-queue-options-database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;;;;;;AAG5C,wBAIE"}
1
+ {"version":3,"file":"otp-queue-options-database.d.ts","sourceRoot":"","sources":["../../../src/jobs/database/otp-queue-options-database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;;;;;;AAI5C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const OTP_QUEUE_NAME = 'otp_queue_database';
4
+ const OTP_QUEUE_NAME = 'solid_msg91_otp_queue_database';
5
5
  exports.default = {
6
- name: 'otpInstance',
6
+ name: OTP_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: OTP_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"otp-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/otp-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAC5C,kBAAe;IACX,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst OTP_QUEUE_NAME = 'otp_queue_database';\nexport default {\n name: 'otpInstance',\n type: BrokerType.Database,\n queueName: OTP_QUEUE_NAME,\n};"]}
1
+ {"version":3,"file":"otp-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/otp-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,cAAc,GAAG,gCAAgC,CAAC;AAExD,kBAAe;IACX,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst OTP_QUEUE_NAME = 'solid_msg91_otp_queue_database';\n\nexport default {\n name: OTP_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: OTP_QUEUE_NAME,\n};"]}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
4
  const MAIL_QUEUE_NAME = 'solid_email_db_queue_v3';
5
5
  exports.default = {
6
- name: 'solidEmailInstance',
6
+ name: MAIL_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: MAIL_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"smtp-email-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/smtp-email-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAG5C,MAAM,eAAe,GAAG,yBAAyB,CAAC;AAElD,kBAAe;IACX,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,eAAe;CAC7B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\n\nconst MAIL_QUEUE_NAME = 'solid_email_db_queue_v3';\n\nexport default {\n name: 'solidEmailInstance',\n type: BrokerType.Database,\n queueName: MAIL_QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"smtp-email-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/smtp-email-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAG5C,MAAM,eAAe,GAAG,yBAAyB,CAAC;AAElD,kBAAe;IACX,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,eAAe;CAC7B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\n\nconst MAIL_QUEUE_NAME = 'solid_email_db_queue_v3';\n\nexport default {\n name: MAIL_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: MAIL_QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const QUEUE_NAME = 'test_queue_db';
4
+ const QUEUE_NAME = 'solid_test_queue_db';
5
5
  exports.default = {
6
- name: 'queueTestDb',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"test-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/test-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,UAAU,GAAG,eAAe,CAAC;AAEnC,kBAAe;IACX,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../../interfaces\";\n\nconst QUEUE_NAME = 'test_queue_db';\n\nexport default {\n name: 'queueTestDb',\n type: BrokerType.Database,\n queueName: QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"test-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/test-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA8C;AAE9C,MAAM,UAAU,GAAG,qBAAqB,CAAC;AAEzC,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../../interfaces\";\n\nconst QUEUE_NAME = 'solid_test_queue_db';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.Database,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const WHATSAPP_QUEUE_NAME = 'three60_whatsapp_queue_database';
4
+ const WHATSAPP_QUEUE_NAME = 'solid_three60_whatsapp_queue_database';
5
5
  exports.default = {
6
- name: 'whatsappInstance',
6
+ name: WHATSAPP_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: WHATSAPP_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"three60-whatsapp-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/three60-whatsapp-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,mBAAmB,GAAG,iCAAiC,CAAC;AAE9D,kBAAe;IACX,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst WHATSAPP_QUEUE_NAME = 'three60_whatsapp_queue_database';\n\nexport default {\n name: 'whatsappInstance',\n type: BrokerType.Database,\n queueName: WHATSAPP_QUEUE_NAME,\n};"]}
1
+ {"version":3,"file":"three60-whatsapp-queue-options-database.js","sourceRoot":"","sources":["../../../src/jobs/database/three60-whatsapp-queue-options-database.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,mBAAmB,GAAG,uCAAuC,CAAC;AAEpE,kBAAe;IACX,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,mBAAmB;CACjC,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst WHATSAPP_QUEUE_NAME = 'solid_three60_whatsapp_queue_database';\n\nexport default {\n name: WHATSAPP_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: WHATSAPP_QUEUE_NAME,\n};"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const TRIGGER_MCP_CLIENT_QUEUE_NAME = 'trigger_mcp_client_queue';
4
+ const TRIGGER_MCP_CLIENT_QUEUE_NAME = 'solid_trigger_mcp_client_queue';
5
5
  exports.default = {
6
- name: 'triggerMcpClientQueue',
6
+ name: TRIGGER_MCP_CLIENT_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: TRIGGER_MCP_CLIENT_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"trigger-mcp-client-queue-options.js","sourceRoot":"","sources":["../../../src/jobs/database/trigger-mcp-client-queue-options.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,6BAA6B,GAAG,0BAA0B,CAAC;AAEjE,kBAAe;IACX,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,6BAA6B;CAC3C,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst TRIGGER_MCP_CLIENT_QUEUE_NAME = 'trigger_mcp_client_queue';\n\nexport default {\n name: 'triggerMcpClientQueue',\n type: BrokerType.Database,\n queueName: TRIGGER_MCP_CLIENT_QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"trigger-mcp-client-queue-options.js","sourceRoot":"","sources":["../../../src/jobs/database/trigger-mcp-client-queue-options.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,6BAA6B,GAAG,gCAAgC,CAAC;AAEvE,kBAAe;IACX,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,6BAA6B;CAC3C,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst TRIGGER_MCP_CLIENT_QUEUE_NAME = 'solid_trigger_mcp_client_queue';\n\nexport default {\n name: TRIGGER_MCP_CLIENT_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: TRIGGER_MCP_CLIENT_QUEUE_NAME,\n};\n"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../../interfaces");
4
- const SMS_QUEUE_NAME = 'twilio_sms_queue_database';
4
+ const SMS_QUEUE_NAME = 'solid_twilio_sms_queue_database';
5
5
  exports.default = {
6
- name: 'twilioSmsInstance',
6
+ name: SMS_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.Database,
8
8
  queueName: SMS_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"twilio-sms-queue-database-options.js","sourceRoot":"","sources":["../../../src/jobs/database/twilio-sms-queue-database-options.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,cAAc,GAAG,2BAA2B,CAAC;AAEnD,kBAAe;IACX,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst SMS_QUEUE_NAME = 'twilio_sms_queue_database';\n\nexport default {\n name: 'twilioSmsInstance',\n type: BrokerType.Database,\n queueName: SMS_QUEUE_NAME,\n};"]}
1
+ {"version":3,"file":"twilio-sms-queue-database-options.js","sourceRoot":"","sources":["../../../src/jobs/database/twilio-sms-queue-database-options.ts"],"names":[],"mappings":";;AAAA,iDAA4C;AAE5C,MAAM,cAAc,GAAG,iCAAiC,CAAC;AAEzD,kBAAe;IACX,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"src/interfaces\";\n\nconst SMS_QUEUE_NAME = 'solid_twilio_sms_queue_database';\n\nexport default {\n name: SMS_QUEUE_NAME,\n type: BrokerType.Database,\n queueName: SMS_QUEUE_NAME,\n};"]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const QUEUE_NAME = 'generate_code_queue_rabbitmq';
4
+ const QUEUE_NAME = 'solid_generate_code_queue_rabbitmq';
5
5
  exports.default = {
6
- name: 'generateCodeQueueRabbitmq',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"generate-code-queue-options.js","sourceRoot":"","sources":["../../src/jobs/generate-code-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,8BAA8B,CAAC;AAElD,kBAAe;IACX,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'generate_code_queue_rabbitmq';\n\nexport default {\n name: 'generateCodeQueueRabbitmq',\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
1
+ {"version":3,"file":"generate-code-queue-options.js","sourceRoot":"","sources":["../../src/jobs/generate-code-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,oCAAoC,CAAC;AAExD,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'solid_generate_code_queue_rabbitmq';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-otp-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/msg91-otp-queue-options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAG3C,wBAQE"}
1
+ {"version":3,"file":"msg91-otp-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/msg91-otp-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const OTP_QUEUE_NAME = 'otp_queue';
4
+ const OTP_QUEUE_NAME = 'solid_msg91_otp_queue';
5
5
  exports.default = {
6
- name: 'otpInstance',
6
+ name: OTP_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: OTP_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-otp-queue-options.js","sourceRoot":"","sources":["../../src/jobs/msg91-otp-queue-options.ts"],"names":[],"mappings":";;AAEA,8CAA2C;AAE3C,MAAM,cAAc,GAAG,WAAW,CAAC;AACnC,kBAAe;IACX,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAK5B,CAAC","sourcesContent":["import { QueueMessage } from 'src/interfaces/mq';\n\nimport { BrokerType } from \"../interfaces\";\n\nconst OTP_QUEUE_NAME = 'otp_queue';\nexport default {\n name: 'otpInstance',\n type: BrokerType.RabbitMQ,\n queueName: OTP_QUEUE_NAME,\n // receive: async (message: QueueMessage<any>) => { // Default receive handler\n // console.log(`Received message: ${JSON.stringify(message)} from queue ${SMS_QUEUE_NAME}`);\n // return 'Received';\n // },\n};"]}
1
+ {"version":3,"file":"msg91-otp-queue-options.js","sourceRoot":"","sources":["../../src/jobs/msg91-otp-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,cAAc,GAAG,uBAAuB,CAAC;AAE/C,kBAAe;IACX,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst OTP_QUEUE_NAME = 'solid_msg91_otp_queue';\n\nexport default {\n name: OTP_QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: OTP_QUEUE_NAME,\n};"]}
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-sms-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/msg91-sms-queue-options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAG3C,wBAQE"}
1
+ {"version":3,"file":"msg91-sms-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/msg91-sms-queue-options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const SMS_QUEUE_NAME = 'sms_queue';
4
+ const SMS_QUEUE_NAME = 'solid_msg91_sms_queue';
5
5
  exports.default = {
6
- name: 'smsInstance',
6
+ name: SMS_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: SMS_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-sms-queue-options.js","sourceRoot":"","sources":["../../src/jobs/msg91-sms-queue-options.ts"],"names":[],"mappings":";;AAEA,8CAA2C;AAE3C,MAAM,cAAc,GAAG,WAAW,CAAC;AACnC,kBAAe;IACX,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAK5B,CAAC","sourcesContent":["import { QueueMessage } from 'src/interfaces/mq';\n\nimport { BrokerType } from \"../interfaces\";\n\nconst SMS_QUEUE_NAME = 'sms_queue';\nexport default {\n name: 'smsInstance',\n type: BrokerType.RabbitMQ,\n queueName: SMS_QUEUE_NAME,\n // receive: async (message: QueueMessage<any>) => { // Default receive handler\n // console.log(`Received message: ${JSON.stringify(message)} from queue ${SMS_QUEUE_NAME}`);\n // return 'Received';\n // },\n};"]}
1
+ {"version":3,"file":"msg91-sms-queue-options.js","sourceRoot":"","sources":["../../src/jobs/msg91-sms-queue-options.ts"],"names":[],"mappings":";;AAEA,8CAA2C;AAE3C,MAAM,cAAc,GAAG,uBAAuB,CAAC;AAE/C,kBAAe;IACX,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,cAAc;CAC5B,CAAC","sourcesContent":["import { QueueMessage } from 'src/interfaces/mq';\n\nimport { BrokerType } from \"../interfaces\";\n\nconst SMS_QUEUE_NAME = 'solid_msg91_sms_queue';\n\nexport default {\n name: SMS_QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: SMS_QUEUE_NAME,\n};"]}
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-whatsapp-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/msg91-whatsapp-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAG3C,wBAQE"}
1
+ {"version":3,"file":"msg91-whatsapp-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/msg91-whatsapp-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const MSG91_WHATSAPP_QUEUE_NAME = 'mag_91_whatsapp_queue';
4
+ const MSG91_WHATSAPP_QUEUE_NAME = 'solid_msg91_whatsapp_queue';
5
5
  exports.default = {
6
- name: 'whatsappInstance',
6
+ name: MSG91_WHATSAPP_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: MSG91_WHATSAPP_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"msg91-whatsapp-queue-options.js","sourceRoot":"","sources":["../../src/jobs/msg91-whatsapp-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;AAC1D,kBAAe;IACX,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,yBAAyB;CAKvC,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst MSG91_WHATSAPP_QUEUE_NAME = 'mag_91_whatsapp_queue';\nexport default {\n name: 'whatsappInstance',\n type: BrokerType.RabbitMQ,\n queueName: MSG91_WHATSAPP_QUEUE_NAME,\n // receive: async (message: QueueMessage<any>) => { // Default receive handler\n // console.log(`Received message: ${JSON.stringify(message)} from queue ${SMS_QUEUE_NAME}`);\n // return 'Received';\n // },\n};"]}
1
+ {"version":3,"file":"msg91-whatsapp-queue-options.js","sourceRoot":"","sources":["../../src/jobs/msg91-whatsapp-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,yBAAyB,GAAG,4BAA4B,CAAC;AAE/D,kBAAe;IACX,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,yBAAyB;CACvC,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst MSG91_WHATSAPP_QUEUE_NAME = 'solid_msg91_whatsapp_queue';\n\nexport default {\n name: MSG91_WHATSAPP_QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: MSG91_WHATSAPP_QUEUE_NAME,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"smtp-email-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/smtp-email-queue-options.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAQE"}
1
+ {"version":3,"file":"smtp-email-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/smtp-email-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
4
  const MAIL_QUEUE_NAME = 'solid_email_queue_v3';
5
5
  exports.default = {
6
- name: 'solidEmailInstance',
6
+ name: MAIL_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: MAIL_QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"smtp-email-queue-options.js","sourceRoot":"","sources":["../../src/jobs/smtp-email-queue-options.ts"],"names":[],"mappings":";;AACA,8CAA2C;AAE3C,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAE/C,kBAAe;IACX,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,eAAe;CAK7B,CAAC","sourcesContent":["import { QueueMessage } from 'src/interfaces/mq';\nimport { BrokerType } from \"../interfaces\";\n\nconst MAIL_QUEUE_NAME = 'solid_email_queue_v3';\n\nexport default {\n name: 'solidEmailInstance',\n type: BrokerType.RabbitMQ,\n queueName: MAIL_QUEUE_NAME,\n // receive: async (message: QueueMessage<any>) => { // Default receive handler\n // console.log(`Received message: ${JSON.stringify(message)} from queue ${MAIL_QUEUE_NAME}`);\n // return 'Received';\n // },\n};\n"]}
1
+ {"version":3,"file":"smtp-email-queue-options.js","sourceRoot":"","sources":["../../src/jobs/smtp-email-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAE/C,kBAAe;IACX,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,eAAe;CAC7B,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst MAIL_QUEUE_NAME = 'solid_email_queue_v3';\n\nexport default {\n name: MAIL_QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: MAIL_QUEUE_NAME,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"test-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/test-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAQE"}
1
+ {"version":3,"file":"test-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/test-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const QUEUE_NAME = 'test_queue';
4
+ const QUEUE_NAME = 'solid_test_queue';
5
5
  exports.default = {
6
- name: 'queueTest',
6
+ name: QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: QUEUE_NAME,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"test-queue-options.js","sourceRoot":"","sources":["../../src/jobs/test-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,YAAY,CAAC;AAEhC,kBAAe;IACX,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CAKxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'test_queue';\n\nexport default {\n name: 'queueTest',\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n // receive: async (message: QueueMessage<any>) => { // Default receive handler\n // console.log(`Received message: ${JSON.stringify(message)} from queue ${MAIL_QUEUE_NAME}`);\n // return 'Received';\n // },\n};\n"]}
1
+ {"version":3,"file":"test-queue-options.js","sourceRoot":"","sources":["../../src/jobs/test-queue-options.ts"],"names":[],"mappings":";;AAAA,8CAA2C;AAE3C,MAAM,UAAU,GAAG,kBAAkB,CAAC;AAEtC,kBAAe;IACX,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,uBAAU,CAAC,QAAQ;IACzB,SAAS,EAAE,UAAU;CACxB,CAAC","sourcesContent":["import { BrokerType } from \"../interfaces\";\n\nconst QUEUE_NAME = 'solid_test_queue';\n\nexport default {\n name: QUEUE_NAME,\n type: BrokerType.RabbitMQ,\n queueName: QUEUE_NAME,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"three60-whatsapp-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/three60-whatsapp-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAG3C,wBAQE"}
1
+ {"version":3,"file":"three60-whatsapp-queue-options.d.ts","sourceRoot":"","sources":["../../src/jobs/three60-whatsapp-queue-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;;;;;AAI3C,wBAIE"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const interfaces_1 = require("../interfaces");
4
- const _WHATSAPP_QUEUE_NAME = 'three60_whatsapp_queue';
4
+ const _WHATSAPP_QUEUE_NAME = 'solid_three60_whatsapp_queue';
5
5
  exports.default = {
6
- name: 'whatsappInstance',
6
+ name: _WHATSAPP_QUEUE_NAME,
7
7
  type: interfaces_1.BrokerType.RabbitMQ,
8
8
  queueName: _WHATSAPP_QUEUE_NAME,
9
9
  };