@fugood/bricks-project 2.21.0-beta.14.test3 → 2.21.0-beta.14.test4

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.
package/compile/index.ts CHANGED
@@ -4,6 +4,7 @@ import escodegen from 'escodegen'
4
4
  import {
5
5
  Application,
6
6
  Data,
7
+ Animation,
7
8
  AnimationDef,
8
9
  AnimationComposeDef,
9
10
  EventAction,
package/index.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './types'
1
+ export type * from './types'
2
2
 
3
- import { DataLink, Data } from './types'
3
+ import type { DataLink, Data } from './types'
4
4
 
5
5
  export { makeId } from './uuid'
6
6
 
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.21.0-beta.14.test3",
3
+ "version": "2.21.0-beta.14.test4",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.js"
7
7
  },
8
8
  "dependencies": {
9
+ "@types/escodegen": "^0.0.10",
10
+ "@types/lodash": "^4.17.12",
9
11
  "acorn": "^8.13.0",
10
12
  "escodegen": "^2.1.0",
11
13
  "lodash": "^4.17.4",
package/types/canvas.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { Easing } from './animation'
2
- import { Data, DataLink } from './data'
3
- import { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from './switch'
4
- import { Brick, SubspaceID, EventAction } from './common'
1
+ import type { Easing } from './animation'
2
+ import type { Data, DataLink } from './data'
3
+ import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from './switch'
4
+ import type { Brick, SubspaceID, EventAction } from './common'
5
5
 
6
6
  type StandbyEasing = {
7
7
  method: Easing
@@ -1,4 +1,4 @@
1
- import { Data } from './data'
1
+ import type { Data } from './data'
2
2
 
3
3
  export interface DataCalculation {
4
4
  __typename: string
package/types/data.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { SubspaceID, EventAction, LocalSyncStrategy } from './common'
1
+ import type { SubspaceID, EventAction, LocalSyncStrategy } from './common'
2
2
 
3
3
  interface DataDef {
4
4
  events?: {
@@ -1,6 +1,12 @@
1
- import { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from './switch'
2
- import { Data, DataLink } from './data'
3
- import { Generator, EventAction, ActionWithDataParams, ActionWithParams, Action } from './common'
1
+ import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from './switch'
2
+ import type { Data, DataLink } from './data'
3
+ import type {
4
+ Generator,
5
+ EventAction,
6
+ ActionWithDataParams,
7
+ ActionWithParams,
8
+ Action,
9
+ } from './common'
4
10
 
5
11
  /* Start the tick */
6
12
  export type GeneratorTickAction_ = Action & {
package/types/system.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { Action, ActionWithDataParams, ActionWithParams, Brick, Generator } from './common'
2
- import { Canvas } from './canvas'
3
- import { Data, DataLink } from './data'
1
+ import type { Action, ActionWithDataParams, ActionWithParams, Brick, Generator } from './common'
2
+ import type { Animation } from './animation'
3
+ import type { Canvas } from './canvas'
4
+ import type { Data, DataLink } from './data'
4
5
 
5
6
  /* Change Data value */
6
7
  export type SystemActionPropertyBank = ActionWithDataParams & {