@headspace/protos-events 0.0.23 → 0.1.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@headspace/protos-events",
3
- "version": "0.0.23",
3
+ "version": "0.1.0-0",
4
4
  "main": "lib/index.js",
5
5
  "typings": "lib/index.d.ts",
6
6
  "scripts": {
@@ -14,13 +14,6 @@
14
14
  "protobufjs": "^6.8.6"
15
15
  },
16
16
  "devDependencies": {
17
- "babel-core": "^6.26.3",
18
- "babel-jest": "^23.6.0",
19
- "jest": "^23.6.0",
20
- "jest-junit": "^5.1.0",
21
- "ts-jest": "^23.10.0-beta.4",
22
- "tslint": "^5.11.0",
23
17
  "typescript": "^3.0.1"
24
- },
25
- "gitHead": "a5f753a926d91a14a9b0ecbac4bb7df0bd06f864"
18
+ }
26
19
  }
@@ -3,17 +3,9 @@ syntax = "proto3";
3
3
  message SubscriptionCreated {
4
4
  uint32 id = 1;
5
5
  uint64 updatedOn = 2;
6
- string userId = 3;
7
6
  }
8
7
 
9
8
  message SubscriptionCancelled {
10
9
  uint32 id = 1;
11
10
  uint64 updatedOn = 2;
12
- string userId = 3;
13
- }
14
-
15
- message SubscriptionRenewed {
16
- uint32 id = 1;
17
- uint64 updatedOn = 2;
18
- string userId = 3;
19
11
  }
package/README.md DELETED
@@ -1,15 +0,0 @@
1
- # @headspace/protos-events
2
-
3
- The transportation format used for the SNS publishing clients and the SQS subscribing clients. It is protobuf based for type safety and ergonomics.
4
-
5
- ## Install
6
- `yarn add @headspace/protos-events`
7
-
8
- ## Getting started
9
-
10
- Add a proto in the format of service name (i.e. auth.proto) and then add the [messages](https://developers.google.com/protocol-buffers/docs/encoding#structure).
11
-
12
- ## Examples
13
-
14
- ### user.proto
15
- This proto is for the [user service](https://github.com/headspacemeditation/hs-user-service) is used to notify any subscribers to the `UserPasswordUpdated` message that a user's password has been updated.
package/connected.proto DELETED
@@ -1,7 +0,0 @@
1
- syntax = "proto3";
2
-
3
- message VoiceDeviceConnected {
4
- string userId = 1;
5
- string platform = 2;
6
- uint64 timestamp = 3;
7
- }
Binary file
Binary file
package/sleep.proto DELETED
@@ -1,19 +0,0 @@
1
- syntax = "proto3";
2
-
3
- message SleepcastEpisodeCompleted {
4
- uint64 timestamp = 1;
5
- uint32 sleepcastId = 2;
6
- string userId = 3;
7
- }
8
-
9
- message FirstSleepcastPlayDateSet {
10
- uint64 timestamp = 1;
11
- string userId = 2;
12
- uint64 firstPlayTimestamp = 3;
13
- }
14
-
15
- message NumSleepcastPlaysSet {
16
- uint64 timestamp = 1;
17
- string userId = 2;
18
- uint32 numPlays = 3;
19
- }
package/user.proto DELETED
@@ -1,7 +0,0 @@
1
- syntax = "proto3";
2
-
3
- message UserPasswordUpdated {
4
- string userId = 1;
5
- uint64 updatedOn = 2;
6
- string email = 3;
7
- }