🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@flatfile/schema

Package Overview
Dependencies
Maintainers
25
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatfile/schema - npm Package Compare versions

Comparing version

to
0.2.13

6

CHANGELOG.md
# @flatfile/schema
## 0.2.13
### Patch Changes
- 2e25be3: Update packages with updated @flatfile/api
## 0.2.12

@@ -4,0 +10,0 @@

2

dist/index.d.ts

@@ -72,2 +72,3 @@ import { Action, EnumProperty, Property, SheetConfig } from '@flatfile/blueprint';

unique?: boolean;
readonly?: boolean;
stageVisibility?: FieldVisibilityTypes;

@@ -115,2 +116,3 @@ annotations: {

fields: Fields;
readonly?: boolean;
required?: Array<keyof Fields | Array<keyof Fields>>;

@@ -117,0 +119,0 @@ unique?: Array<keyof Fields | Array<keyof Fields>>;

9

package.json
{
"name": "@flatfile/schema",
"version": "0.2.12",
"version": "0.2.13",
"description": "",

@@ -23,7 +23,6 @@ "main": "./dist/index.js",

},
"dependencies": {
"@flatfile/api": "^0.0.11",
"@flatfile/blueprint": "^0.0.6"
},
"dependencies": {},
"devDependencies": {
"@flatfile/api": "^0.0.15",
"@flatfile/blueprint": "^0.0.7",
"@flatfile/eslint-config-platform-sdk": "*",

@@ -30,0 +29,0 @@ "@flatfile/ts-config-platform-sdk": "*",

@@ -30,2 +30,3 @@ import {

required: true,
readonly: true,
annotations: {},

@@ -40,2 +41,3 @@ field: 'first_name',

key: 'first_name',
readonly: true,
constraints: [{ type: 'required' }],

@@ -65,2 +67,3 @@ }

description: undefined,
readonly: false,
constraints: [{ type: 'required' }],

@@ -103,2 +106,3 @@ config: {

description: undefined,
readonly: false,
constraints: [{ type: 'required' }],

@@ -136,2 +140,3 @@ config: {

description: undefined,
readonly: false,
constraints: [{ type: 'required' }],

@@ -157,2 +162,3 @@ }

description: undefined,
readonly: false,
constraints: [{ type: 'computed' }],

@@ -168,2 +174,3 @@ }

name: 'foo',
readonly: true,
fields: [

@@ -191,2 +198,3 @@ {

allowCustomFields: false,
readonly: true,
slug: 'test',

@@ -193,0 +201,0 @@ namespace: 'testspace',

@@ -53,2 +53,3 @@ import _ from 'lodash'

key: field.field,
readonly: field.readonly || false,
description: field.description,

@@ -77,2 +78,3 @@ }

description: field.description,
readonly: field.readonly || false,
config: {

@@ -91,2 +93,3 @@ options: getEnumOptions(field),

description: field.description,
readonly: field.readonly || false,
config: {

@@ -135,4 +138,5 @@ ref: field.sheetKey,

name: model.name,
readonly: model.readonly || false,
actions: model.actions,
}
}

@@ -13,2 +13,3 @@ import { Action } from '@flatfile/blueprint'

unique?: boolean
readonly?: boolean
stageVisibility?: FieldVisibilityTypes

@@ -77,2 +78,3 @@ annotations: {

fields: Fields
readonly?: boolean
required?: Array<keyof Fields | Array<keyof Fields>>

@@ -79,0 +81,0 @@ unique?: Array<keyof Fields | Array<keyof Fields>>

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet