Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@egdata/core.schemas.collections

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egdata/core.schemas.collections - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

dist/preview-1734629848213.js

5

collections.ts
import mongoose from 'mongoose';
const GamePositionSchema = new mongoose.Schema({
_id: {
collectionId: {
type: String,
required: true,
index: true,
},
collectionId: {
offerId: {
type: String,

@@ -10,0 +11,0 @@ required: true,

32

dist/collections.d.ts
import mongoose from 'mongoose';
declare const GamePositionSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -25,4 +25,4 @@ timesInTop1: number;

}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -48,4 +48,4 @@ timesInTop1: number;

}>> & mongoose.FlatRecord<{
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -70,5 +70,5 @@ timesInTop1: number;

lastUpdated: NativeDate;
}> & Required<{
_id: string;
}> & {
_id: mongoose.Types.ObjectId;
} & {
__v: number;

@@ -100,4 +100,4 @@ }>;

export declare const GamePosition: mongoose.Model<{
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -123,4 +123,4 @@ timesInTop1: number;

}, {}, {}, {}, mongoose.Document<unknown, {}, {
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -146,4 +146,4 @@ timesInTop1: number;

}> & {
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -168,9 +168,9 @@ timesInTop1: number;

lastUpdated: NativeDate;
} & Required<{
_id: string;
}> & {
} & {
_id: mongoose.Types.ObjectId;
} & {
__v: number;
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -196,4 +196,4 @@ timesInTop1: number;

}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -219,4 +219,4 @@ timesInTop1: number;

}>> & mongoose.FlatRecord<{
_id: string;
collectionId: string;
offerId: string;
position: number;

@@ -241,5 +241,5 @@ timesInTop1: number;

lastUpdated: NativeDate;
}> & Required<{
_id: string;
}> & {
_id: mongoose.Types.ObjectId;
} & {
__v: number;

@@ -246,0 +246,0 @@ }>>;

import mongoose from 'mongoose';
const GamePositionSchema = new mongoose.Schema({
_id: {
collectionId: {
type: String,
required: true,
index: true,
},
collectionId: {
offerId: {
type: String,

@@ -9,0 +10,0 @@ required: true,

{
"name": "@egdata/core.schemas.collections",
"version": "2.0.1",
"version": "2.0.2",
"homepage": "https://bit.cloud/egdata/core/schemas/collections",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "schemas/collections",
"version": "2.0.1"
"version": "2.0.2"
},

@@ -12,0 +12,0 @@ "dependencies": {},

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc