Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More push #105

Merged
merged 4 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/thirty-planets-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zemble/push-apple": patch
---

Hide local/test graphql endpoints
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ on:
default: '7.0.4'
type: string

pull_request_target:
pull_request:
push:
branches:
- "*" # matches every branch that doesn't contain a '/'
- "*/*" # matches every branch containing a single '/'
- "**" # matches every branch
- "!main" # matches every branch except main
# - "!main" # matches every branch except main

env:
MONGOMS_VERSION: ${{ inputs.mongo-version || '7.0.4' }}
Expand Down
2 changes: 1 addition & 1 deletion packages/push-apple/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

- 3227955: y
- 3227955: Remove local/test mutations

## 0.0.3

Expand Down
6 changes: 0 additions & 6 deletions packages/push-apple/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ type StartLiveActivityResponse {
}

type Mutation {
sendPushNotification(title: String, body: String!, subtitle: String, pushToken: String!): Boolean!
sendSilentPushNotification(data: JSONObject!, pushToken: String!): Boolean!

updateLiveActivity(data: JSONObject!, pushToken: String!): Boolean!
startLiveActivity(data: JSONObject!, liveActivityType: String!, pushToken: String!): StartLiveActivityResponse!

registerApplePushToken(token: String!, platform: ApplePushPlatform!, appBundleId: String!): Boolean!
registerAppleStartLiveActivityPushToken(token: String!, appBundleId: String!): Boolean!
registerAppleUpdateLiveActivityPushToken(
Expand Down
3 changes: 3 additions & 0 deletions packages/push-apple/graphql/schema.local.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
scalar JSONObject

type Mutation {
updateLiveActivity(data: JSONObject!, pushToken: String!): Boolean!
startLiveActivity(data: JSONObject!, liveActivityType: String!, pushToken: String!): StartLiveActivityResponse!

sendPushNotification(title: String, body: String!, subtitle: String, pushToken: String!): Boolean!
sendSilentPushNotification(data: JSONObject!, pushToken: String!): Boolean!
}
Expand Down
2 changes: 1 addition & 1 deletion packages/push-expo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

- 3227955: y
- 3227955: Remove local/test mutations

## 0.0.5

Expand Down
Loading