Skip to content

Commit

Permalink
chore(push-notification): remove unused push notification code (#776)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed May 16, 2024
1 parent 44d4c0d commit ee2893e
Show file tree
Hide file tree
Showing 64 changed files with 26 additions and 1,832 deletions.
31 changes: 0 additions & 31 deletions fern/definition/portal/notifications.yml

This file was deleted.

12 changes: 0 additions & 12 deletions lib/convert/src/impls/portal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,3 @@ impl ApiFrom<models::GroupPublicity> for backend::team::Publicity {
}
}

impl ApiFrom<models::NotificationUnregisterService>
for user_notification_auth::unregister::request::Service
{
fn api_from(value: models::NotificationUnregisterService) -> Self {
match value {
models::NotificationUnregisterService::Firebase => {
user_notification_auth::unregister::request::Service::Firebase
}
_ => user_notification_auth::unregister::request::Service::Firebase,
}
}
}
1 change: 0 additions & 1 deletion scripts/openapi/gen_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ docker run --rm \
-o "/data/$GEN_PATH_RUST" \
-p packageName=rivet-api


if [ "$FERN_GROUP" == "full" ]; then
# Fix OpenAPI bug (https://github.com/OpenAPITools/openapi-generator/issues/14171)
sed -i 's/CloudGamesLogStream/crate::models::CloudGamesLogStream/' "$GEN_PATH_RUST/src/apis/cloud_games_matchmaker_api.rs"
Expand Down
13 changes: 5 additions & 8 deletions sdks/full/go/portal/client/client.go

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

62 changes: 0 additions & 62 deletions sdks/full/go/portal/notifications.go

This file was deleted.

194 changes: 0 additions & 194 deletions sdks/full/go/portal/notifications/client.go

This file was deleted.

19 changes: 19 additions & 0 deletions sdks/full/go/portal/types.go

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

Loading

0 comments on commit ee2893e

Please sign in to comment.