Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziven committed Sep 26, 2022
1 parent 9dd1418 commit 8d42c7a
Show file tree
Hide file tree
Showing 13 changed files with 171 additions and 17 deletions.
9 changes: 6 additions & 3 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

(new Extend\Event())->listen(Saving::class, [doCheckin::class, 'checkinSaved']),
(new Extend\ApiSerializer(UserSerializer::class))->attributes(AddUserCheckinAttributes::class),
(new Extend\Settings)->serializeToForum('forumCheckinRewarMoney', 'ziven-forum-checkin.checkinRewardMoney', null, 1),
(new Extend\Settings)->serializeToForum('forumCheckinTimeZone', 'ziven-forum-checkin.checkinTimeZone', null, 0),

(new Extend\Settings())
->serializeToForum('forumCheckinRewarMoney', 'ziven-forum-checkin.checkinRewardMoney', 'intval', 1)
->serializeToForum('forumCheckinTimeZone', 'ziven-forum-checkin.checkinTimeZone', 'intval', 0)
->serializeToForum('forumCheckinSuccessPromptType', 'ziven-forum-checkin.checkinSuccessPromptType', 'intval', 0)
->serializeToForum('forumCheckinSuccessPromptText', 'ziven-forum-checkin.checkinSuccessPromptText', 'strval')
->serializeToForum('forumCheckinSuccessPromptRewardText', 'ziven-forum-checkin.checkinSuccessPromptRewardText', 'strval')
];
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8d42c7a

Please sign in to comment.