🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@cendo/database-schemas

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cendo/database-schemas - npm Package Compare versions

Comparing version

to
1.5.4

schemas/FulfillmentStore.js

2

package.json
{
"name": "@cendo/database-schemas",
"version": "1.5.3",
"version": "1.5.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,2 +20,11 @@ const {Schema} = require('mongoose')

shop: {
type: Schema.Types.ObjectId,
index: true,
},
fulfillment_store: {
type: Schema.Types.ObjectId,
},
fulfillment: {

@@ -22,0 +31,0 @@ type: Schema.Types.ObjectId,

@@ -5,17 +5,17 @@ const {Schema} = require('mongoose')

const Shop = new Schema({
type: {
name: {
type: String,
trim: true,
default: 'tiktok',
},
seller_id: {
type: {
type: String,
trim: true,
index: true,
default: 'tiktok',
},
name: {
shop_id: {
type: String,
trim: true,
index: true,
},

@@ -29,2 +29,6 @@

fulfillment_store: {
type: Schema.Types.ObjectId,
},
updated_at: {

@@ -31,0 +35,0 @@ type: Date,