Skip to content

Commit

Permalink
Merge pull request #89 from decentraland/add-sync-to-items
Browse files Browse the repository at this point in the history
add sync to items
  • Loading branch information
nicoecheza authored Jan 16, 2024
2 parents 3864ed4 + ea483ec commit 2835cba
Show file tree
Hide file tree
Showing 44 changed files with 1,974 additions and 1,884 deletions.
3,654 changes: 1,850 additions & 1,804 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
},
"dependencies": {
"@dcl-sdk/utils": "^1.1.3",
"@dcl/js-runtime": "7.3.30",
"@dcl/sdk": "^7.3.30",
"@dcl/js-runtime": "7.3.35",
"@dcl/sdk": "^7.3.35",
"mitt": "^3.0.1"
},
"prettier": {
Expand Down
4 changes: 3 additions & 1 deletion packs/smart_items/assets/black_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@
}
]
}
,
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/blue_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/blue_light_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/button_chest/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/chest/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
3 changes: 2 additions & 1 deletion packs/smart_items/assets/click_area/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"actions": []
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::PointerEvents"] }
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/cyberpunk_door/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/danger_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/fantasy_chest/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/fantasy_lever/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"Deactivated"
],
"defaultValue": "Deactivated"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/green_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/green_light_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
3 changes: 2 additions & 1 deletion packs/smart_items/assets/hatch_trapdoor/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/invisible_cylinder/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"core::VisibilityComponent": {
"visible": false
}
},
"core-schema::Sync-Components": { "value": ["core::GltfContainer"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/invisible_dome/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"core::VisibilityComponent": {
"visible": false
}
},
"core-schema::Sync-Components": { "value": ["core::GltfContainer"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/invisible_ramp/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"core::VisibilityComponent": {
"visible": false
}
},
"core-schema::Sync-Components": { "value": ["core::GltfContainer"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/invisible_sphere/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"core::VisibilityComponent": {
"visible": false
}
},
"core-schema::Sync-Components": { "value": ["core::GltfContainer"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/invisible_wall/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"core::VisibilityComponent": {
"visible": false
}
},
"core-schema::Sync-Components": { "value": ["core::GltfContainer"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/iron_fence_door/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/metal_trapdoor/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/nft/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"core::NftShape": {
"urn": ""
}
}
}
},
"core-schema::Sync-Components": { "value": ["core::NftShape", "core::VisibilityComponent"] }
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/old_wooden_door/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/pink_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/pirate_lever/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"Deactivated"
],
"defaultValue": "Deactivated"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/red_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/red_light_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/scifi_chest/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/scifi_lever/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"Deactivated"
],
"defaultValue": "Deactivated"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/scifi_lever_console/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"Deactivated"
],
"defaultValue": "Deactivated"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/ships_wheel/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/stone_trapdoor/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/teal_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
]
}
]
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource"] }
}
}
}
4 changes: 3 additions & 1 deletion packs/smart_items/assets/text/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
"text": "Text",
"font": 2
}
,
"core-schema::Sync-Components": { "value": ["core::TextShape", "core::VisibilityComponent"] }
}
}
}
3 changes: 2 additions & 1 deletion packs/smart_items/assets/toggle_button/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"id": "{self}",
"value": ["Activated", "Deactivated"],
"defaultValue": "Deactivated"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/toy_lever/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"Deactivated"
],
"defaultValue": "Deactivated"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
5 changes: 3 additions & 2 deletions packs/smart_items/assets/trapdoor/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"Closed"
],
"defaultValue": "Closed"
}
},
"core-schema::Sync-Components": { "value": ["core::Animator", "core::AudioSource", "asset-packs::States"] }
}
}
}
Loading

0 comments on commit 2835cba

Please sign in to comment.