hotstaq 0.5.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/.eslintignore +17 -0
  2. package/.eslintrc.js +11 -0
  3. package/.vscode/launch.json +199 -0
  4. package/.vscode/settings.json +2 -0
  5. package/.vscode/tasks.json +78 -0
  6. package/CONTRIBUTING.md +157 -0
  7. package/README.md +126 -0
  8. package/bin/hotstaq +3 -0
  9. package/bin/hotstaq.cmd +1 -0
  10. package/build/src/Hot.d.ts +167 -0
  11. package/build/src/Hot.d.ts.map +1 -0
  12. package/build/src/Hot.js +365 -0
  13. package/build/src/Hot.js.map +1 -0
  14. package/build/src/HotAPI.d.ts +130 -0
  15. package/build/src/HotAPI.d.ts.map +1 -0
  16. package/build/src/HotAPI.js +353 -0
  17. package/build/src/HotAPI.js.map +1 -0
  18. package/build/src/HotAgentAPI.d.ts +22 -0
  19. package/build/src/HotAgentAPI.d.ts.map +1 -0
  20. package/build/src/HotAgentAPI.js +85 -0
  21. package/build/src/HotAgentAPI.js.map +1 -0
  22. package/build/src/HotAgentRoute.d.ts +17 -0
  23. package/build/src/HotAgentRoute.d.ts.map +1 -0
  24. package/build/src/HotAgentRoute.js +109 -0
  25. package/build/src/HotAgentRoute.js.map +1 -0
  26. package/build/src/HotBuilder.d.ts +52 -0
  27. package/build/src/HotBuilder.d.ts.map +1 -0
  28. package/build/src/HotBuilder.js +239 -0
  29. package/build/src/HotBuilder.js.map +1 -0
  30. package/build/src/HotClient.d.ts +31 -0
  31. package/build/src/HotClient.d.ts.map +1 -0
  32. package/build/src/HotClient.js +19 -0
  33. package/build/src/HotClient.js.map +1 -0
  34. package/build/src/HotComponent.d.ts +118 -0
  35. package/build/src/HotComponent.d.ts.map +1 -0
  36. package/build/src/HotComponent.js +89 -0
  37. package/build/src/HotComponent.js.map +1 -0
  38. package/build/src/HotCreator.d.ts +92 -0
  39. package/build/src/HotCreator.d.ts.map +1 -0
  40. package/build/src/HotCreator.js +465 -0
  41. package/build/src/HotCreator.js.map +1 -0
  42. package/build/src/HotDB.d.ts +69 -0
  43. package/build/src/HotDB.d.ts.map +1 -0
  44. package/build/src/HotDB.js +29 -0
  45. package/build/src/HotDB.js.map +1 -0
  46. package/build/src/HotDBConnectionInterface.d.ts +40 -0
  47. package/build/src/HotDBConnectionInterface.d.ts.map +1 -0
  48. package/build/src/HotDBConnectionInterface.js +3 -0
  49. package/build/src/HotDBConnectionInterface.js.map +1 -0
  50. package/build/src/HotFile.d.ts +134 -0
  51. package/build/src/HotFile.d.ts.map +1 -0
  52. package/build/src/HotFile.js +454 -0
  53. package/build/src/HotFile.js.map +1 -0
  54. package/build/src/HotHTTPServer.d.ts +162 -0
  55. package/build/src/HotHTTPServer.d.ts.map +1 -0
  56. package/build/src/HotHTTPServer.js +863 -0
  57. package/build/src/HotHTTPServer.js.map +1 -0
  58. package/build/src/HotIO.d.ts +39 -0
  59. package/build/src/HotIO.d.ts.map +1 -0
  60. package/build/src/HotIO.js +195 -0
  61. package/build/src/HotIO.js.map +1 -0
  62. package/build/src/HotLog.d.ts +60 -0
  63. package/build/src/HotLog.d.ts.map +1 -0
  64. package/build/src/HotLog.js +126 -0
  65. package/build/src/HotLog.js.map +1 -0
  66. package/build/src/HotPage.d.ts +125 -0
  67. package/build/src/HotPage.d.ts.map +1 -0
  68. package/build/src/HotPage.js +178 -0
  69. package/build/src/HotPage.js.map +1 -0
  70. package/build/src/HotRoute.d.ts +82 -0
  71. package/build/src/HotRoute.d.ts.map +1 -0
  72. package/build/src/HotRoute.js +83 -0
  73. package/build/src/HotRoute.js.map +1 -0
  74. package/build/src/HotRouteMethod.d.ts +129 -0
  75. package/build/src/HotRouteMethod.d.ts.map +1 -0
  76. package/build/src/HotRouteMethod.js +84 -0
  77. package/build/src/HotRouteMethod.js.map +1 -0
  78. package/build/src/HotServer.d.ts +152 -0
  79. package/build/src/HotServer.d.ts.map +1 -0
  80. package/build/src/HotServer.js +109 -0
  81. package/build/src/HotServer.js.map +1 -0
  82. package/build/src/HotSetAsWeb.d.ts +2 -0
  83. package/build/src/HotSetAsWeb.d.ts.map +1 -0
  84. package/build/src/HotSetAsWeb.js +5 -0
  85. package/build/src/HotSetAsWeb.js.map +1 -0
  86. package/build/src/HotStaq.d.ts +601 -0
  87. package/build/src/HotStaq.d.ts.map +1 -0
  88. package/build/src/HotStaq.js +1258 -0
  89. package/build/src/HotStaq.js.map +1 -0
  90. package/build/src/HotStaqWeb.d.ts +18 -0
  91. package/build/src/HotStaqWeb.d.ts.map +1 -0
  92. package/build/src/HotStaqWeb.js +44 -0
  93. package/build/src/HotStaqWeb.js.map +1 -0
  94. package/build/src/HotTestDriver.d.ts +63 -0
  95. package/build/src/HotTestDriver.d.ts.map +1 -0
  96. package/build/src/HotTestDriver.js +187 -0
  97. package/build/src/HotTestDriver.js.map +1 -0
  98. package/build/src/HotTestElement.d.ts +71 -0
  99. package/build/src/HotTestElement.d.ts.map +1 -0
  100. package/build/src/HotTestElement.js +37 -0
  101. package/build/src/HotTestElement.js.map +1 -0
  102. package/build/src/HotTestMap.d.ts +83 -0
  103. package/build/src/HotTestMap.d.ts.map +1 -0
  104. package/build/src/HotTestMap.js +58 -0
  105. package/build/src/HotTestMap.js.map +1 -0
  106. package/build/src/HotTestSeleniumDriver.d.ts +82 -0
  107. package/build/src/HotTestSeleniumDriver.d.ts.map +1 -0
  108. package/build/src/HotTestSeleniumDriver.js +398 -0
  109. package/build/src/HotTestSeleniumDriver.js.map +1 -0
  110. package/build/src/HotTester.d.ts +188 -0
  111. package/build/src/HotTester.d.ts.map +1 -0
  112. package/build/src/HotTester.js +623 -0
  113. package/build/src/HotTester.js.map +1 -0
  114. package/build/src/HotTesterAPI.d.ts +15 -0
  115. package/build/src/HotTesterAPI.d.ts.map +1 -0
  116. package/build/src/HotTesterAPI.js +161 -0
  117. package/build/src/HotTesterAPI.js.map +1 -0
  118. package/build/src/HotTesterMocha.d.ts +50 -0
  119. package/build/src/HotTesterMocha.d.ts.map +1 -0
  120. package/build/src/HotTesterMocha.js +205 -0
  121. package/build/src/HotTesterMocha.js.map +1 -0
  122. package/build/src/HotTesterMochaSelenium.d.ts +70 -0
  123. package/build/src/HotTesterMochaSelenium.d.ts.map +1 -0
  124. package/build/src/HotTesterMochaSelenium.js +257 -0
  125. package/build/src/HotTesterMochaSelenium.js.map +1 -0
  126. package/build/src/HotTesterServer.d.ts +114 -0
  127. package/build/src/HotTesterServer.d.ts.map +1 -0
  128. package/build/src/HotTesterServer.js +575 -0
  129. package/build/src/HotTesterServer.js.map +1 -0
  130. package/build/src/api.d.ts +33 -0
  131. package/build/src/api.d.ts.map +1 -0
  132. package/build/src/api.js +78 -0
  133. package/build/src/api.js.map +1 -0
  134. package/build/src/cli.d.ts +2 -0
  135. package/build/src/cli.d.ts.map +1 -0
  136. package/build/src/cli.js +935 -0
  137. package/build/src/cli.js.map +1 -0
  138. package/build/src/schemas/HotDBInflux.d.ts +63 -0
  139. package/build/src/schemas/HotDBInflux.d.ts.map +1 -0
  140. package/build/src/schemas/HotDBInflux.js +239 -0
  141. package/build/src/schemas/HotDBInflux.js.map +1 -0
  142. package/build/src/schemas/HotDBMigration.d.ts +19 -0
  143. package/build/src/schemas/HotDBMigration.d.ts.map +1 -0
  144. package/build/src/schemas/HotDBMigration.js +15 -0
  145. package/build/src/schemas/HotDBMigration.js.map +1 -0
  146. package/build/src/schemas/HotDBMySQL.d.ts +65 -0
  147. package/build/src/schemas/HotDBMySQL.d.ts.map +1 -0
  148. package/build/src/schemas/HotDBMySQL.js +387 -0
  149. package/build/src/schemas/HotDBMySQL.js.map +1 -0
  150. package/build/src/schemas/HotDBSchema.d.ts +15 -0
  151. package/build/src/schemas/HotDBSchema.d.ts.map +1 -0
  152. package/build/src/schemas/HotDBSchema.js +19 -0
  153. package/build/src/schemas/HotDBSchema.js.map +1 -0
  154. package/build/src/schemas/influx/InfluxSchema.d.ts +14 -0
  155. package/build/src/schemas/influx/InfluxSchema.d.ts.map +1 -0
  156. package/build/src/schemas/influx/InfluxSchema.js +33 -0
  157. package/build/src/schemas/influx/InfluxSchema.js.map +1 -0
  158. package/build/src/schemas/mysql/MySQLSchema.d.ts +39 -0
  159. package/build/src/schemas/mysql/MySQLSchema.d.ts.map +1 -0
  160. package/build/src/schemas/mysql/MySQLSchema.js +151 -0
  161. package/build/src/schemas/mysql/MySQLSchema.js.map +1 -0
  162. package/build/src/schemas/mysql/MySQLSchemaField.d.ts +168 -0
  163. package/build/src/schemas/mysql/MySQLSchemaField.d.ts.map +1 -0
  164. package/build/src/schemas/mysql/MySQLSchemaField.js +260 -0
  165. package/build/src/schemas/mysql/MySQLSchemaField.js.map +1 -0
  166. package/build/src/schemas/mysql/MySQLSchemaTable.d.ts +49 -0
  167. package/build/src/schemas/mysql/MySQLSchemaTable.d.ts.map +1 -0
  168. package/build/src/schemas/mysql/MySQLSchemaTable.js +310 -0
  169. package/build/src/schemas/mysql/MySQLSchemaTable.js.map +1 -0
  170. package/build-web/HotStaq.js +2 -0
  171. package/build-web/HotStaq.min.js +125 -0
  172. package/builder/docker/Dockerfile.linux.gen +42 -0
  173. package/builder/docker/README.md +36 -0
  174. package/builder/docker/app/start.sh +8 -0
  175. package/builder/docker/dockerignore +3 -0
  176. package/builder/docker/scripts/build.bat +11 -0
  177. package/builder/docker/scripts/build.sh +11 -0
  178. package/builder/docker/scripts/start-app.bat +7 -0
  179. package/builder/docker/scripts/start-app.sh +7 -0
  180. package/builder/docker/scripts/stop-app.bat +5 -0
  181. package/builder/docker/scripts/stop-app.sh +5 -0
  182. package/builder/docker-compose/docker-compose.gen.yaml +41 -0
  183. package/builder/docker-compose/env-skeleton +4 -0
  184. package/creator/project/.vscode/launch.json +59 -0
  185. package/creator/project/README.md +20 -0
  186. package/creator/project/gitignore +118 -0
  187. package/creator/project/npmignore +118 -0
  188. package/creator/public/api-test.hott +28 -0
  189. package/creator/public/index.hott +12 -0
  190. package/creator/ts/src/AppAPI.ts +30 -0
  191. package/creator/ts/src/HelloWorld.ts +39 -0
  192. package/creator/ts/src/WebExport.ts +7 -0
  193. package/creator/ts/tsconfig-web.json +73 -0
  194. package/creator/ts/tsconfig.json +73 -0
  195. package/creator/ts/webpack-api.config.js +57 -0
  196. package/dbstart.sh +19 -0
  197. package/dbstop.sh +4 -0
  198. package/docs/.nojekyll +1 -0
  199. package/docs/README.md +128 -0
  200. package/docs/classes/Hot.md +477 -0
  201. package/docs/classes/HotAPI.md +369 -0
  202. package/docs/classes/HotClient.md +95 -0
  203. package/docs/classes/HotComponent.md +279 -0
  204. package/docs/classes/HotDB.md +247 -0
  205. package/docs/classes/HotDBInflux.md +404 -0
  206. package/docs/classes/HotDBMigration.md +80 -0
  207. package/docs/classes/HotDBMySQL.md +310 -0
  208. package/docs/classes/HotDBSchema.md +51 -0
  209. package/docs/classes/HotFile.md +353 -0
  210. package/docs/classes/HotHTTPServer.md +700 -0
  211. package/docs/classes/HotLog.md +162 -0
  212. package/docs/classes/HotPage.md +357 -0
  213. package/docs/classes/HotRoute.md +312 -0
  214. package/docs/classes/HotRouteMethod.md +271 -0
  215. package/docs/classes/HotServer.md +311 -0
  216. package/docs/classes/HotStaq.md +1153 -0
  217. package/docs/classes/HotTestDestination.md +58 -0
  218. package/docs/classes/HotTestDriver.md +332 -0
  219. package/docs/classes/HotTestElement.md +88 -0
  220. package/docs/classes/HotTestElementOptions.md +71 -0
  221. package/docs/classes/HotTestMap.md +92 -0
  222. package/docs/classes/HotTestSeleniumDriver.md +529 -0
  223. package/docs/classes/HotTester.md +653 -0
  224. package/docs/classes/HotTesterAPI.md +493 -0
  225. package/docs/classes/HotTesterMocha.md +843 -0
  226. package/docs/classes/HotTesterMochaSelenium.md +896 -0
  227. package/docs/classes/HotTesterServer.md +633 -0
  228. package/docs/classes/InfluxSchema.md +74 -0
  229. package/docs/classes/MySQLSchema.md +199 -0
  230. package/docs/classes/MySQLSchemaField.md +330 -0
  231. package/docs/classes/MySQLSchemaTable.md +176 -0
  232. package/docs/enums/ConnectionStatus.md +43 -0
  233. package/docs/enums/DeveloperMode.md +38 -0
  234. package/docs/enums/EventExecutionType.md +43 -0
  235. package/docs/enums/HTTPMethod.md +32 -0
  236. package/docs/enums/HotDBGenerationType.md +30 -0
  237. package/docs/enums/HotLogLevel.md +88 -0
  238. package/docs/interfaces/HotDBConnectionInterface.md +116 -0
  239. package/docs/interfaces/HotDestination.md +62 -0
  240. package/docs/interfaces/HotSite.md +187 -0
  241. package/docs/interfaces/HotSiteMapPath.md +37 -0
  242. package/docs/interfaces/HotSiteRoute.md +79 -0
  243. package/docs/interfaces/HotStartOptions.md +115 -0
  244. package/docs/interfaces/HotTestPage.md +44 -0
  245. package/docs/interfaces/HotTestStop.md +62 -0
  246. package/docs/interfaces/IHotComponent.md +135 -0
  247. package/docs/interfaces/IHotStaq.md +118 -0
  248. package/docs/interfaces/IHotTestElement.md +54 -0
  249. package/docs/interfaces/IHotTestElementOptions.md +43 -0
  250. package/docs/interfaces/MySQLResults.md +43 -0
  251. package/docs/interfaces/MySQLSchemaFieldResult.md +75 -0
  252. package/docs/modules.md +162 -0
  253. package/package.json +65 -0
  254. package/selenium-start.sh +7 -0
  255. package/selenium-stop.sh +3 -0
  256. package/src/Hot.ts +319 -0
  257. package/src/HotAPI.ts +378 -0
  258. package/src/HotAgentAPI.ts +43 -0
  259. package/src/HotAgentRoute.ts +44 -0
  260. package/src/HotBuilder.ts +221 -0
  261. package/src/HotClient.ts +40 -0
  262. package/src/HotComponent.ts +158 -0
  263. package/src/HotCreator.ts +482 -0
  264. package/src/HotDB.ts +79 -0
  265. package/src/HotDBConnectionInterface.ts +40 -0
  266. package/src/HotFile.ts +617 -0
  267. package/src/HotHTTPServer.ts +954 -0
  268. package/src/HotIO.ts +128 -0
  269. package/src/HotLog.ts +158 -0
  270. package/src/HotPage.ts +206 -0
  271. package/src/HotRoute.ts +137 -0
  272. package/src/HotRouteMethod.ts +216 -0
  273. package/src/HotServer.ts +211 -0
  274. package/src/HotSetAsWeb.ts +3 -0
  275. package/src/HotStaq.ts +1877 -0
  276. package/src/HotStaqWeb.ts +59 -0
  277. package/src/HotTestDriver.ts +172 -0
  278. package/src/HotTestElement.ts +97 -0
  279. package/src/HotTestMap.ts +130 -0
  280. package/src/HotTestSeleniumDriver.ts +374 -0
  281. package/src/HotTester.ts +697 -0
  282. package/src/HotTesterAPI.ts +126 -0
  283. package/src/HotTesterMocha.ts +133 -0
  284. package/src/HotTesterMochaSelenium.ts +189 -0
  285. package/src/HotTesterServer.ts +551 -0
  286. package/src/api.ts +102 -0
  287. package/src/cli.ts +1147 -0
  288. package/src/schemas/HotDBInflux.ts +211 -0
  289. package/src/schemas/HotDBMigration.ts +24 -0
  290. package/src/schemas/HotDBMySQL.ts +312 -0
  291. package/src/schemas/HotDBSchema.ts +21 -0
  292. package/src/schemas/influx/InfluxSchema.ts +19 -0
  293. package/src/schemas/mysql/MySQLSchema.ts +90 -0
  294. package/src/schemas/mysql/MySQLSchemaField.ts +408 -0
  295. package/src/schemas/mysql/MySQLSchemaTable.ts +353 -0
  296. package/tsconfig-web.json +74 -0
  297. package/tsconfig.json +73 -0
  298. package/webpack.config.js +51 -0
  299. package/webpack.config.tests.js +56 -0
