strapi-plugin-comments 3.0.14 → 3.0.16

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 (52) hide show
  1. package/dist/_chunks/en-Ca05D1aN.js +1 -0
  2. package/dist/_chunks/{en-BtJqEJGe.mjs → en-DeZtLd2b.mjs} +15 -2
  3. package/dist/_chunks/fr-DvC8Kjh_.js +1 -0
  4. package/dist/_chunks/{fr-n-k7Rsq9.mjs → fr-xcXYnLl6.mjs} +15 -2
  5. package/dist/_chunks/{index-CQD92qgD.mjs → index-Bd1INOJR.mjs} +651 -655
  6. package/dist/_chunks/{index-BNUfJ5rK.mjs → index-BvE3I2WB.mjs} +2 -2
  7. package/dist/_chunks/{index-CXZL9d07.js → index-BzZk45CE.js} +39 -39
  8. package/dist/_chunks/index-C5ADhjCF.js +18 -0
  9. package/dist/_chunks/{index-B7F5_QGF.mjs → index-C9YD28U_.mjs} +7591 -7543
  10. package/dist/_chunks/{index-C1LkPp9p.js → index-CtUXr7rK.js} +181 -181
  11. package/dist/_chunks/{index-Cm2k0S9q.js → index-DHYGkXW6.js} +1 -1
  12. package/dist/_chunks/{index-B_ImEGPI.mjs → index-DcdRh9F7.mjs} +1768 -1770
  13. package/dist/_chunks/{pl-_wkGtdQj.mjs → pl-B2Il0b0-.mjs} +1 -1
  14. package/dist/_chunks/pl-DthJf26N.js +1 -0
  15. package/dist/_chunks/pt-BR-ByULlOKU.js +1 -0
  16. package/dist/_chunks/{pt-BR-Bx1qSZ0Z.mjs → pt-BR-KCmyuDgJ.mjs} +1 -1
  17. package/dist/_chunks/{ru-BuUj7OWH.mjs → ru-Bykkb95a.mjs} +1 -1
  18. package/dist/_chunks/ru-DOajpZMF.js +1 -0
  19. package/dist/_chunks/{tr-CloK8CbW.mjs → tr-BW_iq8S7.mjs} +1 -1
  20. package/dist/_chunks/tr-Cv3hH0Rh.js +1 -0
  21. package/dist/_chunks/{zh-Hans-Isi-yCnI.mjs → zh-Hans-DixVuF8_.mjs} +1 -1
  22. package/dist/_chunks/zh-Hans-P1iGqMnb.js +1 -0
  23. package/dist/admin/index.js +1 -1
  24. package/dist/admin/index.mjs +1 -1
  25. package/dist/admin/src/api/client.d.ts +8 -8
  26. package/dist/admin/src/api/schemas.d.ts +83 -83
  27. package/dist/admin/src/components/CommentStatusFilters/index.d.ts +1 -6
  28. package/dist/admin/src/components/SortableTh/index.d.ts +7 -0
  29. package/dist/admin/src/hooks/useAPI.d.ts +8 -8
  30. package/dist/admin/src/hooks/useCommentsAll.d.ts +1 -1
  31. package/dist/admin/src/hooks/useReports.d.ts +2 -2
  32. package/dist/admin/src/pages/Settings/hooks/useSettingsAPI.d.ts +1 -1
  33. package/dist/admin/src/translations/en.d.ts +13 -0
  34. package/dist/admin/src/translations/fr.d.ts +13 -0
  35. package/dist/server/index.js +13 -13
  36. package/dist/server/index.mjs +273 -270
  37. package/dist/server/src/controllers/index.d.ts +3 -9
  38. package/dist/server/src/index.d.ts +12 -39
  39. package/dist/server/src/services/admin/admin.service.d.ts +3 -10
  40. package/dist/server/src/services/client.service.d.ts +3 -10
  41. package/dist/server/src/services/common.service.d.ts +0 -1
  42. package/dist/server/src/services/index.d.ts +9 -30
  43. package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +7 -9
  44. package/package.json +1 -1
  45. package/dist/_chunks/en-CNvRvaLL.js +0 -1
  46. package/dist/_chunks/fr-Bh0tVDIQ.js +0 -1
  47. package/dist/_chunks/index-CiNGZPZv.js +0 -18
  48. package/dist/_chunks/pl-DoXe0BV9.js +0 -1
  49. package/dist/_chunks/pt-BR-CLvbSGaH.js +0 -1
  50. package/dist/_chunks/ru-eLIDfsd3.js +0 -1
  51. package/dist/_chunks/tr-BX-_IBUR.js +0 -1
  52. package/dist/_chunks/zh-Hans-DusBjCtd.js +0 -1
@@ -1529,9 +1529,7 @@ declare const controllers: {
1529
1529
  withCount?: boolean;
1530
1530
  };
1531
1531
  relation?: `${string}::${string}.${string}`;
