Skip to content

The only tool you need to know what is happening and how to fix it.

603 B
Raw Blame
package models

import (
	"time"

	"github.com/google/uuid"
)

type SourceMap struct {
	Id         int       `json:"id"`
	ProjectId  uuid.UUID `json:"projectId"`
	Version    string    `json:"version"`
	FileName   string    `json:"fileName"`
	StorageKey string    `json:"storageKey"`
	FileSize   int64     `json:"fileSize"`
	UploadedAt time.Time `json:"uploadedAt"`
}

type SourceMapFlattenMigration struct {
	Id         int       `json:"id"`
	ProjectId  uuid.UUID `json:"projectId"`
	MigratedAt time.Time `json:"migratedAt"`
}

type SourceMapProjectId struct {
	ProjectId uuid.UUID `json:"projectId"`
}