strapi-plugin-comments 2.2.12 → 2.2.14
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/admin/src/components/ActionButton/styles.d.ts +1 -1
- package/admin/src/components/AdminAvatar/styles.d.ts +2 -2
- package/admin/src/components/DiscussionThreadItem/styles.d.ts +3 -3
- package/admin/src/components/DiscussionThreadItemActions/styles.d.ts +1 -1
- package/admin/src/components/DiscussionThreadItemApprovalFlowActions/styles.d.ts +1 -1
- package/admin/src/components/DiscussionThreadItemFooter/styles.d.ts +2 -2
- package/admin/src/components/FormSwitch/styles.d.ts +1 -1
- package/admin/src/components/IconButton/styles.d.ts +1 -1
- package/admin/src/components/LoadingIndicatorOverlay/styles.d.ts +1 -1
- package/admin/src/components/ModeratorResponse/styles.d.ts +1 -1
- package/admin/src/components/StatusBadge/styles.d.ts +1 -1
- package/admin/src/components/Wysiwyg/EditorLayout.d.ts +1 -1
- package/admin/src/components/Wysiwyg/WysiwygStyles.d.ts +6 -6
- package/admin/src/pages/Details/components/DetailsFilters/styles.d.ts +1 -1
- package/admin/src/pages/Discover/components/DiscoverTableRow/styles.d.ts +1 -1
- package/admin/src/pages/Reports/components/ReportsTableRow/styles.d.ts +1 -1
- package/admin/src/pages/Settings/components/RestartAlert/styles.d.ts +1 -1
- package/admin/src/reducers.d.ts +1 -1
- package/package.json +6 -6
- package/server/controllers/utils/functions.d.ts +1 -1
- package/server/graphql/mutations/createComment.d.ts +1 -1
- package/server/graphql/mutations/removeComment.d.ts +1 -1
- package/server/graphql/mutations/updateComment.d.ts +1 -1
- package/server/graphql/queries/findAllFlat.d.ts +1 -1
- package/server/graphql/queries/findAllInHierarchy.d.ts +1 -1
- package/server/graphql/queries/findAllPerAuthor.d.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ActionButton: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const ActionButton: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const AdminAvatarWrapper: import("styled-components").StyledComponent<any, any,
|
|
2
|
-
export declare const AdminShield: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const AdminAvatarWrapper: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
|
+
export declare const AdminShield: import("styled-components").StyledComponent<any, any, any, any>;
|
|
3
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const DiscussionThreadFullsize: import("styled-components").StyledComponent<any, any,
|
|
2
|
-
export declare const DiscussionThreadItemContent: import("styled-components").StyledComponent<any, any,
|
|
3
|
-
export declare const DiscussionThreadItemContainer: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const DiscussionThreadFullsize: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
|
+
export declare const DiscussionThreadItemContent: import("styled-components").StyledComponent<any, any, any, any>;
|
|
3
|
+
export declare const DiscussionThreadItemContainer: import("styled-components").StyledComponent<any, any, any, any>;
|
|
4
4
|
export declare const DiscussionThreadItemContentTypographyRenderer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const DiscussionThreadItemActionsWrapper: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const DiscussionThreadItemActionsWrapper: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const DiscussionThreadItemActionsGroupWrapper: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const DiscussionThreadItemActionsGroupWrapper: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const DiscussionThreadItemFooterStyled: import("styled-components").StyledComponent<any, any,
|
|
2
|
-
export declare const DiscussionThreadItemFooterMeta: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const DiscussionThreadItemFooterStyled: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
|
+
export declare const DiscussionThreadItemFooterMeta: import("styled-components").StyledComponent<any, any, any, any>;
|
|
3
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const StyledSwitch: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const StyledSwitch: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const IconButtonGroupStyled: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const IconButtonGroupStyled: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const LoadingIndicatorOverlayWrapper: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const LoadingIndicatorOverlayWrapper: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
export declare const LoadingIndicatorContainer: import("styled-components").StyledComponent<(props: any) => any, any, {}, never>;
|
|
3
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ModeratorResponseStyled: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const ModeratorResponseStyled: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const StatusBadge: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const StatusBadge: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const ExpandButton: import("styled-components").StyledComponent<any, any,
|
|
2
|
+
export declare const ExpandButton: import("styled-components").StyledComponent<any, any, any, any>;
|
|
3
3
|
type EditorLayoutProps = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
error: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const CustomIconButton: import("styled-components").StyledComponent<any, any,
|
|
2
|
-
export declare const CustomLinkIconButton: import("styled-components").StyledComponent<any, any,
|
|
3
|
-
export declare const MainButtons: import("styled-components").StyledComponent<any, any,
|
|
4
|
-
export declare const MoreButton: import("styled-components").StyledComponent<any, any,
|
|
5
|
-
export declare const IconButtonGroupMargin: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const CustomIconButton: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
|
+
export declare const CustomLinkIconButton: import("styled-components").StyledComponent<any, any, any, any>;
|
|
3
|
+
export declare const MainButtons: import("styled-components").StyledComponent<any, any, any, any>;
|
|
4
|
+
export declare const MoreButton: import("styled-components").StyledComponent<any, any, any, any>;
|
|
5
|
+
export declare const IconButtonGroupMargin: import("styled-components").StyledComponent<any, any, any, any>;
|
|
6
6
|
export declare const EditorAndPreviewWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const ExpandButton: import("styled-components").StyledComponent<any, any,
|
|
7
|
+
export declare const ExpandButton: import("styled-components").StyledComponent<any, any, any, any>;
|
|
8
8
|
//# sourceMappingURL=WysiwygStyles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TableLink: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const TableLink: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TableLink: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const TableLink: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TableLink: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const TableLink: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const RestartAlert: import("styled-components").StyledComponent<any, any,
|
|
1
|
+
export declare const RestartAlert: import("styled-components").StyledComponent<any, any, any, any>;
|
|
2
2
|
//# sourceMappingURL=styles.d.ts.map
|
package/admin/src/reducers.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strapi-plugin-comments",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "Strapi - Comments plugin",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "comments",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/VirtusLab-Open-Source/strapi-plugin-comments"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@strapi/plugin-graphql": "^4.
|
|
18
|
-
"@strapi/utils": "^4.
|
|
17
|
+
"@strapi/plugin-graphql": "^4.13.1",
|
|
18
|
+
"@strapi/utils": "^4.13.1",
|
|
19
19
|
"@types/axios": "^0.14.0",
|
|
20
20
|
"@types/react-intl": "^3.0.0",
|
|
21
21
|
"@types/react-query": "^1.2.9",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"devDependencies": {},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@strapi/strapi": "^4.0.0",
|
|
31
|
-
"react": "^
|
|
32
|
-
"react-dom": "^
|
|
31
|
+
"react": "^18.2.0",
|
|
32
|
+
"react-dom": "^18.2.0",
|
|
33
33
|
"react-router-dom": "5.3.4",
|
|
34
34
|
"styled-components": "5.3.3"
|
|
35
35
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
],
|
|
66
66
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
67
|
+
"node": ">=16.0.0 <=20.x.x",
|
|
68
68
|
"npm": ">=7.x.x"
|
|
69
69
|
},
|
|
70
70
|
"keywords": [
|
|
@@ -2,6 +2,6 @@ import { Id, StringMap, StrapiRequestContext } from "strapi-typed";
|
|
|
2
2
|
import PluginError from "../../utils/error";
|
|
3
3
|
type ParseResponse = StringMap<string | number | Id>;
|
|
4
4
|
export declare const parseParams: <T extends ParseResponse>(params: StringMap<string | number>) => T;
|
|
5
|
-
export declare const throwError: <T extends {} = never>(ctx: StrapiRequestContext<T
|
|
5
|
+
export declare const throwError: <T extends {} = never>(ctx: StrapiRequestContext<T>, e: PluginError | Error | unknown) => PluginError | Error | unknown | never;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=functions.d.ts.map
|
|
@@ -8,7 +8,7 @@ declare const _default: ({ nexus }: StrapiGraphQLContext) => {
|
|
|
8
8
|
args: {
|
|
9
9
|
input: any;
|
|
10
10
|
};
|
|
11
|
-
resolve(_: Object, args: CreateCommentProps, ctx: StrapiRequestContext<never> & ToBeFixed): Promise<import("../../../types").Comment
|
|
11
|
+
resolve(_: Object, args: CreateCommentProps, ctx: StrapiRequestContext<never> & ToBeFixed): Promise<import("../../../types").Comment>;
|
|
12
12
|
};
|
|
13
13
|
export = _default;
|
|
14
14
|
//# sourceMappingURL=createComment.d.ts.map
|
|
@@ -5,7 +5,7 @@ declare const _default: ({ nexus }: StrapiGraphQLContext) => {
|
|
|
5
5
|
args: {
|
|
6
6
|
input: any;
|
|
7
7
|
};
|
|
8
|
-
resolve(_: Object, args: NexusRequestProps, ctx: StrapiRequestContext<never> & ToBeFixed): Promise<import("../../../types").Comment
|
|
8
|
+
resolve(_: Object, args: NexusRequestProps, ctx: StrapiRequestContext<never> & ToBeFixed): Promise<import("../../../types").Comment>;
|
|
9
9
|
};
|
|
10
10
|
export = _default;
|
|
11
11
|
//# sourceMappingURL=removeComment.d.ts.map
|
|
@@ -5,7 +5,7 @@ declare const _default: ({ nexus }: StrapiGraphQLContext) => {
|
|
|
5
5
|
args: {
|
|
6
6
|
input: any;
|
|
7
7
|
};
|
|
8
|
-
resolve(_: Object, args: NexusRequestProps, ctx: StrapiRequestContext<never> & ToBeFixed): Promise<import("../../../types").Comment
|
|
8
|
+
resolve(_: Object, args: NexusRequestProps, ctx: StrapiRequestContext<never> & ToBeFixed): Promise<import("../../../types").Comment>;
|
|
9
9
|
};
|
|
10
10
|
export = _default;
|
|
11
11
|
//# sourceMappingURL=updateComment.d.ts.map
|
|
@@ -13,7 +13,7 @@ declare const _default: ({ strapi, nexus }: StrapiGraphQLContext) => {
|
|
|
13
13
|
pagination: any;
|
|
14
14
|
sort: any;
|
|
15
15
|
};
|
|
16
|
-
resolve(obj: Object, args: ResponseFindAllResolverProps): Promise<import("strapi-typed").StrapiPaginatedResponse<import("../../../types").Comment
|
|
16
|
+
resolve(obj: Object, args: ResponseFindAllResolverProps): Promise<import("strapi-typed").StrapiPaginatedResponse<import("../../../types").Comment>>;
|
|
17
17
|
};
|
|
18
18
|
export = _default;
|
|
19
19
|
//# sourceMappingURL=findAllFlat.d.ts.map
|
|
@@ -12,7 +12,7 @@ declare const _default: ({ strapi, nexus }: StrapiGraphQLContext) => {
|
|
|
12
12
|
sort: any;
|
|
13
13
|
filters: any;
|
|
14
14
|
};
|
|
15
|
-
resolve(obj: Object, args: findAllInHierarchyProps): Promise<import("../../../types").Comment
|
|
15
|
+
resolve(obj: Object, args: findAllInHierarchyProps): Promise<import("../../../types").Comment[]>;
|
|
16
16
|
};
|
|
17
17
|
export = _default;
|
|
18
18
|
//# sourceMappingURL=findAllInHierarchy.d.ts.map
|
|
@@ -15,7 +15,7 @@ declare const _default: ({ strapi, nexus }: StrapiGraphQLContext) => {
|
|
|
15
15
|
pagination: any;
|
|
16
16
|
sort: any;
|
|
17
17
|
};
|
|
18
|
-
resolve(obj: Object, args: ResponseFindAllPerAuthorResolverProps): Promise<import("strapi-typed").StrapiPaginatedResponse<import("../../../types").Comment
|
|
18
|
+
resolve(obj: Object, args: ResponseFindAllPerAuthorResolverProps): Promise<import("strapi-typed").StrapiPaginatedResponse<import("../../../types").Comment>>;
|
|
19
19
|
};
|
|
20
20
|
export = _default;
|
|
21
21
|
//# sourceMappingURL=findAllPerAuthor.d.ts.map
|