addded more types, some are unfinished, ill come back to these tomorrow
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// namespace Types.Models.Spt.Mod;
|
||||
//
|
||||
// public class ModLoader
|
||||
// {
|
||||
// export interface IModLoader {
|
||||
// load(container: DependencyContainer): void;
|
||||
//
|
||||
// getModPath(mod: string): string;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
// TODO: This needs to be reworked with however we do it for this project
|
||||
@@ -0,0 +1,61 @@
|
||||
// namespace Types.Models.Spt.Mod;
|
||||
//
|
||||
// public class NewItemDetails
|
||||
// {
|
||||
// export abstract class NewItemDetailsBase {
|
||||
// /** Price of the item on flea market */
|
||||
// fleaPriceRoubles: number;
|
||||
//
|
||||
// /** Price of the item in the handbook */
|
||||
// handbookPriceRoubles: number;
|
||||
//
|
||||
// /** Handbook ParentId for the new item */
|
||||
// handbookParentId: string;
|
||||
//
|
||||
// /**
|
||||
// * A dictionary for locale settings, key = langauge (e.g. en,cn,es-mx,jp,fr)
|
||||
// * If a language is not included, the first item in the array will be used in its place
|
||||
// */
|
||||
// locales: Record<string, LocaleDetails>;
|
||||
// }
|
||||
//
|
||||
// export class NewItemFromCloneDetails extends NewItemDetailsBase {
|
||||
// /** Id of the item to copy and use as a base */
|
||||
// itemTplToClone: string;
|
||||
//
|
||||
// /** Item properties that should be applied over the top of the cloned base */
|
||||
// overrideProperties: IProps;
|
||||
//
|
||||
// /** ParentId for the new item (item type) */
|
||||
// parentId: string;
|
||||
//
|
||||
// /**
|
||||
// * the id the new item should have, leave blank to have one generated for you
|
||||
// * This is often known as the TplId, or TemplateId
|
||||
// */
|
||||
// newId = "";
|
||||
// }
|
||||
//
|
||||
// export class NewItemDetails extends NewItemDetailsBase {
|
||||
// newItem: ITemplateItem;
|
||||
// }
|
||||
//
|
||||
// export class LocaleDetails {
|
||||
// name: string;
|
||||
// shortName: string;
|
||||
// description: string;
|
||||
// }
|
||||
//
|
||||
// export class CreateItemResult {
|
||||
// constructor() {
|
||||
// this.success = false;
|
||||
// this.errors = [];
|
||||
// }
|
||||
//
|
||||
// success: boolean;
|
||||
// itemId: string;
|
||||
// errors: string[];
|
||||
// }
|
||||
// }
|
||||
|
||||
// TODO: This needs to be reworked with however we do it for this project
|
||||
@@ -0,0 +1,27 @@
|
||||
// namespace Types.Models.Spt.Mod;
|
||||
//
|
||||
// public class PackageJsonData
|
||||
// {
|
||||
// export interface IPackageJsonData {
|
||||
// incompatibilities?: string[];
|
||||
// loadBefore?: string[];
|
||||
// loadAfter?: string[];
|
||||
// dependencies?: Record<string, string>;
|
||||
// modDependencies?: Record<string, string>;
|
||||
// name: string;
|
||||
// url: string;
|
||||
// author: string;
|
||||
// version: string;
|
||||
// sptVersion: string;
|
||||
// /** We deliberately purge this data */
|
||||
// scripts: Record<string, string>;
|
||||
// devDependencies: Record<string, string>;
|
||||
// licence: string;
|
||||
// main: string;
|
||||
// isBundleMod: boolean;
|
||||
// contributors: string[];
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
// TODO: this will need changing to however we implement it in this project
|
||||
Reference in New Issue
Block a user