@appsemble/utils 0.20.28 → 0.20.30

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 (526) hide show
  1. package/README.md +4 -4
  2. package/api/components/schemas/AppDefinition.js +1 -0
  3. package/api/components/schemas/LoopPageActionsDefinition.d.ts +2 -0
  4. package/api/components/schemas/LoopPageActionsDefinition.js +24 -0
  5. package/api/components/schemas/LoopPageDefinition.d.ts +1 -0
  6. package/api/components/schemas/LoopPageDefinition.js +38 -0
  7. package/api/components/schemas/ObjectRemapperDefinition.js +4 -0
  8. package/api/components/schemas/index.d.ts +2 -0
  9. package/api/components/schemas/index.js +2 -0
  10. package/appMessages.js +4 -1
  11. package/iterApp.js +3 -0
  12. package/package.json +2 -2
  13. package/remap.d.ts +3 -0
  14. package/remap.js +3 -0
  15. package/validation.js +7 -7
  16. package/validation.test.js +1 -1
  17. package/api/components/index.js.map +0 -1
  18. package/api/components/index.ts +0 -15
  19. package/api/components/parameters/$filter.js.map +0 -1
  20. package/api/components/parameters/$filter.ts +0 -12
  21. package/api/components/parameters/$orderby.js.map +0 -1
  22. package/api/components/parameters/$orderby.ts +0 -12
  23. package/api/components/parameters/$select.js.map +0 -1
  24. package/api/components/parameters/$select.ts +0 -15
  25. package/api/components/parameters/$team.js.map +0 -1
  26. package/api/components/parameters/$team.ts +0 -11
  27. package/api/components/parameters/$top.js.map +0 -1
  28. package/api/components/parameters/$top.ts +0 -9
  29. package/api/components/parameters/appId.js.map +0 -1
  30. package/api/components/parameters/appId.ts +0 -9
  31. package/api/components/parameters/appOAuth2SecretId.js.map +0 -1
  32. package/api/components/parameters/appOAuth2SecretId.ts +0 -9
  33. package/api/components/parameters/appSamlSecretId.js.map +0 -1
  34. package/api/components/parameters/appSamlSecretId.ts +0 -12
  35. package/api/components/parameters/assetId.js.map +0 -1
  36. package/api/components/parameters/assetId.ts +0 -9
  37. package/api/components/parameters/blockId.js.map +0 -1
  38. package/api/components/parameters/blockId.ts +0 -15
  39. package/api/components/parameters/blockVersion.js.map +0 -1
  40. package/api/components/parameters/blockVersion.ts +0 -9
  41. package/api/components/parameters/endpoint.js.map +0 -1
  42. package/api/components/parameters/endpoint.ts +0 -9
  43. package/api/components/parameters/index.js.map +0 -1
  44. package/api/components/parameters/index.ts +0 -18
  45. package/api/components/parameters/language.js.map +0 -1
  46. package/api/components/parameters/language.ts +0 -9
  47. package/api/components/parameters/organizationId.js.map +0 -1
  48. package/api/components/parameters/organizationId.ts +0 -9
  49. package/api/components/parameters/resourceId.js.map +0 -1
  50. package/api/components/parameters/resourceId.ts +0 -9
  51. package/api/components/parameters/resourceType.js.map +0 -1
  52. package/api/components/parameters/resourceType.ts +0 -11
  53. package/api/components/parameters/screenshotId.js.map +0 -1
  54. package/api/components/parameters/screenshotId.ts +0 -9
  55. package/api/components/parameters/view.js.map +0 -1
  56. package/api/components/parameters/view.ts +0 -8
  57. package/api/components/requestBodies/index.js.map +0 -1
  58. package/api/components/requestBodies/index.ts +0 -3
  59. package/api/components/requestBodies/oauth2Consent.js.map +0 -1
  60. package/api/components/requestBodies/oauth2Consent.ts +0 -31
  61. package/api/components/requestBodies/resource.js.map +0 -1
  62. package/api/components/requestBodies/resource.ts +0 -31
  63. package/api/components/requestBodies/user.js.map +0 -1
  64. package/api/components/requestBodies/user.ts +0 -12
  65. package/api/components/responses/app.js.map +0 -1
  66. package/api/components/responses/app.ts +0 -12
  67. package/api/components/responses/blockVersion.js.map +0 -1
  68. package/api/components/responses/blockVersion.ts +0 -12
  69. package/api/components/responses/default.js.map +0 -1
  70. package/api/components/responses/default.ts +0 -10
  71. package/api/components/responses/index.js.map +0 -1
  72. package/api/components/responses/index.ts +0 -8
  73. package/api/components/responses/invite.js.map +0 -1
  74. package/api/components/responses/invite.ts +0 -12
  75. package/api/components/responses/oauth2AuthorizationCode.js.map +0 -1
  76. package/api/components/responses/oauth2AuthorizationCode.ts +0 -12
  77. package/api/components/responses/organization.js.map +0 -1
  78. package/api/components/responses/organization.ts +0 -12
  79. package/api/components/responses/resource.js.map +0 -1
  80. package/api/components/responses/resource.ts +0 -17
  81. package/api/components/responses/subscriptions.js.map +0 -1
  82. package/api/components/responses/subscriptions.ts +0 -16
  83. package/api/components/schemas/ActionDefinition.js.map +0 -1
  84. package/api/components/schemas/ActionDefinition.ts +0 -82
  85. package/api/components/schemas/AnalyticsActionDefinition.js.map +0 -1
  86. package/api/components/schemas/AnalyticsActionDefinition.ts +0 -25
  87. package/api/components/schemas/App.js.map +0 -1
  88. package/api/components/schemas/App.ts +0 -107
  89. package/api/components/schemas/AppAccount.js.map +0 -1
  90. package/api/components/schemas/AppAccount.ts +0 -39
  91. package/api/components/schemas/AppDefinition.js.map +0 -1
  92. package/api/components/schemas/AppDefinition.ts +0 -112
  93. package/api/components/schemas/AppLayoutDefinition.js.map +0 -1
  94. package/api/components/schemas/AppLayoutDefinition.ts +0 -39
  95. package/api/components/schemas/AppMessages.js.map +0 -1
  96. package/api/components/schemas/AppMessages.ts +0 -17
  97. package/api/components/schemas/AppOAuth2Secret.js.map +0 -1
  98. package/api/components/schemas/AppOAuth2Secret.ts +0 -65
  99. package/api/components/schemas/AppsembleMessages.js.map +0 -1
  100. package/api/components/schemas/AppsembleMessages.ts +0 -41
  101. package/api/components/schemas/Asset.js.map +0 -1
  102. package/api/components/schemas/Asset.ts +0 -33
  103. package/api/components/schemas/BaseActionDefinition.js.map +0 -1
  104. package/api/components/schemas/BaseActionDefinition.ts +0 -11
  105. package/api/components/schemas/BaseJSONSchema.js.map +0 -1
  106. package/api/components/schemas/BaseJSONSchema.ts +0 -25
  107. package/api/components/schemas/BasePageDefinition.js.map +0 -1
  108. package/api/components/schemas/BasePageDefinition.ts +0 -89
  109. package/api/components/schemas/BlockDefinition.js.map +0 -1
  110. package/api/components/schemas/BlockDefinition.ts +0 -86
  111. package/api/components/schemas/BlockVersion.js.map +0 -1
  112. package/api/components/schemas/BlockVersion.ts +0 -162
  113. package/api/components/schemas/ConditionActionDefinition.js.map +0 -1
  114. package/api/components/schemas/ConditionActionDefinition.ts +0 -30
  115. package/api/components/schemas/CronDefinition.js.map +0 -1
  116. package/api/components/schemas/CronDefinition.ts +0 -21
  117. package/api/components/schemas/CustomFontDefinition.js.map +0 -1
  118. package/api/components/schemas/CustomFontDefinition.ts +0 -21
  119. package/api/components/schemas/DialogActionDefinition.js.map +0 -1
  120. package/api/components/schemas/DialogActionDefinition.ts +0 -42
  121. package/api/components/schemas/DialogErrorActionDefinition.js.map +0 -1
  122. package/api/components/schemas/DialogErrorActionDefinition.ts +0 -17
  123. package/api/components/schemas/DialogOkActionDefinition.js.map +0 -1
  124. package/api/components/schemas/DialogOkActionDefinition.ts +0 -17
  125. package/api/components/schemas/DownloadActionDefinition.js.map +0 -1
  126. package/api/components/schemas/DownloadActionDefinition.ts +0 -19
  127. package/api/components/schemas/EachActionDefinition.js.map +0 -1
  128. package/api/components/schemas/EachActionDefinition.ts +0 -22
  129. package/api/components/schemas/EmailActionDefinition.js.map +0 -1
  130. package/api/components/schemas/EmailActionDefinition.ts +0 -58
  131. package/api/components/schemas/Error.js.map +0 -1
  132. package/api/components/schemas/Error.ts +0 -25
  133. package/api/components/schemas/EventActionDefinition.js.map +0 -1
  134. package/api/components/schemas/EventActionDefinition.ts +0 -28
  135. package/api/components/schemas/EventsDefinition.js.map +0 -1
  136. package/api/components/schemas/EventsDefinition.ts +0 -30
  137. package/api/components/schemas/FlowBackActionDefinition.js.map +0 -1
  138. package/api/components/schemas/FlowBackActionDefinition.ts +0 -16
  139. package/api/components/schemas/FlowFinishActionDefinition.js.map +0 -1
  140. package/api/components/schemas/FlowFinishActionDefinition.ts +0 -16
  141. package/api/components/schemas/FlowNextActionDefinition.js.map +0 -1
  142. package/api/components/schemas/FlowNextActionDefinition.ts +0 -17
  143. package/api/components/schemas/FlowPageActionsDefinition.js.map +0 -1
  144. package/api/components/schemas/FlowPageActionsDefinition.ts +0 -20
  145. package/api/components/schemas/FlowPageDefinition.js.map +0 -1
  146. package/api/components/schemas/FlowPageDefinition.ts +0 -37
  147. package/api/components/schemas/FlowToActionDefinition.js.map +0 -1
  148. package/api/components/schemas/FlowToActionDefinition.ts +0 -21
  149. package/api/components/schemas/GoogleFontDefinition.js.map +0 -1
  150. package/api/components/schemas/GoogleFontDefinition.ts +0 -24
  151. package/api/components/schemas/Health.js.map +0 -1
  152. package/api/components/schemas/Health.ts +0 -14
  153. package/api/components/schemas/JSONPointer.js.map +0 -1
  154. package/api/components/schemas/JSONPointer.ts +0 -20
  155. package/api/components/schemas/JSONSchema.js.map +0 -1
  156. package/api/components/schemas/JSONSchema.ts +0 -21
  157. package/api/components/schemas/JSONSchemaAnyOf.js.map +0 -1
  158. package/api/components/schemas/JSONSchemaAnyOf.ts +0 -27
  159. package/api/components/schemas/JSONSchemaArray.js.map +0 -1
  160. package/api/components/schemas/JSONSchemaArray.ts +0 -47
  161. package/api/components/schemas/JSONSchemaBoolean.js.map +0 -1
  162. package/api/components/schemas/JSONSchemaBoolean.ts +0 -37
  163. package/api/components/schemas/JSONSchemaConst.js.map +0 -1
  164. package/api/components/schemas/JSONSchemaConst.ts +0 -16
  165. package/api/components/schemas/JSONSchemaEnum.js.map +0 -1
  166. package/api/components/schemas/JSONSchemaEnum.ts +0 -36
  167. package/api/components/schemas/JSONSchemaInteger.js.map +0 -1
  168. package/api/components/schemas/JSONSchemaInteger.ts +0 -55
  169. package/api/components/schemas/JSONSchemaMultiType.js.map +0 -1
  170. package/api/components/schemas/JSONSchemaMultiType.ts +0 -48
  171. package/api/components/schemas/JSONSchemaNot.js.map +0 -1
  172. package/api/components/schemas/JSONSchemaNot.ts +0 -23
  173. package/api/components/schemas/JSONSchemaNull.js.map +0 -1
  174. package/api/components/schemas/JSONSchemaNull.ts +0 -16
  175. package/api/components/schemas/JSONSchemaNumber.js.map +0 -1
  176. package/api/components/schemas/JSONSchemaNumber.ts +0 -66
  177. package/api/components/schemas/JSONSchemaObject.js.map +0 -1
  178. package/api/components/schemas/JSONSchemaObject.ts +0 -74
  179. package/api/components/schemas/JSONSchemaOneOf.js.map +0 -1
  180. package/api/components/schemas/JSONSchemaOneOf.ts +0 -25
  181. package/api/components/schemas/JSONSchemaRemapper.js.map +0 -1
  182. package/api/components/schemas/JSONSchemaRemapper.ts +0 -19
  183. package/api/components/schemas/JSONSchemaRoot.js.map +0 -1
  184. package/api/components/schemas/JSONSchemaRoot.ts +0 -23
  185. package/api/components/schemas/JSONSchemaString.js.map +0 -1
  186. package/api/components/schemas/JSONSchemaString.ts +0 -116
  187. package/api/components/schemas/LinkActionDefinition.js.map +0 -1
  188. package/api/components/schemas/LinkActionDefinition.ts +0 -28
  189. package/api/components/schemas/LinkBackActionDefinition.js.map +0 -1
  190. package/api/components/schemas/LinkBackActionDefinition.ts +0 -14
  191. package/api/components/schemas/LinkNextActionDefinition.js.map +0 -1
  192. package/api/components/schemas/LinkNextActionDefinition.ts +0 -14
  193. package/api/components/schemas/LogActionDefinition.js.map +0 -1
  194. package/api/components/schemas/LogActionDefinition.ts +0 -22
  195. package/api/components/schemas/Member.js.map +0 -1
  196. package/api/components/schemas/Member.ts +0 -31
  197. package/api/components/schemas/MessageActionDefinition.js.map +0 -1
  198. package/api/components/schemas/MessageActionDefinition.ts +0 -36
  199. package/api/components/schemas/NoopActionDefinition.js.map +0 -1
  200. package/api/components/schemas/NoopActionDefinition.ts +0 -17
  201. package/api/components/schemas/NotificationHookDataDefinition.js.map +0 -1
  202. package/api/components/schemas/NotificationHookDataDefinition.ts +0 -25
  203. package/api/components/schemas/NotificationHookDefinition.js.map +0 -1
  204. package/api/components/schemas/NotificationHookDefinition.ts +0 -33
  205. package/api/components/schemas/OAuth2AuthorizationCode.js.map +0 -1
  206. package/api/components/schemas/OAuth2AuthorizationCode.ts +0 -15
  207. package/api/components/schemas/OAuth2ClientCredentials.js.map +0 -1
  208. package/api/components/schemas/OAuth2ClientCredentials.ts +0 -39
  209. package/api/components/schemas/ObjectRemapperDefinition.js.map +0 -1
  210. package/api/components/schemas/ObjectRemapperDefinition.ts +0 -453
  211. package/api/components/schemas/Organization.js.map +0 -1
  212. package/api/components/schemas/Organization.ts +0 -40
  213. package/api/components/schemas/PageDefinition.js.map +0 -1
  214. package/api/components/schemas/PageDefinition.ts +0 -23
  215. package/api/components/schemas/Rating.js.map +0 -1
  216. package/api/components/schemas/Rating.ts +0 -25
  217. package/api/components/schemas/RemapperDefinition.js.map +0 -1
  218. package/api/components/schemas/RemapperDefinition.ts +0 -35
  219. package/api/components/schemas/RequestActionDefinition.js.map +0 -1
  220. package/api/components/schemas/RequestActionDefinition.ts +0 -60
  221. package/api/components/schemas/Resource.js.map +0 -1
  222. package/api/components/schemas/Resource.ts +0 -20
  223. package/api/components/schemas/ResourceCountActionDefinition.js.map +0 -1
  224. package/api/components/schemas/ResourceCountActionDefinition.ts +0 -23
  225. package/api/components/schemas/ResourceCreateActionDefinition.js.map +0 -1
  226. package/api/components/schemas/ResourceCreateActionDefinition.ts +0 -22
  227. package/api/components/schemas/ResourceDefinition.js.map +0 -1
  228. package/api/components/schemas/ResourceDefinition.ts +0 -229
  229. package/api/components/schemas/ResourceDeleteActionDefinition.js.map +0 -1
  230. package/api/components/schemas/ResourceDeleteActionDefinition.ts +0 -22
  231. package/api/components/schemas/ResourceGetActionDefinition.js.map +0 -1
  232. package/api/components/schemas/ResourceGetActionDefinition.ts +0 -26
  233. package/api/components/schemas/ResourceHistoryDefinition.js.map +0 -1
  234. package/api/components/schemas/ResourceHistoryDefinition.ts +0 -15
  235. package/api/components/schemas/ResourceHooksDefinition.js.map +0 -1
  236. package/api/components/schemas/ResourceHooksDefinition.ts +0 -11
  237. package/api/components/schemas/ResourceQueryActionDefinition.js.map +0 -1
  238. package/api/components/schemas/ResourceQueryActionDefinition.ts +0 -26
  239. package/api/components/schemas/ResourceSubscription.js.map +0 -1
  240. package/api/components/schemas/ResourceSubscription.ts +0 -42
  241. package/api/components/schemas/ResourceSubscriptionStatusActionDefinition.js.map +0 -1
  242. package/api/components/schemas/ResourceSubscriptionStatusActionDefinition.ts +0 -23
  243. package/api/components/schemas/ResourceSubscriptionSubscribeActionDefinition.js.map +0 -1
  244. package/api/components/schemas/ResourceSubscriptionSubscribeActionDefinition.ts +0 -25
  245. package/api/components/schemas/ResourceSubscriptionToggleActionDefinition.js.map +0 -1
  246. package/api/components/schemas/ResourceSubscriptionToggleActionDefinition.ts +0 -22
  247. package/api/components/schemas/ResourceSubscriptionUnsubscribeActionDefinition.js.map +0 -1
  248. package/api/components/schemas/ResourceSubscriptionUnsubscribeActionDefinition.ts +0 -25
  249. package/api/components/schemas/ResourceUpdateActionDefinition.js.map +0 -1
  250. package/api/components/schemas/ResourceUpdateActionDefinition.ts +0 -22
  251. package/api/components/schemas/ResourceViewDefinition.js.map +0 -1
  252. package/api/components/schemas/ResourceViewDefinition.ts +0 -26
  253. package/api/components/schemas/SSLSecret.js.map +0 -1
  254. package/api/components/schemas/SSLSecret.ts +0 -17
  255. package/api/components/schemas/SSOConfiguration.js.map +0 -1
  256. package/api/components/schemas/SSOConfiguration.ts +0 -22
  257. package/api/components/schemas/SecurityDefaultDefinition.js.map +0 -1
  258. package/api/components/schemas/SecurityDefaultDefinition.ts +0 -29
  259. package/api/components/schemas/SecurityDefinition.js.map +0 -1
  260. package/api/components/schemas/SecurityDefinition.ts +0 -21
  261. package/api/components/schemas/SecurityRoleDefinition.js.map +0 -1
  262. package/api/components/schemas/SecurityRoleDefinition.ts +0 -29
  263. package/api/components/schemas/ShareActionDefinition.js.map +0 -1
  264. package/api/components/schemas/ShareActionDefinition.ts +0 -30
  265. package/api/components/schemas/StaticActionDefinition.js.map +0 -1
  266. package/api/components/schemas/StaticActionDefinition.ts +0 -20
  267. package/api/components/schemas/StorageAppendActionDefinition.js.map +0 -1
  268. package/api/components/schemas/StorageAppendActionDefinition.ts +0 -43
  269. package/api/components/schemas/StorageDeleteActionDefinition.js.map +0 -1
  270. package/api/components/schemas/StorageDeleteActionDefinition.ts +0 -31
  271. package/api/components/schemas/StorageReadActionDefinition.js.map +0 -1
  272. package/api/components/schemas/StorageReadActionDefinition.ts +0 -32
  273. package/api/components/schemas/StorageSubtractActionDefinition.js.map +0 -1
  274. package/api/components/schemas/StorageSubtractActionDefinition.ts +0 -35
  275. package/api/components/schemas/StorageUpdateActionDefinition.js.map +0 -1
  276. package/api/components/schemas/StorageUpdateActionDefinition.ts +0 -46
  277. package/api/components/schemas/StorageWriteActionDefinition.js.map +0 -1
  278. package/api/components/schemas/StorageWriteActionDefinition.ts +0 -42
  279. package/api/components/schemas/SubPage.js.map +0 -1
  280. package/api/components/schemas/SubPage.ts +0 -24
  281. package/api/components/schemas/TabsPageDefinition.js.map +0 -1
  282. package/api/components/schemas/TabsPageDefinition.ts +0 -22
  283. package/api/components/schemas/TeamInviteActionDefinition.js.map +0 -1
  284. package/api/components/schemas/TeamInviteActionDefinition.ts +0 -27
  285. package/api/components/schemas/TeamJoinActionDefinition.js.map +0 -1
  286. package/api/components/schemas/TeamJoinActionDefinition.ts +0 -14
  287. package/api/components/schemas/TeamListActionDefinition.js.map +0 -1
  288. package/api/components/schemas/TeamListActionDefinition.ts +0 -14
  289. package/api/components/schemas/TeamsDefinition.js.map +0 -1
  290. package/api/components/schemas/TeamsDefinition.ts +0 -30
  291. package/api/components/schemas/Theme.js.map +0 -1
  292. package/api/components/schemas/Theme.ts +0 -82
  293. package/api/components/schemas/ThrowActionDefinition.js.map +0 -1
  294. package/api/components/schemas/ThrowActionDefinition.ts +0 -17
  295. package/api/components/schemas/User.js.map +0 -1
  296. package/api/components/schemas/User.ts +0 -30
  297. package/api/components/schemas/UserEmail.js.map +0 -1
  298. package/api/components/schemas/UserEmail.ts +0 -24
  299. package/api/components/schemas/UserLoginActionDefinition.js.map +0 -1
  300. package/api/components/schemas/UserLoginActionDefinition.ts +0 -22
  301. package/api/components/schemas/UserRegisterActionDefinition.js.map +0 -1
  302. package/api/components/schemas/UserRegisterActionDefinition.ts +0 -33
  303. package/api/components/schemas/UserUpdateActionDefinition.js.map +0 -1
  304. package/api/components/schemas/UserUpdateActionDefinition.ts +0 -33
  305. package/api/components/schemas/index.js.map +0 -1
  306. package/api/components/schemas/index.ts +0 -108
  307. package/api/components/schemas/utils.js.map +0 -1
  308. package/api/components/schemas/utils.ts +0 -43
  309. package/api/components/securitySchemes/app.js.map +0 -1
  310. package/api/components/securitySchemes/app.ts +0 -33
  311. package/api/components/securitySchemes/basic.js.map +0 -1
  312. package/api/components/securitySchemes/basic.ts +0 -7
  313. package/api/components/securitySchemes/cli.js.map +0 -1
  314. package/api/components/securitySchemes/cli.test.js.map +0 -1
  315. package/api/components/securitySchemes/cli.test.ts +0 -6
  316. package/api/components/securitySchemes/cli.ts +0 -25
  317. package/api/components/securitySchemes/index.js.map +0 -1
  318. package/api/components/securitySchemes/index.ts +0 -4
  319. package/api/components/securitySchemes/studio.js.map +0 -1
  320. package/api/components/securitySchemes/studio.ts +0 -8
  321. package/api/index.js.map +0 -1
  322. package/api/index.test.js.map +0 -1
  323. package/api/index.test.ts +0 -196
  324. package/api/index.ts +0 -44
  325. package/api/paths/action.js.map +0 -1
  326. package/api/paths/action.ts +0 -55
  327. package/api/paths/appMessages.js.map +0 -1
  328. package/api/paths/appMessages.ts +0 -104
  329. package/api/paths/appOAuth2Secrets.js.map +0 -1
  330. package/api/paths/appOAuth2Secrets.ts +0 -152
  331. package/api/paths/appSSLSecrets.js.map +0 -1
  332. package/api/paths/appSSLSecrets.ts +0 -40
  333. package/api/paths/appSamlSecrets.js.map +0 -1
  334. package/api/paths/appSamlSecrets.ts +0 -85
  335. package/api/paths/apps.js.map +0 -1
  336. package/api/paths/apps.ts +0 -1394
  337. package/api/paths/appsembleMessages.js.map +0 -1
  338. package/api/paths/appsembleMessages.ts +0 -49
  339. package/api/paths/assets.js.map +0 -1
  340. package/api/paths/assets.ts +0 -139
  341. package/api/paths/blocks.js.map +0 -1
  342. package/api/paths/blocks.ts +0 -184
  343. package/api/paths/emails.js.map +0 -1
  344. package/api/paths/emails.ts +0 -164
  345. package/api/paths/health.js.map +0 -1
  346. package/api/paths/health.ts +0 -75
  347. package/api/paths/index.js.map +0 -1
  348. package/api/paths/index.ts +0 -45
  349. package/api/paths/invite.js.map +0 -1
  350. package/api/paths/invite.ts +0 -26
  351. package/api/paths/oauth2ClientCredentials.js.map +0 -1
  352. package/api/paths/oauth2ClientCredentials.ts +0 -79
  353. package/api/paths/oauth2Login.js.map +0 -1
  354. package/api/paths/oauth2Login.ts +0 -120
  355. package/api/paths/oauth2Provider.js.map +0 -1
  356. package/api/paths/oauth2Provider.ts +0 -73
  357. package/api/paths/organizations.js.map +0 -1
  358. package/api/paths/organizations.ts +0 -471
  359. package/api/paths/resourceHistory.js.map +0 -1
  360. package/api/paths/resourceHistory.ts +0 -32
  361. package/api/paths/resources.js.map +0 -1
  362. package/api/paths/resources.ts +0 -305
  363. package/api/paths/saml.js.map +0 -1
  364. package/api/paths/saml.ts +0 -127
  365. package/api/paths/templates.js.map +0 -1
  366. package/api/paths/templates.ts +0 -85
  367. package/api/paths/user.js.map +0 -1
  368. package/api/paths/user.ts +0 -481
  369. package/api/schema-tests/AppDefinition/invalid/additional-property.yaml +0 -11
  370. package/api/schema-tests/AppDefinition/invalid/empty-pages.yaml +0 -4
  371. package/api/schema-tests/AppDefinition/invalid/missing-default-page.yaml +0 -7
  372. package/api/schema-tests/AppDefinition/invalid/missing-name.yaml +0 -7
  373. package/api/schema-tests/AppDefinition/invalid/missing-pages.yaml +0 -2
  374. package/api/schema-tests/AppDefinition/valid/all-properties.yaml +0 -114
  375. package/api/schema-tests/AppDefinition/valid/minimal.yaml +0 -9
  376. package/api/schema-tests/FlowPageDefinition/invalid/missing-subPages.yaml +0 -2
  377. package/api/schema-tests/FlowPageDefinition/valid/flow.yaml +0 -15
  378. package/api/schema-tests/PageDefinition/invalid/additional-properties.yaml +0 -5
  379. package/api/schema-tests/PageDefinition/invalid/missing-blocks.yaml +0 -1
  380. package/api/schema-tests/PageDefinition/invalid/missing-name.yaml +0 -3
  381. package/api/schema-tests/PageDefinition/valid/all-properties.yaml +0 -15
  382. package/api/schema-tests/PageDefinition/valid/minimal.yaml +0 -5
  383. package/api/schema-tests/TabsPageDefinition/invalid/missing-subPages.yaml +0 -2
  384. package/api/schema-tests/TabsPageDefinition/valid/tabs.yaml +0 -7
  385. package/api/tags/app.js.map +0 -1
  386. package/api/tags/app.ts +0 -6
  387. package/api/tags/appMember.js.map +0 -1
  388. package/api/tags/appMember.ts +0 -6
  389. package/api/tags/asset.js.map +0 -1
  390. package/api/tags/asset.ts +0 -6
  391. package/api/tags/auth.js.map +0 -1
  392. package/api/tags/auth.ts +0 -6
  393. package/api/tags/index.js.map +0 -1
  394. package/api/tags/index.ts +0 -9
  395. package/api/tags/language.js.map +0 -1
  396. package/api/tags/language.ts +0 -6
  397. package/api/tags/organization.js.map +0 -1
  398. package/api/tags/organization.ts +0 -6
  399. package/api/tags/resource.js.map +0 -1
  400. package/api/tags/resource.ts +0 -6
  401. package/api/tags/template.js.map +0 -1
  402. package/api/tags/template.ts +0 -6
  403. package/api/tags/user.js.map +0 -1
  404. package/api/tags/user.ts +0 -6
  405. package/appMessages.js.map +0 -1
  406. package/appMessages.test.js.map +0 -1
  407. package/appMessages.test.ts +0 -432
  408. package/appMessages.ts +0 -145
  409. package/appSecurity.js.map +0 -1
  410. package/appSecurity.test.js.map +0 -1
  411. package/appSecurity.test.ts +0 -141
  412. package/appSecurity.ts +0 -48
  413. package/blockUtils.js.map +0 -1
  414. package/blockUtils.test.js.map +0 -1
  415. package/blockUtils.test.ts +0 -94
  416. package/blockUtils.ts +0 -76
  417. package/changed/added/.gitkeep +0 -0
  418. package/changed/changed/.gitkeep +0 -0
  419. package/changed/deprecated/.gitkeep +0 -0
  420. package/changed/fixed/.gitkeep +0 -0
  421. package/changed/removed/.gitkeep +0 -0
  422. package/changed/security/.gitkeep +0 -0
  423. package/checkAppRole.js.map +0 -1
  424. package/checkAppRole.ts +0 -49
  425. package/compare.js.map +0 -1
  426. package/compare.ts +0 -10
  427. package/constants/Permission.js.map +0 -1
  428. package/constants/Permission.ts +0 -95
  429. package/constants/asciiLogo.js.map +0 -1
  430. package/constants/asciiLogo.ts +0 -8
  431. package/constants/baseTheme.js.map +0 -1
  432. package/constants/baseTheme.ts +0 -17
  433. package/constants/date.js.map +0 -1
  434. package/constants/date.ts +0 -20
  435. package/constants/fonts.js.map +0 -1
  436. package/constants/fonts.ts +0 -1291
  437. package/constants/index.js.map +0 -1
  438. package/constants/index.ts +0 -9
  439. package/constants/locale.js.map +0 -1
  440. package/constants/locale.ts +0 -4
  441. package/constants/patterns.js.map +0 -1
  442. package/constants/patterns.test.js.map +0 -1
  443. package/constants/patterns.test.ts +0 -100
  444. package/constants/patterns.ts +0 -48
  445. package/constants/roles.js.map +0 -1
  446. package/constants/roles.ts +0 -49
  447. package/constants/scopes.js.map +0 -1
  448. package/constants/scopes.ts +0 -13
  449. package/convertToCsv.js.map +0 -1
  450. package/convertToCsv.test.js.map +0 -1
  451. package/convertToCsv.test.ts +0 -73
  452. package/convertToCsv.ts +0 -65
  453. package/formatRequestAction.js.map +0 -1
  454. package/formatRequestAction.ts +0 -16
  455. package/has.js.map +0 -1
  456. package/has.test.js.map +0 -1
  457. package/has.test.ts +0 -19
  458. package/has.ts +0 -10
  459. package/i18n.js.map +0 -1
  460. package/i18n.test.js.map +0 -1
  461. package/i18n.test.ts +0 -81
  462. package/i18n.ts +0 -55
  463. package/ics.js.map +0 -1
  464. package/ics.ts +0 -44
  465. package/index.js.map +0 -1
  466. package/index.ts +0 -29
  467. package/intl-messageformat.js.map +0 -1
  468. package/intl-messageformat.ts +0 -6
  469. package/iterApp.js.map +0 -1
  470. package/iterApp.test.js.map +0 -1
  471. package/iterApp.test.ts +0 -512
  472. package/iterApp.ts +0 -174
  473. package/jest.config.js +0 -3
  474. package/jsonschema.js.map +0 -1
  475. package/jsonschema.test.js.map +0 -1
  476. package/jsonschema.test.ts +0 -320
  477. package/jsonschema.ts +0 -222
  478. package/langmap.js.map +0 -1
  479. package/langmap.ts +0 -23
  480. package/mapValues.js.map +0 -1
  481. package/mapValues.test.js.map +0 -1
  482. package/mapValues.test.ts +0 -15
  483. package/mapValues.ts +0 -10
  484. package/miscellaneous.js.map +0 -1
  485. package/miscellaneous.test.js.map +0 -1
  486. package/miscellaneous.test.ts +0 -82
  487. package/miscellaneous.ts +0 -71
  488. package/noop.js.map +0 -1
  489. package/noop.ts +0 -5
  490. package/normalize.js.map +0 -1
  491. package/normalize.test.js.map +0 -1
  492. package/normalize.test.ts +0 -24
  493. package/normalize.ts +0 -23
  494. package/objectCache.js.map +0 -1
  495. package/objectCache.test.js.map +0 -1
  496. package/objectCache.test.ts +0 -19
  497. package/objectCache.ts +0 -22
  498. package/pem.js.map +0 -1
  499. package/pem.ts +0 -11
  500. package/prefix.js.map +0 -1
  501. package/prefix.test.js.map +0 -1
  502. package/prefix.test.ts +0 -11
  503. package/prefix.ts +0 -10
  504. package/remap.js.map +0 -1
  505. package/remap.test.js.map +0 -1
  506. package/remap.test.ts +0 -1039
  507. package/remap.ts +0 -455
  508. package/string.js.map +0 -1
  509. package/string.test.js.map +0 -1
  510. package/string.test.ts +0 -29
  511. package/string.ts +0 -31
  512. package/theme.js.map +0 -1
  513. package/theme.test.js.map +0 -1
  514. package/theme.test.ts +0 -99
  515. package/theme.ts +0 -38
  516. package/tsconfig.json +0 -6
  517. package/types.js.map +0 -1
  518. package/types.ts +0 -6
  519. package/validateStyle.js.map +0 -1
  520. package/validateStyle.test.js.map +0 -1
  521. package/validateStyle.test.ts +0 -14
  522. package/validateStyle.ts +0 -19
  523. package/validation.js.map +0 -1
  524. package/validation.test.js.map +0 -1
  525. package/validation.test.ts +0 -1915
  526. package/validation.ts +0 -767
