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

@hubspot/local-dev-lib

Package Overview
Dependencies
Maintainers
0
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubspot/local-dev-lib - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2-beta.0

7

api/projects.d.ts
/// <reference types="node" />
import { HubSpotPromise, QueryParams } from '../types/Http';
import { Project, FetchProjectResponse, UploadProjectResponse, ProjectSettings, FetchPlatformVersionResponse } from '../types/Project';
import { Project, FetchProjectResponse, UploadProjectResponse, ProjectSettings, FetchPlatformVersionResponse, WarnLogsResponse } from '../types/Project';
import { Build, FetchProjectBuildsResponse } from '../types/Build';
import { ComponentStructureResponse, ProjectComponentsMetadata } from '../types/ComponentStructure';
import { Deploy, ProjectDeployResponse } from '../types/Deploy';
import { ProjectLog } from '../types/ProjectLog';
import { MigrateAppResponse, CloneAppResponse, PollAppResponse } from '../types/Migration';

@@ -29,5 +28,2 @@ export declare function fetchProjects(accountId: number): HubSpotPromise<FetchProjectResponse>;

export declare function cancelStagedBuild(accountId: number, projectName: string): HubSpotPromise<void>;
type WarnLogsResponse = {
logs: Array<ProjectLog>;
};
export declare function fetchBuildWarnLogs(accountId: number, projectName: string, buildId: number): HubSpotPromise<WarnLogsResponse>;

@@ -40,2 +36,1 @@ export declare function fetchDeployWarnLogs(accountId: number, projectName: string, deployId: number): HubSpotPromise<WarnLogsResponse>;

export declare function downloadClonedProject(accountId: number, exportId: number): HubSpotPromise<Buffer>;
export {};

2

package.json
{
"name": "@hubspot/local-dev-lib",
"version": "3.0.1",
"version": "3.0.2-beta.0",
"description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -15,2 +15,4 @@ import { HUBSPOT_ACCOUNT_TYPES } from '../constants/config';

tokenInfo?: TokenInfo;
clientId?: string;
clientSecret?: string;
};

@@ -17,0 +19,0 @@ sandboxAccountType?: string | null;

@@ -5,3 +5,3 @@ import { ValueOf } from './Utils';

import { DeployStatusTaskLocator } from './Deploy';
import { OptionalError } from './Error';
import { ProjectStandardError } from './Project';
export type SubbuildStatus = {

@@ -13,6 +13,7 @@ buildName: string;

rootPath: string;
standardError?: OptionalError;
standardError: ProjectStandardError | null;
startedAt: string;
status: ValueOf<typeof BUILD_STATUS>;
id: string;
visible: boolean;
};

@@ -34,2 +35,3 @@ export type Build = {

uploadMessage: string;
autoDeployId: number;
};

@@ -36,0 +38,0 @@ export type FetchProjectBuildsResponse = {

@@ -5,3 +5,3 @@ import { ValueOf } from './Utils';

import { COMPONENT_TYPES, SUBCOMPONENT_TYPES } from '../enums/build';
import { OptionalError } from './Error';
import { ProjectStandardError } from './Project';
export type DeployStatus = ValueOf<typeof DEPLOY_STATUS>;

@@ -14,6 +14,7 @@ export type SubdeployStatus = {

finishedAt: string;
standardError?: OptionalError;
standardError: ProjectStandardError | null;
startedAt: string;
status: DeployStatus;
id: string;
visible: boolean;
};

@@ -20,0 +21,0 @@ export type Deploy = {

import { ValueOf } from './Utils';
import { OptionalError } from './Error';
import { ProjectStandardError } from './Project';
export declare const MIGRATION_STATUS: {

@@ -26,4 +26,4 @@ readonly BUILDING: "BUILDING";

};
error?: OptionalError;
error: ProjectStandardError | null;
status: ValueOf<typeof MIGRATION_STATUS>;
};
import { Build } from './Build';
import { GithubSourceData } from './Github';
import { ProjectLog } from './ProjectLog';
export type Project = {

@@ -43,1 +44,22 @@ createdAt: number;

};
export type ProjectStandardError = {
status: string;
id?: string;
category: string;
subCategory?: string;
message?: string;
errors?: Array<{
message: string;
in?: string;
code?: string;
subcateogy?: string;
context: object;
}>;
context: object;
links: {
[key: string]: string;
};
};
export type WarnLogsResponse = {
logs: Array<ProjectLog>;
};
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