@tomorrowos/sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/dist/cli.js +27 -2
  2. package/package.json +1 -1
  3. package/templates/cms-starter/package.json +2 -2
  4. package/templates/cms-starter/public/methods.js +1 -1
  5. package/templates/cms-starter/node_modules/.bin/esbuild +0 -16
  6. package/templates/cms-starter/node_modules/.bin/esbuild.cmd +0 -17
  7. package/templates/cms-starter/node_modules/.bin/esbuild.ps1 +0 -28
  8. package/templates/cms-starter/node_modules/.bin/tomorrowos +0 -16
  9. package/templates/cms-starter/node_modules/.bin/tomorrowos.cmd +0 -17
  10. package/templates/cms-starter/node_modules/.bin/tomorrowos.ps1 +0 -28
  11. package/templates/cms-starter/node_modules/.bin/tsc +0 -16
  12. package/templates/cms-starter/node_modules/.bin/tsc.cmd +0 -17
  13. package/templates/cms-starter/node_modules/.bin/tsc.ps1 +0 -28
  14. package/templates/cms-starter/node_modules/.bin/tsserver +0 -16
  15. package/templates/cms-starter/node_modules/.bin/tsserver.cmd +0 -17
  16. package/templates/cms-starter/node_modules/.bin/tsserver.ps1 +0 -28
  17. package/templates/cms-starter/node_modules/.bin/tsx +0 -16
  18. package/templates/cms-starter/node_modules/.bin/tsx.cmd +0 -17
  19. package/templates/cms-starter/node_modules/.bin/tsx.ps1 +0 -28
  20. package/templates/cms-starter/node_modules/.package-lock.json +0 -140
  21. package/templates/cms-starter/node_modules/@esbuild/win32-x64/README.md +0 -3
  22. package/templates/cms-starter/node_modules/@esbuild/win32-x64/esbuild.exe +0 -0
  23. package/templates/cms-starter/node_modules/@esbuild/win32-x64/package.json +0 -20
  24. package/templates/cms-starter/node_modules/@types/node/LICENSE +0 -21
  25. package/templates/cms-starter/node_modules/@types/node/README.md +0 -15
  26. package/templates/cms-starter/node_modules/@types/node/assert/strict.d.ts +0 -8
  27. package/templates/cms-starter/node_modules/@types/node/assert.d.ts +0 -1062
  28. package/templates/cms-starter/node_modules/@types/node/async_hooks.d.ts +0 -605
  29. package/templates/cms-starter/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  30. package/templates/cms-starter/node_modules/@types/node/buffer.d.ts +0 -1936
  31. package/templates/cms-starter/node_modules/@types/node/child_process.d.ts +0 -1475
  32. package/templates/cms-starter/node_modules/@types/node/cluster.d.ts +0 -577
  33. package/templates/cms-starter/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  34. package/templates/cms-starter/node_modules/@types/node/compatibility/index.d.ts +0 -9
  35. package/templates/cms-starter/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  36. package/templates/cms-starter/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  37. package/templates/cms-starter/node_modules/@types/node/console.d.ts +0 -452
  38. package/templates/cms-starter/node_modules/@types/node/constants.d.ts +0 -21
  39. package/templates/cms-starter/node_modules/@types/node/crypto.d.ts +0 -4590
  40. package/templates/cms-starter/node_modules/@types/node/dgram.d.ts +0 -597
  41. package/templates/cms-starter/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  42. package/templates/cms-starter/node_modules/@types/node/dns/promises.d.ts +0 -479
  43. package/templates/cms-starter/node_modules/@types/node/dns.d.ts +0 -871
  44. package/templates/cms-starter/node_modules/@types/node/domain.d.ts +0 -170
  45. package/templates/cms-starter/node_modules/@types/node/events.d.ts +0 -977
  46. package/templates/cms-starter/node_modules/@types/node/fs/promises.d.ts +0 -1270
  47. package/templates/cms-starter/node_modules/@types/node/fs.d.ts +0 -4375
  48. package/templates/cms-starter/node_modules/@types/node/globals.d.ts +0 -172
  49. package/templates/cms-starter/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  50. package/templates/cms-starter/node_modules/@types/node/http.d.ts +0 -2049
  51. package/templates/cms-starter/node_modules/@types/node/http2.d.ts +0 -2708
  52. package/templates/cms-starter/node_modules/@types/node/https.d.ts +0 -578
  53. package/templates/cms-starter/node_modules/@types/node/index.d.ts +0 -93
  54. package/templates/cms-starter/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  55. package/templates/cms-starter/node_modules/@types/node/module.d.ts +0 -539
  56. package/templates/cms-starter/node_modules/@types/node/net.d.ts +0 -1031
  57. package/templates/cms-starter/node_modules/@types/node/os.d.ts +0 -506
  58. package/templates/cms-starter/node_modules/@types/node/package.json +0 -140
  59. package/templates/cms-starter/node_modules/@types/node/path.d.ts +0 -200
  60. package/templates/cms-starter/node_modules/@types/node/perf_hooks.d.ts +0 -961
  61. package/templates/cms-starter/node_modules/@types/node/process.d.ts +0 -1961
  62. package/templates/cms-starter/node_modules/@types/node/punycode.d.ts +0 -117
  63. package/templates/cms-starter/node_modules/@types/node/querystring.d.ts +0 -152
  64. package/templates/cms-starter/node_modules/@types/node/readline/promises.d.ts +0 -162
  65. package/templates/cms-starter/node_modules/@types/node/readline.d.ts +0 -589
  66. package/templates/cms-starter/node_modules/@types/node/repl.d.ts +0 -430
  67. package/templates/cms-starter/node_modules/@types/node/sea.d.ts +0 -153
  68. package/templates/cms-starter/node_modules/@types/node/stream/consumers.d.ts +0 -38
  69. package/templates/cms-starter/node_modules/@types/node/stream/promises.d.ts +0 -90
  70. package/templates/cms-starter/node_modules/@types/node/stream/web.d.ts +0 -533
  71. package/templates/cms-starter/node_modules/@types/node/stream.d.ts +0 -1698
  72. package/templates/cms-starter/node_modules/@types/node/string_decoder.d.ts +0 -67
  73. package/templates/cms-starter/node_modules/@types/node/test.d.ts +0 -1787
  74. package/templates/cms-starter/node_modules/@types/node/timers/promises.d.ts +0 -108
  75. package/templates/cms-starter/node_modules/@types/node/timers.d.ts +0 -286
  76. package/templates/cms-starter/node_modules/@types/node/tls.d.ts +0 -1259
  77. package/templates/cms-starter/node_modules/@types/node/trace_events.d.ts +0 -197
  78. package/templates/cms-starter/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  79. package/templates/cms-starter/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  80. package/templates/cms-starter/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  81. package/templates/cms-starter/node_modules/@types/node/tty.d.ts +0 -208
  82. package/templates/cms-starter/node_modules/@types/node/url.d.ts +0 -964
  83. package/templates/cms-starter/node_modules/@types/node/util.d.ts +0 -2331
  84. package/templates/cms-starter/node_modules/@types/node/v8.d.ts +0 -809
  85. package/templates/cms-starter/node_modules/@types/node/vm.d.ts +0 -1001
  86. package/templates/cms-starter/node_modules/@types/node/wasi.d.ts +0 -181
  87. package/templates/cms-starter/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  88. package/templates/cms-starter/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  89. package/templates/cms-starter/node_modules/@types/node/web-globals/events.d.ts +0 -97
  90. package/templates/cms-starter/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  91. package/templates/cms-starter/node_modules/@types/node/worker_threads.d.ts +0 -715
  92. package/templates/cms-starter/node_modules/@types/node/zlib.d.ts +0 -598
  93. package/templates/cms-starter/node_modules/esbuild/LICENSE.md +0 -21
  94. package/templates/cms-starter/node_modules/esbuild/README.md +0 -3
  95. package/templates/cms-starter/node_modules/esbuild/bin/esbuild +0 -223
  96. package/templates/cms-starter/node_modules/esbuild/install.js +0 -300
  97. package/templates/cms-starter/node_modules/esbuild/lib/main.d.ts +0 -716
  98. package/templates/cms-starter/node_modules/esbuild/lib/main.js +0 -2532
  99. package/templates/cms-starter/node_modules/esbuild/package.json +0 -74
  100. package/templates/cms-starter/node_modules/tsx/LICENSE +0 -21
  101. package/templates/cms-starter/node_modules/tsx/README.md +0 -32
  102. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.cjs +0 -1
  103. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.d.cts +0 -35
  104. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.d.mts +0 -35
  105. package/templates/cms-starter/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
  106. package/templates/cms-starter/node_modules/tsx/dist/cjs/index.cjs +0 -1
  107. package/templates/cms-starter/node_modules/tsx/dist/cjs/index.mjs +0 -1
  108. package/templates/cms-starter/node_modules/tsx/dist/cli.cjs +0 -54
  109. package/templates/cms-starter/node_modules/tsx/dist/cli.mjs +0 -55
  110. package/templates/cms-starter/node_modules/tsx/dist/client-D3mGB526.cjs +0 -1
  111. package/templates/cms-starter/node_modules/tsx/dist/client-D_mPDF5S.mjs +0 -1
  112. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.cjs +0 -1
  113. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.d.cts +0 -35
  114. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.d.mts +0 -35
  115. package/templates/cms-starter/node_modules/tsx/dist/esm/api/index.mjs +0 -1
  116. package/templates/cms-starter/node_modules/tsx/dist/esm/index.cjs +0 -1
  117. package/templates/cms-starter/node_modules/tsx/dist/esm/index.mjs +0 -1
  118. package/templates/cms-starter/node_modules/tsx/dist/get-pipe-path-D4YM6rQt.cjs +0 -1
  119. package/templates/cms-starter/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +0 -1
  120. package/templates/cms-starter/node_modules/tsx/dist/index-BWFBUo6r.cjs +0 -1
  121. package/templates/cms-starter/node_modules/tsx/dist/index-D9F1FXzN.cjs +0 -14
  122. package/templates/cms-starter/node_modules/tsx/dist/index-XurvG3JN.mjs +0 -14
  123. package/templates/cms-starter/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
  124. package/templates/cms-starter/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
  125. package/templates/cms-starter/node_modules/tsx/dist/lexer-DgIbo0BU.cjs +0 -3
  126. package/templates/cms-starter/node_modules/tsx/dist/loader.cjs +0 -1
  127. package/templates/cms-starter/node_modules/tsx/dist/loader.mjs +0 -1
  128. package/templates/cms-starter/node_modules/tsx/dist/node-features-B9BBLzwu.mjs +0 -1
  129. package/templates/cms-starter/node_modules/tsx/dist/node-features-CQLdkVE6.cjs +0 -1
  130. package/templates/cms-starter/node_modules/tsx/dist/package-CGdS2_oX.cjs +0 -1
  131. package/templates/cms-starter/node_modules/tsx/dist/package-DyJMwVU5.mjs +0 -1
  132. package/templates/cms-starter/node_modules/tsx/dist/patch-repl.cjs +0 -1
  133. package/templates/cms-starter/node_modules/tsx/dist/patch-repl.mjs +0 -1
  134. package/templates/cms-starter/node_modules/tsx/dist/preflight.cjs +0 -1
  135. package/templates/cms-starter/node_modules/tsx/dist/preflight.mjs +0 -1
  136. package/templates/cms-starter/node_modules/tsx/dist/register-BOkp8V6j.cjs +0 -10
  137. package/templates/cms-starter/node_modules/tsx/dist/register-BnTWPeIB.mjs +0 -10
  138. package/templates/cms-starter/node_modules/tsx/dist/register-CHVGxKtC.cjs +0 -2
  139. package/templates/cms-starter/node_modules/tsx/dist/register-D_B8UL5H.mjs +0 -2
  140. package/templates/cms-starter/node_modules/tsx/dist/repl.cjs +0 -3
  141. package/templates/cms-starter/node_modules/tsx/dist/repl.mjs +0 -3
  142. package/templates/cms-starter/node_modules/tsx/dist/require-CjvaJWEr.cjs +0 -1
  143. package/templates/cms-starter/node_modules/tsx/dist/require-DzmC1hVr.mjs +0 -1
  144. package/templates/cms-starter/node_modules/tsx/dist/suppress-warnings.cjs +0 -1
  145. package/templates/cms-starter/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
  146. package/templates/cms-starter/node_modules/tsx/dist/temporary-directory-B83uKxJF.cjs +0 -1
  147. package/templates/cms-starter/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +0 -1
  148. package/templates/cms-starter/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
  149. package/templates/cms-starter/node_modules/tsx/package.json +0 -67
  150. package/templates/cms-starter/node_modules/typescript/LICENSE.txt +0 -55
  151. package/templates/cms-starter/node_modules/typescript/README.md +0 -50
  152. package/templates/cms-starter/node_modules/typescript/SECURITY.md +0 -41
  153. package/templates/cms-starter/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  154. package/templates/cms-starter/node_modules/typescript/bin/tsc +0 -2
  155. package/templates/cms-starter/node_modules/typescript/bin/tsserver +0 -2
  156. package/templates/cms-starter/node_modules/typescript/lib/_tsc.js +0 -133818
  157. package/templates/cms-starter/node_modules/typescript/lib/_tsserver.js +0 -659
  158. package/templates/cms-starter/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  159. package/templates/cms-starter/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  160. package/templates/cms-starter/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  161. package/templates/cms-starter/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  162. package/templates/cms-starter/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  163. package/templates/cms-starter/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  164. package/templates/cms-starter/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  165. package/templates/cms-starter/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  166. package/templates/cms-starter/node_modules/typescript/lib/lib.d.ts +0 -22
  167. package/templates/cms-starter/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  168. package/templates/cms-starter/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  169. package/templates/cms-starter/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  170. package/templates/cms-starter/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  171. package/templates/cms-starter/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  172. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  173. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  174. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  175. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  176. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  177. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  178. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  179. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  180. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  181. package/templates/cms-starter/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  182. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  183. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  184. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  185. package/templates/cms-starter/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  186. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  187. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  188. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  189. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  190. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  191. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  192. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  193. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  194. package/templates/cms-starter/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  195. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  196. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  197. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  198. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  199. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  200. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  201. package/templates/cms-starter/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  202. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  203. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  204. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  205. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  206. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  207. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  208. package/templates/cms-starter/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  209. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  210. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  211. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  212. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  213. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  214. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  215. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  216. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  217. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  218. package/templates/cms-starter/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  219. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  220. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  221. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  222. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  223. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  224. package/templates/cms-starter/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  225. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  226. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  227. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  228. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  229. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  230. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  231. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  232. package/templates/cms-starter/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  233. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  234. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  235. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  236. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  237. package/templates/cms-starter/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  238. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  239. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  240. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  241. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  242. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  243. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  244. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  245. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  246. package/templates/cms-starter/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  247. package/templates/cms-starter/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  248. package/templates/cms-starter/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  249. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  250. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  251. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  252. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  253. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  254. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  255. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  256. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  257. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  258. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  259. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  260. package/templates/cms-starter/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  261. package/templates/cms-starter/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  262. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  263. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  264. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  265. package/templates/cms-starter/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  266. package/templates/cms-starter/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  267. package/templates/cms-starter/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  268. package/templates/cms-starter/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  269. package/templates/cms-starter/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  270. package/templates/cms-starter/node_modules/typescript/lib/tsc.js +0 -8
  271. package/templates/cms-starter/node_modules/typescript/lib/tsserver.js +0 -8
  272. package/templates/cms-starter/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  273. package/templates/cms-starter/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  274. package/templates/cms-starter/node_modules/typescript/lib/typesMap.json +0 -497
  275. package/templates/cms-starter/node_modules/typescript/lib/typescript.d.ts +0 -11437
  276. package/templates/cms-starter/node_modules/typescript/lib/typescript.js +0 -200276
  277. package/templates/cms-starter/node_modules/typescript/lib/typingsInstaller.js +0 -8
  278. package/templates/cms-starter/node_modules/typescript/lib/watchGuard.js +0 -53
  279. package/templates/cms-starter/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  280. package/templates/cms-starter/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  281. package/templates/cms-starter/node_modules/typescript/package.json +0 -120
  282. package/templates/cms-starter/node_modules/undici-types/LICENSE +0 -21
  283. package/templates/cms-starter/node_modules/undici-types/README.md +0 -6
  284. package/templates/cms-starter/node_modules/undici-types/agent.d.ts +0 -31
  285. package/templates/cms-starter/node_modules/undici-types/api.d.ts +0 -43
  286. package/templates/cms-starter/node_modules/undici-types/balanced-pool.d.ts +0 -29
  287. package/templates/cms-starter/node_modules/undici-types/cache.d.ts +0 -36
  288. package/templates/cms-starter/node_modules/undici-types/client.d.ts +0 -108
  289. package/templates/cms-starter/node_modules/undici-types/connector.d.ts +0 -34
  290. package/templates/cms-starter/node_modules/undici-types/content-type.d.ts +0 -21
  291. package/templates/cms-starter/node_modules/undici-types/cookies.d.ts +0 -28
  292. package/templates/cms-starter/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  293. package/templates/cms-starter/node_modules/undici-types/dispatcher.d.ts +0 -256
  294. package/templates/cms-starter/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  295. package/templates/cms-starter/node_modules/undici-types/errors.d.ts +0 -149
  296. package/templates/cms-starter/node_modules/undici-types/eventsource.d.ts +0 -61
  297. package/templates/cms-starter/node_modules/undici-types/fetch.d.ts +0 -209
  298. package/templates/cms-starter/node_modules/undici-types/file.d.ts +0 -39
  299. package/templates/cms-starter/node_modules/undici-types/filereader.d.ts +0 -54
  300. package/templates/cms-starter/node_modules/undici-types/formdata.d.ts +0 -108
  301. package/templates/cms-starter/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  302. package/templates/cms-starter/node_modules/undici-types/global-origin.d.ts +0 -7
  303. package/templates/cms-starter/node_modules/undici-types/handlers.d.ts +0 -15
  304. package/templates/cms-starter/node_modules/undici-types/header.d.ts +0 -4
  305. package/templates/cms-starter/node_modules/undici-types/index.d.ts +0 -71
  306. package/templates/cms-starter/node_modules/undici-types/interceptors.d.ts +0 -17
  307. package/templates/cms-starter/node_modules/undici-types/mock-agent.d.ts +0 -50
  308. package/templates/cms-starter/node_modules/undici-types/mock-client.d.ts +0 -25
  309. package/templates/cms-starter/node_modules/undici-types/mock-errors.d.ts +0 -12
  310. package/templates/cms-starter/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  311. package/templates/cms-starter/node_modules/undici-types/mock-pool.d.ts +0 -25
  312. package/templates/cms-starter/node_modules/undici-types/package.json +0 -55
  313. package/templates/cms-starter/node_modules/undici-types/patch.d.ts +0 -33
  314. package/templates/cms-starter/node_modules/undici-types/pool-stats.d.ts +0 -19
  315. package/templates/cms-starter/node_modules/undici-types/pool.d.ts +0 -39
  316. package/templates/cms-starter/node_modules/undici-types/proxy-agent.d.ts +0 -28
  317. package/templates/cms-starter/node_modules/undici-types/readable.d.ts +0 -65
  318. package/templates/cms-starter/node_modules/undici-types/retry-agent.d.ts +0 -8
  319. package/templates/cms-starter/node_modules/undici-types/retry-handler.d.ts +0 -116
  320. package/templates/cms-starter/node_modules/undici-types/util.d.ts +0 -18
  321. package/templates/cms-starter/node_modules/undici-types/webidl.d.ts +0 -228
  322. package/templates/cms-starter/node_modules/undici-types/websocket.d.ts +0 -150
  323. package/templates/cms-starter/package-lock.json +0 -592
