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

@degen/schema

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@degen/schema - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

@@ -9,3 +9,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const DiscordServersSchema = new mongoose_1.Schema({

@@ -28,3 +28,3 @@ serverId: {

exports.default = DiscordServersSchema;
exports.DiscordServersModel = main_1.degenDbConn.model(CollectionNames_1.default.DB_COLLECTION_DISCORD_SERVERS, DiscordServersSchema, CollectionNames_1.default.DB_COLLECTION_DISCORD_SERVERS);
exports.DiscordServersModel = index_1.DegenDBConn.model(CollectionNames_1.default.DB_COLLECTION_DISCORD_SERVERS, DiscordServersSchema, CollectionNames_1.default.DB_COLLECTION_DISCORD_SERVERS);
//# sourceMappingURL=DiscordServersSchema.js.map

@@ -9,3 +9,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const DiscordUsersSchema = new mongoose_1.Schema({

@@ -26,3 +26,3 @@ userId: {

exports.default = DiscordUsersSchema;
exports.DiscordUsersModel = main_1.degenDbConn.model(CollectionNames_1.default.DB_COLLECTION_DISCORD_USERS, DiscordUsersSchema, CollectionNames_1.default.DB_COLLECTION_DISCORD_USERS);
exports.DiscordUsersModel = index_1.DegenDBConn.model(CollectionNames_1.default.DB_COLLECTION_DISCORD_USERS, DiscordUsersSchema, CollectionNames_1.default.DB_COLLECTION_DISCORD_USERS);
//# sourceMappingURL=DiscordUsersSchema.js.map

@@ -10,3 +10,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const PoapEventsSchema = new mongoose_1.Schema({

@@ -65,3 +65,3 @@ eventName: String,

exports.default = PoapEventsSchema;
exports.PoapEventsModel = main_1.degenDbConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_EVENTS, PoapEventsSchema, CollectionNames_1.default.DB_COLLECTION_POAP_EVENTS);
exports.PoapEventsModel = index_1.DegenDBConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_EVENTS, PoapEventsSchema, CollectionNames_1.default.DB_COLLECTION_POAP_EVENTS);
//# sourceMappingURL=PoapEventsSchema.js.map

@@ -9,3 +9,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const NextAuthSchema = new mongoose_1.Schema({

@@ -40,3 +40,3 @@ compoundId: mongoose_1.Schema.Types.ObjectId,

exports.default = NextAuthSchema;
exports.NextAuthModel = main_1.nextAuthConn.model(CollectionNames_1.default.DB_COLLECTION_NEXT_AUTH_ACCOUNTS, NextAuthSchema, CollectionNames_1.default.DB_COLLECTION_NEXT_AUTH_ACCOUNTS);
exports.NextAuthModel = index_1.NextAuthDBConn.model(CollectionNames_1.default.DB_COLLECTION_NEXT_AUTH_ACCOUNTS, NextAuthSchema, CollectionNames_1.default.DB_COLLECTION_NEXT_AUTH_ACCOUNTS);
//# sourceMappingURL=NextAuthSchema.js.map

@@ -9,3 +9,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const ParticipantsForDiscordPoapSchema = new mongoose_1.Schema({

@@ -51,3 +51,3 @@ poapEvent: {

exports.default = ParticipantsForDiscordPoapSchema;
exports.ParticipantsForDiscordPoapModel = main_1.degenDbConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_DISCORD, ParticipantsForDiscordPoapSchema, CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_DISCORD);
exports.ParticipantsForDiscordPoapModel = index_1.DegenDBConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_DISCORD, ParticipantsForDiscordPoapSchema, CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_DISCORD);
//# sourceMappingURL=ParticipantsForDiscordPoapSchema.js.map

@@ -9,3 +9,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const ParticipantsForTwitterPoapSchema = new mongoose_1.Schema({

@@ -28,3 +28,3 @@ poapEvent: {

exports.default = ParticipantsForTwitterPoapSchema;
exports.ParticipantsForTwitterPoapModel = main_1.degenDbConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_TWITTER, ParticipantsForTwitterPoapSchema, CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_TWITTER);
exports.ParticipantsForTwitterPoapModel = index_1.DegenDBConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_TWITTER, ParticipantsForTwitterPoapSchema, CollectionNames_1.default.DB_COLLECTION_POAP_PARTICIPANTS_FOR_TWITTER);
//# sourceMappingURL=ParticipantsForTwitterPoapSchema.js.map

@@ -9,3 +9,3 @@ "use strict";

const CollectionNames_1 = __importDefault(require("../../constants/CollectionNames"));
const main_1 = require("../../main");
const index_1 = require("../../index");
const PoapLinksSchema = new mongoose_1.Schema({

@@ -39,3 +39,3 @@ poapEvent: {

PoapLinksSchema.index({ poapCode: 1 });
exports.PoapLinksModel = main_1.degenDbConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_LINKS, PoapLinksSchema, CollectionNames_1.default.DB_COLLECTION_POAP_LINKS);
exports.PoapLinksModel = index_1.DegenDBConn.model(CollectionNames_1.default.DB_COLLECTION_POAP_LINKS, PoapLinksSchema, CollectionNames_1.default.DB_COLLECTION_POAP_LINKS);
//# sourceMappingURL=PoapLinksSchema.js.map
{
"name": "@degen/schema",
"version": "0.1.3",
"version": "0.1.4",
"description": "Schema for degen",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {

@@ -17,3 +17,3 @@ "access": "public"

"start": "node --trace-warnings dist/main.js",
"release": "pnpm test && standard-version"
"release": "pnpm prestart && standard-version"
},

@@ -20,0 +20,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet