Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

feat(component): abstract upload transport into adapter #27

Merged
merged 23 commits into from
Feb 9, 2018

Conversation

alexsasharegan
Copy link
Owner

@alexsasharegan alexsasharegan commented Jan 10, 2018

Primary Goal

Abstract the upload process to an adapter interface to allow for custom upload routines like the usage of 3rd party upload SDKs (e.g. Firebase).

Secondary Goals

  • Switch dictError props from mustache-style strings with regex interpolation to user defined functions that return a string error message. Include defaults that are acceptable for display to the end user.
  • Use enums for events
  • Move all options common to uploader to an adapter options prop
  • Provide default XHR adapter that implements the existing upload transport
  • Remove vue-class-component and use built in typescript via Vue.extend to minimize build size
  • Switch to rollup to remove webpack runtime overhead

Inspired from #26

@alexsasharegan alexsasharegan changed the title [WIP] feat(component): upload process interceptor [WIP] feat(component): abstract upload transport into adapter Jan 18, 2018
@alexsasharegan alexsasharegan changed the title [WIP] feat(component): abstract upload transport into adapter feat(component): abstract upload transport into adapter Feb 9, 2018
@alexsasharegan alexsasharegan merged commit 6cf71cf into master Feb 9, 2018
@alexsasharegan
Copy link
Owner Author

Closes #27

@alexsasharegan
Copy link
Owner Author

Closes #30

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

Successfully merging this pull request may close these issues.

1 participant