@hytopia.com/server-protocol 1.4.37 → 1.4.38-prerelease2
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/package.json +1 -1
- package/schemas/Entity.ts +4 -0
package/package.json
CHANGED
package/schemas/Entity.ts
CHANGED
|
@@ -18,6 +18,8 @@ export type EntitySchema = {
|
|
|
18
18
|
bt?: string; // block texture uri
|
|
19
19
|
e?: boolean; // environmental
|
|
20
20
|
h?: string[]; // model nodes to hide by partial case insensitive match of gltf node names
|
|
21
|
+
ir?: string; // input resolver function
|
|
22
|
+
irs?: object; // input resolver state; TODO: this should be a json type?
|
|
21
23
|
m?: string; // model uri
|
|
22
24
|
mo?: ModelNodeOverrideSchema[]; // model node overrides, (not implemented yet)
|
|
23
25
|
mt?: string; // model texture uri (custom override)
|
|
@@ -46,6 +48,8 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
|
|
|
46
48
|
bt: { type: 'string', nullable: true },
|
|
47
49
|
e: { type: 'boolean', nullable: true },
|
|
48
50
|
h: { type: 'array', items: { type: 'string' }, nullable: true },
|
|
51
|
+
ir: { type: 'string', nullable: true },
|
|
52
|
+
irs: { type: 'object', nullable: true },
|
|
49
53
|
m: { type: 'string', nullable: true },
|
|
50
54
|
mo: { type: 'array', items: { ...modelNodeOverrideSchema }, nullable: true },
|
|
51
55
|
mt: { type: 'string', nullable: true },
|