@activepieces/shared
Advanced tools
Comparing version 0.10.85 to 0.10.86
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.85", | ||
"version": "0.10.86", | ||
"type": "commonjs", | ||
@@ -9,5 +9,5 @@ "dependencies": { | ||
"semver": "7.6.0", | ||
"tslib": "2.6.1" | ||
"tslib": "1.14.1" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -53,2 +53,4 @@ export * from './lib/flows/actions/action'; | ||
export { FileResponseInterface } from './lib/forms'; | ||
export * from './lib/platform'; | ||
export * from './lib/federated-authn'; | ||
export { STORE_KEY_MAX_LENGTH } from './lib/store-entry/store-entry'; | ||
@@ -55,0 +57,0 @@ export { RetryFlowRequestBody } from './lib/flow-run/test-flow-run-request'; |
@@ -79,3 +79,5 @@ "use strict"; | ||
Object.defineProperty(exports, "FileResponseInterface", { enumerable: true, get: function () { return forms_1.FileResponseInterface; } }); | ||
tslib_1.__exportStar(require("./lib/platform"), exports); | ||
const system_1 = require("@sinclair/typebox/system"); | ||
tslib_1.__exportStar(require("./lib/federated-authn"), exports); | ||
var store_entry_1 = require("./lib/store-entry/store-entry"); | ||
@@ -82,0 +84,0 @@ Object.defineProperty(exports, "STORE_KEY_MAX_LENGTH", { enumerable: true, get: function () { return store_entry_1.STORE_KEY_MAX_LENGTH; } }); |
import { ApId } from '../../common/id-generator'; | ||
import { PlatformRole, PrincipalType } from './principal-type'; | ||
import { ProjectId, ProjectType } from '../../project/project'; | ||
import { ProjectId } from '../../project/project'; | ||
export type Principal = { | ||
@@ -8,4 +8,3 @@ id: ApId; | ||
projectId: ProjectId; | ||
projectType?: ProjectType; | ||
platform?: { | ||
platform: { | ||
id: ApId; | ||
@@ -12,0 +11,0 @@ role: PlatformRole; |
@@ -8,6 +8,2 @@ import { ApId } from '../common/id-generator'; | ||
} | ||
export declare enum ProjectType { | ||
PLATFORM_MANAGED = "PLATFORM_MANAGED", | ||
STANDALONE = "STANDALONE" | ||
} | ||
export declare const ProjectUsage: import("@sinclair/typebox").TObject<{ | ||
@@ -39,4 +35,3 @@ tasks: import("@sinclair/typebox").TNumber; | ||
notifyStatus: import("@sinclair/typebox").TEnum<typeof NotificationStatus>; | ||
type: import("@sinclair/typebox").TEnum<typeof ProjectType>; | ||
platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
platformId: import("@sinclair/typebox").TString<string>; | ||
externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
@@ -52,4 +47,3 @@ id: import("@sinclair/typebox").TString<string>; | ||
notifyStatus: import("@sinclair/typebox").TEnum<typeof NotificationStatus>; | ||
type: import("@sinclair/typebox").TEnum<typeof ProjectType>; | ||
platformId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
platformId: import("@sinclair/typebox").TString<string>; | ||
externalId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>; | ||
@@ -56,0 +50,0 @@ id: import("@sinclair/typebox").TString<string>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProjectWithLimits = exports.Project = exports.ProjectPlan = exports.ProjectUsage = exports.ProjectType = exports.NotificationStatus = void 0; | ||
exports.ProjectWithLimits = exports.Project = exports.ProjectPlan = exports.ProjectUsage = exports.NotificationStatus = void 0; | ||
const base_model_1 = require("../common/base-model"); | ||
@@ -12,7 +12,2 @@ const id_generator_1 = require("../common/id-generator"); | ||
})(NotificationStatus || (exports.NotificationStatus = NotificationStatus = {})); | ||
var ProjectType; | ||
(function (ProjectType) { | ||
ProjectType["PLATFORM_MANAGED"] = "PLATFORM_MANAGED"; | ||
ProjectType["STANDALONE"] = "STANDALONE"; | ||
})(ProjectType || (exports.ProjectType = ProjectType = {})); | ||
exports.ProjectUsage = typebox_1.Type.Object({ | ||
@@ -23,3 +18,3 @@ tasks: typebox_1.Type.Number(), | ||
exports.ProjectPlan = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { projectId: typebox_1.Type.String(), stripeCustomerId: typebox_1.Type.String(), stripeSubscriptionId: (0, base_model_1.Nullable)(typebox_1.Type.String()), subscriptionStartDatetime: typebox_1.Type.String(), flowPlanName: typebox_1.Type.String(), minimumPollingInterval: typebox_1.Type.Number(), connections: typebox_1.Type.Number(), teamMembers: typebox_1.Type.Number(), tasks: typebox_1.Type.Number(), tasksPerDay: (0, base_model_1.Nullable)(typebox_1.Type.Number()) })); | ||
exports.Project = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { ownerId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), notifyStatus: typebox_1.Type.Enum(NotificationStatus), type: typebox_1.Type.Enum(ProjectType), platformId: typebox_1.Type.Optional(id_generator_1.ApId), externalId: typebox_1.Type.Optional(typebox_1.Type.String()) })); | ||
exports.Project = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { ownerId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), notifyStatus: typebox_1.Type.Enum(NotificationStatus), platformId: id_generator_1.ApId, externalId: typebox_1.Type.Optional(typebox_1.Type.String()) })); | ||
exports.ProjectWithLimits = typebox_1.Type.Composite([ | ||
@@ -26,0 +21,0 @@ exports.Project, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
493089
236
6733
+ Addedtslib@1.14.1(transitive)
- Removedtslib@2.6.1(transitive)
Updatedtslib@1.14.1