diff --git a/plugins/rundown/app/components/RundownListItem/index.jsx b/plugins/rundown/app/components/RundownListItem/index.jsx
index 4f5e79a..a4236ab 100644
--- a/plugins/rundown/app/components/RundownListItem/index.jsx
+++ b/plugins/rundown/app/components/RundownListItem/index.jsx
@@ -85,12 +85,12 @@ export function RundownListItem ({
bridge.commands.executeCommand('rundown.moveItem', rundownId, index + 1, newItemId)
}
- async function handleCreateGhost () {
- const newItemId = await bridge.items.createItem('bridge.types.ghost')
+ async function handleCreateReference () {
+ const newItemId = await bridge.items.createItem('bridge.types.reference')
await bridge.items.applyItem(newItemId, {
data: {
- name: `Ghost for ${item?.data?.name}`,
+ name: `Reference to ${item?.data?.name}`,
targetId: item.id
}
})
@@ -146,7 +146,7 @@ export function RundownListItem ({
handleAdd(newItemId)} />
- handleCreateGhost()} />
+ handleCreateReference()} />
handleDelete(selection)} />
{
diff --git a/plugins/types/index.js b/plugins/types/index.js
index d298687..bc2a882 100644
--- a/plugins/types/index.js
+++ b/plugins/types/index.js
@@ -25,10 +25,10 @@ const PLAY_HANDLERS = {
},
/*
- Trigger a ghost
+ Trigger a reference
item's target
*/
- 'bridge.types.ghost': item => {
+ 'bridge.types.reference': item => {
if (!item?.data?.targetId) {
return
}
@@ -48,10 +48,10 @@ const STOP_HANDLERS = {
},
/*
- Trigger a ghost
+ Trigger a reference
item's target
*/
- 'bridge.types.ghost': item => {
+ 'bridge.types.reference': item => {
if (!item?.data?.targetId) {
return
}
diff --git a/plugins/types/package.json b/plugins/types/package.json
index db863b3..49441ab 100644
--- a/plugins/types/package.json
+++ b/plugins/types/package.json
@@ -67,14 +67,14 @@
}
},
{
- "id": "bridge.types.ghost",
- "name": "Ghost",
+ "id": "bridge.types.reference",
+ "name": "Reference",
"inherits": "bridge.types.media",
"properties": {
"targetId": {
"name": "Target id",
"type": "string",
- "ui.group": "Ghost"
+ "ui.group": "Reference"
}
}
},