-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Player] Prepare module for event producer #91
base: main
Are you sure you want to change the base?
Conversation
…as type/interface in common.
@@ -9,7 +9,13 @@ export default defineConfig({ | |||
formats: ['es'], | |||
}, | |||
}, | |||
plugins: [dts({ rollupTypes: true, tsconfigPath: 'tsconfig.build.json' })], |
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.
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.
@@ -0,0 +1,3 @@ | |||
import type * as _EventSender from '@tidal-music/event-producer'; |
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.
Common should not be allowed to import from any SDK module I think, or else we create circular dependencies?
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.
For type imports it's fine!
I have a couple of more questions :-)
|
The idea was to have the same flow as for the CredentialsProvider. I'll change so the player uses it directly.
w/o rollupTypes it was needed not not include the entire EP in Common if I remember correctly. Pushed a commit in the other PR to use EP directly -> 95064cf |
When you get back, we should try and get this out. |
Modelled after setCredentialsProvider for consistency.