mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-02-08 20:49:37 -06:00
49 lines
888 B
Go
49 lines
888 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.26.0
|
|
|
|
package db
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type AccessToken struct {
|
|
ID string
|
|
Created pgtype.Timestamp
|
|
Expires pgtype.Timestamp
|
|
Username string
|
|
}
|
|
|
|
type Resource struct {
|
|
ID uuid.UUID
|
|
Parent *uuid.UUID
|
|
Name string
|
|
Dir bool
|
|
Created pgtype.Timestamp
|
|
Modified pgtype.Timestamp
|
|
Deleted pgtype.Timestamp
|
|
ContentSize int64
|
|
ContentType string
|
|
ContentSha256 string
|
|
Permissions []byte
|
|
}
|
|
|
|
type StorageBackend struct {
|
|
Name string
|
|
Driver string
|
|
Params map[string]string
|
|
}
|
|
|
|
type User struct {
|
|
Username string
|
|
Created pgtype.Timestamp
|
|
Modified pgtype.Timestamp
|
|
DisplayName string
|
|
PasswordHash string
|
|
Deleted pgtype.Timestamp
|
|
Root uuid.UUID
|
|
Home uuid.UUID
|
|
}
|