@activepieces/shared 0.10.65 → 0.10.66
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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/shared",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.66",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@sinclair/typebox": "0.26.8",
|
|
7
7
|
"nanoid": "3.3.6",
|
|
8
8
|
"semver": "7.5.4",
|
|
9
|
-
"tslib": "2.6.
|
|
9
|
+
"tslib": "2.6.2"
|
|
10
10
|
},
|
|
11
11
|
"main": "./src/index.js"
|
|
12
12
|
}
|
|
@@ -35,9 +35,12 @@ type QuotaAlert = {
|
|
|
35
35
|
type FlowImported = {
|
|
36
36
|
id: string;
|
|
37
37
|
name: string;
|
|
38
|
-
location:
|
|
38
|
+
location: 'import flow view' | 'inside the builder' | 'import flow by uri encoded query param';
|
|
39
39
|
tab?: string;
|
|
40
40
|
};
|
|
41
|
+
type FlowImportedUsingFile = {
|
|
42
|
+
location: 'inside dashboard' | 'inside the builder';
|
|
43
|
+
};
|
|
41
44
|
type UpgradeClicked = {
|
|
42
45
|
limitType?: 'team' | 'connections';
|
|
43
46
|
limit: number;
|
|
@@ -73,7 +76,10 @@ export declare enum TelemetryEventName {
|
|
|
73
76
|
DEMO_IMPORTED = "demo.imported",
|
|
74
77
|
FLOW_RUN_CREATED = "run.created",
|
|
75
78
|
FLOW_PUBLISHED = "flow.published",
|
|
79
|
+
/**used with templates dialog + import flow component + flows imported by uri query param*/
|
|
76
80
|
FLOW_IMPORTED = "flow.imported",
|
|
81
|
+
/**used only with import flow dialog*/
|
|
82
|
+
FLOW_IMPORTED_USING_FILE = "flow.imported.using.file",
|
|
77
83
|
PIECES_SEARCH = "pieces.search",
|
|
78
84
|
REFERRAL = "referral",
|
|
79
85
|
REFERRAL_LINK_COPIED = "referral.link.copied",
|
|
@@ -85,5 +91,5 @@ type BaseTelemetryEvent<T, P> = {
|
|
|
85
91
|
name: T;
|
|
86
92
|
payload: P;
|
|
87
93
|
};
|
|
88
|
-
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.FLOW_CREATED, FlowCreated> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_SEARCH, TemplateSearch> | BaseTelemetryEvent<TelemetryEventName.PIECES_SEARCH, PiecesSearch> | BaseTelemetryEvent<TelemetryEventName.FLOW_IMPORTED, FlowImported> | 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>;
|
|
94
|
+
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.FLOW_CREATED, 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>;
|
|
89
95
|
export {};
|
|
@@ -12,7 +12,10 @@ var TelemetryEventName;
|
|
|
12
12
|
TelemetryEventName["DEMO_IMPORTED"] = "demo.imported";
|
|
13
13
|
TelemetryEventName["FLOW_RUN_CREATED"] = "run.created";
|
|
14
14
|
TelemetryEventName["FLOW_PUBLISHED"] = "flow.published";
|
|
15
|
+
/**used with templates dialog + import flow component + flows imported by uri query param*/
|
|
15
16
|
TelemetryEventName["FLOW_IMPORTED"] = "flow.imported";
|
|
17
|
+
/**used only with import flow dialog*/
|
|
18
|
+
TelemetryEventName["FLOW_IMPORTED_USING_FILE"] = "flow.imported.using.file";
|
|
16
19
|
TelemetryEventName["PIECES_SEARCH"] = "pieces.search";
|
|
17
20
|
TelemetryEventName["REFERRAL"] = "referral";
|
|
18
21
|
TelemetryEventName["REFERRAL_LINK_COPIED"] = "referral.link.copied";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/common/telemetry.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/common/telemetry.ts"],"names":[],"mappings":";;;AAoFA,IAAY,kBAoBX;AApBD,WAAY,kBAAkB;IAC1B,6CAAuB,CAAA;IACvB,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,sEAAgD,CAAA;IAChD,qDAA+B,CAAA;IAC/B,mDAA6B,CAAA;IAC7B,qDAA+B,CAAA;IAC/B,sDAAgC,CAAA;IAChC,uDAAiC,CAAA;IACjC,2FAA2F;IAC3F,qDAA+B,CAAA;IAC/B,sCAAsC;IACtC,2EAAqD,CAAA;IACrD,qDAA+B,CAAA;IAC/B,2CAAqB,CAAA;IACrB,mEAA6C,CAAA;IAC7C,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,uEAAiD,CAAA;AACrD,CAAC,EApBW,kBAAkB,kCAAlB,kBAAkB,QAoB7B"}
|