@activepieces/shared 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -92,14 +92,16 @@ export declare const FlowTemplate: import("@sinclair/typebox").TObject<{
|
|
|
92
92
|
}>;
|
|
93
93
|
userId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNull, import("@sinclair/typebox").TString<string>]>;
|
|
94
94
|
user: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
95
|
-
id: import("@sinclair/typebox").TString<string
|
|
96
|
-
email: import("@sinclair/typebox").TString<string
|
|
97
|
-
firstName: import("@sinclair/typebox").TString<string
|
|
98
|
-
lastName: import("@sinclair/typebox").TString<string
|
|
95
|
+
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
96
|
+
email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
97
|
+
firstName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
98
|
+
lastName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
99
99
|
imageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
100
100
|
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
101
101
|
}>>;
|
|
102
102
|
imageUrl: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TNull, import("@sinclair/typebox").TString<string>]>;
|
|
103
|
+
featuredDescription: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
104
|
+
isFeatured: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
103
105
|
id: import("@sinclair/typebox").TString<string>;
|
|
104
106
|
created: import("@sinclair/typebox").TString<string>;
|
|
105
107
|
updated: import("@sinclair/typebox").TString<string>;
|
|
@@ -6,7 +6,7 @@ const flow_version_1 = require("../flow-version");
|
|
|
6
6
|
const user_1 = require("../../user/user");
|
|
7
7
|
const common_1 = require("../../common");
|
|
8
8
|
exports.FlowVersionTemplate = typebox_1.Type.Omit(flow_version_1.FlowVersion, ["id", "created", "updated", "flowId", "state", "updatedBy"]);
|
|
9
|
-
exports.FlowTemplate = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { name: typebox_1.Type.String(), description: typebox_1.Type.String(), tags: typebox_1.Type.Array(typebox_1.Type.String()), pieces: typebox_1.Type.Array(typebox_1.Type.String()), blogUrl: typebox_1.Type.Optional(typebox_1.Type.String()), template: exports.FlowVersionTemplate, userId: typebox_1.Type.Union([typebox_1.Type.Null(), typebox_1.Type.String()]), user: typebox_1.Type.Optional(user_1.UserMeta), imageUrl: typebox_1.Type.Union([typebox_1.Type.Null(), typebox_1.Type.String()]) }));
|
|
9
|
+
exports.FlowTemplate = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { name: typebox_1.Type.String(), description: typebox_1.Type.String(), tags: typebox_1.Type.Array(typebox_1.Type.String()), pieces: typebox_1.Type.Array(typebox_1.Type.String()), blogUrl: typebox_1.Type.Optional(typebox_1.Type.String()), template: exports.FlowVersionTemplate, userId: typebox_1.Type.Union([typebox_1.Type.Null(), typebox_1.Type.String()]), user: typebox_1.Type.Optional(typebox_1.Type.Partial(user_1.UserMeta)), imageUrl: typebox_1.Type.Union([typebox_1.Type.Null(), typebox_1.Type.String()]), featuredDescription: typebox_1.Type.Optional(typebox_1.Type.String()), isFeatured: typebox_1.Type.Optional(typebox_1.Type.Boolean()) }));
|
|
10
10
|
exports.ListFlowTemplatesRequest = typebox_1.Type.Object({
|
|
11
11
|
pieces: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())),
|
|
12
12
|
tags: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-template-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/dto/flow-template-request.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,kDAA8C;AAC9C,0CAA2C;AAC3C,yCAA+C;AAClC,QAAA,mBAAmB,GAAG,cAAI,CAAC,IAAI,CACxC,0BAAW,EACX,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,CAC/D,CAAC;AAIW,QAAA,YAAY,GAAG,cAAI,CAAC,MAAM,iCAChC,wBAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE,EAC1B,IAAI,EAAE,cAAI,CAAC,KAAK,CAAC,cAAI,CAAC,MAAM,EAAE,CAAC,EAC/B,MAAM,EAAE,cAAI,CAAC,KAAK,CAAC,cAAI,CAAC,MAAM,EAAE,CAAC,EACjC,OAAO,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,EAAE,CAAC,EACrC,QAAQ,EAAE,2BAAmB,EAC7B,MAAM,EAAE,cAAI,CAAC,KAAK,CAAC,CAAC,cAAI,CAAC,IAAI,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE,CAAC,CAAC,EAChD,IAAI,EAAE,cAAI,CAAC,QAAQ,CAAC,eAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"flow-template-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/dto/flow-template-request.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AACjD,kDAA8C;AAC9C,0CAA2C;AAC3C,yCAA+C;AAClC,QAAA,mBAAmB,GAAG,cAAI,CAAC,IAAI,CACxC,0BAAW,EACX,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,CAC/D,CAAC;AAIW,QAAA,YAAY,GAAG,cAAI,CAAC,MAAM,iCAChC,wBAAe,KAClB,IAAI,E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