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: account plan usage logs entity #38

Open
davidmeirlevy opened this issue Jan 29, 2024 · 0 comments
Open

feature: account plan usage logs entity #38

davidmeirlevy opened this issue Jan 29, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@davidmeirlevy
Copy link
Contributor

A user would like to know anything that happened between/until/after certain dates.
A usage log entity can achieve this goal.

The usage log entity should persist:

  • account id
  • tenant
  • field id (refer to the plan field)
  • created at (date)
  • usage: number
  • additional info (string, optional)

The usage log should be set asynchronously on every increment action.
The usage property should be equal to the incementAmount given to the method (even if the field kind is boolean or string).

We should have an optional property to the increment method to support the additional info property, that will be stored in the usage log.
The user would like to add additional information about the increment action to add some context to the usage).

@davidmeirlevy davidmeirlevy added the enhancement New feature or request label Jan 29, 2024
@davidmeirlevy davidmeirlevy changed the title feature: acount plan usage logs entity feature: account plan usage logs entity Jan 30, 2024
@davidmeirlevy davidmeirlevy added the good first issue Good for newcomers label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant