strapi-plugin-comments 3.0.0-beta.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -123
- package/dist/_chunks/{index-fAgatqD0.js → index-B-ygLKrb.js} +6080 -5662
- package/dist/_chunks/{index-fSb-gYwg.mjs → index-BgN4aUMA.mjs} +5 -5
- package/dist/_chunks/{index-h-TB6Qu2.mjs → index-Bx2boY6h.mjs} +6072 -5654
- package/dist/_chunks/{index-BQERo8pN.mjs → index-CIqMAf50.mjs} +1261 -1141
- package/dist/_chunks/{index-B6Q4U8YQ.js → index-CWfr5ejx.js} +27 -29
- package/dist/_chunks/{index-CTjupB9v.js → index-D8uskGzQ.js} +5 -5
- package/dist/_chunks/{index-BVj8EXjI.js → index-DFAPx7Bl.js} +1293 -1152
- package/dist/_chunks/{index-Bpbf7RON.mjs → index-Db2zwbpe.mjs} +27 -29
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/client.d.ts +33 -52
- package/dist/admin/src/api/schemas.d.ts +454 -764
- package/dist/admin/src/components/UserAvatar/index.d.ts +1 -1
- package/dist/admin/src/contexts/UserContext.d.ts +1 -1
- package/dist/admin/src/hooks/useAPI.d.ts +34 -53
- package/dist/admin/src/hooks/useCommentMutations.d.ts +1 -1
- package/dist/admin/src/hooks/useCommentsAll.d.ts +7 -10
- package/dist/admin/src/hooks/useReports.d.ts +6 -10
- package/dist/admin/src/hooks/useUserContext.d.ts +1 -1
- package/dist/admin/src/pages/Settings/hooks/useSettingsAPI.d.ts +1 -1
- package/dist/server/index.js +9307 -2467
- package/dist/server/index.mjs +9307 -2467
- package/dist/server/src/{@types-v5 → @types}/utils.d.ts +4 -0
- package/dist/server/src/bootstrap.d.ts +1 -1
- package/dist/server/src/config/index.d.ts +52 -0
- package/dist/server/src/content-types/index.d.ts +1 -1
- package/dist/server/src/controllers/admin.controller.d.ts +110 -29
- package/dist/server/src/controllers/client.controller.d.ts +151 -23
- package/dist/server/src/controllers/index.d.ts +504 -197
- package/dist/server/src/controllers/settings.controller.d.ts +58 -2
- package/dist/server/src/controllers/utils/parsers.d.ts +4 -1
- package/dist/server/src/graphql/getResolversConfig.d.ts +21 -0
- package/dist/server/src/graphql/index.d.ts +2 -0
- package/dist/server/src/graphql/mutations/getCreateAbuseReport.d.ts +95 -0
- package/dist/server/src/graphql/mutations/getCreateComment.d.ts +84 -0
- package/dist/server/src/graphql/mutations/getRemoveComment.d.ts +84 -0
- package/dist/server/src/graphql/mutations/getUpdateComment.d.ts +84 -0
- package/dist/server/src/graphql/mutations/index.d.ts +3 -0
- package/dist/server/src/graphql/queries/findAllFlat.d.ts +177 -0
- package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +87 -0
- package/dist/server/src/graphql/queries/findAllPerAuthor.d.ts +176 -0
- package/dist/server/src/graphql/queries/index.d.ts +3 -0
- package/dist/server/src/graphql/types/getComment.d.ts +2 -0
- package/dist/server/src/graphql/types/getCommentAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getCommentAuthorType.d.ts +2 -0
- package/dist/server/src/graphql/types/getCommentNested.d.ts +2 -0
- package/dist/server/src/graphql/types/getCreateComment.d.ts +2 -0
- package/dist/server/src/graphql/types/getCreateCommentAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getCreateReport.d.ts +2 -0
- package/dist/server/src/graphql/types/getId.d.ts +2 -0
- package/dist/server/src/graphql/types/getIdentityAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getRemoveComment.d.ts +2 -0
- package/dist/server/src/graphql/types/getReport.d.ts +2 -0
- package/dist/server/src/graphql/types/getReportReason.d.ts +3 -0
- package/dist/server/src/graphql/types/getResponseFindAll.d.ts +2 -0
- package/dist/server/src/graphql/types/getResponseFindAllPerAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getResponseMeta.d.ts +2 -0
- package/dist/server/src/graphql/types/getResponsePagination.d.ts +2 -0
- package/dist/server/src/graphql/types/getUpdateComment.d.ts +2 -0
- package/dist/server/src/graphql/types/index.d.ts +3 -0
- package/dist/server/src/index.d.ts +1686 -779
- package/dist/server/src/register/custom-fields/index.d.ts +1 -1
- package/dist/server/src/register/index.d.ts +1 -1
- package/dist/server/src/repositories/comment.repository.d.ts +10 -1
- package/dist/server/src/repositories/index.d.ts +0 -2
- package/dist/server/src/repositories/report.comment.repository.d.ts +38 -1
- package/dist/server/src/repositories/store.repository.d.ts +175 -4
- package/dist/server/src/repositories/utils.d.ts +1 -3
- package/dist/server/src/routes/admin.routes.d.ts +1 -1
- package/dist/server/src/routes/client.routes.d.ts +1 -1
- package/dist/server/src/routes/index.d.ts +2 -2
- package/dist/server/src/services/admin/admin.service.d.ts +399 -188
- package/dist/server/src/services/admin/utils.d.ts +1 -1
- package/dist/server/src/services/client.service.d.ts +343 -177
- package/dist/server/src/services/common.service.d.ts +66 -22
- package/dist/server/src/services/gql.service.d.ts +7 -0
- package/dist/server/src/services/index.d.ts +1131 -552
- package/dist/server/src/services/settings.service.d.ts +44 -2
- package/dist/server/src/services/utils/functions.d.ts +10 -6
- package/dist/server/src/test/utils.d.ts +1 -0
- package/dist/server/src/utils/constants.d.ts +1 -1
- package/dist/server/src/utils/getConfig.d.ts +2 -2
- package/dist/server/src/utils/getPluginService.d.ts +2 -2
- package/dist/server/src/utils/throwError.d.ts +1 -1
- package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +116 -80
- package/dist/server/src/validators/api/controllers/settings.controller.validator.d.ts +7 -3
- package/dist/server/src/validators/repositories/comment.schema.d.ts +18 -3
- package/dist/server/src/validators/repositories/comment.validator.d.ts +400 -72
- package/dist/server/src/validators/repositories/reports.validator.d.ts +60 -18
- package/dist/server/src/validators/utils.d.ts +1 -1
- package/package.json +18 -11
- /package/dist/server/src/{@types-v5 → @types}/controllers.d.ts +0 -0
- /package/dist/server/src/{@types-v5 → @types}/index.d.ts +0 -0
- /package/dist/server/src/{@types-v5 → @types}/repositories.d.ts +0 -0
- /package/dist/server/src/{@types-v5 → @types}/routes.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Id, StrapiContext } from '../../@types
|
|
1
|
+
import { Id, StrapiContext } from '../../@types';
|
|
2
2
|
import { admin as adminValidator } from '../../validators/api';
|
|
3
3
|
declare const _default: ({ strapi }: StrapiContext) => {
|
|
4
4
|
getCommonService(): {
|
|
5
|
-
getConfig<T extends
|
|
5
|
+
getConfig<T extends string>(prop?: T, defaultValue?: import("../../@types").PathValue<{
|
|
6
6
|
enabledCollections?: string[];
|
|
7
7
|
approvalFlow?: string[];
|
|
8
8
|
entryLabel?: Record<string, string[]>;
|
|
@@ -16,21 +16,14 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
16
16
|
OTHER?: import("../../const").REPORT_REASON.OTHER;
|
|
17
17
|
};
|
|
18
18
|
isGQLPluginEnabled?: boolean;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
approvalFlow?: string[];
|
|
22
|
-
entryLabel?: Record<string, string[]>;
|
|
23
|
-
moderatorRoles?: string[];
|
|
24
|
-
badWords?: boolean;
|
|
25
|
-
blockedAuthorProps?: string[];
|
|
26
|
-
isValidationEnabled?: boolean;
|
|
27
|
-
reportReasons?: {
|
|
28
|
-
BAD_LANGUAGE?: import("../../const").REPORT_REASON.BAD_LANGUAGE;
|
|
29
|
-
DISCRIMINATION?: import("../../const").REPORT_REASON.DISCRIMINATION;
|
|
30
|
-
OTHER?: import("../../const").REPORT_REASON.OTHER;
|
|
19
|
+
gql?: {
|
|
20
|
+
auth?: boolean;
|
|
31
21
|
};
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
client?: {
|
|
23
|
+
url?: string;
|
|
24
|
+
contactEmail?: string;
|
|
25
|
+
};
|
|
26
|
+
}, T>, useLocal?: boolean): Promise<import("../../@types").PathValue<{
|
|
34
27
|
enabledCollections?: string[];
|
|
35
28
|
approvalFlow?: string[];
|
|
36
29
|
entryLabel?: Record<string, string[]>;
|
|
@@ -44,10 +37,17 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
44
37
|
OTHER?: import("../../const").REPORT_REASON.OTHER;
|
|
45
38
|
};
|
|
46
39
|
isGQLPluginEnabled?: boolean;
|
|
47
|
-
|
|
40
|
+
gql?: {
|
|
41
|
+
auth?: boolean;
|
|
42
|
+
};
|
|
43
|
+
client?: {
|
|
44
|
+
url?: string;
|
|
45
|
+
contactEmail?: string;
|
|
46
|
+
};
|
|
47
|
+
}, T>>;
|
|
48
48
|
parseRelationString(relation: string): {
|
|
49
49
|
uid: import("@strapi/types/dist/uid").ContentType;
|
|
50
|
-
relatedId: string
|
|
50
|
+
relatedId: string;
|
|
51
51
|
};
|
|
52
52
|
isValidUserContext<T_1 extends {
|
|
53
53
|
id?: string | number;
|
|
@@ -70,7 +70,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
70
70
|
authorName?: string;
|
|
71
71
|
authorEmail?: string;
|
|
72
72
|
authorAvatar?: string;
|
|
73
|
-
authorUser?: string
|
|
73
|
+
authorUser?: string | {
|
|
74
|
+
id?: number;
|
|
75
|
+
email?: string;
|
|
76
|
+
};
|
|
74
77
|
locale?: string;
|
|
75
78
|
gotThread?: boolean;
|
|
76
79
|
threadFirstItemId?: number;
|
|
@@ -104,7 +107,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
104
107
|
authorName?: string;
|
|
105
108
|
authorEmail?: string;
|
|
106
109
|
authorAvatar?: string;
|
|
107
|
-
authorUser?: string
|
|
110
|
+
authorUser?: string | {
|
|
111
|
+
id?: number;
|
|
112
|
+
email?: string;
|
|
113
|
+
};
|
|
108
114
|
locale?: string;
|
|
109
115
|
gotThread?: boolean;
|
|
110
116
|
threadFirstItemId?: number;
|
|
@@ -133,6 +139,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
133
139
|
approvalStatus?: string;
|
|
134
140
|
related?: {
|
|
135
141
|
id?: number;
|
|
142
|
+
documentId?: string;
|
|
143
|
+
locale?: string;
|
|
136
144
|
uid?: string;
|
|
137
145
|
requireCommentsApproval?: boolean;
|
|
138
146
|
};
|
|
@@ -143,7 +151,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
143
151
|
authorName?: string;
|
|
144
152
|
authorEmail?: string;
|
|
145
153
|
authorAvatar?: string;
|
|
146
|
-
authorUser?: string
|
|
154
|
+
authorUser?: string | {
|
|
155
|
+
id?: number;
|
|
156
|
+
email?: string;
|
|
157
|
+
};
|
|
147
158
|
locale?: string;
|
|
148
159
|
gotThread?: boolean;
|
|
149
160
|
threadFirstItemId?: number;
|
|
@@ -177,7 +188,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
177
188
|
authorName?: string;
|
|
178
189
|
authorEmail?: string;
|
|
179
190
|
authorAvatar?: string;
|
|
180
|
-
authorUser?: string
|
|
191
|
+
authorUser?: string | {
|
|
192
|
+
id?: number;
|
|
193
|
+
email?: string;
|
|
194
|
+
};
|
|
181
195
|
locale?: string;
|
|
182
196
|
gotThread?: boolean;
|
|
183
197
|
threadFirstItemId?: number;
|
|
@@ -212,7 +226,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
212
226
|
authorName?: string;
|
|
213
227
|
authorEmail?: string;
|
|
214
228
|
authorAvatar?: string;
|
|
215
|
-
authorUser?: string
|
|
229
|
+
authorUser?: string | {
|
|
230
|
+
id?: number;
|
|
231
|
+
email?: string;
|
|
232
|
+
};
|
|
216
233
|
locale?: string;
|
|
217
234
|
gotThread?: boolean;
|
|
218
235
|
threadFirstItemId?: number;
|
|
@@ -246,7 +263,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
246
263
|
authorName?: string;
|
|
247
264
|
authorEmail?: string;
|
|
248
265
|
authorAvatar?: string;
|
|
249
|
-
authorUser?: string
|
|
266
|
+
authorUser?: string | {
|
|
267
|
+
id?: number;
|
|
268
|
+
email?: string;
|
|
269
|
+
};
|
|
250
270
|
locale?: string;
|
|
251
271
|
gotThread?: boolean;
|
|
252
272
|
threadFirstItemId?: number;
|
|
@@ -264,44 +284,20 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
264
284
|
author?: any;
|
|
265
285
|
};
|
|
266
286
|
};
|
|
267
|
-
findAllFlat({ fields, limit, skip, sort,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
} | {
|
|
282
|
-
$lt?: string;
|
|
283
|
-
} | {
|
|
284
|
-
$lte?: string;
|
|
285
|
-
} | {
|
|
286
|
-
$startsWith?: string;
|
|
287
|
-
} | {
|
|
288
|
-
$startsWithi?: string;
|
|
289
|
-
} | {
|
|
290
|
-
$endsWith?: string;
|
|
291
|
-
} | {
|
|
292
|
-
$endsWithi?: string;
|
|
293
|
-
} | {
|
|
294
|
-
$contains?: string;
|
|
295
|
-
} | {
|
|
296
|
-
$containsi?: string;
|
|
297
|
-
} | {
|
|
298
|
-
$notContains?: string;
|
|
299
|
-
} | {
|
|
300
|
-
$notContainsi?: string;
|
|
301
|
-
} | {
|
|
302
|
-
$notNull?: boolean;
|
|
303
|
-
}>[];
|
|
304
|
-
$or?: Record<string, string | number | {
|
|
287
|
+
findAllFlat({ fields, limit, skip, sort, populate, omit: baseOmit, isAdmin, pagination, filters, locale, }: {
|
|
288
|
+
sort?: string;
|
|
289
|
+
locale?: string;
|
|
290
|
+
pagination?: {
|
|
291
|
+
page?: number;
|
|
292
|
+
pageSize?: number;
|
|
293
|
+
withCount?: boolean;
|
|
294
|
+
};
|
|
295
|
+
relation?: `${string}::${string}.${string}`;
|
|
296
|
+
populate?: Record<string, boolean | {
|
|
297
|
+
populate?: boolean;
|
|
298
|
+
}>;
|
|
299
|
+
filters?: {
|
|
300
|
+
id?: string | number | {
|
|
305
301
|
$eq?: string;
|
|
306
302
|
} | {
|
|
307
303
|
$eqi?: string;
|
|
@@ -335,10 +331,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
335
331
|
$notContainsi?: string;
|
|
336
332
|
} | {
|
|
337
333
|
$notNull?: boolean;
|
|
338
|
-
}
|
|
339
|
-
} | Record<string, string | number | boolean | Record<string, string | number | boolean>>;
|
|
340
|
-
sort?: string;
|
|
341
|
-
filter?: {
|
|
334
|
+
};
|
|
342
335
|
content?: string | number | {
|
|
343
336
|
$eq?: string;
|
|
344
337
|
} | {
|
|
@@ -480,15 +473,6 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
480
473
|
$notNull?: boolean;
|
|
481
474
|
};
|
|
482
475
|
};
|
|
483
|
-
pagination?: {
|
|
484
|
-
page?: number;
|
|
485
|
-
pageSize?: number;
|
|
486
|
-
withCount?: boolean;
|
|
487
|
-
};
|
|
488
|
-
relation?: `{${string}::${string}.${number}}`;
|
|
489
|
-
populate?: Record<string, boolean | {
|
|
490
|
-
populate?: boolean;
|
|
491
|
-
}>;
|
|
492
476
|
limit?: number;
|
|
493
477
|
fields?: string[];
|
|
494
478
|
omit?: string[];
|
|
@@ -513,7 +497,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
513
497
|
authorName?: string;
|
|
514
498
|
authorEmail?: string;
|
|
515
499
|
authorAvatar?: string;
|
|
516
|
-
authorUser?: string
|
|
500
|
+
authorUser?: string | {
|
|
501
|
+
id?: number;
|
|
502
|
+
email?: string;
|
|
503
|
+
};
|
|
517
504
|
locale?: string;
|
|
518
505
|
gotThread?: boolean;
|
|
519
506
|
threadFirstItemId?: number;
|
|
@@ -547,7 +534,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
547
534
|
authorName?: string;
|
|
548
535
|
authorEmail?: string;
|
|
549
536
|
authorAvatar?: string;
|
|
550
|
-
authorUser?: string
|
|
537
|
+
authorUser?: string | {
|
|
538
|
+
id?: number;
|
|
539
|
+
email?: string;
|
|
540
|
+
};
|
|
551
541
|
locale?: string;
|
|
552
542
|
gotThread?: boolean;
|
|
553
543
|
threadFirstItemId?: number;
|
|
@@ -576,6 +566,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
576
566
|
approvalStatus?: string;
|
|
577
567
|
related?: {
|
|
578
568
|
id?: number;
|
|
569
|
+
documentId?: string;
|
|
570
|
+
locale?: string;
|
|
579
571
|
uid?: string;
|
|
580
572
|
requireCommentsApproval?: boolean;
|
|
581
573
|
};
|
|
@@ -586,7 +578,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
586
578
|
authorName?: string;
|
|
587
579
|
authorEmail?: string;
|
|
588
580
|
authorAvatar?: string;
|
|
589
|
-
authorUser?: string
|
|
581
|
+
authorUser?: string | {
|
|
582
|
+
id?: number;
|
|
583
|
+
email?: string;
|
|
584
|
+
};
|
|
590
585
|
locale?: string;
|
|
591
586
|
gotThread?: boolean;
|
|
592
587
|
threadFirstItemId?: number;
|
|
@@ -620,7 +615,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
620
615
|
authorName?: string;
|
|
621
616
|
authorEmail?: string;
|
|
622
617
|
authorAvatar?: string;
|
|
623
|
-
authorUser?: string
|
|
618
|
+
authorUser?: string | {
|
|
619
|
+
id?: number;
|
|
620
|
+
email?: string;
|
|
621
|
+
};
|
|
624
622
|
locale?: string;
|
|
625
623
|
gotThread?: boolean;
|
|
626
624
|
threadFirstItemId?: number;
|
|
@@ -645,44 +643,15 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
645
643
|
total?: number;
|
|
646
644
|
};
|
|
647
645
|
}>;
|
|
648
|
-
findAllInHierarchy({
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
$nei?: string;
|
|
658
|
-
} | {
|
|
659
|
-
$gt?: string;
|
|
660
|
-
} | {
|
|
661
|
-
$gte?: string;
|
|
662
|
-
} | {
|
|
663
|
-
$lt?: string;
|
|
664
|
-
} | {
|
|
665
|
-
$lte?: string;
|
|
666
|
-
} | {
|
|
667
|
-
$startsWith?: string;
|
|
668
|
-
} | {
|
|
669
|
-
$startsWithi?: string;
|
|
670
|
-
} | {
|
|
671
|
-
$endsWith?: string;
|
|
672
|
-
} | {
|
|
673
|
-
$endsWithi?: string;
|
|
674
|
-
} | {
|
|
675
|
-
$contains?: string;
|
|
676
|
-
} | {
|
|
677
|
-
$containsi?: string;
|
|
678
|
-
} | {
|
|
679
|
-
$notContains?: string;
|
|
680
|
-
} | {
|
|
681
|
-
$notContainsi?: string;
|
|
682
|
-
} | {
|
|
683
|
-
$notNull?: boolean;
|
|
684
|
-
}>[];
|
|
685
|
-
$or?: Record<string, string | number | {
|
|
646
|
+
findAllInHierarchy({ filters, populate, sort, fields, startingFromId, dropBlockedThreads, isAdmin, omit, locale, }: {
|
|
647
|
+
sort?: string;
|
|
648
|
+
locale?: string;
|
|
649
|
+
relation?: `${string}::${string}.${string}`;
|
|
650
|
+
populate?: Record<string, boolean | {
|
|
651
|
+
populate?: boolean;
|
|
652
|
+
}>;
|
|
653
|
+
filters?: {
|
|
654
|
+
id?: string | number | {
|
|
686
655
|
$eq?: string;
|
|
687
656
|
} | {
|
|
688
657
|
$eqi?: string;
|
|
@@ -716,10 +685,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
716
685
|
$notContainsi?: string;
|
|
717
686
|
} | {
|
|
718
687
|
$notNull?: boolean;
|
|
719
|
-
}
|
|
720
|
-
} | Record<string, string | number | boolean | Record<string, string | number | boolean>>;
|
|
721
|
-
sort?: string;
|
|
722
|
-
filter?: {
|
|
688
|
+
};
|
|
723
689
|
content?: string | number | {
|
|
724
690
|
$eq?: string;
|
|
725
691
|
} | {
|
|
@@ -861,10 +827,6 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
861
827
|
$notNull?: boolean;
|
|
862
828
|
};
|
|
863
829
|
};
|
|
864
|
-
relation?: `{${string}::${string}.${number}}`;
|
|
865
|
-
populate?: Record<string, boolean | {
|
|
866
|
-
populate?: boolean;
|
|
867
|
-
}>;
|
|
868
830
|
limit?: number;
|
|
869
831
|
fields?: string[];
|
|
870
832
|
omit?: string[];
|
|
@@ -890,7 +852,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
890
852
|
authorName?: string;
|
|
891
853
|
authorEmail?: string;
|
|
892
854
|
authorAvatar?: string;
|
|
893
|
-
authorUser?: string
|
|
855
|
+
authorUser?: string | {
|
|
856
|
+
id?: number;
|
|
857
|
+
email?: string;
|
|
858
|
+
};
|
|
894
859
|
locale?: string;
|
|
895
860
|
gotThread?: boolean;
|
|
896
861
|
threadFirstItemId?: number;
|
|
@@ -924,7 +889,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
924
889
|
authorName?: string;
|
|
925
890
|
authorEmail?: string;
|
|
926
891
|
authorAvatar?: string;
|
|
927
|
-
authorUser?: string
|
|
892
|
+
authorUser?: string | {
|
|
893
|
+
id?: number;
|
|
894
|
+
email?: string;
|
|
895
|
+
};
|
|
928
896
|
locale?: string;
|
|
929
897
|
gotThread?: boolean;
|
|
930
898
|
threadFirstItemId?: number;
|
|
@@ -960,7 +928,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
960
928
|
authorName?: string;
|
|
961
929
|
authorEmail?: string;
|
|
962
930
|
authorAvatar?: string;
|
|
963
|
-
authorUser?: string
|
|
931
|
+
authorUser?: string | {
|
|
932
|
+
id?: number;
|
|
933
|
+
email?: string;
|
|
934
|
+
};
|
|
964
935
|
locale?: string;
|
|
965
936
|
gotThread?: boolean;
|
|
966
937
|
threadFirstItemId?: number;
|
|
@@ -994,7 +965,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
994
965
|
authorName?: string;
|
|
995
966
|
authorEmail?: string;
|
|
996
967
|
authorAvatar?: string;
|
|
997
|
-
authorUser?: string
|
|
968
|
+
authorUser?: string | {
|
|
969
|
+
id?: number;
|
|
970
|
+
email?: string;
|
|
971
|
+
};
|
|
998
972
|
locale?: string;
|
|
999
973
|
gotThread?: boolean;
|
|
1000
974
|
threadFirstItemId?: number;
|
|
@@ -1030,7 +1004,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1030
1004
|
authorName?: string;
|
|
1031
1005
|
authorEmail?: string;
|
|
1032
1006
|
authorAvatar?: string;
|
|
1033
|
-
authorUser?: string
|
|
1007
|
+
authorUser?: string | {
|
|
1008
|
+
id?: number;
|
|
1009
|
+
email?: string;
|
|
1010
|
+
};
|
|
1034
1011
|
locale?: string;
|
|
1035
1012
|
gotThread?: boolean;
|
|
1036
1013
|
threadFirstItemId?: number;
|
|
@@ -1064,7 +1041,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1064
1041
|
authorName?: string;
|
|
1065
1042
|
authorEmail?: string;
|
|
1066
1043
|
authorAvatar?: string;
|
|
1067
|
-
authorUser?: string
|
|
1044
|
+
authorUser?: string | {
|
|
1045
|
+
id?: number;
|
|
1046
|
+
email?: string;
|
|
1047
|
+
};
|
|
1068
1048
|
locale?: string;
|
|
1069
1049
|
gotThread?: boolean;
|
|
1070
1050
|
threadFirstItemId?: number;
|
|
@@ -1100,7 +1080,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1100
1080
|
authorName?: string;
|
|
1101
1081
|
authorEmail?: string;
|
|
1102
1082
|
authorAvatar?: string;
|
|
1103
|
-
authorUser?: string
|
|
1083
|
+
authorUser?: string | {
|
|
1084
|
+
id?: number;
|
|
1085
|
+
email?: string;
|
|
1086
|
+
};
|
|
1104
1087
|
locale?: string;
|
|
1105
1088
|
gotThread?: boolean;
|
|
1106
1089
|
threadFirstItemId?: number;
|
|
@@ -1134,7 +1117,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1134
1117
|
authorName?: string;
|
|
1135
1118
|
authorEmail?: string;
|
|
1136
1119
|
authorAvatar?: string;
|
|
1137
|
-
authorUser?: string
|
|
1120
|
+
authorUser?: string | {
|
|
1121
|
+
id?: number;
|
|
1122
|
+
email?: string;
|
|
1123
|
+
};
|
|
1138
1124
|
locale?: string;
|
|
1139
1125
|
gotThread?: boolean;
|
|
1140
1126
|
threadFirstItemId?: number;
|
|
@@ -1169,7 +1155,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1169
1155
|
authorName?: string;
|
|
1170
1156
|
authorEmail?: string;
|
|
1171
1157
|
authorAvatar?: string;
|
|
1172
|
-
authorUser?: string
|
|
1158
|
+
authorUser?: string | {
|
|
1159
|
+
id?: number;
|
|
1160
|
+
email?: string;
|
|
1161
|
+
};
|
|
1173
1162
|
locale?: string;
|
|
1174
1163
|
gotThread?: boolean;
|
|
1175
1164
|
threadFirstItemId?: number;
|
|
@@ -1203,7 +1192,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1203
1192
|
authorName?: string;
|
|
1204
1193
|
authorEmail?: string;
|
|
1205
1194
|
authorAvatar?: string;
|
|
1206
|
-
authorUser?: string
|
|
1195
|
+
authorUser?: string | {
|
|
1196
|
+
id?: number;
|
|
1197
|
+
email?: string;
|
|
1198
|
+
};
|
|
1207
1199
|
locale?: string;
|
|
1208
1200
|
gotThread?: boolean;
|
|
1209
1201
|
threadFirstItemId?: number;
|
|
@@ -1221,9 +1213,21 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1221
1213
|
author?: any;
|
|
1222
1214
|
};
|
|
1223
1215
|
}>;
|
|
1224
|
-
findAllPerAuthor({
|
|
1225
|
-
|
|
1226
|
-
|
|
1216
|
+
findAllPerAuthor({ filters, populate, pagination, sort, fields, isAdmin, authorId, }: {
|
|
1217
|
+
type?: string;
|
|
1218
|
+
sort?: string;
|
|
1219
|
+
authorId?: string | number;
|
|
1220
|
+
locale?: string;
|
|
1221
|
+
pagination?: {
|
|
1222
|
+
page?: number;
|
|
1223
|
+
pageSize?: number;
|
|
1224
|
+
withCount?: boolean;
|
|
1225
|
+
};
|
|
1226
|
+
populate?: Record<string, boolean | {
|
|
1227
|
+
populate?: boolean;
|
|
1228
|
+
}>;
|
|
1229
|
+
filters?: {
|
|
1230
|
+
id?: string | number | {
|
|
1227
1231
|
$eq?: string;
|
|
1228
1232
|
} | {
|
|
1229
1233
|
$eqi?: string;
|
|
@@ -1257,8 +1261,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1257
1261
|
$notContainsi?: string;
|
|
1258
1262
|
} | {
|
|
1259
1263
|
$notNull?: boolean;
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1264
|
+
};
|
|
1265
|
+
content?: string | number | {
|
|
1262
1266
|
$eq?: string;
|
|
1263
1267
|
} | {
|
|
1264
1268
|
$eqi?: string;
|
|
@@ -1292,19 +1296,113 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1292
1296
|
$notContainsi?: string;
|
|
1293
1297
|
} | {
|
|
1294
1298
|
$notNull?: boolean;
|
|
1295
|
-
}
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1299
|
+
};
|
|
1300
|
+
createdAt?: string | number | {
|
|
1301
|
+
$eq?: string;
|
|
1302
|
+
} | {
|
|
1303
|
+
$eqi?: string;
|
|
1304
|
+
} | {
|
|
1305
|
+
$ne?: string;
|
|
1306
|
+
} | {
|
|
1307
|
+
$nei?: string;
|
|
1308
|
+
} | {
|
|
1309
|
+
$gt?: string;
|
|
1310
|
+
} | {
|
|
1311
|
+
$gte?: string;
|
|
1312
|
+
} | {
|
|
1313
|
+
$lt?: string;
|
|
1314
|
+
} | {
|
|
1315
|
+
$lte?: string;
|
|
1316
|
+
} | {
|
|
1317
|
+
$startsWith?: string;
|
|
1318
|
+
} | {
|
|
1319
|
+
$startsWithi?: string;
|
|
1320
|
+
} | {
|
|
1321
|
+
$endsWith?: string;
|
|
1322
|
+
} | {
|
|
1323
|
+
$endsWithi?: string;
|
|
1324
|
+
} | {
|
|
1325
|
+
$contains?: string;
|
|
1326
|
+
} | {
|
|
1327
|
+
$containsi?: string;
|
|
1328
|
+
} | {
|
|
1329
|
+
$notContains?: string;
|
|
1330
|
+
} | {
|
|
1331
|
+
$notContainsi?: string;
|
|
1332
|
+
} | {
|
|
1333
|
+
$notNull?: boolean;
|
|
1334
|
+
};
|
|
1335
|
+
updatedAt?: string | number | {
|
|
1336
|
+
$eq?: string;
|
|
1337
|
+
} | {
|
|
1338
|
+
$eqi?: string;
|
|
1339
|
+
} | {
|
|
1340
|
+
$ne?: string;
|
|
1341
|
+
} | {
|
|
1342
|
+
$nei?: string;
|
|
1343
|
+
} | {
|
|
1344
|
+
$gt?: string;
|
|
1345
|
+
} | {
|
|
1346
|
+
$gte?: string;
|
|
1347
|
+
} | {
|
|
1348
|
+
$lt?: string;
|
|
1349
|
+
} | {
|
|
1350
|
+
$lte?: string;
|
|
1351
|
+
} | {
|
|
1352
|
+
$startsWith?: string;
|
|
1353
|
+
} | {
|
|
1354
|
+
$startsWithi?: string;
|
|
1355
|
+
} | {
|
|
1356
|
+
$endsWith?: string;
|
|
1357
|
+
} | {
|
|
1358
|
+
$endsWithi?: string;
|
|
1359
|
+
} | {
|
|
1360
|
+
$contains?: string;
|
|
1361
|
+
} | {
|
|
1362
|
+
$containsi?: string;
|
|
1363
|
+
} | {
|
|
1364
|
+
$notContains?: string;
|
|
1365
|
+
} | {
|
|
1366
|
+
$notContainsi?: string;
|
|
1367
|
+
} | {
|
|
1368
|
+
$notNull?: boolean;
|
|
1369
|
+
};
|
|
1370
|
+
authorName?: string | number | {
|
|
1371
|
+
$eq?: string;
|
|
1372
|
+
} | {
|
|
1373
|
+
$eqi?: string;
|
|
1374
|
+
} | {
|
|
1375
|
+
$ne?: string;
|
|
1376
|
+
} | {
|
|
1377
|
+
$nei?: string;
|
|
1378
|
+
} | {
|
|
1379
|
+
$gt?: string;
|
|
1380
|
+
} | {
|
|
1381
|
+
$gte?: string;
|
|
1382
|
+
} | {
|
|
1383
|
+
$lt?: string;
|
|
1384
|
+
} | {
|
|
1385
|
+
$lte?: string;
|
|
1386
|
+
} | {
|
|
1387
|
+
$startsWith?: string;
|
|
1388
|
+
} | {
|
|
1389
|
+
$startsWithi?: string;
|
|
1390
|
+
} | {
|
|
1391
|
+
$endsWith?: string;
|
|
1392
|
+
} | {
|
|
1393
|
+
$endsWithi?: string;
|
|
1394
|
+
} | {
|
|
1395
|
+
$contains?: string;
|
|
1396
|
+
} | {
|
|
1397
|
+
$containsi?: string;
|
|
1398
|
+
} | {
|
|
1399
|
+
$notContains?: string;
|
|
1400
|
+
} | {
|
|
1401
|
+
$notContainsi?: string;
|
|
1402
|
+
} | {
|
|
1403
|
+
$notNull?: boolean;
|
|
1404
|
+
};
|
|
1304
1405
|
};
|
|
1305
|
-
populate?: Record<string, boolean | {
|
|
1306
|
-
populate?: boolean;
|
|
1307
|
-
}>;
|
|
1308
1406
|
limit?: number;
|
|
1309
1407
|
fields?: string[];
|
|
1310
1408
|
omit?: string[];
|
|
@@ -1329,7 +1427,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1329
1427
|
authorName?: string;
|
|
1330
1428
|
authorEmail?: string;
|
|
1331
1429
|
authorAvatar?: string;
|
|
1332
|
-
authorUser?: string
|
|
1430
|
+
authorUser?: string | {
|
|
1431
|
+
id?: number;
|
|
1432
|
+
email?: string;
|
|
1433
|
+
};
|
|
1333
1434
|
locale?: string;
|
|
1334
1435
|
gotThread?: boolean;
|
|
1335
1436
|
threadFirstItemId?: number;
|
|
@@ -1362,7 +1463,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1362
1463
|
authorName?: string;
|
|
1363
1464
|
authorEmail?: string;
|
|
1364
1465
|
authorAvatar?: string;
|
|
1365
|
-
authorUser?: string
|
|
1466
|
+
authorUser?: string | {
|
|
1467
|
+
id?: number;
|
|
1468
|
+
email?: string;
|
|
1469
|
+
};
|
|
1366
1470
|
locale?: string;
|
|
1367
1471
|
gotThread?: boolean;
|
|
1368
1472
|
threadFirstItemId?: number;
|
|
@@ -1391,6 +1495,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1391
1495
|
approvalStatus?: string;
|
|
1392
1496
|
related?: {
|
|
1393
1497
|
id?: number;
|
|
1498
|
+
documentId?: string;
|
|
1499
|
+
locale?: string;
|
|
1394
1500
|
uid?: string;
|
|
1395
1501
|
requireCommentsApproval?: boolean;
|
|
1396
1502
|
};
|
|
@@ -1401,7 +1507,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1401
1507
|
authorName?: string;
|
|
1402
1508
|
authorEmail?: string;
|
|
1403
1509
|
authorAvatar?: string;
|
|
1404
|
-
authorUser?: string
|
|
1510
|
+
authorUser?: string | {
|
|
1511
|
+
id?: number;
|
|
1512
|
+
email?: string;
|
|
1513
|
+
};
|
|
1405
1514
|
locale?: string;
|
|
1406
1515
|
gotThread?: boolean;
|
|
1407
1516
|
threadFirstItemId?: number;
|
|
@@ -1434,7 +1543,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1434
1543
|
authorName?: string;
|
|
1435
1544
|
authorEmail?: string;
|
|
1436
1545
|
authorAvatar?: string;
|
|
1437
|
-
authorUser?: string
|
|
1546
|
+
authorUser?: string | {
|
|
1547
|
+
id?: number;
|
|
1548
|
+
email?: string;
|
|
1549
|
+
};
|
|
1438
1550
|
locale?: string;
|
|
1439
1551
|
gotThread?: boolean;
|
|
1440
1552
|
threadFirstItemId?: number;
|
|
@@ -1477,7 +1589,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1477
1589
|
authorName?: string;
|
|
1478
1590
|
authorEmail?: string;
|
|
1479
1591
|
authorAvatar?: string;
|
|
1480
|
-
authorUser?: string
|
|
1592
|
+
authorUser?: string | {
|
|
1593
|
+
id?: number;
|
|
1594
|
+
email?: string;
|
|
1595
|
+
};
|
|
1481
1596
|
locale?: string;
|
|
1482
1597
|
gotThread?: boolean;
|
|
1483
1598
|
threadFirstItemId?: number;
|
|
@@ -1511,7 +1626,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1511
1626
|
authorName?: string;
|
|
1512
1627
|
authorEmail?: string;
|
|
1513
1628
|
authorAvatar?: string;
|
|
1514
|
-
authorUser?: string
|
|
1629
|
+
authorUser?: string | {
|
|
1630
|
+
id?: number;
|
|
1631
|
+
email?: string;
|
|
1632
|
+
};
|
|
1515
1633
|
locale?: string;
|
|
1516
1634
|
gotThread?: boolean;
|
|
1517
1635
|
threadFirstItemId?: number;
|
|
@@ -1530,6 +1648,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1530
1648
|
};
|
|
1531
1649
|
}[]): Promise<{
|
|
1532
1650
|
id?: number;
|
|
1651
|
+
documentId?: string;
|
|
1652
|
+
locale?: string;
|
|
1533
1653
|
uid?: string;
|
|
1534
1654
|
requireCommentsApproval?: boolean;
|
|
1535
1655
|
}[]>;
|
|
@@ -1551,7 +1671,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1551
1671
|
authorName?: string;
|
|
1552
1672
|
authorEmail?: string;
|
|
1553
1673
|
authorAvatar?: string;
|
|
1554
|
-
authorUser?: string
|
|
1674
|
+
authorUser?: string | {
|
|
1675
|
+
id?: number;
|
|
1676
|
+
email?: string;
|
|
1677
|
+
};
|
|
1555
1678
|
locale?: string;
|
|
1556
1679
|
gotThread?: boolean;
|
|
1557
1680
|
threadFirstItemId?: number;
|
|
@@ -1585,7 +1708,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1585
1708
|
authorName?: string;
|
|
1586
1709
|
authorEmail?: string;
|
|
1587
1710
|
authorAvatar?: string;
|
|
1588
|
-
authorUser?: string
|
|
1711
|
+
authorUser?: string | {
|
|
1712
|
+
id?: number;
|
|
1713
|
+
email?: string;
|
|
1714
|
+
};
|
|
1589
1715
|
locale?: string;
|
|
1590
1716
|
gotThread?: boolean;
|
|
1591
1717
|
threadFirstItemId?: number;
|
|
@@ -1604,6 +1730,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1604
1730
|
};
|
|
1605
1731
|
}, relatedEntities?: {
|
|
1606
1732
|
id?: number;
|
|
1733
|
+
documentId?: string;
|
|
1734
|
+
locale?: string;
|
|
1607
1735
|
uid?: string;
|
|
1608
1736
|
requireCommentsApproval?: boolean;
|
|
1609
1737
|
}[]): {
|
|
@@ -1618,6 +1746,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1618
1746
|
approvalStatus?: string;
|
|
1619
1747
|
related?: {
|
|
1620
1748
|
id?: number;
|
|
1749
|
+
documentId?: string;
|
|
1750
|
+
locale?: string;
|
|
1621
1751
|
uid?: string;
|
|
1622
1752
|
requireCommentsApproval?: boolean;
|
|
1623
1753
|
};
|
|
@@ -1628,7 +1758,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1628
1758
|
authorName?: string;
|
|
1629
1759
|
authorEmail?: string;
|
|
1630
1760
|
authorAvatar?: string;
|
|
1631
|
-
authorUser?: string
|
|
1761
|
+
authorUser?: string | {
|
|
1762
|
+
id?: number;
|
|
1763
|
+
email?: string;
|
|
1764
|
+
};
|
|
1632
1765
|
locale?: string;
|
|
1633
1766
|
gotThread?: boolean;
|
|
1634
1767
|
threadFirstItemId?: number;
|
|
@@ -1662,7 +1795,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1662
1795
|
authorName?: string;
|
|
1663
1796
|
authorEmail?: string;
|
|
1664
1797
|
authorAvatar?: string;
|
|
1665
|
-
authorUser?: string
|
|
1798
|
+
authorUser?: string | {
|
|
1799
|
+
id?: number;
|
|
1800
|
+
email?: string;
|
|
1801
|
+
};
|
|
1666
1802
|
locale?: string;
|
|
1667
1803
|
gotThread?: boolean;
|
|
1668
1804
|
threadFirstItemId?: number;
|
|
@@ -1698,7 +1834,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1698
1834
|
authorName?: string;
|
|
1699
1835
|
authorEmail?: string;
|
|
1700
1836
|
authorAvatar?: string;
|
|
1701
|
-
authorUser?: string
|
|
1837
|
+
authorUser?: string | {
|
|
1838
|
+
id?: number;
|
|
1839
|
+
email?: string;
|
|
1840
|
+
};
|
|
1702
1841
|
locale?: string;
|
|
1703
1842
|
gotThread?: boolean;
|
|
1704
1843
|
threadFirstItemId?: number;
|
|
@@ -1732,7 +1871,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1732
1871
|
authorName?: string;
|
|
1733
1872
|
authorEmail?: string;
|
|
1734
1873
|
authorAvatar?: string;
|
|
1735
|
-
authorUser?: string
|
|
1874
|
+
authorUser?: string | {
|
|
1875
|
+
id?: number;
|
|
1876
|
+
email?: string;
|
|
1877
|
+
};
|
|
1736
1878
|
locale?: string;
|
|
1737
1879
|
gotThread?: boolean;
|
|
1738
1880
|
threadFirstItemId?: number;
|
|
@@ -1749,7 +1891,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1749
1891
|
}[];
|
|
1750
1892
|
author?: any;
|
|
1751
1893
|
};
|
|
1752
|
-
}[T_2]): Promise<boolean>;
|
|
1894
|
+
}[T_2], deepLimit?: number): Promise<boolean>;
|
|
1753
1895
|
checkBadWords(content: string): Promise<string>;
|
|
1754
1896
|
registerLifecycleHook(): void;
|
|
1755
1897
|
runLifecycleHook(): Promise<void>;
|
|
@@ -1773,6 +1915,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1773
1915
|
approvalStatus?: string;
|
|
1774
1916
|
related?: {
|
|
1775
1917
|
id?: number;
|
|
1918
|
+
documentId?: string;
|
|
1919
|
+
locale?: string;
|
|
1776
1920
|
uid?: string;
|
|
1777
1921
|
requireCommentsApproval?: boolean;
|
|
1778
1922
|
};
|
|
@@ -1783,7 +1927,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1783
1927
|
authorName?: string;
|
|
1784
1928
|
authorEmail?: string;
|
|
1785
1929
|
authorAvatar?: string;
|
|
1786
|
-
authorUser?: string
|
|
1930
|
+
authorUser?: string | {
|
|
1931
|
+
id?: number;
|
|
1932
|
+
email?: string;
|
|
1933
|
+
};
|
|
1787
1934
|
locale?: string;
|
|
1788
1935
|
gotThread?: boolean;
|
|
1789
1936
|
threadFirstItemId?: number;
|
|
@@ -1817,7 +1964,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1817
1964
|
authorName?: string;
|
|
1818
1965
|
authorEmail?: string;
|
|
1819
1966
|
authorAvatar?: string;
|
|
1820
|
-
authorUser?: string
|
|
1967
|
+
authorUser?: string | {
|
|
1968
|
+
id?: number;
|
|
1969
|
+
email?: string;
|
|
1970
|
+
};
|
|
1821
1971
|
locale?: string;
|
|
1822
1972
|
gotThread?: boolean;
|
|
1823
1973
|
threadFirstItemId?: number;
|
|
@@ -1855,7 +2005,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1855
2005
|
authorName?: string;
|
|
1856
2006
|
authorEmail?: string;
|
|
1857
2007
|
authorAvatar?: string;
|
|
1858
|
-
authorUser?: string
|
|
2008
|
+
authorUser?: string | {
|
|
2009
|
+
id?: number;
|
|
2010
|
+
email?: string;
|
|
2011
|
+
};
|
|
1859
2012
|
locale?: string;
|
|
1860
2013
|
gotThread?: boolean;
|
|
1861
2014
|
threadFirstItemId?: number;
|
|
@@ -1889,7 +2042,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1889
2042
|
authorName?: string;
|
|
1890
2043
|
authorEmail?: string;
|
|
1891
2044
|
authorAvatar?: string;
|
|
1892
|
-
authorUser?: string
|
|
2045
|
+
authorUser?: string | {
|
|
2046
|
+
id?: number;
|
|
2047
|
+
email?: string;
|
|
2048
|
+
};
|
|
1893
2049
|
locale?: string;
|
|
1894
2050
|
gotThread?: boolean;
|
|
1895
2051
|
threadFirstItemId?: number;
|
|
@@ -1917,7 +2073,8 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1917
2073
|
findOneAndThread({ id, removed, ...query }: adminValidator.FindOneValidatorSchema): Promise<{
|
|
1918
2074
|
entity: {
|
|
1919
2075
|
uid: import("@strapi/types/dist/uid").ContentType;
|
|
1920
|
-
|
|
2076
|
+
documentId: string;
|
|
2077
|
+
id: number;
|
|
1921
2078
|
};
|
|
1922
2079
|
selected: {
|
|
1923
2080
|
id?: number;
|
|
@@ -1937,7 +2094,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1937
2094
|
authorName?: string;
|
|
1938
2095
|
authorEmail?: string;
|
|
1939
2096
|
authorAvatar?: string;
|
|
1940
|
-
authorUser?: string
|
|
2097
|
+
authorUser?: string | {
|
|
2098
|
+
id?: number;
|
|
2099
|
+
email?: string;
|
|
2100
|
+
};
|
|
1941
2101
|
locale?: string;
|
|
1942
2102
|
gotThread?: boolean;
|
|
1943
2103
|
threadFirstItemId?: number;
|
|
@@ -1971,7 +2131,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
1971
2131
|
authorName?: string;
|
|
1972
2132
|
authorEmail?: string;
|
|
1973
2133
|
authorAvatar?: string;
|
|
1974
|
-
authorUser?: string
|
|
2134
|
+
authorUser?: string | {
|
|
2135
|
+
id?: number;
|
|
2136
|
+
email?: string;
|
|
2137
|
+
};
|
|
1975
2138
|
locale?: string;
|
|
1976
2139
|
gotThread?: boolean;
|
|
1977
2140
|
threadFirstItemId?: number;
|
|
@@ -2007,7 +2170,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2007
2170
|
authorName?: string;
|
|
2008
2171
|
authorEmail?: string;
|
|
2009
2172
|
authorAvatar?: string;
|
|
2010
|
-
authorUser?: string
|
|
2173
|
+
authorUser?: string | {
|
|
2174
|
+
id?: number;
|
|
2175
|
+
email?: string;
|
|
2176
|
+
};
|
|
2011
2177
|
locale?: string;
|
|
2012
2178
|
gotThread?: boolean;
|
|
2013
2179
|
threadFirstItemId?: number;
|
|
@@ -2041,7 +2207,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2041
2207
|
authorName?: string;
|
|
2042
2208
|
authorEmail?: string;
|
|
2043
2209
|
authorAvatar?: string;
|
|
2044
|
-
authorUser?: string
|
|
2210
|
+
authorUser?: string | {
|
|
2211
|
+
id?: number;
|
|
2212
|
+
email?: string;
|
|
2213
|
+
};
|
|
2045
2214
|
locale?: string;
|
|
2046
2215
|
gotThread?: boolean;
|
|
2047
2216
|
threadFirstItemId?: number;
|
|
@@ -2078,7 +2247,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2078
2247
|
authorName?: string;
|
|
2079
2248
|
authorEmail?: string;
|
|
2080
2249
|
authorAvatar?: string;
|
|
2081
|
-
authorUser?: string
|
|
2250
|
+
authorUser?: string | {
|
|
2251
|
+
id?: number;
|
|
2252
|
+
email?: string;
|
|
2253
|
+
};
|
|
2082
2254
|
locale?: string;
|
|
2083
2255
|
gotThread?: boolean;
|
|
2084
2256
|
threadFirstItemId?: number;
|
|
@@ -2112,7 +2284,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2112
2284
|
authorName?: string;
|
|
2113
2285
|
authorEmail?: string;
|
|
2114
2286
|
authorAvatar?: string;
|
|
2115
|
-
authorUser?: string
|
|
2287
|
+
authorUser?: string | {
|
|
2288
|
+
id?: number;
|
|
2289
|
+
email?: string;
|
|
2290
|
+
};
|
|
2116
2291
|
locale?: string;
|
|
2117
2292
|
gotThread?: boolean;
|
|
2118
2293
|
threadFirstItemId?: number;
|
|
@@ -2148,7 +2323,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2148
2323
|
authorName?: string;
|
|
2149
2324
|
authorEmail?: string;
|
|
2150
2325
|
authorAvatar?: string;
|
|
2151
|
-
authorUser?: string
|
|
2326
|
+
authorUser?: string | {
|
|
2327
|
+
id?: number;
|
|
2328
|
+
email?: string;
|
|
2329
|
+
};
|
|
2152
2330
|
locale?: string;
|
|
2153
2331
|
gotThread?: boolean;
|
|
2154
2332
|
threadFirstItemId?: number;
|
|
@@ -2182,7 +2360,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2182
2360
|
authorName?: string;
|
|
2183
2361
|
authorEmail?: string;
|
|
2184
2362
|
authorAvatar?: string;
|
|
2185
|
-
authorUser?: string
|
|
2363
|
+
authorUser?: string | {
|
|
2364
|
+
id?: number;
|
|
2365
|
+
email?: string;
|
|
2366
|
+
};
|
|
2186
2367
|
locale?: string;
|
|
2187
2368
|
gotThread?: boolean;
|
|
2188
2369
|
threadFirstItemId?: number;
|
|
@@ -2218,7 +2399,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2218
2399
|
authorName?: string;
|
|
2219
2400
|
authorEmail?: string;
|
|
2220
2401
|
authorAvatar?: string;
|
|
2221
|
-
authorUser?: string
|
|
2402
|
+
authorUser?: string | {
|
|
2403
|
+
id?: number;
|
|
2404
|
+
email?: string;
|
|
2405
|
+
};
|
|
2222
2406
|
locale?: string;
|
|
2223
2407
|
gotThread?: boolean;
|
|
2224
2408
|
threadFirstItemId?: number;
|
|
@@ -2252,7 +2436,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2252
2436
|
authorName?: string;
|
|
2253
2437
|
authorEmail?: string;
|
|
2254
2438
|
authorAvatar?: string;
|
|
2255
|
-
authorUser?: string
|
|
2439
|
+
authorUser?: string | {
|
|
2440
|
+
id?: number;
|
|
2441
|
+
email?: string;
|
|
2442
|
+
};
|
|
2256
2443
|
locale?: string;
|
|
2257
2444
|
gotThread?: boolean;
|
|
2258
2445
|
threadFirstItemId?: number;
|
|
@@ -2288,7 +2475,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2288
2475
|
authorName?: string;
|
|
2289
2476
|
authorEmail?: string;
|
|
2290
2477
|
authorAvatar?: string;
|
|
2291
|
-
authorUser?: string
|
|
2478
|
+
authorUser?: string | {
|
|
2479
|
+
id?: number;
|
|
2480
|
+
email?: string;
|
|
2481
|
+
};
|
|
2292
2482
|
locale?: string;
|
|
2293
2483
|
gotThread?: boolean;
|
|
2294
2484
|
threadFirstItemId?: number;
|
|
@@ -2322,7 +2512,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2322
2512
|
authorName?: string;
|
|
2323
2513
|
authorEmail?: string;
|
|
2324
2514
|
authorAvatar?: string;
|
|
2325
|
-
authorUser?: string
|
|
2515
|
+
authorUser?: string | {
|
|
2516
|
+
id?: number;
|
|
2517
|
+
email?: string;
|
|
2518
|
+
};
|
|
2326
2519
|
locale?: string;
|
|
2327
2520
|
gotThread?: boolean;
|
|
2328
2521
|
threadFirstItemId?: number;
|
|
@@ -2358,7 +2551,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2358
2551
|
authorName?: string;
|
|
2359
2552
|
authorEmail?: string;
|
|
2360
2553
|
authorAvatar?: string;
|
|
2361
|
-
authorUser?: string
|
|
2554
|
+
authorUser?: string | {
|
|
2555
|
+
id?: number;
|
|
2556
|
+
email?: string;
|
|
2557
|
+
};
|
|
2362
2558
|
locale?: string;
|
|
2363
2559
|
gotThread?: boolean;
|
|
2364
2560
|
threadFirstItemId?: number;
|
|
@@ -2392,7 +2588,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2392
2588
|
authorName?: string;
|
|
2393
2589
|
authorEmail?: string;
|
|
2394
2590
|
authorAvatar?: string;
|
|
2395
|
-
authorUser?: string
|
|
2591
|
+
authorUser?: string | {
|
|
2592
|
+
id?: number;
|
|
2593
|
+
email?: string;
|
|
2594
|
+
};
|
|
2396
2595
|
locale?: string;
|
|
2397
2596
|
gotThread?: boolean;
|
|
2398
2597
|
threadFirstItemId?: number;
|
|
@@ -2444,7 +2643,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2444
2643
|
authorName?: string;
|
|
2445
2644
|
authorEmail?: string;
|
|
2446
2645
|
authorAvatar?: string;
|
|
2447
|
-
authorUser?: string
|
|
2646
|
+
authorUser?: string | {
|
|
2647
|
+
id?: number;
|
|
2648
|
+
email?: string;
|
|
2649
|
+
};
|
|
2448
2650
|
locale?: string;
|
|
2449
2651
|
gotThread?: boolean;
|
|
2450
2652
|
threadFirstItemId?: number;
|
|
@@ -2478,7 +2680,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2478
2680
|
authorName?: string;
|
|
2479
2681
|
authorEmail?: string;
|
|
2480
2682
|
authorAvatar?: string;
|
|
2481
|
-
authorUser?: string
|
|
2683
|
+
authorUser?: string | {
|
|
2684
|
+
id?: number;
|
|
2685
|
+
email?: string;
|
|
2686
|
+
};
|
|
2482
2687
|
locale?: string;
|
|
2483
2688
|
gotThread?: boolean;
|
|
2484
2689
|
threadFirstItemId?: number;
|
|
@@ -2514,7 +2719,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2514
2719
|
authorName?: string;
|
|
2515
2720
|
authorEmail?: string;
|
|
2516
2721
|
authorAvatar?: string;
|
|
2517
|
-
authorUser?: string
|
|
2722
|
+
authorUser?: string | {
|
|
2723
|
+
id?: number;
|
|
2724
|
+
email?: string;
|
|
2725
|
+
};
|
|
2518
2726
|
locale?: string;
|
|
2519
2727
|
gotThread?: boolean;
|
|
2520
2728
|
threadFirstItemId?: number;
|
|
@@ -2548,7 +2756,10 @@ declare const _default: ({ strapi }: StrapiContext) => {
|
|
|
2548
2756
|
authorName?: string;
|
|
2549
2757
|
authorEmail?: string;
|
|
2550
2758
|
authorAvatar?: string;
|
|
2551
|
-
authorUser?: string
|
|
2759
|
+
authorUser?: string | {
|
|
2760
|
+
id?: number;
|
|
2761
|
+
email?: string;
|
|
2762
|
+
};
|
|
2552
2763
|
locale?: string;
|
|
2553
2764
|
gotThread?: boolean;
|
|
2554
2765
|
threadFirstItemId?: number;
|