@carlonicora/nestjs-neo4jsonapi 1.60.0 → 1.62.0

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 (75) hide show
  1. package/dist/config/enums/queue.id.d.ts +1 -0
  2. package/dist/config/enums/queue.id.d.ts.map +1 -1
  3. package/dist/config/enums/queue.id.js +1 -0
  4. package/dist/config/enums/queue.id.js.map +1 -1
  5. package/dist/core/queue/queue.module.d.ts.map +1 -1
  6. package/dist/core/queue/queue.module.js +2 -1
  7. package/dist/core/queue/queue.module.js.map +1 -1
  8. package/dist/foundations/foundations.modules.d.ts.map +1 -1
  9. package/dist/foundations/foundations.modules.js +2 -0
  10. package/dist/foundations/foundations.modules.js.map +1 -1
  11. package/dist/foundations/how-to/controllers/how-to.controller.d.ts +20 -0
  12. package/dist/foundations/how-to/controllers/how-to.controller.d.ts.map +1 -0
  13. package/dist/foundations/how-to/controllers/how-to.controller.js +122 -0
  14. package/dist/foundations/how-to/controllers/how-to.controller.js.map +1 -0
  15. package/dist/foundations/how-to/dtos/how-to.dto.d.ts +11 -0
  16. package/dist/foundations/how-to/dtos/how-to.dto.d.ts.map +1 -0
  17. package/dist/foundations/how-to/dtos/how-to.dto.js +45 -0
  18. package/dist/foundations/how-to/dtos/how-to.dto.js.map +1 -0
  19. package/dist/foundations/how-to/dtos/how-to.post.dto.d.ts +14 -0
  20. package/dist/foundations/how-to/dtos/how-to.post.dto.d.ts.map +1 -0
  21. package/dist/foundations/how-to/dtos/how-to.post.dto.js +62 -0
  22. package/dist/foundations/how-to/dtos/how-to.post.dto.js.map +1 -0
  23. package/dist/foundations/how-to/dtos/how-to.put.dto.d.ts +14 -0
  24. package/dist/foundations/how-to/dtos/how-to.put.dto.d.ts.map +1 -0
  25. package/dist/foundations/how-to/dtos/how-to.put.dto.js +62 -0
  26. package/dist/foundations/how-to/dtos/how-to.put.dto.js.map +1 -0
  27. package/dist/foundations/how-to/entities/how-to.d.ts +22 -0
  28. package/dist/foundations/how-to/entities/how-to.d.ts.map +1 -0
  29. package/dist/foundations/how-to/entities/how-to.js +37 -0
  30. package/dist/foundations/how-to/entities/how-to.js.map +1 -0
  31. package/dist/foundations/how-to/entities/how-to.meta.d.ts +3 -0
  32. package/dist/foundations/how-to/entities/how-to.meta.d.ts.map +1 -0
  33. package/dist/foundations/how-to/entities/how-to.meta.js +10 -0
  34. package/dist/foundations/how-to/entities/how-to.meta.js.map +1 -0
  35. package/dist/foundations/how-to/how-to.module.d.ts +5 -0
  36. package/dist/foundations/how-to/how-to.module.d.ts.map +1 -0
  37. package/dist/foundations/how-to/how-to.module.js +37 -0
  38. package/dist/foundations/how-to/how-to.module.js.map +1 -0
  39. package/dist/foundations/how-to/index.d.ts +9 -0
  40. package/dist/foundations/how-to/index.d.ts.map +1 -0
  41. package/dist/foundations/how-to/index.js +25 -0
  42. package/dist/foundations/how-to/index.js.map +1 -0
  43. package/dist/foundations/how-to/processors/how-to.processor.d.ts +22 -0
  44. package/dist/foundations/how-to/processors/how-to.processor.d.ts.map +1 -0
  45. package/dist/foundations/how-to/processors/how-to.processor.js +101 -0
  46. package/dist/foundations/how-to/processors/how-to.processor.js.map +1 -0
  47. package/dist/foundations/how-to/repositories/how-to.repository.d.ts +18 -0
  48. package/dist/foundations/how-to/repositories/how-to.repository.d.ts.map +1 -0
  49. package/dist/foundations/how-to/repositories/how-to.repository.js +47 -0
  50. package/dist/foundations/how-to/repositories/how-to.repository.js.map +1 -0
  51. package/dist/foundations/how-to/services/how-to.service.d.ts +42 -0
  52. package/dist/foundations/how-to/services/how-to.service.d.ts.map +1 -0
  53. package/dist/foundations/how-to/services/how-to.service.js +127 -0
  54. package/dist/foundations/how-to/services/how-to.service.js.map +1 -0
  55. package/dist/foundations/index.d.ts +1 -0
  56. package/dist/foundations/index.d.ts.map +1 -1
  57. package/dist/foundations/index.js +1 -0
  58. package/dist/foundations/index.js.map +1 -1
  59. package/dist/foundations/user/controllers/user.controller.d.ts +2 -0
  60. package/dist/foundations/user/controllers/user.controller.d.ts.map +1 -1
  61. package/dist/foundations/user/controllers/user.controller.js +16 -0
  62. package/dist/foundations/user/controllers/user.controller.js.map +1 -1
  63. package/dist/foundations/user/dtos/user.patch.avatar.dto.d.ts +13 -0
  64. package/dist/foundations/user/dtos/user.patch.avatar.dto.d.ts.map +1 -0
  65. package/dist/foundations/user/dtos/user.patch.avatar.dto.js +54 -0
  66. package/dist/foundations/user/dtos/user.patch.avatar.dto.js.map +1 -0
  67. package/dist/foundations/user/repositories/user.repository.d.ts +4 -0
  68. package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -1
  69. package/dist/foundations/user/repositories/user.repository.js +14 -0
  70. package/dist/foundations/user/repositories/user.repository.js.map +1 -1
  71. package/dist/foundations/user/services/user.service.d.ts +4 -0
  72. package/dist/foundations/user/services/user.service.d.ts.map +1 -1
  73. package/dist/foundations/user/services/user.service.js +9 -0
  74. package/dist/foundations/user/services/user.service.js.map +1 -1
  75. package/package.json +1 -1
