strapi-plugin-comments 2.2.17 → 2.3.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.
@@ -95,6 +95,7 @@ declare const _default: () => {
95
95
  };
96
96
  };
97
97
  };
98
+ lifecycles: Record<import("./server/utils/types").LifeCycleHookName, import("./types/utils").Effect<import("./server/utils/types").LifeCycleEvent<import("./server/utils/types").LifeCycleHookName, unknown, Record<string, unknown>>>>;
98
99
  };
99
100
  "comment-report": {
100
101
  schema: {
@@ -143,14 +144,15 @@ declare const _default: () => {
143
144
  };
144
145
  };
145
146
  };
147
+ lifecycles: Record<import("./server/utils/types").LifeCycleHookName, import("./types/utils").Effect<import("./server/utils/types").LifeCycleEvent<import("./server/utils/types").LifeCycleHookName, unknown, Record<string, unknown>>>>;
146
148
  };
147
149
  };
148
150
  config: {
149
151
  default: () => {
150
- enabledCollections: string[];
151
- moderatorRoles: string[];
152
- approvalFlow: string[];
153
- blockedAuthorProps: string[];
152
+ enabledCollections: Array<string>;
153
+ moderatorRoles: Array<string>;
154
+ approvalFlow: Array<string>;
155
+ blockedAuthorProps: Array<string>;
154
156
  entryLabel: PluginConfigEntryLabels;
155
157
  reportReasons: PluginConfigReportReasons;
156
158
  badWords?: boolean | undefined;
@@ -168,7 +170,7 @@ declare const _default: () => {
168
170
  routes: {
169
171
  [key: string]: {
170
172
  type: string;
171
- routes: import("strapi-typed").StrapiRoute[];
173
+ routes: Array<import("strapi-typed").StrapiRoute>;
172
174
  };
173
175
  };
174
176
  services: {