sitero 0.0.20 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/core/server/infrastructure/database/post/include.js +2 -0
- package/dist/src/core/server/infrastructure/database/post/utils/post-list-card-to-domain.js +1 -0
- package/dist/types/src/core/domain/resources/post/card.d.ts +1 -0
- package/dist/types/src/core/domain/resources/post/card.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/database/post/include.d.ts +9 -0
- package/dist/types/src/core/server/infrastructure/database/post/include.d.ts.map +1 -1
- package/dist/types/src/core/server/infrastructure/database/post/utils/post-list-card-to-domain.d.ts +1 -0
- package/dist/types/src/core/server/infrastructure/database/post/utils/post-list-card-to-domain.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ function postListCardToDomain(post) {
|
|
|
9
9
|
translations: post.topic.translations.map(postTranslationToDomain)
|
|
10
10
|
} : null,
|
|
11
11
|
postsInTopic: post.postsInTopic.map(postToDomain),
|
|
12
|
+
parents: post.parents.map(postToDomain),
|
|
12
13
|
children: post.children.map(postToDomain),
|
|
13
14
|
tags: post.tags.map((tag) => ({
|
|
14
15
|
...postToDomain(tag),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/domain/resources/post/card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG;IAIhC,KAAK,EAAE,CAAC,IAAI,GAAG;QAAE,YAAY,EAAE,eAAe,EAAE,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC3D,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,WAAW,EAAE,IAAI,EAAE,CAAC;IACpB,IAAI,EAAE,CAAC,IAAI,GAAG;QAAE,YAAY,EAAE,eAAe,EAAE,CAAA;KAAE,CAAC,EAAE,CAAC;IAKrD,UAAU,EAAE,QAAQ,GAAG,IAAI,CAAC;IAK5B,YAAY,EAAE,eAAe,EAAE,CAAC;CACjC,CAAC"}
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/domain/resources/post/card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG;IAIhC,KAAK,EAAE,CAAC,IAAI,GAAG;QAAE,YAAY,EAAE,eAAe,EAAE,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC3D,YAAY,EAAE,IAAI,EAAE,CAAC;IACrB,OAAO,EAAE,IAAI,EAAE,CAAC;IAChB,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,WAAW,EAAE,IAAI,EAAE,CAAC;IACpB,IAAI,EAAE,CAAC,IAAI,GAAG;QAAE,YAAY,EAAE,eAAe,EAAE,CAAA;KAAE,CAAC,EAAE,CAAC;IAKrD,UAAU,EAAE,QAAQ,GAAG,IAAI,CAAC;IAK5B,YAAY,EAAE,eAAe,EAAE,CAAC;CACjC,CAAC"}
|
|
@@ -5,6 +5,7 @@ export declare const POST_LIST_CARD_INCLUDE: {
|
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
7
|
postsInTopic: true;
|
|
8
|
+
parents: true;
|
|
8
9
|
children: true;
|
|
9
10
|
taggedPosts: true;
|
|
10
11
|
tags: {
|
|
@@ -43,6 +44,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
postsInTopic: true;
|
|
47
|
+
parents: true;
|
|
46
48
|
children: true;
|
|
47
49
|
taggedPosts: true;
|
|
48
50
|
tags: {
|
|
@@ -66,6 +68,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
66
68
|
};
|
|
67
69
|
};
|
|
68
70
|
postsInTopic: true;
|
|
71
|
+
parents: true;
|
|
69
72
|
children: true;
|
|
70
73
|
taggedPosts: true;
|
|
71
74
|
tags: {
|
|
@@ -89,6 +92,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
89
92
|
};
|
|
90
93
|
};
|
|
91
94
|
postsInTopic: true;
|
|
95
|
+
parents: true;
|
|
92
96
|
children: true;
|
|
93
97
|
taggedPosts: true;
|
|
94
98
|
tags: {
|
|
@@ -112,6 +116,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
112
116
|
};
|
|
113
117
|
};
|
|
114
118
|
postsInTopic: true;
|
|
119
|
+
parents: true;
|
|
115
120
|
children: true;
|
|
116
121
|
taggedPosts: true;
|
|
117
122
|
tags: {
|
|
@@ -135,6 +140,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
135
140
|
};
|
|
136
141
|
};
|
|
137
142
|
postsInTopic: true;
|
|
143
|
+
parents: true;
|
|
138
144
|
children: true;
|
|
139
145
|
taggedPosts: true;
|
|
140
146
|
tags: {
|
|
@@ -158,6 +164,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
158
164
|
};
|
|
159
165
|
};
|
|
160
166
|
postsInTopic: true;
|
|
167
|
+
parents: true;
|
|
161
168
|
children: true;
|
|
162
169
|
taggedPosts: true;
|
|
163
170
|
tags: {
|
|
@@ -181,6 +188,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
181
188
|
};
|
|
182
189
|
};
|
|
183
190
|
postsInTopic: true;
|
|
191
|
+
parents: true;
|
|
184
192
|
children: true;
|
|
185
193
|
taggedPosts: true;
|
|
186
194
|
tags: {
|
|
@@ -204,6 +212,7 @@ export declare const POST_FULL_INCLUDE: {
|
|
|
204
212
|
};
|
|
205
213
|
};
|
|
206
214
|
postsInTopic: true;
|
|
215
|
+
parents: true;
|
|
207
216
|
children: true;
|
|
208
217
|
taggedPosts: true;
|
|
209
218
|
tags: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"include.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/server/infrastructure/database/post/include.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"include.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/server/infrastructure/database/post/include.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;CAoBL,CAAC;AAE/B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-list-card-to-domain.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/server/infrastructure/database/post/utils/post-list-card-to-domain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,IAAI,UAAU,EAClB,eAAe,IAAI,qBAAqB,EACzC,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIpE,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG;IAC5C,KAAK,EAAE,CAAC,UAAU,GAAG;QAAE,YAAY,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IACvE,YAAY,EAAE,UAAU,EAAE,CAAC;IAC3B,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,IAAI,EAAE,CAAC,UAAU,GAAG;QAAE,YAAY,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAC;IACjE,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,qBAAqB,EAAE,CAAC;CACvC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"post-list-card-to-domain.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/core/server/infrastructure/database/post/utils/post-list-card-to-domain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,IAAI,IAAI,UAAU,EAClB,eAAe,IAAI,qBAAqB,EACzC,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIpE,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG;IAC5C,KAAK,EAAE,CAAC,UAAU,GAAG;QAAE,YAAY,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IACvE,YAAY,EAAE,UAAU,EAAE,CAAC;IAC3B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,IAAI,EAAE,CAAC,UAAU,GAAG;QAAE,YAAY,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAC;IACjE,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,qBAAqB,EAAE,CAAC;CACvC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,YAAY,CA4B3E"}
|