strapi-plugin-comments 3.0.0-beta.0 → 3.0.0-beta.1
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 +6 -5
- package/dist/_chunks/{index-h-TB6Qu2.mjs → index-BBcsmSTs.mjs} +6976 -6733
- package/dist/_chunks/{index-CTjupB9v.js → index-BFPteXuP.js} +2 -2
- package/dist/_chunks/{index-B6Q4U8YQ.js → index-BXEk5PWx.js} +9 -5
- package/dist/_chunks/{index-BVj8EXjI.js → index-Bcck91A8.js} +5 -10
- package/dist/_chunks/{index-fAgatqD0.js → index-CY_AVWS-.js} +6987 -6744
- package/dist/_chunks/{index-fSb-gYwg.mjs → index-D3iNqWZT.mjs} +2 -2
- package/dist/_chunks/{index-Bpbf7RON.mjs → index-D9MOkoQ2.mjs} +9 -5
- package/dist/_chunks/{index-BQERo8pN.mjs → index-DJ32APz-.mjs} +5 -10
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/client.d.ts +3 -2
- package/dist/admin/src/api/schemas.d.ts +22 -8
- package/dist/admin/src/contexts/UserContext.d.ts +1 -1
- package/dist/admin/src/hooks/useAPI.d.ts +4 -3
- package/dist/admin/src/hooks/useCommentMutations.d.ts +1 -1
- package/dist/admin/src/hooks/useCommentsAll.d.ts +1 -0
- 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 +9245 -2459
- package/dist/server/index.mjs +9245 -2459
- package/dist/server/src/config/index.d.ts +22 -0
- package/dist/server/src/controllers/admin.controller.d.ts +3 -1
- package/dist/server/src/controllers/client.controller.d.ts +36 -2
- package/dist/server/src/controllers/index.d.ts +213 -115
- package/dist/server/src/controllers/settings.controller.d.ts +25 -1
- 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 +89 -0
- package/dist/server/src/graphql/mutations/getCreateComment.d.ts +78 -0
- package/dist/server/src/graphql/mutations/getRemoveComment.d.ts +78 -0
- package/dist/server/src/graphql/mutations/getUpdateComment.d.ts +78 -0
- package/dist/server/src/graphql/mutations/index.d.ts +3 -0
- package/dist/server/src/graphql/queries/findAllFlat.d.ts +165 -0
- package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +81 -0
- package/dist/server/src/graphql/queries/findAllPerAuthor.d.ts +164 -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 +771 -471
- package/dist/server/src/repositories/store.repository.d.ts +17 -2
- package/dist/server/src/services/admin/admin.service.d.ts +174 -117
- package/dist/server/src/services/client.service.d.ts +173 -118
- package/dist/server/src/services/common.service.d.ts +8 -5
- package/dist/server/src/services/gql.service.d.ts +7 -0
- package/dist/server/src/services/index.d.ts +549 -356
- package/dist/server/src/services/settings.service.d.ts +19 -1
- package/dist/server/src/services/utils/functions.d.ts +9 -3
- package/dist/server/src/utils/getConfig.d.ts +1 -1
- package/dist/server/src/utils/getPluginService.d.ts +1 -1
- package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +112 -77
- package/dist/server/src/validators/api/controllers/settings.controller.validator.d.ts +3 -3
- package/dist/server/src/validators/repositories/comment.validator.d.ts +16 -0
- package/dist/server/src/validators/utils.d.ts +1 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -60,7 +60,8 @@ A plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that provid
|
|
|
60
60
|
|
|
61
61
|
## ⚙️ Versions
|
|
62
62
|
|
|
63
|
-
- **Strapi
|
|
63
|
+
- **Strapi v5** - (current) - [v3.x](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/tree/v5)
|
|
64
|
+
- **Strapi v4** - [v2.x](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments)
|
|
64
65
|
- **Strapi v3** - [v1.x](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/tree/strapi-v3)
|
|
65
66
|
|
|
66
67
|
## ⏳ Installation
|
|
@@ -136,13 +137,13 @@ In our minimum support we're following [official Node.js releases timelines](htt
|
|
|
136
137
|
|
|
137
138
|
**Supported Strapi versions**:
|
|
138
139
|
|
|
139
|
-
- Strapi
|
|
140
|
-
- Strapi
|
|
140
|
+
- Strapi v5.4.1 (recently tested)
|
|
141
|
+
- Strapi v5.x
|
|
141
142
|
|
|
142
|
-
> This plugin is designed for **Strapi
|
|
143
|
+
> This plugin is designed for **Strapi v5** and is not working with v4.x and lower. To get version for older **Strapi versions** refer to the [versions section](#-versions).
|
|
143
144
|
|
|
144
145
|
**Plugin dependencies**
|
|
145
|
-
- `@strapi/plugin-graphql` - required to run
|
|
146
|
+
- `@strapi/plugin-graphql` - required to run GraphQL handled by this plugin
|
|
146
147
|
|
|
147
148
|
**We recommend always using the latest version of Strapi to start your new projects**.
|
|
148
149
|
|