@@ -9,6 +9,7 @@ export declare enum QueueId {
9
9
  COMMUNITY_SUMMARISER = "community-summariser",
10
10
  BILLING_WEBHOOK = "billing-webhook",
11
11
  EMAIL = "email",
12
+ HOWTO = "howto",
12
13
  TRIAL = "trial"
13
14
  }
14
15
  //# sourceMappingURL=queue.id.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queue.id.d.ts","sourceRoot":"","sources":["../../../src/config/enums/queue.id.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,OAAO;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,gBAAgB,qBAAqB;IACrC,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
1
+ {"version":3,"file":"queue.id.d.ts","sourceRoot":"","sources":["../../../src/config/enums/queue.id.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,OAAO;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,gBAAgB,qBAAqB;IACrC,oBAAoB,yBAAyB;IAC7C,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
@@ -13,6 +13,7 @@ var QueueId;
13
13
  QueueId["COMMUNITY_SUMMARISER"] = "community-summariser";
14
14
  QueueId["BILLING_WEBHOOK"] = "billing-webhook";
15
15
  QueueId["EMAIL"] = "email";
16
+ QueueId["HOWTO"] = "howto";
16
17
  QueueId["TRIAL"] = "trial";
17
18
  })(QueueId || (exports.QueueId = QueueId = {}));
18
19
  //# sourceMappingURL=queue.id.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"queue.id.js","sourceRoot":"","sources":["../../../src/config/enums/queue.id.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,OAQX;AARD,WAAY,OAAO;IACjB,0BAAe,CAAA;IACf,8BAAmB,CAAA;IACnB,gDAAqC,CAAA;IACrC,wDAA6C,CAAA;IAC7C,8CAAmC,CAAA;IACnC,0BAAe,CAAA;IACf,0BAAe,CAAA;AACjB,CAAC,EARW,OAAO,uBAAP,OAAO,QAQlB"}
