@acorex-platform/module-person-core-server 0.0.15 → 2.0.0-next.42

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 (246) hide show
  1. package/contracts/src/contact-assignment.actions.js.map +1 -1
  2. package/contracts/src/contact-assignment.utils.js +3 -2
  3. package/contracts/src/contact-assignment.utils.js.map +1 -1
  4. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js +13 -0
  5. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js.map +1 -1
  6. package/contracts/src/entities/contact-assignment/contact-assignment.types.js.map +1 -1
  7. package/contracts/src/entities/contact-assignment/index.d.ts +0 -1
  8. package/contracts/src/entities/contact-assignment/index.js +0 -1
  9. package/contracts/src/entities/contact-assignment/index.js.map +1 -1
  10. package/contracts/src/entities/contact-role/contact-role.entity.js +44 -40
  11. package/contracts/src/entities/contact-role/contact-role.entity.js.map +1 -1
  12. package/contracts/src/entities/contact-role/contact-role.types.d.ts +7 -1
  13. package/contracts/src/entities/contact-role/contact-role.types.js.map +1 -1
  14. package/contracts/src/entities/contact-role/index.d.ts +0 -1
  15. package/contracts/src/entities/contact-role/index.js +0 -1
  16. package/contracts/src/entities/contact-role/index.js.map +1 -1
  17. package/contracts/src/entities/education-level/education-level.entity.js +12 -0
  18. package/contracts/src/entities/education-level/education-level.entity.js.map +1 -1
  19. package/contracts/src/entities/education-level/education-level.types.js.map +1 -1
  20. package/contracts/src/entities/education-level/index.d.ts +0 -1
  21. package/contracts/src/entities/education-level/index.js +0 -1
  22. package/contracts/src/entities/education-level/index.js.map +1 -1
  23. package/contracts/src/entities/gender/gender.entity.js +12 -0
  24. package/contracts/src/entities/gender/gender.entity.js.map +1 -1
  25. package/contracts/src/entities/gender/gender.types.js.map +1 -1
  26. package/contracts/src/entities/gender/index.d.ts +0 -1
  27. package/contracts/src/entities/gender/index.js +0 -1
  28. package/contracts/src/entities/gender/index.js.map +1 -1
  29. package/contracts/src/entities/index.js.map +1 -1
  30. package/contracts/src/entities/marital-status/index.d.ts +0 -1
  31. package/contracts/src/entities/marital-status/index.js +0 -1
  32. package/contracts/src/entities/marital-status/index.js.map +1 -1
  33. package/contracts/src/entities/marital-status/marital-status.entity.js +12 -0
  34. package/contracts/src/entities/marital-status/marital-status.entity.js.map +1 -1
  35. package/contracts/src/entities/marital-status/marital-status.types.js.map +1 -1
  36. package/contracts/src/entities/person/index.d.ts +0 -1
  37. package/contracts/src/entities/person/index.js +0 -1
  38. package/contracts/src/entities/person/index.js.map +1 -1
  39. package/contracts/src/entities/person/person.entity.js +53 -1
  40. package/contracts/src/entities/person/person.entity.js.map +1 -1
  41. package/contracts/src/entities/person/person.types.d.ts +4 -2
  42. package/contracts/src/entities/person/person.types.js.map +1 -1
  43. package/contracts/src/entities/person-identifier-type/index.d.ts +0 -1
  44. package/contracts/src/entities/person-identifier-type/index.js +0 -1
  45. package/contracts/src/entities/person-identifier-type/index.js.map +1 -1
  46. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js +13 -1
  47. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js.map +1 -1
  48. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js.map +1 -1
  49. package/contracts/src/entities/person-relationship/index.d.ts +0 -1
  50. package/contracts/src/entities/person-relationship/index.js +0 -1
  51. package/contracts/src/entities/person-relationship/index.js.map +1 -1
  52. package/contracts/src/entities/person-relationship/person-relationship.entity.js +16 -1
  53. package/contracts/src/entities/person-relationship/person-relationship.entity.js.map +1 -1
  54. package/contracts/src/entities/person-relationship/person-relationship.types.js.map +1 -1
  55. package/contracts/src/entities/person-title/index.d.ts +0 -1
  56. package/contracts/src/entities/person-title/index.js +0 -1
  57. package/contracts/src/entities/person-title/index.js.map +1 -1
  58. package/contracts/src/entities/person-title/person-title.entity.js +13 -0
  59. package/contracts/src/entities/person-title/person-title.entity.js.map +1 -1
  60. package/contracts/src/entities/person-title/person-title.types.js.map +1 -1
  61. package/contracts/src/entities/religion/index.d.ts +0 -1
  62. package/contracts/src/entities/religion/index.js +0 -1
  63. package/contracts/src/entities/religion/index.js.map +1 -1
  64. package/contracts/src/entities/religion/religion.entity.js +12 -0
  65. package/contracts/src/entities/religion/religion.entity.js.map +1 -1
  66. package/contracts/src/entities/religion/religion.types.js.map +1 -1
  67. package/contracts/src/entity-catalog.d.ts +7 -0
  68. package/contracts/src/entity-catalog.js +29 -0
  69. package/contracts/src/entity-catalog.js.map +1 -0
  70. package/contracts/src/entity-entry.contact-assignment.d.ts +1 -0
  71. package/contracts/src/entity-entry.contact-assignment.js +6 -0
  72. package/contracts/src/entity-entry.contact-assignment.js.map +1 -0
  73. package/contracts/src/entity-entry.contact-role.d.ts +1 -0
  74. package/contracts/src/entity-entry.contact-role.js +6 -0
  75. package/contracts/src/entity-entry.contact-role.js.map +1 -0
  76. package/contracts/src/entity-entry.education-level.d.ts +1 -0
  77. package/contracts/src/entity-entry.education-level.js +6 -0
  78. package/contracts/src/entity-entry.education-level.js.map +1 -0
  79. package/contracts/src/entity-entry.gender.d.ts +1 -0
  80. package/contracts/src/entity-entry.gender.js +6 -0
  81. package/contracts/src/entity-entry.gender.js.map +1 -0
  82. package/contracts/src/entity-entry.marital-status.d.ts +1 -0
  83. package/contracts/src/entity-entry.marital-status.js +6 -0
  84. package/contracts/src/entity-entry.marital-status.js.map +1 -0
  85. package/contracts/src/entity-entry.person-identifier-type.d.ts +1 -0
  86. package/contracts/src/entity-entry.person-identifier-type.js +6 -0
  87. package/contracts/src/entity-entry.person-identifier-type.js.map +1 -0
  88. package/contracts/src/entity-entry.person-relationship.d.ts +1 -0
  89. package/contracts/src/entity-entry.person-relationship.js +6 -0
  90. package/contracts/src/entity-entry.person-relationship.js.map +1 -0
  91. package/contracts/src/entity-entry.person-title.d.ts +1 -0
  92. package/contracts/src/entity-entry.person-title.js +6 -0
  93. package/contracts/src/entity-entry.person-title.js.map +1 -0
  94. package/contracts/src/entity-entry.person.d.ts +1 -0
  95. package/contracts/src/entity-entry.person.js +6 -0
  96. package/contracts/src/entity-entry.person.js.map +1 -0
  97. package/contracts/src/entity-entry.religion.d.ts +1 -0
  98. package/contracts/src/entity-entry.religion.js +6 -0
  99. package/contracts/src/entity-entry.religion.js.map +1 -0
  100. package/contracts/src/index.d.ts +2 -0
  101. package/contracts/src/index.js +2 -0
  102. package/contracts/src/index.js.map +1 -1
  103. package/contracts/src/manifest.d.ts +6 -0
  104. package/contracts/src/manifest.js +24 -0
  105. package/contracts/src/manifest.js.map +1 -0
  106. package/contracts/src/menu.keys.js.map +1 -1
  107. package/contracts/src/permission.keys.d.ts +30 -9
  108. package/contracts/src/permission.keys.js +31 -10
  109. package/contracts/src/permission.keys.js.map +1 -1
  110. package/contracts/src/person-full-name.util.d.ts +9 -0
  111. package/contracts/src/person-full-name.util.js +38 -0
  112. package/contracts/src/person-full-name.util.js.map +1 -0
  113. package/contracts/src/person-relationship.actions.js.map +1 -1
  114. package/contracts/src/root-config.js.map +1 -1
  115. package/package.json +10 -11
  116. package/server/src/index.d.ts +2 -0
  117. package/server/src/index.js +8 -0
  118. package/server/src/index.js.map +1 -0
  119. package/server/src/lib/entities/index.d.ts +1 -0
  120. package/server/src/lib/entities/index.js +5 -0
  121. package/server/src/lib/entities/index.js.map +1 -0
  122. package/server/src/lib/entities/person-core.entity-catalog.d.ts +1 -0
  123. package/server/src/lib/entities/person-core.entity-catalog.js +12 -0
  124. package/server/src/lib/entities/person-core.entity-catalog.js.map +1 -0
  125. package/server/src/lib/middlewares/person-full-name.middleware.d.ts +12 -0
  126. package/server/src/lib/middlewares/person-full-name.middleware.js +57 -0
  127. package/server/src/lib/middlewares/person-full-name.middleware.js.map +1 -0
  128. package/server/src/lib/middlewares/person-relationship-mirror.middleware.d.ts +30 -0
  129. package/server/src/lib/middlewares/person-relationship-mirror.middleware.js +249 -0
  130. package/server/src/lib/middlewares/person-relationship-mirror.middleware.js.map +1 -0
  131. package/server/src/lib/person-core-entity-storage.bootstrap.d.ts +12 -0
  132. package/server/src/lib/person-core-entity-storage.bootstrap.js +32 -0
  133. package/server/src/lib/person-core-entity-storage.bootstrap.js.map +1 -0
  134. package/server/src/lib/person-core-server.module.js +43 -0
  135. package/server/src/lib/person-core-server.module.js.map +1 -0
  136. package/src/index.d.ts +0 -5
  137. package/src/index.js +0 -13
  138. package/src/index.js.map +0 -1
  139. package/src/lib/person-core-server.module.js +0 -27
  140. package/src/lib/person-core-server.module.js.map +0 -1
  141. package/src/lib/seed/contact-assignment/contact-assignment.mock.d.ts +0 -8
  142. package/src/lib/seed/contact-assignment/contact-assignment.mock.js +0 -51
  143. package/src/lib/seed/contact-assignment/contact-assignment.mock.js.map +0 -1
  144. package/src/lib/seed/contact-assignment/contact-assignment.seed.d.ts +0 -5
  145. package/src/lib/seed/contact-assignment/contact-assignment.seed.js +0 -32
  146. package/src/lib/seed/contact-assignment/contact-assignment.seed.js.map +0 -1
  147. package/src/lib/seed/contact-assignment/index.d.ts +0 -2
  148. package/src/lib/seed/contact-assignment/index.js +0 -6
  149. package/src/lib/seed/contact-assignment/index.js.map +0 -1
  150. package/src/lib/seed/contact-role/contact-role.mock.d.ts +0 -40
  151. package/src/lib/seed/contact-role/contact-role.mock.js +0 -258
  152. package/src/lib/seed/contact-role/contact-role.mock.js.map +0 -1
  153. package/src/lib/seed/contact-role/contact-role.seed.d.ts +0 -5
  154. package/src/lib/seed/contact-role/contact-role.seed.js +0 -31
  155. package/src/lib/seed/contact-role/contact-role.seed.js.map +0 -1
  156. package/src/lib/seed/contact-role/index.d.ts +0 -2
  157. package/src/lib/seed/contact-role/index.js +0 -6
  158. package/src/lib/seed/contact-role/index.js.map +0 -1
  159. package/src/lib/seed/education-level/education-level.mock.d.ts +0 -14
  160. package/src/lib/seed/education-level/education-level.mock.js +0 -52
  161. package/src/lib/seed/education-level/education-level.mock.js.map +0 -1
  162. package/src/lib/seed/education-level/education-level.seed.d.ts +0 -5
  163. package/src/lib/seed/education-level/education-level.seed.js +0 -31
  164. package/src/lib/seed/education-level/education-level.seed.js.map +0 -1
  165. package/src/lib/seed/education-level/index.d.ts +0 -2
  166. package/src/lib/seed/education-level/index.js +0 -6
  167. package/src/lib/seed/education-level/index.js.map +0 -1
  168. package/src/lib/seed/gender/gender.mock.d.ts +0 -28
  169. package/src/lib/seed/gender/gender.mock.js +0 -40
  170. package/src/lib/seed/gender/gender.mock.js.map +0 -1
  171. package/src/lib/seed/gender/gender.seed.d.ts +0 -5
  172. package/src/lib/seed/gender/gender.seed.js +0 -31
  173. package/src/lib/seed/gender/gender.seed.js.map +0 -1
  174. package/src/lib/seed/gender/index.d.ts +0 -2
  175. package/src/lib/seed/gender/index.js +0 -6
  176. package/src/lib/seed/gender/index.js.map +0 -1
  177. package/src/lib/seed/index.d.ts +0 -28
  178. package/src/lib/seed/index.js +0 -30
  179. package/src/lib/seed/index.js.map +0 -1
  180. package/src/lib/seed/marital-status/index.d.ts +0 -2
  181. package/src/lib/seed/marital-status/index.js +0 -6
  182. package/src/lib/seed/marital-status/index.js.map +0 -1
  183. package/src/lib/seed/marital-status/marital-status.mock.d.ts +0 -33
  184. package/src/lib/seed/marital-status/marital-status.mock.js +0 -46
  185. package/src/lib/seed/marital-status/marital-status.mock.js.map +0 -1
  186. package/src/lib/seed/marital-status/marital-status.seed.d.ts +0 -5
  187. package/src/lib/seed/marital-status/marital-status.seed.js +0 -31
  188. package/src/lib/seed/marital-status/marital-status.seed.js.map +0 -1
  189. package/src/lib/seed/person/index.d.ts +0 -3
  190. package/src/lib/seed/person/index.js +0 -7
  191. package/src/lib/seed/person/index.js.map +0 -1
  192. package/src/lib/seed/person/person-natural-ids.constants.d.ts +0 -76
  193. package/src/lib/seed/person/person-natural-ids.constants.js +0 -82
  194. package/src/lib/seed/person/person-natural-ids.constants.js.map +0 -1
  195. package/src/lib/seed/person/person.mock.d.ts +0 -5
  196. package/src/lib/seed/person/person.mock.js +0 -372
  197. package/src/lib/seed/person/person.mock.js.map +0 -1
  198. package/src/lib/seed/person/person.seed.d.ts +0 -5
  199. package/src/lib/seed/person/person.seed.js +0 -31
  200. package/src/lib/seed/person/person.seed.js.map +0 -1
  201. package/src/lib/seed/person-core-seed.provider.d.ts +0 -4
  202. package/src/lib/seed/person-core-seed.provider.js +0 -18
  203. package/src/lib/seed/person-core-seed.provider.js.map +0 -1
  204. package/src/lib/seed/person-core-seed.tokens.d.ts +0 -1
  205. package/src/lib/seed/person-core-seed.tokens.js +0 -7
  206. package/src/lib/seed/person-core-seed.tokens.js.map +0 -1
  207. package/src/lib/seed/person-core.seed-catalog.d.ts +0 -2
  208. package/src/lib/seed/person-core.seed-catalog.js +0 -31
  209. package/src/lib/seed/person-core.seed-catalog.js.map +0 -1
  210. package/src/lib/seed/person-identifier-type/index.d.ts +0 -2
  211. package/src/lib/seed/person-identifier-type/index.js +0 -6
  212. package/src/lib/seed/person-identifier-type/index.js.map +0 -1
  213. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.d.ts +0 -4
  214. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js +0 -68
  215. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js.map +0 -1
  216. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.d.ts +0 -5
  217. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js +0 -31
  218. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js.map +0 -1
  219. package/src/lib/seed/person-relationship/index.d.ts +0 -2
  220. package/src/lib/seed/person-relationship/index.js +0 -6
  221. package/src/lib/seed/person-relationship/index.js.map +0 -1
  222. package/src/lib/seed/person-relationship/person-relationship.mock.d.ts +0 -30
  223. package/src/lib/seed/person-relationship/person-relationship.mock.js +0 -156
  224. package/src/lib/seed/person-relationship/person-relationship.mock.js.map +0 -1
  225. package/src/lib/seed/person-relationship/person-relationship.seed.d.ts +0 -5
  226. package/src/lib/seed/person-relationship/person-relationship.seed.js +0 -31
  227. package/src/lib/seed/person-relationship/person-relationship.seed.js.map +0 -1
  228. package/src/lib/seed/person-title/index.d.ts +0 -2
  229. package/src/lib/seed/person-title/index.js +0 -6
  230. package/src/lib/seed/person-title/index.js.map +0 -1
  231. package/src/lib/seed/person-title/person-title.mock.d.ts +0 -43
  232. package/src/lib/seed/person-title/person-title.mock.js +0 -58
  233. package/src/lib/seed/person-title/person-title.mock.js.map +0 -1
  234. package/src/lib/seed/person-title/person-title.seed.d.ts +0 -5
  235. package/src/lib/seed/person-title/person-title.seed.js +0 -31
  236. package/src/lib/seed/person-title/person-title.seed.js.map +0 -1
  237. package/src/lib/seed/religion/index.d.ts +0 -2
  238. package/src/lib/seed/religion/index.js +0 -6
  239. package/src/lib/seed/religion/index.js.map +0 -1
  240. package/src/lib/seed/religion/religion.mock.d.ts +0 -5
  241. package/src/lib/seed/religion/religion.mock.js +0 -48
  242. package/src/lib/seed/religion/religion.mock.js.map +0 -1
  243. package/src/lib/seed/religion/religion.seed.d.ts +0 -5
  244. package/src/lib/seed/religion/religion.seed.js +0 -31
  245. package/src/lib/seed/religion/religion.seed.js.map +0 -1
  246. /package/{src → server/src}/lib/person-core-server.module.d.ts +0 -0
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.personIdentifierTypeSeedDefinition = exports.PERSON_IDENTIFIER_TYPE_ENTITY_NAME = void 0;
4
- exports.seedPersonIdentifierTypeData = seedPersonIdentifierTypeData;
5
- exports.createPersonIdentifierTypeDataSeeder = createPersonIdentifierTypeDataSeeder;
6
- const tslib_1 = require("tslib");
7
- const seed_1 = require("@acorex-platform/module-common-server/seed");
8
- const person_identifier_type_mock_1 = require("./person-identifier-type.mock");
9
- //#region ---- Constants ----
10
- exports.PERSON_IDENTIFIER_TYPE_ENTITY_NAME = 'PersonCore.PersonIdentifierType';
11
- //#endregion
12
- //#region ---- Pure seed logic ----
13
- function seedPersonIdentifierTypeData(storage) {
14
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
- yield storage.initial(exports.PERSON_IDENTIFIER_TYPE_ENTITY_NAME, person_identifier_type_mock_1.personIdentifierTypeMock, { uniqueKeys: ['id'] });
16
- });
17
- }
18
- function createPersonIdentifierTypeDataSeeder(storage) {
19
- return {
20
- name: 'PersonIdentifierTypeDataSeeder',
21
- seed: () => seedPersonIdentifierTypeData(storage),
22
- };
23
- }
24
- exports.personIdentifierTypeSeedDefinition = (0, seed_1.defineEntitySeed)({
25
- name: 'PersonIdentifierTypeDataSeeder',
26
- entityName: exports.PERSON_IDENTIFIER_TYPE_ENTITY_NAME,
27
- rows: person_identifier_type_mock_1.personIdentifierTypeMock,
28
- seed: seedPersonIdentifierTypeData,
29
- });
30
- //#endregion
31
- //# sourceMappingURL=person-identifier-type.seed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"person-identifier-type.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-identifier-type/person-identifier-type.seed.ts"],"names":[],"mappings":";;;AAgBA,oEAEC;AAED,oFAKC;;AAzBD,qEAKoD;AACpD,+EAAyE;AAEzE,6BAA6B;AAEhB,QAAA,kCAAkC,GAAG,iCAAiC,CAAC;AAEpF,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,4BAA4B,CAAC,OAA6B;;QAC9E,MAAM,OAAO,CAAC,OAAO,CAAC,0CAAkC,EAAE,sDAAwB,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC9G,CAAC;CAAA;AAED,SAAgB,oCAAoC,CAAC,OAA6B;IAChF,OAAO;QACL,IAAI,EAAE,gCAAgC;QACtC,IAAI,EAAE,GAAG,EAAE,CAAC,4BAA4B,CAAC,OAAO,CAAC;KAClD,CAAC;AACJ,CAAC;AAEY,QAAA,kCAAkC,GAA4B,IAAA,uBAAgB,EAAC;IAC1F,IAAI,EAAE,gCAAgC;IACtC,UAAU,EAAE,0CAAkC;IAC9C,IAAI,EAAE,sDAAwB;IAC9B,IAAI,EAAE,4BAA4B;CACnC,CAAC,CAAC;AAEH,YAAY"}
@@ -1,2 +0,0 @@
1
- export * from './person-relationship.mock';
2
- export * from './person-relationship.seed';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./person-relationship.mock"), exports);
5
- tslib_1.__exportStar(require("./person-relationship.seed"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-relationship/index.ts"],"names":[],"mappings":";;;AAAA,qEAA2C;AAC3C,qEAA2C"}
@@ -1,30 +0,0 @@
1
- import { type AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
- export interface PersonRelationshipMockDto {
3
- id: string;
4
- fromPersonId: string;
5
- toPersonId: string;
6
- toPerson: {
7
- id: string;
8
- fullName?: string;
9
- phones?: {
10
- value: string;
11
- }[];
12
- emails?: {
13
- value: string;
14
- }[];
15
- };
16
- typeId: string;
17
- type: {
18
- id: string;
19
- name?: string;
20
- title: AXPMultiLanguageString;
21
- };
22
- notes?: string;
23
- created: {
24
- at: Date;
25
- };
26
- updated: {
27
- at: Date;
28
- };
29
- }
30
- export declare const personRelationshipMock: PersonRelationshipMockDto[];
@@ -1,156 +0,0 @@
1
- "use strict";
2
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.personRelationshipMock = void 0;
5
- const seed_1 = require("@acorex-platform/module-common-server/seed");
6
- const contact_role_mock_1 = require("../contact-role/contact-role.mock");
7
- const person_mock_1 = require("../person/person.mock");
8
- //#endregion
9
- //#region ---- Helpers ----
10
- function getPersonDisplayName(id) {
11
- const person = person_mock_1.personMock.find((p) => p.id === id);
12
- return person ? [person.firstName, person.lastName].filter(Boolean).join(' ') : '';
13
- }
14
- function getToPersonWithContact(id) {
15
- var _a;
16
- const person = person_mock_1.personMock.find((p) => p.id === id);
17
- if (!person)
18
- return { id, fullName: '' };
19
- return {
20
- id,
21
- fullName: (_a = person.fullName) !== null && _a !== void 0 ? _a : [person.firstName, person.lastName].filter(Boolean).join(' '),
22
- phones: person.phones,
23
- emails: person.emails,
24
- };
25
- }
26
- //#endregion
27
- //#region ---- Helpers for Role ----
28
- function getContactRoleById(id) {
29
- return contact_role_mock_1.contactRoleMocks.find((r) => r.id === id);
30
- }
31
- //#endregion
32
- //#region ---- Mock Data ----
33
- exports.personRelationshipMock = [
34
- {
35
- id: seed_1.AXPDataGenerator.uuid(),
36
- fromPersonId: person_mock_1.personIds.sarahJohnson,
37
- toPersonId: person_mock_1.personIds.mikeChen,
38
- toPerson: getToPersonWithContact(person_mock_1.personIds.mikeChen),
39
- typeId: contact_role_mock_1.contactRoleIds.employs,
40
- type: {
41
- id: contact_role_mock_1.contactRoleIds.employs,
42
- name: (_a = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _a === void 0 ? void 0 : _a.name,
43
- title: (_c = (_b = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : (0, seed_1.createMultiLanguageString)('Employs', 'استخدام‌کننده'),
44
- },
45
- notes: 'Sarah Johnson manages Mike Chen',
46
- created: { at: new Date('2018-03-15') },
47
- updated: { at: new Date('2024-01-15') },
48
- },
49
- {
50
- id: seed_1.AXPDataGenerator.uuid(),
51
- fromPersonId: person_mock_1.personIds.sarahJohnson,
52
- toPersonId: person_mock_1.personIds.emilyRodriguez,
53
- toPerson: getToPersonWithContact(person_mock_1.personIds.emilyRodriguez),
54
- typeId: contact_role_mock_1.contactRoleIds.employs,
55
- type: {
56
- id: contact_role_mock_1.contactRoleIds.employs,
57
- name: (_d = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _d === void 0 ? void 0 : _d.name,
58
- title: (_f = (_e = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _e === void 0 ? void 0 : _e.title) !== null && _f !== void 0 ? _f : (0, seed_1.createMultiLanguageString)('Employs', 'استخدام‌کننده'),
59
- },
60
- notes: 'Sarah Johnson manages Emily Rodriguez',
61
- created: { at: new Date('2019-07-01') },
62
- updated: { at: new Date('2024-01-12') },
63
- },
64
- {
65
- id: seed_1.AXPDataGenerator.uuid(),
66
- fromPersonId: person_mock_1.personIds.sarahJohnson,
67
- toPersonId: person_mock_1.personIds.davidThompson,
68
- toPerson: getToPersonWithContact(person_mock_1.personIds.davidThompson),
69
- typeId: contact_role_mock_1.contactRoleIds.employs,
70
- type: {
71
- id: contact_role_mock_1.contactRoleIds.employs,
72
- name: (_g = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _g === void 0 ? void 0 : _g.name,
73
- title: (_j = (_h = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _h === void 0 ? void 0 : _h.title) !== null && _j !== void 0 ? _j : (0, seed_1.createMultiLanguageString)('Employs', 'استخدام‌کننده'),
74
- },
75
- notes: 'Sarah Johnson manages David Thompson',
76
- created: { at: new Date('2017-11-01') },
77
- updated: { at: new Date('2024-01-08') },
78
- },
79
- {
80
- id: seed_1.AXPDataGenerator.uuid(),
81
- fromPersonId: person_mock_1.personIds.acmeCorporation,
82
- toPersonId: person_mock_1.personIds.johnSmith,
83
- toPerson: getToPersonWithContact(person_mock_1.personIds.johnSmith),
84
- typeId: contact_role_mock_1.contactRoleIds.employs,
85
- type: {
86
- id: contact_role_mock_1.contactRoleIds.employs,
87
- name: (_k = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _k === void 0 ? void 0 : _k.name,
88
- title: (_m = (_l = getContactRoleById(contact_role_mock_1.contactRoleIds.employs)) === null || _l === void 0 ? void 0 : _l.title) !== null && _m !== void 0 ? _m : (0, seed_1.createMultiLanguageString)('Employs', 'استخدام‌کننده'),
89
- },
90
- notes: 'ACME Corporation employs John Smith',
91
- created: { at: new Date('2023-12-01') },
92
- updated: { at: new Date('2024-01-15') },
93
- },
94
- {
95
- id: seed_1.AXPDataGenerator.uuid(),
96
- fromPersonId: person_mock_1.personIds.techSolutionsInc,
97
- toPersonId: person_mock_1.personIds.acmeCorporation,
98
- toPerson: getToPersonWithContact(person_mock_1.personIds.acmeCorporation),
99
- typeId: contact_role_mock_1.contactRoleIds.vendorOf,
100
- type: {
101
- id: contact_role_mock_1.contactRoleIds.vendorOf,
102
- name: (_o = getContactRoleById(contact_role_mock_1.contactRoleIds.vendorOf)) === null || _o === void 0 ? void 0 : _o.name,
103
- title: (_q = (_p = getContactRoleById(contact_role_mock_1.contactRoleIds.vendorOf)) === null || _p === void 0 ? void 0 : _p.title) !== null && _q !== void 0 ? _q : (0, seed_1.createMultiLanguageString)('Vendor Of', 'فروشندهٔ'),
104
- },
105
- notes: 'Tech Solutions Inc. is a vendor to ACME Corporation',
106
- created: { at: new Date('2023-08-01') },
107
- updated: { at: new Date('2024-01-18') },
108
- },
109
- {
110
- id: seed_1.AXPDataGenerator.uuid(),
111
- fromPersonId: person_mock_1.personIds.globalSuppliersLtd,
112
- toPersonId: person_mock_1.personIds.techSolutionsInc,
113
- toPerson: getToPersonWithContact(person_mock_1.personIds.techSolutionsInc),
114
- typeId: contact_role_mock_1.contactRoleIds.vendorOf,
115
- type: {
116
- id: contact_role_mock_1.contactRoleIds.vendorOf,
117
- name: (_r = getContactRoleById(contact_role_mock_1.contactRoleIds.vendorOf)) === null || _r === void 0 ? void 0 : _r.name,
118
- title: (_t = (_s = getContactRoleById(contact_role_mock_1.contactRoleIds.vendorOf)) === null || _s === void 0 ? void 0 : _s.title) !== null && _t !== void 0 ? _t : (0, seed_1.createMultiLanguageString)('Vendor Of', 'فروشندهٔ'),
119
- },
120
- notes: 'Global Suppliers Ltd supplies components to Tech Solutions Inc.',
121
- created: { at: new Date('2020-01-01') },
122
- updated: { at: new Date('2024-01-15') },
123
- },
124
- {
125
- id: seed_1.AXPDataGenerator.uuid(),
126
- fromPersonId: person_mock_1.personIds.techSolutionsInc,
127
- toPersonId: person_mock_1.personIds.globalSuppliersLtd,
128
- toPerson: getToPersonWithContact(person_mock_1.personIds.globalSuppliersLtd),
129
- typeId: contact_role_mock_1.contactRoleIds.partnerOf,
130
- type: {
131
- id: contact_role_mock_1.contactRoleIds.partnerOf,
132
- name: (_u = getContactRoleById(contact_role_mock_1.contactRoleIds.partnerOf)) === null || _u === void 0 ? void 0 : _u.name,
133
- title: (_w = (_v = getContactRoleById(contact_role_mock_1.contactRoleIds.partnerOf)) === null || _v === void 0 ? void 0 : _v.title) !== null && _w !== void 0 ? _w : (0, seed_1.createMultiLanguageString)('Partner Of', 'شریک'),
134
- },
135
- notes: 'Tech Solutions Inc. partners with Global Suppliers Ltd',
136
- created: { at: new Date('2020-01-01') },
137
- updated: { at: new Date('2024-01-15') },
138
- },
139
- {
140
- id: seed_1.AXPDataGenerator.uuid(),
141
- fromPersonId: person_mock_1.personIds.acmeCorporation,
142
- toPersonId: person_mock_1.personIds.techSolutionsInc,
143
- toPerson: getToPersonWithContact(person_mock_1.personIds.techSolutionsInc),
144
- typeId: contact_role_mock_1.contactRoleIds.clientOf,
145
- type: {
146
- id: contact_role_mock_1.contactRoleIds.clientOf,
147
- name: (_x = getContactRoleById(contact_role_mock_1.contactRoleIds.clientOf)) === null || _x === void 0 ? void 0 : _x.name,
148
- title: (_z = (_y = getContactRoleById(contact_role_mock_1.contactRoleIds.clientOf)) === null || _y === void 0 ? void 0 : _y.title) !== null && _z !== void 0 ? _z : (0, seed_1.createMultiLanguageString)('Client Of', 'کارفرمای'),
149
- },
150
- notes: 'ACME Corporation is a client of Tech Solutions Inc.',
151
- created: { at: new Date('2023-08-01') },
152
- updated: { at: new Date('2024-01-18') },
153
- },
154
- ];
155
- //#endregion
156
- //# sourceMappingURL=person-relationship.mock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"person-relationship.mock.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/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gB,CAAC;QAC5D,MAAM,EAAE,kCAAc,CAAC,QAAQ;QAC/B,IAAI,EAAE;YACJ,EAAE,EAAE,kCAAc,CAAC,QAAQ;YAC3B,IAAI,EAAE,MAAA,kBAAkB,CAAC,kCAAc,CAAC,QAAQ,CAAC,0CAAE,IAAI;YACvD,KAAK,EAAE,MAAA,MAAA,kBAAkB,CAAC,kCAAc,CAAC,QAAQ,CAAC,0CAAE,KAAK,mCAAI,IAAA,gCAAyB,EAAC,WAAW,EAAE,UAAU,CAAC;SAChH;QACD,KAAK,EAAE,qDAAqD;QAC5D,OAAO,EAAE,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE;QACvC,OAAO,EAAE,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,EAAE;KACxC;CACF,CAAC;AAEF,YAAY"}
@@ -1,5 +0,0 @@
1
- import { AXPDataSeeder, AXPEntitySeedDefinition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
- export declare const PERSON_RELATIONSHIP_ENTITY_NAME = "PersonCore.PersonRelationship";
3
- export declare function seedPersonRelationshipData(storage: AXPEntitySeedStorage): Promise<void>;
4
- export declare function createPersonRelationshipDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
5
- export declare const personRelationshipSeedDefinition: AXPEntitySeedDefinition;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.personRelationshipSeedDefinition = exports.PERSON_RELATIONSHIP_ENTITY_NAME = void 0;
4
- exports.seedPersonRelationshipData = seedPersonRelationshipData;
5
- exports.createPersonRelationshipDataSeeder = createPersonRelationshipDataSeeder;
6
- const tslib_1 = require("tslib");
7
- const seed_1 = require("@acorex-platform/module-common-server/seed");
8
- const person_relationship_mock_1 = require("./person-relationship.mock");
9
- //#region ---- Constants ----
10
- exports.PERSON_RELATIONSHIP_ENTITY_NAME = 'PersonCore.PersonRelationship';
11
- //#endregion
12
- //#region ---- Pure seed logic ----
13
- function seedPersonRelationshipData(storage) {
14
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
- yield storage.initial(exports.PERSON_RELATIONSHIP_ENTITY_NAME, person_relationship_mock_1.personRelationshipMock, { uniqueKeys: ['id'] });
16
- });
17
- }
18
- function createPersonRelationshipDataSeeder(storage) {
19
- return {
20
- name: 'PersonRelationshipDataSeeder',
21
- seed: () => seedPersonRelationshipData(storage),
22
- };
23
- }
24
- exports.personRelationshipSeedDefinition = (0, seed_1.defineEntitySeed)({
25
- name: 'PersonRelationshipDataSeeder',
26
- entityName: exports.PERSON_RELATIONSHIP_ENTITY_NAME,
27
- rows: person_relationship_mock_1.personRelationshipMock,
28
- seed: seedPersonRelationshipData,
29
- });
30
- //#endregion
31
- //# sourceMappingURL=person-relationship.seed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"person-relationship.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-relationship/person-relationship.seed.ts"],"names":[],"mappings":";;;AAgBA,gEAEC;AAED,gFAKC;;AAzBD,qEAKoD;AACpD,yEAAoE;AAEpE,6BAA6B;AAEhB,QAAA,+BAA+B,GAAG,+BAA+B,CAAC;AAE/E,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,0BAA0B,CAAC,OAA6B;;QAC5E,MAAM,OAAO,CAAC,OAAO,CAAC,uCAA+B,EAAE,iDAAsB,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACzG,CAAC;CAAA;AAED,SAAgB,kCAAkC,CAAC,OAA6B;IAC9E,OAAO;QACL,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,GAAG,EAAE,CAAC,0BAA0B,CAAC,OAAO,CAAC;KAChD,CAAC;AACJ,CAAC;AAEY,QAAA,gCAAgC,GAA4B,IAAA,uBAAgB,EAAC;IACxF,IAAI,EAAE,8BAA8B;IACpC,UAAU,EAAE,uCAA+B;IAC3C,IAAI,EAAE,iDAAsB;IAC5B,IAAI,EAAE,0BAA0B;CACjC,CAAC,CAAC;AAEH,YAAY"}
@@ -1,2 +0,0 @@
1
- export * from './person-title.mock';
2
- export * from './person-title.seed';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./person-title.mock"), exports);
5
- tslib_1.__exportStar(require("./person-title.seed"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-title/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,8DAAoC"}
@@ -1,43 +0,0 @@
1
- export declare const personTitleIds: {
2
- readonly mr: "b2000001-0000-4000-8000-000000000001";
3
- readonly mrs: "b2000001-0000-4000-8000-000000000002";
4
- readonly ms: "b2000001-0000-4000-8000-000000000003";
5
- readonly miss: "b2000001-0000-4000-8000-000000000004";
6
- readonly dr: "b2000001-0000-4000-8000-000000000005";
7
- readonly prof: "b2000001-0000-4000-8000-000000000006";
8
- readonly rev: "b2000001-0000-4000-8000-000000000007";
9
- readonly other: "b2000001-0000-4000-8000-000000000008";
10
- };
11
- export declare const personTitleMocks: ({
12
- id: "b2000001-0000-4000-8000-000000000001";
13
- title: Record<string, string>;
14
- description: Record<string, string>;
15
- } | {
16
- id: "b2000001-0000-4000-8000-000000000002";
17
- title: Record<string, string>;
18
- description: Record<string, string>;
19
- } | {
20
- id: "b2000001-0000-4000-8000-000000000003";
21
- title: Record<string, string>;
22
- description: Record<string, string>;
23
- } | {
24
- id: "b2000001-0000-4000-8000-000000000004";
25
- title: Record<string, string>;
26
- description: Record<string, string>;
27
- } | {
28
- id: "b2000001-0000-4000-8000-000000000005";
29
- title: Record<string, string>;
30
- description: Record<string, string>;
31
- } | {
32
- id: "b2000001-0000-4000-8000-000000000006";
33
- title: Record<string, string>;
34
- description: Record<string, string>;
35
- } | {
36
- id: "b2000001-0000-4000-8000-000000000007";
37
- title: Record<string, string>;
38
- description: Record<string, string>;
39
- } | {
40
- id: "b2000001-0000-4000-8000-000000000008";
41
- title: Record<string, string>;
42
- description: Record<string, string>;
43
- })[];
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.personTitleMocks = exports.personTitleIds = void 0;
4
- const seed_1 = require("@acorex-platform/module-common-server/seed");
5
- const M = seed_1.createMultiLanguageString;
6
- exports.personTitleIds = {
7
- mr: 'b2000001-0000-4000-8000-000000000001',
8
- mrs: 'b2000001-0000-4000-8000-000000000002',
9
- ms: 'b2000001-0000-4000-8000-000000000003',
10
- miss: 'b2000001-0000-4000-8000-000000000004',
11
- dr: 'b2000001-0000-4000-8000-000000000005',
12
- prof: 'b2000001-0000-4000-8000-000000000006',
13
- rev: 'b2000001-0000-4000-8000-000000000007',
14
- other: 'b2000001-0000-4000-8000-000000000008',
15
- };
16
- exports.personTitleMocks = [
17
- {
18
- id: exports.personTitleIds.mr,
19
- title: M('Mr', 'آقا'),
20
- description: M('Male salutation', 'عنوان رسمی مردان'),
21
- },
22
- {
23
- id: exports.personTitleIds.mrs,
24
- title: M('Mrs', 'خانم'),
25
- description: M('Married or widowed woman', 'خانم (متأهل یا بیوه)'),
26
- },
27
- {
28
- id: exports.personTitleIds.ms,
29
- title: M('Ms', 'بانو'),
30
- description: M('Gender-neutral title for women', 'عنوان بدون اشاره به وضعیت تأهل'),
31
- },
32
- {
33
- id: exports.personTitleIds.miss,
34
- title: M('Miss', 'دوشیزه'),
35
- description: M('Traditionally unmarried woman', 'سنتاً خانم مجرد'),
36
- },
37
- {
38
- id: exports.personTitleIds.dr,
39
- title: M('Dr', 'دکتر'),
40
- description: M('Doctor (academic or medical)', 'دکتر (دانشگاهی یا پزشکی)'),
41
- },
42
- {
43
- id: exports.personTitleIds.prof,
44
- title: M('Prof', 'استاد'),
45
- description: M('Professor', 'استاد دانشگاه'),
46
- },
47
- {
48
- id: exports.personTitleIds.rev,
49
- title: M('Rev', 'روحانی'),
50
- description: M('Reverend or clergy', 'عنوان روحانی'),
51
- },
52
- {
53
- id: exports.personTitleIds.other,
54
- title: M('Other', 'سایر'),
55
- description: M('Other salutation', 'سایر عناوین'),
56
- },
57
- ];
58
- //# sourceMappingURL=person-title.mock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"person-title.mock.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-title/person-title.mock.ts"],"names":[],"mappings":";;;AAAA,qEAAqF;AAErF,MAAM,CAAC,GAAG,gCAAyB,CAAC;AAEvB,QAAA,cAAc,GAAG;IAC5B,EAAE,EAAE,sCAAsC;IAC1C,GAAG,EAAE,sCAAsC;IAC3C,EAAE,EAAE,sCAAsC;IAC1C,IAAI,EAAE,sCAAsC;IAC5C,EAAE,EAAE,sCAAsC;IAC1C,IAAI,EAAE,sCAAsC;IAC5C,GAAG,EAAE,sCAAsC;IAC3C,KAAK,EAAE,sCAAsC;CACrC,CAAC;AAEE,QAAA,gBAAgB,GAAG;IAC9B;QACE,EAAE,EAAE,sBAAc,CAAC,EAAE;QACrB,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC;QACrB,WAAW,EAAE,CAAC,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KACtD;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,GAAG;QACtB,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,CAAC,CAAC,0BAA0B,EAAE,sBAAsB,CAAC;KACnE;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,EAAE;QACrB,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,CAAC,CAAC,gCAAgC,EAAE,gCAAgC,CAAC;KACnF;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,IAAI;QACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC;QAC1B,WAAW,EAAE,CAAC,CAAC,+BAA+B,EAAE,iBAAiB,CAAC;KACnE;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,EAAE;QACrB,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,CAAC,CAAC,8BAA8B,EAAE,0BAA0B,CAAC;KAC3E;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,IAAI;QACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,WAAW,EAAE,eAAe,CAAC;KAC7C;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,GAAG;QACtB,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,oBAAoB,EAAE,cAAc,CAAC;KACrD;IACD;QACE,EAAE,EAAE,sBAAc,CAAC,KAAK;QACxB,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,kBAAkB,EAAE,aAAa,CAAC;KAClD;CACF,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AXPDataSeeder, AXPEntitySeedDefinition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
- export declare const PERSON_TITLE_ENTITY_NAME = "PersonCore.PersonTitle";
3
- export declare function seedPersonTitleData(storage: AXPEntitySeedStorage): Promise<void>;
4
- export declare function createPersonTitleDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
5
- export declare const personTitleSeedDefinition: AXPEntitySeedDefinition;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.personTitleSeedDefinition = exports.PERSON_TITLE_ENTITY_NAME = void 0;
4
- exports.seedPersonTitleData = seedPersonTitleData;
5
- exports.createPersonTitleDataSeeder = createPersonTitleDataSeeder;
6
- const tslib_1 = require("tslib");
7
- const seed_1 = require("@acorex-platform/module-common-server/seed");
8
- const person_title_mock_1 = require("./person-title.mock");
9
- //#region ---- Constants ----
10
- exports.PERSON_TITLE_ENTITY_NAME = 'PersonCore.PersonTitle';
11
- //#endregion
12
- //#region ---- Pure seed logic ----
13
- function seedPersonTitleData(storage) {
14
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
- yield storage.initial(exports.PERSON_TITLE_ENTITY_NAME, person_title_mock_1.personTitleMocks, { uniqueKeys: ['id'] });
16
- });
17
- }
18
- function createPersonTitleDataSeeder(storage) {
19
- return {
20
- name: 'PersonTitleDataSeeder',
21
- seed: () => seedPersonTitleData(storage),
22
- };
23
- }
24
- exports.personTitleSeedDefinition = (0, seed_1.defineEntitySeed)({
25
- name: 'PersonTitleDataSeeder',
26
- entityName: exports.PERSON_TITLE_ENTITY_NAME,
27
- rows: person_title_mock_1.personTitleMocks,
28
- seed: seedPersonTitleData,
29
- });
30
- //#endregion
31
- //# sourceMappingURL=person-title.seed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"person-title.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-title/person-title.seed.ts"],"names":[],"mappings":";;;AAgBA,kDAEC;AAED,kEAKC;;AAzBD,qEAKoD;AACpD,2DAAuD;AAEvD,6BAA6B;AAEhB,QAAA,wBAAwB,GAAG,wBAAwB,CAAC;AAEjE,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,mBAAmB,CAAC,OAA6B;;QACrE,MAAM,OAAO,CAAC,OAAO,CAAC,gCAAwB,EAAE,oCAAgB,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5F,CAAC;CAAA;AAED,SAAgB,2BAA2B,CAAC,OAA6B;IACvE,OAAO;QACL,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,CAAC;KACzC,CAAC;AACJ,CAAC;AAEY,QAAA,yBAAyB,GAA4B,IAAA,uBAAgB,EAAC;IACjF,IAAI,EAAE,uBAAuB;IAC7B,UAAU,EAAE,gCAAwB;IACpC,IAAI,EAAE,oCAAgB;IACtB,IAAI,EAAE,mBAAmB;CAC1B,CAAC,CAAC;AAEH,YAAY"}
@@ -1,2 +0,0 @@
1
- export * from './religion.mock';
2
- export * from './religion.seed';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./religion.mock"), exports);
5
- tslib_1.__exportStar(require("./religion.seed"), exports);
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/religion/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,0DAAgC"}
@@ -1,5 +0,0 @@
1
- export declare const religionMocks: {
2
- id: string;
3
- title: Record<string, string>;
4
- description: Record<string, string>;
5
- }[];
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.religionMocks = void 0;
4
- const seed_1 = require("@acorex-platform/module-common-server/seed");
5
- const M = seed_1.createMultiLanguageString;
6
- exports.religionMocks = [
7
- {
8
- id: seed_1.AXPDataGenerator.uuid(),
9
- title: M('Christianity', 'مسیحیت'),
10
- description: M('Christian faith and traditions', 'آیین و سنت مسیحی'),
11
- },
12
- {
13
- id: seed_1.AXPDataGenerator.uuid(),
14
- title: M('Islam', 'اسلام'),
15
- description: M('Islamic faith and traditions', 'آیین و سنت اسلامی'),
16
- },
17
- {
18
- id: seed_1.AXPDataGenerator.uuid(),
19
- title: M('Judaism', 'یهودیت'),
20
- description: M('Jewish faith and traditions', 'آیین و سنت یهودی'),
21
- },
22
- {
23
- id: seed_1.AXPDataGenerator.uuid(),
24
- title: M('Hinduism', 'هندوئیسم'),
25
- description: M('Hindu faith and traditions', 'آیین و سنت هندو'),
26
- },
27
- {
28
- id: seed_1.AXPDataGenerator.uuid(),
29
- title: M('Buddhism', 'بودیسم'),
30
- description: M('Buddhist faith and traditions', 'آیین و سنت بودایی'),
31
- },
32
- {
33
- id: seed_1.AXPDataGenerator.uuid(),
34
- title: M('Sikhism', 'سیخ'),
35
- description: M('Sikh faith and traditions', 'آیین و سنت سیخ'),
36
- },
37
- {
38
- id: seed_1.AXPDataGenerator.uuid(),
39
- title: M('Other', 'سایر'),
40
- description: M('Other religious affiliation', 'دیگر گرایش‌های مذهبی'),
41
- },
42
- {
43
- id: seed_1.AXPDataGenerator.uuid(),
44
- title: M('Prefer not to say', 'تمایلی به بیان ندارم'),
45
- description: M('Declined to specify', 'عدم تمایل به ذکر'),
46
- },
47
- ];
48
- //# sourceMappingURL=religion.mock.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"religion.mock.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/religion/religion.mock.ts"],"names":[],"mappings":";;;AAAA,qEAAuG;AAEvG,MAAM,CAAC,GAAG,gCAAyB,CAAC;AAEvB,QAAA,aAAa,GAAG;IAC3B;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,cAAc,EAAE,QAAQ,CAAC;QAClC,WAAW,EAAE,CAAC,CAAC,gCAAgC,EAAE,kBAAkB,CAAC;KACrE;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC;QAC1B,WAAW,EAAE,CAAC,CAAC,8BAA8B,EAAE,mBAAmB,CAAC;KACpE;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC;QAC7B,WAAW,EAAE,CAAC,CAAC,6BAA6B,EAAE,kBAAkB,CAAC;KAClE;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC;QAChC,WAAW,EAAE,CAAC,CAAC,4BAA4B,EAAE,iBAAiB,CAAC;KAChE;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC;QAC9B,WAAW,EAAE,CAAC,CAAC,+BAA+B,EAAE,mBAAmB,CAAC;KACrE;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,SAAS,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,CAAC,CAAC,2BAA2B,EAAE,gBAAgB,CAAC;KAC9D;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,WAAW,EAAE,CAAC,CAAC,6BAA6B,EAAE,sBAAsB,CAAC;KACtE;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,mBAAmB,EAAE,sBAAsB,CAAC;QACrD,WAAW,EAAE,CAAC,CAAC,qBAAqB,EAAE,kBAAkB,CAAC;KAC1D;CACF,CAAC"}
@@ -1,5 +0,0 @@
1
- import { AXPDataSeeder, AXPEntitySeedDefinition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
- export declare const RELIGION_ENTITY_NAME = "PersonCore.Religion";
3
- export declare function seedReligionData(storage: AXPEntitySeedStorage): Promise<void>;
4
- export declare function createReligionDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
5
- export declare const religionSeedDefinition: AXPEntitySeedDefinition;
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.religionSeedDefinition = exports.RELIGION_ENTITY_NAME = void 0;
4
- exports.seedReligionData = seedReligionData;
5
- exports.createReligionDataSeeder = createReligionDataSeeder;
6
- const tslib_1 = require("tslib");
7
- const seed_1 = require("@acorex-platform/module-common-server/seed");
8
- const religion_mock_1 = require("./religion.mock");
9
- //#region ---- Constants ----
10
- exports.RELIGION_ENTITY_NAME = 'PersonCore.Religion';
11
- //#endregion
12
- //#region ---- Pure seed logic ----
13
- function seedReligionData(storage) {
14
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
- yield storage.initial(exports.RELIGION_ENTITY_NAME, religion_mock_1.religionMocks, { uniqueKeys: ['id'] });
16
- });
17
- }
18
- function createReligionDataSeeder(storage) {
19
- return {
20
- name: 'ReligionDataSeeder',
21
- seed: () => seedReligionData(storage),
22
- };
23
- }
24
- exports.religionSeedDefinition = (0, seed_1.defineEntitySeed)({
25
- name: 'ReligionDataSeeder',
26
- entityName: exports.RELIGION_ENTITY_NAME,
27
- rows: religion_mock_1.religionMocks,
28
- seed: seedReligionData,
29
- });
30
- //#endregion
31
- //# sourceMappingURL=religion.seed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"religion.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/religion/religion.seed.ts"],"names":[],"mappings":";;;AAgBA,4CAEC;AAED,4DAKC;;AAzBD,qEAKoD;AACpD,mDAAgD;AAEhD,6BAA6B;AAEhB,QAAA,oBAAoB,GAAG,qBAAqB,CAAC;AAE1D,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,gBAAgB,CAAC,OAA6B;;QAClE,MAAM,OAAO,CAAC,OAAO,CAAC,4BAAoB,EAAE,6BAAa,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACrF,CAAC;CAAA;AAED,SAAgB,wBAAwB,CAAC,OAA6B;IACpE,OAAO;QACL,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,OAAO,CAAC;KACtC,CAAC;AACJ,CAAC;AAEY,QAAA,sBAAsB,GAA4B,IAAA,uBAAgB,EAAC;IAC9E,IAAI,EAAE,oBAAoB;IAC1B,UAAU,EAAE,4BAAoB;IAChC,IAAI,EAAE,6BAAa;IACnB,IAAI,EAAE,gBAAgB;CACvB,CAAC,CAAC;AAEH,YAAY"}