@@ -20,7 +20,7 @@ export const postgresColumnSchema = Type.Object({
2020 table_id : Type . Integer ( ) ,
2121 schema : Type . String ( ) ,
2222 table : Type . String ( ) ,
23- id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
23+ id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
2424 ordinal_position : Type . Integer ( ) ,
2525 name : Type . String ( ) ,
2626 default_value : Type . Unknown ( ) ,
@@ -508,7 +508,7 @@ export const postgresTablePrivilegesRevokeSchema = Type.Object({
508508export type PostgresTablePrivilegesRevoke = Static < typeof postgresTablePrivilegesRevokeSchema >
509509
510510export const postgresColumnPrivilegesSchema = Type . Object ( {
511- column_id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
511+ column_id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
512512 relation_schema : Type . String ( ) ,
513513 relation_name : Type . String ( ) ,
514514 column_name : Type . String ( ) ,
@@ -529,7 +529,7 @@ export const postgresColumnPrivilegesSchema = Type.Object({
529529export type PostgresColumnPrivileges = Static < typeof postgresColumnPrivilegesSchema >
530530
531531export const postgresColumnPrivilegesGrantSchema = Type . Object ( {
532- column_id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
532+ column_id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
533533 grantee : Type . String ( ) ,
534534 privilege_type : Type . Union ( [
535535 Type . Literal ( 'ALL' ) ,
@@ -543,7 +543,7 @@ export const postgresColumnPrivilegesGrantSchema = Type.Object({
543543export type PostgresColumnPrivilegesGrant = Static < typeof postgresColumnPrivilegesGrantSchema >
544544
545545export const postgresColumnPrivilegesRevokeSchema = Type . Object ( {
546- column_id : Type . RegEx ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
546+ column_id : Type . RegExp ( / ^ ( \d + ) \. ( \d + ) $ / ) ,
547547 grantee : Type . String ( ) ,
548548 privilege_type : Type . Union ( [
549549 Type . Literal ( 'ALL' ) ,
0 commit comments