Skip to content

Commit

Permalink
feat(types): add typings for DataTypes.TSVECTOR (sequelize#13940)
Browse files Browse the repository at this point in the history
  • Loading branch information
ephys authored and aliatsis committed Jun 2, 2022
1 parent 033c28b commit f0e6cfb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions types/lib/data-types.d.ts
Expand Up @@ -102,7 +102,7 @@ export interface CharDataType extends StringDataType {
}

export interface CharDataTypeOptions extends StringDataTypeOptions {}

export type TextLength = 'tiny' | 'medium' | 'long';

/**
Expand Down Expand Up @@ -604,9 +604,14 @@ export const INET: AbstractDataTypeConstructor;
export const MACADDR: AbstractDataTypeConstructor;

/**
* Case incenstive text
* Case-insensitive text
*/
export const CITEXT: AbstractDataTypeConstructor;

/**
* Full text search vector. Only available in postgres.
*/
export const TSVECTOR: AbstractDataTypeConstructor;

// umzug compatibility
export type DataTypeAbstract = AbstractDataTypeConstructor;

0 comments on commit f0e6cfb

Please sign in to comment.