strapi-plugin-magic-mark 3.2.0 → 3.2.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.
@@ -1,5 +1,7 @@
1
1
  declare const _default: {
2
- default: {};
2
+ default: {
3
+ debug: boolean;
4
+ };
3
5
  validator: () => void;
4
6
  };
5
7
  export default _default;
@@ -10,7 +10,9 @@ declare const _default: {
10
10
  strapi: import("@strapi/types/dist/core").Strapi;
11
11
  }) => void;
12
12
  config: {
13
- default: {};
13
+ default: {
14
+ debug: boolean;
15
+ };
14
16
  validator: () => void;
15
17
  };
16
18
  controllers: {
@@ -0,0 +1,15 @@
1
+ import type { Core } from '@strapi/strapi';
2
+ interface Logger {
3
+ info: (...args: unknown[]) => void;
4
+ debug: (...args: unknown[]) => void;
5
+ warn: (...args: unknown[]) => void;
6
+ error: (...args: unknown[]) => void;
7
+ forceError: (...args: unknown[]) => void;
8
+ }
9
+ /**
10
+ * Creates a logger instance that respects debug config
11
+ * @param strapi - Strapi instance
12
+ * @returns Logger with info, debug, warn, error methods
13
+ */
14
+ export declare function createLogger(strapi: Core.Strapi): Logger;
15
+ export {};
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.2.0",
2
+ "version": "3.2.1",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi-plugin",