You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.2 KiB
75 lines
2.2 KiB
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
package psqlcore
|
|
|
|
import (
|
|
"database/sql"
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
type CommonTag struct {
|
|
Tag string `json:"tag"`
|
|
TargetKind string `json:"target_kind"`
|
|
TargetID string `json:"target_id"`
|
|
}
|
|
|
|
type CoreCounter struct {
|
|
ID string `json:"id"`
|
|
Value sql.NullInt32 `json:"value"`
|
|
}
|
|
|
|
type DataChange struct {
|
|
ID string `json:"id"`
|
|
Model string `json:"model"`
|
|
Op string `json:"op"`
|
|
Author string `json:"author"`
|
|
Listed bool `json:"listed"`
|
|
Date time.Time `json:"date"`
|
|
Keys []string `json:"keys"`
|
|
Objects json.RawMessage `json:"objects"`
|
|
}
|
|
|
|
type DataChannel struct {
|
|
Name string `json:"name"`
|
|
Logged bool `json:"logged"`
|
|
Hub bool `json:"hub"`
|
|
EventName string `json:"event_name"`
|
|
LocationName string `json:"location_name"`
|
|
}
|
|
|
|
type DataCharacter struct {
|
|
ID string `json:"id"`
|
|
Nicks []string `json:"nicks"`
|
|
Name string `json:"name"`
|
|
ShortName string `json:"short_name"`
|
|
Author string `json:"author"`
|
|
Description string `json:"description"`
|
|
TsVector interface{} `json:"ts_vector"`
|
|
}
|
|
|
|
type Story struct {
|
|
ID string `json:"id"`
|
|
Author string `json:"author"`
|
|
Name string `json:"name"`
|
|
Category string `json:"category"`
|
|
Open bool `json:"open"`
|
|
Listed bool `json:"listed"`
|
|
SortByFictionalDate bool `json:"sort_by_fictional_date"`
|
|
CreatedDate time.Time `json:"created_date"`
|
|
FictionalDate time.Time `json:"fictional_date"`
|
|
UpdatedDate time.Time `json:"updated_date"`
|
|
}
|
|
|
|
type StoryChapter struct {
|
|
ID string `json:"id"`
|
|
StoryID string `json:"story_id"`
|
|
Title string `json:"title"`
|
|
Author string `json:"author"`
|
|
Source string `json:"source"`
|
|
CreatedDate time.Time `json:"created_date"`
|
|
FictionalDate time.Time `json:"fictional_date"`
|
|
EditedDate time.Time `json:"edited_date"`
|
|
CommentMode string `json:"comment_mode"`
|
|
CommentsLocked bool `json:"comments_locked"`
|
|
}
|