mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-28 07:56:35 +01:00
* Remove documents table (WIP) * Further cleanup of documents table * This should clean up the errors, but actual attachment handling still needs added. * Full generation to update the JS side of things too * Further fixes * Fix cyclic dependency issue * In theory the API side works now * Fix go linting issues * Fix frontend issues * Way closer, but has a foreign key constrant issue * UI actually works now * Fix deduplication feature not working right * Upgrade to `golangci-lint` v2 file * Add ability to set primary during attachment creation * Update swagger with new primary attachment during creation stuff * Files are actually saved now, but there's still a bug * Fix critical issue whith how deletions were working * Fix the byte copy issue * Hopefully everything is fixed now * Fix golangci-lint config and lint files * Fix lint issue * Fix a few more tests * Fix lint issues again * More minor test fixes * Update backend/internal/core/services/service_items_attachments.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix migration (I think) * Fixed postgres migration * Change some migration options to work better * Some more little things that I tried * Fix merge go.mod * Fix migrations * Little lint thing * Fix AttachmentsList.vue with updated API --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
54 lines
767 B
Go
54 lines
767 B
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package ent
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
func (a *Attachment) GetID() uuid.UUID {
|
|
return a.ID
|
|
}
|
|
|
|
func (ar *AuthRoles) GetID() int {
|
|
return ar.ID
|
|
}
|
|
|
|
func (at *AuthTokens) GetID() uuid.UUID {
|
|
return at.ID
|
|
}
|
|
|
|
func (gr *Group) GetID() uuid.UUID {
|
|
return gr.ID
|
|
}
|
|
|
|
func (git *GroupInvitationToken) GetID() uuid.UUID {
|
|
return git.ID
|
|
}
|
|
|
|
func (i *Item) GetID() uuid.UUID {
|
|
return i.ID
|
|
}
|
|
|
|
func (_if *ItemField) GetID() uuid.UUID {
|
|
return _if.ID
|
|
}
|
|
|
|
func (l *Label) GetID() uuid.UUID {
|
|
return l.ID
|
|
}
|
|
|
|
func (l *Location) GetID() uuid.UUID {
|
|
return l.ID
|
|
}
|
|
|
|
func (me *MaintenanceEntry) GetID() uuid.UUID {
|
|
return me.ID
|
|
}
|
|
|
|
func (n *Notifier) GetID() uuid.UUID {
|
|
return n.ID
|
|
}
|
|
|
|
func (u *User) GetID() uuid.UUID {
|
|
return u.ID
|
|
}
|