@acorex-platform/module-person-core-server 0.0.15

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 (226) hide show
  1. package/contracts/src/contact-assignment.actions.d.ts +10 -0
  2. package/contracts/src/contact-assignment.actions.js +80 -0
  3. package/contracts/src/contact-assignment.actions.js.map +1 -0
  4. package/contracts/src/contact-assignment.utils.d.ts +14 -0
  5. package/contracts/src/contact-assignment.utils.js +47 -0
  6. package/contracts/src/contact-assignment.utils.js.map +1 -0
  7. package/contracts/src/entities/contact-assignment/contact-assignment.entity.d.ts +2 -0
  8. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js +155 -0
  9. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js.map +1 -0
  10. package/contracts/src/entities/contact-assignment/contact-assignment.types.d.ts +21 -0
  11. package/contracts/src/entities/contact-assignment/contact-assignment.types.js +4 -0
  12. package/contracts/src/entities/contact-assignment/contact-assignment.types.js.map +1 -0
  13. package/contracts/src/entities/contact-assignment/index.d.ts +2 -0
  14. package/contracts/src/entities/contact-assignment/index.js +6 -0
  15. package/contracts/src/entities/contact-assignment/index.js.map +1 -0
  16. package/contracts/src/entities/contact-role/contact-role.entity.d.ts +2 -0
  17. package/contracts/src/entities/contact-role/contact-role.entity.js +150 -0
  18. package/contracts/src/entities/contact-role/contact-role.entity.js.map +1 -0
  19. package/contracts/src/entities/contact-role/contact-role.types.d.ts +7 -0
  20. package/contracts/src/entities/contact-role/contact-role.types.js +4 -0
  21. package/contracts/src/entities/contact-role/contact-role.types.js.map +1 -0
  22. package/contracts/src/entities/contact-role/index.d.ts +2 -0
  23. package/contracts/src/entities/contact-role/index.js +6 -0
  24. package/contracts/src/entities/contact-role/index.js.map +1 -0
  25. package/contracts/src/entities/education-level/education-level.entity.d.ts +2 -0
  26. package/contracts/src/entities/education-level/education-level.entity.js +123 -0
  27. package/contracts/src/entities/education-level/education-level.entity.js.map +1 -0
  28. package/contracts/src/entities/education-level/education-level.types.d.ts +6 -0
  29. package/contracts/src/entities/education-level/education-level.types.js +4 -0
  30. package/contracts/src/entities/education-level/education-level.types.js.map +1 -0
  31. package/contracts/src/entities/education-level/index.d.ts +2 -0
  32. package/contracts/src/entities/education-level/index.js +6 -0
  33. package/contracts/src/entities/education-level/index.js.map +1 -0
  34. package/contracts/src/entities/gender/gender.entity.d.ts +2 -0
  35. package/contracts/src/entities/gender/gender.entity.js +123 -0
  36. package/contracts/src/entities/gender/gender.entity.js.map +1 -0
  37. package/contracts/src/entities/gender/gender.types.d.ts +6 -0
  38. package/contracts/src/entities/gender/gender.types.js +4 -0
  39. package/contracts/src/entities/gender/gender.types.js.map +1 -0
  40. package/contracts/src/entities/gender/index.d.ts +2 -0
  41. package/contracts/src/entities/gender/index.js +6 -0
  42. package/contracts/src/entities/gender/index.js.map +1 -0
  43. package/contracts/src/entities/index.d.ts +10 -0
  44. package/contracts/src/entities/index.js +14 -0
  45. package/contracts/src/entities/index.js.map +1 -0
  46. package/contracts/src/entities/marital-status/index.d.ts +2 -0
  47. package/contracts/src/entities/marital-status/index.js +6 -0
  48. package/contracts/src/entities/marital-status/index.js.map +1 -0
  49. package/contracts/src/entities/marital-status/marital-status.entity.d.ts +2 -0
  50. package/contracts/src/entities/marital-status/marital-status.entity.js +123 -0
  51. package/contracts/src/entities/marital-status/marital-status.entity.js.map +1 -0
  52. package/contracts/src/entities/marital-status/marital-status.types.d.ts +6 -0
  53. package/contracts/src/entities/marital-status/marital-status.types.js +4 -0
  54. package/contracts/src/entities/marital-status/marital-status.types.js.map +1 -0
  55. package/contracts/src/entities/person/index.d.ts +2 -0
  56. package/contracts/src/entities/person/index.js +6 -0
  57. package/contracts/src/entities/person/index.js.map +1 -0
  58. package/contracts/src/entities/person/person.entity.d.ts +2 -0
  59. package/contracts/src/entities/person/person.entity.js +456 -0
  60. package/contracts/src/entities/person/person.entity.js.map +1 -0
  61. package/contracts/src/entities/person/person.types.d.ts +40 -0
  62. package/contracts/src/entities/person/person.types.js +3 -0
  63. package/contracts/src/entities/person/person.types.js.map +1 -0
  64. package/contracts/src/entities/person-identifier-type/index.d.ts +2 -0
  65. package/contracts/src/entities/person-identifier-type/index.js +6 -0
  66. package/contracts/src/entities/person-identifier-type/index.js.map +1 -0
  67. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.d.ts +2 -0
  68. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js +193 -0
  69. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js.map +1 -0
  70. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.d.ts +11 -0
  71. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js +4 -0
  72. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js.map +1 -0
  73. package/contracts/src/entities/person-relationship/index.d.ts +2 -0
  74. package/contracts/src/entities/person-relationship/index.js +6 -0
  75. package/contracts/src/entities/person-relationship/index.js.map +1 -0
  76. package/contracts/src/entities/person-relationship/person-relationship.entity.d.ts +2 -0
  77. package/contracts/src/entities/person-relationship/person-relationship.entity.js +155 -0
  78. package/contracts/src/entities/person-relationship/person-relationship.entity.js.map +1 -0
  79. package/contracts/src/entities/person-relationship/person-relationship.types.d.ts +10 -0
  80. package/contracts/src/entities/person-relationship/person-relationship.types.js +3 -0
  81. package/contracts/src/entities/person-relationship/person-relationship.types.js.map +1 -0
  82. package/contracts/src/entities/person-title/index.d.ts +2 -0
  83. package/contracts/src/entities/person-title/index.js +6 -0
  84. package/contracts/src/entities/person-title/index.js.map +1 -0
  85. package/contracts/src/entities/person-title/person-title.entity.d.ts +2 -0
  86. package/contracts/src/entities/person-title/person-title.entity.js +123 -0
  87. package/contracts/src/entities/person-title/person-title.entity.js.map +1 -0
  88. package/contracts/src/entities/person-title/person-title.types.d.ts +6 -0
  89. package/contracts/src/entities/person-title/person-title.types.js +4 -0
  90. package/contracts/src/entities/person-title/person-title.types.js.map +1 -0
  91. package/contracts/src/entities/religion/index.d.ts +2 -0
  92. package/contracts/src/entities/religion/index.js +6 -0
  93. package/contracts/src/entities/religion/index.js.map +1 -0
  94. package/contracts/src/entities/religion/religion.entity.d.ts +2 -0
  95. package/contracts/src/entities/religion/religion.entity.js +123 -0
  96. package/contracts/src/entities/religion/religion.entity.js.map +1 -0
  97. package/contracts/src/entities/religion/religion.types.d.ts +6 -0
  98. package/contracts/src/entities/religion/religion.types.js +4 -0
  99. package/contracts/src/entities/religion/religion.types.js.map +1 -0
  100. package/contracts/src/index.d.ts +7 -0
  101. package/contracts/src/index.js +13 -0
  102. package/contracts/src/index.js.map +1 -0
  103. package/contracts/src/menu.keys.d.ts +12 -0
  104. package/contracts/src/menu.keys.js +16 -0
  105. package/contracts/src/menu.keys.js.map +1 -0
  106. package/contracts/src/permission.keys.d.ts +31 -0
  107. package/contracts/src/permission.keys.js +35 -0
  108. package/contracts/src/permission.keys.js.map +1 -0
  109. package/contracts/src/person-relationship.actions.d.ts +10 -0
  110. package/contracts/src/person-relationship.actions.js +88 -0
  111. package/contracts/src/person-relationship.actions.js.map +1 -0
  112. package/contracts/src/root-config.d.ts +73 -0
  113. package/contracts/src/root-config.js +78 -0
  114. package/contracts/src/root-config.js.map +1 -0
  115. package/package.json +26 -0
  116. package/src/index.d.ts +5 -0
  117. package/src/index.js +13 -0
  118. package/src/index.js.map +1 -0
  119. package/src/lib/person-core-server.module.d.ts +2 -0
  120. package/src/lib/person-core-server.module.js +27 -0
  121. package/src/lib/person-core-server.module.js.map +1 -0
  122. package/src/lib/seed/contact-assignment/contact-assignment.mock.d.ts +8 -0
  123. package/src/lib/seed/contact-assignment/contact-assignment.mock.js +51 -0
  124. package/src/lib/seed/contact-assignment/contact-assignment.mock.js.map +1 -0
  125. package/src/lib/seed/contact-assignment/contact-assignment.seed.d.ts +5 -0
  126. package/src/lib/seed/contact-assignment/contact-assignment.seed.js +32 -0
  127. package/src/lib/seed/contact-assignment/contact-assignment.seed.js.map +1 -0
  128. package/src/lib/seed/contact-assignment/index.d.ts +2 -0
  129. package/src/lib/seed/contact-assignment/index.js +6 -0
  130. package/src/lib/seed/contact-assignment/index.js.map +1 -0
  131. package/src/lib/seed/contact-role/contact-role.mock.d.ts +40 -0
  132. package/src/lib/seed/contact-role/contact-role.mock.js +258 -0
  133. package/src/lib/seed/contact-role/contact-role.mock.js.map +1 -0
  134. package/src/lib/seed/contact-role/contact-role.seed.d.ts +5 -0
  135. package/src/lib/seed/contact-role/contact-role.seed.js +31 -0
  136. package/src/lib/seed/contact-role/contact-role.seed.js.map +1 -0
  137. package/src/lib/seed/contact-role/index.d.ts +2 -0
  138. package/src/lib/seed/contact-role/index.js +6 -0
  139. package/src/lib/seed/contact-role/index.js.map +1 -0
  140. package/src/lib/seed/education-level/education-level.mock.d.ts +14 -0
  141. package/src/lib/seed/education-level/education-level.mock.js +52 -0
  142. package/src/lib/seed/education-level/education-level.mock.js.map +1 -0
  143. package/src/lib/seed/education-level/education-level.seed.d.ts +5 -0
  144. package/src/lib/seed/education-level/education-level.seed.js +31 -0
  145. package/src/lib/seed/education-level/education-level.seed.js.map +1 -0
  146. package/src/lib/seed/education-level/index.d.ts +2 -0
  147. package/src/lib/seed/education-level/index.js +6 -0
  148. package/src/lib/seed/education-level/index.js.map +1 -0
  149. package/src/lib/seed/gender/gender.mock.d.ts +28 -0
  150. package/src/lib/seed/gender/gender.mock.js +40 -0
  151. package/src/lib/seed/gender/gender.mock.js.map +1 -0
  152. package/src/lib/seed/gender/gender.seed.d.ts +5 -0
  153. package/src/lib/seed/gender/gender.seed.js +31 -0
  154. package/src/lib/seed/gender/gender.seed.js.map +1 -0
  155. package/src/lib/seed/gender/index.d.ts +2 -0
  156. package/src/lib/seed/gender/index.js +6 -0
  157. package/src/lib/seed/gender/index.js.map +1 -0
  158. package/src/lib/seed/index.d.ts +28 -0
  159. package/src/lib/seed/index.js +30 -0
  160. package/src/lib/seed/index.js.map +1 -0
  161. package/src/lib/seed/marital-status/index.d.ts +2 -0
  162. package/src/lib/seed/marital-status/index.js +6 -0
  163. package/src/lib/seed/marital-status/index.js.map +1 -0
  164. package/src/lib/seed/marital-status/marital-status.mock.d.ts +33 -0
  165. package/src/lib/seed/marital-status/marital-status.mock.js +46 -0
  166. package/src/lib/seed/marital-status/marital-status.mock.js.map +1 -0
  167. package/src/lib/seed/marital-status/marital-status.seed.d.ts +5 -0
  168. package/src/lib/seed/marital-status/marital-status.seed.js +31 -0
  169. package/src/lib/seed/marital-status/marital-status.seed.js.map +1 -0
  170. package/src/lib/seed/person/index.d.ts +3 -0
  171. package/src/lib/seed/person/index.js +7 -0
  172. package/src/lib/seed/person/index.js.map +1 -0
  173. package/src/lib/seed/person/person-natural-ids.constants.d.ts +76 -0
  174. package/src/lib/seed/person/person-natural-ids.constants.js +82 -0
  175. package/src/lib/seed/person/person-natural-ids.constants.js.map +1 -0
  176. package/src/lib/seed/person/person.mock.d.ts +5 -0
  177. package/src/lib/seed/person/person.mock.js +372 -0
  178. package/src/lib/seed/person/person.mock.js.map +1 -0
  179. package/src/lib/seed/person/person.seed.d.ts +5 -0
  180. package/src/lib/seed/person/person.seed.js +31 -0
  181. package/src/lib/seed/person/person.seed.js.map +1 -0
  182. package/src/lib/seed/person-core-seed.provider.d.ts +4 -0
  183. package/src/lib/seed/person-core-seed.provider.js +18 -0
  184. package/src/lib/seed/person-core-seed.provider.js.map +1 -0
  185. package/src/lib/seed/person-core-seed.tokens.d.ts +1 -0
  186. package/src/lib/seed/person-core-seed.tokens.js +7 -0
  187. package/src/lib/seed/person-core-seed.tokens.js.map +1 -0
  188. package/src/lib/seed/person-core.seed-catalog.d.ts +2 -0
  189. package/src/lib/seed/person-core.seed-catalog.js +31 -0
  190. package/src/lib/seed/person-core.seed-catalog.js.map +1 -0
  191. package/src/lib/seed/person-identifier-type/index.d.ts +2 -0
  192. package/src/lib/seed/person-identifier-type/index.js +6 -0
  193. package/src/lib/seed/person-identifier-type/index.js.map +1 -0
  194. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.d.ts +4 -0
  195. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js +68 -0
  196. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js.map +1 -0
  197. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.d.ts +5 -0
  198. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js +31 -0
  199. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js.map +1 -0
  200. package/src/lib/seed/person-relationship/index.d.ts +2 -0
  201. package/src/lib/seed/person-relationship/index.js +6 -0
  202. package/src/lib/seed/person-relationship/index.js.map +1 -0
  203. package/src/lib/seed/person-relationship/person-relationship.mock.d.ts +30 -0
  204. package/src/lib/seed/person-relationship/person-relationship.mock.js +156 -0
  205. package/src/lib/seed/person-relationship/person-relationship.mock.js.map +1 -0
  206. package/src/lib/seed/person-relationship/person-relationship.seed.d.ts +5 -0
  207. package/src/lib/seed/person-relationship/person-relationship.seed.js +31 -0
  208. package/src/lib/seed/person-relationship/person-relationship.seed.js.map +1 -0
  209. package/src/lib/seed/person-title/index.d.ts +2 -0
  210. package/src/lib/seed/person-title/index.js +6 -0
  211. package/src/lib/seed/person-title/index.js.map +1 -0
  212. package/src/lib/seed/person-title/person-title.mock.d.ts +43 -0
  213. package/src/lib/seed/person-title/person-title.mock.js +58 -0
  214. package/src/lib/seed/person-title/person-title.mock.js.map +1 -0
  215. package/src/lib/seed/person-title/person-title.seed.d.ts +5 -0
  216. package/src/lib/seed/person-title/person-title.seed.js +31 -0
  217. package/src/lib/seed/person-title/person-title.seed.js.map +1 -0
  218. package/src/lib/seed/religion/index.d.ts +2 -0
  219. package/src/lib/seed/religion/index.js +6 -0
  220. package/src/lib/seed/religion/index.js.map +1 -0
  221. package/src/lib/seed/religion/religion.mock.d.ts +5 -0
  222. package/src/lib/seed/religion/religion.mock.js +48 -0
  223. package/src/lib/seed/religion/religion.mock.js.map +1 -0
  224. package/src/lib/seed/religion/religion.seed.d.ts +5 -0
  225. package/src/lib/seed/religion/religion.seed.js +31 -0
  226. package/src/lib/seed/religion/religion.seed.js.map +1 -0