@@ -1,23 +0,0 @@
1
- import { RequestActionDefinition } from './RequestActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceCountActionDefinition = extendJSONSchema(
5
- RequestActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.count'],
13
- description:
14
- 'Count the number of resources a similar `resource.query` action would return.',
15
- },
16
- resource: {
17
- type: 'string',
18
- description: 'The type of the resource to count.',
19
- },
20
- },
21
- },
22
- ['url'],
23
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceCreateActionDefinition.js","sourceRoot":"","sources":["ResourceCreateActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,8BAA8B,GAAG,gBAAgB,CAC5D,uBAAuB,EACvB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,iBAAiB,CAAC;YACzB,WAAW,EAAE,oBAAoB;SAClC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qCAAqC;SACnD;KACF;CACF,EACD,CAAC,KAAK,CAAC,CACR,CAAC"}
@@ -1,22 +0,0 @@
1
- import { RequestActionDefinition } from './RequestActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceCreateActionDefinition = extendJSONSchema(
5
- RequestActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.create'],
13
- description: 'Create a resource.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to create.',
18
- },
19
- },
20
- },
21
- ['url'],
22
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceDefinition.js","sourceRoot":"","sources":["ResourceDefinition.ts"],"names":[],"mappings":"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"}
@@ -1,229 +0,0 @@
1
- import { OpenAPIV3 } from 'openapi-types';
2
-
3
- const roles: OpenAPIV3.ArraySchemaObject = {
4
- type: 'array',
5
- description: `The list of roles that are allowed to use this action.
6
-
7
- This will override the default roles that are assigned.
8
- `,
9
- items: {
10
- type: 'string',
11
- },
12
- };
13
-
14
- const query: OpenAPIV3.NonArraySchemaObject = {
15
- type: 'object',
16
- description: 'The query parameters to use in the request.',
17
- additionalProperties: { type: 'string' },
18
- };
19
-
20
- const referenceAction: OpenAPIV3.NonArraySchemaObject = {
21
- type: 'object',
22
- additionalProperties: false,
23
- // XXX
24
- description: 'To be documented.',
25
- properties: {
26
- trigger: {
27
- type: 'array',
28
- items: { enum: ['create', 'update', 'delete'] },
29
- minItems: 1,
30
- uniqueItems: true,
31
- },
32
- },
33
- };
34
-
35
- export const ResourceDefinition: OpenAPIV3.NonArraySchemaObject = {
36
- type: 'object',
37
- additionalProperties: false,
38
- description: 'A definition of how this resource works.',
39
- required: ['schema'],
40
- properties: {
41
- expires: {
42
- type: 'string',
43
- description: `A time string representing when a resource should expire.
44
-
45
- Example: 1d 8h 30m
46
- `,
47
- pattern:
48
- /^(\d+(y|yr|years))?\s*(\d+months)?\s*(\d+(w|wk|weeks))?\s*(\d+(d|days))?\s*(\d+(h|hr|hours))?\s*(\d+(m|min|minutes))?\s*(\d+(s|sec|seconds))?$/
49
- .source,
50
- },
51
- schema: {
52
- $ref: '#/components/schemas/JSONSchemaRoot',
53
- description: 'JSON schema definitions that may be used by the app.',
54
- },
55
- references: {
56
- type: 'object',
57
- description: `References to other resources.
58
-
59
- The key is the property that references the other resource. The value is an object describing the
60
- name of the resource and how it should behave.
61
- `,
62
- minProperties: 1,
63
- additionalProperties: {
64
- type: 'object',
65
- description: 'A reference to between two resource types.',
66
- additionalProperties: false,
67
- properties: {
68
- resource: { type: 'string' },
69
- create: referenceAction,
70
- update: referenceAction,
71
- delete: referenceAction,
72
- },
73
- },
74
- },
75
- roles: {
76
- type: 'array',
77
- description: 'The default roles that are allowed to perform all actions.',
78
- items: { type: 'string' },
79
- },
80
- url: {
81
- type: 'string',
82
- default: '/api/apps/{appId}/{resource}',
83
- description: 'URL to use if not otherwise specified.',
84
- },
85
- id: {
86
- type: 'string',
87
- default: 'id',
88
- description: 'Name of the field used when accessing singular entities.',
89
- },
90
- history: {
91
- description: 'A definition of how versioning should happen for instances of this resource.',
92
- default: false,
93
- oneOf: [
94
- {
95
- type: 'boolean',
96
- description:
97
- 'Setting this to `true` is the same as using an object with the property `data` set to `true`.',
98
- },
99
- { $ref: '#/components/schemas/ResourceHistoryDefinition' },
100
- ],
101
- },
102
- query: {
103
- type: 'object',
104
- description: "Overrides for 'query' requests.",
105
- additionalProperties: false,
106
- properties: {
107
- roles,
108
- query,
109
- method: {
110
- type: 'string',
111
- default: 'GET',
112
- description: 'HTTP method to use for this type of request.',
113
- },
114
- url: {
115
- type: 'string',
116
- default: '/api/apps/{appId}/{resource}',
117
- description: 'URL to use for this type of request.',
118
- },
119
- },
120
- },
121
- get: {
122
- type: 'object',
123
- description: "Overrides for 'get' requests.",
124
- additionalProperties: false,
125
- properties: {
126
- roles,
127
- query,
128
- method: {
129
- type: 'string',
130
- default: 'GET',
131
- description: 'HTTP method to use for this type of request.',
132
- },
133
- url: {
134
- type: 'string',
135
- default: '/api/apps/{appId}/{resource}/{id}',
136
- description: 'URL to use for this type of request.',
137
- },
138
- },
139
- },
140
- count: {
141
- type: 'object',
142
- description: "Overrides for 'count' requests.",
143
- additionalProperties: false,
144
- properties: {
145
- roles,
146
- query,
147
- method: {
148
- type: 'string',
149
- default: 'GET',
150
- description: 'HTTP method to use for this type of request.',
151
- },
152
- url: {
153
- type: 'string',
154
- default: '/api/apps/{appId}/{resource}/$count',
155
- description: 'URL to use for this type of request.',
156
- },
157
- },
158
- },
159
- create: {
160
- type: 'object',
161
- description: "Overrides for 'create' requests.",
162
- additionalProperties: false,
163
- properties: {
164
- roles,
165
- query,
166
- method: {
167
- type: 'string',
168
- default: 'POST',
169
- description: 'HTTP method to use for this type of request.',
170
- },
171
- url: {
172
- type: 'string',
173
- default: '/api/apps/{appId}/{resource}/{id}',
174
- description: 'URL to use for this type of request.',
175
- },
176
- hooks: {
177
- $ref: '#/components/schemas/ResourceHooksDefinition',
178
- },
179
- },
180
- },
181
- update: {
182
- type: 'object',
183
- description: "Overrides for 'update' requests.",
184
- additionalProperties: false,
185
- properties: {
186
- roles,
187
- query,
188
- method: {
189
- type: 'string',
190
- default: 'PUT',
191
- description: 'HTTP method to use for this type of request.',
192
- },
193
- url: {
194
- type: 'string',
195
- default: '/api/apps/{appId}/{resource}/{id}',
196
- description: 'URL to use for this type of request.',
197
- },
198
- hooks: {
199
- $ref: '#/components/schemas/ResourceHooksDefinition',
200
- },
201
- },
202
- },
203
- delete: {
204
- type: 'object',
205
- description: "Overrides for 'delete' requests.",
206
- additionalProperties: false,
207
- properties: {
208
- roles,
209
- query,
210
- method: {
211
- type: 'string',
212
- default: 'DELETE',
213
- description: 'HTTP method to use for this type of request.',
214
- },
215
- url: {
216
- type: 'string',
217
- default: '/api/apps/{appId}/{resource}/{id}',
218
- description: 'URL to use for this type of request.',
219
- },
220
- hooks: {
221
- $ref: '#/components/schemas/ResourceHooksDefinition',
222
- },
223
- },
224
- },
225
- views: {
226
- $ref: '#/components/schemas/ResourceViewDefinition',
227
- },
228
- },
229
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceDeleteActionDefinition.js","sourceRoot":"","sources":["ResourceDeleteActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,8BAA8B,GAAG,gBAAgB,CAC5D,uBAAuB,EACvB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,iBAAiB,CAAC;YACzB,WAAW,EAAE,oBAAoB;SAClC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qCAAqC;SACnD;KACF;CACF,EACD,CAAC,KAAK,CAAC,CACR,CAAC"}
@@ -1,22 +0,0 @@
1
- import { RequestActionDefinition } from './RequestActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceDeleteActionDefinition = extendJSONSchema(
5
- RequestActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.delete'],
13
- description: 'Delete a resource.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to delete.',
18
- },
19
- },
20
- },
21
- ['url'],
22
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceGetActionDefinition.js","sourceRoot":"","sources":["ResourceGetActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,2BAA2B,GAAG,gBAAgB,CACzD,uBAAuB,EACvB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,cAAc,CAAC;YACtB,WAAW,EAAE,wBAAwB;SACtC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;SAChD;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mCAAmC;SACjD;KACF;CACF,EACD,CAAC,KAAK,CAAC,CACR,CAAC"}
@@ -1,26 +0,0 @@
1
- import { RequestActionDefinition } from './RequestActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceGetActionDefinition = extendJSONSchema(
5
- RequestActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.get'],
13
- description: 'Get a single resource.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to get.',
18
- },
19
- view: {
20
- type: 'string',
21
- description: 'The view to use for the resource.',
22
- },
23
- },
24
- },
25
- ['url'],
26
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceHistoryDefinition.js","sourceRoot":"","sources":["ResourceHistoryDefinition.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,yBAAyB,GAAmC;IACvE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,qEAAqE;IAClF,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;YACb,WAAW,EAAE,+EAA+E;SAC7F;KACF;CACF,CAAC"}
@@ -1,15 +0,0 @@
1
- import { OpenAPIV3 } from 'openapi-types';
2
-
3
- export const ResourceHistoryDefinition: OpenAPIV3.NonArraySchemaObject = {
4
- type: 'object',
5
- additionalProperties: false,
6
- description: 'A definition of how versioning works for instances of this resource',
7
- required: ['data'],
8
- properties: {
9
- data: {
10
- type: 'boolean',
11
- default: true,
12
- description: 'If set to `false`, edits are still tracked, but exactly what changed is lost.',
13
- },
14
- },
15
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceHooksDefinition.js","sourceRoot":"","sources":["ResourceHooksDefinition.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAmC;IACrE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,0DAA0D;IACvE,oBAAoB,EAAE,KAAK;IAC3B,aAAa,EAAE,CAAC;IAChB,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,IAAI,EAAE,iDAAiD,EAAE;KAC1E;CACF,CAAC"}
@@ -1,11 +0,0 @@
1
- import { OpenAPIV3 } from 'openapi-types';
2
-
3
- export const ResourceHooksDefinition: OpenAPIV3.NonArraySchemaObject = {
4
- type: 'object',
5
- description: 'Hooks that are triggered upon calling a resource action.',
6
- additionalProperties: false,
7
- minProperties: 1,
8
- properties: {
9
- notification: { $ref: '#/components/schemas/NotificationHookDefinition' },
10
- },
11
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceQueryActionDefinition.js","sourceRoot":"","sources":["ResourceQueryActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAC3D,uBAAuB,EACvB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,gBAAgB,CAAC;YACxB,WAAW,EAAE,4BAA4B;SAC1C;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,oCAAoC;SAClD;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mCAAmC;SACjD;KACF;CACF,EACD,CAAC,KAAK,CAAC,CACR,CAAC"}
@@ -1,26 +0,0 @@
1
- import { RequestActionDefinition } from './RequestActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceQueryActionDefinition = extendJSONSchema(
5
- RequestActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.query'],
13
- description: 'Query a list of resources.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to query.',
18
- },
19
- view: {
20
- type: 'string',
21
- description: 'The view to use for the resource.',
22
- },
23
- },
24
- },
25
- ['url'],
26
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSubscription.js","sourceRoot":"","sources":["ResourceSubscription.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAmC;IAClE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,wDAAwD;IACrE,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6EAA6E;SAC3F;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6EAA6E;SAC3F;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6EAA6E;SAC3F;QACD,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gEAAgE;YAC7E,oBAAoB,EAAE;gBACpB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0DAA0D;gBACvE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,gFAAgF;qBACnF;oBACD,MAAM,EAAE;wBACN,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,8EAA8E;qBACjF;iBACF;aACF;SACF;KACF;CACF,CAAC"}
@@ -1,42 +0,0 @@
1
- import { OpenAPIV3 } from 'openapi-types';
2
-
3
- export const ResourceSubscription: OpenAPIV3.NonArraySchemaObject = {
4
- type: 'object',
5
- additionalProperties: false,
6
- description: 'This describes how a user is subscribed to a resource.',
7
- properties: {
8
- create: {
9
- type: 'boolean',
10
- description: 'If true, the user is subscribed to any create actions for the resource type',
11
- },
12
- update: {
13
- type: 'boolean',
14
- description: 'If true, the user is subscribed to any update actions for the resource type',
15
- },
16
- delete: {
17
- type: 'boolean',
18
- description: 'If true, the user is subscribed to any delete actions for the resource type',
19
- },
20
- subscriptions: {
21
- type: 'object',
22
- description: 'A mapping of resource IDs to individual resource subscriptions',
23
- additionalProperties: {
24
- type: 'object',
25
- description: 'The subscription status of a user for a single resource.',
26
- additionalProperties: false,
27
- properties: {
28
- update: {
29
- type: 'boolean',
30
- description:
31
- 'If true, the user is subscribed to update actions on this particular resource.',
32
- },
33
- delete: {
34
- type: 'boolean',
35
- description:
36
- 'If true, the user will be notified when this particular resource is deleted.',
37
- },
38
- },
39
- },
40
- },
41
- },
42
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSubscriptionStatusActionDefinition.js","sourceRoot":"","sources":["ResourceSubscriptionStatusActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,0CAA0C,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC/F,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,8BAA8B,CAAC;YACtC,WAAW,EACT,sGAAsG;SACzG;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6DAA6D;SAC3E;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;YACpC,WAAW,EAAE,6DAA6D;SAC3E;KACF;CACF,CAAC,CAAC"}
@@ -1,23 +0,0 @@
1
- import { BaseActionDefinition } from './BaseActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceSubscriptionStatusActionDefinition = extendJSONSchema(BaseActionDefinition, {
5
- type: 'object',
6
- additionalProperties: false,
7
- required: ['type', 'resource'],
8
- properties: {
9
- type: {
10
- enum: ['resource.subscription.status'],
11
- description:
12
- 'Get the status of whether or not the user is subscriped to notifications for resource modifications.',
13
- },
14
- resource: {
15
- type: 'string',
16
- description: 'The type of the resource to get the subscription state for.',
17
- },
18
- action: {
19
- enum: ['create', 'delete', 'update'],
20
- description: 'The resource action type to get the subscription state for.',
21
- },
22
- },
23
- });
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSubscriptionSubscribeActionDefinition.js","sourceRoot":"","sources":["ResourceSubscriptionSubscribeActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,6CAA6C,GAAG,gBAAgB,CAC3E,oBAAoB,EACpB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,iCAAiC,CAAC;YACzC,WAAW,EAAE,uDAAuD;SACrE;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACzD;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;YACpC,WAAW,EAAE,2CAA2C;SACzD;KACF;CACF,CACF,CAAC"}
@@ -1,25 +0,0 @@
1
- import { BaseActionDefinition } from './BaseActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceSubscriptionSubscribeActionDefinition = extendJSONSchema(
5
- BaseActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.subscription.subscribe'],
13
- description: 'Subscribe to notifications on resource modifications.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to subscribe to.',
18
- },
19
- action: {
20
- enum: ['create', 'delete', 'update'],
21
- description: 'The resource action type to subscribe to.',
22
- },
23
- },
24
- },
25
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSubscriptionToggleActionDefinition.js","sourceRoot":"","sources":["ResourceSubscriptionToggleActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,0CAA0C,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC/F,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,8BAA8B,CAAC;YACtC,WAAW,EAAE,2EAA2E;SACzF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gEAAgE;SAC9E;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;YACpC,WAAW,EAAE,gEAAgE;SAC9E;KACF;CACF,CAAC,CAAC"}
@@ -1,22 +0,0 @@
1
- import { BaseActionDefinition } from './BaseActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceSubscriptionToggleActionDefinition = extendJSONSchema(BaseActionDefinition, {
5
- type: 'object',
6
- additionalProperties: false,
7
- required: ['type', 'resource'],
8
- properties: {
9
- type: {
10
- enum: ['resource.subscription.toggle'],
11
- description: 'Toggle whether or not to receive notifications on resource modifications.',
12
- },
13
- resource: {
14
- type: 'string',
15
- description: 'The type of the resource to toggle the subscription state for.',
16
- },
17
- action: {
18
- enum: ['create', 'delete', 'update'],
19
- description: 'The resource action type to toggle the subscription state for.',
20
- },
21
- },
22
- });
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSubscriptionUnsubscribeActionDefinition.js","sourceRoot":"","sources":["ResourceSubscriptionUnsubscribeActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,+CAA+C,GAAG,gBAAgB,CAC7E,oBAAoB,EACpB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,mCAAmC,CAAC;YAC3C,WAAW,EAAE,2DAA2D;SACzE;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+CAA+C;SAC7D;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC;YACpC,WAAW,EAAE,+CAA+C;SAC7D;KACF;CACF,CACF,CAAC"}
@@ -1,25 +0,0 @@
1
- import { BaseActionDefinition } from './BaseActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceSubscriptionUnsubscribeActionDefinition = extendJSONSchema(
5
- BaseActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.subscription.unsubscribe'],
13
- description: 'Unsubscribe from notifications on resource modifications.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to unsubscribe from.',
18
- },
19
- action: {
20
- enum: ['create', 'delete', 'update'],
21
- description: 'The resource action type to unsubscribe from.',
22
- },
23
- },
24
- },
25
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceUpdateActionDefinition.js","sourceRoot":"","sources":["ResourceUpdateActionDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,MAAM,CAAC,MAAM,8BAA8B,GAAG,gBAAgB,CAC5D,uBAAuB,EACvB;IACE,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,iBAAiB,CAAC;YACzB,WAAW,EAAE,oBAAoB;SAClC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,oCAAoC;SAClD;KACF;CACF,EACD,CAAC,KAAK,CAAC,CACR,CAAC"}
@@ -1,22 +0,0 @@
1
- import { RequestActionDefinition } from './RequestActionDefinition.js';
2
- import { extendJSONSchema } from './utils.js';
3
-
4
- export const ResourceUpdateActionDefinition = extendJSONSchema(
5
- RequestActionDefinition,
6
- {
7
- type: 'object',
8
- additionalProperties: false,
9
- required: ['type', 'resource'],
10
- properties: {
11
- type: {
12
- enum: ['resource.update'],
13
- description: 'Update a resource.',
14
- },
15
- resource: {
16
- type: 'string',
17
- description: 'The type of the resource to query.',
18
- },
19
- },
20
- },
21
- ['url'],
22
- );
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceViewDefinition.js","sourceRoot":"","sources":["ResourceViewDefinition.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,sBAAsB,GAAmC;IACpE,IAAI,EAAE,QAAQ;IACd,aAAa,EAAE,CAAC;IAChB,WAAW,EACT,wGAAwG;IAC1G,oBAAoB,EAAE;QACpB,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,KAAK;QAC3B,WAAW,EAAE,+BAA+B;QAC5C,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,sDAAsD;gBACnE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,yCAAyC;gBAC/C,WAAW,EAAE,oBAAoB;aAClC;SACF;KACF;CACF,CAAC"}
@@ -1,26 +0,0 @@
1
- import { OpenAPIV3 } from 'openapi-types';
2
-
3
- export const ResourceViewDefinition: OpenAPIV3.NonArraySchemaObject = {
4
- type: 'object',
5
- minProperties: 1,
6
- description:
7
- 'Alternative views of a resource that are modified using remappers and support different sets of roles.',
8
- additionalProperties: {
9
- type: 'object',
10
- additionalProperties: false,
11
- description: 'A custom view for a resource.',
12
- properties: {
13
- roles: {
14
- type: 'array',
15
- description: 'The list of roles that are allowed to use this view.',
16
- items: {
17
- type: 'string',
18
- },
19
- },
20
- remap: {
21
- $ref: '#/components/schemas/RemapperDefinition',
22
- description: 'The modified view.',
23
- },
24
- },
25
- },
26
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"SSLSecret.js","sourceRoot":"","sources":["SSLSecret.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAA2B;IAC/C,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,WAAW,EAAE,2BAA2B;IACxC,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mDAAmD;SACjE;QACD,GAAG,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;SAChD;KACF;CACF,CAAC"}