@blocklet/pages-kit 0.4.118 → 0.4.120

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.
@@ -13,6 +13,7 @@ export type CustomComponent = {
13
13
  type: 'react-component';
14
14
  script?: string;
15
15
  chunks?: string[];
16
+ editComponent?: string;
16
17
  } | {
17
18
  type: 'component';
18
19
  componentId?: string;
@@ -18,6 +18,7 @@ export declare function mergeComponent({ componentId, getComponent, locale, defa
18
18
  props: {
19
19
  [key: string]: any;
20
20
  };
21
+ editComponent?: string;
21
22
  } | null;
22
23
  export declare const RenderNestedComponent = "__RENDER_NESTED_COMPONENT__";
23
24
  export declare function safeJSONParse(value: string | Record<string, any>): any;
@@ -1,4 +1,6 @@
1
1
  import { SourceFile, TransformerFactory } from 'typescript';
2
2
  export declare const isRelativeModule: (moduleSpecifier: string) => boolean;
3
3
  export declare const isAsyncModule: (moduleSpecifier: string) => boolean;
4
+ export declare const isBuiltinModule: (moduleSpecifier: string) => boolean;
4
5
  export declare const createBuiltinModuleTransformer: (ts: typeof import("typescript")) => TransformerFactory<SourceFile>;
6
+ export declare const createWellKnownChunksTransformer: (ts: typeof import("typescript")) => TransformerFactory<SourceFile>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.4.118",
3
+ "version": "0.4.120",
4
4
  "description": "Pages Kit components and utils for blocklet(s)",
5
5
  "publishConfig": {
6
6
  "access": "public"