Skip to content

Commit 4a32980

Browse files
committed
added keywords
1 parent 5339d1e commit 4a32980

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

server/src/types/keywords.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export const components = {
1212
GraphQLController: 'GraphQLController',
1313
RESTController: 'RESTController',
1414
PackagePort: 'PackagePort',
15+
Command: 'Command',
16+
Query: 'Query',
1517
};
1618

1719
export const keywords = [

syntaxes/bitloops.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464
"patterns": [
6565
{
6666
"name": "keyword.control.templateClass.bitloops",
67-
"match": "\\b(Config|(REST\\.Methods)|REST|DTO|UseCase|Root|Entity|Rule|OK|Errors|ValueObject|Props|ReadModel|RESTController|RESTRouter|GraphQLController|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|ApplicationErrors|DomainErrors|DomainError|ApplicationError)\\b"
67+
"match": "\\b(Config|(REST\\.Methods)|REST|DTO|UseCase|Root|Entity|Rule|OK|Errors|ValueObject|Props|ReadModel|RESTController|RESTRouter|GraphQLController|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|ApplicationErrors|DomainErrors|DomainError|ApplicationError|Command|Query|CommandHandler|QueryHandler)\\b"
6868
}
6969
]
7070
},
7171
"myClasses": {
7272
"patterns": [
7373
{
7474
"name": "entity.name.class.bitloops",
75-
"match": "\\b[A-Z]+[a-zA-Z0-9]*(DTO|UseCase|Aggregate|VO|Entity|Error|Controller|Router|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|Error)\\b"
75+
"match": "\\b[A-Z]+[a-zA-Z0-9]*(DTO|UseCase|Aggregate|VO|Entity|Error|Controller|Router|Feature|Mapper|RepoPort|RepoAdapter|PackagePort|PackageAdapter|Error|Props|Rule|Command|Query|ReadModel|CommandHandler|QueryHandler)\\b"
7676
}
7777
]
7878
},

0 commit comments

Comments
 (0)