mistercrunch commented on issue #33441:
URL: https://github.com/apache/superset/issues/33441#issuecomment-2898924391
Ok so kind of like this ->
### SDKs publish a subset of primitives
```mermaid
graph TD
subgraph private["Private (shared primitives)"]
theme["theme"]
components
utils
end
subgraph external["External apps"]
app1
app2
utils
end
subgraph public["Public"]
chartSDK["@superset/chart-sdk"]
embedSDK["@superset/embed-sdk"]
extensionSDK["@superset/extension-sdk"]
end
public --> private
app1 --> embedSDK
app2 --> embedSDK
superset["Superset Frontend App"] --> private
```
# Apps mix and match SDKs with a public primitives bundle
vs
```mermaid
graph TD
subgraph private["Private (shared primitives)"]
theme["theme"]
components
utils
end
subgraph external["External apps"]
app1
app2
utils
end
subgraph public["Public"]
chartSDK["@superset/chart-sdk"]
embedSDK["@superset/embed-sdk"]
extensionSDK["@superset/extension-sdk"]
primitives["@public primitives"]
end
public --> private
app1 --> primitives
app1 --> embedSDK
app2 --> primitives
app2 --> embedSDK
superset["Superset Frontend App"] --> private
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]