Skip to content

Commit

Permalink
fix(schema): expose deprecated keys
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Nov 11, 2022
1 parent 1939d4a commit 5be43bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type Never<T> = {
}

export type UserTagConfigWithoutInnerContent = TagPriority & TagPosition & ResolvesDuplicates & Never<InnerContent>
export type UserAttributesConfig = ResolvesDuplicates & Never<InnerContent & TagPriority & TagPosition>
export type UserAttributesConfig = ResolvesDuplicates & TagPriority & Never<InnerContent & TagPosition>

export interface SchemaAugmentations extends MergeHead {
base: UserAttributesConfig
Expand Down
8 changes: 8 additions & 0 deletions packages/schema/src/tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ export interface ResolvesDuplicates {
* to be made you can provide a unique key for each entry.
*/
key?: string
/**
* @deprecated Use `key` instead
*/
hid?: string;
/**
* @deprecated Use `key` instead
*/
vmid?: string;
/**
* Specify where to render the tag.
*
Expand Down

0 comments on commit 5be43bb

Please sign in to comment.