gitea/modules/structs
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672)
* use different structs for MigrateRepoOptions on UI and API

* Fix TokenAuth and rename UID to an understandable Name

* fix swagger doc

* simplify & mk redable

* R E F A C T O R:
migration has now internal 3 structs to store its options:
 * the Options for WebUI: modules/auth/repo_form.go
 * the Options for API: modules/structs/repo.go
 * the option struct with after validation for internal prossessing: modules/migrations/base/options.go

* Copyright Header

* Deprecate UID - add RepoOwner

* adopt repo.go -> migrate.go

* add comment about each struct purpose

* lint
2020-09-10 23:29:19 +01:00
..
admin_user.go
attachment.go
commit_status.go
cron.go Add cron running API (#12421) 2020-08-24 11:48:15 -04:00
doc.go
fork.go
git_blob.go
git_hook.go
hook.go
issue.go
issue_comment.go
issue_label.go
issue_milestone.go Add Created & Updated to Milestone (#12662) 2020-09-05 13:38:54 -04:00
issue_reaction.go
issue_stopwatch.go additional data for type StopWatch in swagger api (#12458) 2020-09-05 12:58:33 +01:00
issue_tracked_time.go
lfs_lock.go
miscellaneous.go
notifications.go
org.go
org_member.go
org_team.go
org_type.go
pull.go
pull_review.go
release.go
repo.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
repo_branch.go
repo_collaborator.go
repo_commit.go
repo_file.go
repo_key.go
repo_refs.go
repo_tag.go
repo_topic.go
repo_tree.go
repo_watch.go
settings.go Expose Attachemnt Settings by API (#12514) 2020-09-05 08:43:06 +01:00
status.go
task.go
user.go
user_app.go
user_email.go
user_gpgkey.go
user_key.go