Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/image to media migration #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

icazevedo
Copy link
Collaborator

Adding new command that makes the content migration from image blocks to media blocks.

const createRoutes = ({ account, workspace }: IOContext) => {
const routes = {
Templates: (argWorkspace: string) =>
`/${account}/${argWorkspace || workspace}/buckets/vtex.pages-graphql/userData/files/store/templates.json`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the user doesn't pass workspace and he is @master workspace, he will put a file into the master workspace, am I right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, you're right. Actually, the user is going to edit an existing file, but yes, they will migrate de master workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants