@saltcorn/server 1.1.2-beta.9 → 1.1.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 (418) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/auth/admin.js +8 -1
  3. package/auth/routes.js +45 -4
  4. package/docs/.nojekyll +1 -0
  5. package/docs/assets/custom.css +6 -0
  6. package/docs/assets/highlight.css +85 -0
  7. package/docs/assets/main.js +58 -0
  8. package/docs/assets/search.js +1 -0
  9. package/docs/assets/style.css +1367 -0
  10. package/docs/classes/_saltcorn_common_code.Relation.html +162 -0
  11. package/docs/classes/_saltcorn_common_code.RelationsFinder.html +182 -0
  12. package/docs/classes/_saltcorn_data.models.Crash-1.html +316 -0
  13. package/docs/classes/_saltcorn_data.models.EventLog-1.html +350 -0
  14. package/docs/classes/_saltcorn_data.models.Field.html +949 -0
  15. package/docs/classes/_saltcorn_data.models.FieldRepeat-1.html +293 -0
  16. package/docs/classes/_saltcorn_data.models.File-1.html +881 -0
  17. package/docs/classes/_saltcorn_data.models.Form-1.html +494 -0
  18. package/docs/classes/_saltcorn_data.models.Library.html +295 -0
  19. package/docs/classes/_saltcorn_data.models.Page.html +417 -0
  20. package/docs/classes/_saltcorn_data.models.PageGroup-1.html +500 -0
  21. package/docs/classes/_saltcorn_data.models.Plugin.html +414 -0
  22. package/docs/classes/_saltcorn_data.models.Role.html +254 -0
  23. package/docs/classes/_saltcorn_data.models.Table-1.html +1830 -0
  24. package/docs/classes/_saltcorn_data.models.TableConstraint-1.html +296 -0
  25. package/docs/classes/_saltcorn_data.models.Trigger.html +672 -0
  26. package/docs/classes/_saltcorn_data.models.User-1.html +813 -0
  27. package/docs/classes/_saltcorn_data.models.View-1.html +878 -0
  28. package/docs/classes/_saltcorn_data.models.Workflow-1.html +374 -0
  29. package/docs/classes/_saltcorn_data.models.WorkflowRun.html +529 -0
  30. package/docs/classes/_saltcorn_data.models.WorkflowStep.html +421 -0
  31. package/docs/classes/_saltcorn_data.models.WorkflowTrace.html +318 -0
  32. package/docs/classes/_saltcorn_mobile_builder.MobileBuilder.html +356 -0
  33. package/docs/enums/_saltcorn_common_code.RelationType.html +115 -0
  34. package/docs/enums/_saltcorn_common_code.ViewDisplayType.html +94 -0
  35. package/docs/functions/_saltcorn_admin_models.backup.create_backup.html +76 -0
  36. package/docs/functions/_saltcorn_admin_models.backup.create_csv_from_rows.html +77 -0
  37. package/docs/functions/_saltcorn_admin_models.backup.restore.html +93 -0
  38. package/docs/functions/_saltcorn_admin_models.pack.add_to_menu.html +100 -0
  39. package/docs/functions/_saltcorn_admin_models.pack.can_install_pack.html +89 -0
  40. package/docs/functions/_saltcorn_admin_models.pack.fetch_available_packs.html +83 -0
  41. package/docs/functions/_saltcorn_admin_models.pack.fetch_pack_by_name.html +90 -0
  42. package/docs/functions/_saltcorn_admin_models.pack.install_pack.html +107 -0
  43. package/docs/functions/_saltcorn_admin_models.pack.library_pack.html +90 -0
  44. package/docs/functions/_saltcorn_admin_models.pack.model_instance_pack.html +95 -0
  45. package/docs/functions/_saltcorn_admin_models.pack.model_pack.html +96 -0
  46. package/docs/functions/_saltcorn_admin_models.pack.page_group_pack.html +91 -0
  47. package/docs/functions/_saltcorn_admin_models.pack.page_pack.html +91 -0
  48. package/docs/functions/_saltcorn_admin_models.pack.plugin_pack.html +89 -0
  49. package/docs/functions/_saltcorn_admin_models.pack.role_pack.html +90 -0
  50. package/docs/functions/_saltcorn_admin_models.pack.table_pack.html +90 -0
  51. package/docs/functions/_saltcorn_admin_models.pack.trigger_pack.html +89 -0
  52. package/docs/functions/_saltcorn_admin_models.pack.uninstall_pack.html +92 -0
  53. package/docs/functions/_saltcorn_admin_models.pack.view_pack.html +89 -0
  54. package/docs/functions/_saltcorn_admin_models.tenant.copy_tenant_template.html +105 -0
  55. package/docs/functions/_saltcorn_admin_models.tenant.create_tenant.html +107 -0
  56. package/docs/functions/_saltcorn_admin_models.tenant.deleteTenant.html +88 -0
  57. package/docs/functions/_saltcorn_admin_models.tenant.domain_sanitize.html +87 -0
  58. package/docs/functions/_saltcorn_admin_models.tenant.eachTenant.html +91 -0
  59. package/docs/functions/_saltcorn_admin_models.tenant.getAllTenantRows.html +77 -0
  60. package/docs/functions/_saltcorn_admin_models.tenant.getAllTenants.html +77 -0
  61. package/docs/functions/_saltcorn_admin_models.tenant.insertTenant.html +103 -0
  62. package/docs/functions/_saltcorn_admin_models.tenant.switchToTenant.html +92 -0
  63. package/docs/functions/_saltcorn_common_code.buildTableCaches.html +81 -0
  64. package/docs/functions/_saltcorn_common_code.parseLegacyRelation.html +77 -0
  65. package/docs/functions/_saltcorn_common_code.parseRelationPath.html +76 -0
  66. package/docs/functions/_saltcorn_data.models.config.check_email_mask.html +131 -0
  67. package/docs/functions/_saltcorn_data.models.config.deleteConfig.html +131 -0
  68. package/docs/functions/_saltcorn_data.models.config.getAllConfig.html +125 -0
  69. package/docs/functions/_saltcorn_data.models.config.getConfig.html +134 -0
  70. package/docs/functions/_saltcorn_data.models.config.get_base_url.html +130 -0
  71. package/docs/functions/_saltcorn_data.models.config.get_latest_npm_version.html +132 -0
  72. package/docs/functions/_saltcorn_data.models.config.remove_from_menu.html +131 -0
  73. package/docs/functions/_saltcorn_data.models.config.save_menu_items.html +126 -0
  74. package/docs/functions/_saltcorn_data.models.config.setConfig.html +134 -0
  75. package/docs/functions/_saltcorn_data.models.discovery.discover_tables.html +131 -0
  76. package/docs/functions/_saltcorn_data.models.discovery.discoverable_tables.html +129 -0
  77. package/docs/functions/_saltcorn_data.models.discovery.findType.html +127 -0
  78. package/docs/functions/_saltcorn_data.models.discovery.get_existing_views.html +127 -0
  79. package/docs/functions/_saltcorn_data.models.discovery.implement_discovery.html +129 -0
  80. package/docs/functions/_saltcorn_data.models.email.getMailTransport.html +114 -0
  81. package/docs/functions/_saltcorn_data.models.email.send_verification_email.html +130 -0
  82. package/docs/functions/_saltcorn_data.models.email.viewToEmailHtml.html +130 -0
  83. package/docs/functions/_saltcorn_data.models.expression.apply_calculated_fields.html +131 -0
  84. package/docs/functions/_saltcorn_data.models.expression.apply_calculated_fields_stored.html +131 -0
  85. package/docs/functions/_saltcorn_data.models.expression.eval_expression.html +132 -0
  86. package/docs/functions/_saltcorn_data.models.expression.expressionValidator.html +126 -0
  87. package/docs/functions/_saltcorn_data.models.expression.get_async_expression_function.html +132 -0
  88. package/docs/functions/_saltcorn_data.models.expression.get_expression_function.html +129 -0
  89. package/docs/functions/_saltcorn_data.models.expression.jsexprToWhere.html +131 -0
  90. package/docs/functions/_saltcorn_data.models.expression.recalculate_for_stored.html +132 -0
  91. package/docs/functions/_saltcorn_data.models.expression.transform_for_async.html +134 -0
  92. package/docs/functions/_saltcorn_data.models.layout.eachView.html +128 -0
  93. package/docs/functions/_saltcorn_data.models.layout.getStringsForI18n.html +123 -0
  94. package/docs/functions/_saltcorn_data.models.layout.getViews.html +123 -0
  95. package/docs/functions/_saltcorn_data.models.layout.translateLayout.html +126 -0
  96. package/docs/functions/_saltcorn_data.models.layout.traverse.html +126 -0
  97. package/docs/functions/_saltcorn_data.models.layout.traverseSync.html +126 -0
  98. package/docs/functions/_saltcorn_data.models.random.all_views.html +123 -0
  99. package/docs/functions/_saltcorn_data.models.random.fill_table_row.html +123 -0
  100. package/docs/functions/_saltcorn_data.models.random.initial_view.html +126 -0
  101. package/docs/functions/_saltcorn_data.models.random.random_table.html +120 -0
  102. package/docs/functions/_saltcorn_db_common.buildInsertBulkSql.html +127 -0
  103. package/docs/functions/_saltcorn_db_common.buildInsertSql.html +128 -0
  104. package/docs/functions/_saltcorn_db_common.doCount.html +110 -0
  105. package/docs/functions/_saltcorn_db_common.doDeleteWhere.html +110 -0
  106. package/docs/functions/_saltcorn_db_common.doListScTables.html +104 -0
  107. package/docs/functions/_saltcorn_db_common.doListTables.html +104 -0
  108. package/docs/functions/_saltcorn_db_common.doListUserDefinedTables.html +104 -0
  109. package/docs/functions/_saltcorn_db_common.do_add_index.html +120 -0
  110. package/docs/functions/_saltcorn_db_common.do_drop_index.html +120 -0
  111. package/docs/functions/_saltcorn_db_common.ftsFieldsSqlExpr.html +106 -0
  112. package/docs/functions/_saltcorn_db_common.mkSelectOptions.html +108 -0
  113. package/docs/functions/_saltcorn_db_common.mkVal.html +105 -0
  114. package/docs/functions/_saltcorn_db_common.mkWhere.html +110 -0
  115. package/docs/functions/_saltcorn_db_common.multi_tenant.enable_multi_tenant.html +108 -0
  116. package/docs/functions/_saltcorn_db_common.multi_tenant.getTenantSchema.html +110 -0
  117. package/docs/functions/_saltcorn_db_common.multi_tenant.init.html +116 -0
  118. package/docs/functions/_saltcorn_db_common.multi_tenant.is_it_multi_tenant.html +110 -0
  119. package/docs/functions/_saltcorn_db_common.multi_tenant.runWithTenant.html +130 -0
  120. package/docs/functions/_saltcorn_db_common.orderByIsObject.html +102 -0
  121. package/docs/functions/_saltcorn_db_common.orderByIsOperator.html +102 -0
  122. package/docs/functions/_saltcorn_db_common.prefixFieldsInWhere.html +104 -0
  123. package/docs/functions/_saltcorn_db_common.reprAsJson.html +107 -0
  124. package/docs/functions/_saltcorn_db_common.single_tenant.enable_multi_tenant.html +107 -0
  125. package/docs/functions/_saltcorn_db_common.single_tenant.getTenantSchema.html +109 -0
  126. package/docs/functions/_saltcorn_db_common.single_tenant.init.html +115 -0
  127. package/docs/functions/_saltcorn_db_common.single_tenant.is_it_multi_tenant.html +109 -0
  128. package/docs/functions/_saltcorn_db_common.single_tenant.runWithTenant.html +129 -0
  129. package/docs/functions/_saltcorn_db_common.sqlBinOp.html +111 -0
  130. package/docs/functions/_saltcorn_db_common.sqlFun.html +111 -0
  131. package/docs/functions/_saltcorn_db_common.sqlsanitize.html +108 -0
  132. package/docs/functions/_saltcorn_db_common.sqlsanitizeAllowDots.html +110 -0
  133. package/docs/functions/_saltcorn_db_common.subSelectWhere.html +133 -0
  134. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.buildTablesFile.html +110 -0
  135. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyPrepopulatedDb.html +100 -0
  136. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyServerFiles.html +104 -0
  137. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyShareExtFiles.html +98 -0
  138. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copySiteLogo.html +102 -0
  139. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.copyTranslationFiles.html +104 -0
  140. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.createSqliteDb.html +105 -0
  141. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.decodeProvisioningProfile.html +100 -0
  142. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.extractDomain.html +98 -0
  143. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.generateAndroidVersionCode.html +98 -0
  144. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyAndroidManifest.html +102 -0
  145. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyConfigXml.html +100 -0
  146. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyGradleConfig.html +100 -0
  147. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyInfoPlist.html +100 -0
  148. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.modifyXcodeProjectFile.html +107 -0
  149. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepAppIcon.html +100 -0
  150. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareAppIcon.html +109 -0
  151. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareBuildDir.html +110 -0
  152. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareExportOptionsPlist.html +98 -0
  153. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareSplashIcon.html +110 -0
  154. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.prepareSplashPage.html +119 -0
  155. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeCapacitorConfig.html +100 -0
  156. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeCfgFile.html +102 -0
  157. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeDataExtractionRules.html +98 -0
  158. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writeNetworkSecurityConfig.html +100 -0
  159. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writePodfile.html +98 -0
  160. package/docs/functions/_saltcorn_mobile_builder.common_build_utils.writePrivacyInfo.html +98 -0
  161. package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.bundleMobileAppCode.html +73 -0
  162. package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.bundlePackagesAndPlugins.html +82 -0
  163. package/docs/functions/_saltcorn_mobile_builder.package_bundle_utils.copyPublicDirs.html +80 -0
  164. package/docs/functions/_saltcorn_sqlite.add_index.html +105 -0
  165. package/docs/functions/_saltcorn_sqlite.add_unique_constraint.html +105 -0
  166. package/docs/functions/_saltcorn_sqlite.begin.html +92 -0
  167. package/docs/functions/_saltcorn_sqlite.changeConnection.html +100 -0
  168. package/docs/functions/_saltcorn_sqlite.close.html +92 -0
  169. package/docs/functions/_saltcorn_sqlite.commit.html +92 -0
  170. package/docs/functions/_saltcorn_sqlite.count.html +106 -0
  171. package/docs/functions/_saltcorn_sqlite.deleteWhere.html +106 -0
  172. package/docs/functions/_saltcorn_sqlite.dropTable.html +95 -0
  173. package/docs/functions/_saltcorn_sqlite.dropTables.html +95 -0
  174. package/docs/functions/_saltcorn_sqlite.drop_index.html +105 -0
  175. package/docs/functions/_saltcorn_sqlite.drop_reset_schema.html +94 -0
  176. package/docs/functions/_saltcorn_sqlite.drop_unique_constraint.html +105 -0
  177. package/docs/functions/_saltcorn_sqlite.getVersion.html +93 -0
  178. package/docs/functions/_saltcorn_sqlite.get_db_filepath.html +92 -0
  179. package/docs/functions/_saltcorn_sqlite.get_sql_logging.html +92 -0
  180. package/docs/functions/_saltcorn_sqlite.init.html +105 -0
  181. package/docs/functions/_saltcorn_sqlite.insert.html +113 -0
  182. package/docs/functions/_saltcorn_sqlite.listScTables.html +89 -0
  183. package/docs/functions/_saltcorn_sqlite.listTables.html +89 -0
  184. package/docs/functions/_saltcorn_sqlite.listUserDefinedTables.html +89 -0
  185. package/docs/functions/_saltcorn_sqlite.query.html +98 -0
  186. package/docs/functions/_saltcorn_sqlite.rollback.html +92 -0
  187. package/docs/functions/_saltcorn_sqlite.select.html +108 -0
  188. package/docs/functions/_saltcorn_sqlite.selectMaybeOne.html +110 -0
  189. package/docs/functions/_saltcorn_sqlite.selectOne.html +109 -0
  190. package/docs/functions/_saltcorn_sqlite.set_sql_logging.html +96 -0
  191. package/docs/functions/_saltcorn_sqlite.slugify.html +93 -0
  192. package/docs/functions/_saltcorn_sqlite.sql_log.html +104 -0
  193. package/docs/functions/_saltcorn_sqlite.update.html +111 -0
  194. package/docs/functions/_saltcorn_sqlite.updateWhere.html +97 -0
  195. package/docs/functions/_saltcorn_sqlite_mobile.add_index.html +95 -0
  196. package/docs/functions/_saltcorn_sqlite_mobile.add_unique_constraint.html +95 -0
  197. package/docs/functions/_saltcorn_sqlite_mobile.count.html +88 -0
  198. package/docs/functions/_saltcorn_sqlite_mobile.deleteWhere.html +85 -0
  199. package/docs/functions/_saltcorn_sqlite_mobile.drop_index.html +95 -0
  200. package/docs/functions/_saltcorn_sqlite_mobile.drop_reset_schema.html +78 -0
  201. package/docs/functions/_saltcorn_sqlite_mobile.drop_unique_constraint.html +95 -0
  202. package/docs/functions/_saltcorn_sqlite_mobile.init.html +78 -0
  203. package/docs/functions/_saltcorn_sqlite_mobile.insert.html +96 -0
  204. package/docs/functions/_saltcorn_sqlite_mobile.insertRows.html +94 -0
  205. package/docs/functions/_saltcorn_sqlite_mobile.listScTables.html +79 -0
  206. package/docs/functions/_saltcorn_sqlite_mobile.listTables.html +79 -0
  207. package/docs/functions/_saltcorn_sqlite_mobile.listUserDefinedTables.html +79 -0
  208. package/docs/functions/_saltcorn_sqlite_mobile.query.html +85 -0
  209. package/docs/functions/_saltcorn_sqlite_mobile.select.html +87 -0
  210. package/docs/functions/_saltcorn_sqlite_mobile.selectMaybeOne.html +88 -0
  211. package/docs/functions/_saltcorn_sqlite_mobile.selectOne.html +88 -0
  212. package/docs/functions/_saltcorn_sqlite_mobile.setConnectionObject.html +85 -0
  213. package/docs/functions/_saltcorn_sqlite_mobile.tableExists.html +87 -0
  214. package/docs/functions/_saltcorn_sqlite_mobile.time.html +78 -0
  215. package/docs/functions/_saltcorn_sqlite_mobile.update.html +97 -0
  216. package/docs/functions/_saltcorn_types.ModelAbstracts.abstract_field.instanceOfField.html +88 -0
  217. package/docs/functions/_saltcorn_types.ModelAbstracts.abstract_page.instanceOfPage.html +87 -0
  218. package/docs/functions/_saltcorn_types.ModelAbstracts.abstract_view.instanceOfView.html +87 -0
  219. package/docs/functions/_saltcorn_types.Types.base_types.instanceOWithHtmlFile.html +107 -0
  220. package/docs/functions/_saltcorn_types.Types.common_types.instanceOfErrorMsg.html +84 -0
  221. package/docs/functions/_saltcorn_types.Types.common_types.instanceOfSuccessMsg.html +84 -0
  222. package/docs/functions/_saltcorn_types.Types.common_types.instanceOfType.html +84 -0
  223. package/docs/functions/_saltcorn_types.generators.generateBool.html +68 -0
  224. package/docs/functions/_saltcorn_types.generators.generateString.html +75 -0
  225. package/docs/functions/_saltcorn_types.generators.num_between.html +75 -0
  226. package/docs/functions/_saltcorn_types.generators.oneOf.html +73 -0
  227. package/docs/index.html +56 -0
  228. package/docs/interfaces/_saltcorn_mobile_builder.common_build_utils.ScCapacitorConfig.html +169 -0
  229. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_field.AbstractField.html +187 -0
  230. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_field.AbstractFieldRepeat.html +110 -0
  231. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_form.AbstractForm.html +268 -0
  232. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_page.AbstractPage.html +153 -0
  233. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_role.AbstractRole.html +108 -0
  234. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_table.AbstractTable.html +147 -0
  235. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_trigger.AbstractTrigger.html +224 -0
  236. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_view.AbstractView.html +174 -0
  237. package/docs/interfaces/_saltcorn_types.ModelAbstracts.abstract_workflow.AbstractWorkflow.html +264 -0
  238. package/docs/modules/_saltcorn_admin_models.backup.html +74 -0
  239. package/docs/modules/_saltcorn_admin_models.html +68 -0
  240. package/docs/modules/_saltcorn_admin_models.pack.html +100 -0
  241. package/docs/modules/_saltcorn_admin_models.tenant.html +86 -0
  242. package/docs/modules/_saltcorn_common_code.html +77 -0
  243. package/docs/modules/_saltcorn_data.html +476 -0
  244. package/docs/modules/_saltcorn_data.models.Crash.html +113 -0
  245. package/docs/modules/_saltcorn_data.models.EventLog.html +113 -0
  246. package/docs/modules/_saltcorn_data.models.FieldRepeat.html +113 -0
  247. package/docs/modules/_saltcorn_data.models.File.html +113 -0
  248. package/docs/modules/_saltcorn_data.models.Form.html +115 -0
  249. package/docs/modules/_saltcorn_data.models.PageGroup.html +113 -0
  250. package/docs/modules/_saltcorn_data.models.Table.html +117 -0
  251. package/docs/modules/_saltcorn_data.models.TableConstraint.html +113 -0
  252. package/docs/modules/_saltcorn_data.models.User.html +113 -0
  253. package/docs/modules/_saltcorn_data.models.View.html +113 -0
  254. package/docs/modules/_saltcorn_data.models.Workflow.html +113 -0
  255. package/docs/modules/_saltcorn_data.models.config.html +135 -0
  256. package/docs/modules/_saltcorn_data.models.discovery.html +120 -0
  257. package/docs/modules/_saltcorn_data.models.email.html +116 -0
  258. package/docs/modules/_saltcorn_data.models.expression.html +128 -0
  259. package/docs/modules/_saltcorn_data.models.html +150 -0
  260. package/docs/modules/_saltcorn_data.models.layout.html +122 -0
  261. package/docs/modules/_saltcorn_data.models.random.html +118 -0
  262. package/docs/modules/_saltcorn_data.models.scheduler.html +112 -0
  263. package/docs/modules/_saltcorn_data.plugin_helper.html +70 -0
  264. package/docs/modules/_saltcorn_data.utils.html +72 -0
  265. package/docs/modules/_saltcorn_db_common.html +181 -0
  266. package/docs/modules/_saltcorn_db_common.multi_tenant.html +120 -0
  267. package/docs/modules/_saltcorn_db_common.single_tenant.html +115 -0
  268. package/docs/modules/_saltcorn_markup.html +399 -0
  269. package/docs/modules/_saltcorn_mobile_builder.common_build_utils.html +124 -0
  270. package/docs/modules/_saltcorn_mobile_builder.html +75 -0
  271. package/docs/modules/_saltcorn_mobile_builder.package_bundle_utils.html +71 -0
  272. package/docs/modules/_saltcorn_sqlite.html +123 -0
  273. package/docs/modules/_saltcorn_sqlite_mobile.html +103 -0
  274. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_field.html +94 -0
  275. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_form.html +85 -0
  276. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_library.html +82 -0
  277. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_page.html +92 -0
  278. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_plugin.html +82 -0
  279. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_role.html +87 -0
  280. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_table.html +87 -0
  281. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_trigger.html +87 -0
  282. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_view.html +92 -0
  283. package/docs/modules/_saltcorn_types.ModelAbstracts.abstract_workflow.html +87 -0
  284. package/docs/modules/_saltcorn_types.ModelAbstracts.html +88 -0
  285. package/docs/modules/_saltcorn_types.Types.base_types.html +141 -0
  286. package/docs/modules/_saltcorn_types.Types.common_types.html +91 -0
  287. package/docs/modules/_saltcorn_types.Types.html +68 -0
  288. package/docs/modules/_saltcorn_types.generators.html +76 -0
  289. package/docs/modules/_saltcorn_types.html +67 -0
  290. package/docs/types/_saltcorn_data.models.Crash.CrashCfg.html +128 -0
  291. package/docs/types/_saltcorn_data.models.EventLog.EventLogCfg.html +122 -0
  292. package/docs/types/_saltcorn_data.models.FieldRepeat.FieldRepeatCfg.html +126 -0
  293. package/docs/types/_saltcorn_data.models.File.FileCfg.html +132 -0
  294. package/docs/types/_saltcorn_data.models.Form.AdditionalButton.html +108 -0
  295. package/docs/types/_saltcorn_data.models.Form.FormCfg.html +180 -0
  296. package/docs/types/_saltcorn_data.models.PageGroup.ScreenInfoParams.html +118 -0
  297. package/docs/types/_saltcorn_data.models.Table.ChildRelations.html +116 -0
  298. package/docs/types/_saltcorn_data.models.Table.ParentRelations.html +116 -0
  299. package/docs/types/_saltcorn_data.models.Table.RelationData.html +116 -0
  300. package/docs/types/_saltcorn_data.models.TableConstraint.TableConstraintCfg.html +120 -0
  301. package/docs/types/_saltcorn_data.models.User.UserCfg.html +138 -0
  302. package/docs/types/_saltcorn_data.models.View.FindViewsPred.html +127 -0
  303. package/docs/types/_saltcorn_data.models.Workflow.WorkflowCfg.html +161 -0
  304. package/docs/types/_saltcorn_db_common.AggregationOptions.html +114 -0
  305. package/docs/types/_saltcorn_db_common.CoordOpts.html +104 -0
  306. package/docs/types/_saltcorn_db_common.JoinField.html +106 -0
  307. package/docs/types/_saltcorn_db_common.JoinFields.html +98 -0
  308. package/docs/types/_saltcorn_db_common.JoinOptions.html +107 -0
  309. package/docs/types/_saltcorn_db_common.JsonPath.html +93 -0
  310. package/docs/types/_saltcorn_db_common.JsonPathElem.html +93 -0
  311. package/docs/types/_saltcorn_db_common.Operator.html +102 -0
  312. package/docs/types/_saltcorn_db_common.PrimaryKeyValue.html +93 -0
  313. package/docs/types/_saltcorn_db_common.Row.html +98 -0
  314. package/docs/types/_saltcorn_db_common.SelectOptions.html +132 -0
  315. package/docs/types/_saltcorn_db_common.SqlAndValues.html +104 -0
  316. package/docs/types/_saltcorn_db_common.SubselectOptions.html +104 -0
  317. package/docs/types/_saltcorn_db_common.Value.html +93 -0
  318. package/docs/types/_saltcorn_db_common.Where.html +115 -0
  319. package/docs/types/_saltcorn_mobile_builder.IosCfg.html +76 -0
  320. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_field.FieldCfg.html +168 -0
  321. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_field.InputType.html +79 -0
  322. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_form.AdditionalButton.html +87 -0
  323. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_library.LibraryCfg.html +87 -0
  324. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_library.LibraryPack.html +79 -0
  325. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_page.PageCfg.html +97 -0
  326. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_page.PagePack.html +85 -0
  327. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_plugin.PluginCfg.html +103 -0
  328. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_plugin.PluginPack.html +79 -0
  329. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_role.RoleCfg.html +84 -0
  330. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_role.RolePack.html +80 -0
  331. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_table.TableCfg.html +111 -0
  332. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_table.TablePack.html +86 -0
  333. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_trigger.TriggerCfg.html +104 -0
  334. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_trigger.TriggerPack.html +80 -0
  335. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_view.ViewCfg.html +109 -0
  336. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_view.ViewPack.html +89 -0
  337. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_workflow.ConfigWorkflowStep.html +97 -0
  338. package/docs/types/_saltcorn_types.ModelAbstracts.abstract_workflow.RunResult.html +100 -0
  339. package/docs/types/_saltcorn_types.Types.base_types.Action.html +189 -0
  340. package/docs/types/_saltcorn_types.Types.base_types.AuthenticationMethod.html +109 -0
  341. package/docs/types/_saltcorn_types.Types.base_types.CodePagePack.html +107 -0
  342. package/docs/types/_saltcorn_types.Types.base_types.Column.html +103 -0
  343. package/docs/types/_saltcorn_types.Types.base_types.ConnectedObjects.html +109 -0
  344. package/docs/types/_saltcorn_types.Types.base_types.CopilotSkill.html +149 -0
  345. package/docs/types/_saltcorn_types.Types.base_types.FieldLike.html +98 -0
  346. package/docs/types/_saltcorn_types.Types.base_types.FieldView.html +166 -0
  347. package/docs/types/_saltcorn_types.Types.base_types.Header.html +107 -0
  348. package/docs/types/_saltcorn_types.Types.base_types.JoinFieldOption.html +109 -0
  349. package/docs/types/_saltcorn_types.Types.base_types.Layout.html +98 -0
  350. package/docs/types/_saltcorn_types.Types.base_types.MobileConfig.html +133 -0
  351. package/docs/types/_saltcorn_types.Types.base_types.ModelPattern.html +261 -0
  352. package/docs/types/_saltcorn_types.Types.base_types.Pack.html +129 -0
  353. package/docs/types/_saltcorn_types.Types.base_types.Plugin.html +122 -0
  354. package/docs/types/_saltcorn_types.Types.base_types.PluginFunction.html +120 -0
  355. package/docs/types/_saltcorn_types.Types.base_types.PluginLayout.html +116 -0
  356. package/docs/types/_saltcorn_types.Types.base_types.PluginRoute.html +125 -0
  357. package/docs/types/_saltcorn_types.Types.base_types.PluginSourceType.html +98 -0
  358. package/docs/types/_saltcorn_types.Types.base_types.PluginType.html +183 -0
  359. package/docs/types/_saltcorn_types.Types.base_types.PluginWrap.html +111 -0
  360. package/docs/types/_saltcorn_types.Types.base_types.PluginWrapArg.html +122 -0
  361. package/docs/types/_saltcorn_types.Types.base_types.RelationOption.html +105 -0
  362. package/docs/types/_saltcorn_types.Types.base_types.Req.html +178 -0
  363. package/docs/types/_saltcorn_types.Types.base_types.Res.html +168 -0
  364. package/docs/types/_saltcorn_types.Types.base_types.RouteAction.html +121 -0
  365. package/docs/types/_saltcorn_types.Types.base_types.RunExtra.html +103 -0
  366. package/docs/types/_saltcorn_types.Types.base_types.TableProvider.html +140 -0
  367. package/docs/types/_saltcorn_types.Types.base_types.TableQuery.html +129 -0
  368. package/docs/types/_saltcorn_types.Types.base_types.Tablely.html +103 -0
  369. package/docs/types/_saltcorn_types.Types.base_types.ViewTemplate.html +471 -0
  370. package/docs/types/_saltcorn_types.Types.common_types.ErrorMessage.html +84 -0
  371. package/docs/types/_saltcorn_types.Types.common_types.GenObj.html +80 -0
  372. package/docs/types/_saltcorn_types.Types.common_types.ReqRes.html +82 -0
  373. package/docs/types/_saltcorn_types.Types.common_types.ResultMessage.html +75 -0
  374. package/docs/types/_saltcorn_types.Types.common_types.SuccessMessage.html +86 -0
  375. package/docs/types/_saltcorn_types.Types.common_types.Type.html +144 -0
  376. package/docs/variables/_saltcorn_data.db.html +60 -0
  377. package/docs/variables/_saltcorn_data.migrations.html +60 -0
  378. package/docs/variables/_saltcorn_data.models.config.available_languages.html +154 -0
  379. package/docs/variables/_saltcorn_data.models.config.configTypes.html +117 -0
  380. package/docs/variables/_saltcorn_data.models.scheduler.runScheduler.html +152 -0
  381. package/docs/variables/_saltcorn_data.plugin_helper.run_action_column.html +65 -0
  382. package/docs/variables/_saltcorn_data.utils.NotAuthorized.html +66 -0
  383. package/docs/variables/_saltcorn_data.utils.sleep.html +66 -0
  384. package/docs/variables/_saltcorn_db_common.multi_tenant.tenantNamespace.html +103 -0
  385. package/help/Extra state formula.tmd +1 -1
  386. package/help/JavaScript action code.tmd +1 -1
  387. package/locales/ar.json +1289 -4
  388. package/locales/da.json +355 -203
  389. package/locales/de.json +665 -149
  390. package/locales/en.json +16 -1
  391. package/locales/es.json +1567 -1271
  392. package/locales/fr.json +1562 -294
  393. package/locales/hi.json +1563 -0
  394. package/locales/pt.json +1300 -11
  395. package/locales/ru.json +1577 -1222
  396. package/locales/si.json +402 -4
  397. package/locales/uk.json +399 -3
  398. package/locales/zh.json +689 -7
  399. package/markup/admin.js +32 -14
  400. package/package.json +9 -9
  401. package/public/gridedit.js +4 -2
  402. package/public/saltcorn-common.js +45 -13
  403. package/public/saltcorn.js +17 -28
  404. package/routes/actions.js +4 -42
  405. package/routes/admin.js +78 -43
  406. package/routes/api.js +9 -9
  407. package/routes/delete.js +4 -2
  408. package/routes/eventlog.js +64 -27
  409. package/routes/fields.js +25 -14
  410. package/routes/files.js +9 -9
  411. package/routes/infoarch.js +57 -2
  412. package/routes/list.js +6 -4
  413. package/routes/pageedit.js +1 -1
  414. package/routes/plugins.js +36 -1
  415. package/routes/search.js +7 -3
  416. package/routes/tables.js +207 -28
  417. package/tests/admin.test.js +15 -0
  418. package/wrapper.js +14 -4
@@ -0,0 +1,103 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>tenantNamespace | saltcorn-monorepo</title><meta name="description" content="Documentation for saltcorn-monorepo"/><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/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base="..">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
8
+ <li class="state loading">Preparing search index...</li>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">saltcorn-monorepo</a></div>
10
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
+ <div class="container container-main">
12
+ <div class="col-content">
13
+ <div class="tsd-page-title">
14
+ <ul class="tsd-breadcrumb">
15
+ <li><a href="../index.html">saltcorn-monorepo</a></li>
16
+ <li><a href="../modules/_saltcorn_db_common.html">@saltcorn/db-common</a></li>
17
+ <li><a href="../modules/_saltcorn_db_common.multi_tenant.html">multi_tenant</a></li>
18
+ <li><a href="_saltcorn_db_common.multi_tenant.tenantNamespace.html">tenantNamespace</a></li></ul>
19
+ <h1>Variable tenantNamespace<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
20
+ <div class="tsd-signature"><span class="tsd-kind-variable">tenant<wbr/>Namespace</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type ">AsyncLocalStorage</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
21
+ <ul>
22
+ <li>Defined in <a href="https://github.com/saltcorn/saltcorn/blob/c863529fa8/packages/db-common/multi-tenant.ts#L11">db-common/multi-tenant.ts:11</a></li></ul></aside></div>
23
+ <div class="col-sidebar">
24
+ <div class="page-menu">
25
+ <div class="tsd-navigation settings">
26
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
27
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
28
+ <div class="tsd-accordion-details">
29
+ <div class="tsd-filter-visibility">
30
+ <h4 class="uppercase">Member Visibility</h4><form>
31
+ <ul id="tsd-filter-options">
32
+ <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>
33
+ <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>
34
+ <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></form></div>
35
+ <div class="tsd-theme-toggle">
36
+ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
37
+ <div class="site-menu">
38
+ <nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>saltcorn-<wbr/>monorepo</span></a>
39
+ <ul class="tsd-small-nested-navigation">
40
+ <li><a href="../modules/_saltcorn_admin_models.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/admin-<wbr/>models</span></a></li>
41
+ <li><a href="../modules/_saltcorn_common_code.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/common-<wbr/>code</span></a></li>
42
+ <li><a href="../modules/_saltcorn_data.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/data</span></a></li>
43
+ <li>
44
+ <details class="tsd-index-accordion" open data-key="@saltcorn/db-common"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/_saltcorn_db_common.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/db-<wbr/>common</span></a></summary>
45
+ <div class="tsd-accordion-details">
46
+ <ul class="tsd-nested-navigation">
47
+ <li>
48
+ <details class="tsd-index-accordion" open data-key="@saltcorn/db-common.multi_tenant"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/_saltcorn_db_common.multi_tenant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>multi_<wbr/>tenant</span></a></summary>
49
+ <div class="tsd-accordion-details">
50
+ <ul class="tsd-nested-navigation">
51
+ <li><a href="_saltcorn_db_common.multi_tenant.tenantNamespace.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g></svg><span>tenant<wbr/>Namespace</span></a></li>
52
+ <li><a href="../functions/_saltcorn_db_common.multi_tenant.enable_multi_tenant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>enable_<wbr/>multi_<wbr/>tenant</span></a></li>
53
+ <li><a href="../functions/_saltcorn_db_common.multi_tenant.getTenantSchema.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>get<wbr/>Tenant<wbr/>Schema</span></a></li>
54
+ <li><a href="../functions/_saltcorn_db_common.multi_tenant.init.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>init</span></a></li>
55
+ <li><a href="../functions/_saltcorn_db_common.multi_tenant.is_it_multi_tenant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>is_<wbr/>it_<wbr/>multi_<wbr/>tenant</span></a></li>
56
+ <li><a href="../functions/_saltcorn_db_common.multi_tenant.runWithTenant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>run<wbr/>With<wbr/>Tenant</span></a></li></ul></div></details></li>
57
+ <li><a href="../modules/_saltcorn_db_common.single_tenant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>single_<wbr/>tenant</span></a></li>
58
+ <li><a href="../types/_saltcorn_db_common.AggregationOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Aggregation<wbr/>Options</span></a></li>
59
+ <li><a href="../types/_saltcorn_db_common.CoordOpts.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Coord<wbr/>Opts</span></a></li>
60
+ <li><a href="../types/_saltcorn_db_common.JoinField.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Join<wbr/>Field</span></a></li>
61
+ <li><a href="../types/_saltcorn_db_common.JoinFields.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Join<wbr/>Fields</span></a></li>
62
+ <li><a href="../types/_saltcorn_db_common.JoinOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Join<wbr/>Options</span></a></li>
63
+ <li><a href="../types/_saltcorn_db_common.JsonPath.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Json<wbr/>Path</span></a></li>
64
+ <li><a href="../types/_saltcorn_db_common.JsonPathElem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Json<wbr/>Path<wbr/>Elem</span></a></li>
65
+ <li><a href="../types/_saltcorn_db_common.Operator.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Operator</span></a></li>
66
+ <li><a href="../types/_saltcorn_db_common.PrimaryKeyValue.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Primary<wbr/>Key<wbr/>Value</span></a></li>
67
+ <li><a href="../types/_saltcorn_db_common.Row.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Row</span></a></li>
68
+ <li><a href="../types/_saltcorn_db_common.SelectOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Select<wbr/>Options</span></a></li>
69
+ <li><a href="../types/_saltcorn_db_common.SqlAndValues.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Sql<wbr/>And<wbr/>Values</span></a></li>
70
+ <li><a href="../types/_saltcorn_db_common.SubselectOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Subselect<wbr/>Options</span></a></li>
71
+ <li><a href="../types/_saltcorn_db_common.Value.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Value</span></a></li>
72
+ <li><a href="../types/_saltcorn_db_common.Where.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Where</span></a></li>
73
+ <li><a href="../modules/_saltcorn_db_common.html#tenants"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>tenants</span></a></li>
74
+ <li><a href="../functions/_saltcorn_db_common.buildInsertBulkSql.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>build<wbr/>Insert<wbr/>Bulk<wbr/>Sql</span></a></li>
75
+ <li><a href="../functions/_saltcorn_db_common.buildInsertSql.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>build<wbr/>Insert<wbr/>Sql</span></a></li>
76
+ <li><a href="../functions/_saltcorn_db_common.doCount.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do<wbr/>Count</span></a></li>
77
+ <li><a href="../functions/_saltcorn_db_common.doDeleteWhere.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do<wbr/>Delete<wbr/>Where</span></a></li>
78
+ <li><a href="../functions/_saltcorn_db_common.doListScTables.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do<wbr/>List<wbr/>Sc<wbr/>Tables</span></a></li>
79
+ <li><a href="../functions/_saltcorn_db_common.doListTables.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do<wbr/>List<wbr/>Tables</span></a></li>
80
+ <li><a href="../functions/_saltcorn_db_common.doListUserDefinedTables.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do<wbr/>List<wbr/>User<wbr/>Defined<wbr/>Tables</span></a></li>
81
+ <li><a href="../functions/_saltcorn_db_common.do_add_index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do_<wbr/>add_<wbr/>index</span></a></li>
82
+ <li><a href="../functions/_saltcorn_db_common.do_drop_index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>do_<wbr/>drop_<wbr/>index</span></a></li>
83
+ <li><a href="../functions/_saltcorn_db_common.ftsFieldsSqlExpr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>fts<wbr/>Fields<wbr/>Sql<wbr/>Expr</span></a></li>
84
+ <li><a href="../functions/_saltcorn_db_common.mkSelectOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>mk<wbr/>Select<wbr/>Options</span></a></li>
85
+ <li><a href="../functions/_saltcorn_db_common.mkVal.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>mk<wbr/>Val</span></a></li>
86
+ <li><a href="../functions/_saltcorn_db_common.mkWhere.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>mk<wbr/>Where</span></a></li>
87
+ <li><a href="../functions/_saltcorn_db_common.orderByIsObject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>order<wbr/>By<wbr/>Is<wbr/>Object</span></a></li>
88
+ <li><a href="../functions/_saltcorn_db_common.orderByIsOperator.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>order<wbr/>By<wbr/>Is<wbr/>Operator</span></a></li>
89
+ <li><a href="../functions/_saltcorn_db_common.prefixFieldsInWhere.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>prefix<wbr/>Fields<wbr/>In<wbr/>Where</span></a></li>
90
+ <li><a href="../functions/_saltcorn_db_common.reprAsJson.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>repr<wbr/>As<wbr/>Json</span></a></li>
91
+ <li><a href="../functions/_saltcorn_db_common.sqlBinOp.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>sql<wbr/>Bin<wbr/>Op</span></a></li>
92
+ <li><a href="../functions/_saltcorn_db_common.sqlFun.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>sql<wbr/>Fun</span></a></li>
93
+ <li><a href="../functions/_saltcorn_db_common.sqlsanitize.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>sqlsanitize</span></a></li>
94
+ <li><a href="../functions/_saltcorn_db_common.sqlsanitizeAllowDots.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>sqlsanitize<wbr/>Allow<wbr/>Dots</span></a></li>
95
+ <li><a href="../functions/_saltcorn_db_common.subSelectWhere.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>sub<wbr/>Select<wbr/>Where</span></a></li></ul></div></details></li>
96
+ <li><a href="../modules/_saltcorn_markup.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/markup</span></a></li>
97
+ <li><a href="../modules/_saltcorn_mobile_builder.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/mobile-<wbr/>builder</span></a></li>
98
+ <li><a href="../modules/_saltcorn_sqlite.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/sqlite</span></a></li>
99
+ <li><a href="../modules/_saltcorn_sqlite_mobile.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/sqlite-<wbr/>mobile</span></a></li>
100
+ <li><a href="../modules/_saltcorn_types.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>@saltcorn/types</span></a></li></ul></nav></div></div></div>
101
+ <div class="tsd-generator">
102
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
103
+ <div class="overlay"></div></body></html>
@@ -34,7 +34,7 @@ must be enclosed in quotes (single, double or
34
34
  You can also as the value use a more complex JavaScript expression.
35
35
 
36
36
  For examples of how you can use these values for greater than/less than,
37
- or-conditions or case insensitivity, see [here](https://saltcorn.github.io/saltcorn/classes/_saltcorn_data.models.Table-1.html#md:querying-table-rows).
37
+ or-conditions or case insensitivity, see [here](/admin/jsdoc/classes/_saltcorn_data.models.Table-1.html#md:querying-table-rows).
38
38
 
39
39
  You can refer to the logged in user using the variable name user.
40
40
  This is an object and you must use the dot to access user fields,
@@ -7,7 +7,7 @@ database queries or other aynchronous code (see example below)
7
7
 
8
8
  The variable `table` is the associated table (if any; note lowercase). If you want to access a different table,
9
9
  use the `Table` variable (note uppercase) to access the Table class of tables (see
10
- [documentation for Table class](https://saltcorn.github.io/saltcorn/classes/_saltcorn_data.models.Table-1.html))
10
+ [documentation for Table class](/admin/jsdoc/classes/_saltcorn_data.models.Table-1.html))
11
11
 
12
12
  Example:
13
13