@tartine/common
Advanced tools
Comparing version
@@ -0,1 +1,2 @@ | ||
import type mongoose from "mongoose"; | ||
import { Subjects } from "./types/subjects"; | ||
@@ -5,5 +6,5 @@ export interface CustomerCreatedEvent { | ||
data: { | ||
id: string; | ||
id: mongoose.Types.ObjectId; | ||
email: string | null; | ||
}; | ||
} |
import type Stripe from "stripe"; | ||
import type mongoose from "mongoose"; | ||
import { Subjects } from "./types/subjects"; | ||
@@ -6,3 +7,3 @@ export interface SubscriptionCreatedEvent { | ||
data: { | ||
id: string; | ||
id: mongoose.Types.ObjectId; | ||
cancel_at: number | null; | ||
@@ -9,0 +10,0 @@ cancel_at_period_end: boolean; |
import type Stripe from "stripe"; | ||
import type mongoose from "mongoose"; | ||
import { Subjects } from "./types/subjects"; | ||
@@ -6,3 +7,3 @@ export interface SubscriptionUpdatedEvent { | ||
data: { | ||
id: string; | ||
id: mongoose.Types.ObjectId; | ||
cancel_at: number | null; | ||
@@ -9,0 +10,0 @@ cancel_at_period_end: boolean; |
{ | ||
"name": "@tartine/common", | ||
"version": "1.0.39", | ||
"version": "1.0.40", | ||
"description": "Nothing but commons", | ||
@@ -21,2 +21,3 @@ "main": "./dist/index.js", | ||
"@types/jsonwebtoken": "^8.5.8", | ||
"@types/mongoose": "^5.11.97", | ||
"del-cli": "^4.0.1", | ||
@@ -23,0 +24,0 @@ "typescript": "^4.3.2" |
43714
0.46%1047
0.29%5
25%