Skip to content

Make Ozone Moderation Types Opt-In for Generated Lexicons #31

@skiniks

Description

@skiniks

Currently, our lexicon type generation includes the Ozone moderation types by default. After analysis, I found this adds ~35KB (20%) to the generated types file size:

  • With Ozone: 182,688 bytes
  • Without Ozone: 146,663 bytes

Considerations

  • Are moderation capabilities planned for Nimbus?
  • It aligns with keeping the core package lean
  • 20% size reduction is meaningful

Implementation Options

We could either:

  1. Add a CLI flag (e.g. --include-ozone) to opt-in when generating types
  2. Create a separate @tsky/lexicons-ozone package for moderation types
  3. Not include Ozone types at all

Questions

  • Which approach do we prefer for handling this?
  • Are the types fine as is with Ozone included?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions