Socket
Socket
Sign inDemoInstall

@jupiterone/integration-sdk-core

Package Overview
Dependencies
Maintainers
1
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/integration-sdk-core - npm Package Compare versions

Comparing version 5.2.1 to 5.3.0

12

dist/src/types/step.d.ts

@@ -45,2 +45,10 @@ import { RelationshipClass } from '@jupiterone/data-model';

export declare type IntegrationStep<TConfig extends IntegrationInstanceConfig = IntegrationInstanceConfig> = StepMetadata & Step<IntegrationStepExecutionContext<TConfig>>;
export interface GraphObjectIndexMetadata {
/**
* Whether the index of the graph object store is enabled or not. For example,
* in the case leveraging the `FileSystemGraphObjectStore`, this value
* determines whether we need to write the specific graph object to disk.
*/
enabled: boolean;
}
export interface StepGraphObjectMetadata {

@@ -62,2 +70,6 @@ _type: string;

partial?: boolean;
/**
* Contains metadadata that can be leveraged inside of the graph object store
*/
indexMetadata?: GraphObjectIndexMetadata;
}

@@ -64,0 +76,0 @@ export interface StepEntityMetadata extends StepGraphObjectMetadata {

import { Entity } from './entity';
import { GraphObjectFilter, GraphObjectIteratee, GraphObjectLookupKey } from './jobState';
import { Relationship } from './relationship';
import { GraphObjectIndexMetadata } from '../types/step';
export interface GetIndexMetadataForGraphObjectTypeParams {
stepId: string;
_type: string;
graphObjectCollectionType: 'entities' | 'relationships';
}
/**

@@ -15,2 +21,3 @@ * Persists entities and relationships to a durable medium for the duration of

flush(onEntitiesFlushed?: (entities: Entity[]) => Promise<void>, onRelationshipsFlushed?: (relationships: Relationship[]) => Promise<void>): Promise<void>;
getIndexMetadataForGraphObjectType?: (params: GetIndexMetadataForGraphObjectTypeParams) => GraphObjectIndexMetadata | undefined;
}

4

package.json
{
"name": "@jupiterone/integration-sdk-core",
"version": "5.2.1",
"version": "5.3.0",
"description": "The SDK for developing JupiterOne integrations",

@@ -33,3 +33,3 @@ "main": "dist/src/index.js",

},
"gitHead": "d51a70ff77217b9186ce0e7584ab38c922f34c3a"
"gitHead": "8061b53472a147e4ca0550483a7ba20bddc5821e"
}

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