Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
Services
Motion Bank API
Commits
144b82d4
Commit
144b82d4
authored
Aug 31, 2018
by
A. Koch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
also migrate annotation targets
parent
cdb93e33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bin/migrate.js
bin/migrate.js
+4
-0
No files found.
bin/migrate.js
View file @
144b82d4
...
...
@@ -59,6 +59,10 @@ const proc = async function () {
anno
.
target
.
id
=
`
${
newPrefix
}
annotations/
${
anno
.
target
.
id
}
`
console
.
log
(
'
updating video target to
'
,
anno
.
target
.
id
)
}
if
(
anno
.
target
.
type
===
'
Annotation
'
&&
typeof
anno
.
target
.
id
===
'
string
'
&&
uuid
.
isUUID
(
anno
.
target
.
id
))
{
anno
.
target
.
id
=
`
${
newPrefix
}
annotations/
${
anno
.
target
.
id
}
`
console
.
log
(
'
updating annotation target to
'
,
anno
.
target
.
id
)
}
if
(
anno
.
target
.
type
===
'
Timeline
'
&&
typeof
anno
.
target
.
id
===
'
string
'
&&
uuid
.
isUUID
(
anno
.
target
.
id
))
{
anno
.
target
.
id
=
`
${
newPrefix
}
maps/
${
anno
.
target
.
id
}
`
console
.
log
(
'
updating timeline target to
'
,
anno
.
target
.
id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment