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

@cloudcannon/configuration-types

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudcannon/configuration-types - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

2

package.json
{
"name": "@cloudcannon/configuration-types",
"version": "0.0.15",
"version": "0.0.16",
"description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",

@@ -5,0 +5,0 @@ "author": "CloudCannon <support@cloudcannon.com>",

@@ -790,3 +790,6 @@ import Scrapbooker from '@cloudcannon/snippet-types';

export interface SelectInputOptions<EmptyType = EmptyTypeText> extends BaseInputOptions<EmptyType> {
export interface SelectInputOptions<EmptyType = EmptyTypeText>
extends BaseInputOptions<EmptyType>,
Previewable,
PickerPreviewable {
/**

@@ -816,2 +819,10 @@ * Allows new text values to be created at edit time.

value_key?: string;
/**
* Controls how selected items are rendered.
*/
view?: 'card' | 'text' | 'gallery' | 'gallery-left';
/**
* Controls how selectable options are rendered.
*/
picker_view?: 'card' | 'text' | 'gallery' | 'gallery-left';
}

@@ -830,8 +841,3 @@

export interface ChoiceInputOptions<EmptyType = EmptyTypeText>
extends Omit<SelectInputOptions<EmptyType>, 'allow_create'> {
/**
* The preview definition for changing the way selected and available options are displayed.
*/
preview?: SelectPreview;
}
extends Omit<SelectInputOptions<EmptyType>, 'allow_create'> {}

@@ -856,3 +862,3 @@ export interface ChoiceInput extends BaseInput<ChoiceInputOptions> {

export interface ObjectInputOptions extends BaseInputOptions<EmptyTypeObject> {
export interface ObjectInputOptions extends BaseInputOptions<EmptyTypeObject>, Previewable {
/**

@@ -885,8 +891,2 @@ * Changes the appearance and behavior of the input.

/**
* The preview definition for changing the way data within an object input is previewed before
* being expanded. If the input has `structures`, the preview from the structure value is used
* instead.
*/
preview?: ObjectPreview;
/**
* Provides data formats for value of this object. When choosing an item, team members are

@@ -920,8 +920,2 @@ * prompted to choose from a number of values you have defined. `structures` applies to the object

/**
* The preview definition for changing the way data within an array input's items are previewed
* before being expanded. If the input has structures, the preview from the structure value is
* used instead.
*/
preview?: ObjectPreview;
/**
* Provides data formats for value of this object. When choosing an item, team members are

@@ -1064,2 +1058,3 @@ * prompted to choose from a number of values you have defined.

IconPreviewable,
IconColorPreviewable,
IconColorPreviewable {

@@ -1078,10 +1073,2 @@ /**

export interface ObjectPreview
extends TextPreviewable,
ImagePreviewable,
IconPreviewable,
SubtextPreviewable {}
export interface SelectPreview extends TextPreviewable, IconPreviewable {}
export interface Preview

@@ -1424,2 +1411,6 @@ extends TextPreviewable,

/**
* Allows you to group the inputs inside this object together without changing the data structure.
*/
groups?: ObjectInputGroup[];
/**
* The actual value used when items are added after selection.

@@ -1426,0 +1417,0 @@ */

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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