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

@trapi/query

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trapi/query - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

dist/request/type.d.ts
declare type Flatten<Type> = Type extends Array<infer Item> ? Item : Type;
declare type OnlyScalar<T> = T extends string | number | boolean | undefined | null ? T : never;
declare type OnlySingleObject<T> = T extends {
[key: string]: unknown;
[key: string]: any;
} ? T : never;

@@ -47,3 +47,3 @@ declare type OnlyObject<T> = Flatten<T> extends OnlySingleObject<Flatten<T>> ? T | Flatten<T> : never;

}
export declare type RequestRecord<A extends Record<RequestRecordKey, any>> = {
export declare type RequestRecord<A extends Record<string, any>> = {
filter?: FilterRecord<A>;

@@ -50,0 +50,0 @@ fields?: FieldRecord<A>;

{
"name": "@trapi/query",
"version": "0.0.1",
"version": "0.0.2",
"description": "An tiny library which provides utility types/functions for request and response query handling.",

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

"typescript": "^4.4.3"
}
},
"gitHead": "f931516f93b31fa0fc3c04926713a6cc91680f39"
}
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