strapi-plugin-comments 3.1.0-beta.1 → 3.1.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 +25 -26
- package/dist/server/index.js +43 -43
- package/dist/server/index.mjs +1664 -1591
- package/dist/server/src/controllers/admin.controller.d.ts +1 -134
- package/dist/server/src/controllers/client.controller.d.ts +1 -134
- package/dist/server/src/controllers/index.d.ts +461 -389
- package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +1 -134
- package/dist/server/src/index.d.ts +13244 -7473
- package/dist/server/src/services/admin/admin.service.d.ts +2057 -246
- package/dist/server/src/services/client.service.d.ts +2086 -142
- package/dist/server/src/services/common.service.d.ts +2 -134
- package/dist/server/src/services/index.d.ts +12757 -7058
- package/dist/server/src/services/utils/functions.d.ts +1 -2
- package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +40 -40
- package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +446 -108
- package/dist/server/src/validators/utils.d.ts +50 -50
- package/package.json +1 -1
|
@@ -211,11 +211,11 @@ export declare const filtersValidator: z.ZodUnion<[z.ZodString, z.ZodNumber, z.Z
|
|
|
211
211
|
}, {
|
|
212
212
|
$notContainsi?: string;
|
|
213
213
|
}>]>, z.ZodObject<{
|
|
214
|
-
$null: z.
|
|
214
|
+
$null: z.ZodBoolean;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
|
-
$null?:
|
|
216
|
+
$null?: boolean;
|
|
217
217
|
}, {
|
|
218
|
-
$null?:
|
|
218
|
+
$null?: boolean;
|
|
219
219
|
}>, z.ZodObject<{
|
|
220
220
|
$notNull: z.ZodBoolean;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -320,11 +320,11 @@ export declare const getFiltersOperators: <T extends Record<string, boolean>>(di
|
|
|
320
320
|
}, {
|
|
321
321
|
$notContainsi?: string;
|
|
322
322
|
}>]>, z.ZodObject<{
|
|
323
|
-
$null: z.
|
|
323
|
+
$null: z.ZodBoolean;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
$null?:
|
|
325
|
+
$null?: boolean;
|
|
326
326
|
}, {
|
|
327
|
-
$null?:
|
|
327
|
+
$null?: boolean;
|
|
328
328
|
}>, z.ZodObject<{
|
|
329
329
|
$notNull: z.ZodBoolean;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -428,11 +428,11 @@ export declare const getFiltersOperators: <T extends Record<string, boolean>>(di
|
|
|
428
428
|
}, {
|
|
429
429
|
$notContainsi?: string;
|
|
430
430
|
}>]>, z.ZodObject<{
|
|
431
|
-
$null: z.
|
|
431
|
+
$null: z.ZodBoolean;
|
|
432
432
|
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
$null?:
|
|
433
|
+
$null?: boolean;
|
|
434
434
|
}, {
|
|
435
|
-
$null?:
|
|
435
|
+
$null?: boolean;
|
|
436
436
|
}>, z.ZodObject<{
|
|
437
437
|
$notNull: z.ZodBoolean;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -536,11 +536,11 @@ export declare const getFiltersOperators: <T extends Record<string, boolean>>(di
|
|
|
536
536
|
}, {
|
|
537
537
|
$notContainsi?: string;
|
|
538
538
|
}>]>, z.ZodObject<{
|
|
539
|
-
$null: z.
|
|
539
|
+
$null: z.ZodBoolean;
|
|
540
540
|
}, "strip", z.ZodTypeAny, {
|
|
541
|
-
$null?:
|
|
541
|
+
$null?: boolean;
|
|
542
542
|
}, {
|
|
543
|
-
$null?:
|
|
543
|
+
$null?: boolean;
|
|
544
544
|
}>, z.ZodObject<{
|
|
545
545
|
$notNull: z.ZodBoolean;
|
|
546
546
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -644,11 +644,11 @@ export declare const getFiltersOperators: <T extends Record<string, boolean>>(di
|
|
|
644
644
|
}, {
|
|
645
645
|
$notContainsi?: string;
|
|
646
646
|
}>]>, z.ZodObject<{
|
|
647
|
-
$null: z.
|
|
647
|
+
$null: z.ZodBoolean;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
$null?:
|
|
649
|
+
$null?: boolean;
|
|
650
650
|
}, {
|
|
651
|
-
$null?:
|
|
651
|
+
$null?: boolean;
|
|
652
652
|
}>, z.ZodObject<{
|
|
653
653
|
$notNull: z.ZodBoolean;
|
|
654
654
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -752,11 +752,11 @@ export declare const getFiltersOperators: <T extends Record<string, boolean>>(di
|
|
|
752
752
|
}, {
|
|
753
753
|
$notContainsi?: string;
|
|
754
754
|
}>]>, z.ZodObject<{
|
|
755
|
-
$null: z.
|
|
755
|
+
$null: z.ZodBoolean;
|
|
756
756
|
}, "strip", z.ZodTypeAny, {
|
|
757
|
-
$null?:
|
|
757
|
+
$null?: boolean;
|
|
758
758
|
}, {
|
|
759
|
-
$null?:
|
|
759
|
+
$null?: boolean;
|
|
760
760
|
}>, z.ZodObject<{
|
|
761
761
|
$notNull: z.ZodBoolean;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -878,11 +878,11 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
878
878
|
}, {
|
|
879
879
|
$notContainsi?: string;
|
|
880
880
|
}>]>, z.ZodObject<{
|
|
881
|
-
$null: z.
|
|
881
|
+
$null: z.ZodBoolean;
|
|
882
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
-
$null?:
|
|
883
|
+
$null?: boolean;
|
|
884
884
|
}, {
|
|
885
|
-
$null?:
|
|
885
|
+
$null?: boolean;
|
|
886
886
|
}>, z.ZodObject<{
|
|
887
887
|
$notNull: z.ZodBoolean;
|
|
888
888
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -987,11 +987,11 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
987
987
|
}, {
|
|
988
988
|
$notContainsi?: string;
|
|
989
989
|
}>]>, z.ZodObject<{
|
|
990
|
-
$null: z.
|
|
990
|
+
$null: z.ZodBoolean;
|
|
991
991
|
}, "strip", z.ZodTypeAny, {
|
|
992
|
-
$null?:
|
|
992
|
+
$null?: boolean;
|
|
993
993
|
}, {
|
|
994
|
-
$null?:
|
|
994
|
+
$null?: boolean;
|
|
995
995
|
}>, z.ZodObject<{
|
|
996
996
|
$notNull: z.ZodBoolean;
|
|
997
997
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1098,11 +1098,11 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1098
1098
|
}, {
|
|
1099
1099
|
$notContainsi?: string;
|
|
1100
1100
|
}>]>, z.ZodObject<{
|
|
1101
|
-
$null: z.
|
|
1101
|
+
$null: z.ZodBoolean;
|
|
1102
1102
|
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
$null?:
|
|
1103
|
+
$null?: boolean;
|
|
1104
1104
|
}, {
|
|
1105
|
-
$null?:
|
|
1105
|
+
$null?: boolean;
|
|
1106
1106
|
}>, z.ZodObject<{
|
|
1107
1107
|
$notNull: z.ZodBoolean;
|
|
1108
1108
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1207,11 +1207,11 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1207
1207
|
}, {
|
|
1208
1208
|
$notContainsi?: string;
|
|
1209
1209
|
}>]>, z.ZodObject<{
|
|
1210
|
-
$null: z.
|
|
1210
|
+
$null: z.ZodBoolean;
|
|
1211
1211
|
}, "strip", z.ZodTypeAny, {
|
|
1212
|
-
$null?:
|
|
1212
|
+
$null?: boolean;
|
|
1213
1213
|
}, {
|
|
1214
|
-
$null?:
|
|
1214
|
+
$null?: boolean;
|
|
1215
1215
|
}>, z.ZodObject<{
|
|
1216
1216
|
$notNull: z.ZodBoolean;
|
|
1217
1217
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1253,7 +1253,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1253
1253
|
} | {
|
|
1254
1254
|
$notContainsi?: string;
|
|
1255
1255
|
} | {
|
|
1256
|
-
$null?:
|
|
1256
|
+
$null?: boolean;
|
|
1257
1257
|
} | {
|
|
1258
1258
|
$notNull?: boolean;
|
|
1259
1259
|
};
|
|
@@ -1290,7 +1290,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1290
1290
|
} | {
|
|
1291
1291
|
$notContainsi?: string;
|
|
1292
1292
|
} | {
|
|
1293
|
-
$null?:
|
|
1293
|
+
$null?: boolean;
|
|
1294
1294
|
} | {
|
|
1295
1295
|
$notNull?: boolean;
|
|
1296
1296
|
};
|
|
@@ -1328,7 +1328,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1328
1328
|
} | {
|
|
1329
1329
|
$notContainsi?: string;
|
|
1330
1330
|
} | {
|
|
1331
|
-
$null?:
|
|
1331
|
+
$null?: boolean;
|
|
1332
1332
|
} | {
|
|
1333
1333
|
$notNull?: boolean;
|
|
1334
1334
|
};
|
|
@@ -1365,7 +1365,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1365
1365
|
} | {
|
|
1366
1366
|
$notContainsi?: string;
|
|
1367
1367
|
} | {
|
|
1368
|
-
$null?:
|
|
1368
|
+
$null?: boolean;
|
|
1369
1369
|
} | {
|
|
1370
1370
|
$notNull?: boolean;
|
|
1371
1371
|
};
|
|
@@ -1404,7 +1404,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1404
1404
|
} | {
|
|
1405
1405
|
$notContainsi?: string;
|
|
1406
1406
|
} | {
|
|
1407
|
-
$null?:
|
|
1407
|
+
$null?: boolean;
|
|
1408
1408
|
} | {
|
|
1409
1409
|
$notNull?: boolean;
|
|
1410
1410
|
};
|
|
@@ -1441,7 +1441,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1441
1441
|
} | {
|
|
1442
1442
|
$notContainsi?: string;
|
|
1443
1443
|
} | {
|
|
1444
|
-
$null?:
|
|
1444
|
+
$null?: boolean;
|
|
1445
1445
|
} | {
|
|
1446
1446
|
$notNull?: boolean;
|
|
1447
1447
|
};
|
|
@@ -1479,7 +1479,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1479
1479
|
} | {
|
|
1480
1480
|
$notContainsi?: string;
|
|
1481
1481
|
} | {
|
|
1482
|
-
$null?:
|
|
1482
|
+
$null?: boolean;
|
|
1483
1483
|
} | {
|
|
1484
1484
|
$notNull?: boolean;
|
|
1485
1485
|
};
|
|
@@ -1516,7 +1516,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1516
1516
|
} | {
|
|
1517
1517
|
$notContainsi?: string;
|
|
1518
1518
|
} | {
|
|
1519
|
-
$null?:
|
|
1519
|
+
$null?: boolean;
|
|
1520
1520
|
} | {
|
|
1521
1521
|
$notNull?: boolean;
|
|
1522
1522
|
};
|
|
@@ -1555,7 +1555,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1555
1555
|
} | {
|
|
1556
1556
|
$notContainsi?: string;
|
|
1557
1557
|
} | {
|
|
1558
|
-
$null?:
|
|
1558
|
+
$null?: boolean;
|
|
1559
1559
|
} | {
|
|
1560
1560
|
$notNull?: boolean;
|
|
1561
1561
|
};
|
|
@@ -1592,7 +1592,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1592
1592
|
} | {
|
|
1593
1593
|
$notContainsi?: string;
|
|
1594
1594
|
} | {
|
|
1595
|
-
$null?:
|
|
1595
|
+
$null?: boolean;
|
|
1596
1596
|
} | {
|
|
1597
1597
|
$notNull?: boolean;
|
|
1598
1598
|
};
|
|
@@ -1630,7 +1630,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1630
1630
|
} | {
|
|
1631
1631
|
$notContainsi?: string;
|
|
1632
1632
|
} | {
|
|
1633
|
-
$null?:
|
|
1633
|
+
$null?: boolean;
|
|
1634
1634
|
} | {
|
|
1635
1635
|
$notNull?: boolean;
|
|
1636
1636
|
};
|
|
@@ -1667,7 +1667,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1667
1667
|
} | {
|
|
1668
1668
|
$notContainsi?: string;
|
|
1669
1669
|
} | {
|
|
1670
|
-
$null?:
|
|
1670
|
+
$null?: boolean;
|
|
1671
1671
|
} | {
|
|
1672
1672
|
$notNull?: boolean;
|
|
1673
1673
|
};
|
|
@@ -1712,7 +1712,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1712
1712
|
} | {
|
|
1713
1713
|
$notContainsi?: string;
|
|
1714
1714
|
} | {
|
|
1715
|
-
$null?:
|
|
1715
|
+
$null?: boolean;
|
|
1716
1716
|
} | {
|
|
1717
1717
|
$notNull?: boolean;
|
|
1718
1718
|
};
|
|
@@ -1749,7 +1749,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1749
1749
|
} | {
|
|
1750
1750
|
$notContainsi?: string;
|
|
1751
1751
|
} | {
|
|
1752
|
-
$null?:
|
|
1752
|
+
$null?: boolean;
|
|
1753
1753
|
} | {
|
|
1754
1754
|
$notNull?: boolean;
|
|
1755
1755
|
};
|
|
@@ -1787,7 +1787,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1787
1787
|
} | {
|
|
1788
1788
|
$notContainsi?: string;
|
|
1789
1789
|
} | {
|
|
1790
|
-
$null?:
|
|
1790
|
+
$null?: boolean;
|
|
1791
1791
|
} | {
|
|
1792
1792
|
$notNull?: boolean;
|
|
1793
1793
|
};
|
|
@@ -1824,7 +1824,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1824
1824
|
} | {
|
|
1825
1825
|
$notContainsi?: string;
|
|
1826
1826
|
} | {
|
|
1827
|
-
$null?:
|
|
1827
|
+
$null?: boolean;
|
|
1828
1828
|
} | {
|
|
1829
1829
|
$notNull?: boolean;
|
|
1830
1830
|
};
|
|
@@ -1869,7 +1869,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1869
1869
|
} | {
|
|
1870
1870
|
$notContainsi?: string;
|
|
1871
1871
|
} | {
|
|
1872
|
-
$null?:
|
|
1872
|
+
$null?: boolean;
|
|
1873
1873
|
} | {
|
|
1874
1874
|
$notNull?: boolean;
|
|
1875
1875
|
};
|
|
@@ -1906,7 +1906,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1906
1906
|
} | {
|
|
1907
1907
|
$notContainsi?: string;
|
|
1908
1908
|
} | {
|
|
1909
|
-
$null?:
|
|
1909
|
+
$null?: boolean;
|
|
1910
1910
|
} | {
|
|
1911
1911
|
$notNull?: boolean;
|
|
1912
1912
|
};
|
|
@@ -1944,7 +1944,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1944
1944
|
} | {
|
|
1945
1945
|
$notContainsi?: string;
|
|
1946
1946
|
} | {
|
|
1947
|
-
$null?:
|
|
1947
|
+
$null?: boolean;
|
|
1948
1948
|
} | {
|
|
1949
1949
|
$notNull?: boolean;
|
|
1950
1950
|
};
|
|
@@ -1981,7 +1981,7 @@ export declare const queryPaginationSchema: z.ZodObject<{
|
|
|
1981
1981
|
} | {
|
|
1982
1982
|
$notContainsi?: string;
|
|
1983
1983
|
} | {
|
|
1984
|
-
$null?:
|
|
1984
|
+
$null?: boolean;
|
|
1985
1985
|
} | {
|
|
1986
1986
|
$notNull?: boolean;
|
|
1987
1987
|
};
|