Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit a9e5309

Browse files
committed
v0.0.73
1 parent db65c46 commit a9e5309

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

src/commands/console.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import spinner from "../services/spinner";
33
import { baseOptions, BaseOptions, printError } from "../shared";
44
import * as open from "open";
55

6-
export interface Options extends BaseOptions {
7-
}
6+
export interface Options extends BaseOptions {}
87

98
export const command = "console";
109
export const desc = "Open the baselime web console";

src/commands/mark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const builder: CommandBuilder<Options, Options> = (yargs) => {
2929
name: {
3030
type: "string",
3131
desc: "The name of this specific marker",
32-
default: "created-by-baselime-cli"
32+
default: "created-by-baselime-cli",
3333
},
3434
description: {
3535
type: "string",

src/commands/mark/handlers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function mark(data: {
1616
endTime?: number;
1717
type?: string;
1818
}) {
19-
const { format, service, url, name, description, startTime, endTime, type, } = data;
19+
const { format, service, url, name, description, startTime, endTime, type } = data;
2020
const s = spinner.get();
2121
s.start("Creating marker");
2222

@@ -31,7 +31,7 @@ async function mark(data: {
3131
});
3232

3333
s.succeed("Marker created");
34-
outputs.mark({marker, format});
34+
outputs.mark({ marker, format });
3535
}
3636

3737
export default {

src/commands/rehydrate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const builder: CommandBuilder<Options, Options> = (yargs) => {
1818
.options({
1919
...baseOptions,
2020
"start-date": { type: "string", desc: "Date to start recovering data from, in ISO format" },
21-
"hours-to-recover": { type: "number", desc: "Number of consecutive hours of data to recover starting from start-date. Minimum: 1, maximum: 12", },
21+
"hours-to-recover": { type: "number", desc: "Number of consecutive hours of data to recover starting from start-date. Minimum: 1, maximum: 12" },
2222
})
2323
.example([
2424
[
@@ -47,7 +47,7 @@ export async function handler(argv: Arguments<Options>) {
4747
const account = await promptSelectAccount();
4848
const s = spinner.get();
4949
s.start("Requesting data rehydration");
50-
50+
5151
await api.rehydrate({
5252
startDate: sd,
5353
hoursToRecover: htr,

src/services/api/paths/markers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export type Marker = {
1515
type?: string;
1616
url?: string;
1717
metadata?: Record<string, unknown>;
18-
}
19-
18+
};
2019

2120
export interface MarkerCreateParams {
2221
service: string;
@@ -29,7 +28,6 @@ export interface MarkerCreateParams {
2928
metadata?: Record<string, unknown>;
3029
}
3130

32-
3331
async function markerCreate(marker: MarkerCreateParams): Promise<Marker> {
3432
const res = (await client.post("/markers", marker)).data;
3533
return res.marker;

0 commit comments

Comments
 (0)