Skip to content

Commit 9028935

Browse files
committed
added new keywords
1 parent 7183601 commit 9028935

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

server/src/types/keywords.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export const components = {
1414
PackagePort: 'PackagePort',
1515
Command: 'Command',
1616
Query: 'Query',
17+
DomainEvent: 'DomainEvent',
18+
IntegrationEvent: 'IntegrationEvent',
19+
DomainService: 'DomainService',
1720
};
1821

1922
export const keywords = [
@@ -141,6 +144,9 @@ export const keywords = [
141144
'Operations',
142145
'Mutation',
143146
'Query',
147+
'DomainEvent',
148+
'IntegrationEvent',
149+
'DomainService',
144150

145151
'StandardVO',
146152
];

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|Command|Query|CommandHandler|QueryHandler)\\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|Struct|IntegrationEvent|IntegrationEventHandler|DomainEvent|DomainEventHandler|ServicePort|DomainService)\\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|Props|Rule|Command|Query|ReadModel|CommandHandler|QueryHandler)\\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|IntegrationEvent|IntegrationEventHandler|DomainEvent|DomainEventHandler|ServicePort|DomainService)\\b"
7676
}
7777
]
7878
},

0 commit comments

Comments
 (0)