@activepieces/shared
Advanced tools
Comparing version 0.10.104 to 0.10.105
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.104", | ||
"version": "0.10.105", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -62,3 +62,4 @@ export * from './lib/flows/actions/action'; | ||
export { RetryFlowRequestBody } from './lib/flow-run/test-flow-run-request'; | ||
export * from './lib/flow-run/flow-status'; | ||
export * from './lib/flows/dto/flow-template-request'; | ||
export * from './lib/support-url'; |
@@ -100,2 +100,3 @@ "use strict"; | ||
Object.defineProperty(exports, "RetryFlowRequestBody", { enumerable: true, get: function () { return test_flow_run_request_2.RetryFlowRequestBody; } }); | ||
tslib_1.__exportStar(require("./lib/flow-run/flow-status"), exports); | ||
tslib_1.__exportStar(require("./lib/flows/dto/flow-template-request"), exports); | ||
@@ -102,0 +103,0 @@ // Look at https://github.com/sinclairzx81/typebox/issues/350 |
@@ -19,5 +19,1 @@ export declare enum PrincipalType { | ||
} | ||
export declare enum PlatformRole { | ||
OWNER = "OWNER", | ||
MEMBER = "MEMBER" | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PlatformRole = exports.EndpointScope = exports.SERVICE_KEY_SECURITY_OPENAPI = exports.ALL_PRINCIPAL_TYPES = exports.PrincipalType = void 0; | ||
exports.EndpointScope = exports.SERVICE_KEY_SECURITY_OPENAPI = exports.ALL_PRINCIPAL_TYPES = exports.PrincipalType = void 0; | ||
var PrincipalType; | ||
@@ -24,7 +24,2 @@ (function (PrincipalType) { | ||
})(EndpointScope || (exports.EndpointScope = EndpointScope = {})); | ||
var PlatformRole; | ||
(function (PlatformRole) { | ||
PlatformRole["OWNER"] = "OWNER"; | ||
PlatformRole["MEMBER"] = "MEMBER"; | ||
})(PlatformRole || (exports.PlatformRole = PlatformRole = {})); | ||
//# sourceMappingURL=principal-type.js.map |
import { ApId } from '../../common/id-generator'; | ||
import { ProjectId } from '../../project/project'; | ||
import { PlatformRole, PrincipalType } from './principal-type'; | ||
import { PrincipalType } from './principal-type'; | ||
export type Principal = { | ||
@@ -10,4 +10,3 @@ id: ApId; | ||
id: ApId; | ||
role: PlatformRole; | ||
}; | ||
}; |
@@ -9,3 +9,5 @@ export declare enum Permission { | ||
READ_PROJECT_MEMBER = "READ_PROJECT_MEMBER", | ||
WRITE_PROJECT_MEMBER = "WRITE_PROJECT_MEMBER" | ||
WRITE_PROJECT_MEMBER = "WRITE_PROJECT_MEMBER", | ||
WRITE_GIT_REPO = "WRITE_GIT_REPO", | ||
READ_GIT_REPO = "READ_GIT_REPO" | ||
} |
@@ -14,3 +14,5 @@ "use strict"; | ||
Permission["WRITE_PROJECT_MEMBER"] = "WRITE_PROJECT_MEMBER"; | ||
Permission["WRITE_GIT_REPO"] = "WRITE_GIT_REPO"; | ||
Permission["READ_GIT_REPO"] = "READ_GIT_REPO"; | ||
})(Permission || (exports.Permission = Permission = {})); | ||
//# sourceMappingURL=permission.js.map |
@@ -44,2 +44,11 @@ import { RunEnvironment } from '../flow-run/flow-run'; | ||
}; | ||
type FlowIssueClicked = { | ||
flowId: string; | ||
}; | ||
type FlowIssueResolved = { | ||
flowId: string; | ||
}; | ||
type RequestTrialClicked = { | ||
feature: string | null; | ||
}; | ||
type UpgradeClicked = { | ||
@@ -84,2 +93,6 @@ limitType?: 'team' | 'connections'; | ||
QUOTA_ALERT = "quota.alert", | ||
REQUEST_TRIAL_CLICKED = "request.trial.clicked", | ||
REQUEST_TRIAL_SUBMITTED = "request.trial.submitted", | ||
FLOW_ISSUE_CLICKED = "flow.issue.clicked", | ||
FLOW_ISSUE_RESOLVED = "flow.issue.resolved", | ||
UPGRADE_CLICKED = "upgrade.clicked", | ||
@@ -111,3 +124,3 @@ OPENED_PRICING_FROM_DASHBOARD = "pricing.viewed", | ||
}; | ||
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_OPENED, RewardButtonClicked> | BaseTelemetryEvent<TelemetryEventName.REWARDS_INSTRUCTION_CLICKED, RewardInstructionsClicked>; | ||
export type TelemetryEvent = BaseTelemetryEvent<TelemetryEventName.SIGNED_UP, SignedUp> | BaseTelemetryEvent<TelemetryEventName.REFERRAL, Referral> | BaseTelemetryEvent<TelemetryEventName.REQUEST_TRIAL_CLICKED, RequestTrialClicked> | BaseTelemetryEvent<TelemetryEventName.REQUEST_TRIAL_SUBMITTED, Record<string, never>> | BaseTelemetryEvent<TelemetryEventName.FLOW_ISSUE_CLICKED, FlowIssueClicked> | BaseTelemetryEvent<TelemetryEventName.FLOW_ISSUE_RESOLVED, FlowIssueResolved> | 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_OPENED, RewardButtonClicked> | BaseTelemetryEvent<TelemetryEventName.REWARDS_INSTRUCTION_CLICKED, RewardInstructionsClicked>; | ||
export {}; |
@@ -8,2 +8,6 @@ "use strict"; | ||
TelemetryEventName["QUOTA_ALERT"] = "quota.alert"; | ||
TelemetryEventName["REQUEST_TRIAL_CLICKED"] = "request.trial.clicked"; | ||
TelemetryEventName["REQUEST_TRIAL_SUBMITTED"] = "request.trial.submitted"; | ||
TelemetryEventName["FLOW_ISSUE_CLICKED"] = "flow.issue.clicked"; | ||
TelemetryEventName["FLOW_ISSUE_RESOLVED"] = "flow.issue.resolved"; | ||
TelemetryEventName["UPGRADE_CLICKED"] = "upgrade.clicked"; | ||
@@ -10,0 +14,0 @@ TelemetryEventName["OPENED_PRICING_FROM_DASHBOARD"] = "pricing.viewed"; |
@@ -33,7 +33,5 @@ import { BaseModel } from '../common/base-model'; | ||
PRIVATE_PIECES_ENABLED = "PRIVATE_PIECES_ENABLED", | ||
PROJECT_MEMBERS_ENABLED = "PROJECT_MEMBERS_ENABLED", | ||
SANDBOX_RUN_TIME_SECONDS = "SANDBOX_RUN_TIME_SECONDS", | ||
SHOW_ACTIVITY_LOG = "SHOW_ACTIVITY_LOG", | ||
SHOW_BILLING = "SHOW_BILLING", | ||
SHOW_BLOG_GUIDE = "SHOW_BLOG_GUIDE", | ||
INSTALL_PROJECT_PIECES_ENABLED = "INSTALL_PROJECT_PIECES_ENABLED", | ||
@@ -44,5 +42,3 @@ MANAGE_PROJECT_PIECES_ENABLED = "MANAGE_PROJECT_PIECES_ENABLED", | ||
SHOW_DOCS = "SHOW_DOCS", | ||
SHOW_GIT_SYNC = "SHOW_GIT_SYNC", | ||
SHOW_PLATFORM_DEMO = "SHOW_PLATFORM_DEMO", | ||
SHOW_POWERED_BY_AP = "SHOW_POWERED_BY_AP", | ||
SHOW_SIGN_UP_LINK = "SHOW_SIGN_UP_LINK", | ||
@@ -49,0 +45,0 @@ SHOW_REWARDS = "SHOW_REWARDS", |
@@ -33,7 +33,5 @@ "use strict"; | ||
ApFlagId["PRIVATE_PIECES_ENABLED"] = "PRIVATE_PIECES_ENABLED"; | ||
ApFlagId["PROJECT_MEMBERS_ENABLED"] = "PROJECT_MEMBERS_ENABLED"; | ||
ApFlagId["SANDBOX_RUN_TIME_SECONDS"] = "SANDBOX_RUN_TIME_SECONDS"; | ||
ApFlagId["SHOW_ACTIVITY_LOG"] = "SHOW_ACTIVITY_LOG"; | ||
ApFlagId["SHOW_BILLING"] = "SHOW_BILLING"; | ||
ApFlagId["SHOW_BLOG_GUIDE"] = "SHOW_BLOG_GUIDE"; | ||
ApFlagId["INSTALL_PROJECT_PIECES_ENABLED"] = "INSTALL_PROJECT_PIECES_ENABLED"; | ||
@@ -44,5 +42,3 @@ ApFlagId["MANAGE_PROJECT_PIECES_ENABLED"] = "MANAGE_PROJECT_PIECES_ENABLED"; | ||
ApFlagId["SHOW_DOCS"] = "SHOW_DOCS"; | ||
ApFlagId["SHOW_GIT_SYNC"] = "SHOW_GIT_SYNC"; | ||
ApFlagId["SHOW_PLATFORM_DEMO"] = "SHOW_PLATFORM_DEMO"; | ||
ApFlagId["SHOW_POWERED_BY_AP"] = "SHOW_POWERED_BY_AP"; | ||
ApFlagId["SHOW_SIGN_UP_LINK"] = "SHOW_SIGN_UP_LINK"; | ||
@@ -49,0 +45,0 @@ ApFlagId["SHOW_REWARDS"] = "SHOW_REWARDS"; |
@@ -26,2 +26,3 @@ import { Static } from '@sinclair/typebox'; | ||
response: import("@sinclair/typebox").TUnknown; | ||
handlerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
@@ -36,2 +37,3 @@ export type WebhookPauseMetadata = Static<typeof WebhookPauseMetadata>; | ||
response: import("@sinclair/typebox").TUnknown; | ||
handlerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>]>; | ||
@@ -59,2 +61,3 @@ export type PauseMetadata = DelayPauseMetadata | WebhookPauseMetadata; | ||
response: import("@sinclair/typebox").TUnknown; | ||
handlerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>]>>; | ||
@@ -61,0 +64,0 @@ duration: import("@sinclair/typebox").TNumber; |
@@ -30,2 +30,3 @@ "use strict"; | ||
response: typebox_1.Type.Unknown(), | ||
handlerId: typebox_1.Type.Optional(typebox_1.Type.String({})), | ||
}); | ||
@@ -32,0 +33,0 @@ exports.PauseMetadata = typebox_1.Type.Union([exports.DelayPauseMetadata, exports.WebhookPauseMetadata]); |
@@ -38,2 +38,3 @@ import { Static } from '@sinclair/typebox'; | ||
response: import("@sinclair/typebox").TUnknown; | ||
handlerId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>]>>; | ||
@@ -40,0 +41,0 @@ id: import("@sinclair/typebox").TString<string>; |
@@ -53,4 +53,2 @@ import { Static } from '@sinclair/typebox'; | ||
updatedByUser: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<{ | ||
title?: string | undefined; | ||
imageUrl?: string | undefined; | ||
externalId?: string | undefined; | ||
@@ -69,2 +67,3 @@ email: string; | ||
verified: boolean; | ||
platformRole: import("@sinclair/typebox").TEnumStatic<typeof import("../user").PlatformRole>; | ||
} | null>>; | ||
@@ -71,0 +70,0 @@ id: import("@sinclair/typebox").TString<string>; |
@@ -16,2 +16,3 @@ import { Static } from '@sinclair/typebox'; | ||
archiveId: import("@sinclair/typebox").TString<string>; | ||
archive: import("@sinclair/typebox").TUnknown; | ||
}>; | ||
@@ -24,2 +25,3 @@ export type PrivatePiecePackage = Static<typeof PrivatePiecePackage>; | ||
pieceVersion: import("@sinclair/typebox").TString<string>; | ||
directoryPath: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUndefined, import("@sinclair/typebox").TString<string>]>; | ||
}>; | ||
@@ -26,0 +28,0 @@ export type PublicPiecePackage = Static<typeof PublicPiecePackage>; |
@@ -21,2 +21,3 @@ "use strict"; | ||
archiveId: typebox_1.Type.String(), | ||
archive: typebox_1.Type.Unknown(), | ||
}); | ||
@@ -28,2 +29,3 @@ exports.PublicPiecePackage = typebox_1.Type.Object({ | ||
pieceVersion: typebox_1.Type.String(), | ||
directoryPath: typebox_1.Type.Union([typebox_1.Type.Undefined(), typebox_1.Type.String()]), | ||
}); | ||
@@ -30,0 +32,0 @@ var PieceCategory; |
@@ -37,2 +37,10 @@ import { Static } from '@sinclair/typebox'; | ||
embeddingEnabled: import("@sinclair/typebox").TBoolean; | ||
managePiecesEnabled: import("@sinclair/typebox").TBoolean; | ||
manageTemplatesEnabled: import("@sinclair/typebox").TBoolean; | ||
customAppearanceEnabled: import("@sinclair/typebox").TBoolean; | ||
manageProjectsEnabled: import("@sinclair/typebox").TBoolean; | ||
projectRolesEnabled: import("@sinclair/typebox").TBoolean; | ||
customDomainsEnabled: import("@sinclair/typebox").TBoolean; | ||
apiKeysEnabled: import("@sinclair/typebox").TBoolean; | ||
flowIssuesEnabled: import("@sinclair/typebox").TBoolean; | ||
defaultLocale: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof LocalesEnum>>; | ||
@@ -92,2 +100,10 @@ ssoEnabled: import("@sinclair/typebox").TBoolean; | ||
embeddingEnabled: import("@sinclair/typebox").TBoolean; | ||
managePiecesEnabled: import("@sinclair/typebox").TBoolean; | ||
manageTemplatesEnabled: import("@sinclair/typebox").TBoolean; | ||
customAppearanceEnabled: import("@sinclair/typebox").TBoolean; | ||
manageProjectsEnabled: import("@sinclair/typebox").TBoolean; | ||
projectRolesEnabled: import("@sinclair/typebox").TBoolean; | ||
customDomainsEnabled: import("@sinclair/typebox").TBoolean; | ||
apiKeysEnabled: import("@sinclair/typebox").TBoolean; | ||
flowIssuesEnabled: import("@sinclair/typebox").TBoolean; | ||
defaultLocale: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof LocalesEnum>>; | ||
@@ -94,0 +110,0 @@ ssoEnabled: import("@sinclair/typebox").TBoolean; |
@@ -22,3 +22,3 @@ "use strict"; | ||
*/ | ||
filteredPieceBehavior: typebox_1.Type.Enum(FilteredPieceBehavior), smtpHost: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPort: typebox_1.Type.Optional(typebox_1.Type.Number()), smtpUser: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPassword: typebox_1.Type.Optional(typebox_1.Type.String()), smtpSenderEmail: typebox_1.Type.Optional(typebox_1.Type.String()), smtpUseSSL: typebox_1.Type.Optional(typebox_1.Type.Boolean()), privacyPolicyUrl: typebox_1.Type.Optional(typebox_1.Type.String()), termsOfServiceUrl: typebox_1.Type.Optional(typebox_1.Type.String()), cloudAuthEnabled: typebox_1.Type.Boolean(), gitSyncEnabled: typebox_1.Type.Boolean(), showPoweredBy: typebox_1.Type.Boolean(), auditLogEnabled: typebox_1.Type.Boolean(), embeddingEnabled: typebox_1.Type.Boolean(), defaultLocale: typebox_1.Type.Optional(typebox_1.Type.Enum(common_1.LocalesEnum)), ssoEnabled: typebox_1.Type.Boolean(), enforceAllowedAuthDomains: typebox_1.Type.Boolean(), allowedAuthDomains: typebox_1.Type.Array(typebox_1.Type.String()), federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfig, emailAuthEnabled: typebox_1.Type.Boolean(), showActivityLog: typebox_1.Type.Boolean() })); | ||
filteredPieceBehavior: typebox_1.Type.Enum(FilteredPieceBehavior), smtpHost: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPort: typebox_1.Type.Optional(typebox_1.Type.Number()), smtpUser: typebox_1.Type.Optional(typebox_1.Type.String()), smtpPassword: typebox_1.Type.Optional(typebox_1.Type.String()), smtpSenderEmail: typebox_1.Type.Optional(typebox_1.Type.String()), smtpUseSSL: typebox_1.Type.Optional(typebox_1.Type.Boolean()), privacyPolicyUrl: typebox_1.Type.Optional(typebox_1.Type.String()), termsOfServiceUrl: typebox_1.Type.Optional(typebox_1.Type.String()), cloudAuthEnabled: typebox_1.Type.Boolean(), gitSyncEnabled: typebox_1.Type.Boolean(), showPoweredBy: typebox_1.Type.Boolean(), auditLogEnabled: typebox_1.Type.Boolean(), embeddingEnabled: typebox_1.Type.Boolean(), managePiecesEnabled: typebox_1.Type.Boolean(), manageTemplatesEnabled: typebox_1.Type.Boolean(), customAppearanceEnabled: typebox_1.Type.Boolean(), manageProjectsEnabled: typebox_1.Type.Boolean(), projectRolesEnabled: typebox_1.Type.Boolean(), customDomainsEnabled: typebox_1.Type.Boolean(), apiKeysEnabled: typebox_1.Type.Boolean(), flowIssuesEnabled: typebox_1.Type.Boolean(), defaultLocale: typebox_1.Type.Optional(typebox_1.Type.Enum(common_1.LocalesEnum)), ssoEnabled: typebox_1.Type.Boolean(), enforceAllowedAuthDomains: typebox_1.Type.Boolean(), allowedAuthDomains: typebox_1.Type.Array(typebox_1.Type.String()), federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfig, emailAuthEnabled: typebox_1.Type.Boolean(), showActivityLog: typebox_1.Type.Boolean() })); | ||
exports.PlatformWithoutSensitiveData = typebox_1.Type.Composite([typebox_1.Type.Object({ | ||
@@ -25,0 +25,0 @@ federatedAuthProviders: federated_authn_1.FederatedAuthnProviderConfigWithoutSensitiveData, |
import { Static } from '@sinclair/typebox'; | ||
export declare const UserResponse: import("@sinclair/typebox").TObject<{ | ||
email: import("@sinclair/typebox").TString<string>; | ||
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
platformId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TNull]>; | ||
@@ -15,5 +14,5 @@ id: import("@sinclair/typebox").TString<string>; | ||
verified: import("@sinclair/typebox").TBoolean; | ||
imageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
platformRole: import("@sinclair/typebox").TEnum<typeof import("./user").PlatformRole>; | ||
externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export type UserResponse = Static<typeof UserResponse>; |
import { Static } from '@sinclair/typebox'; | ||
import { ApId } from '../common/id-generator'; | ||
export type UserId = ApId; | ||
export declare enum PlatformRole { | ||
ADMIN = "ADMIN", | ||
MEMBER = "MEMBER" | ||
} | ||
export declare enum UserStatus { | ||
@@ -18,5 +22,4 @@ ACTIVE = "ACTIVE", | ||
verified: import("@sinclair/typebox").TBoolean; | ||
platformRole: import("@sinclair/typebox").TEnum<typeof PlatformRole>; | ||
status: import("@sinclair/typebox").TEnum<typeof UserStatus>; | ||
imageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
@@ -34,6 +37,5 @@ platformId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TNull]>; | ||
platformId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TNull]>; | ||
platformRole: import("@sinclair/typebox").TEnum<typeof PlatformRole>; | ||
lastName: import("@sinclair/typebox").TString<string>; | ||
imageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
}>; | ||
export type UserMeta = Static<typeof UserMeta>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UserMeta = exports.User = exports.PasswordType = exports.EmailType = exports.UserStatus = void 0; | ||
exports.UserMeta = exports.User = exports.PasswordType = exports.EmailType = exports.UserStatus = exports.PlatformRole = void 0; | ||
const typebox_1 = require("@sinclair/typebox"); | ||
const base_model_1 = require("../common/base-model"); | ||
const id_generator_1 = require("../common/id-generator"); | ||
var PlatformRole; | ||
(function (PlatformRole) { | ||
PlatformRole["ADMIN"] = "ADMIN"; | ||
PlatformRole["MEMBER"] = "MEMBER"; | ||
})(PlatformRole || (exports.PlatformRole = PlatformRole = {})); | ||
var UserStatus; | ||
@@ -21,3 +26,3 @@ (function (UserStatus) { | ||
}); | ||
exports.User = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { email: typebox_1.Type.String(), firstName: typebox_1.Type.String(), lastName: typebox_1.Type.String(), trackEvents: typebox_1.Type.Boolean(), newsLetter: typebox_1.Type.Boolean(), password: typebox_1.Type.String(), verified: typebox_1.Type.Boolean(), status: typebox_1.Type.Enum(UserStatus), imageUrl: typebox_1.Type.Optional(typebox_1.Type.String()), title: typebox_1.Type.Optional(typebox_1.Type.String()), externalId: typebox_1.Type.Optional(typebox_1.Type.String()), platformId: typebox_1.Type.Union([id_generator_1.ApId, typebox_1.Type.Null()]) })); | ||
exports.User = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { email: typebox_1.Type.String(), firstName: typebox_1.Type.String(), lastName: typebox_1.Type.String(), trackEvents: typebox_1.Type.Boolean(), newsLetter: typebox_1.Type.Boolean(), password: typebox_1.Type.String(), verified: typebox_1.Type.Boolean(), platformRole: typebox_1.Type.Enum(PlatformRole), status: typebox_1.Type.Enum(UserStatus), externalId: typebox_1.Type.Optional(typebox_1.Type.String()), platformId: typebox_1.Type.Union([id_generator_1.ApId, typebox_1.Type.Null()]) })); | ||
exports.UserMeta = typebox_1.Type.Object({ | ||
@@ -28,6 +33,5 @@ id: typebox_1.Type.String(), | ||
platformId: typebox_1.Type.Union([id_generator_1.ApId, typebox_1.Type.Null()]), | ||
platformRole: typebox_1.Type.Enum(PlatformRole), | ||
lastName: typebox_1.Type.String(), | ||
imageUrl: typebox_1.Type.Optional(typebox_1.Type.String()), | ||
title: typebox_1.Type.Optional(typebox_1.Type.String()), | ||
}); | ||
//# sourceMappingURL=user.js.map |
export declare enum WebsocketClientEvent { | ||
TEST_FLOW_RUN_STARTED = "TEST_FLOW_RUN_STARTED", | ||
TEST_FLOW_RUN_FINISHED = "TEST_FLOW_RUN_FINISHED", | ||
TEST_FLOW_RUN_PROGRESS = "TEST_FLOW_RUN_PROGRESS", | ||
GENERATE_CODE_FINISHED = "GENERATE_CODE_FINIISHED", | ||
@@ -5,0 +5,0 @@ TEST_STEP_FINISHED = "TEST_STEP_FINISHED" |
@@ -7,3 +7,3 @@ "use strict"; | ||
WebsocketClientEvent["TEST_FLOW_RUN_STARTED"] = "TEST_FLOW_RUN_STARTED"; | ||
WebsocketClientEvent["TEST_FLOW_RUN_FINISHED"] = "TEST_FLOW_RUN_FINISHED"; | ||
WebsocketClientEvent["TEST_FLOW_RUN_PROGRESS"] = "TEST_FLOW_RUN_PROGRESS"; | ||
WebsocketClientEvent["GENERATE_CODE_FINISHED"] = "GENERATE_CODE_FINIISHED"; | ||
@@ -10,0 +10,0 @@ WebsocketClientEvent["TEST_STEP_FINISHED"] = "TEST_STEP_FINISHED"; |
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
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
502061
260
6859