@activepieces/shared
Advanced tools
Comparing version 0.10.100 to 0.10.101
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.100", | ||
"version": "0.10.101", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -54,2 +54,3 @@ export * from './lib/flows/actions/action'; | ||
export * from './lib/platform'; | ||
export * from './lib/tag'; | ||
export * from './lib/websocket'; | ||
@@ -56,0 +57,0 @@ export { GenerateCodeRequest, GenerateCodeResponse } from './lib/copilot'; |
@@ -80,2 +80,3 @@ "use strict"; | ||
const system_1 = require("@sinclair/typebox/system"); | ||
tslib_1.__exportStar(require("./lib/tag"), exports); | ||
tslib_1.__exportStar(require("./lib/websocket"), exports); | ||
@@ -82,0 +83,0 @@ var copilot_1 = require("./lib/copilot"); |
@@ -7,5 +7,5 @@ export declare enum Permission { | ||
WRITE_FLOW = "WRITE_FLOW", | ||
WRITE_PROJECT_PLAN = "WRITE_PROJECT_PLAN", | ||
WRITE_RPOJECT = "WRITE_RPOJECT", | ||
READ_PROJECT_MEMBER = "READ_PROJECT_MEMBER", | ||
WRITE_PROJECT_MEMBER = "WRITE_PROJECT_MEMBER" | ||
} |
@@ -11,3 +11,3 @@ "use strict"; | ||
Permission["WRITE_FLOW"] = "WRITE_FLOW"; | ||
Permission["WRITE_PROJECT_PLAN"] = "WRITE_PROJECT_PLAN"; | ||
Permission["WRITE_RPOJECT"] = "WRITE_RPOJECT"; | ||
Permission["READ_PROJECT_MEMBER"] = "READ_PROJECT_MEMBER"; | ||
@@ -14,0 +14,0 @@ Permission["WRITE_PROJECT_MEMBER"] = "WRITE_PROJECT_MEMBER"; |
@@ -101,2 +101,3 @@ import { RunEnvironment } from '../flow-run/flow-run'; | ||
REWARDS_BUTTON_CLICKED = "rewards.button.clicked", | ||
REWARDS_NOTE_SHOW_REWARDS_CLICKED = "rewards.note.show.rewards.clicked", | ||
PIECE_REWARD_INSTRUCTIONS_CLICKED = "piece.reward.instructions.clicked", | ||
@@ -110,3 +111,3 @@ TEMPLATE_REWARD_INSTRUCTIONS_CLICKED = "template.reward.instructions.clicked", | ||
}; | ||
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> | BaseTelemetryEvent<TelemetryEventName.REWARDS_BUTTON_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.PIECE_REWARD_INSTRUCTIONS_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_REWARD_INSTRUCTIONS_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.LINKED_IN_REWARD_CLICKED, RewardInstructionsClicked>; | ||
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> | BaseTelemetryEvent<TelemetryEventName.REWARDS_BUTTON_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.PIECE_REWARD_INSTRUCTIONS_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.TEMPLATE_REWARD_INSTRUCTIONS_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.LINKED_IN_REWARD_CLICKED, RewardInstructionsClicked> | BaseTelemetryEvent<TelemetryEventName.REWARDS_NOTE_SHOW_REWARDS_CLICKED, RewardInstructionsClicked>; | ||
export {}; |
@@ -28,2 +28,3 @@ "use strict"; | ||
TelemetryEventName["REWARDS_BUTTON_CLICKED"] = "rewards.button.clicked"; | ||
TelemetryEventName["REWARDS_NOTE_SHOW_REWARDS_CLICKED"] = "rewards.note.show.rewards.clicked"; | ||
TelemetryEventName["PIECE_REWARD_INSTRUCTIONS_CLICKED"] = "piece.reward.instructions.clicked"; | ||
@@ -30,0 +31,0 @@ TelemetryEventName["TEMPLATE_REWARD_INSTRUCTIONS_CLICKED"] = "template.reward.instructions.clicked"; |
@@ -21,2 +21,3 @@ import { BaseModel } from '../common/base-model'; | ||
COPILOT_ENABLED = "COPILOT_ENABLED", | ||
PROJECT_LIMITS_ENABLED = "PROJECT_LIMITS_ENABLED", | ||
CURRENT_VERSION = "CURRENT_VERSION", | ||
@@ -23,0 +24,0 @@ EDITION = "EDITION", |
@@ -21,2 +21,3 @@ "use strict"; | ||
ApFlagId["COPILOT_ENABLED"] = "COPILOT_ENABLED"; | ||
ApFlagId["PROJECT_LIMITS_ENABLED"] = "PROJECT_LIMITS_ENABLED"; | ||
ApFlagId["CURRENT_VERSION"] = "CURRENT_VERSION"; | ||
@@ -23,0 +24,0 @@ ApFlagId["EDITION"] = "EDITION"; |
@@ -34,2 +34,3 @@ import { Static } from '@sinclair/typebox'; | ||
release: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
includeTags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>; | ||
includeHidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>; | ||
@@ -36,0 +37,0 @@ edition: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof ApEdition>>; |
@@ -38,2 +38,3 @@ "use strict"; | ||
release: typebox_1.Type.Optional(exports.ExactVersionType), | ||
includeTags: typebox_1.Type.Optional(typebox_1.Type.Boolean()), | ||
includeHidden: typebox_1.Type.Optional(typebox_1.Type.Boolean()), | ||
@@ -40,0 +41,0 @@ edition: typebox_1.Type.Optional(typebox_1.Type.Enum(flag_1.ApEdition)), |
@@ -77,2 +77,7 @@ import { Static } from '@sinclair/typebox'; | ||
}>]>; | ||
export declare const UpdateProjectRequestInCommunity: import("@sinclair/typebox").TObject<{ | ||
notifyStatus: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof NotificationStatus>>; | ||
displayName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export type UpdateProjectRequestInCommunity = Static<typeof UpdateProjectRequestInCommunity>; | ||
export type ProjectWithLimits = Static<typeof ProjectWithLimits>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProjectWithLimits = exports.Project = exports.ProjectPlan = exports.ProjectUsage = exports.NotificationStatus = exports.PiecesFilterType = exports.ListProjectRequestForUserQueryParams = void 0; | ||
exports.UpdateProjectRequestInCommunity = exports.ProjectWithLimits = exports.Project = exports.ProjectPlan = exports.ProjectUsage = exports.NotificationStatus = exports.PiecesFilterType = exports.ListProjectRequestForUserQueryParams = void 0; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
@@ -34,2 +34,6 @@ const base_model_1 = require("../common/base-model"); | ||
]); | ||
exports.UpdateProjectRequestInCommunity = typebox_1.Type.Object({ | ||
notifyStatus: typebox_1.Type.Optional(typebox_1.Type.Enum(NotificationStatus)), | ||
displayName: typebox_1.Type.Optional(typebox_1.Type.String()), | ||
}); | ||
//# sourceMappingURL=project.js.map |
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
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
497310
257
6797