1532
- populate?: Record<string, boolean | {
1533
- populate?: boolean;
1534
- }>;
1532
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
1535
1533
  filters?: {
1536
1534
  id?: string | number | {
1537
1535
  $eq?: string;
@@ -3044,9 +3042,7 @@ declare const controllers: {
3044
3042
  sort?: string;
3045
3043
  locale?: string;
3046
3044
  relation?: `${string}::${string}.${string}`;
3047
- populate?: Record<string, boolean | {
3048
- populate?: boolean;
3049
- }>;
3045
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
3050
3046
  filters?: {
3051
3047
  id?: string | number | {
3052
3048
  $eq?: string;
@@ -4478,9 +4474,7 @@ declare const controllers: {
4478
4474
  pageSize?: number;
4479
4475
  withCount?: boolean;
4480
4476
  };
4481
- populate?: Record<string, boolean | {
4482
- populate?: boolean;
4483
- }>;
4477
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
4484
4478
  filters?: {
4485
4479
  id?: string | number | {
4486
4480
  $eq?: string;
@@ -1599,9 +1599,7 @@ declare const _default: {
1599
1599
  withCount?: boolean;
1600
1600
  };
1601
1601
  relation?: `${string}::${string}.${string}`;
1602
- populate?: Record<string, boolean | {
1603
- populate?: boolean;
1604
- }>;
1602
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
1605
1603
  filters?: {
1606
1604
  id?: string | number | {
1607
1605
  $eq?: string;
@@ -3114,9 +3112,7 @@ declare const _default: {
3114
3112
  sort?: string;
3115
3113
  locale?: string;
3116
3114
  relation?: `${string}::${string}.${string}`;
3117
- populate?: Record<string, boolean | {
3118
- populate?: boolean;
3119
- }>;
3115
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
3120
3116
  filters?: {
3121
3117
  id?: string | number | {
3122
3118
  $eq?: string;
@@ -4548,9 +4544,7 @@ declare const _default: {
4548
4544
  pageSize?: number;
4549
4545
  withCount?: boolean;
4550
4546
  };
4551
- populate?: Record<string, boolean | {
4552
- populate?: boolean;
4553
- }>;
4547
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
4554
4548
  filters?: {
4555
4549
  id?: string | number | {
4556
4550
  $eq?: string;
@@ -6801,9 +6795,7 @@ declare const _default: {
6801
6795
  withCount?: boolean;
6802
6796
  };
6803
6797
  relation?: `${string}::${string}.${string}`;
6804
- populate?: Record<string, boolean | {
6805
- populate?: boolean;
6806
- }>;
6798
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
6807
6799
  filters?: {
6808
6800
  id?: string | number | {
6809
6801
  $eq?: string;
@@ -8316,9 +8308,7 @@ declare const _default: {
8316
8308
  sort?: string;
8317
8309
  locale?: string;
8318
8310
  relation?: `${string}::${string}.${string}`;
8319
- populate?: Record<string, boolean | {
8320
- populate?: boolean;
8321
- }>;
8311
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
8322
8312
  filters?: {
8323
8313
  id?: string | number | {
8324
8314
  $eq?: string;
@@ -10053,9 +10043,7 @@ declare const _default: {
10053
10043
  pageSize?: number;
10054
10044
  withCount?: boolean;
10055
10045
  };
10056
- populate?: Record<string, boolean | {
10057
- populate?: boolean;
10058
- }>;
10046
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
10059
10047
  filters?: {
10060
10048
  id?: string | number | {
10061
10049
  $eq?: string;
@@ -11885,7 +11873,6 @@ declare const _default: {
11885
11873
  }[T_5], deepLimit?: number): Promise<boolean>;
11886
11874
  checkBadWords(content: string): Promise<string>;
11887
11875
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
11888
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
11889
11876
  registerLifecycleHook(): void;
11890
11877
  runLifecycleHook(): Promise<void>;
11891
11878
  };
@@ -13402,9 +13389,7 @@ declare const _default: {
13402
13389
  withCount?: boolean;
13403
13390
  };
13404
13391
  relation?: `${string}::${string}.${string}`;
13405
- populate?: Record<string, boolean | {
13406
- populate?: boolean;
13407
- }>;
13392
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
13408
13393
  filters?: {
13409
13394
  id?: string | number | {
13410
13395
  $eq?: string;
@@ -14917,9 +14902,7 @@ declare const _default: {
14917
14902
  sort?: string;
14918
14903
  locale?: string;
14919
14904
  relation?: `${string}::${string}.${string}`;
14920
- populate?: Record<string, boolean | {
14921
- populate?: boolean;
14922
- }>;
14905
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
14923
14906
  filters?: {
14924
14907
  id?: string | number | {
14925
14908
  $eq?: string;
@@ -16654,9 +16637,7 @@ declare const _default: {
16654
16637
  pageSize?: number;
16655
16638
  withCount?: boolean;
16656
16639
  };
16657
- populate?: Record<string, boolean | {
16658
- populate?: boolean;
16659
- }>;
16640
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
16660
16641
  filters?: {
16661
16642
  id?: string | number | {
16662
16643
  $eq?: string;
@@ -18486,7 +18467,6 @@ declare const _default: {
18486
18467
  }[T_5], deepLimit?: number): Promise<boolean>;
18487
18468
  checkBadWords(content: string): Promise<string>;
18488
18469
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
18489
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
18490
18470
  registerLifecycleHook(): void;
18491
18471
  runLifecycleHook(): Promise<void>;
18492
18472
  };
@@ -19207,9 +19187,7 @@ declare const _default: {
19207
19187
  withCount?: boolean;
19208
19188
  };
19209
19189
  relation?: `${string}::${string}.${string}`;
19210
- populate?: Record<string, boolean | {
19211
- populate?: boolean;
19212
- }>;
19190
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
19213
19191
  filters?: {
19214
19192
  id?: string | number | {
19215
19193
  $eq?: string;
@@ -20722,9 +20700,7 @@ declare const _default: {
20722
20700
  sort?: string;
20723
20701
  locale?: string;
20724
20702
  relation?: `${string}::${string}.${string}`;
20725
- populate?: Record<string, boolean | {
20726
- populate?: boolean;
20727
- }>;
20703
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
20728
20704
  filters?: {
20729
20705
  id?: string | number | {
20730
20706
  $eq?: string;
@@ -22459,9 +22435,7 @@ declare const _default: {
22459
22435
  pageSize?: number;
22460
22436
  withCount?: boolean;
22461
22437
  };
22462
- populate?: Record<string, boolean | {
22463
- populate?: boolean;
22464
- }>;
22438
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
22465
22439
  filters?: {
22466
22440
  id?: string | number | {
22467
22441
  $eq?: string;
@@ -24291,7 +24265,6 @@ declare const _default: {
24291
24265
  }[T_5], deepLimit?: number): Promise<boolean>;
24292
24266
  checkBadWords(content: string): Promise<string>;
24293
24267
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
24294
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
24295
24268
  registerLifecycleHook(): void;
24296
24269
  runLifecycleHook(): Promise<void>;
24297
24270
  };
@@ -293,9 +293,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
293
293
  withCount?: boolean;
294
294
  };
295
295
  relation?: `${string}::${string}.${string}`;
296
- populate?: Record<string, boolean | {
297
- populate?: boolean;
298
- }>;
296
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
299
297
  filters?: {
300
298
  id?: string | number | {
301
299
  $eq?: string;
@@ -1808,9 +1806,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
1808
1806
  sort?: string;
1809
1807
  locale?: string;
1810
1808
  relation?: `${string}::${string}.${string}`;
1811
- populate?: Record<string, boolean | {
1812
- populate?: boolean;
1813
- }>;
1809
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
1814
1810
  filters?: {
1815
1811
  id?: string | number | {
1816
1812
  $eq?: string;
@@ -3545,9 +3541,7 @@ declare const _default: ({ strapi }: StrapiContext) => {
3545
3541
  pageSize?: number;
3546
3542
  withCount?: boolean;
3547
3543
  };
3548
- populate?: Record<string, boolean | {
3549
- populate?: boolean;
3550
- }>;
3544
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
3551
3545
  filters?: {
3552
3546
  id?: string | number | {
3553
3547
  $eq?: string;
@@ -5377,7 +5371,6 @@ declare const _default: ({ strapi }: StrapiContext) => {
5377
5371
  }[T_2], deepLimit?: number): Promise<boolean>;
5378
5372
  checkBadWords(content: string): Promise<string>;
5379
5373
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
5380
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
5381
5374
  registerLifecycleHook(): void;
5382
5375
  runLifecycleHook(): Promise<void>;
5383
5376
  };
@@ -297,9 +297,7 @@ export declare const clientService: ({ strapi }: StrapiContext) => {
297
297
  withCount?: boolean;
298
298
  };
299
299
  relation?: `${string}::${string}.${string}`;
300
- populate?: Record<string, boolean | {
301
- populate?: boolean;
302
- }>;
300
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
303
301
  filters?: {
304
302
  id?: string | number | {
305
303
  $eq?: string;
@@ -1812,9 +1810,7 @@ export declare const clientService: ({ strapi }: StrapiContext) => {
1812
1810
  sort?: string;
1813
1811
  locale?: string;
1814
1812
  relation?: `${string}::${string}.${string}`;
1815
- populate?: Record<string, boolean | {
1816
- populate?: boolean;
1817
- }>;
1813
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
1818
1814
  filters?: {
1819
1815
  id?: string | number | {
1820
1816
  $eq?: string;
@@ -3549,9 +3545,7 @@ export declare const clientService: ({ strapi }: StrapiContext) => {
3549
3545
  pageSize?: number;
3550
3546
  withCount?: boolean;
3551
3547
  };
3552
- populate?: Record<string, boolean | {
3553
- populate?: boolean;
3554
- }>;
3548
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
3555
3549
  filters?: {
3556
3550
  id?: string | number | {
3557
3551
  $eq?: string;
@@ -5381,7 +5375,6 @@ export declare const clientService: ({ strapi }: StrapiContext) => {
5381
5375
  }[T_2], deepLimit?: number): Promise<boolean>;
5382
5376
  checkBadWords(content: string): Promise<string>;
5383
5377
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
5384
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
5385
5378
  registerLifecycleHook(): void;
5386
5379
  runLifecycleHook(): Promise<void>;
5387
5380
  };
@@ -562,7 +562,6 @@ declare const commonService: ({ strapi }: StrapiContext) => {
562
562
  }[T_2], deepLimit?: number): Promise<boolean>;
563
563
  checkBadWords(content: string): Promise<string>;
564
564
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
565
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
566
565
  registerLifecycleHook(): void;
567
566
  runLifecycleHook(): Promise<void>;
568
567
  };
@@ -292,9 +292,7 @@ declare const pluginServices: {
292
292
  withCount?: boolean;
293
293
  };
294
294
  relation?: `${string}::${string}.${string}`;
295
- populate?: Record<string, boolean | {
296
- populate?: boolean;
297
- }>;
295
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
298
296
  filters?: {
299
297
  id?: string | number | {
300
298
  $eq?: string;
@@ -1807,9 +1805,7 @@ declare const pluginServices: {
1807
1805
  sort?: string;
1808
1806
  locale?: string;
1809
1807
  relation?: `${string}::${string}.${string}`;
1810
- populate?: Record<string, boolean | {
1811
- populate?: boolean;
1812
- }>;
1808
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
1813
1809
  filters?: {
1814
1810
  id?: string | number | {
1815
1811
  $eq?: string;
@@ -3544,9 +3540,7 @@ declare const pluginServices: {
3544
3540
  pageSize?: number;
3545
3541
  withCount?: boolean;
3546
3542
  };
3547
- populate?: Record<string, boolean | {
3548
- populate?: boolean;
3549
- }>;
3543
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
3550
3544
  filters?: {
3551
3545
  id?: string | number | {
3552
3546
  $eq?: string;
@@ -5376,7 +5370,6 @@ declare const pluginServices: {
5376
5370
  }[T_2], deepLimit?: number): Promise<boolean>;
5377
5371
  checkBadWords(content: string): Promise<string>;
5378
5372
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
5379
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
5380
5373
  registerLifecycleHook(): void;
5381
5374
  runLifecycleHook(): Promise<void>;
5382
5375
  };
@@ -6893,9 +6886,7 @@ declare const pluginServices: {
6893
6886
  withCount?: boolean;
6894
6887
  };
6895
6888
  relation?: `${string}::${string}.${string}`;
6896
- populate?: Record<string, boolean | {
6897
- populate?: boolean;
6898
- }>;
6889
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
6899
6890
  filters?: {
6900
6891
  id?: string | number | {
6901
6892
  $eq?: string;
@@ -8408,9 +8399,7 @@ declare const pluginServices: {
8408
8399
  sort?: string;
8409
8400
  locale?: string;
8410
8401
  relation?: `${string}::${string}.${string}`;
8411
- populate?: Record<string, boolean | {
8412
- populate?: boolean;
8413
- }>;
8402
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
8414
8403
  filters?: {
8415
8404
  id?: string | number | {
8416
8405
  $eq?: string;
@@ -10145,9 +10134,7 @@ declare const pluginServices: {
10145
10134
  pageSize?: number;
10146
10135
  withCount?: boolean;
10147
10136
  };
10148
- populate?: Record<string, boolean | {
10149
- populate?: boolean;
10150
- }>;
10137
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
10151
10138
  filters?: {
10152
10139
  id?: string | number | {
10153
10140
  $eq?: string;
@@ -11977,7 +11964,6 @@ declare const pluginServices: {
11977
11964
  }[T_2], deepLimit?: number): Promise<boolean>;
11978
11965
  checkBadWords(content: string): Promise<string>;
11979
11966
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
11980
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
11981
11967
  registerLifecycleHook(): void;
11982
11968
  runLifecycleHook(): Promise<void>;
11983
11969
  };
@@ -12698,9 +12684,7 @@ declare const pluginServices: {
12698
12684
  withCount?: boolean;
12699
12685
  };
12700
12686
  relation?: `${string}::${string}.${string}`;
12701
- populate?: Record<string, boolean | {
12702
- populate?: boolean;
12703
- }>;
12687
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
12704
12688
  filters?: {
12705
12689
  id?: string | number | {
12706
12690
  $eq?: string;
@@ -14213,9 +14197,7 @@ declare const pluginServices: {
14213
14197
  sort?: string;
14214
14198
  locale?: string;
14215
14199
  relation?: `${string}::${string}.${string}`;
14216
- populate?: Record<string, boolean | {
14217
- populate?: boolean;
14218
- }>;
14200
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
14219
14201
  filters?: {
14220
14202
  id?: string | number | {
14221
14203
  $eq?: string;
@@ -15950,9 +15932,7 @@ declare const pluginServices: {
15950
15932
  pageSize?: number;
15951
15933
  withCount?: boolean;
15952
15934
  };
15953
- populate?: Record<string, boolean | {
15954
- populate?: boolean;
15955
- }>;
15935
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
15956
15936
  filters?: {
15957
15937
  id?: string | number | {
15958
15938
  $eq?: string;
@@ -17782,7 +17762,6 @@ declare const pluginServices: {
17782
17762
  }[T_2], deepLimit?: number): Promise<boolean>;
17783
17763
  checkBadWords(content: string): Promise<string>;
17784
17764
  perRemove(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
17785
- perRestore(related: string, locale?: string): Promise<import("@strapi/database/dist/types").CountResult>;
17786
17765
  registerLifecycleHook(): void;
17787
17766
  runLifecycleHook(): Promise<void>;
17788
17767
  };
@@ -1,3 +1,4 @@
1
+ import { z } from 'zod';
1
2
  import { CommentsPluginConfig } from '../../../config';
2
3
  import { APPROVAL_STATUS } from '../../../const';
3
4
  import { ExtractRightEither } from '../../../utils/Either';
@@ -27,6 +28,8 @@ export declare const updateCommentValidator: (enabledCollections: string[], payl
27
28
  commentId?: number;
28
29
  }>;
29
30
  export type UpdateCommentValidatorSchema = ExtractRightEither<ReturnType<typeof updateCommentValidator>>;
31
+ declare const populateSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodLiteral<"true">, boolean, "true">, z.ZodEffects<z.ZodLiteral<"false">, boolean, "false">, z.ZodLiteral<"*">]>, z.ZodRecord<z.ZodString, z.ZodAny>]>>>;
32
+ export type PopulateSchema = z.infer<typeof populateSchema>;
30
33
  export declare const findAllFlatValidator: (enabledCollections: string[], relation: string, payload: object) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
31
34
  sort?: string;
32
35
  locale?: string;
@@ -36,9 +39,7 @@ export declare const findAllFlatValidator: (enabledCollections: string[], relati
36
39
  withCount?: boolean;
37
40
  };
38
41
  relation?: `${string}::${string}.${string}`;
39
- populate?: Record<string, boolean | {
40
- populate?: boolean;
41
- }>;
42
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
42
43
  filters?: {
43
44
  id?: string | number | {
44
45
  $eq?: string;
@@ -1388,9 +1389,7 @@ export declare const findAllInHierarchyValidator: (enabledCollections: string[],
1388
1389
  sort?: string;
1389
1390
  locale?: string;
1390
1391
  relation?: `${string}::${string}.${string}`;
1391
- populate?: Record<string, boolean | {
1392
- populate?: boolean;
1393
- }>;
1392
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
1394
1393
  filters?: {
1395
1394
  id?: string | number | {
1396
1395
  $eq?: string;
@@ -2748,9 +2747,7 @@ export declare const findAllPerAuthorValidator: (params: object, payload: object
2748
2747
  pageSize?: number;
2749
2748
  withCount?: boolean;
2750
2749
  };
2751
- populate?: Record<string, boolean | {
2752
- populate?: boolean;
2753
- }>;
2750
+ populate?: Record<string, boolean | "*" | Record<string, any>>;
2754
2751
  filters?: {
2755
2752
  id?: string | number | {
2756
2753
  $eq?: string;
@@ -4109,3 +4106,4 @@ export declare const removeCommentValidator: (enabledCollections: string[], payl
4109
4106
  commentId?: string | number;
4110
4107
  }>;
4111
4108
  export type RemoveCommentValidatorSchema = ExtractRightEither<ReturnType<typeof removeCommentValidator>>;
4109
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-comments",
3
- "version": "3.0.14",
3
+ "version": "3.0.16",
4
4
  "description": "Strapi - Comments plugin",
5
5
  "strapi": {
6
6
  "name": "comments",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={"plugin.name":"Comments","plugin.section":"Comments plugin","plugin.section.item":"Configuration","common.button.back":"Go back","nav.header.moderation":"Moderation","nav.header.settings":"Settings","nav.item.updates":"Updates","nav.item.discover":"Discover","nav.item.reports":"Reports","nav.item.settings":"Settings","page.auth.noAccess":"No access","page.auth.not.allowed":"Oops! It seems like You do not have access to this page...","page.common.item.status.OPEN":"Open","page.common.item.status.PENDING":"Pending","page.common.item.status.BLOCKED":"Blocked","page.common.item.status.APPROVED":"Approved","page.common.item.status.RESOLVED":"Resolved","page.common.item.status.TO_REVIEW":"To review ({count, number})","page.common.item.status.REJECTED":"Rejected","page.common.item.status.REMOVED":"Removed by author","page.common.item.status.setFilter":"Set status...","page.updates.header":"Recent updates","page.discover.header":"Discover threads","page.discover.header.count":"entries found","page.discover.table.header.id":"ID","page.discover.table.header.author":"Author","page.discover.table.header.message":"Message","page.discover.table.header.thread":"Thread of","page.discover.table.header.entry":"Entry","page.discover.table.header.lastUpdate":"Last update","page.discover.table.header.status":"Status","page.discover.table.header.actions":"Actions","page.discover.table.cell.thread":"Comment #{id}","page.discover.table.action.display":"Display","page.discover.table.action.reports":"Reports","page.discover.table.empty":"You don't have any comments yet.","page.discover.table.empty.search":"No comments match the search.","page.discover.table.filters":"Filtering","page.discover.table.reports.review":"Review reports","page.reports.header":"Resolve reports","page.reports.table.empty":"You don't have any reports yet.","page.reports.table.empty.search":"No reports match the search.","page.reports.table.header.id":"ID","page.reports.table.header.reason":"Reason","page.reports.table.header.content":"Content","page.reports.table.header.status":"Status","page.reports.table.header.issueDate":"Issue date","page.reports.table.header.relatedComment":"Related comment","page.reports.table.header.actions":"Actions","page.reports.table.cell.action.resolve":"resolved","page.reports.table.cell.action.block":"Block","page.details.header":"Discussion panel","page.details.header.description":"Drilldown and manage discussion related to the entity","page.details.header.description.empty":"This entry has been deleted","page.details.panel.discussion":"Discussion","page.details.panel.discussion.nav.drilldown":"Drilldown","page.details.panel.discussion.nav.back":"Go top","page.details.panel.discussion.warnings.reports.description":"open reports","page.details.panel.discussion.warnings.reports.review":"Review","page.details.panel.discussion.warnings.reports.dialog.list":"Reports","page.details.panel.discussion.warnings.reports.dialog.header":"Moderation: Review open reports","page.details.panel.discussion.warnings.reports.dialog.selectAll":"Select all entries","page.details.panel.discussion.warnings.reports.dialog.select":"Select entity","page.details.panel.discussion.warnings.reports.dialog.reason":"Reason","page.details.panel.discussion.warnings.reports.dialog.reason.BAD_LANGUAGE":"Bad language","page.details.panel.discussion.warnings.reports.dialog.reason.DISCRIMINATION":"Discrimination","page.details.panel.discussion.warnings.reports.dialog.reason.OTHER":"Other","page.details.panel.discussion.warnings.reports.dialog.content":"Content","page.details.panel.discussion.warnings.reports.dialog.createdAt":"Issue date","page.details.panel.discussion.warnings.reports.dialog.status":"Status","page.details.panel.discussion.warnings.reports.dialog.status.OPEN":"Open","page.details.panel.discussion.warnings.reports.dialog.status.RESOLVED":"Resolved","page.details.panel.discussion.warnings.reports.dialog.actions":"Actions","page.details.panel.discussion.warnings.reports.dialog.actions.resolve":"Resolve","page.details.panel.discussion.warnings.reports.dialog.actions.resolve.selected":"Resolve reports ({count})","page.details.panel.discussion.warnings.reports.dialog.confirmation.success":"Open report has been resolved","page.details.panel.discussion.warnings.reports.selected.dialog.confirmation.success":"Open reports has been resolved","page.details.panel.discussion.warnings.comments.header":"Moderation: Review reported comment","page.details.panel.discussion.status.blocked":"Blocked","page.details.panel.discussion.reply":"Reply","page.details.panel.discussion.reopen":"Re-open","page.details.panel.discussion.send":"Send Moderator response","page.details.actions.comment.post.confirmation":"Comment has been posted","page.details.actions.comment.update.confirmation":"Comment has been updated","page.details.panel.entity":"Entity details","page.details.panel.status":"Discussion is","page.details.panel.status.open":"Open","page.details.panel.status.blocked":"Blocked","page.details.panel.status.pending":"Pending","page.details.panel.loading":"Fetching entity...","page.details.actions.comment.block":"Block comment","page.details.actions.comment.block.confirmation.header":"Moderation: Block comment","page.details.actions.comment.block.confirmation.description":"Do you really want to block this comment?","page.details.actions.comment.block.confirmation.button.confirm":"Yes, block it","page.details.actions.comment.block.confirmation.success":"Comment has been blocked","page.details.actions.comment.unblock":"Unblock comment","page.details.actions.comment.unblock.confirmation.success":"Comment has been unblocked","page.details.actions.comment.delete":"Delete comment","page.details.actions.comment.delete.confirmation.success":"Comment has been deleted","page.details.actions.comment.reports.review":"Review","page.details.actions.thread.block":"Block thread","page.details.actions.thread.block.confirmation.header":"Moderation: Block thread","page.details.actions.thread.block.confirmation.description":"Do you really want to block whole thread? No further discussions are going to be allowed.","page.details.actions.thread.block.confirmation.button.confirm":"Yes, block it","page.details.actions.thread.block.confirmation.success":"Thread has been blocked","page.details.actions.thread.unblock":"Unblock thread","page.details.actions.thread.unblock.confirmation.success":"Thread has been unblocked","page.details.actions.thread.modal.start.thread":"Start thread","page.details.actions.thread.modal.update.comment":"Update comment","page.details.actions.comment.approve.confirmation.success":"Comment has been approved","page.details.actions.comment.reject.confirmation.success":"Comment has been rejected","page.details.filters.label":"View","page.details.filters.removed.visibility":"Show removed comments","page.coming.soon":"Wait for what is coming soon...","page.settings":"Settings","page.settings.header.title":"Comments","page.settings.header.description":"Configure your comments moderation capabilities","page.settings.actions.submit":"Save","page.settings.actions.restore":"Restore default settings","page.settings.actions.restart":"Restart Strapi","page.settings.section.general":"General configuration","page.settings.section.additional":"Additional configuration","page.settings.section.client":"Client portal configuration","page.settings.section.restore":"Restore default settings","page.settings.section.restore.subtitle":"Discarding all of applied settings and getting back to plugin default ones. Use reasonable.","page.settings.form.enabledCollections.label":"Enable comments only for","page.settings.form.enabledCollections.placeholder":"Select one or more collection","page.settings.form.enabledCollections.hint":"If none is selected, all the content types are enabled","page.settings.form.contentTypesSettings.label":"Content types","page.settings.form.contentTypesSettings.tooltip":"Custom configuration per content type","page.settings.form.moderatorRoles.label":"Send significant notifications to","page.settings.form.moderatorRoles.placeholder":"Select one or more roles","page.settings.form.moderatorRoles.hint":"Roles which are going to be notified by the plugin about significant actions to perform","page.settings.form.badWords.label":"Bad words filtering","page.settings.form.badWords.hint":"If enabled, every post / update of comment is going to be checked against bad wording","page.settings.form.gqlAuth.label":"GraphQL queries authorization","page.settings.form.gqlAuth.hint":"If enabled, GraphQL API queries & mutations can be triggered only by Authenticated Strapi users. Otherwise API remains open.","page.settings.form.approvalFlow.label":"Approval flow","page.settings.form.approvalFlow.hint":'Comments associated with content type "{name}" are going to be taken through manual approval flow',"page.settings.form.entryLabel.label":"Title fields","page.settings.form.entryLabel.placeholder":"Select at least one or leave empty to apply defaults","page.settings.form.entryLabel.hint":'If left empty title rendering is going to take following ordered fields: "Title", "Subject" & "Name"',"page.settings.form.client.url.label":"Portal URL","page.settings.form.client.url.hint":"URL where your client portal is available","page.settings.form.client.email.label":"Communication e-mail","page.settings.form.client.email.hint":"E-mail address used for mailings, communication with users on behalf of portal team","page.settings.actions.restore.confirmation.header":"Restore default configuration","page.settings.actions.restore.confirmation.description":"You're about to restore plugin configuration to it default values. It might have destructive impact on already collected content. Do you really want to proceed?","page.settings.actions.restore.confirmation.button.confirm":"Yes, I want to restore","page.settings.actions.restart.alert.title":"Strapi requires restart","page.settings.actions.restart.alert.description":"You've made a configuration changes which requires your Strapi application to be restarted to take an effect in GraphQL schema. Do it manually or by using below trigger.","page.settings.actions.restart.alert.close":"Discard","page.settings.notification.fetch.error":"Failed to fetch configuration. Retrying...","page.settings.notification.submit.success":"Configuration has been saved successfully","page.settings.notification.submit.error":"Failed to save configuration. Try again.","page.settings.notification.restore.success":"Configuration has been restored successfully","page.settings.notification.restore.error":"Failed to restore configuration. Try again.","page.settings.notification.restart.success":"Application has been restarted successfully","page.settings.notification.restart.error":"Failed to restart your application. Try to do it manually.","page.settings.loading":"Fetching configuration...","page.settings.form.author.blockedProps.label":"Blocked author details","page.settings.form.author.blockedProps.hint":"Specified properties will be filtered out from author's details (comma-separated)","components.confirmation.dialog.header":"Confirmation","components.confirmation.dialog.description":"Do you really want to perform this action?","components.confirmation.dialog.button.confirm":"Yes, I do","components.confirmation.dialog.button.cancel":"Cancel","components.toogle.enabled":"Enabled","components.toogle.disabled":"Disabled","components.author.unknown":"Author removed","components.reason.unknown":"Reason not provided","components.content.unknown":"Content not provided","components.notAccessPage.back":"Back to homepage","customField.comments.label":"Comments","customField.comments.description":"Specify comments query params","customField.comments.input.commentsNumber.label":"Number of comments","customField.comments.input.renderType.label":"Render comments as","customField.comments.input.renderType.option.tree.label":"Tree","customField.comments.input.renderType.option.flat.label":"Flat list","customField.comments.input.sortByDate.label":"Sort by creation date","customField.comments.input.sortByDate.option.asc.label":"Ascending","customField.comments.input.sortByDate.option.desc.label":"Descending","customField.comments.input.filterBy.label":"Filter by","customField.comments.input.filterBy.option.dateCreated.label":"Creation date","customField.comments.input.filterBy.option.dateCreated.label.details.label":"Specify date","customField.comments.input.filterBy.option.approvalStatus.label":"Approval Status","customField.comments.input.filterBy.option.approvalStatus.label.details.label":"Specify status","customField.comments.input.filterBy.option.approvalStatus.option.pending.label":"Pending","customField.comments.input.filterBy.option.approvalStatus.option.approved.label":"Approved","customField.comments.input.filterBy.option.approvalStatus.option.rejected.label":"Rejected","customField.comments.input.populate.label":"Populate","customField.comments.input.populate.author.label":"Populate author field","customField.comments.input.populate.avatar.label":"Populate avatar field"};exports.default=e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={"plugin.name":"Commentaires","plugin.section":"Plugin de commentaires","plugin.section.item":"Configuration","common.button.back":"Retour","nav.header.moderation":"Modération","nav.header.settings":"Paramètres","nav.item.updates":"Mises à jour","nav.item.discover":"Découvrir","nav.item.reports":"Signalements","nav.item.settings":"Paramètres","page.auth.noAccess":"Aucun accès","page.auth.not.allowed":"Oups ! Il semble que vous n'ayez pas accès à cette page…","page.common.item.status.OPEN":"Ouvert","page.common.item.status.PENDING":"En attente","page.common.item.status.BLOCKED":"Bloqué","page.common.item.status.APPROVED":"Approuvé","page.common.item.status.RESOLVED":"Résolu","page.common.item.status.TO_REVIEW":"À examiner ({count, number})","page.common.item.status.REJECTED":"Rejeté","page.common.item.status.REMOVED":"Retiré par l'auteur","page.common.item.status.setFilter":"Définir le statut…","page.updates.header":"Mises à jour récentes","page.discover.header":"Découvrir les fils de discussion","page.discover.header.count":"entrées trouvées","page.discover.table.header.id":"ID","page.discover.table.header.author":"Auteur","page.discover.table.header.message":"Message","page.discover.table.header.thread":"Fil de discussion de","page.discover.table.header.entry":"Entrée","page.discover.table.header.lastUpdate":"Dernière mise à jour","page.discover.table.header.status":"Statut","page.discover.table.header.actions":"Actions","page.discover.table.cell.thread":"Commentaire #{id}","page.discover.table.action.display":"Afficher","page.discover.table.action.reports":"Signalements","page.discover.table.empty":"Vous n'avez pas encore de commentaires.","page.discover.table.empty.search":"Aucun commentaire ne correspond à votre recherche.","page.discover.table.filters":"Filtrage","page.discover.table.reports.review":"Examen des signalements","page.reports.header":"Résoudre les signalements","page.reports.table.empty":"Vous n'avez pas encore de signalements.","page.reports.table.empty.search":"Aucun signalement ne correspond à votre recherche.","page.reports.table.header.id":"ID","page.reports.table.header.reason":"Motif","page.reports.table.header.content":"Contenu","page.reports.table.header.status":"Statut","page.reports.table.header.issueDate":"Date du problème","page.reports.table.header.relatedComment":"Commentaire associé","page.reports.table.header.actions":"Actions","page.reports.table.cell.action.resolve":"résolu","page.reports.table.cell.action.block":"Bloquer","page.details.header":"Panneau de discussion","page.details.header.description":"Exploration et gestion de discussions relatives à l'entité","page.details.header.description.empty":"Cette entrée a été supprimée","page.details.panel.discussion":"Discussion","page.details.panel.discussion.nav.drilldown":"Exploration","page.details.panel.discussion.nav.back":"Retour en haut","page.details.panel.discussion.warnings.reports.description":"signalements ouverts","page.details.panel.discussion.warnings.reports.review":"Examiner","page.details.panel.discussion.warnings.reports.dialog.list":"Signalements","page.details.panel.discussion.warnings.reports.dialog.header":"Modération : Examiner les signalements ouverts","page.details.panel.discussion.warnings.reports.dialog.selectAll":"Sélectionner toutes les entrées","page.details.panel.discussion.warnings.reports.dialog.select":"Sélectionnez l'entité","page.details.panel.discussion.warnings.reports.dialog.reason":"Motif","page.details.panel.discussion.warnings.reports.dialog.reason.BAD_LANGUAGE":"Langage grossier","page.details.panel.discussion.warnings.reports.dialog.reason.DISCRIMINATION":"Discrimination","page.details.panel.discussion.warnings.reports.dialog.reason.OTHER":"Autre","page.details.panel.discussion.warnings.reports.dialog.content":"Contenu","page.details.panel.discussion.warnings.reports.dialog.createdAt":"Date de création","page.details.panel.discussion.warnings.reports.dialog.status":"Statut","page.details.panel.discussion.warnings.reports.dialog.status.OPEN":"Ouvert","page.details.panel.discussion.warnings.reports.dialog.status.RESOLVED":"Résolu","page.details.panel.discussion.warnings.reports.dialog.actions":"Actions","page.details.panel.discussion.warnings.reports.dialog.actions.resolve":"Résoudre","page.details.panel.discussion.warnings.reports.dialog.actions.resolve.selected":"Résoudre les signalements ({count})","page.details.panel.discussion.warnings.reports.dialog.confirmation.success":"Le signalement ouvert a été résolu","page.details.panel.discussion.warnings.reports.selected.dialog.confirmation.success":"Les signalements ouverts ont été résolus","page.details.panel.discussion.warnings.comments.header":"Modération : Examiner le commentaire signalé","page.details.panel.discussion.status.blocked":"Bloqué","page.details.panel.discussion.reply":"Répondre","page.details.panel.discussion.reopen":"Réouvrir","page.details.panel.discussion.send":"Envoyer la réponse du modérateur","page.details.actions.comment.post.confirmation":"Le commentaire a été publié","page.details.actions.comment.update.confirmation":"Le commentaire a été mis à jour","page.details.panel.entity":"Détail de l'entité","page.details.panel.status":"La discussion est","page.details.panel.status.open":"Ouverte","page.details.panel.status.blocked":"Bloquée","page.details.panel.status.pending":"En attente","page.details.panel.loading":"Récupération de l'entité…","page.details.actions.comment.block":"Bloquer le commentaire","page.details.actions.comment.block.confirmation.header":"Modération : Bloquer le commentaire","page.details.actions.comment.block.confirmation.description":"Voulez-vous vraiment bloquer ce commentaire ?","page.details.actions.comment.block.confirmation.button.confirm":"Oui, bloquer","page.details.actions.comment.block.confirmation.success":"Le commentaire a été bloqué","page.details.actions.comment.unblock":"Débloquer le commentaire","page.details.actions.comment.unblock.confirmation.success":"Le commentaire a été débloqué","page.details.actions.comment.delete":"Supprimer le commentaire","page.details.actions.comment.delete.confirmation.success":"Le commentaire a été supprimé","page.details.actions.comment.reports.review":"Examiner","page.details.actions.thread.block":"Bloquer le fil de discussion","page.details.actions.thread.block.confirmation.header":"Modération : Bloquer le fil de discussion","page.details.actions.thread.block.confirmation.description":"Voulez-vous vraiment bloquer tout le fil de discussion ? Aucune autre discussion ne sera autorisée.","page.details.actions.thread.block.confirmation.button.confirm":"Oui, bloquer","page.details.actions.thread.block.confirmation.success":"Le fil de discussion a été bloqué","page.details.actions.thread.unblock":"Débloquer le fil de discussion","page.details.actions.thread.unblock.confirmation.success":"Le fil de discussion a été débloqué","page.details.actions.thread.modal.start.thread":"Démarrer un fil de discussion","page.details.actions.thread.modal.update.comment":"Mettre à jour le commentaire","page.details.actions.comment.approve.confirmation.success":"Le commentaire a été approuvé","page.details.actions.comment.reject.confirmation.success":"Le commentaire a été rejeté","page.details.filters.label":"Voir","page.details.filters.removed.visibility":"Afficher les commentaires supprimés","page.coming.soon":"Attendez de voir ce qui va bientôt arriver…","page.settings":"Paramètres","page.settings.header.title":"Commentaires","page.settings.header.description":"Configurez vos capacités de modération des commentaires","page.settings.actions.submit":"Enregistrer","page.settings.actions.restore":"Restaurer les paramètres par défaut","page.settings.actions.restart":"Redémarrer Strapi","page.settings.section.general":"Configuration générale","page.settings.section.additional":"Configuration supplémentaire","page.settings.section.client":"Configuration du portail client","page.settings.section.restore":"Restaurer les paramètres par défaut","page.settings.section.restore.subtitle":"Suppression de tous les paramètres appliqués et retour aux paramètres par défaut du plugin. À utiliser avec prudence.","page.settings.form.enabledCollections.label":"Activer les commentaires uniquement pour","page.settings.form.enabledCollections.placeholder":"Sélectionnez une ou plusieurs collections","page.settings.form.enabledCollections.hint":"Si rien n'est sélectionné, tous les types de contenu sont activés","page.settings.form.contentTypesSettings.label":"Types de contenu","page.settings.form.contentTypesSettings.tooltip":"Configuration personnalisée par type de contenu","page.settings.form.moderatorRoles.label":"Envoyer des notifications importantes à","page.settings.form.moderatorRoles.placeholder":"Sélectionnez un ou plusieurs rôles","page.settings.form.moderatorRoles.hint":"Rôles qui seront notifiés par le plugin sur les actions importantes à effectuer","page.settings.form.badWords.label":"Filtrage des gros mots","page.settings.form.badWords.hint":"Si activé, chaque publication/mise à jour de commentaire sera vérifiée contre les gros mots","page.settings.form.gqlAuth.label":"Autorisation des requêtes GraphQL","page.settings.form.gqlAuth.hint":"Si activé, les requêtes et mutations de l'API GraphQL ne peuvent être déclenchées que par les utilisateurs Strapi authentifiés. Sinon, l'API reste ouverte.","page.settings.form.approvalFlow.label":"Flux de validation","page.settings.form.approvalFlow.hint":"Les commentaires associés au type de contenu « {nom} » seront soumis à un flux de vérification manuel","page.settings.form.entryLabel.label":"Champs de titre","page.settings.form.entryLabel.placeholder":"Sélectionnez au moins un champ ou laissez vide pour appliquer les valeurs par défaut","page.settings.form.entryLabel.hint":"Si vous laissez vide, le rendu du titre sera le suivant : « Titre », « Sujet » & « Nom »","page.settings.form.client.url.label":"URL du portail","page.settings.form.client.url.hint":"URL où votre portail client est disponible","page.settings.form.client.email.label":"E-mail de communication","page.settings.form.client.email.hint":"Adresse e-mail utilisée pour les campagnes de communication avec les utilisateurs au nom de l'équipe du portail","page.settings.actions.restore.confirmation.header":"Restaurer la configuration par défaut","page.settings.actions.restore.confirmation.description":"Vous êtes sur le point de restaurer la configuration du plugin à ses valeurs par défaut. Cela pourrait avoir un impact destructeur sur le contenu déjà collecté. Voulez-vous vraiment continuer ?","page.settings.actions.restore.confirmation.button.confirm":"Oui, je veux restaurer","page.settings.actions.restart.alert.title":"Strapi requiert un redémarrage","page.settings.actions.restart.alert.description":"Vous avez effectué un changement de configuration qui nécessite que votre application Strapi soit redémarrée pour prendre effet dans le schéma GraphQL. Faites-le manuellement ou en utilisant le déclencheur ci-dessous.","page.settings.actions.restart.alert.close":"Annuler","page.settings.notification.fetch.error":"Impossible de récupérer la configuration. Nouvelle tentative en cours…","page.settings.notification.submit.success":"La configuration a bien été enregistrée","page.settings.notification.submit.error":"Échec de l'enregistrement de la configuration. Veuillez rééssayer plus tard.","page.settings.notification.restore.success":"La configuration a bien été restaurée","page.settings.notification.restore.error":"Impossible de restaurer la configuration. Veuillez rééssayer plus tard.","page.settings.notification.restart.success":"L'application a bien été redémarrée","page.settings.notification.restart.error":"Le redémarrage de votre application a échoué. Essayez de le faire manuellement.","page.settings.loading":"Récupération de la configuration…","page.settings.form.author.blockedProps.label":"Détail de l'auteur bloqué","page.settings.form.author.blockedProps.hint":"Les propriétés indiquées seront masquées dans le détail de l'auteur (séparées par des virgules)","components.confirmation.dialog.header":"Confirmation","components.confirmation.dialog.description":"Voulez-vous vraiment effectuer cette action ?","components.confirmation.dialog.button.confirm":"Oui, je le veux","components.confirmation.dialog.button.cancel":"Annuler","components.toogle.enabled":"Activé","components.toogle.disabled":"Désactivé","components.author.unknown":"Auteur supprimé","components.reason.unknown":"Motif inconnu","components.content.unknown":"Contenu inconnu","components.notAccessPage.back":"Retour à la page d'accueil","customField.comments.label":"Commentaires","customField.comments.description":"Spécifiez les paramètres query des commentaires","customField.comments.input.commentsNumber.label":"Nombre de commentaires","customField.comments.input.renderType.label":"Afficher les commentaires sous forme de","customField.comments.input.renderType.option.tree.label":"Arbre","customField.comments.input.renderType.option.flat.label":"Liste","customField.comments.input.sortByDate.label":"Trier par date de création","customField.comments.input.sortByDate.option.asc.label":"Plus ancien","customField.comments.input.sortByDate.option.desc.label":"Plus récent","customField.comments.input.filterBy.label":"Filtrer par","customField.comments.input.filterBy.option.dateCreated.label":"Date de création","customField.comments.input.filterBy.option.dateCreated.label.details.label":"Date spécifique","customField.comments.input.filterBy.option.approvalStatus.label":"Statut d'approbation","customField.comments.input.filterBy.option.approvalStatus.label.details.label":"Statut spécifique","customField.comments.input.filterBy.option.approvalStatus.option.pending.label":"En attente","customField.comments.input.filterBy.option.approvalStatus.option.approved.label":"Approuvé","customField.comments.input.filterBy.option.approvalStatus.option.rejected.label":"Rejeté","customField.comments.input.populate.label":"Charger","customField.comments.input.populate.author.label":"Charger le champ auteur","customField.comments.input.populate.avatar.label":"Charger le champ avatar"};exports.default=e;