gimmich

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 7afd13a6ffeb6d6988a642965a4f5cdbf120bc96
parent 1272ddcbd18b36f73d7a57cf1d5bbf9ca03d7d41
Author: Martin Ashby <martin@ashbysoft.com>
Date:   Mon, 28 Sep 2026 21:03:55 +0100

Move unimplemented interface to unimplemented.go

Keeps working files much smaller for sublime to handle :facepalm:

Listen on localhost by default

go fmt ./...

Diffstat:
M.gitignore | 1+
Mmain.go | 1283+------------------------------------------------------------------------------
Aunimplemented.go | 1277+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1289 insertions(+), 1272 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,3 +1,4 @@ gen.go immich-openapi-specs.jsongimmich immich-openapi-specs.json +gimmich diff --git a/main.go b/main.go @@ -7,13 +7,12 @@ import ( "net/http" "github.com/google/uuid" - "github.com/oapi-codegen/runtime/types" ) //go:generate curl -SsL -o immich-openapi-specs.json https://github.com/immich-app/immich/raw/refs/tags/v3.0.3/open-api/immich-openapi-specs.json //go:generate go tool oapi-codegen -config cfg.yaml immich-openapi-specs.json -const address = "0.0.0.0:8080" +const address = "127.0.0.1:8080" func main() { log.Printf("Starting gimmich on %s", address) @@ -35,7 +34,7 @@ func doWriteJsonResponse(w http.ResponseWriter, o any) { }) } -func doWriteResponse(w http.ResponseWriter, f func (w http.ResponseWriter) error) { +func doWriteResponse(w http.ResponseWriter, f func(w http.ResponseWriter) error) { err := f(w) if err != nil { slog.Error("error writing response", "err", err.Error()) @@ -44,831 +43,21 @@ func doWriteResponse(w http.ResponseWriter, f func (w http.ResponseWriter) error func badRequest(w http.ResponseWriter) { w.WriteHeader(400) - doWriteResponse(w, func (w http.ResponseWriter) error { + doWriteResponse(w, func(w http.ResponseWriter) error { _, err := w.Write([]byte("bad request")) return err }) } -type MyServer struct{} - -// AddAssetsToAlbum implements [ServerInterface]. -func (m *MyServer) AddAssetsToAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// AddAssetsToAlbums implements [ServerInterface]. -func (m *MyServer) AddAssetsToAlbums(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// AddMemoryAssets implements [ServerInterface]. -func (m *MyServer) AddMemoryAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// AddSharedLinkAssets implements [ServerInterface]. -func (m *MyServer) AddSharedLinkAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// AddUsersToAlbum implements [ServerInterface]. -func (m *MyServer) AddUsersToAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// BulkTagAssets implements [ServerInterface]. -func (m *MyServer) BulkTagAssets(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// ChangePassword implements [ServerInterface]. -func (m *MyServer) ChangePassword(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// ChangePinCode implements [ServerInterface]. -func (m *MyServer) ChangePinCode(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CheckBulkUpload implements [ServerInterface]. -func (m *MyServer) CheckBulkUpload(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CopyAsset implements [ServerInterface]. -func (m *MyServer) CopyAsset(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateActivity implements [ServerInterface]. -func (m *MyServer) CreateActivity(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateAlbum implements [ServerInterface]. -func (m *MyServer) CreateAlbum(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateApiKey implements [ServerInterface]. -func (m *MyServer) CreateApiKey(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateFace implements [ServerInterface]. -func (m *MyServer) CreateFace(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateJob implements [ServerInterface]. -func (m *MyServer) CreateJob(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateLibrary implements [ServerInterface]. -func (m *MyServer) CreateLibrary(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateMemory implements [ServerInterface]. -func (m *MyServer) CreateMemory(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateNotification implements [ServerInterface]. -func (m *MyServer) CreateNotification(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreatePartner implements [ServerInterface]. -func (m *MyServer) CreatePartner(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreatePartnerDeprecated implements [ServerInterface]. -func (m *MyServer) CreatePartnerDeprecated(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// CreatePerson implements [ServerInterface]. -func (m *MyServer) CreatePerson(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateProfileImage implements [ServerInterface]. -func (m *MyServer) CreateProfileImage(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateSession implements [ServerInterface]. -func (m *MyServer) CreateSession(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateSharedLink implements [ServerInterface]. -func (m *MyServer) CreateSharedLink(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateStack implements [ServerInterface]. -func (m *MyServer) CreateStack(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateTag implements [ServerInterface]. -func (m *MyServer) CreateTag(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateUserAdmin implements [ServerInterface]. -func (m *MyServer) CreateUserAdmin(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// CreateWorkflow implements [ServerInterface]. -func (m *MyServer) CreateWorkflow(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteActivity implements [ServerInterface]. -func (m *MyServer) DeleteActivity(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteAlbum implements [ServerInterface]. -func (m *MyServer) DeleteAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteAllSessions implements [ServerInterface]. -func (m *MyServer) DeleteAllSessions(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteApiKey implements [ServerInterface]. -func (m *MyServer) DeleteApiKey(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteAssetMetadata implements [ServerInterface]. -func (m *MyServer) DeleteAssetMetadata(w http.ResponseWriter, r *http.Request, id types.UUID, key string) { - panic("unimplemented") -} - -// DeleteAssets implements [ServerInterface]. -func (m *MyServer) DeleteAssets(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteBulkAssetMetadata implements [ServerInterface]. -func (m *MyServer) DeleteBulkAssetMetadata(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteDatabaseBackup implements [ServerInterface]. -func (m *MyServer) DeleteDatabaseBackup(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteDuplicate implements [ServerInterface]. -func (m *MyServer) DeleteDuplicate(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteDuplicates implements [ServerInterface]. -func (m *MyServer) DeleteDuplicates(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteFace implements [ServerInterface]. -func (m *MyServer) DeleteFace(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteIntegrityReport implements [ServerInterface]. -func (m *MyServer) DeleteIntegrityReport(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteLibrary implements [ServerInterface]. -func (m *MyServer) DeleteLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteMemory implements [ServerInterface]. -func (m *MyServer) DeleteMemory(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteNotification implements [ServerInterface]. -func (m *MyServer) DeleteNotification(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteNotifications implements [ServerInterface]. -func (m *MyServer) DeleteNotifications(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeletePeople implements [ServerInterface]. -func (m *MyServer) DeletePeople(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeletePerson implements [ServerInterface]. -func (m *MyServer) DeletePerson(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteProfileImage implements [ServerInterface]. -func (m *MyServer) DeleteProfileImage(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteServerLicense implements [ServerInterface]. -func (m *MyServer) DeleteServerLicense(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteSession implements [ServerInterface]. -func (m *MyServer) DeleteSession(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteStack implements [ServerInterface]. -func (m *MyServer) DeleteStack(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteStacks implements [ServerInterface]. -func (m *MyServer) DeleteStacks(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteSyncAck implements [ServerInterface]. -func (m *MyServer) DeleteSyncAck(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteTag implements [ServerInterface]. -func (m *MyServer) DeleteTag(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteUserAdmin implements [ServerInterface]. -func (m *MyServer) DeleteUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DeleteUserLicense implements [ServerInterface]. -func (m *MyServer) DeleteUserLicense(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteUserOnboarding implements [ServerInterface]. -func (m *MyServer) DeleteUserOnboarding(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DeleteWorkflow implements [ServerInterface]. -func (m *MyServer) DeleteWorkflow(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// DetectPriorInstall implements [ServerInterface]. -func (m *MyServer) DetectPriorInstall(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// DownloadArchive implements [ServerInterface]. -func (m *MyServer) DownloadArchive(w http.ResponseWriter, r *http.Request, params DownloadArchiveParams) { - panic("unimplemented") -} - -// DownloadAsset implements [ServerInterface]. -func (m *MyServer) DownloadAsset(w http.ResponseWriter, r *http.Request, id types.UUID, params DownloadAssetParams) { - panic("unimplemented") -} - -// DownloadDatabaseBackup implements [ServerInterface]. -func (m *MyServer) DownloadDatabaseBackup(w http.ResponseWriter, r *http.Request, filename string) { - panic("unimplemented") -} - -// EditAsset implements [ServerInterface]. -func (m *MyServer) EditAsset(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// EmptyQueue implements [ServerInterface]. -func (m *MyServer) EmptyQueue(w http.ResponseWriter, r *http.Request, name QueueName) { - panic("unimplemented") -} - -// EmptyTrash implements [ServerInterface]. -func (m *MyServer) EmptyTrash(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// EndSession implements [ServerInterface]. -func (m *MyServer) EndSession(w http.ResponseWriter, r *http.Request, id types.UUID, sessionId types.UUID, params EndSessionParams) { - panic("unimplemented") -} - -// FinishOAuth implements [ServerInterface]. -func (m *MyServer) FinishOAuth(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAboutInfo implements [ServerInterface]. -func (m *MyServer) GetAboutInfo(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetActivities implements [ServerInterface]. -func (m *MyServer) GetActivities(w http.ResponseWriter, r *http.Request, params GetActivitiesParams) { - panic("unimplemented") -} - -// GetActivityStatistics implements [ServerInterface]. -func (m *MyServer) GetActivityStatistics(w http.ResponseWriter, r *http.Request, params GetActivityStatisticsParams) { - panic("unimplemented") -} - -// GetAdminOnboarding implements [ServerInterface]. -func (m *MyServer) GetAdminOnboarding(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAlbumInfo implements [ServerInterface]. -func (m *MyServer) GetAlbumInfo(w http.ResponseWriter, r *http.Request, id types.UUID, params GetAlbumInfoParams) { - panic("unimplemented") -} - -// GetAlbumMapMarkers implements [ServerInterface]. -func (m *MyServer) GetAlbumMapMarkers(w http.ResponseWriter, r *http.Request, id types.UUID, params GetAlbumMapMarkersParams) { - panic("unimplemented") -} - -// GetAlbumStatistics implements [ServerInterface]. -func (m *MyServer) GetAlbumStatistics(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAllAlbums implements [ServerInterface]. -func (m *MyServer) GetAllAlbums(w http.ResponseWriter, r *http.Request, params GetAllAlbumsParams) { - panic("unimplemented") -} - -// GetAllLibraries implements [ServerInterface]. -func (m *MyServer) GetAllLibraries(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAllPeople implements [ServerInterface]. -func (m *MyServer) GetAllPeople(w http.ResponseWriter, r *http.Request, params GetAllPeopleParams) { - panic("unimplemented") -} - -// GetAllSharedLinks implements [ServerInterface]. -func (m *MyServer) GetAllSharedLinks(w http.ResponseWriter, r *http.Request, params GetAllSharedLinksParams) { - panic("unimplemented") -} - -// GetAllTags implements [ServerInterface]. -func (m *MyServer) GetAllTags(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetApiKey implements [ServerInterface]. -func (m *MyServer) GetApiKey(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetApiKeys implements [ServerInterface]. -func (m *MyServer) GetApiKeys(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetApkLinks implements [ServerInterface]. -func (m *MyServer) GetApkLinks(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAssetDuplicates implements [ServerInterface]. -func (m *MyServer) GetAssetDuplicates(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAssetEdits implements [ServerInterface]. -func (m *MyServer) GetAssetEdits(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetAssetInfo implements [ServerInterface]. -func (m *MyServer) GetAssetInfo(w http.ResponseWriter, r *http.Request, id types.UUID, params GetAssetInfoParams) { - panic("unimplemented") -} - -// GetAssetMetadata implements [ServerInterface]. -func (m *MyServer) GetAssetMetadata(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetAssetMetadataByKey implements [ServerInterface]. -func (m *MyServer) GetAssetMetadataByKey(w http.ResponseWriter, r *http.Request, id types.UUID, key string) { - panic("unimplemented") -} - -// GetAssetOcr implements [ServerInterface]. -func (m *MyServer) GetAssetOcr(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetAssetStatistics implements [ServerInterface]. -func (m *MyServer) GetAssetStatistics(w http.ResponseWriter, r *http.Request, params GetAssetStatisticsParams) { - panic("unimplemented") -} - -// GetAssetsByCity implements [ServerInterface]. -func (m *MyServer) GetAssetsByCity(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetAssetsByOriginalPath implements [ServerInterface]. -func (m *MyServer) GetAssetsByOriginalPath(w http.ResponseWriter, r *http.Request, params GetAssetsByOriginalPathParams) { - panic("unimplemented") -} - -// GetAuthStatus implements [ServerInterface]. -func (m *MyServer) GetAuthStatus(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetConfig implements [ServerInterface]. -func (m *MyServer) GetConfig(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetConfigDefaults implements [ServerInterface]. -func (m *MyServer) GetConfigDefaults(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetDownloadInfo implements [ServerInterface]. -func (m *MyServer) GetDownloadInfo(w http.ResponseWriter, r *http.Request, params GetDownloadInfoParams) { - panic("unimplemented") -} - -// GetExploreData implements [ServerInterface]. -func (m *MyServer) GetExploreData(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetFaces implements [ServerInterface]. -func (m *MyServer) GetFaces(w http.ResponseWriter, r *http.Request, params GetFacesParams) { - panic("unimplemented") -} - -// GetIntegrityReport implements [ServerInterface]. -func (m *MyServer) GetIntegrityReport(w http.ResponseWriter, r *http.Request, params GetIntegrityReportParams) { - panic("unimplemented") -} - -// GetIntegrityReportCsv implements [ServerInterface]. -func (m *MyServer) GetIntegrityReportCsv(w http.ResponseWriter, r *http.Request, pType IntegrityReport) { - panic("unimplemented") -} - -// GetIntegrityReportFile implements [ServerInterface]. -func (m *MyServer) GetIntegrityReportFile(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetIntegrityReportSummary implements [ServerInterface]. -func (m *MyServer) GetIntegrityReportSummary(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetLibrary implements [ServerInterface]. -func (m *MyServer) GetLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetLibraryStatistics implements [ServerInterface]. -func (m *MyServer) GetLibraryStatistics(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetMainPlaylist implements [ServerInterface]. -func (m *MyServer) GetMainPlaylist(w http.ResponseWriter, r *http.Request, id types.UUID, params GetMainPlaylistParams) { - panic("unimplemented") -} - -// GetMaintenanceStatus implements [ServerInterface]. -func (m *MyServer) GetMaintenanceStatus(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetMapMarkers implements [ServerInterface]. -func (m *MyServer) GetMapMarkers(w http.ResponseWriter, r *http.Request, params GetMapMarkersParams) { - panic("unimplemented") -} - -// GetMediaPlaylist implements [ServerInterface]. -func (m *MyServer) GetMediaPlaylist(w http.ResponseWriter, r *http.Request, id types.UUID, sessionId types.UUID, variantIndex int, params GetMediaPlaylistParams) { - panic("unimplemented") -} - -// GetMemory implements [ServerInterface]. -func (m *MyServer) GetMemory(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetMyApiKey implements [ServerInterface]. -func (m *MyServer) GetMyApiKey(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetMyCalendarHeatmap implements [ServerInterface]. -func (m *MyServer) GetMyCalendarHeatmap(w http.ResponseWriter, r *http.Request, params GetMyCalendarHeatmapParams) { - panic("unimplemented") -} - -// GetMyPreferences implements [ServerInterface]. -func (m *MyServer) GetMyPreferences(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetMySharedLink implements [ServerInterface]. -func (m *MyServer) GetMySharedLink(w http.ResponseWriter, r *http.Request, params GetMySharedLinkParams) { - panic("unimplemented") -} - -// GetMyUser implements [ServerInterface]. -func (m *MyServer) GetMyUser(w http.ResponseWriter, r *http.Request) { - res := UserAdminResponseDto{} - doWriteResponse(w, func(w http.ResponseWriter) error { - return json.NewEncoder(w).Encode(res) - }) -} - -// GetNotification implements [ServerInterface]. -func (m *MyServer) GetNotification(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetNotificationTemplateAdmin implements [ServerInterface]. -func (m *MyServer) GetNotificationTemplateAdmin(w http.ResponseWriter, r *http.Request, name string) { - panic("unimplemented") -} - -// GetNotifications implements [ServerInterface]. -func (m *MyServer) GetNotifications(w http.ResponseWriter, r *http.Request, params GetNotificationsParams) { - panic("unimplemented") -} - -// GetPartners implements [ServerInterface]. -func (m *MyServer) GetPartners(w http.ResponseWriter, r *http.Request, params GetPartnersParams) { - panic("unimplemented") -} - -// GetPerson implements [ServerInterface]. -func (m *MyServer) GetPerson(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetPersonStatistics implements [ServerInterface]. -func (m *MyServer) GetPersonStatistics(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetPersonThumbnail implements [ServerInterface]. -func (m *MyServer) GetPersonThumbnail(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetPlugin implements [ServerInterface]. -func (m *MyServer) GetPlugin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetProfileImage implements [ServerInterface]. -func (m *MyServer) GetProfileImage(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetQueue implements [ServerInterface]. -func (m *MyServer) GetQueue(w http.ResponseWriter, r *http.Request, name QueueName) { - panic("unimplemented") -} - -// GetQueueJobs implements [ServerInterface]. -func (m *MyServer) GetQueueJobs(w http.ResponseWriter, r *http.Request, name QueueName, params GetQueueJobsParams) { - panic("unimplemented") -} - -// GetQueues implements [ServerInterface]. -func (m *MyServer) GetQueues(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetQueuesLegacy implements [ServerInterface]. -func (m *MyServer) GetQueuesLegacy(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetReverseGeocodingState implements [ServerInterface]. -func (m *MyServer) GetReverseGeocodingState(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetSearchSuggestions implements [ServerInterface]. -func (m *MyServer) GetSearchSuggestions(w http.ResponseWriter, r *http.Request, params GetSearchSuggestionsParams) { - panic("unimplemented") -} - -// GetSegment implements [ServerInterface]. -func (m *MyServer) GetSegment(w http.ResponseWriter, r *http.Request, id types.UUID, sessionId types.UUID, variantIndex int, filename string, params GetSegmentParams) { - panic("unimplemented") -} - -// GetServerConfig implements [ServerInterface]. -func (m *MyServer) GetServerConfig(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetServerFeatures implements [ServerInterface]. -func (m *MyServer) GetServerFeatures(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetServerLicense implements [ServerInterface]. -func (m *MyServer) GetServerLicense(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetServerStatistics implements [ServerInterface]. -func (m *MyServer) GetServerStatistics(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetServerVersion implements [ServerInterface]. -func (m *MyServer) GetServerVersion(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetSessions implements [ServerInterface]. -func (m *MyServer) GetSessions(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetSharedLinkById implements [ServerInterface]. -func (m *MyServer) GetSharedLinkById(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetStack implements [ServerInterface]. -func (m *MyServer) GetStack(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetStorage implements [ServerInterface]. -func (m *MyServer) GetStorage(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetStorageTemplateOptions implements [ServerInterface]. -func (m *MyServer) GetStorageTemplateOptions(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetSupportedMediaTypes implements [ServerInterface]. -func (m *MyServer) GetSupportedMediaTypes(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetSyncAck implements [ServerInterface]. -func (m *MyServer) GetSyncAck(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetSyncStream implements [ServerInterface]. -func (m *MyServer) GetSyncStream(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetTagById implements [ServerInterface]. -func (m *MyServer) GetTagById(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetTimeBucket implements [ServerInterface]. -func (m *MyServer) GetTimeBucket(w http.ResponseWriter, r *http.Request, params GetTimeBucketParams) { - panic("unimplemented") -} - -// GetTimeBuckets implements [ServerInterface]. -func (m *MyServer) GetTimeBuckets(w http.ResponseWriter, r *http.Request, params GetTimeBucketsParams) { - panic("unimplemented") -} - -// GetUniqueOriginalPaths implements [ServerInterface]. -func (m *MyServer) GetUniqueOriginalPaths(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetUser implements [ServerInterface]. -func (m *MyServer) GetUser(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetUserAdmin implements [ServerInterface]. -func (m *MyServer) GetUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetUserCalendarHeatmapAdmin implements [ServerInterface]. -func (m *MyServer) GetUserCalendarHeatmapAdmin(w http.ResponseWriter, r *http.Request, id types.UUID, params GetUserCalendarHeatmapAdminParams) { - panic("unimplemented") -} - -// GetUserLicense implements [ServerInterface]. -func (m *MyServer) GetUserLicense(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetUserOnboarding implements [ServerInterface]. -func (m *MyServer) GetUserOnboarding(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetUserPreferencesAdmin implements [ServerInterface]. -func (m *MyServer) GetUserPreferencesAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetUserSessionsAdmin implements [ServerInterface]. -func (m *MyServer) GetUserSessionsAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetUserStatisticsAdmin implements [ServerInterface]. -func (m *MyServer) GetUserStatisticsAdmin(w http.ResponseWriter, r *http.Request, id types.UUID, params GetUserStatisticsAdminParams) { - panic("unimplemented") -} - -// GetVersionCheck implements [ServerInterface]. -func (m *MyServer) GetVersionCheck(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetVersionCheckState implements [ServerInterface]. -func (m *MyServer) GetVersionCheckState(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetVersionHistory implements [ServerInterface]. -func (m *MyServer) GetVersionHistory(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// GetWorkflow implements [ServerInterface]. -func (m *MyServer) GetWorkflow(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetWorkflowForShare implements [ServerInterface]. -func (m *MyServer) GetWorkflowForShare(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// GetWorkflowTriggers implements [ServerInterface]. -func (m *MyServer) GetWorkflowTriggers(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// LinkOAuthAccount implements [ServerInterface]. -func (m *MyServer) LinkOAuthAccount(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// ListDatabaseBackups implements [ServerInterface]. -func (m *MyServer) ListDatabaseBackups(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// LockAuthSession implements [ServerInterface]. -func (m *MyServer) LockAuthSession(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") +func must[E any](f func() (E, error)) E { + e, err := f() + if err != nil { + log.Fatal(err) + } + return e } -// LockSession implements [ServerInterface]. -func (m *MyServer) LockSession(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} +type MyServer struct{} // Login implements [ServerInterface]. func (m *MyServer) Login(w http.ResponseWriter, r *http.Request) { @@ -877,7 +66,7 @@ func (m *MyServer) Login(w http.ResponseWriter, r *http.Request) { return } if lrb.Email == "martin@mfashby.net" && lrb.Password == "P@55word" { - u, _ := uuid.Parse("8e251dd2-2d10-484b-bdc3-0128d855f204") + u := must(func() (uuid.UUID, error) { return uuid.Parse("8e251dd2-2d10-484b-bdc3-0128d855f204") }) doWriteJsonResponse(w, LoginResponseDto{ AccessToken: "foobar", IsAdmin: true, @@ -896,453 +85,3 @@ func (m *MyServer) Login(w http.ResponseWriter, r *http.Request) { }) } } - -// Logout implements [ServerInterface]. -func (m *MyServer) Logout(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// LogoutOAuth implements [ServerInterface]. -func (m *MyServer) LogoutOAuth(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// MaintenanceLogin implements [ServerInterface]. -func (m *MyServer) MaintenanceLogin(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// MemoriesStatistics implements [ServerInterface]. -func (m *MyServer) MemoriesStatistics(w http.ResponseWriter, r *http.Request, params MemoriesStatisticsParams) { - panic("unimplemented") -} - -// MergePerson implements [ServerInterface]. -func (m *MyServer) MergePerson(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// PingServer implements [ServerInterface]. -func (m *MyServer) PingServer(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// PlayAssetVideo implements [ServerInterface]. -func (m *MyServer) PlayAssetVideo(w http.ResponseWriter, r *http.Request, id types.UUID, params PlayAssetVideoParams) { - panic("unimplemented") -} - -// ReassignFaces implements [ServerInterface]. -func (m *MyServer) ReassignFaces(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// ReassignFacesById implements [ServerInterface]. -func (m *MyServer) ReassignFacesById(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RedirectOAuthToMobile implements [ServerInterface]. -func (m *MyServer) RedirectOAuthToMobile(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// RemoveAssetEdits implements [ServerInterface]. -func (m *MyServer) RemoveAssetEdits(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RemoveAssetFromAlbum implements [ServerInterface]. -func (m *MyServer) RemoveAssetFromAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RemoveAssetFromStack implements [ServerInterface]. -func (m *MyServer) RemoveAssetFromStack(w http.ResponseWriter, r *http.Request, id types.UUID, assetId types.UUID) { - panic("unimplemented") -} - -// RemoveMemoryAssets implements [ServerInterface]. -func (m *MyServer) RemoveMemoryAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RemovePartner implements [ServerInterface]. -func (m *MyServer) RemovePartner(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RemoveSharedLink implements [ServerInterface]. -func (m *MyServer) RemoveSharedLink(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RemoveSharedLinkAssets implements [ServerInterface]. -func (m *MyServer) RemoveSharedLinkAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// RemoveUserFromAlbum implements [ServerInterface]. -func (m *MyServer) RemoveUserFromAlbum(w http.ResponseWriter, r *http.Request, id types.UUID, userId string) { - panic("unimplemented") -} - -// ResetPinCode implements [ServerInterface]. -func (m *MyServer) ResetPinCode(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// ResolveDuplicates implements [ServerInterface]. -func (m *MyServer) ResolveDuplicates(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// RestoreAssets implements [ServerInterface]. -func (m *MyServer) RestoreAssets(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// RestoreTrash implements [ServerInterface]. -func (m *MyServer) RestoreTrash(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// RestoreUserAdmin implements [ServerInterface]. -func (m *MyServer) RestoreUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// ReverseGeocode implements [ServerInterface]. -func (m *MyServer) ReverseGeocode(w http.ResponseWriter, r *http.Request, params ReverseGeocodeParams) { - panic("unimplemented") -} - -// RunAssetJobs implements [ServerInterface]. -func (m *MyServer) RunAssetJobs(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// RunQueueCommandLegacy implements [ServerInterface]. -func (m *MyServer) RunQueueCommandLegacy(w http.ResponseWriter, r *http.Request, name QueueName) { - panic("unimplemented") -} - -// ScanLibrary implements [ServerInterface]. -func (m *MyServer) ScanLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// SearchAssetStatistics implements [ServerInterface]. -func (m *MyServer) SearchAssetStatistics(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SearchAssets implements [ServerInterface]. -func (m *MyServer) SearchAssets(w http.ResponseWriter, r *http.Request, params SearchAssetsParams) { - panic("unimplemented") -} - -// SearchLargeAssets implements [ServerInterface]. -func (m *MyServer) SearchLargeAssets(w http.ResponseWriter, r *http.Request, params SearchLargeAssetsParams) { - panic("unimplemented") -} - -// SearchMemories implements [ServerInterface]. -func (m *MyServer) SearchMemories(w http.ResponseWriter, r *http.Request, params SearchMemoriesParams) { - panic("unimplemented") -} - -// SearchPerson implements [ServerInterface]. -func (m *MyServer) SearchPerson(w http.ResponseWriter, r *http.Request, params SearchPersonParams) { - panic("unimplemented") -} - -// SearchPlaces implements [ServerInterface]. -func (m *MyServer) SearchPlaces(w http.ResponseWriter, r *http.Request, params SearchPlacesParams) { - panic("unimplemented") -} - -// SearchPluginMethods implements [ServerInterface]. -func (m *MyServer) SearchPluginMethods(w http.ResponseWriter, r *http.Request, params SearchPluginMethodsParams) { - panic("unimplemented") -} - -// SearchPluginTemplates implements [ServerInterface]. -func (m *MyServer) SearchPluginTemplates(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SearchPlugins implements [ServerInterface]. -func (m *MyServer) SearchPlugins(w http.ResponseWriter, r *http.Request, params SearchPluginsParams) { - panic("unimplemented") -} - -// SearchRandom implements [ServerInterface]. -func (m *MyServer) SearchRandom(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SearchSmart implements [ServerInterface]. -func (m *MyServer) SearchSmart(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SearchStacks implements [ServerInterface]. -func (m *MyServer) SearchStacks(w http.ResponseWriter, r *http.Request, params SearchStacksParams) { - panic("unimplemented") -} - -// SearchUsers implements [ServerInterface]. -func (m *MyServer) SearchUsers(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SearchUsersAdmin implements [ServerInterface]. -func (m *MyServer) SearchUsersAdmin(w http.ResponseWriter, r *http.Request, params SearchUsersAdminParams) { - panic("unimplemented") -} - -// SearchWorkflows implements [ServerInterface]. -func (m *MyServer) SearchWorkflows(w http.ResponseWriter, r *http.Request, params SearchWorkflowsParams) { - panic("unimplemented") -} - -// SendSyncAck implements [ServerInterface]. -func (m *MyServer) SendSyncAck(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SendTestEmailAdmin implements [ServerInterface]. -func (m *MyServer) SendTestEmailAdmin(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SetMaintenanceMode implements [ServerInterface]. -func (m *MyServer) SetMaintenanceMode(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SetServerLicense implements [ServerInterface]. -func (m *MyServer) SetServerLicense(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SetUserLicense implements [ServerInterface]. -func (m *MyServer) SetUserLicense(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SetUserOnboarding implements [ServerInterface]. -func (m *MyServer) SetUserOnboarding(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SetupPinCode implements [ServerInterface]. -func (m *MyServer) SetupPinCode(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// SharedLinkLogin implements [ServerInterface]. -func (m *MyServer) SharedLinkLogin(w http.ResponseWriter, r *http.Request, params SharedLinkLoginParams) { - panic("unimplemented") -} - -// SignUpAdmin implements [ServerInterface]. -func (m *MyServer) SignUpAdmin(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// StartDatabaseRestoreFlow implements [ServerInterface]. -func (m *MyServer) StartDatabaseRestoreFlow(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// StartOAuth implements [ServerInterface]. -func (m *MyServer) StartOAuth(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// TagAssets implements [ServerInterface]. -func (m *MyServer) TagAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UnlinkAllOAuthAccountsAdmin implements [ServerInterface]. -func (m *MyServer) UnlinkAllOAuthAccountsAdmin(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UnlinkOAuthAccount implements [ServerInterface]. -func (m *MyServer) UnlinkOAuthAccount(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UnlockAuthSession implements [ServerInterface]. -func (m *MyServer) UnlockAuthSession(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UntagAssets implements [ServerInterface]. -func (m *MyServer) UntagAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateAdminOnboarding implements [ServerInterface]. -func (m *MyServer) UpdateAdminOnboarding(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdateAlbumInfo implements [ServerInterface]. -func (m *MyServer) UpdateAlbumInfo(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateAlbumUser implements [ServerInterface]. -func (m *MyServer) UpdateAlbumUser(w http.ResponseWriter, r *http.Request, id types.UUID, userId string) { - panic("unimplemented") -} - -// UpdateApiKey implements [ServerInterface]. -func (m *MyServer) UpdateApiKey(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateAsset implements [ServerInterface]. -func (m *MyServer) UpdateAsset(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateAssetMetadata implements [ServerInterface]. -func (m *MyServer) UpdateAssetMetadata(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateAssets implements [ServerInterface]. -func (m *MyServer) UpdateAssets(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdateBulkAssetMetadata implements [ServerInterface]. -func (m *MyServer) UpdateBulkAssetMetadata(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdateConfig implements [ServerInterface]. -func (m *MyServer) UpdateConfig(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdateLibrary implements [ServerInterface]. -func (m *MyServer) UpdateLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateMemory implements [ServerInterface]. -func (m *MyServer) UpdateMemory(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateMyPreferences implements [ServerInterface]. -func (m *MyServer) UpdateMyPreferences(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdateMyUser implements [ServerInterface]. -func (m *MyServer) UpdateMyUser(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdateNotification implements [ServerInterface]. -func (m *MyServer) UpdateNotification(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateNotifications implements [ServerInterface]. -func (m *MyServer) UpdateNotifications(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdatePartner implements [ServerInterface]. -func (m *MyServer) UpdatePartner(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdatePeople implements [ServerInterface]. -func (m *MyServer) UpdatePeople(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpdatePerson implements [ServerInterface]. -func (m *MyServer) UpdatePerson(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateQueue implements [ServerInterface]. -func (m *MyServer) UpdateQueue(w http.ResponseWriter, r *http.Request, name QueueName) { - panic("unimplemented") -} - -// UpdateSession implements [ServerInterface]. -func (m *MyServer) UpdateSession(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateSharedLink implements [ServerInterface]. -func (m *MyServer) UpdateSharedLink(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateStack implements [ServerInterface]. -func (m *MyServer) UpdateStack(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateTag implements [ServerInterface]. -func (m *MyServer) UpdateTag(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateUserAdmin implements [ServerInterface]. -func (m *MyServer) UpdateUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateUserPreferencesAdmin implements [ServerInterface]. -func (m *MyServer) UpdateUserPreferencesAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UpdateWorkflow implements [ServerInterface]. -func (m *MyServer) UpdateWorkflow(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// UploadAsset implements [ServerInterface]. -func (m *MyServer) UploadAsset(w http.ResponseWriter, r *http.Request, params UploadAssetParams) { - panic("unimplemented") -} - -// UploadDatabaseBackup implements [ServerInterface]. -func (m *MyServer) UploadDatabaseBackup(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// UpsertTags implements [ServerInterface]. -func (m *MyServer) UpsertTags(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// Validate implements [ServerInterface]. -func (m *MyServer) Validate(w http.ResponseWriter, r *http.Request, id types.UUID) { - panic("unimplemented") -} - -// ValidateAccessToken implements [ServerInterface]. -func (m *MyServer) ValidateAccessToken(w http.ResponseWriter, r *http.Request) { - panic("unimplemented") -} - -// ViewAsset implements [ServerInterface]. -func (m *MyServer) ViewAsset(w http.ResponseWriter, r *http.Request, id types.UUID, params ViewAssetParams) { - panic("unimplemented") -} diff --git a/unimplemented.go b/unimplemented.go @@ -0,0 +1,1277 @@ +package main + +import ( + "encoding/json" + "github.com/oapi-codegen/runtime/types" + "net/http" +) + +// All the methods yet to implement + +// AddAssetsToAlbum implements [ServerInterface]. +func (m *MyServer) AddAssetsToAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// AddAssetsToAlbums implements [ServerInterface]. +func (m *MyServer) AddAssetsToAlbums(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// AddMemoryAssets implements [ServerInterface]. +func (m *MyServer) AddMemoryAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// AddSharedLinkAssets implements [ServerInterface]. +func (m *MyServer) AddSharedLinkAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// AddUsersToAlbum implements [ServerInterface]. +func (m *MyServer) AddUsersToAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// BulkTagAssets implements [ServerInterface]. +func (m *MyServer) BulkTagAssets(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// ChangePassword implements [ServerInterface]. +func (m *MyServer) ChangePassword(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// ChangePinCode implements [ServerInterface]. +func (m *MyServer) ChangePinCode(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CheckBulkUpload implements [ServerInterface]. +func (m *MyServer) CheckBulkUpload(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CopyAsset implements [ServerInterface]. +func (m *MyServer) CopyAsset(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateActivity implements [ServerInterface]. +func (m *MyServer) CreateActivity(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateAlbum implements [ServerInterface]. +func (m *MyServer) CreateAlbum(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateApiKey implements [ServerInterface]. +func (m *MyServer) CreateApiKey(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateFace implements [ServerInterface]. +func (m *MyServer) CreateFace(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateJob implements [ServerInterface]. +func (m *MyServer) CreateJob(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateLibrary implements [ServerInterface]. +func (m *MyServer) CreateLibrary(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateMemory implements [ServerInterface]. +func (m *MyServer) CreateMemory(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateNotification implements [ServerInterface]. +func (m *MyServer) CreateNotification(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreatePartner implements [ServerInterface]. +func (m *MyServer) CreatePartner(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreatePartnerDeprecated implements [ServerInterface]. +func (m *MyServer) CreatePartnerDeprecated(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// CreatePerson implements [ServerInterface]. +func (m *MyServer) CreatePerson(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateProfileImage implements [ServerInterface]. +func (m *MyServer) CreateProfileImage(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateSession implements [ServerInterface]. +func (m *MyServer) CreateSession(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateSharedLink implements [ServerInterface]. +func (m *MyServer) CreateSharedLink(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateStack implements [ServerInterface]. +func (m *MyServer) CreateStack(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateTag implements [ServerInterface]. +func (m *MyServer) CreateTag(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateUserAdmin implements [ServerInterface]. +func (m *MyServer) CreateUserAdmin(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// CreateWorkflow implements [ServerInterface]. +func (m *MyServer) CreateWorkflow(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteActivity implements [ServerInterface]. +func (m *MyServer) DeleteActivity(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteAlbum implements [ServerInterface]. +func (m *MyServer) DeleteAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteAllSessions implements [ServerInterface]. +func (m *MyServer) DeleteAllSessions(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteApiKey implements [ServerInterface]. +func (m *MyServer) DeleteApiKey(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteAssetMetadata implements [ServerInterface]. +func (m *MyServer) DeleteAssetMetadata(w http.ResponseWriter, r *http.Request, id types.UUID, key string) { + panic("unimplemented") +} + +// DeleteAssets implements [ServerInterface]. +func (m *MyServer) DeleteAssets(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteBulkAssetMetadata implements [ServerInterface]. +func (m *MyServer) DeleteBulkAssetMetadata(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteDatabaseBackup implements [ServerInterface]. +func (m *MyServer) DeleteDatabaseBackup(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteDuplicate implements [ServerInterface]. +func (m *MyServer) DeleteDuplicate(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteDuplicates implements [ServerInterface]. +func (m *MyServer) DeleteDuplicates(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteFace implements [ServerInterface]. +func (m *MyServer) DeleteFace(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteIntegrityReport implements [ServerInterface]. +func (m *MyServer) DeleteIntegrityReport(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteLibrary implements [ServerInterface]. +func (m *MyServer) DeleteLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteMemory implements [ServerInterface]. +func (m *MyServer) DeleteMemory(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteNotification implements [ServerInterface]. +func (m *MyServer) DeleteNotification(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteNotifications implements [ServerInterface]. +func (m *MyServer) DeleteNotifications(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeletePeople implements [ServerInterface]. +func (m *MyServer) DeletePeople(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeletePerson implements [ServerInterface]. +func (m *MyServer) DeletePerson(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteProfileImage implements [ServerInterface]. +func (m *MyServer) DeleteProfileImage(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteServerLicense implements [ServerInterface]. +func (m *MyServer) DeleteServerLicense(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteSession implements [ServerInterface]. +func (m *MyServer) DeleteSession(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteStack implements [ServerInterface]. +func (m *MyServer) DeleteStack(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteStacks implements [ServerInterface]. +func (m *MyServer) DeleteStacks(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteSyncAck implements [ServerInterface]. +func (m *MyServer) DeleteSyncAck(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteTag implements [ServerInterface]. +func (m *MyServer) DeleteTag(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteUserAdmin implements [ServerInterface]. +func (m *MyServer) DeleteUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DeleteUserLicense implements [ServerInterface]. +func (m *MyServer) DeleteUserLicense(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteUserOnboarding implements [ServerInterface]. +func (m *MyServer) DeleteUserOnboarding(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DeleteWorkflow implements [ServerInterface]. +func (m *MyServer) DeleteWorkflow(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// DetectPriorInstall implements [ServerInterface]. +func (m *MyServer) DetectPriorInstall(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// DownloadArchive implements [ServerInterface]. +func (m *MyServer) DownloadArchive(w http.ResponseWriter, r *http.Request, params DownloadArchiveParams) { + panic("unimplemented") +} + +// DownloadAsset implements [ServerInterface]. +func (m *MyServer) DownloadAsset(w http.ResponseWriter, r *http.Request, id types.UUID, params DownloadAssetParams) { + panic("unimplemented") +} + +// DownloadDatabaseBackup implements [ServerInterface]. +func (m *MyServer) DownloadDatabaseBackup(w http.ResponseWriter, r *http.Request, filename string) { + panic("unimplemented") +} + +// EditAsset implements [ServerInterface]. +func (m *MyServer) EditAsset(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// EmptyQueue implements [ServerInterface]. +func (m *MyServer) EmptyQueue(w http.ResponseWriter, r *http.Request, name QueueName) { + panic("unimplemented") +} + +// EmptyTrash implements [ServerInterface]. +func (m *MyServer) EmptyTrash(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// EndSession implements [ServerInterface]. +func (m *MyServer) EndSession(w http.ResponseWriter, r *http.Request, id types.UUID, sessionId types.UUID, params EndSessionParams) { + panic("unimplemented") +} + +// FinishOAuth implements [ServerInterface]. +func (m *MyServer) FinishOAuth(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAboutInfo implements [ServerInterface]. +func (m *MyServer) GetAboutInfo(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetActivities implements [ServerInterface]. +func (m *MyServer) GetActivities(w http.ResponseWriter, r *http.Request, params GetActivitiesParams) { + panic("unimplemented") +} + +// GetActivityStatistics implements [ServerInterface]. +func (m *MyServer) GetActivityStatistics(w http.ResponseWriter, r *http.Request, params GetActivityStatisticsParams) { + panic("unimplemented") +} + +// GetAdminOnboarding implements [ServerInterface]. +func (m *MyServer) GetAdminOnboarding(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAlbumInfo implements [ServerInterface]. +func (m *MyServer) GetAlbumInfo(w http.ResponseWriter, r *http.Request, id types.UUID, params GetAlbumInfoParams) { + panic("unimplemented") +} + +// GetAlbumMapMarkers implements [ServerInterface]. +func (m *MyServer) GetAlbumMapMarkers(w http.ResponseWriter, r *http.Request, id types.UUID, params GetAlbumMapMarkersParams) { + panic("unimplemented") +} + +// GetAlbumStatistics implements [ServerInterface]. +func (m *MyServer) GetAlbumStatistics(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAllAlbums implements [ServerInterface]. +func (m *MyServer) GetAllAlbums(w http.ResponseWriter, r *http.Request, params GetAllAlbumsParams) { + panic("unimplemented") +} + +// GetAllLibraries implements [ServerInterface]. +func (m *MyServer) GetAllLibraries(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAllPeople implements [ServerInterface]. +func (m *MyServer) GetAllPeople(w http.ResponseWriter, r *http.Request, params GetAllPeopleParams) { + panic("unimplemented") +} + +// GetAllSharedLinks implements [ServerInterface]. +func (m *MyServer) GetAllSharedLinks(w http.ResponseWriter, r *http.Request, params GetAllSharedLinksParams) { + panic("unimplemented") +} + +// GetAllTags implements [ServerInterface]. +func (m *MyServer) GetAllTags(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetApiKey implements [ServerInterface]. +func (m *MyServer) GetApiKey(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetApiKeys implements [ServerInterface]. +func (m *MyServer) GetApiKeys(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetApkLinks implements [ServerInterface]. +func (m *MyServer) GetApkLinks(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAssetDuplicates implements [ServerInterface]. +func (m *MyServer) GetAssetDuplicates(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAssetEdits implements [ServerInterface]. +func (m *MyServer) GetAssetEdits(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetAssetInfo implements [ServerInterface]. +func (m *MyServer) GetAssetInfo(w http.ResponseWriter, r *http.Request, id types.UUID, params GetAssetInfoParams) { + panic("unimplemented") +} + +// GetAssetMetadata implements [ServerInterface]. +func (m *MyServer) GetAssetMetadata(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetAssetMetadataByKey implements [ServerInterface]. +func (m *MyServer) GetAssetMetadataByKey(w http.ResponseWriter, r *http.Request, id types.UUID, key string) { + panic("unimplemented") +} + +// GetAssetOcr implements [ServerInterface]. +func (m *MyServer) GetAssetOcr(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetAssetStatistics implements [ServerInterface]. +func (m *MyServer) GetAssetStatistics(w http.ResponseWriter, r *http.Request, params GetAssetStatisticsParams) { + panic("unimplemented") +} + +// GetAssetsByCity implements [ServerInterface]. +func (m *MyServer) GetAssetsByCity(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetAssetsByOriginalPath implements [ServerInterface]. +func (m *MyServer) GetAssetsByOriginalPath(w http.ResponseWriter, r *http.Request, params GetAssetsByOriginalPathParams) { + panic("unimplemented") +} + +// GetAuthStatus implements [ServerInterface]. +func (m *MyServer) GetAuthStatus(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetConfig implements [ServerInterface]. +func (m *MyServer) GetConfig(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetConfigDefaults implements [ServerInterface]. +func (m *MyServer) GetConfigDefaults(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetDownloadInfo implements [ServerInterface]. +func (m *MyServer) GetDownloadInfo(w http.ResponseWriter, r *http.Request, params GetDownloadInfoParams) { + panic("unimplemented") +} + +// GetExploreData implements [ServerInterface]. +func (m *MyServer) GetExploreData(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetFaces implements [ServerInterface]. +func (m *MyServer) GetFaces(w http.ResponseWriter, r *http.Request, params GetFacesParams) { + panic("unimplemented") +} + +// GetIntegrityReport implements [ServerInterface]. +func (m *MyServer) GetIntegrityReport(w http.ResponseWriter, r *http.Request, params GetIntegrityReportParams) { + panic("unimplemented") +} + +// GetIntegrityReportCsv implements [ServerInterface]. +func (m *MyServer) GetIntegrityReportCsv(w http.ResponseWriter, r *http.Request, pType IntegrityReport) { + panic("unimplemented") +} + +// GetIntegrityReportFile implements [ServerInterface]. +func (m *MyServer) GetIntegrityReportFile(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetIntegrityReportSummary implements [ServerInterface]. +func (m *MyServer) GetIntegrityReportSummary(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetLibrary implements [ServerInterface]. +func (m *MyServer) GetLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetLibraryStatistics implements [ServerInterface]. +func (m *MyServer) GetLibraryStatistics(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetMainPlaylist implements [ServerInterface]. +func (m *MyServer) GetMainPlaylist(w http.ResponseWriter, r *http.Request, id types.UUID, params GetMainPlaylistParams) { + panic("unimplemented") +} + +// GetMaintenanceStatus implements [ServerInterface]. +func (m *MyServer) GetMaintenanceStatus(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetMapMarkers implements [ServerInterface]. +func (m *MyServer) GetMapMarkers(w http.ResponseWriter, r *http.Request, params GetMapMarkersParams) { + panic("unimplemented") +} + +// GetMediaPlaylist implements [ServerInterface]. +func (m *MyServer) GetMediaPlaylist(w http.ResponseWriter, r *http.Request, id types.UUID, sessionId types.UUID, variantIndex int, params GetMediaPlaylistParams) { + panic("unimplemented") +} + +// GetMemory implements [ServerInterface]. +func (m *MyServer) GetMemory(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetMyApiKey implements [ServerInterface]. +func (m *MyServer) GetMyApiKey(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetMyCalendarHeatmap implements [ServerInterface]. +func (m *MyServer) GetMyCalendarHeatmap(w http.ResponseWriter, r *http.Request, params GetMyCalendarHeatmapParams) { + panic("unimplemented") +} + +// GetMyPreferences implements [ServerInterface]. +func (m *MyServer) GetMyPreferences(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetMySharedLink implements [ServerInterface]. +func (m *MyServer) GetMySharedLink(w http.ResponseWriter, r *http.Request, params GetMySharedLinkParams) { + panic("unimplemented") +} + +// GetMyUser implements [ServerInterface]. +func (m *MyServer) GetMyUser(w http.ResponseWriter, r *http.Request) { + res := UserAdminResponseDto{} + doWriteResponse(w, func(w http.ResponseWriter) error { + return json.NewEncoder(w).Encode(res) + }) +} + +// GetNotification implements [ServerInterface]. +func (m *MyServer) GetNotification(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetNotificationTemplateAdmin implements [ServerInterface]. +func (m *MyServer) GetNotificationTemplateAdmin(w http.ResponseWriter, r *http.Request, name string) { + panic("unimplemented") +} + +// GetNotifications implements [ServerInterface]. +func (m *MyServer) GetNotifications(w http.ResponseWriter, r *http.Request, params GetNotificationsParams) { + panic("unimplemented") +} + +// GetPartners implements [ServerInterface]. +func (m *MyServer) GetPartners(w http.ResponseWriter, r *http.Request, params GetPartnersParams) { + panic("unimplemented") +} + +// GetPerson implements [ServerInterface]. +func (m *MyServer) GetPerson(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetPersonStatistics implements [ServerInterface]. +func (m *MyServer) GetPersonStatistics(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetPersonThumbnail implements [ServerInterface]. +func (m *MyServer) GetPersonThumbnail(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetPlugin implements [ServerInterface]. +func (m *MyServer) GetPlugin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetProfileImage implements [ServerInterface]. +func (m *MyServer) GetProfileImage(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetQueue implements [ServerInterface]. +func (m *MyServer) GetQueue(w http.ResponseWriter, r *http.Request, name QueueName) { + panic("unimplemented") +} + +// GetQueueJobs implements [ServerInterface]. +func (m *MyServer) GetQueueJobs(w http.ResponseWriter, r *http.Request, name QueueName, params GetQueueJobsParams) { + panic("unimplemented") +} + +// GetQueues implements [ServerInterface]. +func (m *MyServer) GetQueues(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetQueuesLegacy implements [ServerInterface]. +func (m *MyServer) GetQueuesLegacy(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetReverseGeocodingState implements [ServerInterface]. +func (m *MyServer) GetReverseGeocodingState(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetSearchSuggestions implements [ServerInterface]. +func (m *MyServer) GetSearchSuggestions(w http.ResponseWriter, r *http.Request, params GetSearchSuggestionsParams) { + panic("unimplemented") +} + +// GetSegment implements [ServerInterface]. +func (m *MyServer) GetSegment(w http.ResponseWriter, r *http.Request, id types.UUID, sessionId types.UUID, variantIndex int, filename string, params GetSegmentParams) { + panic("unimplemented") +} + +// GetServerConfig implements [ServerInterface]. +func (m *MyServer) GetServerConfig(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetServerFeatures implements [ServerInterface]. +func (m *MyServer) GetServerFeatures(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetServerLicense implements [ServerInterface]. +func (m *MyServer) GetServerLicense(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetServerStatistics implements [ServerInterface]. +func (m *MyServer) GetServerStatistics(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetServerVersion implements [ServerInterface]. +func (m *MyServer) GetServerVersion(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetSessions implements [ServerInterface]. +func (m *MyServer) GetSessions(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetSharedLinkById implements [ServerInterface]. +func (m *MyServer) GetSharedLinkById(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetStack implements [ServerInterface]. +func (m *MyServer) GetStack(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetStorage implements [ServerInterface]. +func (m *MyServer) GetStorage(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetStorageTemplateOptions implements [ServerInterface]. +func (m *MyServer) GetStorageTemplateOptions(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetSupportedMediaTypes implements [ServerInterface]. +func (m *MyServer) GetSupportedMediaTypes(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetSyncAck implements [ServerInterface]. +func (m *MyServer) GetSyncAck(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetSyncStream implements [ServerInterface]. +func (m *MyServer) GetSyncStream(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetTagById implements [ServerInterface]. +func (m *MyServer) GetTagById(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetTimeBucket implements [ServerInterface]. +func (m *MyServer) GetTimeBucket(w http.ResponseWriter, r *http.Request, params GetTimeBucketParams) { + panic("unimplemented") +} + +// GetTimeBuckets implements [ServerInterface]. +func (m *MyServer) GetTimeBuckets(w http.ResponseWriter, r *http.Request, params GetTimeBucketsParams) { + panic("unimplemented") +} + +// GetUniqueOriginalPaths implements [ServerInterface]. +func (m *MyServer) GetUniqueOriginalPaths(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetUser implements [ServerInterface]. +func (m *MyServer) GetUser(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetUserAdmin implements [ServerInterface]. +func (m *MyServer) GetUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetUserCalendarHeatmapAdmin implements [ServerInterface]. +func (m *MyServer) GetUserCalendarHeatmapAdmin(w http.ResponseWriter, r *http.Request, id types.UUID, params GetUserCalendarHeatmapAdminParams) { + panic("unimplemented") +} + +// GetUserLicense implements [ServerInterface]. +func (m *MyServer) GetUserLicense(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetUserOnboarding implements [ServerInterface]. +func (m *MyServer) GetUserOnboarding(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetUserPreferencesAdmin implements [ServerInterface]. +func (m *MyServer) GetUserPreferencesAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetUserSessionsAdmin implements [ServerInterface]. +func (m *MyServer) GetUserSessionsAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetUserStatisticsAdmin implements [ServerInterface]. +func (m *MyServer) GetUserStatisticsAdmin(w http.ResponseWriter, r *http.Request, id types.UUID, params GetUserStatisticsAdminParams) { + panic("unimplemented") +} + +// GetVersionCheck implements [ServerInterface]. +func (m *MyServer) GetVersionCheck(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetVersionCheckState implements [ServerInterface]. +func (m *MyServer) GetVersionCheckState(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetVersionHistory implements [ServerInterface]. +func (m *MyServer) GetVersionHistory(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// GetWorkflow implements [ServerInterface]. +func (m *MyServer) GetWorkflow(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetWorkflowForShare implements [ServerInterface]. +func (m *MyServer) GetWorkflowForShare(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// GetWorkflowTriggers implements [ServerInterface]. +func (m *MyServer) GetWorkflowTriggers(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// LinkOAuthAccount implements [ServerInterface]. +func (m *MyServer) LinkOAuthAccount(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// ListDatabaseBackups implements [ServerInterface]. +func (m *MyServer) ListDatabaseBackups(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// LockAuthSession implements [ServerInterface]. +func (m *MyServer) LockAuthSession(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// LockSession implements [ServerInterface]. +func (m *MyServer) LockSession(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// Logout implements [ServerInterface]. +func (m *MyServer) Logout(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// LogoutOAuth implements [ServerInterface]. +func (m *MyServer) LogoutOAuth(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// MaintenanceLogin implements [ServerInterface]. +func (m *MyServer) MaintenanceLogin(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// MemoriesStatistics implements [ServerInterface]. +func (m *MyServer) MemoriesStatistics(w http.ResponseWriter, r *http.Request, params MemoriesStatisticsParams) { + panic("unimplemented") +} + +// MergePerson implements [ServerInterface]. +func (m *MyServer) MergePerson(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// PingServer implements [ServerInterface]. +func (m *MyServer) PingServer(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// PlayAssetVideo implements [ServerInterface]. +func (m *MyServer) PlayAssetVideo(w http.ResponseWriter, r *http.Request, id types.UUID, params PlayAssetVideoParams) { + panic("unimplemented") +} + +// ReassignFaces implements [ServerInterface]. +func (m *MyServer) ReassignFaces(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// ReassignFacesById implements [ServerInterface]. +func (m *MyServer) ReassignFacesById(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RedirectOAuthToMobile implements [ServerInterface]. +func (m *MyServer) RedirectOAuthToMobile(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// RemoveAssetEdits implements [ServerInterface]. +func (m *MyServer) RemoveAssetEdits(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RemoveAssetFromAlbum implements [ServerInterface]. +func (m *MyServer) RemoveAssetFromAlbum(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RemoveAssetFromStack implements [ServerInterface]. +func (m *MyServer) RemoveAssetFromStack(w http.ResponseWriter, r *http.Request, id types.UUID, assetId types.UUID) { + panic("unimplemented") +} + +// RemoveMemoryAssets implements [ServerInterface]. +func (m *MyServer) RemoveMemoryAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RemovePartner implements [ServerInterface]. +func (m *MyServer) RemovePartner(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RemoveSharedLink implements [ServerInterface]. +func (m *MyServer) RemoveSharedLink(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RemoveSharedLinkAssets implements [ServerInterface]. +func (m *MyServer) RemoveSharedLinkAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// RemoveUserFromAlbum implements [ServerInterface]. +func (m *MyServer) RemoveUserFromAlbum(w http.ResponseWriter, r *http.Request, id types.UUID, userId string) { + panic("unimplemented") +} + +// ResetPinCode implements [ServerInterface]. +func (m *MyServer) ResetPinCode(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// ResolveDuplicates implements [ServerInterface]. +func (m *MyServer) ResolveDuplicates(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// RestoreAssets implements [ServerInterface]. +func (m *MyServer) RestoreAssets(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// RestoreTrash implements [ServerInterface]. +func (m *MyServer) RestoreTrash(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// RestoreUserAdmin implements [ServerInterface]. +func (m *MyServer) RestoreUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// ReverseGeocode implements [ServerInterface]. +func (m *MyServer) ReverseGeocode(w http.ResponseWriter, r *http.Request, params ReverseGeocodeParams) { + panic("unimplemented") +} + +// RunAssetJobs implements [ServerInterface]. +func (m *MyServer) RunAssetJobs(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// RunQueueCommandLegacy implements [ServerInterface]. +func (m *MyServer) RunQueueCommandLegacy(w http.ResponseWriter, r *http.Request, name QueueName) { + panic("unimplemented") +} + +// ScanLibrary implements [ServerInterface]. +func (m *MyServer) ScanLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// SearchAssetStatistics implements [ServerInterface]. +func (m *MyServer) SearchAssetStatistics(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SearchAssets implements [ServerInterface]. +func (m *MyServer) SearchAssets(w http.ResponseWriter, r *http.Request, params SearchAssetsParams) { + panic("unimplemented") +} + +// SearchLargeAssets implements [ServerInterface]. +func (m *MyServer) SearchLargeAssets(w http.ResponseWriter, r *http.Request, params SearchLargeAssetsParams) { + panic("unimplemented") +} + +// SearchMemories implements [ServerInterface]. +func (m *MyServer) SearchMemories(w http.ResponseWriter, r *http.Request, params SearchMemoriesParams) { + panic("unimplemented") +} + +// SearchPerson implements [ServerInterface]. +func (m *MyServer) SearchPerson(w http.ResponseWriter, r *http.Request, params SearchPersonParams) { + panic("unimplemented") +} + +// SearchPlaces implements [ServerInterface]. +func (m *MyServer) SearchPlaces(w http.ResponseWriter, r *http.Request, params SearchPlacesParams) { + panic("unimplemented") +} + +// SearchPluginMethods implements [ServerInterface]. +func (m *MyServer) SearchPluginMethods(w http.ResponseWriter, r *http.Request, params SearchPluginMethodsParams) { + panic("unimplemented") +} + +// SearchPluginTemplates implements [ServerInterface]. +func (m *MyServer) SearchPluginTemplates(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SearchPlugins implements [ServerInterface]. +func (m *MyServer) SearchPlugins(w http.ResponseWriter, r *http.Request, params SearchPluginsParams) { + panic("unimplemented") +} + +// SearchRandom implements [ServerInterface]. +func (m *MyServer) SearchRandom(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SearchSmart implements [ServerInterface]. +func (m *MyServer) SearchSmart(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SearchStacks implements [ServerInterface]. +func (m *MyServer) SearchStacks(w http.ResponseWriter, r *http.Request, params SearchStacksParams) { + panic("unimplemented") +} + +// SearchUsers implements [ServerInterface]. +func (m *MyServer) SearchUsers(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SearchUsersAdmin implements [ServerInterface]. +func (m *MyServer) SearchUsersAdmin(w http.ResponseWriter, r *http.Request, params SearchUsersAdminParams) { + panic("unimplemented") +} + +// SearchWorkflows implements [ServerInterface]. +func (m *MyServer) SearchWorkflows(w http.ResponseWriter, r *http.Request, params SearchWorkflowsParams) { + panic("unimplemented") +} + +// SendSyncAck implements [ServerInterface]. +func (m *MyServer) SendSyncAck(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SendTestEmailAdmin implements [ServerInterface]. +func (m *MyServer) SendTestEmailAdmin(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SetMaintenanceMode implements [ServerInterface]. +func (m *MyServer) SetMaintenanceMode(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SetServerLicense implements [ServerInterface]. +func (m *MyServer) SetServerLicense(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SetUserLicense implements [ServerInterface]. +func (m *MyServer) SetUserLicense(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SetUserOnboarding implements [ServerInterface]. +func (m *MyServer) SetUserOnboarding(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SetupPinCode implements [ServerInterface]. +func (m *MyServer) SetupPinCode(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// SharedLinkLogin implements [ServerInterface]. +func (m *MyServer) SharedLinkLogin(w http.ResponseWriter, r *http.Request, params SharedLinkLoginParams) { + panic("unimplemented") +} + +// SignUpAdmin implements [ServerInterface]. +func (m *MyServer) SignUpAdmin(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// StartDatabaseRestoreFlow implements [ServerInterface]. +func (m *MyServer) StartDatabaseRestoreFlow(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// StartOAuth implements [ServerInterface]. +func (m *MyServer) StartOAuth(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// TagAssets implements [ServerInterface]. +func (m *MyServer) TagAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UnlinkAllOAuthAccountsAdmin implements [ServerInterface]. +func (m *MyServer) UnlinkAllOAuthAccountsAdmin(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UnlinkOAuthAccount implements [ServerInterface]. +func (m *MyServer) UnlinkOAuthAccount(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UnlockAuthSession implements [ServerInterface]. +func (m *MyServer) UnlockAuthSession(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UntagAssets implements [ServerInterface]. +func (m *MyServer) UntagAssets(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateAdminOnboarding implements [ServerInterface]. +func (m *MyServer) UpdateAdminOnboarding(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdateAlbumInfo implements [ServerInterface]. +func (m *MyServer) UpdateAlbumInfo(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateAlbumUser implements [ServerInterface]. +func (m *MyServer) UpdateAlbumUser(w http.ResponseWriter, r *http.Request, id types.UUID, userId string) { + panic("unimplemented") +} + +// UpdateApiKey implements [ServerInterface]. +func (m *MyServer) UpdateApiKey(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateAsset implements [ServerInterface]. +func (m *MyServer) UpdateAsset(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateAssetMetadata implements [ServerInterface]. +func (m *MyServer) UpdateAssetMetadata(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateAssets implements [ServerInterface]. +func (m *MyServer) UpdateAssets(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdateBulkAssetMetadata implements [ServerInterface]. +func (m *MyServer) UpdateBulkAssetMetadata(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdateConfig implements [ServerInterface]. +func (m *MyServer) UpdateConfig(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdateLibrary implements [ServerInterface]. +func (m *MyServer) UpdateLibrary(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateMemory implements [ServerInterface]. +func (m *MyServer) UpdateMemory(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateMyPreferences implements [ServerInterface]. +func (m *MyServer) UpdateMyPreferences(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdateMyUser implements [ServerInterface]. +func (m *MyServer) UpdateMyUser(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdateNotification implements [ServerInterface]. +func (m *MyServer) UpdateNotification(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateNotifications implements [ServerInterface]. +func (m *MyServer) UpdateNotifications(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdatePartner implements [ServerInterface]. +func (m *MyServer) UpdatePartner(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdatePeople implements [ServerInterface]. +func (m *MyServer) UpdatePeople(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpdatePerson implements [ServerInterface]. +func (m *MyServer) UpdatePerson(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateQueue implements [ServerInterface]. +func (m *MyServer) UpdateQueue(w http.ResponseWriter, r *http.Request, name QueueName) { + panic("unimplemented") +} + +// UpdateSession implements [ServerInterface]. +func (m *MyServer) UpdateSession(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateSharedLink implements [ServerInterface]. +func (m *MyServer) UpdateSharedLink(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateStack implements [ServerInterface]. +func (m *MyServer) UpdateStack(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateTag implements [ServerInterface]. +func (m *MyServer) UpdateTag(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateUserAdmin implements [ServerInterface]. +func (m *MyServer) UpdateUserAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateUserPreferencesAdmin implements [ServerInterface]. +func (m *MyServer) UpdateUserPreferencesAdmin(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UpdateWorkflow implements [ServerInterface]. +func (m *MyServer) UpdateWorkflow(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// UploadAsset implements [ServerInterface]. +func (m *MyServer) UploadAsset(w http.ResponseWriter, r *http.Request, params UploadAssetParams) { + panic("unimplemented") +} + +// UploadDatabaseBackup implements [ServerInterface]. +func (m *MyServer) UploadDatabaseBackup(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// UpsertTags implements [ServerInterface]. +func (m *MyServer) UpsertTags(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// Validate implements [ServerInterface]. +func (m *MyServer) Validate(w http.ResponseWriter, r *http.Request, id types.UUID) { + panic("unimplemented") +} + +// ValidateAccessToken implements [ServerInterface]. +func (m *MyServer) ValidateAccessToken(w http.ResponseWriter, r *http.Request) { + panic("unimplemented") +} + +// ViewAsset implements [ServerInterface]. +func (m *MyServer) ViewAsset(w http.ResponseWriter, r *http.Request, id types.UUID, params ViewAssetParams) { + panic("unimplemented") +}