Landmark.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title> Landmark</title>
  7. <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
  8. <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
  9. <script src="./build/entry.js"></script>
  10. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  11. <!--[if lt IE 9]>
  12. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  13. <![endif]-->
  14. <link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
  15. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  16. <link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
  17. <link type="text/css" rel="stylesheet" href="styles/app.min.css">
  18. <link type="text/css" rel="stylesheet" href="styles/iframe.css">
  19. <link type="text/css" rel="stylesheet" href="">
  20. <script async defer src="https://buttons.github.io/buttons.js"></script>
  21. </head>
  22. <body class="layout small-header">
  23. <div id="stickyNavbarOverlay"></div>
  24. <div class="top-nav">
  25. <div class="inner">
  26. <a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
  27. <span aria-hidden="true"></span>
  28. <span aria-hidden="true"></span>
  29. <span aria-hidden="true"></span>
  30. </a>
  31. <div class="logo">
  32. </div>
  33. <div class="menu">
  34. <div class="navigation">
  35. <a
  36. href="index.html"
  37. class="link"
  38. >
  39. API Documentation
  40. </a>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div id="main">
  46. <div
  47. class="sidebar "
  48. id="sidebarNav"
  49. >
  50. <nav>
  51. <h2><a href="index.html">Documentation</a></h2><div class="category"><h3>Interfaces</h3><ul><li><a href="AddLandmarkProps.html">AddLandmarkProps</a></li><li><a href="CommentProps.html">CommentProps</a></li><li><a href="IdToken.html">IdToken</a></li><li><a href="IntroProps.html">IntroProps</a></li><li><a href="Landmark.html">Landmark</a></li><li><a href="LandmarkDetailsProps.html">LandmarkDetailsProps</a></li><li><a href="LandmarkPinProps.html">LandmarkPinProps</a></li><li><a href="LMComment.html">LMComment</a></li><li><a href="ProfileProps.html">ProfileProps</a></li><li><a href="RegisterProps.html">RegisterProps</a></li><li><a href="UserProfile.html">UserProfile</a></li></ul><h3>Components</h3><ul><li><a href="App.html">App</a></li><li><a href="Atlas.html">Atlas</a></li><li><a href="Comment.html">Comment</a></li><li><a href="PrimaryButton.html">PrimaryButton</a></li><li><a href="Profile.html">Profile</a></li><li><a href="SecondaryButton.html">SecondaryButton</a></li></ul><h3>Global</h3><ul><li><a href="global.html#IconStrings">IconStrings</a></li></ul></div><div class="category"><h2>Hooks</h2><h3>Namespaces</h3><ul><li><a href="useAuth.html">useAuth</a></li><li><a href="useLandmarks.html">useLandmarks</a></li><li><a href="useProfile.html">useProfile</a></li></ul></div><div class="category"><h2>Map</h2><h3>Interfaces</h3><ul><li><a href="UserLocation.html">UserLocation</a></li></ul><h3>Components</h3><ul><li><a href="AddLandmark.html">AddLandmark</a></li><li><a href="LandmarkDetails.html">LandmarkDetails</a></li><li><a href="LandmarkPin.html">LandmarkPin</a></li><li><a href="Map.html">Map</a></li></ul></div><div class="category"><h2>Navigation</h2><h3>Components</h3><ul><li><a href="AuthorizedNavigator.html">AuthorizedNavigator</a></li><li><a href="UnauthorizedNavigator.html">UnauthorizedNavigator</a></li></ul><h3><a href="global.html">Global</a></h3></div><div class="category"><h2>Stores</h2><h3>Classes</h3><ul><li><a href="AuthStore.html">AuthStore</a></li></ul></div><div class="category"><h2>Unauthorized</h2><h3>Components</h3><ul><li><a href="Intro.html">Intro</a></li><li><a href="UnauthorizedLayout.html">UnauthorizedLayout</a></li></ul><h3>Components / Registration</h3><ul><li><a href="RegisterMain.html">RegisterMain</a></li></ul></div>
  52. </nav>
  53. </div>
  54. <div class="core" id="main-content-wrapper">
  55. <div class="content">
  56. <header class="page-title">
  57. <p>Interface</p>
  58. <h1>Landmark</h1>
  59. </header>
  60. <section>
  61. <header>
  62. <h2>Landmark</h2>
  63. </header>
  64. <article>
  65. <div class="container-overview">
  66. <div class="description"><p>Interface representing a landmark object</p></div>
  67. <dl class="details">
  68. <p class="tag-source">
  69. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  70. <span>
  71. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line213">line 213</a>
  72. </span>
  73. </p>
  74. </dl>
  75. </div>
  76. <div class='vertical-section'>
  77. <h1>Members</h1>
  78. <div class="members">
  79. <div class="member">
  80. <span class="method-parameter is-pulled-right">
  81. <label>Type:</label>
  82. <span class="param-type">Array</span>
  83. |
  84. <span class="param-type">null</span>
  85. </span>
  86. <h4 class="name" id="comments">
  87. <a class="href-link" href="#comments">#</a>
  88. <span class="code-name">
  89. comments
  90. </span>
  91. <span class='tag'>Optional</span>
  92. </h4>
  93. <div class="description">
  94. <p>User <a href="LMComment.html">comments</a> associated with this landmark.</p>
  95. </div>
  96. <dl class="details">
  97. <p class="tag-source">
  98. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  99. <span>
  100. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line259">line 259</a>
  101. </span>
  102. </p>
  103. </dl>
  104. </div>
  105. <div class="member">
  106. <span class="method-parameter is-pulled-right">
  107. <label>Type:</label>
  108. <span class="param-type">string</span>
  109. |
  110. <span class="param-type">null</span>
  111. </span>
  112. <h4 class="name" id="description">
  113. <a class="href-link" href="#description">#</a>
  114. <span class="code-name">
  115. description
  116. </span>
  117. <span class='tag'>Optional</span>
  118. </h4>
  119. <div class="description">
  120. <p>The landmark's description.</p>
  121. </div>
  122. <dl class="details">
  123. <p class="tag-source">
  124. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  125. <span>
  126. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line253">line 253</a>
  127. </span>
  128. </p>
  129. </dl>
  130. </div>
  131. <div class="member">
  132. <span class="method-parameter is-pulled-right">
  133. <label>Type:</label>
  134. <span class="param-type">string</span>
  135. |
  136. <span class="param-type">null</span>
  137. </span>
  138. <h4 class="name" id="id">
  139. <a class="href-link" href="#id">#</a>
  140. <span class="code-name">
  141. id
  142. </span>
  143. <span class='tag'>Optional</span>
  144. </h4>
  145. <div class="description">
  146. <p>The id of the landmark.</p>
  147. </div>
  148. <dl class="details">
  149. <p class="tag-source">
  150. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  151. <span>
  152. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line217">line 217</a>
  153. </span>
  154. </p>
  155. </dl>
  156. </div>
  157. <div class="member">
  158. <span class="method-parameter is-pulled-right">
  159. <label>Type:</label>
  160. <span class="param-type">number</span>
  161. |
  162. <span class="param-type">null</span>
  163. </span>
  164. <h4 class="name" id="landmark_type">
  165. <a class="href-link" href="#landmark_type">#</a>
  166. <span class="code-name">
  167. landmark_type
  168. </span>
  169. <span class='tag'>Optional</span>
  170. </h4>
  171. <div class="description">
  172. <p>An integer representing the type of this landmark.</p>
  173. </div>
  174. <dl class="details">
  175. <p class="tag-source">
  176. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  177. <span>
  178. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line265">line 265</a>
  179. </span>
  180. </p>
  181. </dl>
  182. </div>
  183. <div class="member">
  184. <span class="method-parameter is-pulled-right">
  185. <label>Type:</label>
  186. <span class="param-type">number</span>
  187. |
  188. <span class="param-type">null</span>
  189. </span>
  190. <h4 class="name" id="latitude">
  191. <a class="href-link" href="#latitude">#</a>
  192. <span class="code-name">
  193. latitude
  194. </span>
  195. <span class='tag'>Optional</span>
  196. </h4>
  197. <div class="description">
  198. <p>The latitude of the landmark's location.</p>
  199. </div>
  200. <dl class="details">
  201. <p class="tag-source">
  202. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  203. <span>
  204. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line241">line 241</a>
  205. </span>
  206. </p>
  207. </dl>
  208. </div>
  209. <div class="member">
  210. <span class="method-parameter is-pulled-right">
  211. <label>Type:</label>
  212. <span class="param-type">number</span>
  213. |
  214. <span class="param-type">null</span>
  215. </span>
  216. <h4 class="name" id="longitude">
  217. <a class="href-link" href="#longitude">#</a>
  218. <span class="code-name">
  219. longitude
  220. </span>
  221. <span class='tag'>Optional</span>
  222. </h4>
  223. <div class="description">
  224. <p>The longitude of the landmark's location.</p>
  225. </div>
  226. <dl class="details">
  227. <p class="tag-source">
  228. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  229. <span>
  230. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line235">line 235</a>
  231. </span>
  232. </p>
  233. </dl>
  234. </div>
  235. <div class="member">
  236. <span class="method-parameter is-pulled-right">
  237. <label>Type:</label>
  238. <span class="param-type">number</span>
  239. |
  240. <span class="param-type">null</span>
  241. </span>
  242. <h4 class="name" id="rating">
  243. <a class="href-link" href="#rating">#</a>
  244. <span class="code-name">
  245. rating
  246. </span>
  247. <span class='tag'>Optional</span>
  248. </h4>
  249. <div class="description">
  250. <p>The rating of the landmark.</p>
  251. </div>
  252. <dl class="details">
  253. <p class="tag-source">
  254. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  255. <span>
  256. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line223">line 223</a>
  257. </span>
  258. </p>
  259. </dl>
  260. </div>
  261. <div class="member">
  262. <span class="method-parameter is-pulled-right">
  263. <label>Type:</label>
  264. <span class="param-type">Date</span>
  265. |
  266. <span class="param-type">null</span>
  267. </span>
  268. <h4 class="name" id="time">
  269. <a class="href-link" href="#time">#</a>
  270. <span class="code-name">
  271. time
  272. </span>
  273. <span class='tag'>Optional</span>
  274. </h4>
  275. <div class="description">
  276. <p>A Date object representing when this landmark was created.</p>
  277. </div>
  278. <dl class="details">
  279. <p class="tag-source">
  280. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  281. <span>
  282. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line271">line 271</a>
  283. </span>
  284. </p>
  285. </dl>
  286. </div>
  287. <div class="member">
  288. <span class="method-parameter is-pulled-right">
  289. <label>Type:</label>
  290. <span class="param-type">string</span>
  291. |
  292. <span class="param-type">null</span>
  293. </span>
  294. <h4 class="name" id="title">
  295. <a class="href-link" href="#title">#</a>
  296. <span class="code-name">
  297. title
  298. </span>
  299. <span class='tag'>Optional</span>
  300. </h4>
  301. <div class="description">
  302. <p>The landmark's title.</p>
  303. </div>
  304. <dl class="details">
  305. <p class="tag-source">
  306. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  307. <span>
  308. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line247">line 247</a>
  309. </span>
  310. </p>
  311. </dl>
  312. </div>
  313. <div class="member">
  314. <span class="method-parameter is-pulled-right">
  315. <label>Type:</label>
  316. <span class="param-type">string</span>
  317. |
  318. <span class="param-type">null</span>
  319. </span>
  320. <h4 class="name" id="user">
  321. <a class="href-link" href="#user">#</a>
  322. <span class="code-name">
  323. user
  324. </span>
  325. <span class='tag'>Optional</span>
  326. </h4>
  327. <div class="description">
  328. <p>The id of the user who created the landmark.</p>
  329. </div>
  330. <dl class="details">
  331. <p class="tag-source">
  332. <a href="src_hooks_useLandmarks.ts.html" class="button">View Source</a>
  333. <span>
  334. <a href="src_hooks_useLandmarks.ts.html">src/hooks/useLandmarks.ts</a>, <a href="src_hooks_useLandmarks.ts.html#line229">line 229</a>
  335. </span>
  336. </p>
  337. </dl>
  338. </div>
  339. </div>
  340. </div>
  341. </article>
  342. </section>
  343. </div>
  344. <footer class="footer">
  345. <div class="content has-text-centered">
  346. <p>Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a></p>
  347. <p class="sidebar-created-by">
  348. <a href="https://github.com/SoftwareBrothers/better-docs" target="_blank">BetterDocs theme</a> provided with <i class="fas fa-heart"></i> by
  349. <a href="http://softwarebrothers.co" target="_blank">SoftwareBrothers - JavaScript Development Agency</a>
  350. </p>
  351. </div>
  352. </footer>
  353. </div>
  354. <div id="side-nav" class="side-nav">
  355. </div>
  356. </div>
  357. <script src="scripts/app.min.js"></script>
  358. <script>PR.prettyPrint();</script>
  359. <script src="scripts/linenumber.js"> </script>
  360. </body>
  361. </html>