feat:
Some checks failed
Build and Deploy Go App / build (push) Failing after 2m37s
Build and Deploy Go App / deploy (push) Has been skipped

This commit is contained in:
Iron_Felix 2025-11-25 03:20:39 +03:00
parent 9f74c9eeb6
commit 4c7d03cddc
7 changed files with 28 additions and 6 deletions

View file

@ -16,6 +16,12 @@ import (
openapi_types "github.com/oapi-codegen/runtime/types"
)
// Defines values for ImageStorageType.
const (
Local ImageStorageType = "local"
S3 ImageStorageType = "s3"
)
// Defines values for ReleaseSeason.
const (
Fall ReleaseSeason = "fall"
@ -55,11 +61,16 @@ type CursorObj struct {
// Image defines model for Image.
type Image struct {
Id *int64 `json:"id,omitempty"`
ImagePath *string `json:"image_path,omitempty"`
StorageType *string `json:"storage_type,omitempty"`
Id *int64 `json:"id,omitempty"`
ImagePath *string `json:"image_path,omitempty"`
// StorageType Image storage type
StorageType *ImageStorageType `json:"storage_type,omitempty"`
}
// ImageStorageType Image storage type
type ImageStorageType string
// ReleaseSeason Title release season
type ReleaseSeason string