1
+ {"version":3,"file":"queue.id.js","sourceRoot":"","sources":["../../../src/config/enums/queue.id.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,0BAAe,CAAA;IACf,8BAAmB,CAAA;IACnB,gDAAqC,CAAA;IACrC,wDAA6C,CAAA;IAC7C,8CAAmC,CAAA;IACnC,0BAAe,CAAA;IACf,0BAAe,CAAA;IACf,0BAAe,CAAA;AACjB,CAAC,EATW,OAAO,uBAAP,OAAO,QASlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"queue.module.d.ts","sourceRoot":"","sources":["../../../src/core/queue/queue.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAkB,MAAM,gBAAgB,CAAC;AAK/D;;;;;;;;GAQG;AACH,qBAEa,WAAW;IACtB,MAAM,CAAC,OAAO,IAAI,aAAa;IAsD/B;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,aAAa;CAiC5D"}
1
+ {"version":3,"file":"queue.module.d.ts","sourceRoot":"","sources":["../../../src/core/queue/queue.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAkB,MAAM,gBAAgB,CAAC;AAK/D;;;;;;;;GAQG;AACH,qBAEa,WAAW;IACtB,MAAM,CAAC,OAAO,IAAI,aAAa;IAuD/B;;;OAGG;IACH,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,aAAa;CAiC5D"}
@@ -51,6 +51,7 @@ let QueueModule = QueueModule_1 = class QueueModule {
51
51
  // Always register the library's core queues
52
52
  bullmq_1.BullModule.registerQueue({ name: queue_id_1.QueueId.CHUNK }),
53
53
  bullmq_1.BullModule.registerQueue({ name: queue_id_1.QueueId.COMPANY }),
54
+ bullmq_1.BullModule.registerQueue({ name: queue_id_1.QueueId.HOWTO }),
54
55
  bullmq_1.BullModule.registerQueue({ name: queue_id_1.QueueId.TRIAL }),
55
56
  ],
56
57
  providers: [
@@ -78,7 +79,7 @@ let QueueModule = QueueModule_1 = class QueueModule {
78
79
  * Use this when you need to explicitly specify which queues to register.
79
80
  */
80
81
  static forRootWithQueues(queueIds) {
81
- const allQueueIds = new Set([queue_id_1.QueueId.CHUNK, queue_id_1.QueueId.COMPANY, queue_id_1.QueueId.TRIAL, ...queueIds]);
82
+ const allQueueIds = new Set([queue_id_1.QueueId.CHUNK, queue_id_1.QueueId.COMPANY, queue_id_1.QueueId.HOWTO, queue_id_1.QueueId.TRIAL, ...queueIds]);
82
83
  return {
83
84
  module: QueueModule_1,
84
85
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"queue.module.js","sourceRoot":"","sources":["../../../src/core/queue/queue.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAA4C;AAC5C,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,CAAC;GACE,WAAW,CA6FvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"foundations.modules.d.ts","sourceRoot":"","sources":["../../src/foundations/foundations.modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAU,MAAM,gBAAgB,CAAC;AAQvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAE1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAyBvF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC;AAsCD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBACa,iBAAiB;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,aAAa;CAWhE"}
1
+ {"version":3,"file":"foundations.modules.d.ts","sourceRoot":"","sources":["../../src/foundations/foundations.modules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAU,MAAM,gBAAgB,CAAC;AAQvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAE1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AA0BvF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBACa,iBAAiB;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,aAAa;CAWhE"}
@@ -19,6 +19,7 @@ const content_module_1 = require("./content/content.module");
19
19
  const referral_module_1 = require("./referral/referral.module");
20
20
  const discord_user_module_1 = require("./discord-user/discord-user.module");
21
21
  const feature_module_1 = require("./feature/feature.module");
22
+ const how_to_module_1 = require("./how-to/how-to.module");
22
23
  const keyconcept_module_1 = require("./keyconcept/keyconcept.module");
23
24
  const module_module_1 = require("./module/module.module");
24
25
  const notification_module_1 = require("./notification/notification.module");
@@ -53,6 +54,7 @@ const STATIC_FOUNDATION_MODULES = [
53
54
  company_module_1.CompanyModule,
54
55
  discord_user_module_1.DiscordUserModule,
55
56
  feature_module_1.FeatureModule,
57
+ how_to_module_1.HowToModule,
56
58
  keyconcept_module_1.KeyConceptModule,
57
59
  module_module_1.ModuleModule,
58
60
  notification_module_1.NotificationModule,
@@ -1 +1 @@
1
- {"version":3,"file":"foundations.modules.js","sourceRoot":"","sources":["../../src/foundations/foundations.modules.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,sEAAkE;AAClE,uDAAmD;AACnD,oDAAgD;AAChD,uDAAmD;AACnD,6DAAyD;AACzD,6DAAyD;AACzD,6DAAyD;AAEzD,gEAA4D;AAE5D,4EAAuE;AACvE,6DAAyD;AACzD,sEAAkE;AAClE,0DAAsD;AACtD,4EAAwE;AACxE,uDAAmD;AACnD,oDAAgD;AAChD,mEAA+D;AAC/D,oDAAgD;AAChD,8CAA0C;AAC1C,kFAA6E;AAC7E,iDAAmD;AACnD,qDAAuD;AACvD,mEAAoE;AACpE,+DAAiE;AACjE,4EAAuE;AACvE,kFAA6E;AAC7E,0DAAsD;AACtD,4EAAuE;AACvE,sEAAkE;AAClE,sEAAiE;AACjE,oDAAgD;AAChD,gEAA4D;AAY5D;;;GAGG;AACH,MAAM,yBAAyB,GAAG;IAChC,oCAAgB;IAChB,0BAAW;IACX,wBAAU;IACV,0BAAW;IACX,8BAAa;IACb,8BAAa;IACb,uCAAiB;IACjB,8BAAa;IACb,oCAAgB;IAChB,4BAAY;IACZ,wCAAkB;IAClB,0BAAW;IACX,wBAAU;IACV,kCAAe;IACf,wBAAU;IACV,oBAAQ;IACR,oCAAgB;IAChB,mCAAe;IACf,wBAAU;IACV,gCAAc;IACd,4BAAY;IACZ,iDAAyB;IACzB,8CAAwB;IACxB,gCAAiB;IACjB,oCAAmB;IACnB,2CAAmB;IACnB,uCAAiB;IACjB,2CAAmB;IACnB,uCAAiB;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEI,IAAM,iBAAiB,yBAAvB,MAAM,iBAAiB;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,MAAgC;QAC7C,OAAO;YACL,MAAM,EAAE,mBAAiB;YACzB,OAAO,EAAE;gBACP,GAAG,yBAAyB;gBAC5B,8BAAa,CAAC,OAAO,CAAC,MAAM,EAAE,gBAAgB,CAAC;gBAC/C,gCAAc,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC;aACzC;YACD,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,8BAAa,EAAE,gCAAc,CAAC;SACvE,CAAC;IACJ,CAAC;CACF,CAAA;AAlBY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,iBAAiB,CAkB7B"}
1
+ {"version":3,"file":"foundations.modules.js","sourceRoot":"","sources":["../../src/foundations/foundations.modules.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,sEAAkE;AAClE,uDAAmD;AACnD,oDAAgD;AAChD,uDAAmD;AACnD,6DAAyD;AACzD,6DAAyD;AACzD,6DAAyD;AAEzD,gEAA4D;AAE5D,4EAAuE;AACvE,6DAAyD;AACzD,0DAAqD;AACrD,sEAAkE;AAClE,0DAAsD;AACtD,4EAAwE;AACxE,uDAAmD;AACnD,oDAAgD;AAChD,mEAA+D;AAC/D,oDAAgD;AAChD,8CAA0C;AAC1C,kFAA6E;AAC7E,iDAAmD;AACnD,qDAAuD;AACvD,mEAAoE;AACpE,+DAAiE;AACjE,4EAAuE;AACvE,kFAA6E;AAC7E,0DAAsD;AACtD,4EAAuE;AACvE,sEAAkE;AAClE,sEAAiE;AACjE,oDAAgD;AAChD,gEAA4D;AAY5D;;;GAGG;AACH,MAAM,yBAAyB,GAAG;IAChC,oCAAgB;IAChB,0BAAW;IACX,wBAAU;IACV,0BAAW;IACX,8BAAa;IACb,8BAAa;IACb,uCAAiB;IACjB,8BAAa;IACb,2BAAW;IACX,oCAAgB;IAChB,4BAAY;IACZ,wCAAkB;IAClB,0BAAW;IACX,wBAAU;IACV,kCAAe;IACf,wBAAU;IACV,oBAAQ;IACR,oCAAgB;IAChB,mCAAe;IACf,wBAAU;IACV,gCAAc;IACd,4BAAY;IACZ,iDAAyB;IACzB,8CAAwB;IACxB,gCAAiB;IACjB,oCAAmB;IACnB,2CAAmB;IACnB,uCAAiB;IACjB,2CAAmB;IACnB,uCAAiB;CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEI,IAAM,iBAAiB,yBAAvB,MAAM,iBAAiB;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,MAAgC;QAC7C,OAAO;YACL,MAAM,EAAE,mBAAiB;YACzB,OAAO,EAAE;gBACP,GAAG,yBAAyB;gBAC5B,8BAAa,CAAC,OAAO,CAAC,MAAM,EAAE,gBAAgB,CAAC;gBAC/C,gCAAc,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC;aACzC;YACD,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,8BAAa,EAAE,gCAAc,CAAC;SACvE,CAAC;IACJ,CAAC;CACF,CAAA;AAlBY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,iBAAiB,CAkB7B"}
@@ -0,0 +1,20 @@
1
+ import { FastifyReply } from "fastify";
2
+ import { CacheService } from "../../../core/cache/services/cache.service";
3
+ import { AuditService } from "../../audit/services/audit.service";
4
+ import { HowToPostDTO } from "../dtos/how-to.post.dto";
5
+ import { HowToPutDTO } from "../dtos/how-to.put.dto";
6
+ import { HowToService } from "../services/how-to.service";
7
+ export declare class HowToController {
8
+ private readonly howToService;
9
+ private readonly cacheService;
10
+ private readonly auditService;
11
+ private readonly crud;
12
+ private readonly relationships;
13
+ constructor(howToService: HowToService, cacheService: CacheService, auditService: AuditService);
14
+ findAll(reply: FastifyReply, query: any, search?: string, fetchAll?: boolean, orderBy?: string): Promise<void>;
15
+ findById(reply: FastifyReply, howToId: string): Promise<void>;
16
+ create(reply: FastifyReply, body: HowToPostDTO): Promise<void>;
17
+ update(reply: FastifyReply, body: HowToPutDTO): Promise<void>;
18
+ delete(reply: FastifyReply, howToId: string): Promise<void>;
19
+ }
20
+ //# sourceMappingURL=how-to.controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.controller.d.ts","sourceRoot":"","sources":["../../../../src/foundations/how-to/controllers/how-to.controller.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAOvC,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,qBAEa,eAAe;IAKxB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAN/B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAA+C;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAuD;gBAGlE,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY;IAIvC,OAAO,CACJ,KAAK,EAAE,YAAY,EACjB,KAAK,EAAE,GAAG,EACF,MAAM,CAAC,EAAE,MAAM,EACb,QAAQ,CAAC,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,MAAM;IAO9B,QAAQ,CAAQ,KAAK,EAAE,YAAY,EAAoB,OAAO,EAAE,MAAM;IAMtE,MAAM,CAAQ,KAAK,EAAE,YAAY,EAAU,IAAI,EAAE,YAAY;IAe7D,MAAM,CAAQ,KAAK,EAAE,YAAY,EAAU,IAAI,EAAE,WAAW;IAe5D,MAAM,CAAQ,KAAK,EAAE,YAAY,EAAoB,OAAO,EAAE,MAAM;CAG3E"}
@@ -0,0 +1,122 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.HowToController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const audit_decorator_1 = require("../../../common/decorators/audit.decorator");
18
+ const cache_invalidate_decorator_1 = require("../../../common/decorators/cache-invalidate.decorator");
19
+ const validate_id_decorator_1 = require("../../../common/decorators/validate-id.decorator");
20
+ const jwt_auth_guard_1 = require("../../../common/guards/jwt.auth.guard");
21
+ const crud_handlers_1 = require("../../../common/handlers/crud.handlers");
22
+ const relationship_handlers_1 = require("../../../common/handlers/relationship.handlers");
23
+ const cache_service_1 = require("../../../core/cache/services/cache.service");
24
+ const audit_service_1 = require("../../audit/services/audit.service");
25
+ const how_to_post_dto_1 = require("../dtos/how-to.post.dto");
26
+ const how_to_put_dto_1 = require("../dtos/how-to.put.dto");
27
+ const how_to_meta_1 = require("../entities/how-to.meta");
28
+ const how_to_service_1 = require("../services/how-to.service");
29
+ let HowToController = class HowToController {
30
+ constructor(howToService, cacheService, auditService) {
31
+ this.howToService = howToService;
32
+ this.cacheService = cacheService;
33
+ this.auditService = auditService;
34
+ this.crud = (0, crud_handlers_1.createCrudHandlers)(() => this.howToService);
35
+ this.relationships = (0, relationship_handlers_1.createRelationshipHandlers)(() => this.howToService);
36
+ }
37
+ async findAll(reply, query, search, fetchAll, orderBy) {
38
+ return this.crud.findAll(reply, { query, search, fetchAll, orderBy });
39
+ }
40
+ async findById(reply, howToId) {
41
+ return this.crud.findById(reply, howToId);
42
+ }
43
+ async create(reply, body) {
44
+ const response = await this.crud.create(reply, body);
45
+ // Queue for AI processing after creation
46
+ await this.howToService.queueHowToForProcessing({
47
+ howToId: body.data.id,
48
+ description: body.data.attributes.description,
49
+ });
50
+ return response;
51
+ }
52
+ async update(reply, body) {
53
+ const response = await this.crud.update(reply, body);
54
+ // Re-queue for AI processing after update
55
+ await this.howToService.queueHowToForProcessing({
56
+ howToId: body.data.id,
57
+ description: body.data.attributes.description,
58
+ });
59
+ return response;
60
+ }
61
+ async delete(reply, howToId) {
62
+ return this.crud.delete(reply, howToId);
63
+ }
64
+ };
65
+ exports.HowToController = HowToController;
66
+ __decorate([
67
+ (0, common_1.Get)(how_to_meta_1.howToMeta.endpoint),
68
+ __param(0, (0, common_1.Res)()),
69
+ __param(1, (0, common_1.Query)()),
70
+ __param(2, (0, common_1.Query)("search")),
71
+ __param(3, (0, common_1.Query)("fetchAll")),
72
+ __param(4, (0, common_1.Query)("orderBy")),
73
+ __metadata("design:type", Function),
74
+ __metadata("design:paramtypes", [Object, Object, String, Boolean, String]),
75
+ __metadata("design:returntype", Promise)
76
+ ], HowToController.prototype, "findAll", null);
77
+ __decorate([
78
+ (0, common_1.Get)(`${how_to_meta_1.howToMeta.endpoint}/:howToId`),
79
+ (0, audit_decorator_1.Audit)(how_to_meta_1.howToMeta, "howToId"),
80
+ __param(0, (0, common_1.Res)()),
81
+ __param(1, (0, common_1.Param)("howToId")),
82
+ __metadata("design:type", Function),
83
+ __metadata("design:paramtypes", [Object, String]),
84
+ __metadata("design:returntype", Promise)
85
+ ], HowToController.prototype, "findById", null);
86
+ __decorate([
87
+ (0, common_1.Post)(how_to_meta_1.howToMeta.endpoint),
88
+ (0, cache_invalidate_decorator_1.CacheInvalidate)(how_to_meta_1.howToMeta),
89
+ __param(0, (0, common_1.Res)()),
90
+ __param(1, (0, common_1.Body)()),
91
+ __metadata("design:type", Function),
92
+ __metadata("design:paramtypes", [Object, how_to_post_dto_1.HowToPostDTO]),
93
+ __metadata("design:returntype", Promise)
94
+ ], HowToController.prototype, "create", null);
95
+ __decorate([
96
+ (0, common_1.Put)(`${how_to_meta_1.howToMeta.endpoint}/:howToId`),
97
+ (0, validate_id_decorator_1.ValidateId)("howToId"),
98
+ (0, cache_invalidate_decorator_1.CacheInvalidate)(how_to_meta_1.howToMeta, "howToId"),
99
+ __param(0, (0, common_1.Res)()),
100
+ __param(1, (0, common_1.Body)()),
101
+ __metadata("design:type", Function),
102
+ __metadata("design:paramtypes", [Object, how_to_put_dto_1.HowToPutDTO]),
103
+ __metadata("design:returntype", Promise)
104
+ ], HowToController.prototype, "update", null);
105
+ __decorate([
106
+ (0, common_1.Delete)(`${how_to_meta_1.howToMeta.endpoint}/:howToId`),
107
+ (0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
108
+ (0, cache_invalidate_decorator_1.CacheInvalidate)(how_to_meta_1.howToMeta, "howToId"),
109
+ __param(0, (0, common_1.Res)()),
110
+ __param(1, (0, common_1.Param)("howToId")),
111
+ __metadata("design:type", Function),
112
+ __metadata("design:paramtypes", [Object, String]),
113
+ __metadata("design:returntype", Promise)
114
+ ], HowToController.prototype, "delete", null);
115
+ exports.HowToController = HowToController = __decorate([
116
+ (0, common_1.UseGuards)(jwt_auth_guard_1.JwtAuthGuard),
117
+ (0, common_1.Controller)(),
118
+ __metadata("design:paramtypes", [how_to_service_1.HowToService,
119
+ cache_service_1.CacheService,
120
+ audit_service_1.AuditService])
121
+ ], HowToController);
122
+ //# sourceMappingURL=how-to.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.controller.js","sourceRoot":"","sources":["../../../../src/foundations/how-to/controllers/how-to.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAawB;AAExB,gFAAmE;AACnE,sGAAwF;AACxF,4FAA8E;AAC9E,0EAAqE;AACrE,0EAA4E;AAC5E,0FAA4F;AAC5F,8EAA0E;AAC1E,sEAAkE;AAClE,6DAAuD;AACvD,2DAAqD;AACrD,yDAAoD;AACpD,+DAA0D;AAInD,IAAM,eAAe,GAArB,MAAM,eAAe;IAI1B,YACmB,YAA0B,EAC1B,YAA0B,EAC1B,YAA0B;QAF1B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,iBAAY,GAAZ,YAAY,CAAc;QAN5B,SAAI,GAAG,IAAA,kCAAkB,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACnD,kBAAa,GAAG,IAAA,kDAA0B,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAMlF,CAAC;IAGE,AAAN,KAAK,CAAC,OAAO,CACJ,KAAmB,EACjB,KAAU,EACF,MAAe,EACb,QAAkB,EACnB,OAAgB;QAElC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAIK,AAAN,K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 @@
1
+ export declare class HowToDTO {
2
+ type: string;
3
+ id: string;
4
+ }
5
+ export declare class HowToDataDTO {
6
+ data: HowToDTO;
7
+ }
8
+ export declare class HowToDataListDTO {
9
+ data: HowToDTO[];
10
+ }
11
+ //# sourceMappingURL=how-to.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.dto.d.ts","sourceRoot":"","sources":["../../../../src/foundations/how-to/dtos/how-to.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,QAAQ;IAEnB,IAAI,EAAE,MAAM,CAAC;IAGb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,YAAY;IAIvB,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,qBAAa,gBAAgB;IAI3B,IAAI,EAAE,QAAQ,EAAE,CAAC;CAClB"}
@@ -0,0 +1,45 @@
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.HowToDataListDTO = exports.HowToDataDTO = exports.HowToDTO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const how_to_meta_1 = require("../entities/how-to.meta");
16
+ class HowToDTO {
17
+ }
18
+ exports.HowToDTO = HowToDTO;
19
+ __decorate([
20
+ (0, class_validator_1.Equals)(how_to_meta_1.howToMeta.endpoint),
21
+ __metadata("design:type", String)
22
+ ], HowToDTO.prototype, "type", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsUUID)(),
25
+ __metadata("design:type", String)
26
+ ], HowToDTO.prototype, "id", void 0);
27
+ class HowToDataDTO {
28
+ }
29
+ exports.HowToDataDTO = HowToDataDTO;
30
+ __decorate([
31
+ (0, class_validator_1.ValidateNested)(),
32
+ (0, class_validator_1.IsNotEmpty)(),
33
+ (0, class_transformer_1.Type)(() => HowToDTO),
34
+ __metadata("design:type", HowToDTO)
35
+ ], HowToDataDTO.prototype, "data", void 0);
36
+ class HowToDataListDTO {
37
+ }
38
+ exports.HowToDataListDTO = HowToDataListDTO;
39
+ __decorate([
40
+ (0, class_validator_1.ValidateNested)({ each: true }),
41
+ (0, class_validator_1.IsNotEmpty)(),
42
+ (0, class_transformer_1.Type)(() => HowToDTO),
43
+ __metadata("design:type", Array)
44
+ ], HowToDataListDTO.prototype, "data", void 0);
45
+ //# sourceMappingURL=how-to.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.dto.js","sourceRoot":"","sources":["../../../../src/foundations/how-to/dtos/how-to.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAA6E;AAC7E,yDAAoD;AAEpD,MAAa,QAAQ;CAMpB;AAND,4BAMC;AAJC;IADC,IAAA,wBAAM,EAAC,uBAAS,CAAC,QAAQ,CAAC;;sCACd;AAGb;IADC,IAAA,wBAAM,GAAE;;oCACE;AAGb,MAAa,YAAY;CAKxB;AALD,oCAKC;AADC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;8BACf,QAAQ;0CAAC;AAGjB,MAAa,gBAAgB;CAK5B;AALD,4CAKC;AADC;IAHC,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;;8CACJ"}
@@ -0,0 +1,14 @@
1
+ export declare class HowToPostAttributesDTO {
2
+ name: string;
3
+ description: string;
4
+ pages?: string;
5
+ }
6
+ export declare class HowToPostDataDTO {
7
+ type: string;
8
+ id: string;
9
+ attributes: HowToPostAttributesDTO;
10
+ }
11
+ export declare class HowToPostDTO {
12
+ data: HowToPostDataDTO;
13
+ }
14
+ //# sourceMappingURL=how-to.post.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.post.dto.d.ts","sourceRoot":"","sources":["../../../../src/foundations/how-to/dtos/how-to.post.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,sBAAsB;IAIjC,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAIpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,gBAAgB;IAE3B,IAAI,EAAE,MAAM,CAAC;IAGb,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,sBAAsB,CAAC;CACpC;AAED,qBAAa,YAAY;IAIvB,IAAI,EAAE,gBAAgB,CAAC;CACxB"}
@@ -0,0 +1,62 @@
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.HowToPostDTO = exports.HowToPostDataDTO = exports.HowToPostAttributesDTO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const how_to_meta_1 = require("../entities/how-to.meta");
16
+ class HowToPostAttributesDTO {
17
+ }
18
+ exports.HowToPostAttributesDTO = HowToPostAttributesDTO;
19
+ __decorate([
20
+ (0, class_validator_1.IsDefined)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], HowToPostAttributesDTO.prototype, "name", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsDefined)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ (0, class_validator_1.IsString)(),
29
+ __metadata("design:type", String)
30
+ ], HowToPostAttributesDTO.prototype, "description", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], HowToPostAttributesDTO.prototype, "pages", void 0);
36
+ class HowToPostDataDTO {
37
+ }
38
+ exports.HowToPostDataDTO = HowToPostDataDTO;
39
+ __decorate([
40
+ (0, class_validator_1.Equals)(how_to_meta_1.howToMeta.endpoint),
41
+ __metadata("design:type", String)
42
+ ], HowToPostDataDTO.prototype, "type", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsUUID)(),
45
+ __metadata("design:type", String)
46
+ ], HowToPostDataDTO.prototype, "id", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.ValidateNested)(),
49
+ (0, class_validator_1.IsNotEmpty)(),
50
+ (0, class_transformer_1.Type)(() => HowToPostAttributesDTO),
51
+ __metadata("design:type", HowToPostAttributesDTO)
52
+ ], HowToPostDataDTO.prototype, "attributes", void 0);
53
+ class HowToPostDTO {
54
+ }
55
+ exports.HowToPostDTO = HowToPostDTO;
56
+ __decorate([
57
+ (0, class_validator_1.ValidateNested)(),
58
+ (0, class_validator_1.IsNotEmpty)(),
59
+ (0, class_transformer_1.Type)(() => HowToPostDataDTO),
60
+ __metadata("design:type", HowToPostDataDTO)
61
+ ], HowToPostDTO.prototype, "data", void 0);
62
+ //# sourceMappingURL=how-to.post.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.post.dto.js","sourceRoot":"","sources":["../../../../src/foundations/how-to/dtos/how-to.post.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAA8G;AAC9G,yDAAoD;AAEpD,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAVC;IAHC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACE;AAKb;IAHC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACI;AAGjB,MAAa,gBAAgB;CAW5B;AAXD,4CAWC;AATC;IADC,IAAA,wBAAM,EAAC,uBAAS,CAAC,QAAQ,CAAC;;8CACd;AAGb;IADC,IAAA,wBAAM,GAAE;;4CACE;AAKX;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BACvB,sBAAsB;oDAAC;AAGrC,MAAa,YAAY;CAKxB;AALD,oCAKC;AADC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC;8BACvB,gBAAgB;0CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare class HowToPutAttributesDTO {
2
+ name: string;
3
+ description: string;
4
+ pages?: string;
5
+ }
6
+ export declare class HowToPutDataDTO {
7
+ type: string;
8
+ id: string;
9
+ attributes: HowToPutAttributesDTO;
10
+ }
11
+ export declare class HowToPutDTO {
12
+ data: HowToPutDataDTO;
13
+ }
14
+ //# sourceMappingURL=how-to.put.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.put.dto.d.ts","sourceRoot":"","sources":["../../../../src/foundations/how-to/dtos/how-to.put.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAIhC,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAIpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,eAAe;IAE1B,IAAI,EAAE,MAAM,CAAC;IAGb,EAAE,EAAE,MAAM,CAAC;IAKX,UAAU,EAAE,qBAAqB,CAAC;CACnC;AAED,qBAAa,WAAW;IAItB,IAAI,EAAE,eAAe,CAAC;CACvB"}
@@ -0,0 +1,62 @@
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.HowToPutDTO = exports.HowToPutDataDTO = exports.HowToPutAttributesDTO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const how_to_meta_1 = require("../entities/how-to.meta");
16
+ class HowToPutAttributesDTO {
17
+ }
18
+ exports.HowToPutAttributesDTO = HowToPutAttributesDTO;
19
+ __decorate([
20
+ (0, class_validator_1.IsDefined)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], HowToPutAttributesDTO.prototype, "name", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsDefined)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ (0, class_validator_1.IsString)(),
29
+ __metadata("design:type", String)
30
+ ], HowToPutAttributesDTO.prototype, "description", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], HowToPutAttributesDTO.prototype, "pages", void 0);
36
+ class HowToPutDataDTO {
37
+ }
38
+ exports.HowToPutDataDTO = HowToPutDataDTO;
39
+ __decorate([
40
+ (0, class_validator_1.Equals)(how_to_meta_1.howToMeta.endpoint),
41
+ __metadata("design:type", String)
42
+ ], HowToPutDataDTO.prototype, "type", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsUUID)(),
45
+ __metadata("design:type", String)
46
+ ], HowToPutDataDTO.prototype, "id", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.ValidateNested)(),
49
+ (0, class_validator_1.IsNotEmpty)(),
50
+ (0, class_transformer_1.Type)(() => HowToPutAttributesDTO),
51
+ __metadata("design:type", HowToPutAttributesDTO)
52
+ ], HowToPutDataDTO.prototype, "attributes", void 0);
53
+ class HowToPutDTO {
54
+ }
55
+ exports.HowToPutDTO = HowToPutDTO;
56
+ __decorate([
57
+ (0, class_validator_1.ValidateNested)(),
58
+ (0, class_validator_1.IsNotEmpty)(),
59
+ (0, class_transformer_1.Type)(() => HowToPutDataDTO),
60
+ __metadata("design:type", HowToPutDataDTO)
61
+ ], HowToPutDTO.prototype, "data", void 0);
62
+ //# sourceMappingURL=how-to.put.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.put.dto.js","sourceRoot":"","sources":["../../../../src/foundations/how-to/dtos/how-to.put.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAA8G;AAC9G,yDAAoD;AAEpD,MAAa,qBAAqB;CAcjC;AAdD,sDAcC;AAVC;IAHC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAKb;IAHC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0DACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACI;AAGjB,MAAa,eAAe;CAW3B;AAXD,0CAWC;AATC;IADC,IAAA,wBAAM,EAAC,uBAAS,CAAC,QAAQ,CAAC;;6CACd;AAGb;IADC,IAAA,wBAAM,GAAE;;2CACE;AAKX;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACtB,qBAAqB;mDAAC;AAGpC,MAAa,WAAW;CAKvB;AALD,kCAKC;AADC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAe,CAAC;8BACtB,eAAe;yCAAC"}
@@ -0,0 +1,22 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * HowTo Entity Type
4
+ */
5
+ export type HowTo = Entity & {
6
+ name: string;
7
+ description: string;
8
+ pages?: string;
9
+ abstract?: string;
10
+ tldr?: string;
11
+ aiStatus?: string;
12
+ relevance?: number;
13
+ };
14
+ /**
15
+ * HowTo Entity Descriptor
16
+ *
17
+ * Single source of truth for the HowTo entity configuration.
18
+ * Auto-generates mapper, serialiser, constraints, and indexes.
19
+ */
20
+ export declare const HowToDescriptor: import("../../../common").EntityDescriptor<HowTo, {}>;
21
+ export type HowToDescriptorType = typeof HowToDescriptor;
22
+ //# sourceMappingURL=how-to.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.d.ts","sourceRoot":"","sources":["../../../../src/foundations/how-to/entities/how-to.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGvD;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,uDA0B1B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,OAAO,eAAe,CAAC"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HowToDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const how_to_meta_1 = require("./how-to.meta");
6
+ /**
7
+ * HowTo Entity Descriptor
8
+ *
9
+ * Single source of truth for the HowTo entity configuration.
10
+ * Auto-generates mapper, serialiser, constraints, and indexes.
11
+ */
12
+ exports.HowToDescriptor = (0, common_1.defineEntity)()({
13
+ ...how_to_meta_1.howToMeta,
14
+ isCompanyScoped: false,
15
+ fields: {
16
+ name: { type: "string", required: true },
17
+ description: { type: "string", required: true },
18
+ pages: { type: "string" },
19
+ abstract: { type: "string" },
20
+ tldr: { type: "string" },
21
+ aiStatus: { type: "string" },
22
+ },
23
+ computed: {
24
+ relevance: {
25
+ compute: (params) => {
26
+ if (!params.record.has("score"))
27
+ return undefined;
28
+ const score = params.record.get("score");
29
+ if (score?.toNumber)
30
+ return score.toNumber();
31
+ return Number(score) || undefined;
32
+ },
33
+ },
34
+ },
35
+ relationships: {},
36
+ });
37
+ //# sourceMappingURL=how-to.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.js","sourceRoot":"","sources":["../../../../src/foundations/how-to/entities/how-to.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,+CAA0C;AAgB1C;;;;;GAKG;AACU,QAAA,eAAe,GAAG,IAAA,qBAAY,GAAS,CAAC;IACnD,GAAG,uBAAS;IAEZ,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC/C,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC5B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxB,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC7B;IAED,QAAQ,EAAE;QACR,SAAS,EAAE;YACT,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;gBAClB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC;oBAAE,OAAO,SAAS,CAAC;gBAClD,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACzC,IAAI,KAAK,EAAE,QAAQ;oBAAE,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;gBAC7C,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC;YACpC,CAAC;SACF;KACF;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const howToMeta: DataMeta;
3
+ //# sourceMappingURL=how-to.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/how-to/entities/how-to.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,SAAS,EAAE,QAKvB,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.howToMeta = void 0;
4
+ exports.howToMeta = {
5
+ type: "howtos",
6
+ endpoint: "howtos",
7
+ nodeName: "howTo",
8
+ labelName: "HowTo",
9
+ };
10
+ //# sourceMappingURL=how-to.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.meta.js","sourceRoot":"","sources":["../../../../src/foundations/how-to/entities/how-to.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAa;IACjC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,OAAO;CACnB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { OnModuleInit } from "@nestjs/common";
2
+ export declare class HowToModule implements OnModuleInit {
3
+ onModuleInit(): void;
4
+ }
5
+ //# sourceMappingURL=how-to.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"how-to.module.d.ts","sourceRoot":"","sources":["../../../src/foundations/how-to/how-to.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,YAAY,EAAE,MAAM,gBAAgB,CAAC;AActD,qBAMa,WAAY,YAAW,YAAY;IAC9C,YAAY;CAGb"}