@@ -20,7 +20,7 @@ export const postgresColumnSchema = Type.Object({
20
20
table_id : Type . Integer ( ) ,
21
21
schema : Type . String ( ) ,
22
22
table : Type . String ( ) ,
23
- id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
23
+ id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
24
24
ordinal_position : Type . Integer ( ) ,
25
25
name : Type . String ( ) ,
26
26
default_value : Type . Unknown ( ) ,
@@ -508,7 +508,7 @@ export const postgresTablePrivilegesRevokeSchema = Type.Object({
508
508
export type PostgresTablePrivilegesRevoke = Static < typeof postgresTablePrivilegesRevokeSchema >
509
509
510
510
export const postgresColumnPrivilegesSchema = Type . Object ( {
511
- column_id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
511
+ column_id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
512
512
relation_schema : Type . String ( ) ,
513
513
relation_name : Type . String ( ) ,
514
514
column_name : Type . String ( ) ,
@@ -529,7 +529,7 @@ export const postgresColumnPrivilegesSchema = Type.Object({
529
529
export type PostgresColumnPrivileges = Static < typeof postgresColumnPrivilegesSchema >
530
530
531
531
export const postgresColumnPrivilegesGrantSchema = Type . Object ( {
532
- column_id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
532
+ column_id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
533
533
grantee : Type . String ( ) ,
534
534
privilege_type : Type . Union ( [
535
535
Type . Literal ( 'ALL' ) ,
@@ -543,7 +543,7 @@ export const postgresColumnPrivilegesGrantSchema = Type.Object({
543
543
export type PostgresColumnPrivilegesGrant = Static < typeof postgresColumnPrivilegesGrantSchema >
544
544
545
545
export const postgresColumnPrivilegesRevokeSchema = Type . Object ( {
546
- column_id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
546
+ column_id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
547
547
grantee : Type . String ( ) ,
548
548
privilege_type : Type . Union ( [
549
549
Type . Literal ( 'ALL' ) ,
0 commit comments