Skip to content

Remove duplicate metadata type declarations from src/models.ts #2035

Description

@joshtrichards

While looking at some version discrepancies like this one:

version: '2.0'

... I noticed that src/models.ts contains metadata types that duplicate the declarations in src/models/metadata.d.ts. These have drifted -- for example, Metadata.version only permits '2.0', while the implementation supports and emits '2.1'.

Migrate remaining consumers, primarily test fixtures, to the more authoritative IRawMetadata, IRawRootMetadata, and related types, then remove the duplicate declarations from src/models.ts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care oftechnical debtTechnical issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions