@activepieces/pieces-framework
Advanced tools
Comparing version 0.7.35 to 0.7.36
{ | ||
"name": "@activepieces/pieces-framework", | ||
"version": "0.7.35", | ||
"version": "0.7.36", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -56,10 +56,4 @@ "use strict"; | ||
triggers: typebox_1.Type.Number(), | ||
suggestedActions: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({ | ||
name: typebox_1.Type.String(), | ||
displayName: typebox_1.Type.String(), | ||
}))), | ||
suggestedTriggers: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({ | ||
name: typebox_1.Type.String(), | ||
displayName: typebox_1.Type.String(), | ||
}))), | ||
suggestedActions: typebox_1.Type.Optional(typebox_1.Type.Array(exports.TriggerBase)), | ||
suggestedTriggers: typebox_1.Type.Optional(typebox_1.Type.Array(exports.ActionBase)), | ||
}) | ||
@@ -66,0 +60,0 @@ ]); |
@@ -157,2 +157,7 @@ import { InputProperty } from './input'; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
[x: string]: import("@sinclair/typebox").TSchema; | ||
[x: number]: import("@sinclair/typebox").TSchema; | ||
displayName: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>]>>, import("@sinclair/typebox").TSchema]>; | ||
@@ -397,2 +402,7 @@ }>, import("@sinclair/typebox").TObject<{ | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
[x: string]: import("@sinclair/typebox").TSchema; | ||
[x: number]: import("@sinclair/typebox").TSchema; | ||
displayName: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>]>>, import("@sinclair/typebox").TSchema]>; | ||
@@ -639,2 +649,7 @@ }>, import("@sinclair/typebox").TObject<{ | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
[x: string]: import("@sinclair/typebox").TSchema; | ||
[x: number]: import("@sinclair/typebox").TSchema; | ||
displayName: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>]>>, import("@sinclair/typebox").TSchema]>; | ||
@@ -641,0 +656,0 @@ }>, import("@sinclair/typebox").TObject<{ |
@@ -9,2 +9,3 @@ import { BasePropertySchema, TPropertyValue } from "./common"; | ||
import { NumberProperty } from "./number-property"; | ||
import { FileProperty } from "./file-property"; | ||
export declare const ArraySubProps: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{ | ||
@@ -61,2 +62,7 @@ [x: string]: import("@sinclair/typebox").TSchema; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
[x: string]: import("@sinclair/typebox").TSchema; | ||
[x: number]: import("@sinclair/typebox").TSchema; | ||
displayName: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>]>>; | ||
@@ -119,7 +125,12 @@ export declare const ArrayProperty: import("@sinclair/typebox").TObject<{ | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
[x: string]: import("@sinclair/typebox").TSchema; | ||
[x: number]: import("@sinclair/typebox").TSchema; | ||
displayName: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>]>>, import("@sinclair/typebox").TSchema]>; | ||
}>; | ||
export type ArraySubProps<R extends boolean> = Record<string, ShortTextProperty<R> | LongTextProperty<R> | StaticDropdownProperty<any, R> | MultiSelectDropdownProperty<any, R> | StaticMultiSelectDropdownProperty<any, R> | CheckboxProperty<R> | NumberProperty<R>>; | ||
export type ArraySubProps<R extends boolean> = Record<string, ShortTextProperty<R> | LongTextProperty<R> | StaticDropdownProperty<any, R> | MultiSelectDropdownProperty<any, R> | StaticMultiSelectDropdownProperty<any, R> | CheckboxProperty<R> | NumberProperty<R> | FileProperty<R>>; | ||
export type ArrayProperty<R extends boolean> = BasePropertySchema & { | ||
properties?: ArraySubProps<R>; | ||
} & TPropertyValue<unknown[], PropertyType.ARRAY, ValidationInputType.ARRAY, R>; |
@@ -12,2 +12,3 @@ "use strict"; | ||
const number_property_1 = require("./number-property"); | ||
const file_property_1 = require("./file-property"); | ||
exports.ArraySubProps = typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Union([ | ||
@@ -20,3 +21,4 @@ text_property_1.ShortTextProperty, | ||
checkbox_property_1.CheckboxProperty, | ||
number_property_1.NumberProperty | ||
number_property_1.NumberProperty, | ||
file_property_1.FileProperty | ||
])); | ||
@@ -23,0 +25,0 @@ exports.ArrayProperty = typebox_1.Type.Composite([ |
@@ -136,2 +136,7 @@ import { ArrayProperty } from "./array-property"; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>, import("@sinclair/typebox").TObject<{ | ||
[x: string]: import("@sinclair/typebox").TSchema; | ||
[x: number]: import("@sinclair/typebox").TSchema; | ||
displayName: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
description: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TSchema]>; | ||
}>]>>, import("@sinclair/typebox").TSchema]>; | ||
@@ -138,0 +143,0 @@ }>, import("@sinclair/typebox").TObject<{ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
556633
6583