Skip to content

UX Data Broker Transform Starter Template #1572

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

Conversation

yansa-reece
Copy link
Contributor

This pull request contains a starter template for UX Data Broker Transform scripts. The template code includes:

  • JSDoc type annotations
  • ES6 features: destructured inputs, const/let, interpolated strings
  • Error logging and propagation through try/catch
  • An example properties array

A readme.md file is also provided that details the template

Added a starter template for a transform data resource. This template contains:
- JSDoc type annotations
- Destructured inputs
- Try/catch
- Error logging then throw (Enables error logging but still allows the data resource to fail)
- An example of what the properties object should look like
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.

1 participant