mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
ENUMS: Initial Enum Helper rework + Reorganization (#596)
This commit is contained in:
+4
-4
@@ -342,13 +342,13 @@ interface AugmentPair {
|
||||
}
|
||||
|
||||
/** @public */
|
||||
declare enum PositionTypes {
|
||||
declare enum PositionType {
|
||||
Long = "L",
|
||||
Short = "S",
|
||||
}
|
||||
|
||||
/** @public */
|
||||
declare enum OrderTypes {
|
||||
declare enum OrderType {
|
||||
LimitBuy = "Limit Buy Order",
|
||||
LimitSell = "Limit Sell Order",
|
||||
StopBuy = "Stop Buy Order",
|
||||
@@ -365,9 +365,9 @@ interface StockOrderObject {
|
||||
/** Price per share */
|
||||
price: number;
|
||||
/** Order type */
|
||||
type: OrderTypes;
|
||||
type: OrderType;
|
||||
/** Order position */
|
||||
position: PositionTypes;
|
||||
position: PositionType;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as monaco from "monaco-editor";
|
||||
import type { ContentFilePath } from "../../Paths/ContentFile";
|
||||
|
||||
import { ContentFilePath } from "src/Paths/ContentFile";
|
||||
import * as monaco from "monaco-editor";
|
||||
|
||||
type ITextModel = monaco.editor.ITextModel;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import { PromptEvent } from "../../ui/React/PromptManager";
|
||||
import libSource from "!!raw-loader!../NetscriptDefinitions.d.ts";
|
||||
import { useRerender } from "../../ui/React/hooks";
|
||||
import { NetscriptExtra } from "../../NetscriptFunctions/Extra";
|
||||
import { TextFilePath } from "src/Paths/TextFilePath";
|
||||
import { TextFilePath } from "../../Paths/TextFilePath";
|
||||
|
||||
import { dirty, getServerCode } from "./utils";
|
||||
import { OpenScript } from "./OpenScript";
|
||||
|
||||
Reference in New Issue
Block a user