strapi-plugin-comments 3.2.3-beta.1 → 3.2.3-beta.2

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.
@@ -1,6 +1,6 @@
1
1
  import * as Fr from "react";
2
2
  import { useMemo as ql, createContext as u_, useState as ll } from "react";
3
- import { p as a_, a as Rr } from "./index-BFK8nlhm.mjs";
3
+ import { p as a_, a as Rr } from "./index-BOiPKIfk.mjs";
4
4
  import { jsx as Ye, jsxs as ti } from "react/jsx-runtime";
5
5
  import { useQuery as f_, QueryClientProvider as l_, QueryClient as s_ } from "@tanstack/react-query";
6
6
  import { getFetchClient as c_, useRBAC as p_ } from "@strapi/strapi/admin";
@@ -5427,9 +5427,9 @@ const ws = Eu(), g1 = v.object({
5427
5427
  name: v.string(),
5428
5428
  code: v.string(),
5429
5429
  description: v.string(),
5430
- createdAt: v.string(),
5431
- updatedAt: v.string(),
5432
- publishedAt: v.string(),
5430
+ createdAt: v.string().nullable(),
5431
+ updatedAt: v.string().nullable(),
5432
+ publishedAt: v.string().nullable(),
5433
5433
  locale: v.string().nullable(),
5434
5434
  usersCount: v.number()
5435
5435
  }), w1 = v.object({
@@ -5445,11 +5445,11 @@ const ws = Eu(), g1 = v.object({
5445
5445
  username: v.string().nullable(),
5446
5446
  email: v.string(),
5447
5447
  isActive: v.boolean(),
5448
- blocked: v.boolean(),
5448
+ blocked: v.boolean().nullable(),
5449
5449
  preferedLanguage: v.string().nullable(),
5450
- createdAt: v.string(),
5451
- updatedAt: v.string(),
5452
- publishedAt: v.string(),
5450
+ createdAt: v.string().nullable(),
5451
+ updatedAt: v.string().nullable(),
5452
+ publishedAt: v.string().nullable(),
5453
5453
  locale: v.null(),
5454
5454
  roles: v.array(
5455
5455
  v.object({
@@ -1 +1 @@
1
- "use strict";const e=require("../_chunks/index-BIcDaXS9.js");require("react");require("@strapi/design-system");require("@strapi/icons");module.exports=e.index;
1
+ "use strict";const e=require("../_chunks/index-DMbK1qUe.js");require("react");require("@strapi/design-system");require("@strapi/icons");module.exports=e.index;
@@ -1,4 +1,4 @@
1
- import { i as p } from "../_chunks/index-BFK8nlhm.mjs";
1
+ import { i as p } from "../_chunks/index-BOiPKIfk.mjs";
2
2
  import "react";
3
3
  import "@strapi/design-system";
4
4
  import "@strapi/icons";
@@ -76,9 +76,9 @@ export declare const getApiClient: (fetch: ReturnType<typeof getFetchClient>) =>
76
76
  code: string;
77
77
  id: number;
78
78
  documentId: string;
79
- createdAt: string;
80
- updatedAt: string;
81
- publishedAt: string;
79
+ createdAt: string | null;
80
+ updatedAt: string | null;
81
+ publishedAt: string | null;
82
82
  locale: string | null;
83
83
  name: string;
84
84
  description: string;
@@ -91,11 +91,11 @@ export declare const getApiClient: (fetch: ReturnType<typeof getFetchClient>) =>
91
91
  email: string;
92
92
  id: number;
93
93
  documentId: string;
94
- createdAt: string;
95
- updatedAt: string;
96
- publishedAt: string;
94
+ createdAt: string | null;
95
+ updatedAt: string | null;
96
+ publishedAt: string | null;
97
97
  locale: null;
98
- blocked: boolean;
98
+ blocked: boolean | null;
99
99
  firstname: string;
100
100
  lastname: string | null;
101
101
  username: string | null;
@@ -2957,18 +2957,18 @@ export declare const rolesListSchema: z.ZodObject<{
2957
2957
  name: z.ZodString;
2958
2958
  code: z.ZodString;
2959
2959
  description: z.ZodString;
2960
- createdAt: z.ZodString;
2961
- updatedAt: z.ZodString;
2962
- publishedAt: z.ZodString;
2960
+ createdAt: z.ZodNullable<z.ZodString>;
2961
+ updatedAt: z.ZodNullable<z.ZodString>;
2962
+ publishedAt: z.ZodNullable<z.ZodString>;
2963
2963
  locale: z.ZodNullable<z.ZodString>;
2964
2964
  usersCount: z.ZodNumber;
2965
2965
  }, "strip", z.ZodTypeAny, {
2966
2966
  code: string;
2967
2967
  id: number;
2968
2968
  documentId: string;
2969
- createdAt: string;
2970
- updatedAt: string;
2971
- publishedAt: string;
2969
+ createdAt: string | null;
2970
+ updatedAt: string | null;
2971
+ publishedAt: string | null;
2972
2972
  locale: string | null;
2973
2973
  name: string;
2974
2974
  description: string;
@@ -2977,9 +2977,9 @@ export declare const rolesListSchema: z.ZodObject<{
2977
2977
  code: string;
2978
2978
  id: number;
2979
2979
  documentId: string;
2980
- createdAt: string;
2981
- updatedAt: string;
2982
- publishedAt: string;
2980
+ createdAt: string | null;
2981
+ updatedAt: string | null;
2982
+ publishedAt: string | null;
2983
2983
  locale: string | null;
2984
2984
  name: string;
2985
2985
  description: string;
@@ -2990,9 +2990,9 @@ export declare const rolesListSchema: z.ZodObject<{
2990
2990
  code: string;
2991
2991
  id: number;
2992
2992
  documentId: string;
2993
- createdAt: string;
2994
- updatedAt: string;
2995
- publishedAt: string;
2993
+ createdAt: string | null;
2994
+ updatedAt: string | null;
2995
+ publishedAt: string | null;
2996
2996
  locale: string | null;
2997
2997
  name: string;
2998
2998
  description: string;
@@ -3003,9 +3003,9 @@ export declare const rolesListSchema: z.ZodObject<{
3003
3003
  code: string;
3004
3004
  id: number;
3005
3005
  documentId: string;
3006
- createdAt: string;
3007
- updatedAt: string;
3008
- publishedAt: string;
3006
+ createdAt: string | null;
3007
+ updatedAt: string | null;
3008
+ publishedAt: string | null;
3009
3009
  locale: string | null;
3010
3010
  name: string;
3011
3011
  description: string;
@@ -3021,11 +3021,11 @@ export declare const userSchema: z.ZodObject<{
3021
3021
  username: z.ZodNullable<z.ZodString>;
3022
3022
  email: z.ZodString;
3023
3023
  isActive: z.ZodBoolean;
3024
- blocked: z.ZodBoolean;
3024
+ blocked: z.ZodNullable<z.ZodBoolean>;
3025
3025
  preferedLanguage: z.ZodNullable<z.ZodString>;
3026
- createdAt: z.ZodString;
3027
- updatedAt: z.ZodString;
3028
- publishedAt: z.ZodString;
3026
+ createdAt: z.ZodNullable<z.ZodString>;
3027
+ updatedAt: z.ZodNullable<z.ZodString>;
3028
+ publishedAt: z.ZodNullable<z.ZodString>;
3029
3029
  locale: z.ZodNull;
3030
3030
  roles: z.ZodArray<z.ZodObject<{
3031
3031
  id: z.ZodNumber;
@@ -3047,11 +3047,11 @@ export declare const userSchema: z.ZodObject<{
3047
3047
  email: string;
3048
3048
  id: number;
3049
3049
  documentId: string;
3050
- createdAt: string;
3051
- updatedAt: string;
3052
- publishedAt: string;
3050
+ createdAt: string | null;
3051
+ updatedAt: string | null;
3052
+ publishedAt: string | null;
3053
3053
  locale: null;
3054
- blocked: boolean;
3054
+ blocked: boolean | null;
3055
3055
  firstname: string;
3056
3056
  lastname: string | null;
3057
3057
  username: string | null;
@@ -3067,11 +3067,11 @@ export declare const userSchema: z.ZodObject<{
3067
3067
  email: string;
3068
3068
  id: number;
3069
3069
  documentId: string;
3070
- createdAt: string;
3071
- updatedAt: string;
3072
- publishedAt: string;
3070
+ createdAt: string | null;
3071
+ updatedAt: string | null;
3072
+ publishedAt: string | null;
3073
3073
  locale: null;
3074
- blocked: boolean;
3074
+ blocked: boolean | null;
3075
3075
  firstname: string;
3076
3076
  lastname: string | null;
3077
3077
  username: string | null;
@@ -3089,11 +3089,11 @@ export declare const userSchema: z.ZodObject<{
3089
3089
  email: string;
3090
3090
  id: number;
3091
3091
  documentId: string;
3092
- createdAt: string;
3093
- updatedAt: string;
3094
- publishedAt: string;
3092
+ createdAt: string | null;
3093
+ updatedAt: string | null;
3094
+ publishedAt: string | null;
3095
3095
  locale: null;
3096
- blocked: boolean;
3096
+ blocked: boolean | null;
3097
3097
  firstname: string;
3098
3098
  lastname: string | null;
3099
3099
  username: string | null;
@@ -3111,11 +3111,11 @@ export declare const userSchema: z.ZodObject<{
3111
3111
  email: string;
3112
3112
  id: number;
3113
3113
  documentId: string;
3114
- createdAt: string;
3115
- updatedAt: string;
3116
- publishedAt: string;
3114
+ createdAt: string | null;
3115
+ updatedAt: string | null;
3116
+ publishedAt: string | null;
3117
3117
  locale: null;
3118
- blocked: boolean;
3118
+ blocked: boolean | null;
3119
3119
  firstname: string;
3120
3120
  lastname: string | null;
3121
3121
  username: string | null;
@@ -3,11 +3,11 @@ export declare const UserContext: import("react").Context<{
3
3
  email: string;
4
4
  id: number;
5
5
  documentId: string;
6
- createdAt: string;
7
- updatedAt: string;
8
- publishedAt: string;
6
+ createdAt: string | null;
7
+ updatedAt: string | null;
8
+ publishedAt: string | null;
9
9
  locale: null;
10
- blocked: boolean;
10
+ blocked: boolean | null;
11
11
  firstname: string;
12
12
  lastname: string | null;
13
13
  username: string | null;
@@ -73,9 +73,9 @@ export declare const useAPI: () => {
73
73
  code: string;
74
74
  id: number;
75
75
  documentId: string;
76
- createdAt: string;
77
- updatedAt: string;
78
- publishedAt: string;
76
+ createdAt: string | null;
77
+ updatedAt: string | null;
78
+ publishedAt: string | null;
79
79
  locale: string | null;
80
80
  name: string;
81
81
  description: string;
@@ -88,11 +88,11 @@ export declare const useAPI: () => {
88
88
  email: string;
89
89
  id: number;
90
90
  documentId: string;
91
- createdAt: string;
92
- updatedAt: string;
93
- publishedAt: string;
91
+ createdAt: string | null;
92
+ updatedAt: string | null;
93
+ publishedAt: string | null;
94
94
  locale: null;
95
- blocked: boolean;
95
+ blocked: boolean | null;
96
96
  firstname: string;
97
97
  lastname: string | null;
98
98
  username: string | null;
@@ -302,11 +302,11 @@ export declare const useAPI: () => {
302
302
  email: string;
303
303
  id: number;
304
304
  documentId: string;
305
- createdAt: string;
306
- updatedAt: string;
307
- publishedAt: string;
305
+ createdAt: string | null;
306
+ updatedAt: string | null;
307
+ publishedAt: string | null;
308
308
  locale: null;
309
- blocked: boolean;
309
+ blocked: boolean | null;
310
310
  firstname: string;
311
311
  lastname: string | null;
312
312
  username: string | null;
@@ -34,11 +34,11 @@ export declare const useCommentMutations: (callbacksMutation?: CallbacksMutation
34
34
  email: string;
35
35
  id: number;
36
36
  documentId: string;
37
- createdAt: string;
38
- updatedAt: string;
39
- publishedAt: string;
37
+ createdAt: string | null;
38
+ updatedAt: string | null;
39
+ publishedAt: string | null;
40
40
  locale: null;
41
- blocked: boolean;
41
+ blocked: boolean | null;
42
42
  firstname: string;
43
43
  lastname: string | null;
44
44
  username: string | null;
@@ -2,11 +2,11 @@ export declare const useUserContext: () => {
2
2
  email: string;
3
3
  id: number;
4
4
  documentId: string;
5
- createdAt: string;
6
- updatedAt: string;
7
- publishedAt: string;
5
+ createdAt: string | null;
6
+ updatedAt: string | null;
7
+ publishedAt: string | null;
8
8
  locale: null;
9
- blocked: boolean;
9
+ blocked: boolean | null;
10
10
  firstname: string;
11
11
  lastname: string | null;
12
12
  username: string | null;
@@ -51,9 +51,9 @@ export declare const useSettingsAPI: (callbacksMutation?: CallbacksMutation) =>
51
51
  code: string;
52
52
  id: number;
53
53
  documentId: string;
54
- createdAt: string;
55
- updatedAt: string;
56
- publishedAt: string;
54
+ createdAt: string | null;
55
+ updatedAt: string | null;
56
+ publishedAt: string | null;
57
57
  locale: string | null;
58
58
  name: string;
59
59
  description: string;