@@ -1,27 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2019" />
20
- /// <reference lib="es2020.bigint" />
21
- /// <reference lib="es2020.date" />
22
- /// <reference lib="es2020.number" />
23
- /// <reference lib="es2020.promise" />
24
- /// <reference lib="es2020.sharedmemory" />
25
- /// <reference lib="es2020.string" />
26
- /// <reference lib="es2020.symbol.wellknown" />
27
- /// <reference lib="es2020.intl" />
@@ -1,42 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2020.intl" />
20
-
21
- interface Date {
22
- /**
23
- * Converts a date and time to a string by using the current or specified locale.
24
- * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
25
- * @param options An object that contains one or more properties that specify comparison options.
26
- */
27
- toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
28
-
29
- /**
30
- * Converts a date to a string by using the current or specified locale.
31
- * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
32
- * @param options An object that contains one or more properties that specify comparison options.
33
- */
34
- toLocaleDateString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
35
-
36
- /**
37
- * Converts a time to a string by using the current or specified locale.
38
- * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
39
- * @param options An object that contains one or more properties that specify comparison options.
40
- */
41
- toLocaleTimeString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
42
- }
@@ -1,24 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2020" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="webworker.importscripts" />
22
- /// <reference lib="scripthost" />
23
- /// <reference lib="dom.iterable" />
24
- /// <reference lib="dom.asynciterable" />
@@ -1,474 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2018.intl" />
20
- declare namespace Intl {
21
- /**
22
- * A string that is a valid [Unicode BCP 47 Locale Identifier](https://unicode.org/reports/tr35/#Unicode_locale_identifier).
23
- *
24
- * For example: "fa", "es-MX", "zh-Hant-TW".
25
- *
26
- * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
27
- */
28
- type UnicodeBCP47LocaleIdentifier = string;
29
-
30
- /**
31
- * Unit to use in the relative time internationalized message.
32
- *
33
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).
34
- */
35
- type RelativeTimeFormatUnit =
36
- | "year"
37
- | "years"
38
- | "quarter"
39
- | "quarters"
40
- | "month"
41
- | "months"
42
- | "week"
43
- | "weeks"
44
- | "day"
45
- | "days"
46
- | "hour"
47
- | "hours"
48
- | "minute"
49
- | "minutes"
50
- | "second"
51
- | "seconds";
52
-
53
- /**
54
- * Value of the `unit` property in objects returned by
55
- * `Intl.RelativeTimeFormat.prototype.formatToParts()`. `formatToParts` and
56
- * `format` methods accept either singular or plural unit names as input,
57
- * but `formatToParts` only outputs singular (e.g. "day") not plural (e.g.
58
- * "days").
59
- *
60
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
61
- */
62
- type RelativeTimeFormatUnitSingular =
63
- | "year"
64
- | "quarter"
65
- | "month"
66
- | "week"
67
- | "day"
68
- | "hour"
69
- | "minute"
70
- | "second";
71
-
72
- /**
73
- * The locale matching algorithm to use.
74
- *
75
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
76
- */
77
- type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";
78
-
79
- /**
80
- * The format of output message.
81
- *
82
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
83
- */
84
- type RelativeTimeFormatNumeric = "always" | "auto";
85
-
86
- /**
87
- * The length of the internationalized message.
88
- *
89
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
90
- */
91
- type RelativeTimeFormatStyle = "long" | "short" | "narrow";
92
-
93
- /**
94
- * The locale or locales to use
95
- *
96
- * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
97
- */
98
- type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined;
99
-
100
- /**
101
- * An object with some or all of properties of `options` parameter
102
- * of `Intl.RelativeTimeFormat` constructor.
103
- *
104
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
105
- */
106
- interface RelativeTimeFormatOptions {
107
- /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
108
- localeMatcher?: RelativeTimeFormatLocaleMatcher;
109
- /** The format of output message. */
110
- numeric?: RelativeTimeFormatNumeric;
111
- /** The length of the internationalized message. */
112
- style?: RelativeTimeFormatStyle;
113
- }
114
-
115
- /**
116
- * An object with properties reflecting the locale
117
- * and formatting options computed during initialization
118
- * of the `Intl.RelativeTimeFormat` object
119
- *
120
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).
121
- */
122
- interface ResolvedRelativeTimeFormatOptions {
123
- locale: UnicodeBCP47LocaleIdentifier;
124
- style: RelativeTimeFormatStyle;
125
- numeric: RelativeTimeFormatNumeric;
126
- numberingSystem: string;
127
- }
128
-
129
- /**
130
- * An object representing the relative time format in parts
131
- * that can be used for custom locale-aware formatting.
132
- *
133
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
134
- */
135
- type RelativeTimeFormatPart =
136
- | {
137
- type: "literal";
138
- value: string;
139
- }
140
- | {
141
- type: Exclude<NumberFormatPartTypes, "literal">;
142
- value: string;
143
- unit: RelativeTimeFormatUnitSingular;
144
- };
145
-
146
- interface RelativeTimeFormat {
147
- /**
148
- * Formats a value and a unit according to the locale
149
- * and formatting options of the given
150
- * [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
151
- * object.
152
- *
153
- * While this method automatically provides the correct plural forms,
154
- * the grammatical form is otherwise as neutral as possible.
155
- *
156
- * It is the caller's responsibility to handle cut-off logic
157
- * such as deciding between displaying "in 7 days" or "in 1 week".
158
- * This API does not support relative dates involving compound units.
159
- * e.g "in 5 days and 4 hours".
160
- *
161
- * @param value - Numeric value to use in the internationalized relative time message
162
- *
163
- * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
164
- *
165
- * @throws `RangeError` if `unit` was given something other than `unit` possible values
166
- *
167
- * @returns {string} Internationalized relative time message as string
168
- *
169
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).
170
- */
171
- format(value: number, unit: RelativeTimeFormatUnit): string;
172
-
173
- /**
174
- * Returns an array of objects representing the relative time format in parts that can be used for custom locale-aware formatting.
175
- *
176
- * @param value - Numeric value to use in the internationalized relative time message
177
- *
178
- * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
179
- *
180
- * @throws `RangeError` if `unit` was given something other than `unit` possible values
181
- *
182
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).
183
- */
184
- formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];
185
-
186
- /**
187
- * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.
188
- *
189
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).
190
- */
191
- resolvedOptions(): ResolvedRelativeTimeFormatOptions;
192
- }
193
-
194
- /**
195
- * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
196
- * object is a constructor for objects that enable language-sensitive relative time formatting.
197
- *
198
- * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).
199
- */
200
- const RelativeTimeFormat: {
201
- /**
202
- * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects
203
- *
204
- * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
205
- * For the general form and interpretation of the locales argument,
206
- * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
207
- *
208
- * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
209
- * with some or all of options of `RelativeTimeFormatOptions`.
210
- *
211
- * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.
212
- *
213
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).
214
- */
215
- new (
216
- locales?: LocalesArgument,
217
- options?: RelativeTimeFormatOptions,
218
- ): RelativeTimeFormat;
219
-
220
- /**
221
- * Returns an array containing those of the provided locales
222
- * that are supported in date and time formatting
223
- * without having to fall back to the runtime's default locale.
224
- *
225
- * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
226
- * For the general form and interpretation of the locales argument,
227
- * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
228
- *
229
- * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
230
- * with some or all of options of the formatting.
231
- *
232
- * @returns An array containing those of the provided locales
233
- * that are supported in date and time formatting
234
- * without having to fall back to the runtime's default locale.
235
- *
236
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).
237
- */
238
- supportedLocalesOf(
239
- locales?: LocalesArgument,
240
- options?: RelativeTimeFormatOptions,
241
- ): UnicodeBCP47LocaleIdentifier[];
242
- };
243
-
244
- interface NumberFormatOptionsStyleRegistry {
245
- unit: never;
246
- }
247
-
248
- interface NumberFormatOptionsCurrencyDisplayRegistry {
249
- narrowSymbol: never;
250
- }
251
-
252
- interface NumberFormatOptionsSignDisplayRegistry {
253
- auto: never;
254
- never: never;
255
- always: never;
256
- exceptZero: never;
257
- }
258
-
259
- type NumberFormatOptionsSignDisplay = keyof NumberFormatOptionsSignDisplayRegistry;
260
-
261
- interface NumberFormatOptions {
262
- numberingSystem?: string | undefined;
263
- compactDisplay?: "short" | "long" | undefined;
264
- notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
265
- signDisplay?: NumberFormatOptionsSignDisplay | undefined;
266
- unit?: string | undefined;
267
- unitDisplay?: "short" | "long" | "narrow" | undefined;
268
- currencySign?: "standard" | "accounting" | undefined;
269
- }
270
-
271
- interface ResolvedNumberFormatOptions {
272
- compactDisplay?: "short" | "long";
273
- notation: "standard" | "scientific" | "engineering" | "compact";
274
- signDisplay: NumberFormatOptionsSignDisplay;
275
- unit?: string;
276
- unitDisplay?: "short" | "long" | "narrow";
277
- currencySign?: "standard" | "accounting";
278
- }
279
-
280
- interface NumberFormatPartTypeRegistry {
281
- compact: never;
282
- exponentInteger: never;
283
- exponentMinusSign: never;
284
- exponentSeparator: never;
285
- unit: never;
286
- unknown: never;
287
- }
288
-
289
- interface DateTimeFormatOptions {
290
- calendar?: string | undefined;
291
- dayPeriod?: "narrow" | "short" | "long" | undefined;
292
- numberingSystem?: string | undefined;
293
-
294
- dateStyle?: "full" | "long" | "medium" | "short" | undefined;
295
- timeStyle?: "full" | "long" | "medium" | "short" | undefined;
296
- hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
297
- }
298
-
299
- type LocaleHourCycleKey = "h12" | "h23" | "h11" | "h24";
300
- type LocaleCollationCaseFirst = "upper" | "lower" | "false";
301
-
302
- interface LocaleOptions {
303
- /** A string containing the language, and the script and region if available. */
304
- baseName?: string;
305
- /** The part of the Locale that indicates the locale's calendar era. */
306
- calendar?: string;
307
- /** Flag that defines whether case is taken into account for the locale's collation rules. */
308
- caseFirst?: LocaleCollationCaseFirst;
309
- /** The collation type used for sorting */
310
- collation?: string;
311
- /** The time keeping format convention used by the locale. */
312
- hourCycle?: LocaleHourCycleKey;
313
- /** The primary language subtag associated with the locale. */
314
- language?: string;
315
- /** The numeral system used by the locale. */
316
- numberingSystem?: string;
317
- /** Flag that defines whether the locale has special collation handling for numeric characters. */
318
- numeric?: boolean;
319
- /** The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1. */
320
- region?: string;
321
- /** The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924. */
322
- script?: string;
323
- }
324
-
325
- interface Locale extends LocaleOptions {
326
- /** A string containing the language, and the script and region if available. */
327
- baseName: string;
328
- /** The primary language subtag associated with the locale. */
329
- language: string;
330
- /** Gets the most likely values for the language, script, and region of the locale based on existing values. */
331
- maximize(): Locale;
332
- /** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */
333
- minimize(): Locale;
334
- /** Returns the locale's full locale identifier string. */
335
- toString(): UnicodeBCP47LocaleIdentifier;
336
- }
337
-
338
- /**
339
- * Constructor creates [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)
340
- * objects
341
- *
342
- * @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).
343
- * For the general form and interpretation of the locales argument,
344
- * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
345
- *
346
- * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.
347
- *
348
- * @returns [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.
349
- *
350
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).
351
- */
352
- const Locale: {
353
- new (tag: UnicodeBCP47LocaleIdentifier | Locale, options?: LocaleOptions): Locale;
354
- };
355
-
356
- type DisplayNamesFallback =
357
- | "code"
358
- | "none";
359
-
360
- type DisplayNamesType =
361
- | "language"
362
- | "region"
363
- | "script"
364
- | "calendar"
365
- | "dateTimeField"
366
- | "currency";
367
-
368
- type DisplayNamesLanguageDisplay =
369
- | "dialect"
370
- | "standard";
371
-
372
- interface DisplayNamesOptions {
373
- localeMatcher?: RelativeTimeFormatLocaleMatcher;
374
- style?: RelativeTimeFormatStyle;
375
- type: DisplayNamesType;
376
- languageDisplay?: DisplayNamesLanguageDisplay;
377
- fallback?: DisplayNamesFallback;
378
- }
379
-
380
- interface ResolvedDisplayNamesOptions {
381
- locale: UnicodeBCP47LocaleIdentifier;
382
- style: RelativeTimeFormatStyle;
383
- type: DisplayNamesType;
384
- fallback: DisplayNamesFallback;
385
- languageDisplay?: DisplayNamesLanguageDisplay;
386
- }
387
-
388
- interface DisplayNames {
389
- /**
390
- * Receives a code and returns a string based on the locale and options provided when instantiating
391
- * [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
392
- *
393
- * @param code The `code` to provide depends on the `type` passed to display name during creation:
394
- * - If the type is `"region"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),
395
- * or a [three digits UN M49 Geographic Regions](https://unstats.un.org/unsd/methodology/m49/).
396
- * - If the type is `"script"`, code should be an [ISO-15924 four letters script code](https://unicode.org/iso15924/iso15924-codes.html).
397
- * - If the type is `"language"`, code should be a `languageCode` ["-" `scriptCode`] ["-" `regionCode` ] *("-" `variant` )
398
- * subsequence of the unicode_language_id grammar in [UTS 35's Unicode Language and Locale Identifiers grammar](https://unicode.org/reports/tr35/#Unicode_language_identifier).
399
- * `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.
400
- * - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).
401
- *
402
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
403
- */
404
- of(code: string): string | undefined;
405
- /**
406
- * Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
407
- * [`Intl/DisplayNames`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
408
- *
409
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).
410
- */
411
- resolvedOptions(): ResolvedDisplayNamesOptions;
412
- }
413
-
414
- /**
415
- * The [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
416
- * object enables the consistent translation of language, region and script display names.
417
- *
418
- * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).
419
- */
420
- const DisplayNames: {
421
- prototype: DisplayNames;
422
-
423
- /**
424
- * @param locales A string with a BCP 47 language tag, or an array of such strings.
425
- * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
426
- * page.
427
- *
428
- * @param options An object for setting up a display name.
429
- *
430
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).
431
- */
432
- new (locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames;
433
-
434
- /**
435
- * Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.
436
- *
437
- * @param locales A string with a BCP 47 language tag, or an array of such strings.
438
- * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
439
- * page.
440
- *
441
- * @param options An object with a locale matcher.
442
- *
443
- * @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
444
- *
445
- * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).
446
- */
447
- supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[];
448
- };
449
-
450
- interface CollatorConstructor {
451
- new (locales?: LocalesArgument, options?: CollatorOptions): Collator;
452
- (locales?: LocalesArgument, options?: CollatorOptions): Collator;
453
- supportedLocalesOf(locales: LocalesArgument, options?: CollatorOptions): string[];
454
- }
455
-
456
- interface DateTimeFormatConstructor {
457
- new (locales?: LocalesArgument, options?: DateTimeFormatOptions): DateTimeFormat;
458
- (locales?: LocalesArgument, options?: DateTimeFormatOptions): DateTimeFormat;
459
- supportedLocalesOf(locales: LocalesArgument, options?: DateTimeFormatOptions): string[];
460
- }
461
-
462
- interface NumberFormatConstructor {
463
- new (locales?: LocalesArgument, options?: NumberFormatOptions): NumberFormat;
464
- (locales?: LocalesArgument, options?: NumberFormatOptions): NumberFormat;
465
- supportedLocalesOf(locales: LocalesArgument, options?: NumberFormatOptions): string[];
466
- }
467
-
468
- interface PluralRulesConstructor {
469
- new (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;
470
- (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;
471
-
472
- supportedLocalesOf(locales: LocalesArgument, options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
473
- }
474
- }
@@ -1,28 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2020.intl" />
20
-
21
- interface Number {
22
- /**
23
- * Converts a number to a string by using the current or specified locale.
24
- * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
25
- * @param options An object that contains one or more properties that specify comparison options.
26
- */
27
- toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
28
- }
@@ -1,47 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- interface PromiseFulfilledResult<T> {
20
- status: "fulfilled";
21
- value: T;
22
- }
23
-
24
- interface PromiseRejectedResult {
25
- status: "rejected";
26
- reason: any;
27
- }
28
-
29
- type PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;
30
-
31
- interface PromiseConstructor {
32
- /**
33
- * Creates a Promise that is resolved with an array of results when all
34
- * of the provided Promises resolve or reject.
35
- * @param values An array of Promises.
36
- * @returns A new Promise.
37
- */
38
- allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>>; }>;
39
-
40
- /**
41
- * Creates a Promise that is resolved with an array of results when all
42
- * of the provided Promises resolve or reject.
43
- * @param values An array of Promises.
44
- * @returns A new Promise.
45
- */
46
- allSettled<T>(values: Iterable<T | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;
47
- }