Commit graph

483 commits

Author SHA1 Message Date
Kir_Antipov
31402598d4 Made class that represents type union 2023-05-17 16:08:00 +03:00
Kir_Antipov
795bc06542 Made class that represents type intersection 2023-05-17 16:03:17 +03:00
Kir_Antipov
755c51fa61 Implemented class that represents type alias 2023-05-17 16:02:03 +03:00
Kir_Antipov
cec0b14ff4 Implemented class that represents type literal 2023-05-17 16:01:39 +03:00
Kir_Antipov
c0cacb57b1 Made an interface that represents type definition 2023-05-17 16:00:17 +03:00
Kir_Antipov
0c09b68595 Made a class that represents TypeScript variable 2023-05-17 15:58:48 +03:00
Kir_Antipov
2d6d4c860f Made a class that represents a group of TypeScript imports 2023-05-17 15:58:00 +03:00
Kir_Antipov
7f4c9a6d6e Made a class that represents TypeScript import 2023-05-17 15:57:15 +03:00
Kir_Antipov
24770a1296 Made a class that represents TypeScript export 2023-05-17 15:56:39 +03:00
Kir_Antipov
d00ce8f984 Implemented base class for TypeScript nodes 2023-05-17 15:55:34 +03:00
Kir_Antipov
456ccf5ef0 Made an interface for commentable TypeScript nodes 2023-05-17 15:54:31 +03:00
Kir_Antipov
2ad455bf3f Made class that represents TypeScript comments 2023-05-17 15:53:48 +03:00
Kir_Antipov
5392ce7147 Made base interface for TypeScript nodes 2023-05-17 15:52:51 +03:00
Kir_Antipov
4f0a182734 Made options for formatting TypeScript documents 2023-05-17 15:52:16 +03:00
Kir_Antipov
70b1eedf91 Added versioning module 2023-05-17 15:48:33 +03:00
Kir_Antipov
5e957f45ba Presented ability to parse and use version ranges 2023-05-17 15:47:39 +03:00
Kir_Antipov
4bbd4cc2d9 Version refactoring 2023-05-17 15:46:26 +03:00
Kir_Antipov
17bc59ff61 VersionType refactoring 2023-05-17 15:45:22 +03:00
Kir_Antipov
5381af88ee Added io module 2023-05-17 15:41:39 +03:00
Kir_Antipov
b9dc319a1e File (-> FileInfo) refactoring 2023-05-17 15:41:18 +03:00
Kir_Antipov
79519efc22 Made a few utility types for writeFile options 2023-05-17 15:39:27 +03:00
Kir_Antipov
88b6d0607a Made a few utility types for readFile options 2023-05-17 15:39:07 +03:00
Kir_Antipov
49ccf5b5a2 Made a few FilePath-like utility types 2023-05-17 15:38:21 +03:00
Kir_Antipov
3367d6a02d This *generates* warnings for auto-*generated* content
*Did you get it?*
2023-05-17 15:35:47 +03:00
Kir_Antipov
cc3f33cdb2 Made a module focused on conversion 2023-05-17 15:33:21 +03:00
Kir_Antipov
9d7bf0f627 Moved sleep and retry to async-utils
Also, made a few more helper methods
2023-05-17 15:31:47 +03:00
Kir_Antipov
9ca1e9f0d9 Moved FailMode to its own file 2023-05-17 15:29:47 +03:00
Kir_Antipov
5a2e5f176c Added enum module 2023-05-17 15:25:02 +03:00
Kir_Antipov
64f717d127 Implemented Object-like Enum interface 2023-05-17 15:24:43 +03:00
Kir_Antipov
5fe6c0ba36 Implemented DynamicEnum 2023-05-17 15:23:26 +03:00
Kir_Antipov
8e382c9ed5 Defined default enum separators 2023-05-17 15:22:24 +03:00
Kir_Antipov
a2288eeefa Made a function to retrieve enum entries 2023-05-17 15:19:44 +03:00
Kir_Antipov
003f5fbab4 Made a function to retrieve enum values 2023-05-17 15:19:17 +03:00
Kir_Antipov
1d0d5c6cff Made a function to retrieve enum keys 2023-05-17 15:12:25 +03:00
Kir_Antipov
0a98e5a66a Added enum/descriptors module 2023-05-17 15:09:55 +03:00
Kir_Antipov
1afbf2483e Implemented enum descriptor instantiation logic 2023-05-17 15:09:26 +03:00
Kir_Antipov
41d4de590e Implemented enum descriptor for string enums 2023-05-17 15:04:39 +03:00
Kir_Antipov
e16de98226 Implemented enum descriptor for boolean enums 2023-05-17 14:56:15 +03:00
Kir_Antipov
874b950fdf Implemented enum descriptor for bigint enums 2023-05-17 14:55:42 +03:00
Kir_Antipov
6256d33db6 Implemented enum descriptor for number enums 2023-05-17 14:55:09 +03:00
Kir_Antipov
33da1eacff Made base interface for enum descriptors 2023-05-17 14:53:50 +03:00
Kir_Antipov
8db475ab28 Added reflection module 2023-05-16 20:39:48 +03:00
Kir_Antipov
ccd4319b20 Made ImportDirective for dynamic import purposes 2023-05-16 20:39:20 +03:00
Kir_Antipov
491aa11ac5 Made ModuleLoader interface
And added 2 default implementations:

 - `NODE_MODULE_LOADER` - uses `import` under the hood
  - `DYNAMIC_MODULE_LOADER` - will be able to load modules needed in other parts of this project. Currently it's just a stub
2023-05-16 20:37:39 +03:00
Kir_Antipov
fd2975b30b Implemented more reflection-specific helpers 2023-05-16 20:34:43 +03:00
Kir_Antipov
919bc5d68e Added errors module 2023-05-16 20:30:15 +03:00
Kir_Antipov
983cbac1f2 Typo: errors.ts -> errors 2023-05-16 20:29:32 +03:00
Kir_Antipov
c566a4cfec Implemented HttpError 2023-05-16 20:28:31 +03:00
Kir_Antipov
3f8d7d2115 Made SoftError for recoverable errors 2023-05-16 20:26:09 +03:00
Kir_Antipov
3fe2a3fdc9 Made a helper method to check if an object is an error 2023-05-16 20:25:04 +03:00