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

@mrnafisia/type-query

Package Overview
Dependencies
Maintainers
0
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrnafisia/type-query - npm Package Compare versions

Comparing version 2.0.14 to 2.0.15

7

dist/src/createModelParser.d.ts

@@ -20,2 +20,7 @@ import { Result } from 'never-catch';

};
type ModelWithPrefix<S extends Schema, R extends readonly (keyof S)[], O extends readonly (keyof S)[], P extends string> = {
[key in Exclude<keyof R, keyof never[]> as `${P}${R[key] & string}`]: NullableType<S[R[key] & string]['type'], S[R[key] & string]['nullable']>;
} & {
[key in Exclude<keyof O, keyof never[]> as `${P}${O[key] & string}`]?: NullableType<S[O[key] & string]['type'], S[O[key] & string]['nullable']>;
};
type ModelParser<S extends Schema, EMap extends {

@@ -32,4 +37,4 @@ [key in keyof S]: unknown;

}) => ModelParser<S, EMap>;
export type { Model, ModelParser };
export type { Model, ModelWithPrefix, ModelParser };
export { Int2Range, Int4Range, Int8Range, createModelParser };
//# sourceMappingURL=createModelParser.d.ts.map

2

dist/src/index.d.ts
export { type Context, createContext } from './context';
export { type Model, Int2Range, Int4Range, Int8Range, createModelParser } from './createModelParser';
export { type Model, type ModelWithPrefix, Int2Range, Int4Range, Int8Range, createModelParser } from './createModelParser';
export { generateCreateSequencesSQL, generateDropSequencesSQL, generateCreateTableSQL, generateDropTableSQL, getSequenceName } from './ddl';

@@ -4,0 +4,0 @@ export { type InsertingRow, type UpdateSets, type JoinType, type OrderDirection, type Mode, type CustomColumn, createEntity } from './entity';

{
"name": "@mrnafisia/type-query",
"version": "2.0.14",
"version": "2.0.15",
"description": "mini-orm with full type support for postgres.",

@@ -5,0 +5,0 @@ "keywords": [

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

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