Generic Type for Schema.String or Schema.Enums in Schema Construction

is there a type that can be used in a generic to only accept a Schema.String or Schema.Enums? I'm trying to construct a schema where a value is definitely a string but let the call site optionally provide an Enum to further constrain the value if necessary.
Was this page helpful?