Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/shared

Package Overview
Dependencies
Maintainers
2
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/shared - npm Package Compare versions

Comparing version 0.10.111 to 0.10.112

src/lib/workers/index.d.ts

2

package.json
{
"name": "@activepieces/shared",
"version": "0.10.111",
"version": "0.10.112",
"type": "commonjs",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -26,3 +26,3 @@ export * from './lib/flows/actions/action';

export * from './lib/authentication/model/principal-type';
export { Principal } from './lib/authentication/model/principal';
export { Principal, WorkerPrincipal, EnginePrincipal } from './lib/authentication/model/principal';
export * from './lib/flows/actions/action';

@@ -68,2 +68,3 @@ export { StoreEntry, StoreEntryId } from './lib/store-entry/store-entry';

export * from './lib/invitations';
export * from './lib/workers';
export * from './lib/flow-run/execution/flow-execution';

@@ -105,2 +105,3 @@ "use strict";

tslib_1.__exportStar(require("./lib/invitations"), exports);
tslib_1.__exportStar(require("./lib/workers"), exports);
// Look at https://github.com/sinclairzx81/typebox/issues/350

@@ -107,0 +108,0 @@ const system_1 = require("@sinclair/typebox/system");

import { ApId } from '../../common/id-generator';
import { ProjectId } from '../../project/project';
import { WorkerMachineType } from '../../workers';
import { PrincipalType } from './principal-type';

@@ -12,1 +13,17 @@ export type Principal = {

};
export type WorkerPrincipal = {
id: ApId;
type: PrincipalType.WORKER;
platform: {
id: ApId;
} | null;
worker: {
type: WorkerMachineType;
};
};
export type EnginePrincipal = {
id: ApId;
type: PrincipalType.ENGINE;
queueToken: string | undefined;
projectId: ProjectId;
};

@@ -28,3 +28,4 @@ import { Static } from '@sinclair/typebox';

engineToken: string;
serverUrl: string;
internalApiUrl: string;
publicUrl: string;
};

@@ -31,0 +32,0 @@ export type ExecuteValidateAuthOperation = BaseEngineOperation & {

@@ -52,3 +52,4 @@ import { BaseModel } from '../common/base-model';

USER_CREATED = "USER_CREATED",
WEBHOOK_URL_PREFIX = "WEBHOOK_URL_PREFIX"
WEBHOOK_URL_PREFIX = "WEBHOOK_URL_PREFIX",
ALLOW_NPM_PACKAGES_IN_CODE_STEP = "ALLOW_NPM_PACKAGES_IN_CODE_STEP"
}

@@ -53,3 +53,4 @@ "use strict";

ApFlagId["WEBHOOK_URL_PREFIX"] = "WEBHOOK_URL_PREFIX";
ApFlagId["ALLOW_NPM_PACKAGES_IN_CODE_STEP"] = "ALLOW_NPM_PACKAGES_IN_CODE_STEP";
})(ApFlagId || (exports.ApFlagId = ApFlagId = {}));
//# sourceMappingURL=flag.js.map

@@ -18,3 +18,3 @@ import { Static } from '@sinclair/typebox';

platformRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<typeof PlatformRole>, import("@sinclair/typebox").TNull]>>;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
projectRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<typeof ProjectMemberRole>, import("@sinclair/typebox").TNull]>>;

@@ -32,3 +32,3 @@ id: import("@sinclair/typebox").TString<string>;

platformRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<typeof PlatformRole>, import("@sinclair/typebox").TNull]>>;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
projectRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TEnum<typeof ProjectMemberRole>, import("@sinclair/typebox").TNull]>>;

@@ -46,3 +46,3 @@ id: import("@sinclair/typebox").TString<string>;

platformRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof PlatformRole>>;
projectId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TNull]>;
projectId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
projectRole: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof ProjectMemberRole>>;

@@ -49,0 +49,0 @@ }>;

@@ -18,3 +18,3 @@ "use strict";

})(InvitationStatus || (exports.InvitationStatus = InvitationStatus = {}));
exports.UserInvitation = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { email: typebox_1.Type.String(), status: typebox_1.Type.Enum(InvitationStatus), type: typebox_1.Type.Enum(InvitationType), platformId: typebox_1.Type.String(), platformRole: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Enum(index_1.PlatformRole), typebox_1.Type.Null()])), projectId: typebox_1.Type.Optional(typebox_1.Type.String()), projectRole: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Enum(project_1.ProjectMemberRole), typebox_1.Type.Null()])) }));
exports.UserInvitation = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { email: typebox_1.Type.String(), status: typebox_1.Type.Enum(InvitationStatus), type: typebox_1.Type.Enum(InvitationType), platformId: typebox_1.Type.String(), platformRole: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Enum(index_1.PlatformRole), typebox_1.Type.Null()])), projectId: (0, common_1.Nullable)(typebox_1.Type.String()), projectRole: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Enum(project_1.ProjectMemberRole), typebox_1.Type.Null()])) }));
exports.UserInvitationWithLink = typebox_1.Type.Composite([exports.UserInvitation, typebox_1.Type.Object({

@@ -27,3 +27,3 @@ link: typebox_1.Type.Optional(typebox_1.Type.String()),

platformRole: typebox_1.Type.Optional(typebox_1.Type.Enum(index_1.PlatformRole)),
projectId: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
projectId: (0, common_1.Nullable)(typebox_1.Type.String()),
projectRole: typebox_1.Type.Optional(typebox_1.Type.Enum(project_1.ProjectMemberRole)),

@@ -30,0 +30,0 @@ });

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc