Skip to content

Commit

Permalink
HOME-1780: added tagInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
VSevostianov committed Sep 30, 2024
1 parent b141d95 commit 6afd3d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/models/permission_template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export class PermissionTemplate extends BaseModel implements PermissionTemplateI
declare description: string;
declare tag: string;
declare tagColor: string;
declare tagInfo: string;
declare doesEnableAllReadOnlyLanguages: boolean;
}
5 changes: 5 additions & 0 deletions test/fixtures/permission_templates/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"description": "Manage project settings, contributors and tasks",
"tag": "Full access",
"tagColor": "green",
"tagInfo": null,
"doesEnableAllReadOnlyLanguages": true
},
{
Expand All @@ -41,6 +42,7 @@
"description": "Create keys, upload and download content",
"tag": "Advanced",
"tagColor": "cyan",
"tagInfo": null,
"doesEnableAllReadOnlyLanguages": true
},
{
Expand All @@ -56,6 +58,7 @@
"description": "Create, translate and edit keys, manage screenshots",
"tag": "Advanced",
"tagColor": "cyan",
"tagInfo": null,
"doesEnableAllReadOnlyLanguages": true
},
{
Expand All @@ -69,6 +72,7 @@
"description": "Translate keys, control key statuses",
"tag": "Basic",
"tagColor": "grey",
"tagInfo": "Basics",
"doesEnableAllReadOnlyLanguages": false
},
{
Expand All @@ -80,6 +84,7 @@
"description": "Translate keys",
"tag": "Basic",
"tagColor": "grey",
"tagInfo": "Basics",
"doesEnableAllReadOnlyLanguages": false
}
]
Expand Down

0 comments on commit 6afd3d2

Please sign in to comment.