@drecom/scene-graph-schema
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -22,3 +22,4 @@ { | ||
"text": { "$ref": "Text.json#/definitions/Text" }, | ||
"layout": { "$ref": "Layout.json#/definitions/Layout"} | ||
"layout": { "$ref": "Layout.json#/definitions/Layout"}, | ||
"mask": { "$ref": "Mask.json#/definitions/Mask"} | ||
}, | ||
@@ -25,0 +26,0 @@ "required": [ |
{ | ||
"name": "@drecom/scene-graph-schema", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "scene-graph-schema is a intermediate data schema that represents common data structure of a scene in game application.", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"json-schema-to-typescript": "^5.5.0", | ||
"mocha": "^5.2.0", | ||
"json-schema-to-typescript": "^6.1.3", | ||
"mocha": "^6.1.4", | ||
"power-assert": "^1.6.0" | ||
@@ -38,0 +38,0 @@ }, |
@@ -5,3 +5,3 @@ # scene-graph-schema | ||
The target of the schema is 2D game applications on web browsers | ||
The target of the schema is game applications on web browsers | ||
@@ -8,0 +8,0 @@ Since this schema is not designed for particular runtime, it should be converted to/from any runtime. |
@@ -26,2 +26,3 @@ /** | ||
layout?: Layout; | ||
mask?: Mask; | ||
[k: string]: any; | ||
@@ -159,1 +160,13 @@ } | ||
} | ||
export interface Mask { | ||
maskType: number; | ||
inverted: boolean; | ||
spriteFrame?: { | ||
url?: string; | ||
base64?: string; | ||
atlasUrl?: string; | ||
frameName?: string; | ||
[k: string]: any; | ||
}; | ||
[k: string]: any; | ||
} |
@@ -33,2 +33,3 @@ /** | ||
layout?: Layout; | ||
mask?: Mask; | ||
[k: string]: any; | ||
@@ -166,1 +167,13 @@ } | ||
} | ||
export interface Mask { | ||
maskType: number; | ||
inverted: boolean; | ||
spriteFrame?: { | ||
url?: string; | ||
base64?: string; | ||
atlasUrl?: string; | ||
frameName?: string; | ||
[k: string]: any; | ||
}; | ||
[k: string]: any; | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
1621
1
40352