Skip to content

Commit

Permalink
feat(core): proto for push notifications related events
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Louvigny committed Jan 9, 2019
1 parent ccd9427 commit 1aef0b0
Show file tree
Hide file tree
Showing 17 changed files with 2,400 additions and 115 deletions.
16 changes: 16 additions & 0 deletions client/react-native/common/graphql/enums.gen.js
Expand Up @@ -181,6 +181,8 @@ export const BertyP2pKindInputKind = {
ConversationRead: 303,
DevtoolsMapset: 401,
SenderAliasUpdate: 501,
DeviceUpdatePushConfig: 601,
DevicePushTo: 602,
Node: 99,
}

Expand All @@ -199,9 +201,23 @@ export const ValueBertyP2pKindInputKind = {
303: 'ConversationRead',
401: 'DevtoolsMapset',
501: 'SenderAliasUpdate',
601: 'DeviceUpdatePushConfig',
602: 'DevicePushTo',
99: 'Node',
}

export const BertyP2pPriorityInputPriority = {
UnknownPriority: 0,
Low: 1,
Normal: 2,
}

export const ValueBertyP2pPriorityInputPriority = {
0: 'UnknownPriority',
1: 'Low',
2: 'Normal',
}

export const BertyP2pEventInputDirection = {
UnknownDirection: 0,
Incoming: 1,
Expand Down
27 changes: 27 additions & 0 deletions client/react-native/common/schema.graphql

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

16 changes: 16 additions & 0 deletions core/api/node/graphql/enums.gen.js
Expand Up @@ -181,6 +181,8 @@ export const BertyP2pKindInputKind = {
ConversationRead: 303,
DevtoolsMapset: 401,
SenderAliasUpdate: 501,
DeviceUpdatePushConfig: 601,
DevicePushTo: 602,
Node: 99,
}

Expand All @@ -199,9 +201,23 @@ export const ValueBertyP2pKindInputKind = {
303: 'ConversationRead',
401: 'DevtoolsMapset',
501: 'SenderAliasUpdate',
601: 'DeviceUpdatePushConfig',
602: 'DevicePushTo',
99: 'Node',
}

export const BertyP2pPriorityInputPriority = {
UnknownPriority: 0,
Low: 1,
Normal: 2,
}

export const ValueBertyP2pPriorityInputPriority = {
0: 'UnknownPriority',
1: 'Low',
2: 'Normal',
}

export const BertyP2pEventInputDirection = {
UnknownDirection: 0,
Incoming: 1,
Expand Down
66 changes: 66 additions & 0 deletions core/api/node/graphql/gqlgen.gen.yml

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

0 comments on commit 1aef0b0

Please sign in to comment.