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

@jitsu/types

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jitsu/types - npm Package Compare versions

Comparing version 0.3.0-alpha.0 to 0.3.1-alpha.0

24

extension.d.ts

@@ -6,2 +6,17 @@ import { DefaultJitsuEvent } from "./event";

/**
* Information about extension build. It's added automatically
* to module export during build time
*/
export declare type ExtensionBuildInfo = {
/**
* SDK version (@jitsu/cli package version)
*/
sdkVersion: string;
/**
* ISO 8601 timestamp of the build
*/
buildTimestamp: string;
};
/**
* Jitsu plugin structure. This datatype isn't used anywhere but rather demonstrates the structure of

@@ -36,2 +51,7 @@ * export of every plugin.

validator?: ConfigValidator;
/**
* Automatically added to module export by `jitsu extension build`
*/
buildInfo: ExtensionBuildInfo;
};

@@ -112,3 +132,3 @@

*/
export declare type ExtensionDescriptor = {
export declare type ExtensionDescriptor<Config = Record<string, any>> = {
/**

@@ -133,3 +153,3 @@ * Extension id. If extension is published as NPM package, it should match NPM package name

*/
configurationParameters: ConfigurationParameter[];
configurationParameters: ConfigurationParameter<keyof Config>[];
};

4

package.json
{
"name": "@jitsu/types",
"version": "0.3.0-alpha.0",
"version": "0.3.1-alpha.0",
"publishConfig": {

@@ -20,3 +20,3 @@ "access": "public"

},
"gitHead": "ce408e69992f569f34a71e3383a1b958538ffce4"
"gitHead": "120161bceedd95853a88a71468df29238c117c84"
}
type ConfigParameterType = "string" | "int" | "json" | "boolean" | "password";
export type ConfigurationParameter = {
export type ConfigurationParameter<T = string> = {
/**
* Id (corresponds to key in yaml config)
*/
id: string;
id: T;
/**

@@ -9,0 +9,0 @@ * Type of parameter

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