@@ -325,25 +325,25 @@ export interface Use {
325325 loc ?: LocationRange ;
326326}
327327
328- type KW_UNSIGNED = "UNSIGNED" ;
329- type KW_ZEROFILL = "ZEROFILL" ;
328+ export type KW_UNSIGNED = "UNSIGNED" ;
329+ export type KW_ZEROFILL = "ZEROFILL" ;
330330
331- type Timezone = [ "WITHOUT" | "WITH" , "TIME" , "ZONE" ] ;
331+ export type Timezone = [ "WITHOUT" | "WITH" , "TIME" , "ZONE" ] ;
332332
333- type KeywordComment = {
333+ export type KeywordComment = {
334334 type : "comment" ;
335335 keyword : "comment" ;
336336 symbol ?: "=" ;
337337 value : string ;
338338} ;
339339
340- type CollateExpr = {
340+ export type CollateExpr = {
341341 type : "collate" ;
342342 symbol ?: "=" ;
343343 value : string ;
344344} ;
345345
346- type DataType = {
346+ export type DataType = {
347347 dataType : string ;
348348 length ?: number ;
349349 parentheses ?: true ;
@@ -353,24 +353,24 @@ type DataType = {
353353 expr ?: Expr | ExprList ;
354354} ;
355355
356- type LiteralNotNull = {
356+ export type LiteralNotNull = {
357357 type : "not null" ;
358358 value : "not null" ;
359359} ;
360360
361- type LiteralNull = { type : "null" ; value : null | "null" } ;
361+ export type LiteralNull = { type : "null" ; value : null | "null" } ;
362362
363- type LiteralNumeric = number | { type : "bigint" ; value : string } ;
363+ export type LiteralNumeric = number | { type : "bigint" ; value : string } ;
364364
365- type ColumnConstraint = {
365+ export type ColumnConstraint = {
366366 default_val : {
367367 type : "default" ;
368368 value : any ;
369369 } ;
370370 nullable : LiteralNotNull | LiteralNull ;
371371} ;
372372
373- type ColumnDefinitionOptList = {
373+ export type ColumnDefinitionOptList = {
374374 nullable ?: ColumnConstraint [ "nullable" ] ;
375375 default_val ?: ColumnConstraint [ "default_val" ] ;
376376 auto_increment ?: "auto_increment" ;
@@ -390,12 +390,12 @@ export type CreateColumnDefinition = {
390390 resource : "column" ;
391391} & ColumnDefinitionOptList ;
392392
393- type IndexType = {
393+ export type IndexType = {
394394 keyword : "using" ;
395395 type : "btree" | "hash" | "gist" | "gin" ;
396396} ;
397397
398- type IndexOption = {
398+ export type IndexOption = {
399399 type : "key_block_size" ;
400400 symbol ?: "=" ;
401401 expr : LiteralNumeric ;
@@ -424,7 +424,7 @@ export type CreateFulltextSpatialIndexDefinition = {
424424 resource : "index" ;
425425} ;
426426
427- type ConstraintName = { keyword : "constraint" ; constraint : string } ;
427+ export type ConstraintName = { keyword : "constraint" ; constraint : string } ;
428428
429429export type CreateConstraintPrimary = {
430430 constraint ?: ConstraintName [ "constraint" ] ;
0 commit comments