ENUMS: Initial Enum Helper rework + Reorganization (#596)

This commit is contained in:
Snarling
2023-06-12 00:34:20 -04:00
committed by GitHub
parent 6ed8ea9796
commit 6732549196
224 changed files with 2126 additions and 2171 deletions
+4 -4
View File
@@ -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;
}
/**
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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";