x-runtime-lib 0.8.176 → 0.8.178

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,9 +1,9 @@
1
1
  import { Data } from './data';
2
- import { CompMeta } from './meta';
2
+ import { Meta } from './meta';
3
3
  export interface Depend {
4
4
  name: string;
5
5
  metaSeq: number;
6
- meta: CompMeta;
6
+ meta: Meta;
7
7
  dataSeq: number;
8
8
  data: Data;
9
9
  }
@@ -26,20 +26,14 @@ export type Slot = {
26
26
  events?: Event[];
27
27
  desc?: string;
28
28
  };
29
- export type PageMeta = {
29
+ export type Meta = {
30
30
  version: string;
31
- arguments?: Field[];
32
31
  states?: Field[];
33
- };
34
- export declare function pageMetaStringify(meta: PageMeta): string;
35
- export declare function parsePageMeta(str: string): PageMeta;
36
- export type CompMeta = {
37
- version: string;
32
+ arguments?: Field[];
38
33
  properties?: Field[];
39
34
  methods?: Method[];
40
35
  events?: Event[];
41
36
  slots?: Slot[];
42
- states?: Field[];
43
37
  };
44
- export declare function compMetaStringify(meta: CompMeta): string;
45
- export declare function parseCompMeta(str: string): CompMeta;
38
+ export declare function metaStringify(meta: Meta): string;
39
+ export declare function parseMeta(str: string): Meta;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.176",
4
+ "version": "0.8.178",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",