Skip to content

Commit 4dcfa92

Browse files
chore: modernisation (#519)
Co-authored-by: Bas Meeuwissen <bas@masking.tech>
1 parent 5fa2e16 commit 4dcfa92

994 files changed

Lines changed: 10953 additions & 8713 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.npmrc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
min-release-age=2
1+
min-release-age=2
2+
min-release-age-exclude=jitar,@jitar/plugin-vite,@jitar-plugins/authentication,@jitar-plugins/database,@jitar-plugins/events,@theshelf/events-driver-kafka,@jitar-plugins/files,@jitar-plugins/http,@jitar-plugins/notification,@maskingtech/designsystem,@maskingtech/react-toolkit,@theshelf/authentication,@theshelf/authentication-driver-openid,@theshelf/connection,@theshelf/database,@theshelf/database-driver-mongodb,@theshelf/events,@theshelf/files,@theshelf/files-driver-s3,@theshelf/http,@theshelf/logging,@theshelf/logging-driver-database,@theshelf/notification,@theshelf/validation,@theshelf/validation-driver-zod

‎.vscode/settings.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"js/ts.preferences.quoteStyle": "single",
1212
"js/ts.format.semicolons": "insert",
1313
"editor.codeActionsOnSave": {
14-
"source.organizeImports": "explicit"
14+
"source.fixAll.eslint": "explicit"
1515
}
1616
}

