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

@contember/schema

Package Overview
Dependencies
Maintainers
5
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/schema - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

8

dist/src/schema/input.d.ts

@@ -103,7 +103,7 @@ import Value from './value';

}
type FieldOrderBy = OrderDirection | OrderBy;
interface OrderByFields {
[fieldName: string]: FieldOrderBy;
type FieldOrderBy<T = OrderDirection> = T | OrderBy;
interface OrderByFields<T = OrderDirection> {
[fieldName: string]: FieldOrderBy<T>;
}
type OrderBy = OrderByFields & {
type OrderBy<T = OrderDirection> = OrderByFields<T> & {
_random?: boolean;

@@ -110,0 +110,0 @@ _randomSeeded?: number;

{
"name": "@contember/schema",
"version": "0.8.1",
"version": "0.8.2",
"license": "Apache-2.0",

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

},
"gitHead": "53817a2fea724a43b3ac5b5184df4e9af41ef3ac"
"gitHead": "eb80d5f7d1428080127bd75d1cd9638120ffc054"
}

@@ -133,9 +133,10 @@ import Value from './value'

export type FieldOrderBy = OrderDirection | OrderBy
// generics required by admin
export type FieldOrderBy<T = OrderDirection> = T | OrderBy
export interface OrderByFields {
[fieldName: string]: FieldOrderBy
export interface OrderByFields<T = OrderDirection> {
[fieldName: string]: FieldOrderBy<T>
}
export type OrderBy = OrderByFields & { _random?: boolean; _randomSeeded?: number }
export type OrderBy<T = OrderDirection> = OrderByFields<T> & { _random?: boolean; _randomSeeded?: number }

@@ -142,0 +143,0 @@ export interface Condition<T = Value.FieldValue> {

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