@inpageedit/core 0.4.0 → 0.4.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,10 +1,5 @@
1
1
  import { Context, Inject, Events as CordisEvents } from '@cordisjs/core';
2
- import { Logger } from './utils/Logger';
3
- export interface InPageEditCoreConfig {
4
- baseURL: string | URL;
5
- legacyPreferences: Record<string, any>;
6
- logLevel: number;
7
- }
2
+ import { Logger } from '@inpageedit/logger';
8
3
  /**
9
4
  * ✏️ InPageEdit NEXT
10
5
  *
@@ -13,6 +8,7 @@ export interface InPageEditCoreConfig {
13
8
  * @author dragon-fish <dragon-fish@qq.com>
14
9
  * @license MIT
15
10
  * @see https://github.com/inpageedit/inpageedit-next
11
+ * @see https://www.ipe.wiki/
16
12
  */
17
13
  export declare class InPageEdit extends Context {
18
14
  #private;
@@ -25,8 +21,13 @@ export declare class InPageEdit extends Context {
25
21
  constructor(config?: Partial<InPageEditCoreConfig>);
26
22
  useScope(inject: Inject): Promise<this>;
27
23
  }
24
+ export interface InPageEditCoreConfig {
25
+ baseURL: string | URL;
26
+ legacyPreferences: Record<string, any>;
27
+ logLevel: number;
28
+ }
28
29
  export { default as Schema } from 'schemastery';
29
- export * from './utils/Logger';
30
+ export * from '@inpageedit/logger';
30
31
  export { Inject, Service } from '@cordisjs/core';
31
32
  export interface Events<C extends InPageEdit = InPageEdit> extends CordisEvents<C> {
32
33
  }