Compare commits

...
Author SHA1 Message Date
phoenix ca38ce876f Version bump 2025-11-07 12:42:54 -05:00
phoenix c3386b1888 Added ScheduledMessage 2025-11-07 12:39:14 -05:00
3 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: |
echo "Creating version"
VERSION="0.0.4"
VERSION="0.0.5"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
+16
View File
@@ -0,0 +1,16 @@
package scheduling
import (
"time"
"github.com/google/uuid"
)
type ScheduledMessage struct {
Id uuid.UUID `json:"id"`
Scheduled time.Time `json:"scheduled"`
Created time.Time `json:"created"`
Status string `json:"status"`
UserId uuid.UUID `json:"user_id"`
}
+9
View File
@@ -0,0 +1,9 @@
package scheduling
const (
Ready = "READY"
Pending = "PENDING"
Processing = "PROCESSING"
Done = "DONE"
)