@@ -0,0 +1,1153 @@
1
+ [hotstaq](../README.md) / [Modules](../modules.md) / HotStaq
2
+
3
+ # Class: HotStaq
4
+
5
+ The main class that handles all HTML preprocessing, then outputs the
6
+ results.
7
+
8
+ ## Implements
9
+
10
+ - [`IHotStaq`](../interfaces/IHotStaq.md)
11
+
12
+ ## Table of contents
13
+
14
+ ### Constructors
15
+
16
+ - [constructor](HotStaq.md#constructor)
17
+
18
+ ### Properties
19
+
20
+ - [api](HotStaq.md#api)
21
+ - [apiContent](HotStaq.md#apicontent)
22
+ - [components](HotStaq.md#components)
23
+ - [files](HotStaq.md#files)
24
+ - [hotSite](HotStaq.md#hotsite)
25
+ - [logger](HotStaq.md#logger)
26
+ - [mode](HotStaq.md#mode)
27
+ - [pageContent](HotStaq.md#pagecontent)
28
+ - [pages](HotStaq.md#pages)
29
+ - [publicSecrets](HotStaq.md#publicsecrets)
30
+ - [testerAPI](HotStaq.md#testerapi)
31
+ - [testerApiContent](HotStaq.md#testerapicontent)
32
+ - [testers](HotStaq.md#testers)
33
+ - [isReadyForTesting](HotStaq.md#isreadyfortesting)
34
+ - [isWeb](HotStaq.md#isweb)
35
+ - [onReadyForTesting](HotStaq.md#onreadyfortesting)
36
+
37
+ ### Methods
38
+
39
+ - [addComponent](HotStaq.md#addcomponent)
40
+ - [addFile](HotStaq.md#addfile)
41
+ - [addPage](HotStaq.md#addpage)
42
+ - [addTester](HotStaq.md#addtester)
43
+ - [createExpressRoutes](HotStaq.md#createexpressroutes)
44
+ - [executeAllAPITests](HotStaq.md#executeallapitests)
45
+ - [executeAllWebTests](HotStaq.md#executeallwebtests)
46
+ - [executeTests](HotStaq.md#executetests)
47
+ - [generateContent](HotStaq.md#generatecontent)
48
+ - [getAPITestingMaps](HotStaq.md#getapitestingmaps)
49
+ - [getComponent](HotStaq.md#getcomponent)
50
+ - [getFile](HotStaq.md#getfile)
51
+ - [getPage](HotStaq.md#getpage)
52
+ - [getRouteFromName](HotStaq.md#getroutefromname)
53
+ - [getRouteKeyFromName](HotStaq.md#getroutekeyfromname)
54
+ - [getWebTestingMaps](HotStaq.md#getwebtestingmaps)
55
+ - [loadHotFiles](HotStaq.md#loadhotfiles)
56
+ - [loadHotSite](HotStaq.md#loadhotsite)
57
+ - [process](HotStaq.md#process)
58
+ - [registerComponent](HotStaq.md#registercomponent)
59
+ - [addHtml](HotStaq.md#addhtml)
60
+ - [checkHotSiteName](HotStaq.md#checkhotsitename)
61
+ - [displayContent](HotStaq.md#displaycontent)
62
+ - [displayUrl](HotStaq.md#displayurl)
63
+ - [getParam](HotStaq.md#getparam)
64
+ - [getParamDefault](HotStaq.md#getparamdefault)
65
+ - [getValueFromHotSiteObj](HotStaq.md#getvaluefromhotsiteobj)
66
+ - [onReady](HotStaq.md#onready)
67
+ - [parseBoolean](HotStaq.md#parseboolean)
68
+ - [processContent](HotStaq.md#processcontent)
69
+ - [processLocalFile](HotStaq.md#processlocalfile)
70
+ - [processUrl](HotStaq.md#processurl)
71
+ - [replaceKey](HotStaq.md#replacekey)
72
+ - [useOutput](HotStaq.md#useoutput)
73
+ - [wait](HotStaq.md#wait)
74
+ - [waitForTesters](HotStaq.md#waitfortesters)
75
+
76
+ ## Constructors
77
+
78
+ ### constructor
79
+
80
+ • **new HotStaq**(`copy?`)
81
+
82
+ #### Parameters
83
+
84
+ | Name | Type |
85
+ | :------ | :------ |
86
+ | `copy` | [`IHotStaq`](../interfaces/IHotStaq.md) |
87
+
88
+ #### Defined in
89
+
90
+ [HotStaq.ts:440](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L440)
91
+
92
+ ## Properties
93
+
94
+ ### api
95
+
96
+ • **api**: [`HotAPI`](HotAPI.md)
97
+
98
+ The api that's used to communicate with.
99
+
100
+ #### Implementation of
101
+
102
+ [IHotStaq](../interfaces/IHotStaq.md).[api](../interfaces/IHotStaq.md#api)
103
+
104
+ #### Defined in
105
+
106
+ [HotStaq.ts:394](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L394)
107
+
108
+ ___
109
+
110
+ ### apiContent
111
+
112
+ • **apiContent**: `string`
113
+
114
+ The api content to use when about to load HotStaq.
115
+
116
+ #### Defined in
117
+
118
+ [HotStaq.ts:418](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L418)
119
+
120
+ ___
121
+
122
+ ### components
123
+
124
+ • **components**: `Object`
125
+
126
+ The components that can be constructed.
127
+
128
+ #### Index signature
129
+
130
+ ▪ [name: `string`]: [`HotComponent`](HotComponent.md)
131
+
132
+ #### Implementation of
133
+
134
+ [IHotStaq](../interfaces/IHotStaq.md).[components](../interfaces/IHotStaq.md#components)
135
+
136
+ #### Defined in
137
+
138
+ [HotStaq.ts:406](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L406)
139
+
140
+ ___
141
+
142
+ ### files
143
+
144
+ • **files**: `Object`
145
+
146
+ The files that can be stored for later use.
147
+
148
+ #### Index signature
149
+
150
+ ▪ [name: `string`]: [`HotFile`](HotFile.md)
151
+
152
+ #### Implementation of
153
+
154
+ [IHotStaq](../interfaces/IHotStaq.md).[files](../interfaces/IHotStaq.md#files)
155
+
156
+ #### Defined in
157
+
158
+ [HotStaq.ts:410](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L410)
159
+
160
+ ___
161
+
162
+ ### hotSite
163
+
164
+ • **hotSite**: [`HotSite`](../interfaces/HotSite.md)
165
+
166
+ The loaded hotsite.
167
+
168
+ #### Implementation of
169
+
170
+ [IHotStaq](../interfaces/IHotStaq.md).[hotSite](../interfaces/IHotStaq.md#hotsite)
171
+
172
+ #### Defined in
173
+
174
+ [HotStaq.ts:414](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L414)
175
+
176
+ ___
177
+
178
+ ### logger
179
+
180
+ • **logger**: [`HotLog`](HotLog.md)
181
+
182
+ The logger.
183
+
184
+ #### Defined in
185
+
186
+ [HotStaq.ts:430](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L430)
187
+
188
+ ___
189
+
190
+ ### mode
191
+
192
+ • **mode**: [`DeveloperMode`](../enums/DeveloperMode.md)
193
+
194
+ Indicates what type of execution this is.
195
+
196
+ #### Implementation of
197
+
198
+ [IHotStaq](../interfaces/IHotStaq.md).[mode](../interfaces/IHotStaq.md#mode)
199
+
200
+ #### Defined in
201
+
202
+ [HotStaq.ts:390](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L390)
203
+
204
+ ___
205
+
206
+ ### pageContent
207
+
208
+ • **pageContent**: `string`
209
+
210
+ The page content to use when about to load HotStaq.
211
+
212
+ #### Defined in
213
+
214
+ [HotStaq.ts:426](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L426)
215
+
216
+ ___
217
+
218
+ ### pages
219
+
220
+ • **pages**: `Object`
221
+
222
+ The pages that can be constructed.
223
+
224
+ #### Index signature
225
+
226
+ ▪ [name: `string`]: [`HotPage`](HotPage.md)
227
+
228
+ #### Implementation of
229
+
230
+ [IHotStaq](../interfaces/IHotStaq.md).[pages](../interfaces/IHotStaq.md#pages)
231
+
232
+ #### Defined in
233
+
234
+ [HotStaq.ts:402](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L402)
235
+
236
+ ___
237
+
238
+ ### publicSecrets
239
+
240
+ • **publicSecrets**: `any`
241
+
242
+ The secrets that can be exposed publicly.
243
+
244
+ #### Defined in
245
+
246
+ [HotStaq.ts:434](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L434)
247
+
248
+ ___
249
+
250
+ ### testerAPI
251
+
252
+ • **testerAPI**: [`HotAPI`](HotAPI.md)
253
+
254
+ The tester api that's used to communicate with.
255
+
256
+ #### Implementation of
257
+
258
+ [IHotStaq](../interfaces/IHotStaq.md).[testerAPI](../interfaces/IHotStaq.md#testerapi)
259
+
260
+ #### Defined in
261
+
262
+ [HotStaq.ts:398](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L398)
263
+
264
+ ___
265
+
266
+ ### testerApiContent
267
+
268
+ • **testerApiContent**: `string`
269
+
270
+ The tester api content to use when about to load HotStaq.
271
+
272
+ #### Defined in
273
+
274
+ [HotStaq.ts:422](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L422)
275
+
276
+ ___
277
+
278
+ ### testers
279
+
280
+ • **testers**: `Object`
281
+
282
+ The secrets that can be exposed publicly.
283
+
284
+ #### Index signature
285
+
286
+ ▪ [name: `string`]: [`HotTester`](HotTester.md)
287
+
288
+ #### Defined in
289
+
290
+ [HotStaq.ts:438](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L438)
291
+
292
+ ___
293
+
294
+ ### isReadyForTesting
295
+
296
+ ▪ `Static` **isReadyForTesting**: `boolean` = `false`
297
+
298
+ Indicates if this is ready for testing.
299
+
300
+ #### Defined in
301
+
302
+ [HotStaq.ts:382](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L382)
303
+
304
+ ___
305
+
306
+ ### isWeb
307
+
308
+ ▪ `Static` **isWeb**: `boolean` = `false`
309
+
310
+ Indicates if this is a web build.
311
+
312
+ #### Defined in
313
+
314
+ [HotStaq.ts:378](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L378)
315
+
316
+ ___
317
+
318
+ ### onReadyForTesting
319
+
320
+ ▪ `Static` **onReadyForTesting**: () => `Promise`<`void`\> = `null`
321
+
322
+ #### Type declaration
323
+
324
+ ▸ (): `Promise`<`void`\>
325
+
326
+ Executes this event when this page is ready for testing.
327
+
328
+ ##### Returns
329
+
330
+ `Promise`<`void`\>
331
+
332
+ #### Defined in
333
+
334
+ [HotStaq.ts:386](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L386)
335
+
336
+ ## Methods
337
+
338
+ ### addComponent
339
+
340
+ ▸ **addComponent**(`component`): `void`
341
+
342
+ Add and register a component.
343
+
344
+ #### Parameters
345
+
346
+ | Name | Type |
347
+ | :------ | :------ |
348
+ | `component` | [`HotComponent`](HotComponent.md) |
349
+
350
+ #### Returns
351
+
352
+ `void`
353
+
354
+ #### Defined in
355
+
356
+ [HotStaq.ts:674](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L674)
357
+
358
+ ___
359
+
360
+ ### addFile
361
+
362
+ ▸ **addFile**(`file`): `void`
363
+
364
+ Add a file.
365
+
366
+ #### Parameters
367
+
368
+ | Name | Type |
369
+ | :------ | :------ |
370
+ | `file` | [`HotFile`](HotFile.md) |
371
+
372
+ #### Returns
373
+
374
+ `void`
375
+
376
+ #### Defined in
377
+
378
+ [HotStaq.ts:647](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L647)
379
+
380
+ ___
381
+
382
+ ### addPage
383
+
384
+ ▸ **addPage**(`page`): `void`
385
+
386
+ Add a page.
387
+
388
+ #### Parameters
389
+
390
+ | Name | Type |
391
+ | :------ | :------ |
392
+ | `page` | [`HotPage`](HotPage.md) |
393
+
394
+ #### Returns
395
+
396
+ `void`
397
+
398
+ #### Defined in
399
+
400
+ [HotStaq.ts:631](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L631)
401
+
402
+ ___
403
+
404
+ ### addTester
405
+
406
+ ▸ **addTester**(`tester`): `void`
407
+
408
+ Add a tester for use later.
409
+
410
+ #### Parameters
411
+
412
+ | Name | Type |
413
+ | :------ | :------ |
414
+ | `tester` | [`HotTester`](HotTester.md) |
415
+
416
+ #### Returns
417
+
418
+ `void`
419
+
420
+ #### Defined in
421
+
422
+ [HotStaq.ts:1447](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1447)
423
+
424
+ ___
425
+
426
+ ### createExpressRoutes
427
+
428
+ ▸ **createExpressRoutes**(`expressApp`, `jsSrcPath?`): `void`
429
+
430
+ Create the Express routes from the given pages. Be sure to load the
431
+ pages first before doing this. This method is meant to be used for
432
+ customized Express applications. If you wish to use the loaded routes
433
+ from this HotStaq object with HotHTTPServer, be sure to use
434
+ the loadHotSite method in HotHTTPServer.
435
+
436
+ #### Parameters
437
+
438
+ | Name | Type | Default value |
439
+ | :------ | :------ | :------ |
440
+ | `expressApp` | `any` | `undefined` |
441
+ | `jsSrcPath` | `string` | `"./js/HotStaq.js"` |
442
+
443
+ #### Returns
444
+
445
+ `void`
446
+
447
+ #### Defined in
448
+
449
+ [HotStaq.ts:1430](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1430)
450
+
451
+ ___
452
+
453
+ ### executeAllAPITests
454
+
455
+ ▸ **executeAllAPITests**(`testerName`): `Promise`<`void`\>
456
+
457
+ Execute all api tests from the HotSite testing api object.
458
+
459
+ #### Parameters
460
+
461
+ | Name | Type | Description |
462
+ | :------ | :------ | :------ |
463
+ | `testerName` | `string` | The tester to use to execute tests. |
464
+
465
+ #### Returns
466
+
467
+ `Promise`<`void`\>
468
+
469
+ #### Defined in
470
+
471
+ [HotStaq.ts:1576](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1576)
472
+
473
+ ___
474
+
475
+ ### executeAllWebTests
476
+
477
+ ▸ **executeAllWebTests**(`testerName`): `Promise`<`void`\>
478
+
479
+ Execute all web tests from the HotSite testing web object.
480
+
481
+ #### Parameters
482
+
483
+ | Name | Type | Description |
484
+ | :------ | :------ | :------ |
485
+ | `testerName` | `string` | The tester to use to execute tests. |
486
+
487
+ #### Returns
488
+
489
+ `Promise`<`void`\>
490
+
491
+ #### Defined in
492
+
493
+ [HotStaq.ts:1555](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1555)
494
+
495
+ ___
496
+
497
+ ### executeTests
498
+
499
+ ▸ **executeTests**(`testerName`, `mapName`): `Promise`<`void`\>
500
+
501
+ Execute tests.
502
+
503
+ #### Parameters
504
+
505
+ | Name | Type | Description |
506
+ | :------ | :------ | :------ |
507
+ | `testerName` | `string` | The tester to use to execute tests. |
508
+ | `mapName` | `string` | The map or maps to use to navigate through tests. |
509
+
510
+ #### Returns
511
+
512
+ `Promise`<`void`\>
513
+
514
+ #### Defined in
515
+
516
+ [HotStaq.ts:1540](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1540)
517
+
518
+ ___
519
+
520
+ ### generateContent
521
+
522
+ ▸ **generateContent**(`routeKey`, `name?`, `url?`, `jsSrcPath?`, `passArgs?`, `args?`): `string`
523
+
524
+ Generate the content to send to a client.
525
+
526
+ #### Parameters
527
+
528
+ | Name | Type | Default value |
529
+ | :------ | :------ | :------ |
530
+ | `routeKey` | `string` | `undefined` |
531
+ | `name` | `string` | `""` |
532
+ | `url` | `string` | `"./"` |
533
+ | `jsSrcPath` | `string` | `"./js/HotStaq.js"` |
534
+ | `passArgs` | `boolean` | `true` |
535
+ | `args` | `any` | `null` |
536
+
537
+ #### Returns
538
+
539
+ `string`
540
+
541
+ #### Defined in
542
+
543
+ [HotStaq.ts:1145](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1145)
544
+
545
+ ___
546
+
547
+ ### getAPITestingMaps
548
+
549
+ ▸ **getAPITestingMaps**(): `string`[]
550
+
551
+ Get the list of maps for testing from the HotSite.
552
+
553
+ #### Returns
554
+
555
+ `string`[]
556
+
557
+ #### Defined in
558
+
559
+ [HotStaq.ts:1475](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1475)
560
+
561
+ ___
562
+
563
+ ### getComponent
564
+
565
+ ▸ **getComponent**(`name`): [`HotComponent`](HotComponent.md)
566
+
567
+ Get a component to process.
568
+
569
+ #### Parameters
570
+
571
+ | Name | Type |
572
+ | :------ | :------ |
573
+ | `name` | `string` |
574
+
575
+ #### Returns
576
+
577
+ [`HotComponent`](HotComponent.md)
578
+
579
+ #### Defined in
580
+
581
+ [HotStaq.ts:744](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L744)
582
+
583
+ ___
584
+
585
+ ### getFile
586
+
587
+ ▸ **getFile**(`name`): [`HotFile`](HotFile.md)
588
+
589
+ Get a file.
590
+
591
+ #### Parameters
592
+
593
+ | Name | Type |
594
+ | :------ | :------ |
595
+ | `name` | `string` |
596
+
597
+ #### Returns
598
+
599
+ [`HotFile`](HotFile.md)
600
+
601
+ #### Defined in
602
+
603
+ [HotStaq.ts:663](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L663)
604
+
605
+ ___
606
+
607
+ ### getPage
608
+
609
+ ▸ **getPage**(`pageName`): [`HotPage`](HotPage.md)
610
+
611
+ Get a page to process.
612
+
613
+ #### Parameters
614
+
615
+ | Name | Type |
616
+ | :------ | :------ |
617
+ | `pageName` | `string` |
618
+
619
+ #### Returns
620
+
621
+ [`HotPage`](HotPage.md)
622
+
623
+ #### Defined in
624
+
625
+ [HotStaq.ts:639](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L639)
626
+
627
+ ___
628
+
629
+ ### getRouteFromName
630
+
631
+ ▸ **getRouteFromName**(`name`): [`HotSiteRoute`](../interfaces/HotSiteRoute.md)
632
+
633
+ Get a route from a route's name.
634
+
635
+ #### Parameters
636
+
637
+ | Name | Type |
638
+ | :------ | :------ |
639
+ | `name` | `string` |
640
+
641
+ #### Returns
642
+
643
+ [`HotSiteRoute`](../interfaces/HotSiteRoute.md)
644
+
645
+ #### Defined in
646
+
647
+ [HotStaq.ts:1523](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1523)
648
+
649
+ ___
650
+
651
+ ### getRouteKeyFromName
652
+
653
+ ▸ **getRouteKeyFromName**(`name`): `string`
654
+
655
+ Get a route's key from a route's name.
656
+
657
+ #### Parameters
658
+
659
+ | Name | Type |
660
+ | :------ | :------ |
661
+ | `name` | `string` |
662
+
663
+ #### Returns
664
+
665
+ `string`
666
+
667
+ #### Defined in
668
+
669
+ [HotStaq.ts:1495](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1495)
670
+
671
+ ___
672
+
673
+ ### getWebTestingMaps
674
+
675
+ ▸ **getWebTestingMaps**(): `string`[]
676
+
677
+ Get the list of maps for testing from the HotSite.
678
+
679
+ #### Returns
680
+
681
+ `string`[]
682
+
683
+ #### Defined in
684
+
685
+ [HotStaq.ts:1455](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1455)
686
+
687
+ ___
688
+
689
+ ### loadHotFiles
690
+
691
+ ▸ **loadHotFiles**(`files`, `forceContentLoading?`): `Promise`<`void`\>
692
+
693
+ Load an array of files. If a file already has content, it will not be reloaded
694
+ unless forceContentLoading is set to true.
695
+
696
+ #### Parameters
697
+
698
+ | Name | Type | Default value |
699
+ | :------ | :------ | :------ |
700
+ | `files` | `Object` | `undefined` |
701
+ | `forceContentLoading` | `boolean` | `false` |
702
+
703
+ #### Returns
704
+
705
+ `Promise`<`void`\>
706
+
707
+ #### Defined in
708
+
709
+ [HotStaq.ts:1094](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1094)
710
+
711
+ ___
712
+
713
+ ### loadHotSite
714
+
715
+ ▸ **loadHotSite**(`path`): `Promise`<`void`\>
716
+
717
+ Load from a HotSite.json file. Be sure to load and attach any testers before
718
+ loading a HotSite.
719
+
720
+ #### Parameters
721
+
722
+ | Name | Type |
723
+ | :------ | :------ |
724
+ | `path` | `string` |
725
+
726
+ #### Returns
727
+
728
+ `Promise`<`void`\>
729
+
730
+ #### Defined in
731
+
732
+ [HotStaq.ts:858](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L858)
733
+
734
+ ___
735
+
736
+ ### process
737
+
738
+ ▸ **process**(`pageName`, `args?`): `Promise`<`string`\>
739
+
740
+ Process a page and get the result.
741
+
742
+ #### Parameters
743
+
744
+ | Name | Type | Default value |
745
+ | :------ | :------ | :------ |
746
+ | `pageName` | `string` | `undefined` |
747
+ | `args` | `any` | `null` |
748
+
749
+ #### Returns
750
+
751
+ `Promise`<`string`\>
752
+
753
+ #### Defined in
754
+
755
+ [HotStaq.ts:1595](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1595)
756
+
757
+ ___
758
+
759
+ ### registerComponent
760
+
761
+ ▸ **registerComponent**(`component`): `void`
762
+
763
+ Register a component for use as a HTML tag.
764
+
765
+ #### Parameters
766
+
767
+ | Name | Type |
768
+ | :------ | :------ |
769
+ | `component` | [`HotComponent`](HotComponent.md) |
770
+
771
+ #### Returns
772
+
773
+ `void`
774
+
775
+ #### Defined in
776
+
777
+ [HotStaq.ts:683](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L683)
778
+
779
+ ___
780
+
781
+ ### addHtml
782
+
783
+ ▸ `Static` **addHtml**(`parent`, `html`): `HTMLElement` \| `HTMLElement`[]
784
+
785
+ Add a new HTML element(s) to the current document.
786
+
787
+ #### Parameters
788
+
789
+ | Name | Type |
790
+ | :------ | :------ |
791
+ | `parent` | `string` \| `HTMLElement` |
792
+ | `html` | `string` \| `HTMLElement` |
793
+
794
+ #### Returns
795
+
796
+ `HTMLElement` \| `HTMLElement`[]
797
+
798
+ #### Defined in
799
+
800
+ [HotStaq.ts:752](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L752)
801
+
802
+ ___
803
+
804
+ ### checkHotSiteName
805
+
806
+ ▸ `Static` **checkHotSiteName**(`hotsiteName`, `throwException?`): `boolean`
807
+
808
+ Check if a HotSite's name is valid.
809
+
810
+ #### Parameters
811
+
812
+ | Name | Type | Default value |
813
+ | :------ | :------ | :------ |
814
+ | `hotsiteName` | `string` | `undefined` |
815
+ | `throwException` | `boolean` | `false` |
816
+
817
+ #### Returns
818
+
819
+ `boolean`
820
+
821
+ #### Defined in
822
+
823
+ [HotStaq.ts:789](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L789)
824
+
825
+ ___
826
+
827
+ ### displayContent
828
+
829
+ ▸ `Static` **displayContent**(`content`, `name`, `processor?`): `Promise`<[`HotStaq`](HotStaq.md)\>
830
+
831
+ Process and replace the current HTML page with the hott script.
832
+ This is meant for web browser use only.
833
+
834
+ #### Parameters
835
+
836
+ | Name | Type | Default value |
837
+ | :------ | :------ | :------ |
838
+ | `content` | `string` | `undefined` |
839
+ | `name` | `string` | `undefined` |
840
+ | `processor` | [`HotStaq`](HotStaq.md) | `null` |
841
+
842
+ #### Returns
843
+
844
+ `Promise`<[`HotStaq`](HotStaq.md)\>
845
+
846
+ #### Defined in
847
+
848
+ [HotStaq.ts:1860](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1860)
849
+
850
+ ___
851
+
852
+ ### displayUrl
853
+
854
+ ▸ `Static` **displayUrl**(`url`, `name?`, `processor?`, `args?`): `Promise`<[`HotStaq`](HotStaq.md)\>
855
+
856
+ Process and replace the current HTML page with the hott script from the given url.
857
+ This is meant for web browser use only.
858
+
859
+ #### Parameters
860
+
861
+ | Name | Type | Default value |
862
+ | :------ | :------ | :------ |
863
+ | `url` | `string` \| [`HotStartOptions`](../interfaces/HotStartOptions.md) | `undefined` |
864
+ | `name` | `string` | `null` |
865
+ | `processor` | [`HotStaq`](HotStaq.md) | `null` |
866
+ | `args` | `any` | `null` |
867
+
868
+ #### Returns
869
+
870
+ `Promise`<[`HotStaq`](HotStaq.md)\>
871
+
872
+ #### Defined in
873
+
874
+ [HotStaq.ts:1710](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1710)
875
+
876
+ ___
877
+
878
+ ### getParam
879
+
880
+ ▸ `Static` **getParam**(`name`, `objWithParam`, `required?`, `throwException?`): `any`
881
+
882
+ Check if a required parameter exists inside an object. If it exists, return the value.
883
+
884
+ #### Parameters
885
+
886
+ | Name | Type | Default value |
887
+ | :------ | :------ | :------ |
888
+ | `name` | `string` | `undefined` |
889
+ | `objWithParam` | `any` | `undefined` |
890
+ | `required` | `boolean` | `true` |
891
+ | `throwException` | `boolean` | `true` |
892
+
893
+ #### Returns
894
+
895
+ `any`
896
+
897
+ #### Defined in
898
+
899
+ [HotStaq.ts:566](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L566)
900
+
901
+ ___
902
+
903
+ ### getParamDefault
904
+
905
+ ▸ `Static` **getParamDefault**(`name`, `objWithParam`, `defaultValue`): `any`
906
+
907
+ Check if a required parameter exists inside an object. If it exists, return the value.
908
+ If it does not exist, return a default value instead.
909
+
910
+ #### Parameters
911
+
912
+ | Name | Type |
913
+ | :------ | :------ |
914
+ | `name` | `string` |
915
+ | `objWithParam` | `any` |
916
+ | `defaultValue` | `any` |
917
+
918
+ #### Returns
919
+
920
+ `any`
921
+
922
+ #### Defined in
923
+
924
+ [HotStaq.ts:598](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L598)
925
+
926
+ ___
927
+
928
+ ### getValueFromHotSiteObj
929
+
930
+ ▸ `Static` **getValueFromHotSiteObj**(`hotsite`, `params`): `any`
931
+
932
+ Get a value from a HotSite object.
933
+
934
+ #### Parameters
935
+
936
+ | Name | Type |
937
+ | :------ | :------ |
938
+ | `hotsite` | [`HotSite`](../interfaces/HotSite.md) |
939
+ | `params` | `string`[] |
940
+
941
+ #### Returns
942
+
943
+ `any`
944
+
945
+ Returns the value from the hotsite object. Returns null if it doesn't exist.
946
+
947
+ #### Defined in
948
+
949
+ [HotStaq.ts:823](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L823)
950
+
951
+ ___
952
+
953
+ ### onReady
954
+
955
+ ▸ `Static` **onReady**(`readyFunc`): `void`
956
+
957
+ When the window has finished loading, execute the function.
958
+ This is meant for web browser use only.
959
+
960
+ #### Parameters
961
+
962
+ | Name | Type |
963
+ | :------ | :------ |
964
+ | `readyFunc` | () => `void` |
965
+
966
+ #### Returns
967
+
968
+ `void`
969
+
970
+ #### Defined in
971
+
972
+ [HotStaq.ts:1672](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1672)
973
+
974
+ ___
975
+
976
+ ### parseBoolean
977
+
978
+ ▸ `Static` **parseBoolean**(`value`): `boolean`
979
+
980
+ Parse a boolean value.
981
+
982
+ #### Parameters
983
+
984
+ | Name | Type |
985
+ | :------ | :------ |
986
+ | `value` | `string` |
987
+
988
+ #### Returns
989
+
990
+ `boolean`
991
+
992
+ #### Defined in
993
+
994
+ [HotStaq.ts:529](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L529)
995
+
996
+ ___
997
+
998
+ ### processContent
999
+
1000
+ ▸ `Static` **processContent**(`processor`, `content`, `name`, `args?`): `Promise`<`string`\>
1001
+
1002
+ Process content and get the result.
1003
+
1004
+ #### Parameters
1005
+
1006
+ | Name | Type | Default value |
1007
+ | :------ | :------ | :------ |
1008
+ | `processor` | [`HotStaq`](HotStaq.md) | `undefined` |
1009
+ | `content` | `string` | `undefined` |
1010
+ | `name` | `string` | `undefined` |
1011
+ | `args` | `any` | `null` |
1012
+
1013
+ #### Returns
1014
+
1015
+ `Promise`<`string`\>
1016
+
1017
+ #### Defined in
1018
+
1019
+ [HotStaq.ts:1650](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1650)
1020
+
1021
+ ___
1022
+
1023
+ ### processLocalFile
1024
+
1025
+ ▸ `Static` **processLocalFile**(`localFilepath`, `name?`, `args?`): `Promise`<`string`\>
1026
+
1027
+ Process a local file and get the result.
1028
+
1029
+ #### Parameters
1030
+
1031
+ | Name | Type | Default value |
1032
+ | :------ | :------ | :------ |
1033
+ | `localFilepath` | `string` | `undefined` |
1034
+ | `name` | `string` | `localFilepath` |
1035
+ | `args` | `any` | `null` |
1036
+
1037
+ #### Returns
1038
+
1039
+ `Promise`<`string`\>
1040
+
1041
+ #### Defined in
1042
+
1043
+ [HotStaq.ts:1606](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1606)
1044
+
1045
+ ___
1046
+
1047
+ ### processUrl
1048
+
1049
+ ▸ `Static` **processUrl**(`options`): `Promise`<`string`\>
1050
+
1051
+ Process a url and get the result.
1052
+
1053
+ #### Parameters
1054
+
1055
+ | Name | Type |
1056
+ | :------ | :------ |
1057
+ | `options` | [`HotStartOptions`](../interfaces/HotStartOptions.md) |
1058
+
1059
+ #### Returns
1060
+
1061
+ `Promise`<`string`\>
1062
+
1063
+ #### Defined in
1064
+
1065
+ [HotStaq.ts:1627](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1627)
1066
+
1067
+ ___
1068
+
1069
+ ### replaceKey
1070
+
1071
+ ▸ `Static` **replaceKey**(`str`, `key`, `value`): `string`
1072
+
1073
+ Replace a key in a ${KEY} with a value.
1074
+
1075
+ #### Parameters
1076
+
1077
+ | Name | Type |
1078
+ | :------ | :------ |
1079
+ | `str` | `string` |
1080
+ | `key` | `string` |
1081
+ | `value` | `string` |
1082
+
1083
+ #### Returns
1084
+
1085
+ `string`
1086
+
1087
+ #### Defined in
1088
+
1089
+ [HotStaq.ts:811](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L811)
1090
+
1091
+ ___
1092
+
1093
+ ### useOutput
1094
+
1095
+ ▸ `Static` **useOutput**(`output`): `void`
1096
+
1097
+ Replace the current HTML page with the output.
1098
+ This is meant for web browser use only.
1099
+
1100
+ #### Parameters
1101
+
1102
+ | Name | Type |
1103
+ | :------ | :------ |
1104
+ | `output` | `string` |
1105
+
1106
+ #### Returns
1107
+
1108
+ `void`
1109
+
1110
+ #### Defined in
1111
+
1112
+ [HotStaq.ts:1684](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1684)
1113
+
1114
+ ___
1115
+
1116
+ ### wait
1117
+
1118
+ ▸ `Static` **wait**(`numMilliseconds`): `Promise`<`void`\>
1119
+
1120
+ Wait for a number of milliseconds.
1121
+
1122
+ #### Parameters
1123
+
1124
+ | Name | Type |
1125
+ | :------ | :------ |
1126
+ | `numMilliseconds` | `number` |
1127
+
1128
+ #### Returns
1129
+
1130
+ `Promise`<`void`\>
1131
+
1132
+ #### Defined in
1133
+
1134
+ [HotStaq.ts:617](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L617)
1135
+
1136
+ ___
1137
+
1138
+ ### waitForTesters
1139
+
1140
+ ▸ `Static` **waitForTesters**(): `Promise`<`void`\>
1141
+
1142
+ Wait for testers to load.
1143
+
1144
+ **`fixme`** This does not wait for ALL testers to finish loading. Only
1145
+ the first one.
1146
+
1147
+ #### Returns
1148
+
1149
+ `Promise`<`void`\>
1150
+
1151
+ #### Defined in
1152
+
1153
+ [HotStaq.ts:1697](https://github.com/OurFreeLight/HotStaq/blob/3f2c5d8/src/HotStaq.ts#L1697)