@operato/scene-random
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -6,2 +6,12 @@ # Change Log | ||
### [0.0.17](https://github.com/things-scene/operato-scene/compare/v0.0.16...v0.0.17) (2021-12-11) | ||
### :bug: Bug Fix | ||
* random control editor placeholder type ([ce10841](https://github.com/things-scene/operato-scene/commit/ce1084159260d5084249e5f5d1ec689cd1773ae2)) | ||
* upgrade operato to 0.2.45 ([0032bad](https://github.com/things-scene/operato-scene/commit/0032bad0914e7fd7eae5e8cc1574df20ce7cb851)) | ||
### [0.0.16](https://github.com/things-scene/operato-scene/compare/v0.0.15...v0.0.16) (2021-12-09) | ||
@@ -8,0 +18,0 @@ |
@@ -36,8 +36,2 @@ import { Shape } from '@hatiolab/things-scene'; | ||
name: string; | ||
placeholder: number; | ||
property?: undefined; | ||
} | { | ||
type: string; | ||
label: string; | ||
name: string; | ||
placeholder: string; | ||
@@ -49,7 +43,2 @@ property?: undefined; | ||
} | ||
export declare const X: { | ||
new (...args: any[]): { | ||
timestamp: number; | ||
}; | ||
} & typeof Random; | ||
export {}; |
@@ -32,3 +32,3 @@ import { Component, RectPath, ScriptLoader, Shape, error } from '@hatiolab/things-scene'; | ||
name: 'count', | ||
placeholder: 1 | ||
placeholder: '1' | ||
}, | ||
@@ -115,11 +115,2 @@ { | ||
Component.register('random', Random); | ||
function Timestamped(Base) { | ||
return class extends Base { | ||
constructor() { | ||
super(...arguments); | ||
this.timestamp = Date.now(); | ||
} | ||
}; | ||
} | ||
export const X = Timestamped(Random); | ||
//# sourceMappingURL=random.js.map |
@@ -6,3 +6,3 @@ { | ||
"author": "heartyoh", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"main": "dist/index.js", | ||
@@ -30,7 +30,7 @@ "module": "dist/index.js", | ||
"dependencies": { | ||
"@hatiolab/things-scene": "^2.7.25" | ||
"@hatiolab/things-scene": "^2.7.26" | ||
}, | ||
"devDependencies": { | ||
"@hatiolab/prettier-config": "^1.0.0", | ||
"@operato/board": "^0.2.44", | ||
"@operato/board": "^0.2.45", | ||
"@things-factory/builder": "^4.0.12", | ||
@@ -63,3 +63,3 @@ "@things-factory/operato-board": "^4.0.12", | ||
}, | ||
"gitHead": "29382f4c11826d2e6514c545ab4d7b4d2f3bbf0d" | ||
"gitHead": "73c1f297d63e6a7c92516c206bcce3f5310c77ee" | ||
} |
@@ -34,3 +34,3 @@ import { Component, RectPath, ScriptLoader, Shape, error } from '@hatiolab/things-scene' | ||
name: 'count', | ||
placeholder: 1 | ||
placeholder: '1' | ||
}, | ||
@@ -142,11 +142,1 @@ { | ||
Component.register('random', Random) | ||
type Constructor<T = {}> = new (...args: any[]) => T | ||
function Timestamped<TBase extends Constructor>(Base: TBase) { | ||
return class extends Base { | ||
timestamp = Date.now() | ||
} | ||
} | ||
export const X = Timestamped(Random) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61974
393