@activepieces/shared
Advanced tools
Comparing version 0.10.81 to 0.10.82
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.81", | ||
"version": "0.10.82", | ||
"type": "commonjs", | ||
@@ -9,5 +9,5 @@ "dependencies": { | ||
"semver": "7.6.0", | ||
"tslib": "1.14.1" | ||
"tslib": "2.6.1" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -53,5 +53,5 @@ export * from './lib/flows/actions/action'; | ||
export * from './lib/project/project'; | ||
export { FileResponseInterface } from './lib/interfaces'; | ||
export { FileResponseInterface } from './lib/forms'; | ||
export { RetryFlowRequestBody } from './lib/flow-run/test-flow-run-request'; | ||
export * from './lib/flows/dto/flow-template-request'; | ||
export * from './lib/support-url'; |
@@ -80,4 +80,4 @@ "use strict"; | ||
tslib_1.__exportStar(require("./lib/project/project"), exports); | ||
var interfaces_1 = require("./lib/interfaces"); | ||
Object.defineProperty(exports, "FileResponseInterface", { enumerable: true, get: function () { return interfaces_1.FileResponseInterface; } }); | ||
var forms_1 = require("./lib/forms"); | ||
Object.defineProperty(exports, "FileResponseInterface", { enumerable: true, get: function () { return forms_1.FileResponseInterface; } }); | ||
const system_1 = require("@sinclair/typebox/system"); | ||
@@ -84,0 +84,0 @@ var test_flow_run_request_2 = require("./lib/flow-run/test-flow-run-request"); |
@@ -69,6 +69,6 @@ import { RunEnvironment } from '../flow-run/flow-run'; | ||
}; | ||
type InterfacesViewed = { | ||
type FormsViewed = { | ||
flowId: string; | ||
projectId: string; | ||
interfaceProps: Record<string, unknown>; | ||
formProps: Record<string, unknown>; | ||
}; | ||
@@ -95,4 +95,4 @@ export declare enum TelemetryEventName { | ||
COPILOT_GENERATED_CODE = "copilot.code.generated", | ||
INTERFACES_VIEWED = "interfaces.viewed", | ||
INTERFACES_SUBMITTED = "interfaces.submitted" | ||
FORMS_VIEWED = "forms.viewed", | ||
FORMS_SUBMITTED = "forms.submitted" | ||
} | ||
@@ -103,3 +103,3 @@ type BaseTelemetryEvent<T, P> = { | ||
}; | ||
export type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.REFERRAL, Referral> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_CLICKED, UpgradeClicked> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_POPUP, UpgradePopup> | BaseTelemetryEvent<TelemetryEventName.FLOW_RUN_CREATED, RunCreated> | BaseTelemetryEvent<TelemetryEventName.FLOW_PUBLISHED, FlowPublished> | BaseTelemetryEvent<TelemetryEventName.QUOTA_ALERT, QuotaAlert> | BaseTelemetryEvent<TelemetryEventName.CREATED_FLOW, FlowCreated> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_SEARCH, TemplateSearch> | BaseTelemetryEvent<TelemetryEventName.PIECES_SEARCH, PiecesSearch> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED, FlowImported> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED_USING_FILE, FlowImportedUsingFile> | BaseTelemetryEvent<TelemetryEventName.REFERRAL_LINK_COPIED, ReferralLinkCopied> | BaseTelemetryEvent<TelemetryEventName.FLOW_SHARED, FlowShared> | BaseTelemetryEvent<TelemetryEventName.DEMO_IMPORTED, Record<string, never>> | BaseTelemetryEvent<TelemetryEventName.OPENED_PRICING_FROM_DASHBOARD, OpenedFromDasahboard> | BaseTelemetryEvent<TelemetryEventName.COPILOT_GENERATED_CODE, CopilotGeneratedCode> | BaseTelemetryEvent<TelemetryEventName.INTERFACES_VIEWED, InterfacesViewed> | BaseTelemetryEvent<TelemetryEventName.INTERFACES_SUBMITTED, InterfacesViewed>; | ||
export type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.REFERRAL, Referral> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_CLICKED, UpgradeClicked> | BaseTelemetryEvent<TelemetryEventName.UPGRADE_POPUP, UpgradePopup> | BaseTelemetryEvent<TelemetryEventName.FLOW_RUN_CREATED, RunCreated> | BaseTelemetryEvent<TelemetryEventName.FLOW_PUBLISHED, FlowPublished> | BaseTelemetryEvent<TelemetryEventName.QUOTA_ALERT, QuotaAlert> | BaseTelemetryEvent<TelemetryEventName.CREATED_FLOW, FlowCreated> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_SEARCH, TemplateSearch> | BaseTelemetryEvent<TelemetryEventName.PIECES_SEARCH, PiecesSearch> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED, FlowImported> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED_USING_FILE, FlowImportedUsingFile> | BaseTelemetryEvent<TelemetryEventName.REFERRAL_LINK_COPIED, ReferralLinkCopied> | BaseTelemetryEvent<TelemetryEventName.FLOW_SHARED, FlowShared> | BaseTelemetryEvent<TelemetryEventName.DEMO_IMPORTED, Record<string, never>> | BaseTelemetryEvent<TelemetryEventName.OPENED_PRICING_FROM_DASHBOARD, OpenedFromDasahboard> | BaseTelemetryEvent<TelemetryEventName.COPILOT_GENERATED_CODE, CopilotGeneratedCode> | BaseTelemetryEvent<TelemetryEventName.FORMS_VIEWED, FormsViewed> | BaseTelemetryEvent<TelemetryEventName.FORMS_SUBMITTED, FormsViewed>; | ||
export {}; |
@@ -25,5 +25,5 @@ "use strict"; | ||
TelemetryEventName["COPILOT_GENERATED_CODE"] = "copilot.code.generated"; | ||
TelemetryEventName["INTERFACES_VIEWED"] = "interfaces.viewed"; | ||
TelemetryEventName["INTERFACES_SUBMITTED"] = "interfaces.submitted"; | ||
TelemetryEventName["FORMS_VIEWED"] = "forms.viewed"; | ||
TelemetryEventName["FORMS_SUBMITTED"] = "forms.submitted"; | ||
})(TelemetryEventName || (exports.TelemetryEventName = TelemetryEventName = {})); | ||
//# sourceMappingURL=telemetry.js.map |
@@ -64,2 +64,20 @@ import { ApId } from '../common/id-generator'; | ||
state: import("@sinclair/typebox").TEnum<typeof FlowVersionState>; | ||
updatedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>; | ||
updatedByUser: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{ | ||
title?: string | undefined; | ||
externalId?: string | undefined; | ||
imageUrl?: string | undefined; | ||
email: string; | ||
platformId: string | null; | ||
id: string; | ||
created: string; | ||
updated: string; | ||
firstName: string; | ||
lastName: string; | ||
trackEvents: boolean; | ||
newsLetter: boolean; | ||
password: string; | ||
verified: boolean; | ||
status: import("@sinclair/typebox").TEnumStatic<typeof import("../user").UserStatus>; | ||
} | null>>; | ||
id: import("@sinclair/typebox").TString<string>; | ||
@@ -66,0 +84,0 @@ created: import("@sinclair/typebox").TString<string>; |
@@ -7,2 +7,3 @@ "use strict"; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
const user_1 = require("../user"); | ||
var FlowVersionState; | ||
@@ -14,3 +15,3 @@ (function (FlowVersionState) { | ||
exports.FlowVersion = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { flowId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), trigger: trigger_1.Trigger, updatedBy: (0, base_model_1.Nullable)(typebox_1.Type.String()), valid: typebox_1.Type.Boolean(), state: typebox_1.Type.Enum(FlowVersionState) })); | ||
exports.FlowVersionMetadata = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { flowId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), valid: typebox_1.Type.Boolean(), state: typebox_1.Type.Enum(FlowVersionState) })); | ||
exports.FlowVersionMetadata = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { flowId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), valid: typebox_1.Type.Boolean(), state: typebox_1.Type.Enum(FlowVersionState), updatedBy: (0, base_model_1.Nullable)(typebox_1.Type.String()), updatedByUser: (0, base_model_1.Nullable)(user_1.User) })); | ||
//# sourceMappingURL=flow-version.js.map |
@@ -10,3 +10,2 @@ import { Static } from '@sinclair/typebox'; | ||
externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
status: import("@sinclair/typebox").TEnum<typeof import("./user").UserStatus>; | ||
firstName: import("@sinclair/typebox").TString<string>; | ||
@@ -17,4 +16,5 @@ lastName: import("@sinclair/typebox").TString<string>; | ||
verified: import("@sinclair/typebox").TBoolean; | ||
status: import("@sinclair/typebox").TEnum<typeof import("./user").UserStatus>; | ||
imageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export type UserResponse = Static<typeof UserResponse>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
460979
6336
+ Addedtslib@2.6.1(transitive)
- Removedtslib@1.14.1(transitive)
Updatedtslib@2.6.1