@saltcorn/server 1.5.0-beta.0 → 1.5.0-beta.2

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 (909) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/navigation.js +1 -1
  3. package/docs/assets/search.js +1 -1
  4. package/docs/classes/_saltcorn_admin-models.models_snapshot.Snapshot.html +2 -2
  5. package/docs/classes/_saltcorn_common-code.relations_relation.Relation.html +4 -3
  6. package/docs/classes/_saltcorn_common-code.relations_relations_finder.RelationsFinder.html +5 -5
  7. package/docs/classes/_saltcorn_data.diagram_cy_raster.CytoscapeRaster.html +4 -4
  8. package/docs/classes/_saltcorn_data.diagram_nodes_dummy_node.DummyNode.html +4 -4
  9. package/docs/classes/_saltcorn_data.diagram_nodes_node.Node.html +4 -4
  10. package/docs/classes/_saltcorn_data.diagram_nodes_page_node.PageNode.html +4 -4
  11. package/docs/classes/_saltcorn_data.diagram_nodes_table_node.TableNode.html +4 -4
  12. package/docs/classes/_saltcorn_data.diagram_nodes_trigger_node.TriggerNode.html +4 -4
  13. package/docs/classes/_saltcorn_data.diagram_nodes_view_node.ViewNode.html +4 -4
  14. package/docs/classes/_saltcorn_data.mobile-mocks_node_async_hooks.AsyncLocalStorage.html +2 -2
  15. package/docs/classes/_saltcorn_data.models_crash.Crash.html +2 -2
  16. package/docs/classes/_saltcorn_data.models_eventlog.EventLog.html +2 -2
  17. package/docs/classes/_saltcorn_data.models_field.Field.html +9 -9
  18. package/docs/classes/_saltcorn_data.models_fieldrepeat.FieldRepeat.html +2 -2
  19. package/docs/classes/_saltcorn_data.models_file.File.html +21 -21
  20. package/docs/classes/_saltcorn_data.models_form.Form.html +2 -2
  21. package/docs/classes/_saltcorn_data.models_internal_mail_queue.MailQueue.html +9 -0
  22. package/docs/classes/_saltcorn_data.models_internal_push_message_helper.PushMessageHelper.html +3 -3
  23. package/docs/classes/_saltcorn_data.models_library.Library.html +2 -2
  24. package/docs/classes/_saltcorn_data.models_model.Model.html +2 -2
  25. package/docs/classes/_saltcorn_data.models_model_instance.ModelInstance.html +2 -2
  26. package/docs/classes/_saltcorn_data.models_notification.Notification.html +3 -2
  27. package/docs/classes/_saltcorn_data.models_page.Page.html +11 -11
  28. package/docs/classes/_saltcorn_data.models_page_group.PageGroup.html +16 -16
  29. package/docs/classes/_saltcorn_data.models_page_group_member.PageGroupMember.html +8 -8
  30. package/docs/classes/_saltcorn_data.models_plugin.Plugin.html +9 -9
  31. package/docs/classes/_saltcorn_data.models_role.Role.html +2 -2
  32. package/docs/classes/_saltcorn_data.models_table.Table.html +65 -65
  33. package/docs/classes/_saltcorn_data.models_table_constraints.TableConstraint.html +2 -2
  34. package/docs/classes/_saltcorn_data.models_tag.Tag.html +2 -2
  35. package/docs/classes/_saltcorn_data.models_tag_entry.TagEntry.html +2 -2
  36. package/docs/classes/_saltcorn_data.models_trigger.Trigger.html +19 -19
  37. package/docs/classes/_saltcorn_data.models_user.User.html +31 -31
  38. package/docs/classes/_saltcorn_data.models_view.View.html +15 -15
  39. package/docs/classes/_saltcorn_data.models_workflow.Workflow.html +2 -2
  40. package/docs/classes/_saltcorn_data.models_workflow_run.WorkflowRun.html +2 -2
  41. package/docs/classes/_saltcorn_data.models_workflow_step.WorkflowStep.html +2 -2
  42. package/docs/classes/_saltcorn_data.models_workflow_trace.MetaData.html +2 -2
  43. package/docs/classes/_saltcorn_data.models_workflow_trace.WorkflowTrace.html +2 -2
  44. package/docs/classes/_saltcorn_mobile-builder.mobile-builder.MobileBuilder.html +2 -2
  45. package/docs/classes/_saltcorn_mobile-builder.utils_capacitor-helper.CapacitorHelper.html +2 -2
  46. package/docs/enums/_saltcorn_common-code.relations_relation_types.RelationType.html +2 -2
  47. package/docs/enums/_saltcorn_common-code.relations_relation_types.ViewDisplayType.html +2 -2
  48. package/docs/functions/_saltcorn_admin-models.models_config-check.runConfigurationCheck.html +1 -1
  49. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.buildRelationPath.html +1 -1
  50. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.buildTableCaches.html +1 -1
  51. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.parseLegacyRelation.html +1 -1
  52. package/docs/functions/_saltcorn_common-code.relations_relation_helpers.parseRelationPath.html +1 -1
  53. package/docs/functions/_saltcorn_common-code.tests_test_data.fixturesData.html +1 -1
  54. package/docs/functions/_saltcorn_common-code.tests_test_data.withAnotherUserField.html +1 -1
  55. package/docs/functions/_saltcorn_common-code.tests_test_data.withKeyFromLayerThree.html +1 -1
  56. package/docs/functions/_saltcorn_common-code.tests_test_data.withKeyFromLayerTwo.html +1 -1
  57. package/docs/functions/_saltcorn_common-code.tests_test_data.withMultipleInbounds.html +1 -1
  58. package/docs/functions/_saltcorn_common-code.tests_test_data.withSecondTopicField.html +1 -1
  59. package/docs/functions/_saltcorn_common-code.tests_test_data.withSimplePostTopicrelation.html +1 -1
  60. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.radio_select.run.html +1 -1
  61. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.search_or_create.configFields.html +1 -1
  62. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.search_or_create.run.html +1 -1
  63. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.select.run.html +1 -1
  64. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.select_from_table.fill_options.html +1 -1
  65. package/docs/functions/_saltcorn_data.base-plugin_fieldviews.select_from_table.run.html +1 -1
  66. package/docs/functions/_saltcorn_data.base-plugin_types.bool.contract.html +1 -1
  67. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.TrueFalse.run.html +1 -1
  68. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.checkboxes.run.html +1 -1
  69. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.run.html +1 -1
  70. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.show.run.html +1 -1
  71. package/docs/functions/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.run.html +1 -1
  72. package/docs/functions/_saltcorn_data.base-plugin_types.bool.listAs.html +1 -1
  73. package/docs/functions/_saltcorn_data.base-plugin_types.bool.read.html +1 -1
  74. package/docs/functions/_saltcorn_data.base-plugin_types.bool.readFromDB.html +1 -1
  75. package/docs/functions/_saltcorn_data.base-plugin_types.bool.readFromFormRecord.html +1 -1
  76. package/docs/functions/_saltcorn_data.base-plugin_types.bool.validate.html +1 -1
  77. package/docs/functions/_saltcorn_data.base-plugin_types.color.contract.html +1 -1
  78. package/docs/functions/_saltcorn_data.base-plugin_types.color.fieldviews.edit.run.html +1 -1
  79. package/docs/functions/_saltcorn_data.base-plugin_types.color.fieldviews.show.run.html +1 -1
  80. package/docs/functions/_saltcorn_data.base-plugin_types.color.read.html +1 -1
  81. package/docs/functions/_saltcorn_data.base-plugin_types.color.validate.html +1 -1
  82. package/docs/functions/_saltcorn_data.base-plugin_types.date.contract.html +1 -1
  83. package/docs/functions/_saltcorn_data.base-plugin_types.date.equals.html +1 -1
  84. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.edit.run.html +1 -1
  85. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.run.html +1 -1
  86. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.format.run.html +1 -1
  87. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.relative.run.html +1 -1
  88. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.show.run.html +1 -1
  89. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.showDay.run.html +1 -1
  90. package/docs/functions/_saltcorn_data.base-plugin_types.date.fieldviews.yearsAgo.run.html +1 -1
  91. package/docs/functions/_saltcorn_data.base-plugin_types.date.presets.Now.html +1 -1
  92. package/docs/functions/_saltcorn_data.base-plugin_types.date.read.html +1 -1
  93. package/docs/functions/_saltcorn_data.base-plugin_types.date.validate.html +1 -1
  94. package/docs/functions/_saltcorn_data.base-plugin_types.float.contract.html +1 -1
  95. package/docs/functions/_saltcorn_data.base-plugin_types.float.equals.html +1 -1
  96. package/docs/functions/_saltcorn_data.base-plugin_types.float.fieldviews.edit.run.html +1 -1
  97. package/docs/functions/_saltcorn_data.base-plugin_types.float.fieldviews.show.run.html +1 -1
  98. package/docs/functions/_saltcorn_data.base-plugin_types.float.read.html +1 -1
  99. package/docs/functions/_saltcorn_data.base-plugin_types.float.validate.html +1 -1
  100. package/docs/functions/_saltcorn_data.base-plugin_types.int.contract.html +1 -1
  101. package/docs/functions/_saltcorn_data.base-plugin_types.int.read.html +1 -1
  102. package/docs/functions/_saltcorn_data.base-plugin_types.int.validate.html +1 -1
  103. package/docs/functions/_saltcorn_data.base-plugin_types.int.validate_attributes.html +1 -1
  104. package/docs/functions/_saltcorn_data.base-plugin_types.string.attributes.html +1 -1
  105. package/docs/functions/_saltcorn_data.base-plugin_types.string.contract.html +1 -1
  106. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.as_header.run.html +1 -1
  107. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.run.html +1 -1
  108. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.as_text.run.html +1 -1
  109. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.edit.configFields.html +1 -1
  110. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.edit.run.html +1 -1
  111. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.img_from_url.run.html +1 -1
  112. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.password.run.html +1 -1
  113. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.run.html +1 -1
  114. package/docs/functions/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.run.html +1 -1
  115. package/docs/functions/_saltcorn_data.base-plugin_types.string.presets.IP.html +1 -1
  116. package/docs/functions/_saltcorn_data.base-plugin_types.string.presets.SessionID.html +1 -1
  117. package/docs/functions/_saltcorn_data.base-plugin_types.string.read.html +1 -1
  118. package/docs/functions/_saltcorn_data.base-plugin_types.string.validate.html +1 -1
  119. package/docs/functions/_saltcorn_data.base-plugin_types.string.validate_attributes.html +1 -1
  120. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.action_link.html +1 -1
  121. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.action_url.html +1 -1
  122. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.fill_presets.html +1 -1
  123. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.getForm.html +1 -1
  124. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.get_view_link_query.html +1 -1
  125. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.get_viewable_fields.html +1 -1
  126. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.get_viewable_fields_from_layout.html +1 -1
  127. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.make_link.html +1 -1
  128. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.objToQueryString.html +1 -1
  129. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.parse_view_select.html +1 -1
  130. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.splitUniques.html +1 -1
  131. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.standardBlockDispatch.html +1 -1
  132. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.standardLayoutRowVisitor.html +1 -1
  133. package/docs/functions/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.view_linker.html +1 -1
  134. package/docs/functions/_saltcorn_data.db_connect_mobile.getConnectObject.html +1 -1
  135. package/docs/functions/_saltcorn_data.db_reset_schema.reset.html +1 -1
  136. package/docs/functions/_saltcorn_data.diagram_cy_generate_utils.generateCyCode.html +1 -1
  137. package/docs/functions/_saltcorn_data.diagram_cy_generate_utils.genereateCyCfg.html +1 -1
  138. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.buildObjectTrees.html +1 -1
  139. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.extractFromColumns.html +1 -1
  140. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.extractFromLayout.html +1 -1
  141. package/docs/functions/_saltcorn_data.diagram_node_extract_utils.extractViewToCreate.html +1 -1
  142. package/docs/functions/_saltcorn_data.migrate.create_blank_migration.html +1 -1
  143. package/docs/functions/_saltcorn_data.migrate.getMigrationsInDB.html +1 -1
  144. package/docs/functions/_saltcorn_data.migrate.migrate.html +1 -1
  145. package/docs/functions/_saltcorn_data.migrations_202102091312.js.html +1 -1
  146. package/docs/functions/_saltcorn_data.migrations_202210051058.js.html +1 -1
  147. package/docs/functions/_saltcorn_data.migrations_202210101540.js.html +1 -1
  148. package/docs/functions/_saltcorn_data.migrations_202304281224.js.html +1 -1
  149. package/docs/functions/_saltcorn_data.migrations_202307211459.js.html +1 -1
  150. package/docs/functions/_saltcorn_data.migrations_202502131103.js.html +1 -1
  151. package/docs/functions/_saltcorn_data.migrations_202508011455.js.html +1 -1
  152. package/docs/functions/_saltcorn_data.migrations_202510152058.js.html +1 -1
  153. package/docs/functions/_saltcorn_data.mobile-mocks_node_child_process.execSync.html +1 -1
  154. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs.createReadStream.html +1 -1
  155. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs.readdirSync.html +1 -1
  156. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs.writeFileSync.html +1 -1
  157. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.mkdir.html +1 -1
  158. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.readFile.html +1 -1
  159. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.stat.html +1 -1
  160. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.unlink.html +1 -1
  161. package/docs/functions/_saltcorn_data.mobile-mocks_node_fs_promises.writeFile.html +1 -1
  162. package/docs/functions/_saltcorn_data.mobile-mocks_node_latest-version.latestVersion.html +1 -1
  163. package/docs/functions/_saltcorn_data.mobile-mocks_node_v8.deserialize.html +1 -1
  164. package/docs/functions/_saltcorn_data.mobile-mocks_node_v8.serialize.html +1 -1
  165. package/docs/functions/_saltcorn_data.mobile-mocks_npm_env-paths.envPaths.html +1 -1
  166. package/docs/functions/_saltcorn_data.model-helper.get_predictor.html +1 -1
  167. package/docs/functions/_saltcorn_data.model-helper.run_jupyter_model.html +1 -1
  168. package/docs/functions/_saltcorn_data.model-helper.shorten_trackback.html +1 -1
  169. package/docs/functions/_saltcorn_data.model-helper.write_csv.html +1 -1
  170. package/docs/functions/_saltcorn_data.models_internal_async_json_stream.async_json_stream.html +1 -1
  171. package/docs/functions/_saltcorn_data.models_internal_query.aggregation_query_fields.html +1 -1
  172. package/docs/functions/_saltcorn_data.models_internal_query.getAggAndField.html +1 -1
  173. package/docs/functions/_saltcorn_data.models_internal_query.joinfield_renamer.html +1 -1
  174. package/docs/functions/_saltcorn_data.models_internal_query.process_aggregations.html +1 -1
  175. package/docs/functions/_saltcorn_data.models_internal_table_helper.boolExamples.html +1 -1
  176. package/docs/functions/_saltcorn_data.models_internal_table_helper.colorExamples.html +1 -1
  177. package/docs/functions/_saltcorn_data.models_internal_table_helper.floatExamples.html +1 -1
  178. package/docs/functions/_saltcorn_data.models_internal_table_helper.get_formula_examples.html +1 -1
  179. package/docs/functions/_saltcorn_data.models_internal_table_helper.intExamples.html +1 -1
  180. package/docs/functions/_saltcorn_data.models_internal_table_helper.stringExamples.html +1 -1
  181. package/docs/functions/_saltcorn_data.plugin-helper.build_schema_data.html +1 -1
  182. package/docs/functions/_saltcorn_data.plugin-helper.calcfldViewConfig.html +1 -1
  183. package/docs/functions/_saltcorn_data.plugin-helper.calcfldViewOptions.html +1 -1
  184. package/docs/functions/_saltcorn_data.plugin-helper.calcrelViewOptions.html +1 -1
  185. package/docs/functions/_saltcorn_data.plugin-helper.displayType.html +1 -1
  186. package/docs/functions/_saltcorn_data.plugin-helper.field_picker_fields.html +1 -1
  187. package/docs/functions/_saltcorn_data.plugin-helper.generate_joined_query.html +1 -1
  188. package/docs/functions/_saltcorn_data.plugin-helper.getActionConfigFields.html +1 -1
  189. package/docs/functions/_saltcorn_data.plugin-helper.get_child_views.html +1 -1
  190. package/docs/functions/_saltcorn_data.plugin-helper.get_inbound_relation_opts.html +1 -1
  191. package/docs/functions/_saltcorn_data.plugin-helper.get_inbound_self_relation_opts.html +1 -1
  192. package/docs/functions/_saltcorn_data.plugin-helper.get_link_view_opts.html +1 -1
  193. package/docs/functions/_saltcorn_data.plugin-helper.get_many_to_many_relation_opts.html +1 -1
  194. package/docs/functions/_saltcorn_data.plugin-helper.get_parent_views.html +1 -1
  195. package/docs/functions/_saltcorn_data.plugin-helper.initial_config_all_fields.html +1 -1
  196. package/docs/functions/_saltcorn_data.plugin-helper.json_list_to_external_table.html +1 -1
  197. package/docs/functions/_saltcorn_data.plugin-helper.link_view.html +1 -1
  198. package/docs/functions/_saltcorn_data.plugin-helper.pathToState.html +1 -1
  199. package/docs/functions/_saltcorn_data.plugin-helper.picked_fields_to_query.html +1 -1
  200. package/docs/functions/_saltcorn_data.plugin-helper.readState.html +1 -1
  201. package/docs/functions/_saltcorn_data.plugin-helper.readStateStrict.html +1 -1
  202. package/docs/functions/_saltcorn_data.plugin-helper.runCollabEvents.html +1 -1
  203. package/docs/functions/_saltcorn_data.plugin-helper.run_action_column.html +1 -1
  204. package/docs/functions/_saltcorn_data.plugin-helper.stateFieldsToQuery.html +1 -1
  205. package/docs/functions/_saltcorn_data.plugin-helper.stateFieldsToWhere.html +1 -1
  206. package/docs/functions/_saltcorn_data.plugin-helper.stateToQueryString.html +1 -1
  207. package/docs/functions/_saltcorn_data.plugin-helper.strictParseInt.html +1 -1
  208. package/docs/functions/_saltcorn_data.plugin-testing.auto_test_plugin.html +1 -1
  209. package/docs/functions/_saltcorn_data.plugin-testing.check_view_columns.html +1 -1
  210. package/docs/functions/_saltcorn_data.plugin-testing.generate_attributes.html +1 -1
  211. package/docs/functions/_saltcorn_data.standard-menu.create_standard_menu.html +1 -1
  212. package/docs/functions/_saltcorn_data.tests_assertions.assertIsErrorMsg.html +1 -1
  213. package/docs/functions/_saltcorn_data.tests_assertions.assertIsErrorsMsg.html +1 -1
  214. package/docs/functions/_saltcorn_data.tests_assertions.assertIsRow.html +1 -1
  215. package/docs/functions/_saltcorn_data.tests_assertions.assertIsSet.html +1 -1
  216. package/docs/functions/_saltcorn_data.tests_assertions.assertIsType.html +1 -1
  217. package/docs/functions/_saltcorn_data.tests_assertions.assertsIsSuccessMessage.html +1 -1
  218. package/docs/functions/_saltcorn_data.tests_assertions.assertsObjectIsUser.html +1 -1
  219. package/docs/functions/_saltcorn_data.tests_common_helpers.createAnotherUserField.html +1 -1
  220. package/docs/functions/_saltcorn_data.tests_common_helpers.createKeyFromLevelTwo.html +1 -1
  221. package/docs/functions/_saltcorn_data.tests_common_helpers.createLevelThreeInbound.html +1 -1
  222. package/docs/functions/_saltcorn_data.tests_common_helpers.createMultipleInbounds.html +1 -1
  223. package/docs/functions/_saltcorn_data.tests_common_helpers.createSecondTopicField.html +1 -1
  224. package/docs/functions/_saltcorn_data.tests_common_helpers.prepareEmployeeDepartment.html +1 -1
  225. package/docs/functions/_saltcorn_data.tests_common_helpers.prepareSimpleTopicPostRelation.html +1 -1
  226. package/docs/functions/_saltcorn_data.tests_remote_query_helper.deleteViewFromServer.html +1 -1
  227. package/docs/functions/_saltcorn_data.tests_remote_query_helper.prepareQueryEnviroment.html +1 -1
  228. package/docs/functions/_saltcorn_data.tests_remote_query_helper.sendViewToServer.html +1 -1
  229. package/docs/functions/_saltcorn_data.translate.hasLLM.html +1 -1
  230. package/docs/functions/_saltcorn_data.translate.translate.html +1 -1
  231. package/docs/functions/_saltcorn_db-common.internal.ftsFieldsSqlExpr.html +1 -1
  232. package/docs/functions/_saltcorn_db-common.internal.mkSelectOptions.html +1 -1
  233. package/docs/functions/_saltcorn_db-common.internal.mkWhere.html +1 -1
  234. package/docs/functions/_saltcorn_db-common.internal.orderByIsObject.html +1 -1
  235. package/docs/functions/_saltcorn_db-common.internal.orderByIsOperator.html +1 -1
  236. package/docs/functions/_saltcorn_db-common.internal.prefixFieldsInWhere.html +1 -1
  237. package/docs/functions/_saltcorn_db-common.internal.sqlBinOp.html +1 -1
  238. package/docs/functions/_saltcorn_db-common.internal.sqlFun.html +1 -1
  239. package/docs/functions/_saltcorn_db-common.internal.sqlsanitize.html +1 -1
  240. package/docs/functions/_saltcorn_db-common.internal.sqlsanitizeAllowDots.html +1 -1
  241. package/docs/functions/_saltcorn_db-common.internal.subSelectWhere.html +1 -1
  242. package/docs/functions/_saltcorn_db-common.multi-tenant.enable_multi_tenant.html +1 -1
  243. package/docs/functions/_saltcorn_db-common.multi-tenant.getRequestContext.html +1 -1
  244. package/docs/functions/_saltcorn_db-common.multi-tenant.getTenantSchema.html +1 -1
  245. package/docs/functions/_saltcorn_db-common.multi-tenant.init.html +1 -1
  246. package/docs/functions/_saltcorn_db-common.multi-tenant.is_it_multi_tenant.html +1 -1
  247. package/docs/functions/_saltcorn_db-common.multi-tenant.runWithTenant.html +1 -1
  248. package/docs/functions/_saltcorn_db-common.sqlite-commons.buildInsertBulkSql.html +1 -1
  249. package/docs/functions/_saltcorn_db-common.sqlite-commons.buildInsertSql.html +1 -1
  250. package/docs/functions/_saltcorn_db-common.sqlite-commons.commitAndBeginNewTransaction.html +1 -1
  251. package/docs/functions/_saltcorn_db-common.sqlite-commons.doCount.html +1 -1
  252. package/docs/functions/_saltcorn_db-common.sqlite-commons.doDeleteWhere.html +1 -1
  253. package/docs/functions/_saltcorn_db-common.sqlite-commons.doListScTables.html +1 -1
  254. package/docs/functions/_saltcorn_db-common.sqlite-commons.doListTables.html +1 -1
  255. package/docs/functions/_saltcorn_db-common.sqlite-commons.doListUserDefinedTables.html +1 -1
  256. package/docs/functions/_saltcorn_db-common.sqlite-commons.do_add_index.html +1 -1
  257. package/docs/functions/_saltcorn_db-common.sqlite-commons.do_drop_index.html +1 -1
  258. package/docs/functions/_saltcorn_db-common.sqlite-commons.mkVal.html +1 -1
  259. package/docs/functions/_saltcorn_db-common.sqlite-commons.openOrUseTransaction.html +4 -0
  260. package/docs/functions/_saltcorn_db-common.sqlite-commons.reprAsJson.html +1 -1
  261. package/docs/functions/_saltcorn_db-common.sqlite-commons.slugify.html +1 -1
  262. package/docs/functions/_saltcorn_db-common.sqlite-commons.tryCatchInTransaction.html +1 -1
  263. package/docs/functions/_saltcorn_db-common.sqlite-commons.whenTransactionisFree.html +4 -0
  264. package/docs/functions/_saltcorn_db-common.sqlite-commons.withTransaction.html +1 -1
  265. package/docs/functions/_saltcorn_markup.mktag.mkTag.html +1 -1
  266. package/docs/functions/_saltcorn_markup.tabs.tabs.html +1 -1
  267. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.androidFeatures.html +1 -1
  268. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.androidPermissions.html +1 -1
  269. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.buildTablesFile.html +1 -1
  270. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyPrepopulatedDb.html +1 -1
  271. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyServerFiles.html +1 -1
  272. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyShareExtFiles.html +1 -1
  273. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copySiteLogo.html +1 -1
  274. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.copyTranslationFiles.html +1 -1
  275. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.createSqliteDb.html +1 -1
  276. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.decodeProvisioningProfile.html +1 -1
  277. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.extractDomain.html +1 -1
  278. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.generateAndroidVersionCode.html +1 -1
  279. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyAndroidManifest.html +1 -1
  280. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyConfigXml.html +1 -1
  281. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyGradleConfig.html +1 -1
  282. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyInfoPlist.html +1 -1
  283. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.modifyXcodeProjectFile.html +1 -1
  284. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepAppIcon.html +1 -1
  285. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareAppIcon.html +1 -1
  286. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareBuildDir.html +1 -1
  287. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareExportOptionsPlist.html +1 -1
  288. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareSplashIcon.html +1 -1
  289. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.prepareSplashPage.html +1 -1
  290. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeCapacitorConfig.html +1 -1
  291. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeCfgFile.html +1 -1
  292. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeDataExtractionRules.html +1 -1
  293. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writeNetworkSecurityConfig.html +1 -1
  294. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writePodfile.html +1 -1
  295. package/docs/functions/_saltcorn_mobile-builder.utils_common-build-utils.writePrivacyInfo.html +1 -1
  296. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.bundleMobileAppCode.html +1 -1
  297. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.bundlePackagesAndPlugins.html +1 -1
  298. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.copyMobileAppDirs.html +1 -1
  299. package/docs/functions/_saltcorn_mobile-builder.utils_package-bundle-utils.copyPublicDirs.html +1 -1
  300. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.add_index.html +1 -1
  301. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.add_unique_constraint.html +1 -1
  302. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.count.html +1 -1
  303. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.deleteWhere.html +1 -1
  304. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.drop_index.html +1 -1
  305. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.drop_reset_schema.html +1 -1
  306. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.drop_unique_constraint.html +1 -1
  307. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.init.html +1 -1
  308. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.insert.html +1 -1
  309. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.insertRows.html +1 -1
  310. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.listScTables.html +1 -1
  311. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.listTables.html +1 -1
  312. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.listUserDefinedTables.html +1 -1
  313. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.query.html +1 -1
  314. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.select.html +1 -1
  315. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.selectMaybeOne.html +1 -1
  316. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.selectOne.html +1 -1
  317. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.setConnectionObject.html +1 -1
  318. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.tableExists.html +1 -1
  319. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.time.html +1 -1
  320. package/docs/functions/_saltcorn_sqlite-mobile.sqlite_capacitor.update.html +1 -1
  321. package/docs/functions/_saltcorn_sqlite.sqlite.add_index.html +1 -1
  322. package/docs/functions/_saltcorn_sqlite.sqlite.add_unique_constraint.html +1 -1
  323. package/docs/functions/_saltcorn_sqlite.sqlite.begin.html +1 -1
  324. package/docs/functions/_saltcorn_sqlite.sqlite.changeConnection.html +1 -1
  325. package/docs/functions/_saltcorn_sqlite.sqlite.close.html +1 -1
  326. package/docs/functions/_saltcorn_sqlite.sqlite.commit.html +1 -1
  327. package/docs/functions/_saltcorn_sqlite.sqlite.count.html +1 -1
  328. package/docs/functions/_saltcorn_sqlite.sqlite.deleteWhere.html +1 -1
  329. package/docs/functions/_saltcorn_sqlite.sqlite.dropTable.html +1 -1
  330. package/docs/functions/_saltcorn_sqlite.sqlite.dropTables.html +1 -1
  331. package/docs/functions/_saltcorn_sqlite.sqlite.drop_index.html +1 -1
  332. package/docs/functions/_saltcorn_sqlite.sqlite.drop_reset_schema.html +1 -1
  333. package/docs/functions/_saltcorn_sqlite.sqlite.drop_unique_constraint.html +1 -1
  334. package/docs/functions/_saltcorn_sqlite.sqlite.getVersion.html +1 -1
  335. package/docs/functions/_saltcorn_sqlite.sqlite.get_db_filepath.html +1 -1
  336. package/docs/functions/_saltcorn_sqlite.sqlite.get_sql_logging.html +1 -1
  337. package/docs/functions/_saltcorn_sqlite.sqlite.init.html +1 -1
  338. package/docs/functions/_saltcorn_sqlite.sqlite.insert.html +1 -1
  339. package/docs/functions/_saltcorn_sqlite.sqlite.listScTables.html +1 -1
  340. package/docs/functions/_saltcorn_sqlite.sqlite.listTables.html +1 -1
  341. package/docs/functions/_saltcorn_sqlite.sqlite.listUserDefinedTables.html +1 -1
  342. package/docs/functions/_saltcorn_sqlite.sqlite.query.html +1 -1
  343. package/docs/functions/_saltcorn_sqlite.sqlite.rollback.html +1 -1
  344. package/docs/functions/_saltcorn_sqlite.sqlite.select.html +1 -1
  345. package/docs/functions/_saltcorn_sqlite.sqlite.selectMaybeOne.html +1 -1
  346. package/docs/functions/_saltcorn_sqlite.sqlite.selectOne.html +1 -1
  347. package/docs/functions/_saltcorn_sqlite.sqlite.set_sql_logging.html +1 -1
  348. package/docs/functions/_saltcorn_sqlite.sqlite.sql_log.html +1 -1
  349. package/docs/functions/_saltcorn_sqlite.sqlite.update.html +1 -1
  350. package/docs/functions/_saltcorn_sqlite.sqlite.updateWhere.html +1 -1
  351. package/docs/functions/_saltcorn_types.base_types.instanceOWithHtmlFile.html +1 -1
  352. package/docs/functions/_saltcorn_types.common_types.instanceOfErrorMsg.html +1 -1
  353. package/docs/functions/_saltcorn_types.common_types.instanceOfSuccessMsg.html +1 -1
  354. package/docs/functions/_saltcorn_types.common_types.instanceOfType.html +1 -1
  355. package/docs/functions/_saltcorn_types.model-abstracts_abstract_field.instanceOfField.html +1 -1
  356. package/docs/functions/_saltcorn_types.model-abstracts_abstract_page.instanceOfPage.html +1 -1
  357. package/docs/functions/_saltcorn_types.model-abstracts_abstract_view.instanceOfView.html +1 -1
  358. package/docs/hierarchy.html +1 -1
  359. package/docs/interfaces/_saltcorn_markup.types.TagExports.html +2 -2
  360. package/docs/interfaces/_saltcorn_mobile-builder.utils_common-build-utils.ScCapacitorConfig.html +2 -2
  361. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_field.AbstractField.html +2 -2
  362. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_field.AbstractFieldRepeat.html +2 -2
  363. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_form.AbstractForm.html +2 -2
  364. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_page.AbstractPage.html +2 -2
  365. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_page_group.AbstractPageGroup.html +2 -2
  366. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_page_group_member.AbstractPageGroupMember.html +2 -2
  367. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_role.AbstractRole.html +2 -2
  368. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_table.AbstractTable.html +2 -2
  369. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_tag.AbstractTag.html +2 -2
  370. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_tag_entry.AbstractTagEntry.html +2 -2
  371. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_trigger.AbstractTrigger.html +2 -2
  372. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_user.AbstractUser.html +2 -2
  373. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_user.ForUserRequest.html +2 -2
  374. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_view.AbstractView.html +2 -2
  375. package/docs/interfaces/_saltcorn_types.model-abstracts_abstract_workflow.AbstractWorkflow.html +2 -2
  376. package/docs/modules/_saltcorn_data.html +1 -1
  377. package/docs/modules/_saltcorn_data.migrations_202511081024.html +1 -0
  378. package/docs/modules/_saltcorn_data.mobile-mocks_models_internal_mail_queue.html +1 -0
  379. package/docs/modules/_saltcorn_data.models_internal_mail_queue-1.html +1 -0
  380. package/docs/modules/_saltcorn_data.models_internal_mail_queue.html +1 -0
  381. package/docs/modules/_saltcorn_data.tests_mail_queue.test.html +1 -0
  382. package/docs/modules/_saltcorn_db-common..html +1 -1
  383. package/docs/modules/_saltcorn_db-common.index.html +1 -1
  384. package/docs/modules/_saltcorn_db-common.sqlite-commons.html +1 -1
  385. package/docs/modules/_saltcorn_sqlite..html +1 -1
  386. package/docs/modules/_saltcorn_sqlite.index.html +1 -1
  387. package/docs/modules/_saltcorn_sqlite.sqlite.html +1 -1
  388. package/docs/types/_saltcorn_data.diagram_node_extract_utils.ExtractOpts.html +2 -2
  389. package/docs/types/_saltcorn_data.diagram_node_extract_utils.ExtractResult.html +2 -2
  390. package/docs/types/_saltcorn_data.diagram_nodes_node.NodeType.html +1 -1
  391. package/docs/types/_saltcorn_data.models_config.ConfigTypes.html +1 -1
  392. package/docs/types/_saltcorn_data.models_config.SingleConfig.html +1 -1
  393. package/docs/types/_saltcorn_data.models_eventlog.EventLogCfg.html +2 -2
  394. package/docs/types/_saltcorn_data.models_file.FileCfg.html +2 -2
  395. package/docs/types/_saltcorn_data.models_form.AdditionalButton.html +1 -1
  396. package/docs/types/_saltcorn_data.models_form.FormCfg.html +2 -2
  397. package/docs/types/_saltcorn_data.models_internal_push_message_helper.FcmSubscription.html +2 -2
  398. package/docs/types/_saltcorn_data.models_internal_push_message_helper.Subscription.html +1 -1
  399. package/docs/types/_saltcorn_data.models_internal_push_message_helper.WebPushSubscription.html +2 -2
  400. package/docs/types/_saltcorn_data.models_page_group.ScreenInfoParams.html +2 -2
  401. package/docs/types/_saltcorn_data.models_table.ChildRelations.html +2 -2
  402. package/docs/types/_saltcorn_data.models_table.ParentRelations.html +2 -2
  403. package/docs/types/_saltcorn_data.models_table.RelationData.html +2 -2
  404. package/docs/types/_saltcorn_data.models_tag_entry.TagEntryCfg.html +1 -1
  405. package/docs/types/_saltcorn_data.models_view.FindViewsPred.html +1 -1
  406. package/docs/types/_saltcorn_db-common.internal.AggregationOptions.html +2 -2
  407. package/docs/types/_saltcorn_db-common.internal.CoordOpts.html +2 -2
  408. package/docs/types/_saltcorn_db-common.internal.DatabaseClient.html +2 -2
  409. package/docs/types/_saltcorn_db-common.internal.JoinField.html +2 -2
  410. package/docs/types/_saltcorn_db-common.internal.JoinFields.html +1 -1
  411. package/docs/types/_saltcorn_db-common.internal.JoinOptions.html +1 -1
  412. package/docs/types/_saltcorn_db-common.internal.JsonPath.html +1 -1
  413. package/docs/types/_saltcorn_db-common.internal.JsonPathElem.html +1 -1
  414. package/docs/types/_saltcorn_db-common.internal.Operator.html +1 -1
  415. package/docs/types/_saltcorn_db-common.internal.PartialSome.html +1 -1
  416. package/docs/types/_saltcorn_db-common.internal.PrimaryKeyValue.html +1 -1
  417. package/docs/types/_saltcorn_db-common.internal.Row.html +1 -1
  418. package/docs/types/_saltcorn_db-common.internal.SelectOptions.html +3 -2
  419. package/docs/types/_saltcorn_db-common.internal.StrongRow.html +1 -1
  420. package/docs/types/_saltcorn_db-common.internal.SubselectOptions.html +2 -2
  421. package/docs/types/_saltcorn_db-common.internal.Value.html +1 -1
  422. package/docs/types/_saltcorn_db-common.internal.Where.html +2 -2
  423. package/docs/types/_saltcorn_db-common.sqlite-commons.SqlAndValues.html +2 -2
  424. package/docs/types/_saltcorn_db-common.types.DbExportsType.html +2 -2
  425. package/docs/types/_saltcorn_db-common.types.GenObj.html +1 -1
  426. package/docs/types/_saltcorn_markup.emergency_layout.WrapParams.html +2 -2
  427. package/docs/types/_saltcorn_markup.helpers.CheckBoxGroupOpts.html +2 -2
  428. package/docs/types/_saltcorn_markup.helpers.PaginationOpts.html +2 -2
  429. package/docs/types/_saltcorn_markup.helpers.RadioGroupOpts.html +2 -2
  430. package/docs/types/_saltcorn_markup.helpers.SearchBarOpts.html +2 -2
  431. package/docs/types/_saltcorn_markup.layout.RenderOpts-1.html +2 -2
  432. package/docs/types/_saltcorn_markup.layout.RenderOpts.html +2 -2
  433. package/docs/types/_saltcorn_markup.mjml-layout.RenderOpts.html +2 -2
  434. package/docs/types/_saltcorn_markup.table.HeadersParams.html +2 -2
  435. package/docs/types/_saltcorn_markup.table.OptsParams.html +2 -2
  436. package/docs/types/_saltcorn_markup.types.AttributeVal.html +1 -1
  437. package/docs/types/_saltcorn_markup.types.Attributes.html +2 -2
  438. package/docs/types/_saltcorn_markup.types.ClassVal.html +1 -1
  439. package/docs/types/_saltcorn_markup.types.Element.html +1 -1
  440. package/docs/types/_saltcorn_markup.types.Falsy.html +1 -1
  441. package/docs/types/_saltcorn_markup.types.StyleVal.html +1 -1
  442. package/docs/types/_saltcorn_markup.types.TagFunction.html +1 -1
  443. package/docs/types/_saltcorn_mobile-builder.mobile-builder.IosCfg.html +2 -2
  444. package/docs/types/_saltcorn_mobile-builder.utils_capacitor-helper.CapacitorCfg.html +2 -2
  445. package/docs/types/_saltcorn_types.base_types.Action.html +3 -3
  446. package/docs/types/_saltcorn_types.base_types.AuthenticationMethod.html +2 -2
  447. package/docs/types/_saltcorn_types.base_types.CalcJoinfield.html +2 -2
  448. package/docs/types/_saltcorn_types.base_types.CapacitorPlugin.html +2 -2
  449. package/docs/types/_saltcorn_types.base_types.CodePagePack.html +2 -2
  450. package/docs/types/_saltcorn_types.base_types.Column.html +2 -2
  451. package/docs/types/_saltcorn_types.base_types.ConnectObjType.html +2 -2
  452. package/docs/types/_saltcorn_types.base_types.ConnectedObjects.html +2 -2
  453. package/docs/types/_saltcorn_types.base_types.CopilotSkill.html +2 -2
  454. package/docs/types/_saltcorn_types.base_types.ErrorObj.html +2 -2
  455. package/docs/types/_saltcorn_types.base_types.FieldLike.html +1 -1
  456. package/docs/types/_saltcorn_types.base_types.FieldView.html +1 -1
  457. package/docs/types/_saltcorn_types.base_types.Header.html +2 -2
  458. package/docs/types/_saltcorn_types.base_types.JoinFieldOption.html +2 -2
  459. package/docs/types/_saltcorn_types.base_types.Layout.html +1 -1
  460. package/docs/types/_saltcorn_types.base_types.MobileConfig.html +2 -2
  461. package/docs/types/_saltcorn_types.base_types.ModelPattern.html +6 -6
  462. package/docs/types/_saltcorn_types.base_types.Pack.html +2 -2
  463. package/docs/types/_saltcorn_types.base_types.Plugin.html +1 -1
  464. package/docs/types/_saltcorn_types.base_types.PluginFunction.html +2 -2
  465. package/docs/types/_saltcorn_types.base_types.PluginLayout.html +2 -2
  466. package/docs/types/_saltcorn_types.base_types.PluginRoute.html +2 -2
  467. package/docs/types/_saltcorn_types.base_types.PluginSourceType.html +1 -1
  468. package/docs/types/_saltcorn_types.base_types.PluginType.html +2 -2
  469. package/docs/types/_saltcorn_types.base_types.PluginWrap.html +1 -1
  470. package/docs/types/_saltcorn_types.base_types.PluginWrapArg.html +2 -2
  471. package/docs/types/_saltcorn_types.base_types.RelationOption.html +2 -2
  472. package/docs/types/_saltcorn_types.base_types.Req.html +2 -2
  473. package/docs/types/_saltcorn_types.base_types.Res.html +2 -2
  474. package/docs/types/_saltcorn_types.base_types.ResultType.html +2 -2
  475. package/docs/types/_saltcorn_types.base_types.RouteAction.html +1 -1
  476. package/docs/types/_saltcorn_types.base_types.RunExtra.html +1 -1
  477. package/docs/types/_saltcorn_types.base_types.SlugStepType.html +2 -2
  478. package/docs/types/_saltcorn_types.base_types.StepResType.html +1 -1
  479. package/docs/types/_saltcorn_types.base_types.SubField.html +2 -2
  480. package/docs/types/_saltcorn_types.base_types.TableProvider.html +2 -2
  481. package/docs/types/_saltcorn_types.base_types.TableQuery.html +2 -2
  482. package/docs/types/_saltcorn_types.base_types.Tablely.html +1 -1
  483. package/docs/types/_saltcorn_types.base_types.ViewTemplate.html +2 -2
  484. package/docs/types/_saltcorn_types.common_types.ErrorMessage.html +2 -2
  485. package/docs/types/_saltcorn_types.common_types.GenObj.html +1 -1
  486. package/docs/types/_saltcorn_types.common_types.ReqRes.html +2 -2
  487. package/docs/types/_saltcorn_types.common_types.ResultMessage.html +1 -1
  488. package/docs/types/_saltcorn_types.common_types.SuccessMessage.html +2 -2
  489. package/docs/types/_saltcorn_types.common_types.Type.html +2 -2
  490. package/docs/types/_saltcorn_types.model-abstracts_abstract_event_log.EventLogPack.html +2 -2
  491. package/docs/types/_saltcorn_types.model-abstracts_abstract_field.FieldCfg.html +2 -2
  492. package/docs/types/_saltcorn_types.model-abstracts_abstract_field.InputType.html +1 -1
  493. package/docs/types/_saltcorn_types.model-abstracts_abstract_form.AdditionalButton.html +2 -2
  494. package/docs/types/_saltcorn_types.model-abstracts_abstract_library.LibraryCfg.html +2 -2
  495. package/docs/types/_saltcorn_types.model-abstracts_abstract_library.LibraryPack.html +1 -1
  496. package/docs/types/_saltcorn_types.model-abstracts_abstract_model.ModelCfg.html +2 -2
  497. package/docs/types/_saltcorn_types.model-abstracts_abstract_model.ModelPack.html +1 -1
  498. package/docs/types/_saltcorn_types.model-abstracts_abstract_model_instance.ModelInstanceCfg.html +2 -2
  499. package/docs/types/_saltcorn_types.model-abstracts_abstract_model_instance.ModelInstancePack.html +1 -1
  500. package/docs/types/_saltcorn_types.model-abstracts_abstract_page.PageCfg.html +2 -2
  501. package/docs/types/_saltcorn_types.model-abstracts_abstract_page.PagePack.html +1 -1
  502. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group.PageGroupCfg.html +2 -2
  503. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group.PageGroupPack.html +1 -1
  504. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group_member.PageGroupMemberCfg.html +2 -2
  505. package/docs/types/_saltcorn_types.model-abstracts_abstract_page_group_member.PageGroupMemberPack.html +1 -1
  506. package/docs/types/_saltcorn_types.model-abstracts_abstract_plugin.PluginCfg.html +2 -2
  507. package/docs/types/_saltcorn_types.model-abstracts_abstract_plugin.PluginPack.html +1 -1
  508. package/docs/types/_saltcorn_types.model-abstracts_abstract_role.RoleCfg.html +1 -1
  509. package/docs/types/_saltcorn_types.model-abstracts_abstract_role.RolePack.html +1 -1
  510. package/docs/types/_saltcorn_types.model-abstracts_abstract_table.TableCfg.html +2 -2
  511. package/docs/types/_saltcorn_types.model-abstracts_abstract_table.TablePack.html +1 -1
  512. package/docs/types/_saltcorn_types.model-abstracts_abstract_tag.TagPack.html +2 -2
  513. package/docs/types/_saltcorn_types.model-abstracts_abstract_tag_entry.TagEntryPack.html +2 -2
  514. package/docs/types/_saltcorn_types.model-abstracts_abstract_trigger.TriggerCfg.html +2 -2
  515. package/docs/types/_saltcorn_types.model-abstracts_abstract_trigger.TriggerPack.html +1 -1
  516. package/docs/types/_saltcorn_types.model-abstracts_abstract_view.ViewCfg.html +2 -2
  517. package/docs/types/_saltcorn_types.model-abstracts_abstract_view.ViewPack.html +1 -1
  518. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow.ConfigWorkflowStep.html +1 -1
  519. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow.RunResult.html +2 -2
  520. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_run.WorkflowRunCfg.html +2 -2
  521. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_step.WorkflowStepCfg.html +2 -2
  522. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_step.WorkflowStepPack.html +1 -1
  523. package/docs/types/_saltcorn_types.model-abstracts_abstract_workflow_trace.WorkflowTraceCfg.html +2 -2
  524. package/docs/variables/_saltcorn_admin-models..backup.create_backup.html +1 -1
  525. package/docs/variables/_saltcorn_admin-models..backup.create_csv_from_rows.html +1 -1
  526. package/docs/variables/_saltcorn_admin-models..backup.restore.html +1 -1
  527. package/docs/variables/_saltcorn_admin-models..pack.add_to_menu.html +1 -1
  528. package/docs/variables/_saltcorn_admin-models..pack.can_install_pack.html +1 -1
  529. package/docs/variables/_saltcorn_admin-models..pack.fetch_available_packs.html +1 -1
  530. package/docs/variables/_saltcorn_admin-models..pack.fetch_pack_by_name.html +1 -1
  531. package/docs/variables/_saltcorn_admin-models..pack.install_pack.html +1 -1
  532. package/docs/variables/_saltcorn_admin-models..pack.library_pack.html +1 -1
  533. package/docs/variables/_saltcorn_admin-models..pack.model_instance_pack.html +1 -1
  534. package/docs/variables/_saltcorn_admin-models..pack.model_pack.html +1 -1
  535. package/docs/variables/_saltcorn_admin-models..pack.page_group_pack.html +1 -1
  536. package/docs/variables/_saltcorn_admin-models..pack.page_pack.html +1 -1
  537. package/docs/variables/_saltcorn_admin-models..pack.plugin_pack.html +1 -1
  538. package/docs/variables/_saltcorn_admin-models..pack.role_pack.html +1 -1
  539. package/docs/variables/_saltcorn_admin-models..pack.table_pack.html +1 -1
  540. package/docs/variables/_saltcorn_admin-models..pack.trigger_pack.html +1 -1
  541. package/docs/variables/_saltcorn_admin-models..pack.uninstall_pack.html +1 -1
  542. package/docs/variables/_saltcorn_admin-models..pack.view_pack.html +1 -1
  543. package/docs/variables/_saltcorn_admin-models..tenant.copy_tenant_template.html +1 -1
  544. package/docs/variables/_saltcorn_admin-models..tenant.create_tenant.html +1 -1
  545. package/docs/variables/_saltcorn_admin-models..tenant.deleteTenant.html +1 -1
  546. package/docs/variables/_saltcorn_admin-models..tenant.domain_sanitize.html +1 -1
  547. package/docs/variables/_saltcorn_admin-models..tenant.eachTenant.html +1 -1
  548. package/docs/variables/_saltcorn_admin-models..tenant.getAllTenantRows.html +1 -1
  549. package/docs/variables/_saltcorn_admin-models..tenant.getAllTenants.html +1 -1
  550. package/docs/variables/_saltcorn_admin-models..tenant.insertTenant.html +1 -1
  551. package/docs/variables/_saltcorn_admin-models..tenant.switchToTenant.html +1 -1
  552. package/docs/variables/_saltcorn_admin-models.models_backup.backup.html +1 -1
  553. package/docs/variables/_saltcorn_admin-models.pack.pack.html +1 -1
  554. package/docs/variables/_saltcorn_admin-models.tenant.tenant.html +1 -1
  555. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedFive.html +1 -1
  556. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedFour.html +1 -1
  557. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedOne.html +1 -1
  558. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedSix.html +1 -1
  559. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedThree.html +1 -1
  560. package/docs/variables/_saltcorn_common-code.tests_expected_relations.expectedTwo.html +1 -1
  561. package/docs/variables/_saltcorn_data..migrations.html +1 -1
  562. package/docs/variables/_saltcorn_data..plugin_helper.run_action_column.html +1 -1
  563. package/docs/variables/_saltcorn_data..utils.NotAuthorized.html +1 -1
  564. package/docs/variables/_saltcorn_data..utils.isPushEnabled.html +1 -1
  565. package/docs/variables/_saltcorn_data..utils.sleep.html +1 -1
  566. package/docs/variables/_saltcorn_data.base-plugin_actions.actions.html +3 -3
  567. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.radio_select.description.html +1 -1
  568. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.radio_select.isEdit.html +1 -1
  569. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.radio_select.type.html +1 -1
  570. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_join_field.html +1 -1
  571. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.blockDisplay.html +1 -1
  572. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.description.html +1 -1
  573. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.isEdit.html +1 -1
  574. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.search_or_create.type.html +1 -1
  575. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.blockDisplay.html +1 -1
  576. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.configFields.html +1 -1
  577. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.description.html +1 -1
  578. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.isEdit.html +1 -1
  579. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select.type.html +1 -1
  580. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_by_code.html +1 -1
  581. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_by_view.html +1 -1
  582. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.blockDisplay.html +1 -1
  583. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.configFields.html +1 -1
  584. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.description.html +1 -1
  585. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.isEdit.html +1 -1
  586. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.select_from_table.type.html +1 -1
  587. package/docs/variables/_saltcorn_data.base-plugin_fieldviews.two_level_select.html +1 -1
  588. package/docs/variables/_saltcorn_data.base-plugin_fileview.fileview.html +1 -1
  589. package/docs/variables/_saltcorn_data.base-plugin_index.index.html +1 -1
  590. package/docs/variables/_saltcorn_data.base-plugin_types.bool.attributes.html +1 -1
  591. package/docs/variables/_saltcorn_data.base-plugin_types.bool.description.html +1 -1
  592. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.TrueFalse.description.html +1 -1
  593. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.TrueFalse.isEdit.html +1 -1
  594. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.checkboxes.description.html +1 -1
  595. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.checkboxes.isEdit.html +1 -1
  596. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.configFields.html +1 -1
  597. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.description.html +1 -1
  598. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.edit.isEdit.html +1 -1
  599. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.show.description.html +1 -1
  600. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.show.isEdit.html +1 -1
  601. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.show_with_html.html +1 -1
  602. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.switch.html +1 -1
  603. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.configFields.html +1 -1
  604. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.description.html +1 -1
  605. package/docs/variables/_saltcorn_data.base-plugin_types.bool.fieldviews.tristate.isEdit.html +1 -1
  606. package/docs/variables/_saltcorn_data.base-plugin_types.bool.js_type.html +1 -1
  607. package/docs/variables/_saltcorn_data.base-plugin_types.bool.name.html +1 -1
  608. package/docs/variables/_saltcorn_data.base-plugin_types.bool.sql_name.html +1 -1
  609. package/docs/variables/_saltcorn_data.base-plugin_types.color.attributes.html +1 -1
  610. package/docs/variables/_saltcorn_data.base-plugin_types.color.description.html +1 -1
  611. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.edit.blockDisplay.html +1 -1
  612. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.edit.description.html +1 -1
  613. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.edit.isEdit.html +1 -1
  614. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.show.description.html +1 -1
  615. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.show.isEdit.html +1 -1
  616. package/docs/variables/_saltcorn_data.base-plugin_types.color.fieldviews.show_with_html.html +1 -1
  617. package/docs/variables/_saltcorn_data.base-plugin_types.color.js_type.html +1 -1
  618. package/docs/variables/_saltcorn_data.base-plugin_types.color.name.html +1 -1
  619. package/docs/variables/_saltcorn_data.base-plugin_types.color.sql_name.html +1 -1
  620. package/docs/variables/_saltcorn_data.base-plugin_types.date.attributes.html +1 -1
  621. package/docs/variables/_saltcorn_data.base-plugin_types.date.description.html +1 -1
  622. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.edit.blockDisplay.html +1 -1
  623. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.edit.description.html +1 -1
  624. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.edit.isEdit.html +1 -1
  625. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.blockDisplay.html +1 -1
  626. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.description.html +1 -1
  627. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.editDay.isEdit.html +1 -1
  628. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.format.configFields.html +1 -1
  629. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.format.description.html +1 -1
  630. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.format.isEdit.html +1 -1
  631. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.relative.description.html +1 -1
  632. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.relative.isEdit.html +1 -1
  633. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.show.description.html +1 -1
  634. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.show.isEdit.html +1 -1
  635. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.showDay.description.html +1 -1
  636. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.showDay.isEdit.html +1 -1
  637. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.show_with_html.html +1 -1
  638. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.yearsAgo.description.html +1 -1
  639. package/docs/variables/_saltcorn_data.base-plugin_types.date.fieldviews.yearsAgo.isEdit.html +1 -1
  640. package/docs/variables/_saltcorn_data.base-plugin_types.date.js_type.html +1 -1
  641. package/docs/variables/_saltcorn_data.base-plugin_types.date.name.html +1 -1
  642. package/docs/variables/_saltcorn_data.base-plugin_types.date.sql_name.html +1 -1
  643. package/docs/variables/_saltcorn_data.base-plugin_types.float.attributes.html +1 -1
  644. package/docs/variables/_saltcorn_data.base-plugin_types.float.description.html +1 -1
  645. package/docs/variables/_saltcorn_data.base-plugin_types.float.distance_operators.html +1 -1
  646. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.above_input.html +1 -1
  647. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.below_input.html +1 -1
  648. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.blockDisplay.html +1 -1
  649. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.configFields.html +1 -1
  650. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.description.html +1 -1
  651. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.edit.isEdit.html +1 -1
  652. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.heat_cell.html +1 -1
  653. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.number_slider.html +1 -1
  654. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.progress_bar.html +1 -1
  655. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.range_interval.html +1 -1
  656. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.show.description.html +1 -1
  657. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.show.isEdit.html +1 -1
  658. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.show_with_html.html +1 -1
  659. package/docs/variables/_saltcorn_data.base-plugin_types.float.fieldviews.to_locale_string.html +1 -1
  660. package/docs/variables/_saltcorn_data.base-plugin_types.float.js_type.html +1 -1
  661. package/docs/variables/_saltcorn_data.base-plugin_types.float.name.html +1 -1
  662. package/docs/variables/_saltcorn_data.base-plugin_types.float.sql_name.html +1 -1
  663. package/docs/variables/_saltcorn_data.base-plugin_types.int.attributes.html +1 -1
  664. package/docs/variables/_saltcorn_data.base-plugin_types.int.description.html +1 -1
  665. package/docs/variables/_saltcorn_data.base-plugin_types.int.distance_operators.near.html +1 -1
  666. package/docs/variables/_saltcorn_data.base-plugin_types.int.fieldviews.html +2 -2
  667. package/docs/variables/_saltcorn_data.base-plugin_types.int.js_type.html +1 -1
  668. package/docs/variables/_saltcorn_data.base-plugin_types.int.name.html +1 -1
  669. package/docs/variables/_saltcorn_data.base-plugin_types.int.primaryKey.html +1 -1
  670. package/docs/variables/_saltcorn_data.base-plugin_types.int.sql_name.html +1 -1
  671. package/docs/variables/_saltcorn_data.base-plugin_types.string.description.html +1 -1
  672. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_header.description.html +1 -1
  673. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_header.isEdit.html +1 -1
  674. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.configFields.html +1 -1
  675. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.description.html +1 -1
  676. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_link.isEdit.html +1 -1
  677. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_text.description.html +1 -1
  678. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.as_text.isEdit.html +1 -1
  679. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.checkbox_group.html +1 -1
  680. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.code.html +1 -1
  681. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.code_editor.html +1 -1
  682. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.edit.blockDisplay.html +1 -1
  683. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.edit.description.html +1 -1
  684. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.edit.isEdit.html +1 -1
  685. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.ellipsize.html +1 -1
  686. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.fill_formula_btn.html +1 -1
  687. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.img_from_url.description.html +1 -1
  688. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.img_from_url.isEdit.html +1 -1
  689. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.make_unique.html +1 -1
  690. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.monospace_block.html +1 -1
  691. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.blockDisplay.html +1 -1
  692. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.configFields.html +1 -1
  693. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.description.html +1 -1
  694. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.password.isEdit.html +1 -1
  695. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.preFormatted.html +1 -1
  696. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.configFields.html +1 -1
  697. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.description.html +1 -1
  698. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.radio_group.isEdit.html +1 -1
  699. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.select_by_code.html +1 -1
  700. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.show_with_html.html +1 -1
  701. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.blockDisplay.html +1 -1
  702. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.configFields.html +1 -1
  703. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.description.html +1 -1
  704. package/docs/variables/_saltcorn_data.base-plugin_types.string.fieldviews.textarea.isEdit.html +1 -1
  705. package/docs/variables/_saltcorn_data.base-plugin_types.string.js_type.html +1 -1
  706. package/docs/variables/_saltcorn_data.base-plugin_types.string.name.html +1 -1
  707. package/docs/variables/_saltcorn_data.base-plugin_types.string.sql_name.html +1 -1
  708. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_edit.edit.html +1 -1
  709. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_feed.feed.html +1 -1
  710. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_filter.filter.html +1 -1
  711. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_list.list.html +1 -1
  712. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_listshowlist.listshowlist.html +1 -1
  713. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_room.room-1.html +1 -1
  714. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_room.room.html +1 -1
  715. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_show.show.html +1 -1
  716. package/docs/variables/_saltcorn_data.base-plugin_viewtemplates_viewable_fields.edit_build_in_actions.html +1 -1
  717. package/docs/variables/_saltcorn_data.contract.fieldlike.html +1 -1
  718. package/docs/variables/_saltcorn_data.contract.is_column.html +1 -1
  719. package/docs/variables/_saltcorn_data.contract.is_header.html +1 -1
  720. package/docs/variables/_saltcorn_data.contract.is_pack.html +1 -1
  721. package/docs/variables/_saltcorn_data.contract.is_plugin.html +1 -1
  722. package/docs/variables/_saltcorn_data.contract.is_plugin_layout.html +1 -1
  723. package/docs/variables/_saltcorn_data.contract.is_plugin_type.html +1 -1
  724. package/docs/variables/_saltcorn_data.contract.is_plugin_wrap.html +1 -1
  725. package/docs/variables/_saltcorn_data.contract.is_plugin_wrap_arg.html +1 -1
  726. package/docs/variables/_saltcorn_data.contract.is_table_query.html +1 -1
  727. package/docs/variables/_saltcorn_data.contract.is_tablely.html +1 -1
  728. package/docs/variables/_saltcorn_data.contract.is_viewtemplate.html +1 -1
  729. package/docs/variables/_saltcorn_data.db_connect.connect.html +1 -1
  730. package/docs/variables/_saltcorn_data.db_fa5-icons.fa5Icons.html +1 -1
  731. package/docs/variables/_saltcorn_data.db_fixtures.fixtures.html +1 -1
  732. package/docs/variables/_saltcorn_data.db_index.dbExports.html +1 -1
  733. package/docs/variables/_saltcorn_data.db_state.state.html +1 -1
  734. package/docs/variables/_saltcorn_data.migrations_202005141503.sql.html +1 -1
  735. package/docs/variables/_saltcorn_data.migrations_202005241712.sql.html +1 -1
  736. package/docs/variables/_saltcorn_data.migrations_202005251037.sql.html +1 -1
  737. package/docs/variables/_saltcorn_data.migrations_202005282134.sql.html +1 -1
  738. package/docs/variables/_saltcorn_data.migrations_202006022156.sql.html +1 -1
  739. package/docs/variables/_saltcorn_data.migrations_202006051507.sql.html +1 -1
  740. package/docs/variables/_saltcorn_data.migrations_202006240906.sql.html +1 -1
  741. package/docs/variables/_saltcorn_data.migrations_202007091707.sql.html +1 -1
  742. package/docs/variables/_saltcorn_data.migrations_202007202144.sql.html +1 -1
  743. package/docs/variables/_saltcorn_data.migrations_202008031500.sql.html +1 -1
  744. package/docs/variables/_saltcorn_data.migrations_202008051415.sql.html +1 -1
  745. package/docs/variables/_saltcorn_data.migrations_202008121149.sql_pg.html +1 -1
  746. package/docs/variables/_saltcorn_data.migrations_202008121149.sql_sqlite.html +1 -1
  747. package/docs/variables/_saltcorn_data.migrations_202009112140.sql_pg.html +1 -1
  748. package/docs/variables/_saltcorn_data.migrations_202009112140.sql_sqlite.html +1 -1
  749. package/docs/variables/_saltcorn_data.migrations_202009181655.sql.html +1 -1
  750. package/docs/variables/_saltcorn_data.migrations_202009221105.sql.html +1 -1
  751. package/docs/variables/_saltcorn_data.migrations_202009231331.sql.html +1 -1
  752. package/docs/variables/_saltcorn_data.migrations_202009301531.sql.html +1 -1
  753. package/docs/variables/_saltcorn_data.migrations_202010231444.sql.html +1 -1
  754. package/docs/variables/_saltcorn_data.migrations_202010251412.sql.html +1 -1
  755. package/docs/variables/_saltcorn_data.migrations_202011021749.sql.html +1 -1
  756. package/docs/variables/_saltcorn_data.migrations_202011051353.sql.html +1 -1
  757. package/docs/variables/_saltcorn_data.migrations_202011111127.sql.html +1 -1
  758. package/docs/variables/_saltcorn_data.migrations_202012011203.sql.html +1 -1
  759. package/docs/variables/_saltcorn_data.migrations_202012100841.sql.html +1 -1
  760. package/docs/variables/_saltcorn_data.migrations_202012281835.sql.html +1 -1
  761. package/docs/variables/_saltcorn_data.migrations_202101061051.sql.html +1 -1
  762. package/docs/variables/_saltcorn_data.migrations_202101141128.sql.html +1 -1
  763. package/docs/variables/_saltcorn_data.migrations_202102091312.sql.html +1 -1
  764. package/docs/variables/_saltcorn_data.migrations_202102101624.sql.html +1 -1
  765. package/docs/variables/_saltcorn_data.migrations_202102172148.sql.html +1 -1
  766. package/docs/variables/_saltcorn_data.migrations_202102261650.sql.html +1 -1
  767. package/docs/variables/_saltcorn_data.migrations_202106102347.sql.html +1 -1
  768. package/docs/variables/_saltcorn_data.migrations_202106112120.sql.html +1 -1
  769. package/docs/variables/_saltcorn_data.migrations_202106120012.sql.html +1 -1
  770. package/docs/variables/_saltcorn_data.migrations_202106120220.sql.html +1 -1
  771. package/docs/variables/_saltcorn_data.migrations_202106121701.sql.html +1 -1
  772. package/docs/variables/_saltcorn_data.migrations_202106121703.sql_pg.html +1 -1
  773. package/docs/variables/_saltcorn_data.migrations_202106121703.sql_sqlite.html +1 -1
  774. package/docs/variables/_saltcorn_data.migrations_202106251126.sql.html +1 -1
  775. package/docs/variables/_saltcorn_data.migrations_202107281619.sql.html +1 -1
  776. package/docs/variables/_saltcorn_data.migrations_202107302158.sql_pg.html +1 -1
  777. package/docs/variables/_saltcorn_data.migrations_202107302158.sql_sqlite.html +1 -1
  778. package/docs/variables/_saltcorn_data.migrations_202108022257.sql.html +1 -1
  779. package/docs/variables/_saltcorn_data.migrations_202109201624.sql.html +1 -1
  780. package/docs/variables/_saltcorn_data.migrations_202109301031.sql_pg.html +1 -1
  781. package/docs/variables/_saltcorn_data.migrations_202109301031.sql_sqlite.html +1 -1
  782. package/docs/variables/_saltcorn_data.migrations_202111290253.sql_pg.html +1 -1
  783. package/docs/variables/_saltcorn_data.migrations_202111290253.sql_sqlite.html +1 -1
  784. package/docs/variables/_saltcorn_data.migrations_202112282254.sql_pg.html +1 -1
  785. package/docs/variables/_saltcorn_data.migrations_202112282254.sql_sqlite.html +1 -1
  786. package/docs/variables/_saltcorn_data.migrations_202207022002.sql.html +1 -1
  787. package/docs/variables/_saltcorn_data.migrations_202207252150.sql_pg.html +1 -1
  788. package/docs/variables/_saltcorn_data.migrations_202207252150.sql_sqlite.html +1 -1
  789. package/docs/variables/_saltcorn_data.migrations_202207261221.sql.html +1 -1
  790. package/docs/variables/_saltcorn_data.migrations_202208101144.sql_pg.html +1 -1
  791. package/docs/variables/_saltcorn_data.migrations_202208101144.sql_sqlite.html +1 -1
  792. package/docs/variables/_saltcorn_data.migrations_202211040031.sql.html +1 -1
  793. package/docs/variables/_saltcorn_data.migrations_202212112152.sql_pg.html +1 -1
  794. package/docs/variables/_saltcorn_data.migrations_202212112152.sql_sqlite.html +1 -1
  795. package/docs/variables/_saltcorn_data.migrations_202301130917.sql.html +1 -1
  796. package/docs/variables/_saltcorn_data.migrations_202303201126.sql_pg.html +1 -1
  797. package/docs/variables/_saltcorn_data.migrations_202303201126.sql_sqlite.html +1 -1
  798. package/docs/variables/_saltcorn_data.migrations_202303221944.sql_pg.html +1 -1
  799. package/docs/variables/_saltcorn_data.migrations_202303221944.sql_sqlite.html +1 -1
  800. package/docs/variables/_saltcorn_data.migrations_202304281224.sql.html +1 -1
  801. package/docs/variables/_saltcorn_data.migrations_202305031518.sql_pg.html +1 -1
  802. package/docs/variables/_saltcorn_data.migrations_202305031518.sql_sqlite.html +1 -1
  803. package/docs/variables/_saltcorn_data.migrations_202308211648.sql.html +1 -1
  804. package/docs/variables/_saltcorn_data.migrations_202311011755.sql_pg.html +1 -1
  805. package/docs/variables/_saltcorn_data.migrations_202311011755.sql_sqlite.html +1 -1
  806. package/docs/variables/_saltcorn_data.migrations_202311231356.sql.html +1 -1
  807. package/docs/variables/_saltcorn_data.migrations_202402071125.sql.html +1 -1
  808. package/docs/variables/_saltcorn_data.migrations_202406260915.sql.html +1 -1
  809. package/docs/variables/_saltcorn_data.migrations_202412051957.sql_pg.html +1 -1
  810. package/docs/variables/_saltcorn_data.migrations_202412051957.sql_sqlite.html +1 -1
  811. package/docs/variables/_saltcorn_data.migrations_202412111526.sql_pg.html +1 -1
  812. package/docs/variables/_saltcorn_data.migrations_202412111526.sql_sqlite.html +1 -1
  813. package/docs/variables/_saltcorn_data.migrations_202501081226.sql_pg.html +1 -1
  814. package/docs/variables/_saltcorn_data.migrations_202501081226.sql_sqlite.html +1 -1
  815. package/docs/variables/_saltcorn_data.migrations_202501201239.sql_sqlite.html +1 -1
  816. package/docs/variables/_saltcorn_data.migrations_202501262157.sql.html +1 -1
  817. package/docs/variables/_saltcorn_data.migrations_202503071353.sql_pg.html +1 -1
  818. package/docs/variables/_saltcorn_data.migrations_202506050958.sql.html +1 -1
  819. package/docs/variables/_saltcorn_data.migrations_202510110312.sql_pg.html +1 -1
  820. package/docs/variables/_saltcorn_data.migrations_202510110312.sql_sqlite.html +1 -1
  821. package/docs/variables/_saltcorn_data.migrations_202511081024.sql.html +1 -0
  822. package/docs/variables/_saltcorn_data.mobile-mocks_saltcorn_html-pdf-node.htmlPdfNode.html +1 -1
  823. package/docs/variables/_saltcorn_data.models_config.configExports.html +1 -1
  824. package/docs/variables/_saltcorn_data.models_discovery.discovery.html +1 -1
  825. package/docs/variables/_saltcorn_data.models_email.email.html +1 -1
  826. package/docs/variables/_saltcorn_data.models_expression.expression.html +1 -1
  827. package/docs/variables/_saltcorn_data.models_index.config.available_languages.html +1 -1
  828. package/docs/variables/_saltcorn_data.models_index.config.check_email_mask.html +1 -1
  829. package/docs/variables/_saltcorn_data.models_index.config.configTypes.html +1 -1
  830. package/docs/variables/_saltcorn_data.models_index.config.deleteConfig.html +1 -1
  831. package/docs/variables/_saltcorn_data.models_index.config.getAllConfig.html +1 -1
  832. package/docs/variables/_saltcorn_data.models_index.config.getConfig.html +1 -1
  833. package/docs/variables/_saltcorn_data.models_index.config.get_base_url.html +1 -1
  834. package/docs/variables/_saltcorn_data.models_index.config.get_latest_npm_version.html +1 -1
  835. package/docs/variables/_saltcorn_data.models_index.config.remove_from_menu.html +1 -1
  836. package/docs/variables/_saltcorn_data.models_index.config.save_menu_items.html +1 -1
  837. package/docs/variables/_saltcorn_data.models_index.config.setConfig.html +1 -1
  838. package/docs/variables/_saltcorn_data.models_index.discovery.discover_tables.html +1 -1
  839. package/docs/variables/_saltcorn_data.models_index.discovery.discoverable_tables.html +1 -1
  840. package/docs/variables/_saltcorn_data.models_index.discovery.findType.html +1 -1
  841. package/docs/variables/_saltcorn_data.models_index.discovery.get_existing_views.html +1 -1
  842. package/docs/variables/_saltcorn_data.models_index.discovery.implement_discovery.html +1 -1
  843. package/docs/variables/_saltcorn_data.models_index.email.getMailTransport.html +1 -1
  844. package/docs/variables/_saltcorn_data.models_index.email.send_verification_email.html +1 -1
  845. package/docs/variables/_saltcorn_data.models_index.email.viewToEmailHtml.html +1 -1
  846. package/docs/variables/_saltcorn_data.models_index.expression.apply_calculated_fields.html +1 -1
  847. package/docs/variables/_saltcorn_data.models_index.expression.apply_calculated_fields_stored.html +1 -1
  848. package/docs/variables/_saltcorn_data.models_index.expression.eval_expression.html +1 -1
  849. package/docs/variables/_saltcorn_data.models_index.expression.expressionValidator.html +1 -1
  850. package/docs/variables/_saltcorn_data.models_index.expression.get_async_expression_function.html +1 -1
  851. package/docs/variables/_saltcorn_data.models_index.expression.get_expression_function.html +1 -1
  852. package/docs/variables/_saltcorn_data.models_index.expression.jsexprToWhere.html +1 -1
  853. package/docs/variables/_saltcorn_data.models_index.expression.recalculate_for_stored.html +1 -1
  854. package/docs/variables/_saltcorn_data.models_index.expression.transform_for_async.html +1 -1
  855. package/docs/variables/_saltcorn_data.models_index.layout.eachView.html +1 -1
  856. package/docs/variables/_saltcorn_data.models_index.layout.getStringsForI18n.html +1 -1
  857. package/docs/variables/_saltcorn_data.models_index.layout.getViews.html +1 -1
  858. package/docs/variables/_saltcorn_data.models_index.layout.translateLayout.html +1 -1
  859. package/docs/variables/_saltcorn_data.models_index.layout.traverse.html +1 -1
  860. package/docs/variables/_saltcorn_data.models_index.layout.traverseSync.html +1 -1
  861. package/docs/variables/_saltcorn_data.models_index.random.all_views.html +1 -1
  862. package/docs/variables/_saltcorn_data.models_index.random.fill_table_row.html +1 -1
  863. package/docs/variables/_saltcorn_data.models_index.random.initial_view.html +1 -1
  864. package/docs/variables/_saltcorn_data.models_index.random.random_table.html +1 -1
  865. package/docs/variables/_saltcorn_data.models_index.scheduler.runScheduler.html +1 -1
  866. package/docs/variables/_saltcorn_data.models_layout.layout.html +1 -1
  867. package/docs/variables/_saltcorn_data.models_random.random.html +1 -1
  868. package/docs/variables/_saltcorn_data.models_scheduler.scheduler.html +1 -1
  869. package/docs/variables/_saltcorn_data.plugin-helper.add_free_variables_to_joinfields.html +1 -1
  870. package/docs/variables/_saltcorn_data.plugin-helper.sqlBinOp.html +1 -1
  871. package/docs/variables/_saltcorn_data.plugin-helper.sqlFun.html +1 -1
  872. package/docs/variables/_saltcorn_data.tests_mocks.mocks.html +1 -1
  873. package/docs/variables/_saltcorn_data.tests_remote_query_helper.renderEditInEditConfig.html +1 -1
  874. package/docs/variables/_saltcorn_data.utils.utils.html +2 -2
  875. package/docs/variables/_saltcorn_data.web-mobile-commons.webMobileCommons.html +2 -2
  876. package/docs/variables/_saltcorn_db-common.multi-tenant.tenantNamespace.html +1 -1
  877. package/docs/variables/_saltcorn_db-common.tenants.tenants.html +1 -1
  878. package/docs/variables/_saltcorn_markup..export_.html +1 -1
  879. package/docs/variables/_saltcorn_markup.builder.builder.html +1 -1
  880. package/docs/variables/_saltcorn_markup.emergency_layout.EmergencyLayoutExports.html +1 -1
  881. package/docs/variables/_saltcorn_markup.form.form.html +1 -1
  882. package/docs/variables/_saltcorn_markup.helpers.HelpersExports.html +1 -1
  883. package/docs/variables/_saltcorn_markup.layout.LayoutExports-1.html +1 -1
  884. package/docs/variables/_saltcorn_markup.layout.LayoutExports.html +1 -1
  885. package/docs/variables/_saltcorn_markup.layout_utils.layoutUtils.html +1 -1
  886. package/docs/variables/_saltcorn_markup.mjml-layout.LayoutExports.html +1 -1
  887. package/docs/variables/_saltcorn_markup.mjml-tags.tagsExports.html +1 -1
  888. package/docs/variables/_saltcorn_markup.table.TableExports.html +1 -1
  889. package/docs/variables/_saltcorn_markup.tags.tagsExports.html +1 -1
  890. package/docs/variables/_saltcorn_sqlite..openOrUseTransaction.html +4 -0
  891. package/docs/variables/_saltcorn_sqlite..whenTransactionisFree.html +4 -0
  892. package/docs/variables/_saltcorn_types..generators.generateBool.html +1 -1
  893. package/docs/variables/_saltcorn_types..generators.generateString.html +1 -1
  894. package/docs/variables/_saltcorn_types..generators.num_between.html +1 -1
  895. package/docs/variables/_saltcorn_types..generators.oneOf.html +1 -1
  896. package/docs/variables/_saltcorn_types.generators.generators.html +1 -1
  897. package/locales/en.json +3 -1
  898. package/package.json +9 -9
  899. package/public/saltcorn.css +9 -2
  900. package/public/saltcorn.js +7 -0
  901. package/routes/actions.js +12 -3
  902. package/routes/admin.js +3 -0
  903. package/routes/delete.js +15 -4
  904. package/routes/entities.js +565 -0
  905. package/routes/index.js +2 -0
  906. package/routes/menu.js +8 -0
  907. package/serve.js +8 -2
  908. package/tests/filter.test.js +1 -1
  909. package/wrapper.js +7 -1
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>User | Documentation</title><meta name="description" content="Documentation for Documentation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Documentation</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/_saltcorn_data.html">@saltcorn/data</a></li><li><a href="../modules/_saltcorn_data.models_user.html">models/user</a></li><li><a href="" aria-current="page">User</a></li></ul><h1>Class User</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>User</p>
2
- </div></section><section class="tsd-panel"><h4 class="tsd-before-signature">Indexable</h4><ul class="tsd-signatures"><li class="tsd-index-signature"><div class="tsd-signature"><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-type">any</span></div></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L71">packages/saltcorn-data/models/user.ts:71</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2
+ </div></section><section class="tsd-panel"><h4 class="tsd-before-signature">Indexable</h4><ul class="tsd-signatures"><li class="tsd-index-signature"><div class="tsd-signature"><span class="tsd-signature-symbol">[</span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-type">any</span></div></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L71">packages/saltcorn-data/models/user.ts:71</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
3
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#_attributes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>attributes</span></a>
4
4
  <a href="#api_token" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>api_<wbr/>token?</span></a>
5
5
  <a href="#disabled" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disabled</span></a>
@@ -51,51 +51,51 @@
51
51
  <a href="#valid_email" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>valid_<wbr/>email</span></a>
52
52
  <a href="#verifywithtoken" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verify<wbr/>With<wbr/>Token</span></a>
53
53
  </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructoruser"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">User</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">UserCfg</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><a href="#constructoruser" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>User constructor</p>
54
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">o</span>: <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">UserCfg</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">User</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L91">packages/saltcorn-data/models/user.ts:91</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="_attributes"><span>_<wbr/>attributes</span><a href="#_attributes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_attributes</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.common_types.GenObj.html" class="tsd-signature-type tsd-kind-type-alias">GenObj</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L75">packages/saltcorn-data/models/user.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="api_token"><code class="tsd-tag">Optional</code><span>api_<wbr/>token</span><a href="#api_token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">api_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L76">packages/saltcorn-data/models/user.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="disabled"><span>disabled</span><a href="#disabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">disabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L79">packages/saltcorn-data/models/user.ts:79</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="email"><span>email</span><a href="#email" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L72">packages/saltcorn-data/models/user.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="id"><code class="tsd-tag">Optional</code><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L80">packages/saltcorn-data/models/user.ts:80</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="language"><code class="tsd-tag">Optional</code><span>language</span><a href="#language" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">language</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L74">packages/saltcorn-data/models/user.ts:74</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="last_mobile_login"><code class="tsd-tag">Optional</code><span>last_<wbr/>mobile_<wbr/>login</span><a href="#last_mobile_login" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last_mobile_login</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L84">packages/saltcorn-data/models/user.ts:84</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="password"><span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L73">packages/saltcorn-data/models/user.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset_password_expiry"><code class="tsd-tag">Optional</code><span>reset_<wbr/>password_<wbr/>expiry</span><a href="#reset_password_expiry" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">reset_password_expiry</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L82">packages/saltcorn-data/models/user.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset_password_token"><code class="tsd-tag">Optional</code><span>reset_<wbr/>password_<wbr/>token</span><a href="#reset_password_token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">reset_password_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L81">packages/saltcorn-data/models/user.ts:81</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="role_id"><span>role_<wbr/>id</span><a href="#role_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">role_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L83">packages/saltcorn-data/models/user.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="verification_token"><code class="tsd-tag">Optional</code><span>verification_<wbr/>token</span><a href="#verification_token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">verification_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L77">packages/saltcorn-data/models/user.ts:77</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="verified_on"><code class="tsd-tag">Optional</code><span>verified_<wbr/>on</span><a href="#verified_on" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">verified_on</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L78">packages/saltcorn-data/models/user.ts:78</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="session_object"><span>session_<wbr/>object</span><a href="#session_object" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="session_objectsession_object"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">session_object</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create session object for user</p>
55
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L264">packages/saltcorn-data/models/user.ts:264</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="table"><code class="tsd-tag">Static</code><span>table</span><a href="#table" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="tabletable"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">table</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_table.Table.html" class="tsd-signature-type tsd-kind-class">Table</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="_saltcorn_data.models_table.Table.html" class="tsd-signature-type tsd-kind-class">Table</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L286">packages/saltcorn-data/models/user.ts:286</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="auth_method_allowed"><span>auth_<wbr/>method_<wbr/>allowed</span><a href="#auth_method_allowed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="auth_method_allowed-1"><span class="tsd-kind-call-signature">auth_method_allowed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">method_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#auth_method_allowed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">method_name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L307">packages/saltcorn-data/models/user.ts:307</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="changepasswordto"><span>change<wbr/>Password<wbr/>To</span><a href="#changepasswordto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="changepasswordto-1"><span class="tsd-kind-call-signature">changePasswordTo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">newpw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">expireToken</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#changepasswordto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Change password</p>
54
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">o</span>: <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">UserCfg</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">User</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L91">packages/saltcorn-data/models/user.ts:91</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="_attributes"><span>_<wbr/>attributes</span><a href="#_attributes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_attributes</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.common_types.GenObj.html" class="tsd-signature-type tsd-kind-type-alias">GenObj</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L75">packages/saltcorn-data/models/user.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="api_token"><code class="tsd-tag">Optional</code><span>api_<wbr/>token</span><a href="#api_token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">api_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L76">packages/saltcorn-data/models/user.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="disabled"><span>disabled</span><a href="#disabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">disabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L79">packages/saltcorn-data/models/user.ts:79</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="email"><span>email</span><a href="#email" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L72">packages/saltcorn-data/models/user.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="id"><code class="tsd-tag">Optional</code><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L80">packages/saltcorn-data/models/user.ts:80</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="language"><code class="tsd-tag">Optional</code><span>language</span><a href="#language" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">language</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L74">packages/saltcorn-data/models/user.ts:74</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="last_mobile_login"><code class="tsd-tag">Optional</code><span>last_<wbr/>mobile_<wbr/>login</span><a href="#last_mobile_login" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last_mobile_login</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L84">packages/saltcorn-data/models/user.ts:84</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="password"><span>password</span><a href="#password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L73">packages/saltcorn-data/models/user.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset_password_expiry"><code class="tsd-tag">Optional</code><span>reset_<wbr/>password_<wbr/>expiry</span><a href="#reset_password_expiry" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">reset_password_expiry</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L82">packages/saltcorn-data/models/user.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="reset_password_token"><code class="tsd-tag">Optional</code><span>reset_<wbr/>password_<wbr/>token</span><a href="#reset_password_token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">reset_password_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L81">packages/saltcorn-data/models/user.ts:81</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="role_id"><span>role_<wbr/>id</span><a href="#role_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">role_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L83">packages/saltcorn-data/models/user.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="verification_token"><code class="tsd-tag">Optional</code><span>verification_<wbr/>token</span><a href="#verification_token" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">verification_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L77">packages/saltcorn-data/models/user.ts:77</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="verified_on"><code class="tsd-tag">Optional</code><span>verified_<wbr/>on</span><a href="#verified_on" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">verified_on</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Date</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L78">packages/saltcorn-data/models/user.ts:78</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="session_object"><span>session_<wbr/>object</span><a href="#session_object" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="session_objectsession_object"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">session_object</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create session object for user</p>
55
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L264">packages/saltcorn-data/models/user.ts:264</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="table"><code class="tsd-tag">Static</code><span>table</span><a href="#table" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="tabletable"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">table</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="_saltcorn_data.models_table.Table.html" class="tsd-signature-type tsd-kind-class">Table</a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="_saltcorn_data.models_table.Table.html" class="tsd-signature-type tsd-kind-class">Table</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L286">packages/saltcorn-data/models/user.ts:286</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="auth_method_allowed"><span>auth_<wbr/>method_<wbr/>allowed</span><a href="#auth_method_allowed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="auth_method_allowed-1"><span class="tsd-kind-call-signature">auth_method_allowed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">method_name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#auth_method_allowed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">method_name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L307">packages/saltcorn-data/models/user.ts:307</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="changepasswordto"><span>change<wbr/>Password<wbr/>To</span><a href="#changepasswordto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="changepasswordto-1"><span class="tsd-kind-call-signature">changePasswordTo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">newpw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">expireToken</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#changepasswordto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Change password</p>
56
56
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">newpw</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>new password string</p>
57
57
  </div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">expireToken</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>if true than force reset password token</p>
58
58
  </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><p>no result</p>
59
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L138">packages/saltcorn-data/models/user.ts:138</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="checkpassword"><span>check<wbr/>Password</span><a href="#checkpassword" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="checkpassword-1"><span class="tsd-kind-call-signature">checkPassword</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#checkpassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check password</p>
59
+ <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L138">packages/saltcorn-data/models/user.ts:138</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="checkpassword"><span>check<wbr/>Password</span><a href="#checkpassword" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="checkpassword-1"><span class="tsd-kind-call-signature">checkPassword</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#checkpassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check password</p>
60
60
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pw</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>password string</p>
61
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L128">packages/saltcorn-data/models/user.ts:128</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="delete"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="delete-1"><span class="tsd-kind-call-signature">delete</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#delete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Delete user based on session object</p>
62
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L444">packages/saltcorn-data/models/user.ts:444</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="destroy_sessions"><span>destroy_<wbr/>sessions</span><a href="#destroy_sessions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="destroy_sessions-1"><span class="tsd-kind-call-signature">destroy_sessions</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#destroy_sessions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L768">packages/saltcorn-data/models/user.ts:768</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getnewapitoken"><span>get<wbr/>New<wbr/>API<wbr/>Token</span><a href="#getnewapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getnewapitoken-1"><span class="tsd-kind-call-signature">getNewAPIToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getnewapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add new API token to user</p>
63
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L503">packages/saltcorn-data/models/user.ts:503</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getnewresettoken"><span>get<wbr/>New<wbr/>Reset<wbr/>Token</span><a href="#getnewresettoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getnewresettoken-1"><span class="tsd-kind-call-signature">getNewResetToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getnewresettoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get new reset token</p>
64
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L490">packages/saltcorn-data/models/user.ts:490</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="listapitokens"><span>list<wbr/>Api<wbr/>Tokens</span><a href="#listapitokens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="listapitokens-1"><span class="tsd-kind-call-signature">listApiTokens</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">created_at</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#listapitokens-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>List API tokens for this user</p>
65
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">created_at</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L536">packages/saltcorn-data/models/user.ts:536</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="relogin"><span>relogin</span><a href="#relogin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="relogin-1"><span class="tsd-kind-call-signature">relogin</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">req</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#relogin-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">req</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L796">packages/saltcorn-data/models/user.ts:796</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="removeapitoken"><span>remove<wbr/>API<wbr/>Token</span><a href="#removeapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="removeapitoken-1"><span class="tsd-kind-call-signature">removeAPIToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">&gt;</span><a href="#removeapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove API token for user</p>
66
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L520">packages/saltcorn-data/models/user.ts:520</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="revokeapitoken"><span>revoke<wbr/>Api<wbr/>Token</span><a href="#revokeapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="revokeapitoken-1"><span class="tsd-kind-call-signature">revokeApiToken</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tokenId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#revokeapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Revoke a single API token by id</p>
67
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tokenId</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L548">packages/saltcorn-data/models/user.ts:548</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="revokeoriginalapitoken"><span>revoke<wbr/>Original<wbr/>Api<wbr/>Token</span><a href="#revokeoriginalapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="revokeoriginalapitoken-1"><span class="tsd-kind-call-signature">revokeOriginalApiToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#revokeoriginalapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Revoke original API token stored on users.api_token
61
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L128">packages/saltcorn-data/models/user.ts:128</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="delete"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="delete-1"><span class="tsd-kind-call-signature">delete</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#delete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Delete user based on session object</p>
62
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L444">packages/saltcorn-data/models/user.ts:444</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="destroy_sessions"><span>destroy_<wbr/>sessions</span><a href="#destroy_sessions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="destroy_sessions-1"><span class="tsd-kind-call-signature">destroy_sessions</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#destroy_sessions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L768">packages/saltcorn-data/models/user.ts:768</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getnewapitoken"><span>get<wbr/>New<wbr/>API<wbr/>Token</span><a href="#getnewapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getnewapitoken-1"><span class="tsd-kind-call-signature">getNewAPIToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getnewapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Add new API token to user</p>
63
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L503">packages/saltcorn-data/models/user.ts:503</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="getnewresettoken"><span>get<wbr/>New<wbr/>Reset<wbr/>Token</span><a href="#getnewresettoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="getnewresettoken-1"><span class="tsd-kind-call-signature">getNewResetToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#getnewresettoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get new reset token</p>
64
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L490">packages/saltcorn-data/models/user.ts:490</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="listapitokens"><span>list<wbr/>Api<wbr/>Tokens</span><a href="#listapitokens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="listapitokens-1"><span class="tsd-kind-call-signature">listApiTokens</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">created_at</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><a href="#listapitokens-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>List API tokens for this user</p>
65
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">created_at</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L536">packages/saltcorn-data/models/user.ts:536</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="relogin"><span>relogin</span><a href="#relogin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="relogin-1"><span class="tsd-kind-call-signature">relogin</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">req</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#relogin-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">req</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L796">packages/saltcorn-data/models/user.ts:796</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="removeapitoken"><span>remove<wbr/>API<wbr/>Token</span><a href="#removeapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="removeapitoken-1"><span class="tsd-kind-call-signature">removeAPIToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">&gt;</span><a href="#removeapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove API token for user</p>
66
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L520">packages/saltcorn-data/models/user.ts:520</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="revokeapitoken"><span>revoke<wbr/>Api<wbr/>Token</span><a href="#revokeapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="revokeapitoken-1"><span class="tsd-kind-call-signature">revokeApiToken</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tokenId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#revokeapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Revoke a single API token by id</p>
67
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tokenId</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L548">packages/saltcorn-data/models/user.ts:548</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="revokeoriginalapitoken"><span>revoke<wbr/>Original<wbr/>Api<wbr/>Token</span><a href="#revokeoriginalapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="revokeoriginalapitoken-1"><span class="tsd-kind-call-signature">revokeOriginalApiToken</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#revokeoriginalapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Revoke original API token stored on users.api_token
68
68
  Also delete any matching row from _sc_api_tokens for this user</p>
69
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L560">packages/saltcorn-data/models/user.ts:560</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="send_verification_email"><span>send_<wbr/>verification_<wbr/>email</span><a href="#send_verification_email" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="send_verification_email-1"><span class="tsd-kind-call-signature">send_verification_email</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">req</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">new_verification_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#send_verification_email-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">req</span>: <span class="tsd-signature-type">any</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">new_verification_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L315">packages/saltcorn-data/models/user.ts:315</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set_language"><span>set_<wbr/>language</span><a href="#set_language" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="set_language-1"><span class="tsd-kind-call-signature">set_language</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">language</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#set_language-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set language for User in database</p>
70
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">language</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L461">packages/saltcorn-data/models/user.ts:461</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set_to_verified"><span>set_<wbr/>to_<wbr/>verified</span><a href="#set_to_verified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="set_to_verified-1"><span class="tsd-kind-call-signature">set_to_verified</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol">&gt;</span><a href="#set_to_verified-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L673">packages/saltcorn-data/models/user.ts:673</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="update"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">row</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">plainPassword</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update User</p>
71
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">row</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">plainPassword</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L470">packages/saltcorn-data/models/user.ts:470</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updatelastmobilelogin"><span>update<wbr/>Last<wbr/>Mobile<wbr/>Login</span><a href="#updatelastmobilelogin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updatelastmobilelogin-1"><span class="tsd-kind-call-signature">updateLastMobileLogin</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">date</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updatelastmobilelogin-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>update 'last_mobile_login' columnwill</p>
69
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L560">packages/saltcorn-data/models/user.ts:560</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="send_verification_email"><span>send_<wbr/>verification_<wbr/>email</span><a href="#send_verification_email" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="send_verification_email-1"><span class="tsd-kind-call-signature">send_verification_email</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">req</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">opts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">new_verification_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><a href="#send_verification_email-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">req</span>: <span class="tsd-signature-type">any</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opts</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">new_verification_token</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L315">packages/saltcorn-data/models/user.ts:315</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set_language"><span>set_<wbr/>language</span><a href="#set_language" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="set_language-1"><span class="tsd-kind-call-signature">set_language</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">language</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#set_language-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set language for User in database</p>
70
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">language</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L461">packages/saltcorn-data/models/user.ts:461</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="set_to_verified"><span>set_<wbr/>to_<wbr/>verified</span><a href="#set_to_verified" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="set_to_verified-1"><span class="tsd-kind-call-signature">set_to_verified</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol">&gt;</span><a href="#set_to_verified-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L673">packages/saltcorn-data/models/user.ts:673</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="update"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">row</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">plainPassword</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update User</p>
71
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">row</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">plainPassword</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L470">packages/saltcorn-data/models/user.ts:470</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updatelastmobilelogin"><span>update<wbr/>Last<wbr/>Mobile<wbr/>Login</span><a href="#updatelastmobilelogin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="updatelastmobilelogin-1"><span class="tsd-kind-call-signature">updateLastMobileLogin</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">date</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updatelastmobilelogin-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>update 'last_mobile_login' columnwill</p>
72
72
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">date</span>: <span class="tsd-signature-type">Date</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></span><div class="tsd-comment tsd-typography"><p>new login_date or null for logout (invalidates all jwts)</p>
73
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L809">packages/saltcorn-data/models/user.ts:809</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="authenticate"><code class="tsd-tag">Static</code><span>authenticate</span><a href="#authenticate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="authenticate-1"><span class="tsd-kind-call-signature">authenticate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span><a href="#authenticate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Authenticate User</p>
73
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L809">packages/saltcorn-data/models/user.ts:809</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="authenticate"><code class="tsd-tag">Static</code><span>authenticate</span><a href="#authenticate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="authenticate-1"><span class="tsd-kind-call-signature">authenticate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span><a href="#authenticate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Authenticate User</p>
74
74
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">uo</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>user object</p>
75
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L295">packages/saltcorn-data/models/user.ts:295</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="count"><code class="tsd-tag">Static</code><span>count</span><a href="#count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="count-1"><span class="tsd-kind-call-signature">count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#count-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Count users in database</p>
76
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L742">packages/saltcorn-data/models/user.ts:742</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="create"><code class="tsd-tag">Static</code><span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="create-1"><span class="tsd-kind-call-signature">create</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.common_types.GenObj.html" class="tsd-signature-type tsd-kind-type-alias">GenObj</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create user</p>
75
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L295">packages/saltcorn-data/models/user.ts:295</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="count"><code class="tsd-tag">Static</code><span>count</span><a href="#count" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="count-1"><span class="tsd-kind-call-signature">count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#count-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Count users in database</p>
76
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L742">packages/saltcorn-data/models/user.ts:742</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="create"><code class="tsd-tag">Static</code><span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="create-1"><span class="tsd-kind-call-signature">create</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_types.common_types.GenObj.html" class="tsd-signature-type tsd-kind-type-alias">GenObj</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create user</p>
77
77
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">uo</span>: <a href="../types/_saltcorn_types.common_types.GenObj.html" class="tsd-signature-type tsd-kind-type-alias">GenObj</a></span><div class="tsd-comment tsd-typography"><p>user object</p>
78
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L189">packages/saltcorn-data/models/user.ts:189</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="destroy_all_tenant_sessions"><code class="tsd-tag">Static</code><span>destroy_<wbr/>all_<wbr/>tenant_<wbr/>sessions</span><a href="#destroy_all_tenant_sessions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="destroy_all_tenant_sessions-1"><span class="tsd-kind-call-signature">destroy_all_tenant_sessions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tenant</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#destroy_all_tenant_sessions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">tenant</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L781">packages/saltcorn-data/models/user.ts:781</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="find"><code class="tsd-tag">Static</code><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="find-1"><span class="tsd-kind-call-signature">find</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selectopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find users list</p>
78
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L189">packages/saltcorn-data/models/user.ts:189</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="destroy_all_tenant_sessions"><code class="tsd-tag">Static</code><span>destroy_<wbr/>all_<wbr/>tenant_<wbr/>sessions</span><a href="#destroy_all_tenant_sessions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="destroy_all_tenant_sessions-1"><span class="tsd-kind-call-signature">destroy_all_tenant_sessions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tenant</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#destroy_all_tenant_sessions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">tenant</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L781">packages/saltcorn-data/models/user.ts:781</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="find"><code class="tsd-tag">Static</code><span>find</span><a href="#find" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="find-1"><span class="tsd-kind-call-signature">find</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">selectopts</span><span class="tsd-signature-symbol">?:</span> <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#find-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find users list</p>
79
79
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span><div class="tsd-comment tsd-typography"><p>where object</p>
80
80
  </div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">selectopts</span>: <a href="../types/_saltcorn_db-common.internal.SelectOptions.html" class="tsd-signature-type tsd-kind-type-alias">SelectOptions</a></span><div class="tsd-comment tsd-typography"><p>select options</p>
81
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L412">packages/saltcorn-data/models/user.ts:412</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findbyapitoken"><code class="tsd-tag">Static</code><span>find<wbr/>By<wbr/>Api<wbr/>Token</span><a href="#findbyapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findbyapitoken-1"><span class="tsd-kind-call-signature">findByApiToken</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span><a href="#findbyapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find user by API token</p>
82
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">token</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L575">packages/saltcorn-data/models/user.ts:575</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findforsession"><code class="tsd-tag">Static</code><span>find<wbr/>For<wbr/>Session</span><a href="#findforsession" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findforsession-1"><span class="tsd-kind-call-signature">findForSession</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span><a href="#findforsession-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find users list</p>
81
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L412">packages/saltcorn-data/models/user.ts:412</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findbyapitoken"><code class="tsd-tag">Static</code><span>find<wbr/>By<wbr/>Api<wbr/>Token</span><a href="#findbyapitoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findbyapitoken-1"><span class="tsd-kind-call-signature">findByApiToken</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span><a href="#findbyapitoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find user by API token</p>
82
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">token</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L575">packages/saltcorn-data/models/user.ts:575</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findforsession"><code class="tsd-tag">Static</code><span>find<wbr/>For<wbr/>Session</span><a href="#findforsession" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findforsession-1"><span class="tsd-kind-call-signature">findForSession</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span><a href="#findforsession-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find users list</p>
83
83
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span><div class="tsd-comment tsd-typography"><p>where object</p>
84
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L328">packages/saltcorn-data/models/user.ts:328</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findone"><code class="tsd-tag">Static</code><span>find<wbr/>One</span><a href="#findone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findone-1"><span class="tsd-kind-call-signature">findOne</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span><a href="#findone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find one user</p>
84
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L328">packages/saltcorn-data/models/user.ts:328</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findone"><code class="tsd-tag">Static</code><span>find<wbr/>One</span><a href="#findone" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findone-1"><span class="tsd-kind-call-signature">findOne</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">where</span><span class="tsd-signature-symbol">:</span> <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span><a href="#findone-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find one user</p>
85
85
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">where</span>: <a href="../types/_saltcorn_db-common.internal.Where.html" class="tsd-signature-type tsd-kind-type-alias">Where</a></span><div class="tsd-comment tsd-typography"><p>where object</p>
86
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L425">packages/saltcorn-data/models/user.ts:425</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findorcreatebyattribute"><code class="tsd-tag">Static</code><span>find<wbr/>Or<wbr/>Create<wbr/>By<wbr/>Attribute</span><a href="#findorcreatebyattribute" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findorcreatebyattribute-1"><span class="tsd-kind-call-signature">findOrCreateByAttribute</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">k</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#findorcreatebyattribute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find or Create User</p>
87
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">k</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">any</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">uo</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L156">packages/saltcorn-data/models/user.ts:156</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="generate_password"><code class="tsd-tag">Static</code><span>generate_<wbr/>password</span><a href="#generate_password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="generate_password-1"><span class="tsd-kind-call-signature">generate_password</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#generate_password-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generate password</p>
88
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L758">packages/saltcorn-data/models/user.ts:758</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_roles"><code class="tsd-tag">Static</code><span>get_<wbr/>roles</span><a href="#get_roles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_roles-1"><span class="tsd-kind-call-signature">get_roles</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_roles-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get available roles</p>
89
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L750">packages/saltcorn-data/models/user.ts:750</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hashpassword"><code class="tsd-tag">Static</code><span>hash<wbr/>Password</span><a href="#hashpassword" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="hashpassword-1"><span class="tsd-kind-call-signature">hashPassword</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#hashpassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get bcrypt hash for Password</p>
86
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L425">packages/saltcorn-data/models/user.ts:425</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="findorcreatebyattribute"><code class="tsd-tag">Static</code><span>find<wbr/>Or<wbr/>Create<wbr/>By<wbr/>Attribute</span><a href="#findorcreatebyattribute" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="findorcreatebyattribute-1"><span class="tsd-kind-call-signature">findOrCreateByAttribute</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">k</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">v</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#findorcreatebyattribute-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find or Create User</p>
87
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">k</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">v</span>: <span class="tsd-signature-type">any</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">uo</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = {}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <a href="" class="tsd-signature-type tsd-kind-class">User</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L156">packages/saltcorn-data/models/user.ts:156</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="generate_password"><code class="tsd-tag">Static</code><span>generate_<wbr/>password</span><a href="#generate_password" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="generate_password-1"><span class="tsd-kind-call-signature">generate_password</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#generate_password-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generate password</p>
88
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L758">packages/saltcorn-data/models/user.ts:758</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="get_roles"><code class="tsd-tag">Static</code><span>get_<wbr/>roles</span><a href="#get_roles" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="get_roles-1"><span class="tsd-kind-call-signature">get_roles</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#get_roles-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get available roles</p>
89
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_db-common.internal.Row.html" class="tsd-signature-type tsd-kind-type-alias">Row</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L750">packages/saltcorn-data/models/user.ts:750</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hashpassword"><code class="tsd-tag">Static</code><span>hash<wbr/>Password</span><a href="#hashpassword" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="hashpassword-1"><span class="tsd-kind-call-signature">hashPassword</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#hashpassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get bcrypt hash for Password</p>
90
90
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pw</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>password string</p>
91
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L119">packages/saltcorn-data/models/user.ts:119</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="matches_existing_user"><code class="tsd-tag">Static</code><span>matches_<wbr/>existing_<wbr/>user</span><a href="#matches_existing_user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="matches_existing_user-1"><span class="tsd-kind-call-signature">matches_existing_user</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#matches_existing_user-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">uo</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L247">packages/saltcorn-data/models/user.ts:247</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="nonempty"><code class="tsd-tag">Static</code><span class="deprecated">non<wbr/>Empty</span><a href="#nonempty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="nonempty-1"><span class="tsd-kind-call-signature">nonEmpty</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#nonempty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check that user table is not empty in database</p>
91
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L119">packages/saltcorn-data/models/user.ts:119</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="matches_existing_user"><code class="tsd-tag">Static</code><span>matches_<wbr/>existing_<wbr/>user</span><a href="#matches_existing_user" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="matches_existing_user-1"><span class="tsd-kind-call-signature">matches_existing_user</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">uo</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#matches_existing_user-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">uo</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L247">packages/saltcorn-data/models/user.ts:247</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="nonempty"><code class="tsd-tag">Static</code><span class="deprecated">non<wbr/>Empty</span><a href="#nonempty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="nonempty-1"><span class="tsd-kind-call-signature">nonEmpty</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#nonempty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check that user table is not empty in database</p>
92
92
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><p>true if there are users in db</p>
93
93
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link" id="deprecated">Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>use method count()</p>
94
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L435">packages/saltcorn-data/models/user.ts:435</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="resetpasswordwithtoken"><code class="tsd-tag">Static</code><span>reset<wbr/>Password<wbr/>With<wbr/>Token</span><a href="#resetpasswordwithtoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="resetpasswordwithtoken-1"><span class="tsd-kind-call-signature">resetPasswordWithToken</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">confirm_password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">reset_password_token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.SuccessMessage.html" class="tsd-signature-type tsd-kind-type-alias">SuccessMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#resetpasswordwithtoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reset password using token</p>
94
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L435">packages/saltcorn-data/models/user.ts:435</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="resetpasswordwithtoken"><code class="tsd-tag">Static</code><span>reset<wbr/>Password<wbr/>With<wbr/>Token</span><a href="#resetpasswordwithtoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="resetpasswordwithtoken-1"><span class="tsd-kind-call-signature">resetPasswordWithToken</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>        <span class="tsd-kind-property">confirm_password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>        <span class="tsd-kind-property">reset_password_token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.SuccessMessage.html" class="tsd-signature-type tsd-kind-type-alias">SuccessMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#resetpasswordwithtoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reset password using token</p>
95
95
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">email</span>: <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">confirm_password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">password</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">reset_password_token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>email address string</p>
96
- </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.SuccessMessage.html" class="tsd-signature-type tsd-kind-type-alias">SuccessMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L695">packages/saltcorn-data/models/user.ts:695</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="unacceptable_password_reason"><code class="tsd-tag">Static</code><span>unacceptable_<wbr/>password_<wbr/>reason</span><a href="#unacceptable_password_reason" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="unacceptable_password_reason-1"><span class="tsd-kind-call-signature">unacceptable_password_reason</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><a href="#unacceptable_password_reason-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Validate password</p>
97
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pw</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L597">packages/saltcorn-data/models/user.ts:597</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="valid_email"><code class="tsd-tag">Static</code><span>valid_<wbr/>email</span><a href="#valid_email" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="valid_email-1"><span class="tsd-kind-call-signature">valid_email</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#valid_email-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Validate email</p>
98
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">email</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L646">packages/saltcorn-data/models/user.ts:646</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="verifywithtoken"><code class="tsd-tag">Static</code><span>verify<wbr/>With<wbr/>Token</span><a href="#verifywithtoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="verifywithtoken-1"><span class="tsd-kind-call-signature">verifyWithToken</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">verification_token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#verifywithtoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Verification with token</p>
96
+ </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.SuccessMessage.html" class="tsd-signature-type tsd-kind-type-alias">SuccessMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L695">packages/saltcorn-data/models/user.ts:695</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="unacceptable_password_reason"><code class="tsd-tag">Static</code><span>unacceptable_<wbr/>password_<wbr/>reason</span><a href="#unacceptable_password_reason" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="unacceptable_password_reason-1"><span class="tsd-kind-call-signature">unacceptable_password_reason</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pw</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span><a href="#unacceptable_password_reason-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Validate password</p>
97
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pw</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">undefined</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L597">packages/saltcorn-data/models/user.ts:597</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="valid_email"><code class="tsd-tag">Static</code><span>valid_<wbr/>email</span><a href="#valid_email" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="valid_email-1"><span class="tsd-kind-call-signature">valid_email</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#valid_email-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Validate email</p>
98
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">email</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L646">packages/saltcorn-data/models/user.ts:646</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="verifywithtoken"><code class="tsd-tag">Static</code><span>verify<wbr/>With<wbr/>Token</span><a href="#verifywithtoken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="verifywithtoken-1"><span class="tsd-kind-call-signature">verifyWithToken</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">verification_token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#verifywithtoken-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Verification with token</p>
99
99
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">email</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">email</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">verification_token</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></span><div class="tsd-comment tsd-typography"><p>email string</p>
100
100
  </div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">true</span> <span class="tsd-signature-symbol">|</span> <a href="../types/_saltcorn_types.common_types.ErrorMessage.html" class="tsd-signature-type tsd-kind-type-alias">ErrorMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><p>true if verification passed, error string if not</p>
101
- <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/b74c00000e6d2c1b5b2f4f844e780d94b465ff52/packages/saltcorn-data/models/user.ts#L656">packages/saltcorn-data/models/user.ts:656</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_attributes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>attributes</span></a><a href="#api_token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>api_<wbr/>token</span></a><a href="#disabled"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disabled</span></a><a href="#email"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>email</span></a><a href="#id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#language"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>language</span></a><a href="#last_mobile_login"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last_<wbr/>mobile_<wbr/>login</span></a><a href="#password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>password</span></a><a href="#reset_password_expiry"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>reset_<wbr/>password_<wbr/>expiry</span></a><a href="#reset_password_token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>reset_<wbr/>password_<wbr/>token</span></a><a href="#role_id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>role_<wbr/>id</span></a><a href="#verification_token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>verification_<wbr/>token</span></a><a href="#verified_on"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>verified_<wbr/>on</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#session_object"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>session_<wbr/>object</span></a><a href="#table"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>table</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#auth_method_allowed"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>auth_<wbr/>method_<wbr/>allowed</span></a><a href="#changepasswordto"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Password<wbr/>To</span></a><a href="#checkpassword"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Password</span></a><a href="#delete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete</span></a><a href="#destroy_sessions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy_<wbr/>sessions</span></a><a href="#getnewapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>New<wbr/>API<wbr/>Token</span></a><a href="#getnewresettoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>New<wbr/>Reset<wbr/>Token</span></a><a href="#listapitokens"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>list<wbr/>Api<wbr/>Tokens</span></a><a href="#relogin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>relogin</span></a><a href="#removeapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>API<wbr/>Token</span></a><a href="#revokeapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>revoke<wbr/>Api<wbr/>Token</span></a><a href="#revokeoriginalapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>revoke<wbr/>Original<wbr/>Api<wbr/>Token</span></a><a href="#send_verification_email"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send_<wbr/>verification_<wbr/>email</span></a><a href="#set_language"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set_<wbr/>language</span></a><a href="#set_to_verified"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set_<wbr/>to_<wbr/>verified</span></a><a href="#update"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a><a href="#updatelastmobilelogin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Last<wbr/>Mobile<wbr/>Login</span></a><a href="#authenticate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>authenticate</span></a><a href="#count"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count</span></a><a href="#create"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a><a href="#destroy_all_tenant_sessions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy_<wbr/>all_<wbr/>tenant_<wbr/>sessions</span></a><a href="#find"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find</span></a><a href="#findbyapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>By<wbr/>Api<wbr/>Token</span></a><a href="#findforsession"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>For<wbr/>Session</span></a><a href="#findone"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>One</span></a><a href="#findorcreatebyattribute"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Or<wbr/>Create<wbr/>By<wbr/>Attribute</span></a><a href="#generate_password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate_<wbr/>password</span></a><a href="#get_roles"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>roles</span></a><a href="#hashpassword"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hash<wbr/>Password</span></a><a href="#matches_existing_user"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>matches_<wbr/>existing_<wbr/>user</span></a><a href="#nonempty"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>non<wbr/>Empty</span></a><a href="#resetpasswordwithtoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Password<wbr/>With<wbr/>Token</span></a><a href="#unacceptable_password_reason"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unacceptable_<wbr/>password_<wbr/>reason</span></a><a href="#valid_email"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>valid_<wbr/>email</span></a><a href="#verifywithtoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verify<wbr/>With<wbr/>Token</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
101
+ <aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/d0f75cbde8c5ebe592cdf66ac304616d4d330386/packages/saltcorn-data/models/user.ts#L656">packages/saltcorn-data/models/user.ts:656</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_attributes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>attributes</span></a><a href="#api_token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>api_<wbr/>token</span></a><a href="#disabled"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disabled</span></a><a href="#email"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>email</span></a><a href="#id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#language"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>language</span></a><a href="#last_mobile_login"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last_<wbr/>mobile_<wbr/>login</span></a><a href="#password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>password</span></a><a href="#reset_password_expiry"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>reset_<wbr/>password_<wbr/>expiry</span></a><a href="#reset_password_token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>reset_<wbr/>password_<wbr/>token</span></a><a href="#role_id"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>role_<wbr/>id</span></a><a href="#verification_token"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>verification_<wbr/>token</span></a><a href="#verified_on"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>verified_<wbr/>on</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#session_object"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>session_<wbr/>object</span></a><a href="#table"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>table</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#auth_method_allowed"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>auth_<wbr/>method_<wbr/>allowed</span></a><a href="#changepasswordto"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Password<wbr/>To</span></a><a href="#checkpassword"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Password</span></a><a href="#delete"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete</span></a><a href="#destroy_sessions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy_<wbr/>sessions</span></a><a href="#getnewapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>New<wbr/>API<wbr/>Token</span></a><a href="#getnewresettoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>New<wbr/>Reset<wbr/>Token</span></a><a href="#listapitokens"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>list<wbr/>Api<wbr/>Tokens</span></a><a href="#relogin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>relogin</span></a><a href="#removeapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>API<wbr/>Token</span></a><a href="#revokeapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>revoke<wbr/>Api<wbr/>Token</span></a><a href="#revokeoriginalapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>revoke<wbr/>Original<wbr/>Api<wbr/>Token</span></a><a href="#send_verification_email"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send_<wbr/>verification_<wbr/>email</span></a><a href="#set_language"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set_<wbr/>language</span></a><a href="#set_to_verified"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set_<wbr/>to_<wbr/>verified</span></a><a href="#update"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a><a href="#updatelastmobilelogin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Last<wbr/>Mobile<wbr/>Login</span></a><a href="#authenticate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>authenticate</span></a><a href="#count"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count</span></a><a href="#create"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a><a href="#destroy_all_tenant_sessions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy_<wbr/>all_<wbr/>tenant_<wbr/>sessions</span></a><a href="#find"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find</span></a><a href="#findbyapitoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>By<wbr/>Api<wbr/>Token</span></a><a href="#findforsession"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>For<wbr/>Session</span></a><a href="#findone"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>One</span></a><a href="#findorcreatebyattribute"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Or<wbr/>Create<wbr/>By<wbr/>Attribute</span></a><a href="#generate_password"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate_<wbr/>password</span></a><a href="#get_roles"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get_<wbr/>roles</span></a><a href="#hashpassword"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hash<wbr/>Password</span></a><a href="#matches_existing_user"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>matches_<wbr/>existing_<wbr/>user</span></a><a href="#nonempty"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>non<wbr/>Empty</span></a><a href="#resetpasswordwithtoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Password<wbr/>With<wbr/>Token</span></a><a href="#unacceptable_password_reason"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unacceptable_<wbr/>password_<wbr/>reason</span></a><a href="#valid_email"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>valid_<wbr/>email</span></a><a href="#verifywithtoken"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verify<wbr/>With<wbr/>Token</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Documentation</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>