x-block-lib 0.4.49 → 0.5.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.
@@ -0,0 +1,5 @@
1
+ export type Base = {
2
+ router: any;
3
+ i18n: any;
4
+ };
5
+ export declare function initBase(): Base;
@@ -1,4 +1,5 @@
1
1
  export * from './app';
2
+ export * from './base';
2
3
  export * from './compute';
3
4
  export * from './data';
4
5
  export * from './resource';
@@ -14,7 +14,6 @@ export type Props = {
14
14
  };
15
15
  };
16
16
  export type Runtime = {
17
- i18n: any;
18
17
  props: Props;
19
18
  };
20
19
  export declare function initRuntime(): Runtime;
@@ -1,9 +1,11 @@
1
1
  import { App2 } from './app';
2
+ import { Base } from './base';
2
3
  import { Compute } from './compute';
3
4
  import { Data } from './data';
4
5
  import { Resource } from './resource';
5
6
  import { Runtime } from './runtime';
6
7
  export type BlocklyState = {
8
+ base: Base;
7
9
  runtime: Runtime;
8
10
  app: App2;
9
11
  compute: Compute;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.4.49",
4
+ "version": "0.5.1",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "vue": "^3.5.12",
35
35
  "vuetify": "^3.7.3",
36
36
  "x-essential-lib": "^0.7.3",
37
- "x-runtime-lib": "^0.4.17"
37
+ "x-runtime-lib": "^0.5.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@eslint/js": "^10.0.0",