@opra/common 1.20.0 → 1.22.0

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 (615) hide show
  1. package/README.md +3 -0
  2. package/browser.js +12 -0
  3. package/{esm/document → document}/api-document.js +7 -7
  4. package/{esm/document → document}/common/api-base.js +2 -1
  5. package/{esm/document → document}/common/data-type-map.js +3 -6
  6. package/{esm/document → document}/common/document-init-context.js +4 -3
  7. package/{esm/document → document}/common/document-node.js +4 -0
  8. package/{esm/document → document}/common/opra-document-error.js +1 -1
  9. package/{esm/document → document}/common/value.js +4 -0
  10. package/{esm/document → document}/data-type/api-field.js +1 -0
  11. package/{types/document → document}/data-type/array-type.d.ts +1 -1
  12. package/{esm/document → document}/data-type/complex-type-base.js +3 -0
  13. package/{esm/document → document}/data-type/complex-type.js +1 -0
  14. package/{esm/document → document}/data-type/extended-types/base64.type.js +1 -0
  15. package/{esm/document → document}/data-type/extended-types/date-time-tz.type.js +2 -0
  16. package/{esm/document → document}/data-type/extended-types/date-time.type.js +3 -0
  17. package/{esm/document → document}/data-type/extended-types/date.type.js +3 -0
  18. package/{esm/document → document}/data-type/extended-types/email.type.js +9 -0
  19. package/{esm/document → document}/data-type/extended-types/field-path.type.js +2 -0
  20. package/{esm/document → document}/data-type/extended-types/filter.type.js +2 -0
  21. package/{esm/document → document}/data-type/extended-types/partial-date.type.js +2 -0
  22. package/{esm/document → document}/data-type/extended-types/time.type.js +2 -0
  23. package/{esm/document → document}/data-type/extended-types/uuid.type.js +1 -0
  24. package/{esm/document → document}/data-type/mapped-type.js +4 -0
  25. package/{esm/document → document}/data-type/primitive-types/number.type.js +2 -0
  26. package/{esm/document → document}/data-type/primitive-types/string.type.js +4 -0
  27. package/{esm/document → document}/data-type/simple-type.js +3 -0
  28. package/document/decorators/ws-param.decorator.d.ts +7 -0
  29. package/{esm/document → document}/decorators/ws-param.decorator.js +2 -2
  30. package/{esm/document → document}/factory/api-document.factory.js +1 -3
  31. package/{esm/document → document}/factory/ws-api.factory.js +14 -3
  32. package/{esm/document → document}/http/http-api.js +5 -4
  33. package/{esm/document → document}/http/http-multipart-field.js +3 -0
  34. package/{esm/document → document}/http/http-operation-response.js +3 -0
  35. package/{esm/document → document}/http/http-request-body.js +8 -1
  36. package/{esm/document → document}/http/http-status-range.js +2 -2
  37. package/{esm/document → document}/mq/mq-api.js +5 -4
  38. package/{esm/document → document}/mq/mq-operation-response.js +7 -1
  39. package/{esm/document → document}/ws/ws-api.js +4 -4
  40. package/{types/document → document}/ws/ws-operation.d.ts +15 -3
  41. package/{esm/document → document}/ws/ws-operation.js +10 -2
  42. package/{esm/exception → exception}/http-errors/bad-request.error.js +1 -4
  43. package/{esm/exception → exception}/http-errors/conflict.error.js +1 -4
  44. package/{esm/exception → exception}/http-errors/failed-dependency.error.js +1 -4
  45. package/{esm/exception → exception}/http-errors/forbidden.error.js +1 -4
  46. package/{esm/exception → exception}/http-errors/internal-server.error.js +1 -4
  47. package/{esm/exception → exception}/http-errors/method-not-allowed.error.js +1 -4
  48. package/{esm/exception → exception}/http-errors/not-acceptable.error.js +1 -4
  49. package/{esm/exception → exception}/http-errors/not-found.error.js +1 -4
  50. package/{esm/exception → exception}/http-errors/resource-conflict.error.js +1 -1
  51. package/{esm/exception → exception}/http-errors/unauthorized.error.js +1 -4
  52. package/{esm/exception → exception}/http-errors/unprocessable-entity.error.js +1 -4
  53. package/{esm/exception → exception}/opra-exception.js +5 -1
  54. package/{esm/exception → exception}/opra-http-error.js +1 -0
  55. package/filter/antlr/OpraFilterLexer.js +425 -0
  56. package/filter/antlr/OpraFilterListener.js +302 -0
  57. package/{esm/filter → filter}/antlr/OpraFilterParser.js +218 -214
  58. package/filter/antlr/OpraFilterVisitor.js +185 -0
  59. package/{esm/filter → filter}/ast/abstract/ast.js +1 -0
  60. package/{esm/filter → filter}/ast/expressions/arithmetic-expression.js +3 -1
  61. package/{esm/filter → filter}/ast/expressions/array-expression.js +1 -0
  62. package/{esm/filter → filter}/ast/expressions/comparison-expression.js +4 -0
  63. package/{esm/filter → filter}/ast/expressions/logical-expression.js +2 -0
  64. package/{esm/filter → filter}/ast/expressions/negative-expression.js +1 -0
  65. package/{esm/filter → filter}/ast/expressions/parenthesized-expression.js +1 -0
  66. package/{esm/filter → filter}/ast/terms/date-literal.js +1 -0
  67. package/{esm/filter → filter}/ast/terms/date-time-literal.js +1 -0
  68. package/{esm/filter → filter}/ast/terms/null-literal.js +1 -1
  69. package/{esm/filter → filter}/ast/terms/number-literal.js +1 -0
  70. package/{esm/filter → filter}/ast/terms/time-literal.js +1 -0
  71. package/{esm/filter → filter}/filter-rules.js +2 -2
  72. package/{esm/filter → filter}/filter-tree-visitor.js +1 -0
  73. package/{esm/filter → filter}/opra-error-listener.js +1 -0
  74. package/{esm/helpers → helpers}/parse-fields-projection.js +2 -0
  75. package/package.json +15 -35
  76. package/{types/schema → schema}/ws/ws-api.interface.d.ts +4 -0
  77. package/browser/index.cjs +0 -12
  78. package/browser/index.mjs +0 -12
  79. package/cjs/document/api-document.js +0 -182
  80. package/cjs/document/common/api-base.js +0 -31
  81. package/cjs/document/common/data-type-map.js +0 -77
  82. package/cjs/document/common/document-element.js +0 -34
  83. package/cjs/document/common/document-init-context.js +0 -69
  84. package/cjs/document/common/document-node.js +0 -145
  85. package/cjs/document/common/opra-document-error.js +0 -15
  86. package/cjs/document/common/value.js +0 -39
  87. package/cjs/document/constants.js +0 -18
  88. package/cjs/document/data-type/api-field.js +0 -124
  89. package/cjs/document/data-type/array-type.js +0 -78
  90. package/cjs/document/data-type/complex-type-base.js +0 -346
  91. package/cjs/document/data-type/complex-type.js +0 -127
  92. package/cjs/document/data-type/data-type.js +0 -67
  93. package/cjs/document/data-type/enum-type.js +0 -128
  94. package/cjs/document/data-type/extended-types/base64.type.js +0 -49
  95. package/cjs/document/data-type/extended-types/date-time-tz.type.js +0 -63
  96. package/cjs/document/data-type/extended-types/date-time.type.js +0 -76
  97. package/cjs/document/data-type/extended-types/date.type.js +0 -74
  98. package/cjs/document/data-type/extended-types/email.type.js +0 -95
  99. package/cjs/document/data-type/extended-types/field-path.type.js +0 -65
  100. package/cjs/document/data-type/extended-types/filter.type.js +0 -88
  101. package/cjs/document/data-type/extended-types/index.js +0 -16
  102. package/cjs/document/data-type/extended-types/object-id.type.js +0 -31
  103. package/cjs/document/data-type/extended-types/operation-result.type.js +0 -67
  104. package/cjs/document/data-type/extended-types/partial-date.type.js +0 -85
  105. package/cjs/document/data-type/extended-types/time.type.js +0 -55
  106. package/cjs/document/data-type/extended-types/url.type.js +0 -31
  107. package/cjs/document/data-type/extended-types/uuid.type.js +0 -37
  108. package/cjs/document/data-type/mapped-type.js +0 -120
  109. package/cjs/document/data-type/mixin-type.js +0 -123
  110. package/cjs/document/data-type/omit-type.js +0 -10
  111. package/cjs/document/data-type/partial-type.js +0 -12
  112. package/cjs/document/data-type/pick-type.js +0 -10
  113. package/cjs/document/data-type/primitive-types/any.type.js +0 -27
  114. package/cjs/document/data-type/primitive-types/bigint.type.js +0 -38
  115. package/cjs/document/data-type/primitive-types/boolean.type.js +0 -31
  116. package/cjs/document/data-type/primitive-types/index.js +0 -11
  117. package/cjs/document/data-type/primitive-types/integer.type.js +0 -38
  118. package/cjs/document/data-type/primitive-types/null.type.js +0 -31
  119. package/cjs/document/data-type/primitive-types/number.type.js +0 -50
  120. package/cjs/document/data-type/primitive-types/object.type.js +0 -20
  121. package/cjs/document/data-type/primitive-types/string.type.js +0 -70
  122. package/cjs/document/data-type/required-type.js +0 -12
  123. package/cjs/document/data-type/simple-type.js +0 -133
  124. package/cjs/document/data-type/union-type.js +0 -84
  125. package/cjs/document/data-type/utils/create-mapped-class.js +0 -56
  126. package/cjs/document/data-type/utils/get-is-inherited-predicate-fn.js +0 -14
  127. package/cjs/document/decorators/api-field-decorator.js +0 -50
  128. package/cjs/document/decorators/complex-type.decorator.js +0 -31
  129. package/cjs/document/decorators/http-controller.decorator.js +0 -145
  130. package/cjs/document/decorators/http-operation-entity-create.decorator.js +0 -58
  131. package/cjs/document/decorators/http-operation-entity-delete-many.decorator.js +0 -41
  132. package/cjs/document/decorators/http-operation-entity-delete.decorator.js +0 -41
  133. package/cjs/document/decorators/http-operation-entity-find-many.decorator.js +0 -85
  134. package/cjs/document/decorators/http-operation-entity-get.decorator.js +0 -56
  135. package/cjs/document/decorators/http-operation-entity-replace.decorator.js +0 -56
  136. package/cjs/document/decorators/http-operation-entity-update-many.decorator.js +0 -50
  137. package/cjs/document/decorators/http-operation-entity-update.decorator.js +0 -66
  138. package/cjs/document/decorators/http-operation-entity.decorator.js +0 -143
  139. package/cjs/document/decorators/http-operation.decorator.js +0 -213
  140. package/cjs/document/decorators/mq-controller.decorator.js +0 -67
  141. package/cjs/document/decorators/mq-operation.decorator.js +0 -82
  142. package/cjs/document/decorators/simple-type.decorator.js +0 -67
  143. package/cjs/document/decorators/ws-controller.decorator.js +0 -51
  144. package/cjs/document/decorators/ws-operation.decorator.js +0 -42
  145. package/cjs/document/decorators/ws-param.decorator.js +0 -22
  146. package/cjs/document/factory/api-document.factory.js +0 -192
  147. package/cjs/document/factory/data-type.factory.js +0 -647
  148. package/cjs/document/factory/http-api.factory.js +0 -302
  149. package/cjs/document/factory/mq-api.factory.js +0 -203
  150. package/cjs/document/factory/ws-api.factory.js +0 -145
  151. package/cjs/document/http/http-api.js +0 -40
  152. package/cjs/document/http/http-controller.js +0 -159
  153. package/cjs/document/http/http-media-type.js +0 -104
  154. package/cjs/document/http/http-multipart-field.js +0 -32
  155. package/cjs/document/http/http-operation-response.js +0 -47
  156. package/cjs/document/http/http-operation.js +0 -126
  157. package/cjs/document/http/http-parameter.js +0 -57
  158. package/cjs/document/http/http-request-body.js +0 -27
  159. package/cjs/document/http/http-status-range.js +0 -45
  160. package/cjs/document/index.js +0 -70
  161. package/cjs/document/mq/mq-api.js +0 -54
  162. package/cjs/document/mq/mq-controller.js +0 -101
  163. package/cjs/document/mq/mq-header.js +0 -48
  164. package/cjs/document/mq/mq-operation-response.js +0 -66
  165. package/cjs/document/mq/mq-operation.js +0 -101
  166. package/cjs/document/utils/inspect.util.js +0 -7
  167. package/cjs/document/utils/parse-regexp.util.js +0 -21
  168. package/cjs/document/utils/string-compare.util.js +0 -10
  169. package/cjs/document/utils/test-scope-match.js +0 -15
  170. package/cjs/document/ws/ws-api.js +0 -52
  171. package/cjs/document/ws/ws-controller.js +0 -78
  172. package/cjs/document/ws/ws-operation.js +0 -64
  173. package/cjs/enums/http-headers-codes.enum.js +0 -411
  174. package/cjs/enums/http-status-codes.enum.js +0 -300
  175. package/cjs/enums/http-status-messages.js +0 -68
  176. package/cjs/enums/index.js +0 -7
  177. package/cjs/enums/mime-types.enum.js +0 -17
  178. package/cjs/exception/error-issue.js +0 -2
  179. package/cjs/exception/http-errors/bad-request.error.js +0 -23
  180. package/cjs/exception/http-errors/conflict.error.js +0 -22
  181. package/cjs/exception/http-errors/failed-dependency.error.js +0 -22
  182. package/cjs/exception/http-errors/forbidden.error.js +0 -25
  183. package/cjs/exception/http-errors/internal-server.error.js +0 -23
  184. package/cjs/exception/http-errors/method-not-allowed.error.js +0 -23
  185. package/cjs/exception/http-errors/not-acceptable.error.js +0 -23
  186. package/cjs/exception/http-errors/not-found.error.js +0 -26
  187. package/cjs/exception/http-errors/permission.error.js +0 -20
  188. package/cjs/exception/http-errors/resource-conflict.error.js +0 -19
  189. package/cjs/exception/http-errors/resource-not.available.error.js +0 -23
  190. package/cjs/exception/http-errors/unauthorized.error.js +0 -23
  191. package/cjs/exception/http-errors/unprocessable-entity.error.js +0 -23
  192. package/cjs/exception/index.js +0 -20
  193. package/cjs/exception/issue-severity.enum.js +0 -23
  194. package/cjs/exception/opra-exception.js +0 -70
  195. package/cjs/exception/opra-http-error.js +0 -25
  196. package/cjs/filter/antlr/OpraFilterLexer.js +0 -427
  197. package/cjs/filter/antlr/OpraFilterListener.js +0 -11
  198. package/cjs/filter/antlr/OpraFilterParser.js +0 -1851
  199. package/cjs/filter/antlr/OpraFilterVisitor.js +0 -14
  200. package/cjs/filter/ast/abstract/ast.js +0 -9
  201. package/cjs/filter/ast/abstract/expression.js +0 -7
  202. package/cjs/filter/ast/abstract/literal.js +0 -14
  203. package/cjs/filter/ast/abstract/term.js +0 -7
  204. package/cjs/filter/ast/expressions/arithmetic-expression.js +0 -29
  205. package/cjs/filter/ast/expressions/array-expression.js +0 -14
  206. package/cjs/filter/ast/expressions/comparison-expression.js +0 -15
  207. package/cjs/filter/ast/expressions/logical-expression.js +0 -18
  208. package/cjs/filter/ast/expressions/negative-expression.js +0 -14
  209. package/cjs/filter/ast/expressions/parenthesized-expression.js +0 -14
  210. package/cjs/filter/ast/index.js +0 -21
  211. package/cjs/filter/ast/terms/boolean-literal.js +0 -10
  212. package/cjs/filter/ast/terms/date-literal.js +0 -28
  213. package/cjs/filter/ast/terms/date-time-literal.js +0 -27
  214. package/cjs/filter/ast/terms/external-constant.js +0 -13
  215. package/cjs/filter/ast/terms/null-literal.js +0 -11
  216. package/cjs/filter/ast/terms/number-literal.js +0 -39
  217. package/cjs/filter/ast/terms/qualified-identifier.js +0 -10
  218. package/cjs/filter/ast/terms/string-literal.js +0 -14
  219. package/cjs/filter/ast/terms/time-literal.js +0 -34
  220. package/cjs/filter/build.js +0 -126
  221. package/cjs/filter/errors.js +0 -21
  222. package/cjs/filter/filter-rules.js +0 -150
  223. package/cjs/filter/filter-tree-visitor.js +0 -97
  224. package/cjs/filter/index.js +0 -5
  225. package/cjs/filter/opra-error-listener.js +0 -21
  226. package/cjs/filter/opra-filter.ns.js +0 -8
  227. package/cjs/filter/parse.js +0 -38
  228. package/cjs/filter/utils.js +0 -25
  229. package/cjs/helpers/function-utils.js +0 -15
  230. package/cjs/helpers/get-stack-filename.js +0 -51
  231. package/cjs/helpers/index.js +0 -12
  232. package/cjs/helpers/mixin-utils.js +0 -35
  233. package/cjs/helpers/object-utils.js +0 -19
  234. package/cjs/helpers/parse-fields-projection.js +0 -67
  235. package/cjs/helpers/responsive-map.js +0 -155
  236. package/cjs/helpers/safe-json-stringify.js +0 -16
  237. package/cjs/helpers/type-guards.js +0 -46
  238. package/cjs/i18n/i18n.js +0 -139
  239. package/cjs/i18n/index.js +0 -10
  240. package/cjs/i18n/string-utils.js +0 -12
  241. package/cjs/i18n/translate.js +0 -16
  242. package/cjs/index.js +0 -14
  243. package/cjs/package.json +0 -3
  244. package/cjs/polifils/array-find-last.js +0 -22
  245. package/cjs/schema/api-document.interface.js +0 -2
  246. package/cjs/schema/api.interface.js +0 -2
  247. package/cjs/schema/constants.js +0 -4
  248. package/cjs/schema/data-type/array-type.interface.js +0 -7
  249. package/cjs/schema/data-type/complex-type.interface.js +0 -7
  250. package/cjs/schema/data-type/data-type.interface.js +0 -2
  251. package/cjs/schema/data-type/enum-type.interface.js +0 -7
  252. package/cjs/schema/data-type/field.interface.js +0 -2
  253. package/cjs/schema/data-type/mapped-type.interface.js +0 -7
  254. package/cjs/schema/data-type/mixin-type.interface.js +0 -7
  255. package/cjs/schema/data-type/simple-type.interface.js +0 -7
  256. package/cjs/schema/data-type/union-type.interface.js +0 -7
  257. package/cjs/schema/data-type-container.interface.js +0 -2
  258. package/cjs/schema/http/http-api.interface.js +0 -2
  259. package/cjs/schema/http/http-controller.interface.js +0 -11
  260. package/cjs/schema/http/http-media-type.interface.js +0 -2
  261. package/cjs/schema/http/http-multipart-field.interface.js +0 -2
  262. package/cjs/schema/http/http-operation-response.interface.js +0 -2
  263. package/cjs/schema/http/http-operation.interface.js +0 -7
  264. package/cjs/schema/http/http-parameter.interface.js +0 -2
  265. package/cjs/schema/http/http-request-body.interface.js +0 -2
  266. package/cjs/schema/http/http-status-range.interface.js +0 -2
  267. package/cjs/schema/index.js +0 -6
  268. package/cjs/schema/mq/mq-api.interface.js +0 -2
  269. package/cjs/schema/mq/mq-controller.interface.js +0 -11
  270. package/cjs/schema/mq/mq-header.interface.js +0 -2
  271. package/cjs/schema/mq/mq-operation.interface.js +0 -7
  272. package/cjs/schema/opra-schema.js +0 -35
  273. package/cjs/schema/type-guards.js +0 -54
  274. package/cjs/schema/types.js +0 -2
  275. package/cjs/schema/value.interface.js +0 -2
  276. package/cjs/schema/ws/ws-api.interface.js +0 -2
  277. package/cjs/schema/ws/ws-controller.interface.js +0 -11
  278. package/cjs/schema/ws/ws-operation.interface.js +0 -7
  279. package/cjs/types.js +0 -2
  280. package/esm/filter/antlr/OpraFilterLexer.js +0 -425
  281. package/esm/filter/antlr/OpraFilterListener.js +0 -8
  282. package/esm/filter/antlr/OpraFilterVisitor.js +0 -11
  283. package/esm/helpers/monkey-patches.js +0 -14
  284. package/esm/package.json +0 -3
  285. package/types/document/decorators/ws-param.decorator.d.ts +0 -2
  286. package/types/index.d.cts +0 -9
  287. /package/{types/document → document}/api-document.d.ts +0 -0
  288. /package/{types/document → document}/common/api-base.d.ts +0 -0
  289. /package/{types/document → document}/common/data-type-map.d.ts +0 -0
  290. /package/{types/document → document}/common/document-element.d.ts +0 -0
  291. /package/{esm/document → document}/common/document-element.js +0 -0
  292. /package/{types/document → document}/common/document-init-context.d.ts +0 -0
  293. /package/{types/document → document}/common/document-node.d.ts +0 -0
  294. /package/{types/document → document}/common/opra-document-error.d.ts +0 -0
  295. /package/{types/document → document}/common/value.d.ts +0 -0
  296. /package/{types/document → document}/constants.d.ts +0 -0
  297. /package/{esm/document → document}/constants.js +0 -0
  298. /package/{types/document → document}/data-type/api-field.d.ts +0 -0
  299. /package/{esm/document → document}/data-type/array-type.js +0 -0
  300. /package/{types/document → document}/data-type/complex-type-base.d.ts +0 -0
  301. /package/{types/document → document}/data-type/complex-type.d.ts +0 -0
  302. /package/{types/document → document}/data-type/data-type.d.ts +0 -0
  303. /package/{esm/document → document}/data-type/data-type.js +0 -0
  304. /package/{types/document → document}/data-type/enum-type.d.ts +0 -0
  305. /package/{esm/document → document}/data-type/enum-type.js +0 -0
  306. /package/{types/document → document}/data-type/extended-types/base64.type.d.ts +0 -0
  307. /package/{types/document → document}/data-type/extended-types/date-time-tz.type.d.ts +0 -0
  308. /package/{types/document → document}/data-type/extended-types/date-time.type.d.ts +0 -0
  309. /package/{types/document → document}/data-type/extended-types/date.type.d.ts +0 -0
  310. /package/{types/document → document}/data-type/extended-types/email.type.d.ts +0 -0
  311. /package/{types/document → document}/data-type/extended-types/field-path.type.d.ts +0 -0
  312. /package/{types/document → document}/data-type/extended-types/filter.type.d.ts +0 -0
  313. /package/{types/document → document}/data-type/extended-types/index.d.ts +0 -0
  314. /package/{esm/document → document}/data-type/extended-types/index.js +0 -0
  315. /package/{types/document → document}/data-type/extended-types/object-id.type.d.ts +0 -0
  316. /package/{esm/document → document}/data-type/extended-types/object-id.type.js +0 -0
  317. /package/{types/document → document}/data-type/extended-types/operation-result.type.d.ts +0 -0
  318. /package/{esm/document → document}/data-type/extended-types/operation-result.type.js +0 -0
  319. /package/{types/document → document}/data-type/extended-types/partial-date.type.d.ts +0 -0
  320. /package/{types/document → document}/data-type/extended-types/time.type.d.ts +0 -0
  321. /package/{types/document → document}/data-type/extended-types/url.type.d.ts +0 -0
  322. /package/{esm/document → document}/data-type/extended-types/url.type.js +0 -0
  323. /package/{types/document → document}/data-type/extended-types/uuid.type.d.ts +0 -0
  324. /package/{types/document → document}/data-type/mapped-type.d.ts +0 -0
  325. /package/{types/document → document}/data-type/mixin-type.d.ts +0 -0
  326. /package/{esm/document → document}/data-type/mixin-type.js +0 -0
  327. /package/{types/document → document}/data-type/omit-type.d.ts +0 -0
  328. /package/{esm/document → document}/data-type/omit-type.js +0 -0
  329. /package/{types/document → document}/data-type/partial-type.d.ts +0 -0
  330. /package/{esm/document → document}/data-type/partial-type.js +0 -0
  331. /package/{types/document → document}/data-type/pick-type.d.ts +0 -0
  332. /package/{esm/document → document}/data-type/pick-type.js +0 -0
  333. /package/{types/document → document}/data-type/primitive-types/any.type.d.ts +0 -0
  334. /package/{esm/document → document}/data-type/primitive-types/any.type.js +0 -0
  335. /package/{types/document → document}/data-type/primitive-types/bigint.type.d.ts +0 -0
  336. /package/{esm/document → document}/data-type/primitive-types/bigint.type.js +0 -0
  337. /package/{types/document → document}/data-type/primitive-types/boolean.type.d.ts +0 -0
  338. /package/{esm/document → document}/data-type/primitive-types/boolean.type.js +0 -0
  339. /package/{types/document → document}/data-type/primitive-types/index.d.ts +0 -0
  340. /package/{esm/document → document}/data-type/primitive-types/index.js +0 -0
  341. /package/{types/document → document}/data-type/primitive-types/integer.type.d.ts +0 -0
  342. /package/{esm/document → document}/data-type/primitive-types/integer.type.js +0 -0
  343. /package/{types/document → document}/data-type/primitive-types/null.type.d.ts +0 -0
  344. /package/{esm/document → document}/data-type/primitive-types/null.type.js +0 -0
  345. /package/{types/document → document}/data-type/primitive-types/number.type.d.ts +0 -0
  346. /package/{types/document → document}/data-type/primitive-types/object.type.d.ts +0 -0
  347. /package/{esm/document → document}/data-type/primitive-types/object.type.js +0 -0
  348. /package/{types/document → document}/data-type/primitive-types/string.type.d.ts +0 -0
  349. /package/{types/document → document}/data-type/required-type.d.ts +0 -0
  350. /package/{esm/document → document}/data-type/required-type.js +0 -0
  351. /package/{types/document → document}/data-type/simple-type.d.ts +0 -0
  352. /package/{types/document → document}/data-type/union-type.d.ts +0 -0
  353. /package/{esm/document → document}/data-type/union-type.js +0 -0
  354. /package/{types/document → document}/data-type/utils/create-mapped-class.d.ts +0 -0
  355. /package/{esm/document → document}/data-type/utils/create-mapped-class.js +0 -0
  356. /package/{types/document → document}/data-type/utils/get-is-inherited-predicate-fn.d.ts +0 -0
  357. /package/{esm/document → document}/data-type/utils/get-is-inherited-predicate-fn.js +0 -0
  358. /package/{types/document → document}/decorators/api-field-decorator.d.ts +0 -0
  359. /package/{esm/document → document}/decorators/api-field-decorator.js +0 -0
  360. /package/{types/document → document}/decorators/complex-type.decorator.d.ts +0 -0
  361. /package/{esm/document → document}/decorators/complex-type.decorator.js +0 -0
  362. /package/{types/document → document}/decorators/http-controller.decorator.d.ts +0 -0
  363. /package/{esm/document → document}/decorators/http-controller.decorator.js +0 -0
  364. /package/{types/document → document}/decorators/http-operation-entity-create.decorator.d.ts +0 -0
  365. /package/{esm/document → document}/decorators/http-operation-entity-create.decorator.js +0 -0
  366. /package/{types/document → document}/decorators/http-operation-entity-delete-many.decorator.d.ts +0 -0
  367. /package/{esm/document → document}/decorators/http-operation-entity-delete-many.decorator.js +0 -0
  368. /package/{types/document → document}/decorators/http-operation-entity-delete.decorator.d.ts +0 -0
  369. /package/{esm/document → document}/decorators/http-operation-entity-delete.decorator.js +0 -0
  370. /package/{types/document → document}/decorators/http-operation-entity-find-many.decorator.d.ts +0 -0
  371. /package/{esm/document → document}/decorators/http-operation-entity-find-many.decorator.js +0 -0
  372. /package/{types/document → document}/decorators/http-operation-entity-get.decorator.d.ts +0 -0
  373. /package/{esm/document → document}/decorators/http-operation-entity-get.decorator.js +0 -0
  374. /package/{types/document → document}/decorators/http-operation-entity-replace.decorator.d.ts +0 -0
  375. /package/{esm/document → document}/decorators/http-operation-entity-replace.decorator.js +0 -0
  376. /package/{types/document → document}/decorators/http-operation-entity-update-many.decorator.d.ts +0 -0
  377. /package/{esm/document → document}/decorators/http-operation-entity-update-many.decorator.js +0 -0
  378. /package/{types/document → document}/decorators/http-operation-entity-update.decorator.d.ts +0 -0
  379. /package/{esm/document → document}/decorators/http-operation-entity-update.decorator.js +0 -0
  380. /package/{types/document → document}/decorators/http-operation-entity.decorator.d.ts +0 -0
  381. /package/{esm/document → document}/decorators/http-operation-entity.decorator.js +0 -0
  382. /package/{types/document → document}/decorators/http-operation.decorator.d.ts +0 -0
  383. /package/{esm/document → document}/decorators/http-operation.decorator.js +0 -0
  384. /package/{types/document → document}/decorators/mq-controller.decorator.d.ts +0 -0
  385. /package/{esm/document → document}/decorators/mq-controller.decorator.js +0 -0
  386. /package/{types/document → document}/decorators/mq-operation.decorator.d.ts +0 -0
  387. /package/{esm/document → document}/decorators/mq-operation.decorator.js +0 -0
  388. /package/{types/document → document}/decorators/simple-type.decorator.d.ts +0 -0
  389. /package/{esm/document → document}/decorators/simple-type.decorator.js +0 -0
  390. /package/{types/document → document}/decorators/ws-controller.decorator.d.ts +0 -0
  391. /package/{esm/document → document}/decorators/ws-controller.decorator.js +0 -0
  392. /package/{types/document → document}/decorators/ws-operation.decorator.d.ts +0 -0
  393. /package/{esm/document → document}/decorators/ws-operation.decorator.js +0 -0
  394. /package/{types/document → document}/factory/api-document.factory.d.ts +0 -0
  395. /package/{types/document → document}/factory/data-type.factory.d.ts +0 -0
  396. /package/{esm/document → document}/factory/data-type.factory.js +0 -0
  397. /package/{types/document → document}/factory/http-api.factory.d.ts +0 -0
  398. /package/{esm/document → document}/factory/http-api.factory.js +0 -0
  399. /package/{types/document → document}/factory/mq-api.factory.d.ts +0 -0
  400. /package/{esm/document → document}/factory/mq-api.factory.js +0 -0
  401. /package/{types/document → document}/factory/ws-api.factory.d.ts +0 -0
  402. /package/{types/document → document}/http/http-api.d.ts +0 -0
  403. /package/{types/document → document}/http/http-controller.d.ts +0 -0
  404. /package/{esm/document → document}/http/http-controller.js +0 -0
  405. /package/{types/document → document}/http/http-media-type.d.ts +0 -0
  406. /package/{esm/document → document}/http/http-media-type.js +0 -0
  407. /package/{types/document → document}/http/http-multipart-field.d.ts +0 -0
  408. /package/{types/document → document}/http/http-operation-response.d.ts +0 -0
  409. /package/{types/document → document}/http/http-operation.d.ts +0 -0
  410. /package/{esm/document → document}/http/http-operation.js +0 -0
  411. /package/{types/document → document}/http/http-parameter.d.ts +0 -0
  412. /package/{esm/document → document}/http/http-parameter.js +0 -0
  413. /package/{types/document → document}/http/http-request-body.d.ts +0 -0
  414. /package/{types/document → document}/http/http-status-range.d.ts +0 -0
  415. /package/{types/document → document}/index.d.ts +0 -0
  416. /package/{esm/document → document}/index.js +0 -0
  417. /package/{types/document → document}/mq/mq-api.d.ts +0 -0
  418. /package/{types/document → document}/mq/mq-controller.d.ts +0 -0
  419. /package/{esm/document → document}/mq/mq-controller.js +0 -0
  420. /package/{types/document → document}/mq/mq-header.d.ts +0 -0
  421. /package/{esm/document → document}/mq/mq-header.js +0 -0
  422. /package/{types/document → document}/mq/mq-operation-response.d.ts +0 -0
  423. /package/{types/document → document}/mq/mq-operation.d.ts +0 -0
  424. /package/{esm/document → document}/mq/mq-operation.js +0 -0
  425. /package/{types/document → document}/utils/inspect.util.d.ts +0 -0
  426. /package/{esm/document → document}/utils/inspect.util.js +0 -0
  427. /package/{types/document → document}/utils/parse-regexp.util.d.ts +0 -0
  428. /package/{esm/document → document}/utils/parse-regexp.util.js +0 -0
  429. /package/{types/document → document}/utils/string-compare.util.d.ts +0 -0
  430. /package/{esm/document → document}/utils/string-compare.util.js +0 -0
  431. /package/{types/document → document}/utils/test-scope-match.d.ts +0 -0
  432. /package/{esm/document → document}/utils/test-scope-match.js +0 -0
  433. /package/{types/document → document}/ws/ws-api.d.ts +0 -0
  434. /package/{types/document → document}/ws/ws-controller.d.ts +0 -0
  435. /package/{esm/document → document}/ws/ws-controller.js +0 -0
  436. /package/{types/enums → enums}/http-headers-codes.enum.d.ts +0 -0
  437. /package/{esm/enums → enums}/http-headers-codes.enum.js +0 -0
  438. /package/{types/enums → enums}/http-status-codes.enum.d.ts +0 -0
  439. /package/{esm/enums → enums}/http-status-codes.enum.js +0 -0
  440. /package/{types/enums → enums}/http-status-messages.d.ts +0 -0
  441. /package/{esm/enums → enums}/http-status-messages.js +0 -0
  442. /package/{types/enums → enums}/index.d.ts +0 -0
  443. /package/{esm/enums → enums}/index.js +0 -0
  444. /package/{types/enums → enums}/mime-types.enum.d.ts +0 -0
  445. /package/{esm/enums → enums}/mime-types.enum.js +0 -0
  446. /package/{types/exception → exception}/error-issue.d.ts +0 -0
  447. /package/{esm/exception → exception}/error-issue.js +0 -0
  448. /package/{types/exception → exception}/http-errors/bad-request.error.d.ts +0 -0
  449. /package/{types/exception → exception}/http-errors/conflict.error.d.ts +0 -0
  450. /package/{types/exception → exception}/http-errors/failed-dependency.error.d.ts +0 -0
  451. /package/{types/exception → exception}/http-errors/forbidden.error.d.ts +0 -0
  452. /package/{types/exception → exception}/http-errors/internal-server.error.d.ts +0 -0
  453. /package/{types/exception → exception}/http-errors/method-not-allowed.error.d.ts +0 -0
  454. /package/{types/exception → exception}/http-errors/not-acceptable.error.d.ts +0 -0
  455. /package/{types/exception → exception}/http-errors/not-found.error.d.ts +0 -0
  456. /package/{types/exception → exception}/http-errors/permission.error.d.ts +0 -0
  457. /package/{esm/exception → exception}/http-errors/permission.error.js +0 -0
  458. /package/{types/exception → exception}/http-errors/resource-conflict.error.d.ts +0 -0
  459. /package/{types/exception → exception}/http-errors/resource-not.available.error.d.ts +0 -0
  460. /package/{esm/exception → exception}/http-errors/resource-not.available.error.js +0 -0
  461. /package/{types/exception → exception}/http-errors/unauthorized.error.d.ts +0 -0
  462. /package/{types/exception → exception}/http-errors/unprocessable-entity.error.d.ts +0 -0
  463. /package/{types/exception → exception}/index.d.ts +0 -0
  464. /package/{esm/exception → exception}/index.js +0 -0
  465. /package/{types/exception → exception}/issue-severity.enum.d.ts +0 -0
  466. /package/{esm/exception → exception}/issue-severity.enum.js +0 -0
  467. /package/{types/exception → exception}/opra-exception.d.ts +0 -0
  468. /package/{types/exception → exception}/opra-http-error.d.ts +0 -0
  469. /package/{types/filter → filter}/antlr/OpraFilterLexer.d.ts +0 -0
  470. /package/{types/filter → filter}/antlr/OpraFilterListener.d.ts +0 -0
  471. /package/{types/filter → filter}/antlr/OpraFilterParser.d.ts +0 -0
  472. /package/{types/filter → filter}/antlr/OpraFilterVisitor.d.ts +0 -0
  473. /package/{types/filter → filter}/ast/abstract/ast.d.ts +0 -0
  474. /package/{types/filter → filter}/ast/abstract/expression.d.ts +0 -0
  475. /package/{esm/filter → filter}/ast/abstract/expression.js +0 -0
  476. /package/{types/filter → filter}/ast/abstract/literal.d.ts +0 -0
  477. /package/{esm/filter → filter}/ast/abstract/literal.js +0 -0
  478. /package/{types/filter → filter}/ast/abstract/term.d.ts +0 -0
  479. /package/{esm/filter → filter}/ast/abstract/term.js +0 -0
  480. /package/{types/filter → filter}/ast/expressions/arithmetic-expression.d.ts +0 -0
  481. /package/{types/filter → filter}/ast/expressions/array-expression.d.ts +0 -0
  482. /package/{types/filter → filter}/ast/expressions/comparison-expression.d.ts +0 -0
  483. /package/{types/filter → filter}/ast/expressions/logical-expression.d.ts +0 -0
  484. /package/{types/filter → filter}/ast/expressions/negative-expression.d.ts +0 -0
  485. /package/{types/filter → filter}/ast/expressions/parenthesized-expression.d.ts +0 -0
  486. /package/{types/filter → filter}/ast/index.d.ts +0 -0
  487. /package/{esm/filter → filter}/ast/index.js +0 -0
  488. /package/{types/filter → filter}/ast/terms/boolean-literal.d.ts +0 -0
  489. /package/{esm/filter → filter}/ast/terms/boolean-literal.js +0 -0
  490. /package/{types/filter → filter}/ast/terms/date-literal.d.ts +0 -0
  491. /package/{types/filter → filter}/ast/terms/date-time-literal.d.ts +0 -0
  492. /package/{types/filter → filter}/ast/terms/external-constant.d.ts +0 -0
  493. /package/{esm/filter → filter}/ast/terms/external-constant.js +0 -0
  494. /package/{types/filter → filter}/ast/terms/null-literal.d.ts +0 -0
  495. /package/{types/filter → filter}/ast/terms/number-literal.d.ts +0 -0
  496. /package/{types/filter → filter}/ast/terms/qualified-identifier.d.ts +0 -0
  497. /package/{esm/filter → filter}/ast/terms/qualified-identifier.js +0 -0
  498. /package/{types/filter → filter}/ast/terms/string-literal.d.ts +0 -0
  499. /package/{esm/filter → filter}/ast/terms/string-literal.js +0 -0
  500. /package/{types/filter → filter}/ast/terms/time-literal.d.ts +0 -0
  501. /package/{types/filter → filter}/build.d.ts +0 -0
  502. /package/{esm/filter → filter}/build.js +0 -0
  503. /package/{types/filter → filter}/errors.d.ts +0 -0
  504. /package/{esm/filter → filter}/errors.js +0 -0
  505. /package/{types/filter → filter}/filter-rules.d.ts +0 -0
  506. /package/{types/filter → filter}/filter-tree-visitor.d.ts +0 -0
  507. /package/{types/filter → filter}/index.d.ts +0 -0
  508. /package/{esm/filter → filter}/index.js +0 -0
  509. /package/{types/filter → filter}/opra-error-listener.d.ts +0 -0
  510. /package/{types/filter → filter}/opra-filter.ns.d.ts +0 -0
  511. /package/{esm/filter → filter}/opra-filter.ns.js +0 -0
  512. /package/{types/filter → filter}/parse.d.ts +0 -0
  513. /package/{esm/filter → filter}/parse.js +0 -0
  514. /package/{types/filter → filter}/utils.d.ts +0 -0
  515. /package/{esm/filter → filter}/utils.js +0 -0
  516. /package/{types/helpers → helpers}/function-utils.d.ts +0 -0
  517. /package/{esm/helpers → helpers}/function-utils.js +0 -0
  518. /package/{types/helpers → helpers}/get-stack-filename.d.ts +0 -0
  519. /package/{esm/helpers → helpers}/get-stack-filename.js +0 -0
  520. /package/{types/helpers → helpers}/index.d.ts +0 -0
  521. /package/{esm/helpers → helpers}/index.js +0 -0
  522. /package/{types/helpers → helpers}/mixin-utils.d.ts +0 -0
  523. /package/{esm/helpers → helpers}/mixin-utils.js +0 -0
  524. /package/{types/helpers → helpers}/monkey-patches.d.ts +0 -0
  525. /package/{cjs/helpers → helpers}/monkey-patches.js +0 -0
  526. /package/{types/helpers → helpers}/object-utils.d.ts +0 -0
  527. /package/{esm/helpers → helpers}/object-utils.js +0 -0
  528. /package/{types/helpers → helpers}/parse-fields-projection.d.ts +0 -0
  529. /package/{types/helpers → helpers}/responsive-map.d.ts +0 -0
  530. /package/{esm/helpers → helpers}/responsive-map.js +0 -0
  531. /package/{types/helpers → helpers}/safe-json-stringify.d.ts +0 -0
  532. /package/{esm/helpers → helpers}/safe-json-stringify.js +0 -0
  533. /package/{types/helpers → helpers}/type-guards.d.ts +0 -0
  534. /package/{esm/helpers → helpers}/type-guards.js +0 -0
  535. /package/{types/i18n → i18n}/i18n.d.ts +0 -0
  536. /package/{esm/i18n → i18n}/i18n.js +0 -0
  537. /package/{types/i18n → i18n}/index.d.ts +0 -0
  538. /package/{esm/i18n → i18n}/index.js +0 -0
  539. /package/{types/i18n → i18n}/string-utils.d.ts +0 -0
  540. /package/{esm/i18n → i18n}/string-utils.js +0 -0
  541. /package/{types/i18n → i18n}/translate.d.ts +0 -0
  542. /package/{esm/i18n → i18n}/translate.js +0 -0
  543. /package/{types/index.d.ts → index.d.ts} +0 -0
  544. /package/{esm/index.js → index.js} +0 -0
  545. /package/{types/polifils → polifils}/array-find-last.d.ts +0 -0
  546. /package/{esm/polifils → polifils}/array-find-last.js +0 -0
  547. /package/{types/schema → schema}/api-document.interface.d.ts +0 -0
  548. /package/{esm/schema → schema}/api-document.interface.js +0 -0
  549. /package/{types/schema → schema}/api.interface.d.ts +0 -0
  550. /package/{esm/schema → schema}/api.interface.js +0 -0
  551. /package/{types/schema → schema}/constants.d.ts +0 -0
  552. /package/{esm/schema → schema}/constants.js +0 -0
  553. /package/{types/schema → schema}/data-type/array-type.interface.d.ts +0 -0
  554. /package/{esm/schema → schema}/data-type/array-type.interface.js +0 -0
  555. /package/{types/schema → schema}/data-type/complex-type.interface.d.ts +0 -0
  556. /package/{esm/schema → schema}/data-type/complex-type.interface.js +0 -0
  557. /package/{types/schema → schema}/data-type/data-type.interface.d.ts +0 -0
  558. /package/{esm/schema → schema}/data-type/data-type.interface.js +0 -0
  559. /package/{types/schema → schema}/data-type/enum-type.interface.d.ts +0 -0
  560. /package/{esm/schema → schema}/data-type/enum-type.interface.js +0 -0
  561. /package/{types/schema → schema}/data-type/field.interface.d.ts +0 -0
  562. /package/{esm/schema → schema}/data-type/field.interface.js +0 -0
  563. /package/{types/schema → schema}/data-type/mapped-type.interface.d.ts +0 -0
  564. /package/{esm/schema → schema}/data-type/mapped-type.interface.js +0 -0
  565. /package/{types/schema → schema}/data-type/mixin-type.interface.d.ts +0 -0
  566. /package/{esm/schema → schema}/data-type/mixin-type.interface.js +0 -0
  567. /package/{types/schema → schema}/data-type/simple-type.interface.d.ts +0 -0
  568. /package/{esm/schema → schema}/data-type/simple-type.interface.js +0 -0
  569. /package/{types/schema → schema}/data-type/union-type.interface.d.ts +0 -0
  570. /package/{esm/schema → schema}/data-type/union-type.interface.js +0 -0
  571. /package/{types/schema → schema}/data-type-container.interface.d.ts +0 -0
  572. /package/{esm/schema → schema}/data-type-container.interface.js +0 -0
  573. /package/{types/schema → schema}/http/http-api.interface.d.ts +0 -0
  574. /package/{esm/schema → schema}/http/http-api.interface.js +0 -0
  575. /package/{types/schema → schema}/http/http-controller.interface.d.ts +0 -0
  576. /package/{esm/schema → schema}/http/http-controller.interface.js +0 -0
  577. /package/{types/schema → schema}/http/http-media-type.interface.d.ts +0 -0
  578. /package/{esm/schema → schema}/http/http-media-type.interface.js +0 -0
  579. /package/{types/schema → schema}/http/http-multipart-field.interface.d.ts +0 -0
  580. /package/{esm/schema → schema}/http/http-multipart-field.interface.js +0 -0
  581. /package/{types/schema → schema}/http/http-operation-response.interface.d.ts +0 -0
  582. /package/{esm/schema → schema}/http/http-operation-response.interface.js +0 -0
  583. /package/{types/schema → schema}/http/http-operation.interface.d.ts +0 -0
  584. /package/{esm/schema → schema}/http/http-operation.interface.js +0 -0
  585. /package/{types/schema → schema}/http/http-parameter.interface.d.ts +0 -0
  586. /package/{esm/schema → schema}/http/http-parameter.interface.js +0 -0
  587. /package/{types/schema → schema}/http/http-request-body.interface.d.ts +0 -0
  588. /package/{esm/schema → schema}/http/http-request-body.interface.js +0 -0
  589. /package/{types/schema → schema}/http/http-status-range.interface.d.ts +0 -0
  590. /package/{esm/schema → schema}/http/http-status-range.interface.js +0 -0
  591. /package/{types/schema → schema}/index.d.ts +0 -0
  592. /package/{esm/schema → schema}/index.js +0 -0
  593. /package/{types/schema → schema}/mq/mq-api.interface.d.ts +0 -0
  594. /package/{esm/schema → schema}/mq/mq-api.interface.js +0 -0
  595. /package/{types/schema → schema}/mq/mq-controller.interface.d.ts +0 -0
  596. /package/{esm/schema → schema}/mq/mq-controller.interface.js +0 -0
  597. /package/{types/schema → schema}/mq/mq-header.interface.d.ts +0 -0
  598. /package/{esm/schema → schema}/mq/mq-header.interface.js +0 -0
  599. /package/{types/schema → schema}/mq/mq-operation.interface.d.ts +0 -0
  600. /package/{esm/schema → schema}/mq/mq-operation.interface.js +0 -0
  601. /package/{types/schema → schema}/opra-schema.d.ts +0 -0
  602. /package/{esm/schema → schema}/opra-schema.js +0 -0
  603. /package/{types/schema → schema}/type-guards.d.ts +0 -0
  604. /package/{esm/schema → schema}/type-guards.js +0 -0
  605. /package/{types/schema → schema}/types.d.ts +0 -0
  606. /package/{esm/schema → schema}/types.js +0 -0
  607. /package/{types/schema → schema}/value.interface.d.ts +0 -0
  608. /package/{esm/schema → schema}/value.interface.js +0 -0
  609. /package/{esm/schema → schema}/ws/ws-api.interface.js +0 -0
  610. /package/{types/schema → schema}/ws/ws-controller.interface.d.ts +0 -0
  611. /package/{esm/schema → schema}/ws/ws-controller.interface.js +0 -0
  612. /package/{types/schema → schema}/ws/ws-operation.interface.d.ts +0 -0
  613. /package/{esm/schema → schema}/ws/ws-operation.interface.js +0 -0
  614. /package/{types/types.d.ts → types.d.ts} +0 -0
  615. /package/{esm/types.js → types.js} +0 -0
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isDataType = isDataType;
4
- exports.isComplexType = isComplexType;
5
- exports.isSimpleType = isSimpleType;
6
- exports.isMixinType = isMixinType;
7
- exports.isMappedType = isMappedType;
8
- exports.isEnumType = isEnumType;
9
- exports.isUnionType = isUnionType;
10
- exports.isArrayType = isArrayType;
11
- exports.isHttpController = isHttpController;
12
- const array_type_interface_js_1 = require("./data-type/array-type.interface.js");
13
- const complex_type_interface_js_1 = require("./data-type/complex-type.interface.js");
14
- const enum_type_interface_js_1 = require("./data-type/enum-type.interface.js");
15
- const mapped_type_interface_js_1 = require("./data-type/mapped-type.interface.js");
16
- const mixin_type_interface_js_1 = require("./data-type/mixin-type.interface.js");
17
- const simple_type_interface_js_1 = require("./data-type/simple-type.interface.js");
18
- const union_type_interface_js_1 = require("./data-type/union-type.interface.js");
19
- const http_controller_interface_js_1 = require("./http/http-controller.interface.js");
20
- function isDataType(obj) {
21
- return (obj &&
22
- typeof obj === 'object' &&
23
- (obj.kind === array_type_interface_js_1.ArrayType.Kind ||
24
- obj.kind === complex_type_interface_js_1.ComplexType.Kind ||
25
- obj.kind === enum_type_interface_js_1.EnumType.Kind ||
26
- obj.kind === mapped_type_interface_js_1.MappedType.Kind ||
27
- obj.kind === simple_type_interface_js_1.SimpleType.Kind ||
28
- obj.kind === mixin_type_interface_js_1.MixinType.Kind ||
29
- obj.kind === union_type_interface_js_1.UnionType.Kind));
30
- }
31
- function isComplexType(obj) {
32
- return obj && typeof obj === 'object' && obj.kind === complex_type_interface_js_1.ComplexType.Kind;
33
- }
34
- function isSimpleType(obj) {
35
- return obj && typeof obj === 'object' && obj.kind === simple_type_interface_js_1.SimpleType.Kind;
36
- }
37
- function isMixinType(obj) {
38
- return obj && typeof obj === 'object' && obj.kind === mixin_type_interface_js_1.MixinType.Kind;
39
- }
40
- function isMappedType(obj) {
41
- return obj && typeof obj === 'object' && obj.kind === mapped_type_interface_js_1.MappedType.Kind;
42
- }
43
- function isEnumType(obj) {
44
- return obj && typeof obj === 'object' && obj.kind === enum_type_interface_js_1.EnumType.Kind;
45
- }
46
- function isUnionType(obj) {
47
- return obj && typeof obj === 'object' && obj.kind === union_type_interface_js_1.UnionType.Kind;
48
- }
49
- function isArrayType(obj) {
50
- return obj && typeof obj === 'object' && obj.kind === array_type_interface_js_1.ArrayType.Kind;
51
- }
52
- function isHttpController(obj) {
53
- return obj && typeof obj === 'object' && obj.kind === http_controller_interface_js_1.HttpController.Kind;
54
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WSController = void 0;
4
- /**
5
- *
6
- * @namespace WSController
7
- */
8
- var WSController;
9
- (function (WSController) {
10
- WSController.Kind = 'WSController';
11
- })(WSController || (exports.WSController = WSController = {}));
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WSOperation = void 0;
4
- var WSOperation;
5
- (function (WSOperation) {
6
- WSOperation.Kind = 'WSOperation';
7
- })(WSOperation || (exports.WSOperation = WSOperation = {}));
package/cjs/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,425 +0,0 @@
1
- // Generated from ./src/filter/antlr/OpraFilter.g4 by ANTLR 4.13.2
2
- // noinspection ES6UnusedImports,JSUnusedGlobalSymbols,JSUnusedLocalSymbols
3
- import { ATNDeserializer, DFA, Lexer, LexerATNSimulator, PredictionContextCache, Token, } from '@browsery/antlr4';
4
- class OpraFilterLexer extends Lexer {
5
- constructor(input) {
6
- super(input);
7
- this._interp = new LexerATNSimulator(this, OpraFilterLexer._ATN, OpraFilterLexer.DecisionsToDFA, new PredictionContextCache());
8
- }
9
- get grammarFileName() {
10
- return 'OpraFilter.g4';
11
- }
12
- get literalNames() {
13
- return OpraFilterLexer.literalNames;
14
- }
15
- get symbolicNames() {
16
- return OpraFilterLexer.symbolicNames;
17
- }
18
- get ruleNames() {
19
- return OpraFilterLexer.ruleNames;
20
- }
21
- get serializedATN() {
22
- return OpraFilterLexer._serializedATN;
23
- }
24
- get channelNames() {
25
- return OpraFilterLexer.channelNames;
26
- }
27
- get modeNames() {
28
- return OpraFilterLexer.modeNames;
29
- }
30
- static get _ATN() {
31
- if (!OpraFilterLexer.__ATN) {
32
- OpraFilterLexer.__ATN = new ATNDeserializer().deserialize(OpraFilterLexer._serializedATN);
33
- }
34
- return OpraFilterLexer.__ATN;
35
- }
36
- }
37
- OpraFilterLexer.T__0 = 1;
38
- OpraFilterLexer.T__1 = 2;
39
- OpraFilterLexer.T__2 = 3;
40
- OpraFilterLexer.T__3 = 4;
41
- OpraFilterLexer.T__4 = 5;
42
- OpraFilterLexer.T__5 = 6;
43
- OpraFilterLexer.T__6 = 7;
44
- OpraFilterLexer.T__7 = 8;
45
- OpraFilterLexer.T__8 = 9;
46
- OpraFilterLexer.T__9 = 10;
47
- OpraFilterLexer.T__10 = 11;
48
- OpraFilterLexer.T__11 = 12;
49
- OpraFilterLexer.T__12 = 13;
50
- OpraFilterLexer.T__13 = 14;
51
- OpraFilterLexer.T__14 = 15;
52
- OpraFilterLexer.T__15 = 16;
53
- OpraFilterLexer.T__16 = 17;
54
- OpraFilterLexer.T__17 = 18;
55
- OpraFilterLexer.T__18 = 19;
56
- OpraFilterLexer.T__19 = 20;
57
- OpraFilterLexer.T__20 = 21;
58
- OpraFilterLexer.T__21 = 22;
59
- OpraFilterLexer.T__22 = 23;
60
- OpraFilterLexer.T__23 = 24;
61
- OpraFilterLexer.T__24 = 25;
62
- OpraFilterLexer.T__25 = 26;
63
- OpraFilterLexer.T__26 = 27;
64
- OpraFilterLexer.T__27 = 28;
65
- OpraFilterLexer.T__28 = 29;
66
- OpraFilterLexer.T__29 = 30;
67
- OpraFilterLexer.T__30 = 31;
68
- OpraFilterLexer.T__31 = 32;
69
- OpraFilterLexer.T__32 = 33;
70
- OpraFilterLexer.T__33 = 34;
71
- OpraFilterLexer.IDENTIFIER = 35;
72
- OpraFilterLexer.POLAR_OP = 36;
73
- OpraFilterLexer.DATE = 37;
74
- OpraFilterLexer.DATETIME = 38;
75
- OpraFilterLexer.TIME = 39;
76
- OpraFilterLexer.NUMBER = 40;
77
- OpraFilterLexer.INTEGER = 41;
78
- OpraFilterLexer.STRING = 42;
79
- OpraFilterLexer.WHITESPACE = 43;
80
- OpraFilterLexer.EOF = Token.EOF;
81
- OpraFilterLexer.channelNames = [
82
- 'DEFAULT_TOKEN_CHANNEL',
83
- 'HIDDEN',
84
- ];
85
- OpraFilterLexer.literalNames = [
86
- null,
87
- "'('",
88
- "')'",
89
- "'not'",
90
- "'!'",
91
- "'.'",
92
- "'@'",
93
- "'['",
94
- "','",
95
- "']'",
96
- "'true'",
97
- "'false'",
98
- "'null'",
99
- "'Infinity'",
100
- "'infinity'",
101
- "'+'",
102
- "'-'",
103
- "'*'",
104
- "'/'",
105
- "'<='",
106
- "'<'",
107
- "'>'",
108
- "'>='",
109
- "'='",
110
- "'!='",
111
- "'in'",
112
- "'!in'",
113
- "'like'",
114
- "'!like'",
115
- "'ilike'",
116
- "'!ilike'",
117
- "'and'",
118
- "'or'",
119
- "'&&'",
120
- "'||'",
121
- ];
122
- OpraFilterLexer.symbolicNames = [
123
- null,
124
- null,
125
- null,
126
- null,
127
- null,
128
- null,
129
- null,
130
- null,
131
- null,
132
- null,
133
- null,
134
- null,
135
- null,
136
- null,
137
- null,
138
- null,
139
- null,
140
- null,
141
- null,
142
- null,
143
- null,
144
- null,
145
- null,
146
- null,
147
- null,
148
- null,
149
- null,
150
- null,
151
- null,
152
- null,
153
- null,
154
- null,
155
- null,
156
- null,
157
- null,
158
- 'IDENTIFIER',
159
- 'POLAR_OP',
160
- 'DATE',
161
- 'DATETIME',
162
- 'TIME',
163
- 'NUMBER',
164
- 'INTEGER',
165
- 'STRING',
166
- 'WHITESPACE',
167
- ];
168
- OpraFilterLexer.modeNames = ['DEFAULT_MODE'];
169
- OpraFilterLexer.ruleNames = [
170
- 'T__0',
171
- 'T__1',
172
- 'T__2',
173
- 'T__3',
174
- 'T__4',
175
- 'T__5',
176
- 'T__6',
177
- 'T__7',
178
- 'T__8',
179
- 'T__9',
180
- 'T__10',
181
- 'T__11',
182
- 'T__12',
183
- 'T__13',
184
- 'T__14',
185
- 'T__15',
186
- 'T__16',
187
- 'T__17',
188
- 'T__18',
189
- 'T__19',
190
- 'T__20',
191
- 'T__21',
192
- 'T__22',
193
- 'T__23',
194
- 'T__24',
195
- 'T__25',
196
- 'T__26',
197
- 'T__27',
198
- 'T__28',
199
- 'T__29',
200
- 'T__30',
201
- 'T__31',
202
- 'T__32',
203
- 'T__33',
204
- 'IDENTIFIER',
205
- 'POLAR_OP',
206
- 'DATE',
207
- 'DATETIME',
208
- 'TIME',
209
- 'NUMBER',
210
- 'INTEGER',
211
- 'STRING',
212
- 'WHITESPACE',
213
- 'DIGIT',
214
- 'DATEFORMAT',
215
- 'TIMEFORMAT',
216
- 'TIMEZONEOFFSETFORMAT',
217
- 'ESC',
218
- 'UNICODE',
219
- 'HEX',
220
- ];
221
- OpraFilterLexer._serializedATN = [
222
- 4, 0, 43, 461, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4,
223
- 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7,
224
- 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2,
225
- 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7,
226
- 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2,
227
- 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7,
228
- 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2,
229
- 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7,
230
- 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2,
231
- 49, 7, 49, 1, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4,
232
- 1, 4, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1,
233
- 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1,
234
- 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1,
235
- 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1,
236
- 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1,
237
- 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 24, 1,
238
- 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1,
239
- 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1,
240
- 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1,
241
- 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 34, 1,
242
- 34, 5, 34, 225, 8, 34, 10, 34, 12, 34, 228, 9, 34, 1, 35, 1, 35, 1, 36, 1,
243
- 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 1, 36, 3, 36, 240, 8, 36, 1, 37, 1,
244
- 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1,
245
- 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1,
246
- 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1,
247
- 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1,
248
- 37, 1, 37, 1, 37, 1, 37, 3, 37, 291, 8, 37, 1, 38, 1, 38, 1, 38, 1, 38, 1,
249
- 38, 1, 38, 1, 38, 1, 38, 3, 38, 301, 8, 38, 1, 39, 3, 39, 304, 8, 39, 1, 39,
250
- 4, 39, 307, 8, 39, 11, 39, 12, 39, 308, 1, 39, 1, 39, 5, 39, 313, 8, 39, 10,
251
- 39, 12, 39, 316, 9, 39, 3, 39, 318, 8, 39, 1, 39, 1, 39, 3, 39, 322, 8, 39,
252
- 1, 39, 4, 39, 325, 8, 39, 11, 39, 12, 39, 326, 3, 39, 329, 8, 39, 1, 39, 1,
253
- 39, 1, 39, 1, 39, 4, 39, 335, 8, 39, 11, 39, 12, 39, 336, 3, 39, 339, 8, 39,
254
- 1, 40, 3, 40, 342, 8, 40, 1, 40, 4, 40, 345, 8, 40, 11, 40, 12, 40, 346, 1,
255
- 40, 1, 40, 1, 40, 1, 40, 4, 40, 353, 8, 40, 11, 40, 12, 40, 354, 3, 40, 357,
256
- 8, 40, 1, 41, 1, 41, 1, 41, 5, 41, 362, 8, 41, 10, 41, 12, 41, 365, 9, 41,
257
- 1, 41, 1, 41, 1, 41, 1, 41, 5, 41, 371, 8, 41, 10, 41, 12, 41, 374, 9, 41,
258
- 1, 41, 3, 41, 377, 8, 41, 1, 42, 4, 42, 380, 8, 42, 11, 42, 12, 42, 381, 1,
259
- 42, 1, 42, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1,
260
- 44, 1, 44, 3, 44, 397, 8, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1,
261
- 44, 3, 44, 406, 8, 44, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 412, 8, 45, 1, 45,
262
- 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 4, 45, 424,
263
- 8, 45, 11, 45, 12, 45, 425, 3, 45, 428, 8, 45, 3, 45, 430, 8, 45, 1, 46, 1,
264
- 46, 1, 46, 3, 46, 435, 8, 46, 1, 46, 1, 46, 1, 46, 3, 46, 440, 8, 46, 1, 46,
265
- 1, 46, 1, 46, 3, 46, 445, 8, 46, 3, 46, 447, 8, 46, 1, 47, 1, 47, 1, 47, 3,
266
- 47, 452, 8, 47, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 0,
267
- 0, 50, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21,
268
- 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20,
269
- 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59,
270
- 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 36, 73, 37, 75, 38, 77, 39,
271
- 79, 40, 81, 41, 83, 42, 85, 43, 87, 0, 89, 0, 91, 0, 93, 0, 95, 0, 97, 0,
272
- 99, 0, 1, 0, 16, 4, 0, 36, 36, 65, 90, 95, 95, 97, 122, 5, 0, 36, 36, 48,
273
- 57, 65, 90, 95, 95, 97, 122, 2, 0, 43, 43, 45, 45, 1, 0, 39, 39, 1, 0, 34,
274
- 34, 3, 0, 9, 10, 13, 13, 32, 32, 1, 0, 48, 57, 1, 0, 48, 48, 1, 0, 49, 57,
275
- 1, 0, 49, 49, 1, 0, 48, 50, 1, 0, 49, 51, 1, 0, 48, 49, 1, 0, 48, 51, 1, 0,
276
- 48, 53, 3, 0, 48, 57, 65, 70, 97, 102, 491, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0,
277
- 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0,
278
- 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0,
279
- 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0,
280
- 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0,
281
- 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0,
282
- 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0,
283
- 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0,
284
- 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0,
285
- 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0,
286
- 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0,
287
- 0, 85, 1, 0, 0, 0, 1, 101, 1, 0, 0, 0, 3, 103, 1, 0, 0, 0, 5, 105, 1, 0, 0,
288
- 0, 7, 109, 1, 0, 0, 0, 9, 111, 1, 0, 0, 0, 11, 113, 1, 0, 0, 0, 13, 115, 1,
289
- 0, 0, 0, 15, 117, 1, 0, 0, 0, 17, 119, 1, 0, 0, 0, 19, 121, 1, 0, 0, 0, 21,
290
- 126, 1, 0, 0, 0, 23, 132, 1, 0, 0, 0, 25, 137, 1, 0, 0, 0, 27, 146, 1, 0, 0,
291
- 0, 29, 155, 1, 0, 0, 0, 31, 157, 1, 0, 0, 0, 33, 159, 1, 0, 0, 0, 35, 161,
292
- 1, 0, 0, 0, 37, 163, 1, 0, 0, 0, 39, 166, 1, 0, 0, 0, 41, 168, 1, 0, 0, 0,
293
- 43, 170, 1, 0, 0, 0, 45, 173, 1, 0, 0, 0, 47, 175, 1, 0, 0, 0, 49, 178, 1,
294
- 0, 0, 0, 51, 181, 1, 0, 0, 0, 53, 185, 1, 0, 0, 0, 55, 190, 1, 0, 0, 0, 57,
295
- 196, 1, 0, 0, 0, 59, 202, 1, 0, 0, 0, 61, 209, 1, 0, 0, 0, 63, 213, 1, 0, 0,
296
- 0, 65, 216, 1, 0, 0, 0, 67, 219, 1, 0, 0, 0, 69, 222, 1, 0, 0, 0, 71, 229,
297
- 1, 0, 0, 0, 73, 239, 1, 0, 0, 0, 75, 290, 1, 0, 0, 0, 77, 300, 1, 0, 0, 0,
298
- 79, 338, 1, 0, 0, 0, 81, 356, 1, 0, 0, 0, 83, 376, 1, 0, 0, 0, 85, 379, 1,
299
- 0, 0, 0, 87, 385, 1, 0, 0, 0, 89, 387, 1, 0, 0, 0, 91, 411, 1, 0, 0, 0, 93,
300
- 446, 1, 0, 0, 0, 95, 448, 1, 0, 0, 0, 97, 453, 1, 0, 0, 0, 99, 459, 1, 0, 0,
301
- 0, 101, 102, 5, 40, 0, 0, 102, 2, 1, 0, 0, 0, 103, 104, 5, 41, 0, 0, 104, 4,
302
- 1, 0, 0, 0, 105, 106, 5, 110, 0, 0, 106, 107, 5, 111, 0, 0, 107, 108, 5,
303
- 116, 0, 0, 108, 6, 1, 0, 0, 0, 109, 110, 5, 33, 0, 0, 110, 8, 1, 0, 0, 0,
304
- 111, 112, 5, 46, 0, 0, 112, 10, 1, 0, 0, 0, 113, 114, 5, 64, 0, 0, 114, 12,
305
- 1, 0, 0, 0, 115, 116, 5, 91, 0, 0, 116, 14, 1, 0, 0, 0, 117, 118, 5, 44, 0,
306
- 0, 118, 16, 1, 0, 0, 0, 119, 120, 5, 93, 0, 0, 120, 18, 1, 0, 0, 0, 121,
307
- 122, 5, 116, 0, 0, 122, 123, 5, 114, 0, 0, 123, 124, 5, 117, 0, 0, 124, 125,
308
- 5, 101, 0, 0, 125, 20, 1, 0, 0, 0, 126, 127, 5, 102, 0, 0, 127, 128, 5, 97,
309
- 0, 0, 128, 129, 5, 108, 0, 0, 129, 130, 5, 115, 0, 0, 130, 131, 5, 101, 0,
310
- 0, 131, 22, 1, 0, 0, 0, 132, 133, 5, 110, 0, 0, 133, 134, 5, 117, 0, 0, 134,
311
- 135, 5, 108, 0, 0, 135, 136, 5, 108, 0, 0, 136, 24, 1, 0, 0, 0, 137, 138, 5,
312
- 73, 0, 0, 138, 139, 5, 110, 0, 0, 139, 140, 5, 102, 0, 0, 140, 141, 5, 105,
313
- 0, 0, 141, 142, 5, 110, 0, 0, 142, 143, 5, 105, 0, 0, 143, 144, 5, 116, 0,
314
- 0, 144, 145, 5, 121, 0, 0, 145, 26, 1, 0, 0, 0, 146, 147, 5, 105, 0, 0, 147,
315
- 148, 5, 110, 0, 0, 148, 149, 5, 102, 0, 0, 149, 150, 5, 105, 0, 0, 150, 151,
316
- 5, 110, 0, 0, 151, 152, 5, 105, 0, 0, 152, 153, 5, 116, 0, 0, 153, 154, 5,
317
- 121, 0, 0, 154, 28, 1, 0, 0, 0, 155, 156, 5, 43, 0, 0, 156, 30, 1, 0, 0, 0,
318
- 157, 158, 5, 45, 0, 0, 158, 32, 1, 0, 0, 0, 159, 160, 5, 42, 0, 0, 160, 34,
319
- 1, 0, 0, 0, 161, 162, 5, 47, 0, 0, 162, 36, 1, 0, 0, 0, 163, 164, 5, 60, 0,
320
- 0, 164, 165, 5, 61, 0, 0, 165, 38, 1, 0, 0, 0, 166, 167, 5, 60, 0, 0, 167,
321
- 40, 1, 0, 0, 0, 168, 169, 5, 62, 0, 0, 169, 42, 1, 0, 0, 0, 170, 171, 5, 62,
322
- 0, 0, 171, 172, 5, 61, 0, 0, 172, 44, 1, 0, 0, 0, 173, 174, 5, 61, 0, 0,
323
- 174, 46, 1, 0, 0, 0, 175, 176, 5, 33, 0, 0, 176, 177, 5, 61, 0, 0, 177, 48,
324
- 1, 0, 0, 0, 178, 179, 5, 105, 0, 0, 179, 180, 5, 110, 0, 0, 180, 50, 1, 0,
325
- 0, 0, 181, 182, 5, 33, 0, 0, 182, 183, 5, 105, 0, 0, 183, 184, 5, 110, 0, 0,
326
- 184, 52, 1, 0, 0, 0, 185, 186, 5, 108, 0, 0, 186, 187, 5, 105, 0, 0, 187,
327
- 188, 5, 107, 0, 0, 188, 189, 5, 101, 0, 0, 189, 54, 1, 0, 0, 0, 190, 191, 5,
328
- 33, 0, 0, 191, 192, 5, 108, 0, 0, 192, 193, 5, 105, 0, 0, 193, 194, 5, 107,
329
- 0, 0, 194, 195, 5, 101, 0, 0, 195, 56, 1, 0, 0, 0, 196, 197, 5, 105, 0, 0,
330
- 197, 198, 5, 108, 0, 0, 198, 199, 5, 105, 0, 0, 199, 200, 5, 107, 0, 0, 200,
331
- 201, 5, 101, 0, 0, 201, 58, 1, 0, 0, 0, 202, 203, 5, 33, 0, 0, 203, 204, 5,
332
- 105, 0, 0, 204, 205, 5, 108, 0, 0, 205, 206, 5, 105, 0, 0, 206, 207, 5, 107,
333
- 0, 0, 207, 208, 5, 101, 0, 0, 208, 60, 1, 0, 0, 0, 209, 210, 5, 97, 0, 0,
334
- 210, 211, 5, 110, 0, 0, 211, 212, 5, 100, 0, 0, 212, 62, 1, 0, 0, 0, 213,
335
- 214, 5, 111, 0, 0, 214, 215, 5, 114, 0, 0, 215, 64, 1, 0, 0, 0, 216, 217, 5,
336
- 38, 0, 0, 217, 218, 5, 38, 0, 0, 218, 66, 1, 0, 0, 0, 219, 220, 5, 124, 0,
337
- 0, 220, 221, 5, 124, 0, 0, 221, 68, 1, 0, 0, 0, 222, 226, 7, 0, 0, 0, 223,
338
- 225, 7, 1, 0, 0, 224, 223, 1, 0, 0, 0, 225, 228, 1, 0, 0, 0, 226, 224, 1, 0,
339
- 0, 0, 226, 227, 1, 0, 0, 0, 227, 70, 1, 0, 0, 0, 228, 226, 1, 0, 0, 0, 229,
340
- 230, 7, 2, 0, 0, 230, 72, 1, 0, 0, 0, 231, 232, 5, 39, 0, 0, 232, 233, 3,
341
- 89, 44, 0, 233, 234, 5, 39, 0, 0, 234, 240, 1, 0, 0, 0, 235, 236, 5, 34, 0,
342
- 0, 236, 237, 3, 89, 44, 0, 237, 238, 5, 34, 0, 0, 238, 240, 1, 0, 0, 0, 239,
343
- 231, 1, 0, 0, 0, 239, 235, 1, 0, 0, 0, 240, 74, 1, 0, 0, 0, 241, 242, 5, 39,
344
- 0, 0, 242, 243, 3, 89, 44, 0, 243, 244, 5, 84, 0, 0, 244, 245, 3, 91, 45, 0,
345
- 245, 246, 3, 93, 46, 0, 246, 247, 5, 39, 0, 0, 247, 248, 5, 39, 0, 0, 248,
346
- 249, 3, 89, 44, 0, 249, 250, 5, 32, 0, 0, 250, 251, 3, 91, 45, 0, 251, 252,
347
- 3, 93, 46, 0, 252, 253, 5, 39, 0, 0, 253, 254, 5, 39, 0, 0, 254, 255, 3, 89,
348
- 44, 0, 255, 256, 5, 84, 0, 0, 256, 257, 3, 91, 45, 0, 257, 258, 5, 39, 0, 0,
349
- 258, 259, 5, 39, 0, 0, 259, 260, 3, 89, 44, 0, 260, 261, 5, 32, 0, 0, 261,
350
- 262, 3, 91, 45, 0, 262, 263, 5, 39, 0, 0, 263, 291, 1, 0, 0, 0, 264, 265, 5,
351
- 34, 0, 0, 265, 266, 3, 89, 44, 0, 266, 267, 5, 84, 0, 0, 267, 268, 3, 91,
352
- 45, 0, 268, 269, 3, 93, 46, 0, 269, 270, 5, 34, 0, 0, 270, 291, 1, 0, 0, 0,
353
- 271, 272, 5, 34, 0, 0, 272, 273, 3, 89, 44, 0, 273, 274, 5, 32, 0, 0, 274,
354
- 275, 3, 91, 45, 0, 275, 276, 3, 93, 46, 0, 276, 277, 5, 34, 0, 0, 277, 291,
355
- 1, 0, 0, 0, 278, 279, 5, 34, 0, 0, 279, 280, 3, 89, 44, 0, 280, 281, 5, 84,
356
- 0, 0, 281, 282, 3, 91, 45, 0, 282, 283, 5, 34, 0, 0, 283, 291, 1, 0, 0, 0,
357
- 284, 285, 5, 34, 0, 0, 285, 286, 3, 89, 44, 0, 286, 287, 5, 32, 0, 0, 287,
358
- 288, 3, 91, 45, 0, 288, 289, 5, 34, 0, 0, 289, 291, 1, 0, 0, 0, 290, 241, 1,
359
- 0, 0, 0, 290, 264, 1, 0, 0, 0, 290, 271, 1, 0, 0, 0, 290, 278, 1, 0, 0, 0,
360
- 290, 284, 1, 0, 0, 0, 291, 76, 1, 0, 0, 0, 292, 293, 5, 39, 0, 0, 293, 294,
361
- 3, 91, 45, 0, 294, 295, 5, 39, 0, 0, 295, 301, 1, 0, 0, 0, 296, 297, 5, 34,
362
- 0, 0, 297, 298, 3, 91, 45, 0, 298, 299, 5, 34, 0, 0, 299, 301, 1, 0, 0, 0,
363
- 300, 292, 1, 0, 0, 0, 300, 296, 1, 0, 0, 0, 301, 78, 1, 0, 0, 0, 302, 304,
364
- 3, 71, 35, 0, 303, 302, 1, 0, 0, 0, 303, 304, 1, 0, 0, 0, 304, 306, 1, 0, 0,
365
- 0, 305, 307, 3, 87, 43, 0, 306, 305, 1, 0, 0, 0, 307, 308, 1, 0, 0, 0, 308,
366
- 306, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 317, 1, 0, 0, 0, 310, 314, 5,
367
- 46, 0, 0, 311, 313, 3, 87, 43, 0, 312, 311, 1, 0, 0, 0, 313, 316, 1, 0, 0,
368
- 0, 314, 312, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 318, 1, 0, 0, 0, 316,
369
- 314, 1, 0, 0, 0, 317, 310, 1, 0, 0, 0, 317, 318, 1, 0, 0, 0, 318, 328, 1, 0,
370
- 0, 0, 319, 321, 5, 69, 0, 0, 320, 322, 7, 2, 0, 0, 321, 320, 1, 0, 0, 0,
371
- 321, 322, 1, 0, 0, 0, 322, 324, 1, 0, 0, 0, 323, 325, 3, 87, 43, 0, 324,
372
- 323, 1, 0, 0, 0, 325, 326, 1, 0, 0, 0, 326, 324, 1, 0, 0, 0, 326, 327, 1, 0,
373
- 0, 0, 327, 329, 1, 0, 0, 0, 328, 319, 1, 0, 0, 0, 328, 329, 1, 0, 0, 0, 329,
374
- 339, 1, 0, 0, 0, 330, 331, 5, 48, 0, 0, 331, 332, 5, 120, 0, 0, 332, 334, 1,
375
- 0, 0, 0, 333, 335, 3, 99, 49, 0, 334, 333, 1, 0, 0, 0, 335, 336, 1, 0, 0, 0,
376
- 336, 334, 1, 0, 0, 0, 336, 337, 1, 0, 0, 0, 337, 339, 1, 0, 0, 0, 338, 303,
377
- 1, 0, 0, 0, 338, 330, 1, 0, 0, 0, 339, 80, 1, 0, 0, 0, 340, 342, 3, 71, 35,
378
- 0, 341, 340, 1, 0, 0, 0, 341, 342, 1, 0, 0, 0, 342, 344, 1, 0, 0, 0, 343,
379
- 345, 3, 87, 43, 0, 344, 343, 1, 0, 0, 0, 345, 346, 1, 0, 0, 0, 346, 344, 1,
380
- 0, 0, 0, 346, 347, 1, 0, 0, 0, 347, 357, 1, 0, 0, 0, 348, 349, 5, 48, 0, 0,
381
- 349, 350, 5, 120, 0, 0, 350, 352, 1, 0, 0, 0, 351, 353, 3, 99, 49, 0, 352,
382
- 351, 1, 0, 0, 0, 353, 354, 1, 0, 0, 0, 354, 352, 1, 0, 0, 0, 354, 355, 1, 0,
383
- 0, 0, 355, 357, 1, 0, 0, 0, 356, 341, 1, 0, 0, 0, 356, 348, 1, 0, 0, 0, 357,
384
- 82, 1, 0, 0, 0, 358, 363, 5, 39, 0, 0, 359, 362, 3, 95, 47, 0, 360, 362, 8,
385
- 3, 0, 0, 361, 359, 1, 0, 0, 0, 361, 360, 1, 0, 0, 0, 362, 365, 1, 0, 0, 0,
386
- 363, 361, 1, 0, 0, 0, 363, 364, 1, 0, 0, 0, 364, 366, 1, 0, 0, 0, 365, 363,
387
- 1, 0, 0, 0, 366, 377, 5, 39, 0, 0, 367, 372, 5, 34, 0, 0, 368, 371, 3, 95,
388
- 47, 0, 369, 371, 8, 4, 0, 0, 370, 368, 1, 0, 0, 0, 370, 369, 1, 0, 0, 0,
389
- 371, 374, 1, 0, 0, 0, 372, 370, 1, 0, 0, 0, 372, 373, 1, 0, 0, 0, 373, 375,
390
- 1, 0, 0, 0, 374, 372, 1, 0, 0, 0, 375, 377, 5, 34, 0, 0, 376, 358, 1, 0, 0,
391
- 0, 376, 367, 1, 0, 0, 0, 377, 84, 1, 0, 0, 0, 378, 380, 7, 5, 0, 0, 379,
392
- 378, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 379, 1, 0, 0, 0, 381, 382, 1, 0,
393
- 0, 0, 382, 383, 1, 0, 0, 0, 383, 384, 6, 42, 0, 0, 384, 86, 1, 0, 0, 0, 385,
394
- 386, 7, 6, 0, 0, 386, 88, 1, 0, 0, 0, 387, 388, 7, 6, 0, 0, 388, 389, 7, 6,
395
- 0, 0, 389, 390, 7, 6, 0, 0, 390, 391, 7, 6, 0, 0, 391, 396, 5, 45, 0, 0,
396
- 392, 393, 7, 7, 0, 0, 393, 397, 7, 8, 0, 0, 394, 395, 7, 9, 0, 0, 395, 397,
397
- 7, 10, 0, 0, 396, 392, 1, 0, 0, 0, 396, 394, 1, 0, 0, 0, 397, 398, 1, 0, 0,
398
- 0, 398, 405, 5, 45, 0, 0, 399, 400, 7, 11, 0, 0, 400, 406, 7, 7, 0, 0, 401,
399
- 402, 7, 10, 0, 0, 402, 406, 7, 8, 0, 0, 403, 404, 5, 51, 0, 0, 404, 406, 5,
400
- 49, 0, 0, 405, 399, 1, 0, 0, 0, 405, 401, 1, 0, 0, 0, 405, 403, 1, 0, 0, 0,
401
- 406, 90, 1, 0, 0, 0, 407, 408, 7, 12, 0, 0, 408, 412, 7, 6, 0, 0, 409, 410,
402
- 5, 50, 0, 0, 410, 412, 7, 13, 0, 0, 411, 407, 1, 0, 0, 0, 411, 409, 1, 0, 0,
403
- 0, 412, 413, 1, 0, 0, 0, 413, 414, 5, 58, 0, 0, 414, 415, 7, 14, 0, 0, 415,
404
- 416, 7, 6, 0, 0, 416, 429, 1, 0, 0, 0, 417, 418, 5, 58, 0, 0, 418, 419, 7,
405
- 14, 0, 0, 419, 420, 7, 6, 0, 0, 420, 427, 1, 0, 0, 0, 421, 423, 5, 46, 0, 0,
406
- 422, 424, 7, 6, 0, 0, 423, 422, 1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 423,
407
- 1, 0, 0, 0, 425, 426, 1, 0, 0, 0, 426, 428, 1, 0, 0, 0, 427, 421, 1, 0, 0,
408
- 0, 427, 428, 1, 0, 0, 0, 428, 430, 1, 0, 0, 0, 429, 417, 1, 0, 0, 0, 429,
409
- 430, 1, 0, 0, 0, 430, 92, 1, 0, 0, 0, 431, 447, 5, 90, 0, 0, 432, 439, 7, 2,
410
- 0, 0, 433, 435, 7, 12, 0, 0, 434, 433, 1, 0, 0, 0, 434, 435, 1, 0, 0, 0,
411
- 435, 436, 1, 0, 0, 0, 436, 440, 7, 6, 0, 0, 437, 438, 5, 50, 0, 0, 438, 440,
412
- 7, 13, 0, 0, 439, 434, 1, 0, 0, 0, 439, 437, 1, 0, 0, 0, 440, 444, 1, 0, 0,
413
- 0, 441, 442, 5, 58, 0, 0, 442, 443, 7, 14, 0, 0, 443, 445, 7, 6, 0, 0, 444,
414
- 441, 1, 0, 0, 0, 444, 445, 1, 0, 0, 0, 445, 447, 1, 0, 0, 0, 446, 431, 1, 0,
415
- 0, 0, 446, 432, 1, 0, 0, 0, 447, 94, 1, 0, 0, 0, 448, 451, 5, 92, 0, 0, 449,
416
- 452, 3, 97, 48, 0, 450, 452, 9, 0, 0, 0, 451, 449, 1, 0, 0, 0, 451, 450, 1,
417
- 0, 0, 0, 452, 96, 1, 0, 0, 0, 453, 454, 5, 117, 0, 0, 454, 455, 3, 99, 49,
418
- 0, 455, 456, 3, 99, 49, 0, 456, 457, 3, 99, 49, 0, 457, 458, 3, 99, 49, 0,
419
- 458, 98, 1, 0, 0, 0, 459, 460, 7, 15, 0, 0, 460, 100, 1, 0, 0, 0, 35, 0,
420
- 226, 239, 290, 300, 303, 308, 314, 317, 321, 326, 328, 336, 338, 341, 346,
421
- 354, 356, 361, 363, 370, 372, 376, 381, 396, 405, 411, 425, 427, 429, 434,
422
- 439, 444, 446, 451, 1, 0, 1, 0,
423
- ];
424
- OpraFilterLexer.DecisionsToDFA = OpraFilterLexer._ATN.decisionToState.map((ds, index) => new DFA(ds, index));
425
- export default OpraFilterLexer;
@@ -1,8 +0,0 @@
1
- // Generated from ./src/filter/antlr/OpraFilter.g4 by ANTLR 4.13.2
2
- import { ParseTreeListener } from '@browsery/antlr4';
3
- /**
4
- * This interface defines a complete listener for a parse tree produced by
5
- * `OpraFilterParser`.
6
- */
7
- export default class OpraFilterListener extends ParseTreeListener {
8
- }
@@ -1,11 +0,0 @@
1
- // Generated from ./src/filter/antlr/OpraFilter.g4 by ANTLR 4.13.2
2
- import { ParseTreeVisitor } from '@browsery/antlr4';
3
- /**
4
- * This interface defines a complete generic visitor for a parse tree produced
5
- * by `OpraFilterParser`.
6
- *
7
- * @param <Result> The return type of the visit operation. Use `void` for
8
- * operations with no return type.
9
- */
10
- export default class OpraFilterVisitor extends ParseTreeVisitor {
11
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /** monkey patch (hijack)
3
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#use_within_json
4
- */
5
- if (!BigInt.prototype.toJSON) {
6
- BigInt.prototype.toJSON = function () {
7
- return this.toString();
8
- };
9
- }
10
- if (!RegExp.prototype.toJSON) {
11
- RegExp.prototype.toJSON = function () {
12
- return this.toString();
13
- };
14
- }
package/esm/package.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
@@ -1,2 +0,0 @@
1
- import { TypeThunkAsync } from 'ts-gems';
2
- export declare function WsParam(type?: TypeThunkAsync | string): ParameterDecorator;
package/types/index.d.cts DELETED
@@ -1,9 +0,0 @@
1
- export * from './document/index.js';
2
- export * from './enums/index.js';
3
- export * from './exception/index.js';
4
- export * from './filter/index.js';
5
- export * from './helpers/index.js';
6
- export * from './i18n/index.js';
7
- export * from './schema/index.js';
8
- export * from './types.js';
9
- export { uid } from 'uid';
File without changes
File without changes
File without changes
File without changes