-
Notifications
You must be signed in to change notification settings - Fork 16
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
New CRT marketplace query #336
New CRT marketplace query #336
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run npm run generate:docs:auth-api
auth API docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good, would it be possible for you to add unit test for this handler in src/auth-server/tests?
|
||
let listQuerySql = listQuery.sql | ||
|
||
listQuerySql = listQuerySql.replace(/marketplace_token/g, 'marketplace_tokens') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be required any longer?
* New query * New query for top selling channels * Add materialized view into view migrations * Fix build * Add new migration * Adjust migration and resolver * Small fixes * Make creator token just a view * Fix divison by zero * Correct hot and cold tokens * Make field more generic and increase the period * Major view query rework * Make initial price on amm start correct * Rework resolver extensions * Add new db table * Add new handler for the auth server to record interactions * Add resolver to get most interacted entities for given type * Introduce limiting for custom resolvers * Fix token price change resolver * Fix marketplace token view definition * Introduce user based rate limiting per type and entity * CR fixes * Add tests for user interactions endpoint * Fix build * Fix resolver for most interacted entity * fix: db views generation * debug log * undo: debug log * regenerate auth api docs * change view name from 'marketplace_tokens' to 'marketplace_token' * fix: lint issue --------- Co-authored-by: Zeeshan Akram <97m.zeeshan@gmail.com>
No description provided.