-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(transflow): replace transfunc.js with transflow.yaml
- Loading branch information
Showing
3 changed files
with
5 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +0,0 @@ | ||
function from_todo_blog_to_quake_calendar(todos, blogs) { | ||
let results = []; | ||
for (let todo of todos) { | ||
results.push({ | ||
type: "todo", | ||
id: todo.id, | ||
title: todo.title, | ||
content: todo.content, | ||
created_date: todo.created_date, | ||
updated_date: todo.updated_date | ||
}) | ||
} | ||
|
||
for (let blog of blogs) { | ||
results.push({ | ||
type: "blog", | ||
id: blog.id, | ||
title: blog.title, | ||
content: blog.description, | ||
created_date: blog.created_date, | ||
created_date: blog.updated_date | ||
}) | ||
} | ||
|
||
return results; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters