Socket
Socket
Sign inDemoInstall

@oridune/epic-odm

Package Overview
Dependencies
2
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.16 to 1.0.17

2

package.json
{
"name": "@oridune/epic-odm",
"version": "1.0.16",
"version": "1.0.17",
"description": "Install 1 ODM and code once with any database driver.",

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

@@ -16,7 +16,7 @@ import { BaseModel } from "./base";

static GraphQLObjectType?: GraphQLObjectType;
static new<M extends typeof BaseModel>(this: M, data: ModelPayload<M["prototype"]>): M["prototype"];
static new<M extends typeof BaseModel>(this: M, data: ModelPayload<Required<M["prototype"]>>): M["prototype"];
static toGraphQLObjectType<M extends typeof BaseModel>(this: M): GraphQLObjectType;
static toGraphQLObjectTypeList<M extends typeof BaseModel>(this: M): GraphQLList<GraphQLObjectType>;
static create<M extends typeof BaseModel>(this: M, payload: ModelPayload<M["prototype"]>[]): DatabaseCommand<M, "create">;
static createOne<M extends typeof BaseModel>(this: M, payload: ModelPayload<M["prototype"]>): DatabaseCommand<M, "createOne">;
static create<M extends typeof BaseModel>(this: M, payload: ModelPayload<Required<M["prototype"]>>[]): DatabaseCommand<M, "create">;
static createOne<M extends typeof BaseModel>(this: M, payload: ModelPayload<Required<M["prototype"]>>): DatabaseCommand<M, "createOne">;
static find<M extends typeof BaseModel>(this: M, aggregate?: Aggregation<M["prototype"]> | BaseModel[] | BaseModel): DatabaseCommand<M, "find">;

@@ -23,0 +23,0 @@ static findOne<M extends typeof BaseModel>(this: M, aggregate?: Aggregation<M["prototype"]> | BaseModel[] | BaseModel): DatabaseCommand<M, "findOne">;

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc