Esposter
Preparing search index...
@esposter/db-schema
selectSearchHistoryInMessageSchema
Variable selectSearchHistoryInMessageSchema
Const
selectSearchHistoryInMessageSchema
:
BuildSchema
<
"select"
,
{
createdAt
:
PgBuildColumn
<
"searchHistories"
,
SetHasDefault
<
SetNotNull
<
PgTimestampBuilder
>
>
,
{
data
:
Date
;
dataType
:
"object date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
deletedAt
:
PgBuildColumn
<
"searchHistories"
,
PgTimestampBuilder
,
{
data
:
Date
;
dataType
:
"object date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
false
;
tableName
:
"searchHistories"
;
}
,
>
;
filters
:
PgBuildColumn
<
"searchHistories"
,
SetHasDefault
<
Set$Type
<
SetNotNull
<
PgJsonbBuilder
>
,
Filter
[]
>
>
,
{
data
:
Filter
[]
;
dataType
:
"object json"
;
driverParam
:
unknown
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
id
:
PgBuildColumn
<
"searchHistories"
,
SetHasDefault
<
SetIsPrimaryKey
<
PgUUIDBuilder
>
>
,
{
data
:
string
;
dataType
:
"string uuid"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
query
:
PgBuildColumn
<
"searchHistories"
,
SetHasDefault
<
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
roomId
:
PgBuildColumn
<
"searchHistories"
,
SetNotNull
<
PgUUIDBuilder
>
,
{
data
:
string
;
dataType
:
"string uuid"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
updatedAt
:
PgBuildColumn
<
"searchHistories"
,
SetHasDefault
<
SetNotNull
<
PgTimestampBuilder
>
>
,
{
data
:
Date
;
dataType
:
"object date"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
true
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
userId
:
PgBuildColumn
<
"searchHistories"
,
SetNotNull
<
PgTextBuilder
<
[
string
,
...
string
[]
]
>
>
,
{
data
:
string
;
dataType
:
"string"
;
driverParam
:
string
;
enumValues
:
undefined
;
generated
:
undefined
;
hasDefault
:
false
;
hasRuntimeDefault
:
false
;
identity
:
undefined
;
isAutoincrement
:
false
;
isPrimaryKey
:
false
;
name
:
string
;
notNull
:
true
;
tableName
:
"searchHistories"
;
}
,
>
;
}
,
{
filters
:
ZodArray
<
ZodObject
<
{
type
:
ZodEnum
<
typeof
FilterType
>
;
value
:
ZodUnion
<
readonly
[
ZodBoolean
,
ZodDate
,
ZodNull
,
ZodNumber
,
ZodString
]
,
>
;
}
,
$strip
,
>
,
>
;
query
:
(
schema
:
ZodString
)
=>
ZodString
;
}
,
undefined
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Esposter
Loading...