x-block-lib 0.8.63 → 0.8.65

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.
@@ -6,18 +6,4 @@ interface AppInfo {
6
6
  export declare function getAllAppInfos(): AppInfo[];
7
7
  export declare function getAppInfo(appId: string): AppInfo | undefined;
8
8
  export declare function genAppOpts(): Blockly.MenuOption[];
9
- interface PageInfo {
10
- id: string;
11
- name: string;
12
- }
13
- export declare function getAllPageInfos(appId: string): PageInfo[];
14
- export declare function getPageInfo(appId: string, pageId: string): PageInfo | undefined;
15
- export declare function genPageOpts(appId: string): Blockly.MenuOption[];
16
- interface CompInfo {
17
- id: string;
18
- name: string;
19
- }
20
- export declare function getAllCompInfos(): CompInfo[];
21
- export declare function getCompInfo(compId: string): CompInfo | undefined;
22
- export declare function genCompOpts(): Blockly.MenuOption[];
23
9
  export {};
@@ -0,0 +1,9 @@
1
+ import * as Blockly from 'blockly/core';
2
+ interface CompInfo {
3
+ id: string;
4
+ name: string;
5
+ }
6
+ export declare function getAllCompInfos(): CompInfo[];
7
+ export declare function getCompInfo(compId: string): CompInfo | undefined;
8
+ export declare function genCompOpts(): Blockly.MenuOption[];
9
+ export {};
@@ -1,8 +1,10 @@
1
1
  export * from './app';
2
2
  export * from './argument';
3
+ export * from './comp';
3
4
  export * from './event';
4
5
  export * from './method';
5
6
  export * from './node';
7
+ export * from './page';
6
8
  export * from './property';
7
9
  export * from './slot';
8
10
  export * from './state';
@@ -0,0 +1,9 @@
1
+ import * as Blockly from 'blockly/core';
2
+ interface PageInfo {
3
+ id: string;
4
+ name: string;
5
+ }
6
+ export declare function getAllPageInfos(appId: string): PageInfo[];
7
+ export declare function getPageInfo(appId: string, pageId: string): PageInfo | undefined;
8
+ export declare function genPageOpts(appId: string): Blockly.MenuOption[];
9
+ export {};