@rnaga/wp-next-admin 1.0.6 → 1.1.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/client/wp-admin/use-comment.d.ts +12 -12
- package/package.json +8 -8
|
@@ -20,8 +20,16 @@ export declare const useComment: (props: {
|
|
|
20
20
|
parent_user_id: number;
|
|
21
21
|
children?: Awaited<ReturnType<InstanceType<typeof import("@rnaga/wp-node/core/comment").Comment>["children"]>>;
|
|
22
22
|
count_children: number;
|
|
23
|
-
} &
|
|
24
|
-
|
|
23
|
+
} & {
|
|
24
|
+
comment_ID: number;
|
|
25
|
+
comment_post_ID: number;
|
|
26
|
+
comment_author: string;
|
|
27
|
+
comment_date: string;
|
|
28
|
+
comment_date_gmt: string;
|
|
29
|
+
comment_content: string;
|
|
30
|
+
comment_approved: string;
|
|
31
|
+
comment_type: string;
|
|
32
|
+
user_id: number;
|
|
25
33
|
}) | ({
|
|
26
34
|
comment_parent: number;
|
|
27
35
|
post_comment_count: number;
|
|
@@ -36,16 +44,8 @@ export declare const useComment: (props: {
|
|
|
36
44
|
parent_user_id: number;
|
|
37
45
|
children?: Awaited<ReturnType<InstanceType<typeof import("@rnaga/wp-node/core/comment").Comment>["children"]>>;
|
|
38
46
|
count_children: number;
|
|
39
|
-
} & {
|
|
40
|
-
|
|
41
|
-
comment_post_ID: number;
|
|
42
|
-
comment_author: string;
|
|
43
|
-
comment_date: string;
|
|
44
|
-
comment_date_gmt: string;
|
|
45
|
-
comment_content: string;
|
|
46
|
-
comment_approved: string;
|
|
47
|
-
comment_type: string;
|
|
48
|
-
user_id: number;
|
|
47
|
+
} & import("@rnaga/wp-node/types").WpComments & {
|
|
48
|
+
metas: Record<string, any>;
|
|
49
49
|
}) | undefined;
|
|
50
50
|
isReply: boolean;
|
|
51
51
|
isOpen: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnaga/wp-next-admin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Admin interface for WP Next",
|
|
6
6
|
"author": "Ryohei Nagatsuka",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"nextjs"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
-
"dev": "next dev",
|
|
14
|
-
"build:dev": "NEXT_BUILD_DEV=true next build",
|
|
13
|
+
"dev": "next dev --webpack",
|
|
14
|
+
"build:dev": "NEXT_BUILD_DEV=true next build --webpack",
|
|
15
15
|
"build:dev-turbopack": "NEXT_BUILD_DEV=true next build --turbo",
|
|
16
16
|
"start": "next start",
|
|
17
17
|
"lint": "next lint",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@mui/x-date-pickers": "^7.10.0",
|
|
27
27
|
"@mui/x-tree-view": "^7.10.0",
|
|
28
28
|
"@preact/signals-react": "^2.1.0",
|
|
29
|
-
"@rnaga/wp-next-core": "^1
|
|
30
|
-
"@rnaga/wp-next-rte": "^1
|
|
31
|
-
"@rnaga/wp-next-ui": "^1
|
|
32
|
-
"@rnaga/wp-node": "^1
|
|
29
|
+
"@rnaga/wp-next-core": "^1",
|
|
30
|
+
"@rnaga/wp-next-rte": "^1",
|
|
31
|
+
"@rnaga/wp-next-ui": "^1",
|
|
32
|
+
"@rnaga/wp-node": "^1",
|
|
33
33
|
"dayjs": "^1.11.11",
|
|
34
34
|
"diff": "^5.2.0",
|
|
35
35
|
"diff2html": "^3.4.48",
|
|
36
36
|
"html-react-parser": "^5.1.10",
|
|
37
37
|
"mime-types": "^2.1.35",
|
|
38
|
-
"next": "^
|
|
38
|
+
"next": "^16.1",
|
|
39
39
|
"react": "^19",
|
|
40
40
|
"react-dom": "^19",
|
|
41
41
|
"react-error-boundary": "^4.0.13",
|