// 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 Bookmark struct { Username string ResourceID uuid.UUID Name string Dir bool Created pgtype.Timestamp Modified pgtype.Timestamp Deleted pgtype.Timestamp } type Publink struct { ID int32 Name string Created pgtype.Timestamp Deleted pgtype.Timestamp CreatedBy string Root uuid.UUID Accessed int32 MaxAccesses int32 PasswordHash string Expires pgtype.Timestamp } type Resource struct { ID uuid.UUID Name string Parent *uuid.UUID Dir bool Created pgtype.Timestamp Modified pgtype.Timestamp Deleted pgtype.Timestamp ContentLength int64 ContentType string ContentSha256 string Permissions []byte Grants []byte } type StorageBackend struct { Name string Driver string Params map[string]string } type User struct { Username string Created pgtype.Timestamp Modified pgtype.Timestamp Deleted pgtype.Timestamp DisplayName string PasswordHash string Root uuid.UUID Home uuid.UUID Permissions int32 }