Socket
Socket
Sign inDemoInstall

@prismatic-io/spectral

Package Overview
Dependencies
Maintainers
4
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismatic-io/spectral - npm Package Compare versions

Comparing version 7.0.14-pre to 7.0.15-pre

26

dist/types/Inputs.d.ts

@@ -29,2 +29,4 @@ import { ConditionalExpression } from "./conditional-logic";

};
export declare type DynamicObjectSelection = string;
export declare type DynamicFieldSelection = string;
/** InputField type enumeration. */

@@ -37,3 +39,3 @@ export declare type InputFieldType = InputFieldDefinition["type"];

};
export declare type InputFieldDefinition = StringInputField | DataInputField | TextInputField | PasswordInputField | BooleanInputField | CodeInputField | ConditionalInputField | ConnectionInputField | ObjectSelectionInputField | ObjectFieldMapInputField | JSONFormInputField;
export declare type InputFieldDefinition = StringInputField | DataInputField | TextInputField | PasswordInputField | BooleanInputField | CodeInputField | ConditionalInputField | ConnectionInputField | ObjectSelectionInputField | ObjectFieldMapInputField | JSONFormInputField | DynamicObjectSelectionInputField | DynamicFieldSelectionInputField;
export declare type InputCleanFunction<TValue, TResult = TValue> = (value: TValue) => TResult;

@@ -197,2 +199,24 @@ interface BaseInputField {

}
/** Defines attributes of a DynamicObjectSelectionInputField */
export interface DynamicObjectSelectionInputField extends BaseInputField {
/** Data type the InputField will collect. */
type: "dynamicObjectSelection";
/** Collection type of the InputField */
collection?: InputFieldCollection;
/** Default value for this field. */
default?: unknown;
/** Clean function */
clean?: InputCleanFunction<NonNullable<this["default"]>>;
}
/** Defines attributes of a SelectedFieldInputField */
export interface DynamicFieldSelectionInputField extends BaseInputField {
/** Data type the InputField will collect. */
type: "dynamicFieldSelection";
/** Collection type of the InputField */
collection?: InputFieldCollection;
/** Default value for this field. */
default?: unknown;
/** Clean function */
clean?: InputCleanFunction<NonNullable<this["default"]>>;
}
/** Defines a single Choice option for a InputField. */

@@ -199,0 +223,0 @@ export interface InputFieldChoice {

@@ -16,2 +16,4 @@ "use strict";

jsonForm: undefined,
dynamicObjectSelection: "",
dynamicFieldSelection: "",
};

2

package.json
{
"name": "@prismatic-io/spectral",
"version": "7.0.14-pre",
"version": "7.0.15-pre",
"description": "Utility library for building Prismatic components",

@@ -5,0 +5,0 @@ "keywords": [

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