‎deployment/docker/keycloak/comify-realm.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@
666666
"alwaysDisplayInConsole": false,
667667
"clientAuthenticatorType": "client-secret",
668668
"redirectUris": [
669-
"http://localhost:3000/rpc/social/domain/authentication/login",
670-
"http://localhost:5173/rpc/social/domain/authentication/login"
669+
"http://localhost:3000/rpc/social/security/authentication/login",
670+
"http://localhost:5173/rpc/social/security/authentication/login"
671671
],
672672
"webOrigins": [
673673
"https://www.keycloak.org"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"./common/domain/tenant/getByOriginConverted": { "default": { "access": "public" } }
2+
"./common/domain/tenant/getByOrigin": { "default": { "access": "public" } }
33
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"./common/domain/tenant/getByOrigin/InvalidOrigin": { "default": {} },
3+
"./common/domain/tenant/getByOrigin/TenantNotFound": { "default": {} }
4+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"./common/domain/tenant/getByOrigin": { "default": { "access": "protected" }, "TenantNotFound": { } }
2+
"./common/domain/tenant/getByOrigin/retrieve": { "default": { "access": "protected" } }
33
}
Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,35 @@
11
{
2-
"./social/domain/authentication/getLoginUrl": { "default": { "access": "public" } },
3-
"./social/domain/authentication/login": { "default": { "access": "public" } },
4-
"./social/domain/authentication/logout": { "default": { "access": "public" } },
2+
"./social/security/authentication/getLoginUrl": { "default": { "access": "public" } },
3+
"./social/security/authentication/login": { "default": { "access": "public" } },
4+
"./social/security/authentication/logout": { "default": { "access": "public" } },
55

6-
"./social/domain/creator/aggregate": { "default": { "access": "private" }},
7-
"./social/domain/creator/getByIdAggregated": { "default": { "access": "private" } },
8-
"./social/domain/creator/getByNicknameAggregated": { "default": { "access": "public" } },
9-
"./social/domain/creator/getMeAggregated": { "default": { "access": "public" } },
6+
"./social/domain/creator/getById": { "default": { "access": "public" } },
7+
"./social/domain/creator/getByNickname": { "default": { "access": "public" } },
8+
"./social/domain/creator/getMe": { "default": { "access": "public" } },
109
"./social/domain/creator/updateFullName": { "default": { "access": "public" } },
11-
"./social/domain/creator/updateNickname": { "default": { "access": "public" } },
10+
"./social/domain/creator/updateNickname": { "default": { "access": "public" }},
1211

13-
"./social/domain/creator.metrics/create": { "subscriptions": { "access": "private" } },
14-
"./social/domain/creator.metrics/updateFollowers": { "subscriptions": { "access": "private" } },
15-
"./social/domain/creator.metrics/updateFollowing": { "subscriptions": { "access": "private" } },
16-
"./social/domain/creator.metrics/updatePosts": { "subscriptions": { "access": "private" } },
12+
"./social/domain/creator.metrics/subscriptions": { "default": { "access": "private" } },
1713

18-
"./social/domain/notification/aggregate": { "default": { "access": "private" } },
19-
"./social/domain/notification/notify": { "subscriptions": { "access": "private" } },
20-
"./social/domain/notification/getRecentAggregated": { "default": { "access": "public" } },
14+
"./social/domain/notification/getRecent": { "default": { "access": "public" } },
2115

22-
"./social/domain/post/aggregate": { "default": { "access": "private" } },
23-
"./social/domain/post/create": { "default": { "access": "private" }, "subscribe": { "access": "private" } },
2416
"./social/domain/post/createWithComic": { "default": { "access": "public" } },
2517
"./social/domain/post/createWithComment": { "default": { "access": "public" } },
26-
"./social/domain/post/getByCreatorAggregated": { "default": { "access": "public" } },
27-
"./social/domain/post/getByFollowingAggregated": { "default": { "access": "public" } },
28-
"./social/domain/post/exploreAggregated": { "default": { "access": "public" } },
29-
"./social/domain/post/getByIdAggregated": { "default": { "access": "public" } },
30-
"./social/domain/post/getByParentAggregated": { "default": { "access": "public" } },
31-
"./social/domain/post/getRecommendedAggregated": { "default": { "access": "public"}},
32-
"./social/domain/post/remove": { "default": { "access": "public" }, "subscribe": { "access": "private" } },
18+
"./social/domain/post/getByCreator": { "default": { "access": "public" } },
19+
"./social/domain/post/getByFollowing": { "default": { "access": "public" } },
20+
"./social/domain/post/explore": { "default": { "access": "public" } },
21+
"./social/domain/post/getById": { "default": { "access": "public" } },
22+
"./social/domain/post/getByParent": { "default": { "access": "public" } },
23+
"./social/domain/post/getRecommended": { "default": { "access": "public"}},
24+
"./social/domain/post/remove": { "default": { "access": "public" } },
3325

34-
"./social/domain/post.metrics/create": { "subscriptions": { "access": "private" } },
35-
"./social/domain/post.metrics/updateRatings": { "subscriptions": { "access": "private" } },
36-
"./social/domain/post.metrics/updateReactions": { "subscriptions": { "access": "private" } },
26+
"./social/domain/post.metrics/subscriptions": { "default": { "access": "private" } },
3727

38-
"./social/domain/rating/toggle": { "default": { "access": "public" }, "subscribe": { "access": "private" } },
28+
"./social/domain/post.rating/toggle": { "default": { "access": "public" } },
3929

40-
"./social/domain/relation/aggregate": { "default": { "access": "private" }},
41-
"./social/domain/relation/exploreAggregated": { "default": { "access": "public" } },
42-
"./social/domain/relation/establish": { "default": { "access": "public" }, "subscribe": { "access": "private" } },
43-
"./social/domain/relation/getAggregated": { "default": { "access": "public" } },
44-
"./social/domain/relation/getFollowersAggregated": { "default": { "access": "public" } },
45-
"./social/domain/relation/getFollowingAggregated": { "default": { "access": "public" } }
30+
"./social/domain/relation/explore": { "default": { "access": "public" } },
31+
"./social/domain/relation/establish": { "default": { "access": "public" } },
32+
"./social/domain/relation/get": { "default": { "access": "public" } },
33+
"./social/domain/relation/getFollowers": { "default": { "access": "public" } },
34+
"./social/domain/relation/getFollowing": { "default": { "access": "public" } }
4635
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"./social/domain/creator/create/makeNickname/TooManySimilarNicknames": { "default": { }},
3+
"./social/domain/creator/create/InvalidCreator": { "default": { }},
4+
"./social/domain/creator/getById/CreatorNotFound": { "default": { }},
5+
"./social/domain/creator/getByNickname/NicknameNotFound": { "default": { }},
6+
"./social/domain/creator/updateFullName/InvalidFullName": { "default": { }},
7+
"./social/domain/creator/updateNickname/InvalidNickname": { "default": { }},
8+
"./social/domain/creator/updateNickname/NicknameAlreadyExists": { "default": { }},
9+
10+
"./social/domain/creator.metrics/_retrieveByCreator/CreatorMetricsNotFound": { "default": {} },
11+
12+
"./social/domain/image/create/InvalidDataURL": { "default": {} },
13+
"./social/domain/image/download/ImageNotDownloaded": { "default": {} },
14+
"./social/domain/image/getById/ImageNotFound": { "default": {} },
15+
16+
"./social/domain/post/_create/InvalidPost": { "default": {} },
17+
"./social/domain/post/_retrieveById/PostNotFound": { "default": {} },
18+
19+
"./social/domain/post.comic/_retrieveById/ComicNotFound": { "default": {} },
20+
"./social/domain/post.comic/create/InvalidComic": { "default": {} },
21+
22+
"./social/domain/post.comment/create/InvalidComment": { "default": {} },
23+
"./social/domain/post.comment/getById/CommentNotFound": { "default": {} },
24+
25+
"./social/domain/post.metrics/_retrieveByPost/PostMetricsNotFound": { "default": {} },
26+
27+
"./social/domain/post.rating/toggle/create/InvalidRating": { "default": {} },
28+
29+
"./social/domain/relation/establish/create/InvalidRelation": { "default": {} },
30+
"./social/domain/relation/establish/RelationAlreadyExists": { "default": {} }
31+
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"./social/domain/notification/create": { "default": { "access": "protected" } },
3-
"./social/domain/notification/getByPostId": { "default": { "access": "protected" } },
4-
"./social/domain/notification/getRecent": { "default": { "access": "protected" } },
5-
"./social/domain/notification/remove": { "default": { "access": "protected" } }
2+
"./social/domain/notification/subscriptions": { "default": { "access": "private" } }
63
}
Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
11
{
2-
"./social/domain/comic/getById": { "default": { "access": "protected" } },
3-
4-
"./social/domain/comment/getById": { "default": { "access": "protected" } },
5-
6-
"./social/domain/creator/generateNickname/retrieveByNickname": { "default": { "access": "protected" } },
7-
"./social/domain/creator/generateNickname/retrieveByStartNickname": { "default": { "access": "protected" } },
8-
"./social/domain/creator/getByEmail": { "default": { "access": "protected" } },
9-
"./social/domain/creator/getById": { "default": { "access": "protected" } },
10-
"./social/domain/creator/getByNickname": { "default": { "access": "protected" } },
11-
"./social/domain/creator/getMe": { "default": { "access": "protected" } },
12-
"./social/domain/creator/getOthers": { "default": { "access": "private" }},
2+
"./social/domain/creator/create/makeNickname/retrieveByNickname": { "default": { "access": "protected" } },
3+
"./social/domain/creator/create/makeNickname/retrieveByStartNickname": { "default": { "access": "protected" } },
4+
"./social/domain/creator/getByNickname/retrieve": { "default": { "access": "protected" } },
5+
"./social/domain/creator/getIdByEmail/retrieve": { "default": { "access": "protected" } },
6+
"./social/domain/creator/getOtherIds/retrieve": { "default": { "access": "protected" } },
137
"./social/domain/creator/updateNickname/retrieveByNickname": { "default": { "access": "protected" } },
148

15-
"./social/domain/creator.metrics/getByCreator": { "default": { "access": "protected" } },
9+
"./social/domain/creator.metrics/_retrieveByCreator": { "default": { "access": "protected" } },
1610

1711
"./social/domain/image/getById": { "default": { "access": "protected" } },
1812

19-
"./social/domain/post/explore": { "default": { "access": "protected" } },
20-
"./social/domain/post/getByCreator": { "default": { "access": "protected" } },
21-
"./social/domain/post/getByFollowing": { "default": { "access": "protected" } },
22-
"./social/domain/post/getById": { "default": { "access": "protected" } },
23-
"./social/domain/post/getByParent": { "default": { "access": "protected" } },
24-
"./social/domain/post/getRecommended": { "default": { "access": "protected" } },
13+
"./social/domain/post/_retrieveById": { "default": { "access": "protected" } },
14+
"./social/domain/post/explore/retrieve": { "default": { "access": "protected" } },
15+
"./social/domain/post/getByCreator/retrieve": { "default": { "access": "protected" } },
16+
"./social/domain/post/getByFollowing/retrieve": { "default": { "access": "protected" } },
17+
"./social/domain/post/getByParent/retrieve": { "default": { "access": "protected" } },
18+
"./social/domain/post/getRecommended/retrieve": { "default": { "access": "protected" } },
19+
20+
"./social/domain/post.comic/_retrieveById": { "default": { "access": "protected" } },
21+
22+
"./social/domain/post.comment/getById/retrieve": { "default": { "access": "protected" } },
2523

26-
"./social/domain/post.metrics/getByPost": { "default": { "access": "protected" } },
24+
"./social/domain/post.metrics/_retrieveByPost": { "default": { "access": "protected" } },
2725

28-
"./social/domain/rating/exists": { "default": { "access": "protected" } },
29-
"./social/domain/rating/toggle/getData": { "default": { "access": "protected" } },
26+
"./social/domain/post.rating/exists/retrieve": { "default": { "access": "protected" } },
27+
"./social/domain/post.rating/toggle/retrieve": { "default": { "access": "protected" } },
3028

31-
"./social/domain/relation/exists": { "default": { "access": "protected" } },
32-
"./social/domain/relation/explore": { "default": { "access": "protected" } },
33-
"./social/domain/relation/get": { "default": { "access": "protected" } },
34-
"./social/domain/relation/getFollowers": { "default": { "access": "protected" } },
35-
"./social/domain/relation/getFollowing": { "default": { "access": "protected" } }
29+
"./social/domain/relation/_retrieve": { "default": { "access": "protected" } },
30+
"./social/domain/relation/_retrieveFollowing": { "default": { "access": "protected" } },
31+
"./social/domain/relation/establish/exists": { "default": { "access": "protected" } },
32+
"./social/domain/relation/getFollowers/retrieve": { "default": { "access": "protected" } }
3633
}

0 commit comments

Comments
 (0)