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

@flatfile/blueprint

Package Overview
Dependencies
Maintainers
17
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatfile/blueprint - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

26

dist/index.d.ts

@@ -35,2 +35,5 @@ declare type ArrayableProperty = {

type?: 'string' | 'number' | 'boolean' | 'date' | 'enum' | 'reference';
/**
* User friendly field name
*/
label?: string;

@@ -42,2 +45,3 @@ description?: string;

declare type BooleanProperty = (BaseProperty & {
type?: 'boolean';
config?: {

@@ -51,3 +55,5 @@ /**

declare type DateProperty = BaseProperty;
declare type DateProperty = (BaseProperty & {
type?: 'date';
});

@@ -78,2 +84,3 @@ declare type EnumPropertyOption = {

declare type EnumProperty = (BaseProperty & ArrayableProperty & {
type?: 'enum';
config: {

@@ -89,2 +96,3 @@ /**

declare type NumberProperty = (BaseProperty & ArrayableProperty & {
type?: 'number';
/**

@@ -102,2 +110,3 @@ * Optional configuration

declare type ReferenceProperty = (BaseProperty & ArrayableProperty & {
type?: 'reference';
config: {

@@ -115,3 +124,5 @@ /**

declare type StringProperty = BaseProperty;
declare type StringProperty = (BaseProperty & {
type?: 'string';
});

@@ -122,2 +133,11 @@ declare type Property = (StringProperty | NumberProperty | BooleanProperty | DateProperty | EnumProperty | ReferenceProperty);

export { ArrayableProperty, BaseConstraint, BaseProperty, BooleanProperty, Constraint, DateProperty, EnumProperty, EnumPropertyOption, NumberProperty, Property, PropertyList, ReferenceProperty, RequiredConstraint, StringProperty, UniqueConstraint };
/**
* Describes shape of data as well as behavior
*/
declare type SheetConfig = {
name: string;
description?: string;
fields: Array<Property>;
};
export { ArrayableProperty, BaseConstraint, BaseProperty, BooleanProperty, Constraint, DateProperty, EnumProperty, EnumPropertyOption, NumberProperty, Property, PropertyList, ReferenceProperty, RequiredConstraint, SheetConfig, StringProperty, UniqueConstraint };

2

package.json
{
"name": "@flatfile/blueprint",
"version": "0.0.1",
"version": "0.0.2",
"description": "The universal DDL for defining data structures across Flatfile.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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