2020-04-14 22:55:04 +02:00
|
|
|
package org.mian.gitnex.helpers;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Author M M Arif
|
|
|
|
*/
|
|
|
|
|
|
|
|
public interface StaticGlobalVariables {
|
|
|
|
|
2020-04-23 22:40:13 +02:00
|
|
|
// generic values
|
2020-04-14 22:55:04 +02:00
|
|
|
int resultLimitNewGiteaInstances = 25; // Gitea 1.12 and above
|
|
|
|
int resultLimitOldGiteaInstances = 10; // Gitea 1.11 and below
|
2020-04-23 22:40:13 +02:00
|
|
|
|
2020-05-23 19:54:16 +02:00
|
|
|
// tags
|
|
|
|
String tagMilestonesFragment = "MilestonesFragment";
|
|
|
|
String tagPullRequestsList = "PullRequestsListFragment";
|
2020-04-23 22:40:13 +02:00
|
|
|
String tagIssuesList = "IssuesListFragment";
|
2020-05-23 19:54:16 +02:00
|
|
|
String tagMilestonesAdapter = "MilestonesAdapter";
|
|
|
|
|
|
|
|
// issues variables
|
2020-04-23 22:40:13 +02:00
|
|
|
int issuesPageInit = 1;
|
2020-04-14 22:55:04 +02:00
|
|
|
String issuesRequestType = "issues";
|
2020-04-23 22:40:13 +02:00
|
|
|
|
|
|
|
// pull request
|
|
|
|
int prPageInit = 1;
|
2020-04-14 22:55:04 +02:00
|
|
|
|
2020-05-23 19:54:16 +02:00
|
|
|
// milestone
|
|
|
|
int milestonesPageInit = 1;
|
|
|
|
|
2020-04-14 22:55:04 +02:00
|
|
|
}
|