@brimble/models 3.5.6 → 3.5.7
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/dist/webhook-setting.js
CHANGED
|
@@ -6,6 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const mongoose_1 = require("mongoose");
|
|
7
7
|
const webhook_event_1 = __importDefault(require("./webhook-event"));
|
|
8
8
|
const webhookSettingSchema = new mongoose_1.Schema({
|
|
9
|
+
webhook_id: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: false,
|
|
12
|
+
},
|
|
9
13
|
user_id: {
|
|
10
14
|
type: mongoose_1.Schema.Types.ObjectId,
|
|
11
15
|
ref: "User",
|
package/package.json
CHANGED
package/types/webhook-setting.ts
CHANGED
package/webhook-setting.ts
CHANGED
|
@@ -3,6 +3,10 @@ import { IWebhookSetting } from "./types/webhook-setting";
|
|
|
3
3
|
import WebhookEvent from "./webhook-event";
|
|
4
4
|
|
|
5
5
|
const webhookSettingSchema: Schema = new Schema({
|
|
6
|
+
webhook_id: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: false,
|
|
9
|
+
},
|
|
6
10
|
user_id: {
|
|
7
11
|
type: Schema.Types.ObjectId,
|
|
8
12
|
ref: "User",
|