@@ -0,0 +1,193 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personIdentifierTypeFactory = personIdentifierTypeFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ //#region ---- Entity Factory ----
11
+ function personIdentifierTypeFactory() {
12
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ const entityDef = {
14
+ module: root_config_1.RootConfig.module.name,
15
+ name: root_config_1.RootConfig.entities.personIdentifierType.name,
16
+ title: root_config_1.RootConfig.entities.personIdentifierType.title,
17
+ icon: root_config_1.RootConfig.entities.personIdentifierType.icon,
18
+ plugins: [{ name: 'archive' }],
19
+ formats: {
20
+ individual: root_config_1.RootConfig.entities.personIdentifierType.title,
21
+ plural: root_config_1.RootConfig.entities.personIdentifierType.titlePlural,
22
+ searchResult: {
23
+ title: root_config_1.RootConfig.entities.personIdentifierType.title,
24
+ description: '@person-core:person-identifier-types.entities.person-identifier-type.search-result-description',
25
+ },
26
+ },
27
+ groups: [
28
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
29
+ { id: 'validation', title: '@general:terms.validation.validation' },
30
+ ],
31
+ properties: [
32
+ {
33
+ name: 'id',
34
+ title: '@general:terms.common.id',
35
+ groupId: 'basic-info',
36
+ schema: {
37
+ dataType: 'uuid',
38
+ visible: false,
39
+ readonly: true,
40
+ unique: { enabled: true },
41
+ },
42
+ },
43
+ {
44
+ name: 'title',
45
+ title: '@general:terms.common.title',
46
+ groupId: 'basic-info',
47
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
48
+ schema: {
49
+ dataType: 'string',
50
+ interface: { type: core_1.AXPWidgetsList.Editors.TextBox },
51
+ },
52
+ validations: [{ rule: 'required' }],
53
+ },
54
+ {
55
+ name: 'description',
56
+ title: '@general:terms.common.description',
57
+ groupId: 'basic-info',
58
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
59
+ schema: {
60
+ dataType: 'string',
61
+ interface: {
62
+ type: core_1.AXPWidgetsList.Editors.LargeTextBox,
63
+ options: { rows: 3 },
64
+ },
65
+ },
66
+ },
67
+ {
68
+ name: 'scope',
69
+ title: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope',
70
+ groupId: 'basic-info',
71
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
72
+ schema: {
73
+ dataType: 'string',
74
+ interface: {
75
+ type: core_1.AXPWidgetsList.Editors.SelectBox,
76
+ options: {
77
+ valueField: 'value',
78
+ textField: 'text',
79
+ //TODO better implementation of this
80
+ dataSource: [
81
+ { value: 'global', text: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope.options.global' },
82
+ { value: 'national', text: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope.options.national' },
83
+ { value: 'regional', text: '@person-core:person-identifier-types.entities.person-identifier-type.fields.scope.options.regional' },
84
+ ],
85
+ },
86
+ },
87
+ },
88
+ validations: [{ rule: 'required' }],
89
+ },
90
+ {
91
+ name: 'formatRegex',
92
+ title: '@general:terms.validation.regex',
93
+ groupId: 'validation',
94
+ options: { sort: { enabled: false }, filter: { advance: { enabled: true }, inline: { enabled: false } } },
95
+ schema: {
96
+ dataType: 'string',
97
+ interface: { type: core_1.AXPWidgetsList.Editors.TextBox },
98
+ },
99
+ },
100
+ {
101
+ name: 'minLength',
102
+ title: '@general:terms.validation.min-length',
103
+ groupId: 'validation',
104
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },
105
+ schema: {
106
+ dataType: 'number',
107
+ interface: {
108
+ type: core_1.AXPWidgetsList.Editors.NumberBox,
109
+ options: { minValue: 1, maxValue: 100 },
110
+ },
111
+ },
112
+ },
113
+ {
114
+ name: 'maxLength',
115
+ title: '@general:terms.validation.max-length',
116
+ groupId: 'validation',
117
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },
118
+ schema: {
119
+ dataType: 'number',
120
+ interface: {
121
+ type: core_1.AXPWidgetsList.Editors.NumberBox,
122
+ options: { minValue: 1, maxValue: 1000 },
123
+ },
124
+ },
125
+ },
126
+ {
127
+ name: 'isUnique',
128
+ title: '@general:terms.status.states.is-unique',
129
+ groupId: 'validation',
130
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
131
+ schema: {
132
+ dataType: 'boolean',
133
+ interface: { type: core_1.AXPWidgetsList.Editors.ToggleSwitch },
134
+ },
135
+ },
136
+ ],
137
+ columns: [
138
+ { name: 'title', options: { width: '200px', order: 1 } },
139
+ { name: 'scope', options: { width: '120px', order: 2 } },
140
+ { name: 'description', options: { width: '280px', order: 3 } },
141
+ ],
142
+ interfaces: {
143
+ master: {
144
+ create: {
145
+ sections: [{ id: 'basic-info' }, { id: 'validation' }],
146
+ properties: [
147
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
148
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
149
+ { name: 'scope', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
150
+ { name: 'formatRegex', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
151
+ { name: 'minLength', layout: { positions: { lg: { colSpan: 3, order: 5 } } } },
152
+ { name: 'maxLength', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },
153
+ { name: 'isUnique', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },
154
+ ],
155
+ },
156
+ update: {
157
+ sections: [{ id: 'basic-info' }, { id: 'validation' }],
158
+ properties: [
159
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
160
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
161
+ { name: 'scope', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
162
+ { name: 'formatRegex', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
163
+ { name: 'minLength', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },
164
+ { name: 'maxLength', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },
165
+ { name: 'isUnique', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },
166
+ ],
167
+ },
168
+ single: {
169
+ title: '{{title}}',
170
+ sections: [{ id: 'basic-info' }, { id: 'validation' }],
171
+ properties: [
172
+ { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
173
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
174
+ { name: 'scope', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
175
+ { name: 'formatRegex', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
176
+ { name: 'minLength', layout: { positions: { lg: { colSpan: 3, order: 6 } } } },
177
+ { name: 'maxLength', layout: { positions: { lg: { colSpan: 3, order: 7 } } } },
178
+ { name: 'isUnique', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },
179
+ ],
180
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
181
+ },
182
+ list: {
183
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
184
+ views: [(0, entity_1.createAllQueryView)({ sorts: [{ name: 'title', dir: 'asc' }] })],
185
+ },
186
+ },
187
+ },
188
+ };
189
+ return entityDef;
190
+ });
191
+ }
192
+ //#endregion
193
+ //# sourceMappingURL=person-identifier-type.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-identifier-type.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-identifier-type/person-identifier-type.entity.ts"],"names":[],"mappings":";;AASA,kEAoLC;;AA7LD,iEAAwE;AACxE,qEAA6I;AAC7I,+BAA+B;AAC/B,mDAA+C;AAE/C,YAAY;AAEZ,sCAAsC;AAEtC,SAAsB,2BAA2B;;QAE/C,MAAM,SAA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AC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;yBAC9E;wBACD,OAAO,EAAE,CAAC,GAAG,IAAA,kCAAyB,GAAE,CAAC;qBAC1C;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE,CAAC,IAAA,2BAAkB,EAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;qBACxE;iBACF;aACF;SACF,CAAC;QAEF,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AAED,YAAY"}
@@ -0,0 +1,11 @@
1
+ import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
+ export interface AXMPersonCorePersonIdentifierTypeEntityModel {
3
+ id: string;
4
+ title: AXPMultiLanguageString;
5
+ description?: AXPMultiLanguageString | null;
6
+ scope: 'global' | 'national' | 'regional';
7
+ formatRegex?: string | null;
8
+ minLength?: number | null;
9
+ maxLength?: number | null;
10
+ isUnique: boolean;
11
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=person-identifier-type.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-identifier-type.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-identifier-type/person-identifier-type.types.ts"],"names":[],"mappings":";;AAcA,YAAY"}
@@ -0,0 +1,2 @@
1
+ export * from './person-relationship.entity';
2
+ export * from './person-relationship.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./person-relationship.entity"), exports);
5
+ tslib_1.__exportStar(require("./person-relationship.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-relationship/index.ts"],"names":[],"mappings":";;;AAAA,uEAA6C;AAC7C,sEAA4C"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function personRelationshipFactory(): Promise<AXPEntity | null>;
@@ -0,0 +1,155 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personRelationshipFactory = personRelationshipFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ function personRelationshipFactory() {
11
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
+ const entityDef = {
13
+ module: root_config_1.RootConfig.module.name,
14
+ name: root_config_1.RootConfig.entities.personRelationship.name,
15
+ title: root_config_1.RootConfig.entities.personRelationship.title,
16
+ icon: root_config_1.RootConfig.entities.personRelationship.icon,
17
+ plugins: [{ name: 'notes' }],
18
+ formats: {
19
+ individual: root_config_1.RootConfig.entities.personRelationship.title,
20
+ plural: root_config_1.RootConfig.entities.personRelationship.titlePlural,
21
+ searchResult: {
22
+ title: root_config_1.RootConfig.entities.personRelationship.title,
23
+ description: '@person-core:person-relationships.entities.person-relationship.search-result-description',
24
+ },
25
+ },
26
+ groups: [
27
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
28
+ ],
29
+ properties: [
30
+ {
31
+ name: 'fromPersonId',
32
+ title: '@person-core:person-relationships.entities.person-relationship.properties.from-person.title',
33
+ groupId: 'basic-info',
34
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
35
+ schema: {
36
+ dataType: 'string',
37
+ interface: {
38
+ type: core_1.AXPWidgetsCatalog.lookup,
39
+ options: {
40
+ entity: `${root_config_1.RootConfig.module.name}.${root_config_1.RootConfig.entities.person.name}`,
41
+ multiple: false,
42
+ textField: 'fullName',
43
+ columns: ['fullName'],
44
+ expose: [
45
+ { source: 'id', target: 'fromPerson.id' },
46
+ { source: 'fullName', target: 'fromPerson.fullName' },
47
+ { source: 'phones', target: 'fromPerson.phones' },
48
+ { source: 'emails', target: 'fromPerson.emails' },
49
+ ],
50
+ },
51
+ },
52
+ },
53
+ validations: [{ rule: 'required' }],
54
+ },
55
+ {
56
+ name: 'toPersonId',
57
+ title: '@person-core:person-relationships.entities.person-relationship.properties.to-person.title',
58
+ groupId: 'basic-info',
59
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
60
+ schema: {
61
+ dataType: 'string',
62
+ interface: {
63
+ type: core_1.AXPWidgetsCatalog.lookup,
64
+ options: {
65
+ entity: `${root_config_1.RootConfig.module.name}.${root_config_1.RootConfig.entities.person.name}`,
66
+ multiple: false,
67
+ textField: 'fullName',
68
+ columns: ['fullName', 'phones', 'emails'],
69
+ allowCreate: 'quick',
70
+ expose: [
71
+ { source: 'id', target: 'toPerson.id' },
72
+ { source: 'fullName', target: 'toPerson.fullName' },
73
+ { source: 'phones', target: 'toPerson.phones' },
74
+ { source: 'emails', target: 'toPerson.emails' },
75
+ ],
76
+ },
77
+ },
78
+ },
79
+ validations: [{ rule: 'required' }],
80
+ },
81
+ {
82
+ name: 'typeId',
83
+ title: '@person-core:person-relationships.entities.person-relationship.properties.type.title',
84
+ groupId: 'basic-info',
85
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
86
+ schema: {
87
+ dataType: 'string',
88
+ interface: {
89
+ type: core_1.AXPWidgetsCatalog.lookup,
90
+ options: {
91
+ look: 'select',
92
+ entity: `${root_config_1.RootConfig.module.name}.${root_config_1.RootConfig.entities.contactRole.name}`,
93
+ multiple: false,
94
+ allowCreate: 'quick',
95
+ expose: [
96
+ { source: 'id', target: 'type.id' },
97
+ { source: 'title', target: 'type.title' },
98
+ ],
99
+ },
100
+ },
101
+ },
102
+ validations: [{ rule: 'required' }],
103
+ },
104
+ ],
105
+ columns: [
106
+ { name: 'fromPersonId' },
107
+ { name: 'toPersonId' },
108
+ { name: 'typeId' },
109
+ { name: 'toPerson.phones', options: { width: '450px' } },
110
+ { name: 'toPerson.emails', options: { width: '450px' } },
111
+ { name: 'notes' },
112
+ ],
113
+ interfaces: {
114
+ master: {
115
+ create: {
116
+ sections: [{ id: 'basic-info' }],
117
+ properties: [
118
+ { name: 'toPersonId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
119
+ { name: 'typeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
120
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
121
+ ],
122
+ },
123
+ update: {
124
+ sections: [{ id: 'basic-info' }],
125
+ properties: [
126
+ { name: 'toPersonId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
127
+ { name: 'typeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
128
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
129
+ ],
130
+ },
131
+ single: {
132
+ title: '{{ context.eval("type.title", { pipes: ["translate"] }) + " - " + context.eval("fromPerson.fullName") + " → " + context.eval("toPerson.fullName") }}',
133
+ sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
134
+ properties: [
135
+ { name: 'toPersonId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
136
+ { name: 'typeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
137
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
138
+ ],
139
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
140
+ },
141
+ list: {
142
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
143
+ views: [
144
+ (0, entity_1.createAllQueryView)({
145
+ sorts: [{ name: 'typeId', dir: 'asc' }],
146
+ }),
147
+ ],
148
+ },
149
+ },
150
+ },
151
+ };
152
+ return entityDef;
153
+ });
154
+ }
155
+ //# sourceMappingURL=person-relationship.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-relationship.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-relationship/person-relationship.entity.ts"],"names":[],"mappings":";;AAQA,8DAiJC;;AAzJD,iEAA2E;AAC3E,qEAA6N;AAC7N,+BAA+B;AAC/B,mDAA+C;AAG/C,YAAY;AAEZ,SAAsB,yBAAyB;;QAC7C,MAAM,SAAS,GAAc;YAC3B,MAAM,EAAE,wBAAU,CAAC,MAAM,CAAC,IAAI;YAC9B,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;YACjD,KAAK,EAAE,wBAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;YACnD,IAAI,EAAE,wBAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI;YACjD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;YAC5B,OAAO,EAAE;gBACP,UAAU,EAAE,wBAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;gBACxD,MAAM,EAAE,wBAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,WAAW;gBAC1D,YAAY,EAAE;oBACZ,KAAK,EAAE,wBAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;oBACnD,WAAW,EAAE,0FAA0F;iBACxG;aACF;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,qCAAqC,EAAE;aACnE;YACD,UAAU,EAAE;gBACV;oBACE,IAAI,EAAE,cAAc;oBACpB,KAAK,EAAE,6FAA6F;oBACpG,OAAO,EAAE,YAAY;oBACrB,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,OA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yB,GAAE,CAAC;qBAC1C;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE;4BACL,IAAA,2BAAkB,EAAC;gCACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;6BACxC,CAAC;yBACH;qBACF;iBACF;aACF;SACF,CAAC;QAEF,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA"}
@@ -0,0 +1,10 @@
1
+ import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
2
+ export interface AXMPersonCorePersonRelationshipEntityModel extends AXPEntityModel<string> {
3
+ fromPersonId: string;
4
+ toPersonId: string;
5
+ typeId: string;
6
+ notes?: string;
7
+ meta?: Record<string, unknown>;
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=person-relationship.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-relationship.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-relationship/person-relationship.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './person-title.entity';
2
+ export * from './person-title.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./person-title.entity"), exports);
5
+ tslib_1.__exportStar(require("./person-title.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-title/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC;AACtC,+DAAqC"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function personTitleFactory(): Promise<AXPEntity>;
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personTitleFactory = personTitleFactory;
4
+ const tslib_1 = require("tslib");
5
+ const core_1 = require("@acorex-platform/framework-shared/core");
6
+ const entity_1 = require("@acorex-platform/framework-shared/entity");
7
+ //#region ---- Imports ----
8
+ const root_config_1 = require("../../root-config");
9
+ //#endregion
10
+ //#region ---- Entity Factory ----
11
+ function personTitleFactory() {
12
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
+ const sections = [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }];
14
+ const propertyLayouts = [
15
+ { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
16
+ { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
17
+ ];
18
+ const entityDef = {
19
+ module: root_config_1.RootConfig.module.name,
20
+ name: root_config_1.RootConfig.entities.personTitle.name,
21
+ title: root_config_1.RootConfig.entities.personTitle.title,
22
+ icon: root_config_1.RootConfig.entities.personTitle.icon,
23
+ formats: {
24
+ individual: root_config_1.RootConfig.entities.personTitle.title,
25
+ plural: root_config_1.RootConfig.entities.personTitle.titlePlural,
26
+ searchResult: {
27
+ title: '{{ title }}',
28
+ description: root_config_1.RootConfig.module.title,
29
+ },
30
+ },
31
+ plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'clone' }],
32
+ groups: [
33
+ {
34
+ id: 'basic-info',
35
+ title: '@person-core:person-titles.entities.person-title.groups.basic-info',
36
+ },
37
+ ],
38
+ properties: [
39
+ {
40
+ name: 'id',
41
+ title: '@general:terms.common.id',
42
+ groupId: 'basic-info',
43
+ schema: {
44
+ dataType: 'uuid',
45
+ visible: false,
46
+ readonly: true,
47
+ unique: { enabled: true },
48
+ },
49
+ },
50
+ {
51
+ name: 'title',
52
+ title: '@general:terms.common.title',
53
+ groupId: 'basic-info',
54
+ options: {
55
+ sort: { enabled: true },
56
+ filter: {
57
+ advance: { enabled: true },
58
+ inline: { enabled: true },
59
+ },
60
+ },
61
+ schema: {
62
+ dataType: 'string',
63
+ interface: {
64
+ type: core_1.AXPWidgetsList.Editors.TextBox,
65
+ options: {
66
+ placeholder: '@person-core:person-titles.entities.person-title.fields.title.placeholder',
67
+ },
68
+ },
69
+ },
70
+ validations: [{ rule: 'required' }],
71
+ },
72
+ {
73
+ name: 'description',
74
+ title: '@general:terms.common.description',
75
+ groupId: 'basic-info',
76
+ schema: {
77
+ dataType: 'string',
78
+ interface: {
79
+ type: core_1.AXPWidgetsList.Editors.LargeTextBox,
80
+ options: {
81
+ rows: 3,
82
+ placeholder: '@person-core:person-titles.entities.person-title.fields.description.placeholder',
83
+ },
84
+ },
85
+ },
86
+ },
87
+ ],
88
+ columns: [
89
+ { name: 'title', options: { width: '220px', order: 1 } },
90
+ { name: 'description', options: { width: '280px', order: 2 } },
91
+ ],
92
+ interfaces: {
93
+ master: {
94
+ create: {
95
+ sections,
96
+ properties: propertyLayouts,
97
+ },
98
+ update: {
99
+ sections,
100
+ properties: propertyLayouts,
101
+ },
102
+ single: {
103
+ title: '{{ title }}',
104
+ sections,
105
+ properties: propertyLayouts,
106
+ actions: [...(0, entity_1.entityMasterRecordActions)()],
107
+ },
108
+ list: {
109
+ actions: [...(0, entity_1.entityMasterCrudActions)()],
110
+ views: [
111
+ (0, entity_1.createAllQueryView)({
112
+ sorts: [{ name: 'title', dir: 'asc' }],
113
+ }),
114
+ ],
115
+ },
116
+ },
117
+ },
118
+ };
119
+ return entityDef;
120
+ });
121
+ }
122
+ //#endregion
123
+ //# sourceMappingURL=person-title.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-title.entity.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-title/person-title.entity.ts"],"names":[],"mappings":";;AASA,gDAiHC;;AA1HD,iEAAwE;AACxE,qEAA6I;AAC7I,+BAA+B;AAC/B,mDAA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E,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;gBACxD,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;aAC/D;YACD,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,MAAM,EAAE;wBACN,QAAQ;wBACR,UAAU,EAAE,eAAe;qBAC5B;oBACD,MAAM,EAAE;wBACN,QAAQ;wBACR,UAAU,EAAE,eAAe;qBAC5B;oBACD,MAAM,EAAE;wBACN,KAAK,EAAE,aAAa;wBACpB,QAAQ;wBACR,UAAU,EAAE,eAAe;wBAC3B,OAAO,EAAE,CAAC,GAAG,IAAA,kCAAyB,GAAE,CAAC;qBAC1C;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,CAAC,GAAG,IAAA,gCAAuB,GAAE,CAAC;wBACvC,KAAK,EAAE;4BACL,IAAA,2BAAkB,EAAC;gCACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;6BACvC,CAAC;yBACH;qBACF;iBACF;aACF;SACF,CAAC;QAEF,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AAED,YAAY"}
@@ -0,0 +1,6 @@
1
+ import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
+ export interface AXMPersonCorePersonTitleEntityModel {
3
+ id: string;
4
+ title: AXPMultiLanguageString;
5
+ description?: AXPMultiLanguageString | null;
6
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //#endregion
4
+ //# sourceMappingURL=person-title.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-title.types.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/person-title/person-title.types.ts"],"names":[],"mappings":";;AASA,YAAY"}
@@ -0,0 +1,2 @@
1
+ export * from './religion.entity';
2
+ export * from './religion.types';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./religion.entity"), exports);
5
+ tslib_1.__exportStar(require("./religion.types"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/contracts/src/entities/religion/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,2DAAiC"}
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function religionFactory(): Promise<AXPEntity>;