Skip to content

Commit fffca03

Browse files
committed
update types
1 parent baf5a19 commit fffca03

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

api/projects.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import {
77
UploadProjectResponse,
88
ProjectSettings,
99
FetchPlatformVersionResponse,
10+
WarnLogsResponse,
1011
} from '../types/Project';
1112
import { Build, FetchProjectBuildsResponse } from '../types/Build';
1213
import {
1314
ComponentStructureResponse,
1415
ProjectComponentsMetadata,
1516
} from '../types/ComponentStructure';
1617
import { Deploy, ProjectDeployResponse } from '../types/Deploy';
17-
import { ProjectLog } from '../types/ProjectLog';
1818
import {
1919
MigrateAppResponse,
2020
CloneAppResponse,
@@ -272,10 +272,6 @@ export function cancelStagedBuild(
272272
});
273273
}
274274

275-
type WarnLogsResponse = {
276-
logs: Array<ProjectLog>;
277-
};
278-
279275
export function fetchBuildWarnLogs(
280276
accountId: number,
281277
projectName: string,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hubspot/local-dev-lib",
3-
"version": "0.1.0-experimental.2",
3+
"version": "3.0.1",
44
"description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
55
"main": "lib/index.js",
66
"repository": {

types/Build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export type Build = {
3636
status: ValueOf<typeof BUILD_STATUS>;
3737
subbuildStatuses: Array<SubbuildStatus>;
3838
uploadMessage: string;
39+
autoDeployId: number;
3940
};
4041

4142
export type FetchProjectBuildsResponse = {

types/Project.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Build } from './Build';
22
import { GithubSourceData } from './Github';
3+
import { ProjectLog } from './ProjectLog';
34

45
export type Project = {
56
createdAt: number;
@@ -62,3 +63,7 @@ export type ProjectStandardError = {
6263
context: object;
6364
links: { [key: string]: string };
6465
};
66+
67+
export type WarnLogsResponse = {
68+
logs: Array<ProjectLog>;
69+
};

0 commit comments

Comments
 (0)