New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@forestadmin/datasource-toolkit

Package Overview
Dependencies
Maintainers
4
Versions
124
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.9.0-alpha-widgets.1 to 1.9.0-alpha-widgets.2

14

dist/src/interfaces/action.d.ts

@@ -7,6 +7,6 @@ /// <reference types="node" />

} | Array<Json>;
export type DropdownOption = {
value: string;
export type DropdownOption<TValue> = {
value: TValue;
label: string;
};
} | TValue;
export type File = {

@@ -29,6 +29,6 @@ mimeType: string;

export type ActionFieldType = (typeof ActionFieldTypeList)[number];
export type ActionFieldDropdown = ActionFieldBase & {
export type ActionFieldDropdown<TType extends ActionFieldType = ActionFieldType, TValue = string> = ActionFieldBase & {
widget: 'Dropdown';
type: 'Date' | 'Dateonly' | 'Number' | 'String';
options?: DropdownOption[];
type: TType;
options?: DropdownOption<TValue>[];
search?: 'static' | 'disabled';

@@ -49,3 +49,3 @@ placeholder?: string;

};
export type ActionField = ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdown;
export type ActionField = ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdown<'Date' | 'Dateonly' | 'Number' | 'String', string> | ActionFieldDropdown<'Number', number>;
export type ActionFieldWidget = 'Dropdown';

@@ -52,0 +52,0 @@ export type SuccessResult = {

{
"name": "@forestadmin/datasource-toolkit",
"version": "1.9.0-alpha-widgets.1",
"version": "1.9.0-alpha-widgets.2",
"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