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

@forestadmin/datasource-toolkit

Package Overview
Dependencies
Maintainers
0
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forestadmin/datasource-toolkit - npm Package Compare versions

Comparing version 1.36.0 to 1.37.0

18

dist/src/interfaces/action.d.ts

@@ -21,3 +21,3 @@ /// <reference types="node" />

export type ActionFormElementBase = {
type: ActionFieldType | LayoutElementType;
type: ActionFieldType | 'Layout';
};

@@ -35,3 +35,2 @@ export interface ActionFieldBase extends ActionFormElementBase {

type ActionFieldType = 'Boolean' | 'Collection' | 'Date' | 'Dateonly' | 'Time' | 'Enum' | 'File' | 'Json' | 'Number' | 'String' | 'EnumList' | 'FileList' | 'NumberList' | 'StringList';
export type LayoutElementType = 'Layout';
interface ActionFieldLimitedValue<TWidget extends ActionFieldWidget, TType extends ActionFieldType = ActionFieldType, TValue = unknown> extends ActionFieldBase {

@@ -170,8 +169,17 @@ widget: TWidget;

}
interface LayoutElementInput extends ActionLayoutElementBase {
interface LayoutElementRow extends ActionLayoutElementBase {
component: 'Row';
fields: LayoutElementInput[];
}
interface LayoutElementRowRecursive extends ActionLayoutElementBase {
component: 'Row';
fields: ActionField[];
}
export interface LayoutElementInput extends ActionLayoutElementBase {
component: 'Input';
fieldId: string;
}
export type ActionLayoutElement = LayoutElementSeparator | LayoutElementHtmlBlock | LayoutElementInput;
export type ActionFormElement = ActionLayoutElement | ActionField;
export type ActionLayoutElement = LayoutElementSeparator | LayoutElementHtmlBlock | LayoutElementRow | LayoutElementInput;
export type ActionLayoutElementRecursive = LayoutElementSeparator | LayoutElementHtmlBlock | LayoutElementRowRecursive | LayoutElementInput;
export type ActionFormElement = ActionLayoutElementRecursive | ActionField;
export type ActionForm = {

@@ -178,0 +186,0 @@ fields: ActionField[];

{
"name": "@forestadmin/datasource-toolkit",
"version": "1.36.0",
"version": "1.37.0",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "license": "GPL-3.0",

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