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

ronin

Package Overview
Dependencies
Maintainers
3
Versions
1798
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ronin - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

20

dist/index.d.ts

@@ -176,3 +176,2 @@ type RecursivePartial<T> = {

type AllFields<TSchema> = `ronin.${keyof RoninMetadata}` | Exclude<keyof TSchema, 'ronin'>;
type RecordFields = 'views' | 'accounts' | 'spaces';
interface OrderedBy<TSchema> {

@@ -186,3 +185,4 @@ /** Order the resulting records in descending order using a specific field. */

type Variants = 'english' | 'german' | 'japanese';
export interface Filter<TSchema extends Record<string, any> & RoninRecord> {
export type SchemaSlugKey = keyof RONIN.Counter | keyof RONIN.Creator | keyof RONIN.Dropper | keyof RONIN.Getter | keyof RONIN.Setter;
export interface Filter<TSchema extends Record<string, any> & RoninRecord, TSlug extends SchemaSlugKey> {
/** Perform specific matching actions (such as "is", "contains", or "startsWith") on the fields of a record. */

@@ -197,3 +197,3 @@ where: Partial<Where<TSchema>>;

/** Resolve the records associated with certain fields of type "Record". */
including: Array<Partial<RecordFields>>;
including: Array<Partial<RONIN.Includes[TSlug]>>;
/**

@@ -214,16 +214,18 @@ * Set the maximum number of records to be retrieved before a subsequent page must be requested.

}
export interface FilterAndMutate<TSchema extends Record<string, any> & RoninRecord> extends Filter<TSchema> {
export interface FilterAndMutate<TSchema extends Record<string, any> & RoninRecord, TSlug extends SchemaSlugKey> extends Filter<TSchema, TSlug> {
/** Perform mutations on the fields of a record or add new fields to it. */
to: Partial<To<TSchema>>;
}
export interface Counter extends Record<string, Partial<Filter<Record<string, any> & RoninRecord>>> {
export interface Includes extends Record<SchemaSlugKey, Array<string>> {
}
export interface Creator extends Record<string, Partial<Filter<Record<string, any> & RoninRecord>>> {
export interface Counter extends Record<string, Partial<Filter<Record<string, any> & RoninRecord, never>>> {
}
export interface Dropper extends Record<string, Partial<Filter<Record<string, any> & RoninRecord>>> {
export interface Creator extends Record<string, Partial<Filter<Record<string, any> & RoninRecord, never>>> {
}
export interface Getter extends Record<string, Partial<Filter<Record<string, any> & RoninRecord>>> {
export interface Dropper extends Record<string, Partial<Filter<Record<string, any> & RoninRecord, never>>> {
}
export interface Setter extends Record<string, Partial<FilterAndMutate<Record<string, any> & RoninRecord>>> {
export interface Getter extends Record<string, Partial<Filter<Record<string, any> & RoninRecord, never>>> {
}
export interface Setter extends Record<string, Partial<FilterAndMutate<Record<string, any> & RoninRecord, never>>> {
}
export {};

@@ -230,0 +232,0 @@ }

{
"version": "1.0.9",
"version": "1.0.10",
"name": "ronin",

@@ -4,0 +4,0 @@ "scripts": {

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