Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

chore: add subscription type to User

thecodrr03ba7c5e668a
diff --git a/packages/core/types.js b/packages/core/types.js
index 066e33ace..352e50aca 100644
--- a/packages/core/types.js
+++ b/packages/core/types.js
@@ -20,6 +20,16 @@
* primaryMethod: string,
* secondaryMethod: string,
* remainingValidCodes: number
+ * },
+ * subscription: {
+ * appId: 0,
+ * cancelURL: string | null,
+ * expiry: number,
+ * productId: string,
+ * provider: 0 | 1 | 2 | 3,
+ * start: number,
+ * type: 0 | 1 | 2 | 5 | 6 | 7,
+ * updateURL: string | null,
* }
* }} User
*/