Skip to content

Commit 3bf1826

Browse files
authored
Merge pull request #571 from devtron-labs/feat/app-template-overview
feat: GetTemplateAPIRouteType - add route
2 parents b5b2acf + 5a5607b commit 3bf1826

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Pages/Applications/DevtronApps/Details/AppConfigurations/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ export enum GetTemplateAPIRouteType {
7373
CONFIG_MAP_CREATE = 'config/config-map',
7474
CONFIG_SECRET_CREATE = 'config/secret',
7575
WORKFLOW_LIST = 'workflow/list',
76+
OVERVIEW = 'overview',
77+
README = 'readme',
7678
}
7779

7880
export interface GetTemplateAPIRouteProps {

src/Shared/validations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const MESSAGES = {
3939
DATE_BEFORE_CURRENT_TIME: 'The date & time cannot be before the current time',
4040
}
4141

42-
const MAX_DESCRIPTION_LENGTH = 350
42+
export const MAX_DESCRIPTION_LENGTH = 350
4343
const DISPLAY_NAME_CONSTRAINTS = {
4444
MAX_LIMIT: 50,
4545
MIN_LIMIT: 3,

0 commit comments

Comments
 (0)