@activepieces/shared
Advanced tools
Comparing version 0.10.79 to 0.10.80
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.79", | ||
"version": "0.10.80", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -8,2 +8,7 @@ import { Static } from '@sinclair/typebox'; | ||
export declare const VersionType: import("@sinclair/typebox").TString<string>; | ||
export declare enum SuggestionType { | ||
ACTION = "ACTION", | ||
TRIGGER = "TRIGGER", | ||
ACTION_AND_TRIGGER = "ACTION_AND_TRIGGER" | ||
} | ||
export declare enum PieceSortBy { | ||
@@ -34,2 +39,3 @@ NAME = "NAME", | ||
categories: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TEnum<typeof PieceCategory>>>; | ||
suggestionType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof SuggestionType>>; | ||
}>; | ||
@@ -36,0 +42,0 @@ export type ListPiecesRequestQuery = Static<typeof ListPiecesRequestQuery>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AddPieceRequestBody = exports.PieceScope = exports.PieceOptionRequest = exports.GetPieceRequestQuery = exports.ListPiecesRequestQuery = exports.GetPieceRequestParams = exports.GetPieceRequestWithScopeParams = exports.PieceOrderBy = exports.PieceSortBy = exports.VersionType = exports.ExactVersionType = exports.VERSION_PATTERN = exports.EXACT_VERSION_PATTERN = void 0; | ||
exports.AddPieceRequestBody = exports.PieceScope = exports.PieceOptionRequest = exports.GetPieceRequestQuery = exports.ListPiecesRequestQuery = exports.GetPieceRequestParams = exports.GetPieceRequestWithScopeParams = exports.PieceOrderBy = exports.PieceSortBy = exports.SuggestionType = exports.VersionType = exports.ExactVersionType = exports.VERSION_PATTERN = exports.EXACT_VERSION_PATTERN = void 0; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
@@ -11,2 +11,8 @@ const flag_1 = require("../../flag/flag"); | ||
exports.VersionType = typebox_1.Type.RegEx(exports.VERSION_PATTERN); | ||
var SuggestionType; | ||
(function (SuggestionType) { | ||
SuggestionType["ACTION"] = "ACTION"; | ||
SuggestionType["TRIGGER"] = "TRIGGER"; | ||
SuggestionType["ACTION_AND_TRIGGER"] = "ACTION_AND_TRIGGER"; | ||
})(SuggestionType || (exports.SuggestionType = SuggestionType = {})); | ||
var PieceSortBy; | ||
@@ -37,2 +43,3 @@ (function (PieceSortBy) { | ||
categories: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Enum(piece_1.PieceCategory))), | ||
suggestionType: typebox_1.Type.Optional(typebox_1.Type.Enum(SuggestionType)), | ||
}); | ||
@@ -39,0 +46,0 @@ exports.GetPieceRequestQuery = typebox_1.Type.Object({ |
Sorry, the diff of this file is not supported yet
459826
6311