@doflo/flow-interfaces
Advanced tools
Comparing version 1.11.0 to 1.12.0
@@ -26,3 +26,3 @@ { | ||
"properties": { "type": "array", "items": { "$ref": "./elementProperties.json" } }, | ||
"credentials": {}, | ||
"credentials": { "type": "array", "items": { "$ref": "./credentialsMapSchema.json" } }, | ||
"maxNodes": { "type": "number" }, | ||
@@ -29,0 +29,0 @@ "polling": { "type": "boolean" }, |
@@ -91,3 +91,3 @@ /** | ||
export interface ElementInfo { | ||
credentials?: any; | ||
credentials?: CredentialMapSchema[]; | ||
defaults: { | ||
@@ -121,2 +121,9 @@ [key: string]: Array<boolean | number | null | string> | boolean | number | null | string; | ||
} | ||
export interface CredentialMapSchema { | ||
/** | ||
* the name of the credential type | ||
*/ | ||
name?: string; | ||
required?: boolean; | ||
} | ||
export interface ElementProperties { | ||
@@ -123,0 +130,0 @@ default?: Array<boolean | number | { |
{ | ||
"name": "@doflo/flow-interfaces", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"description": "Public Interfaces, Schemas, & GRPC Signatures for doFlo developers", | ||
@@ -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
275115
122
4296