arkos 1.2.30-test → 1.2.31-test

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 (46) hide show
  1. package/dist/cjs/modules/auth/auth.router.js +8 -82
  2. package/dist/cjs/modules/auth/auth.router.js.map +1 -1
  3. package/dist/cjs/modules/base/utils/helpers/base.router.helpers.js +9 -93
  4. package/dist/cjs/modules/base/utils/helpers/base.router.helpers.js.map +1 -1
  5. package/dist/cjs/modules/error-handler/utils/catch-async.js.map +1 -1
  6. package/dist/cjs/modules/file-upload/file-upload.router.js +6 -19
  7. package/dist/cjs/modules/file-upload/file-upload.router.js.map +1 -1
  8. package/dist/cjs/modules/file-upload/utils/helpers/file-upload.helpers.js +7 -0
  9. package/dist/cjs/modules/file-upload/utils/helpers/file-upload.helpers.js.map +1 -1
  10. package/dist/cjs/server.js +1 -1
  11. package/dist/cjs/server.js.map +1 -1
  12. package/dist/cjs/utils/cli/dev.js +5 -5
  13. package/dist/cjs/utils/cli/dev.js.map +1 -1
  14. package/dist/cjs/utils/cli/utils/cli.helpers.js +1 -1
  15. package/dist/cjs/utils/features/api.features.js +9 -3
  16. package/dist/cjs/utils/features/api.features.js.map +1 -1
  17. package/dist/cjs/utils/helpers/routers.helpers.js +21 -0
  18. package/dist/cjs/utils/helpers/routers.helpers.js.map +1 -0
  19. package/dist/cjs/utils/sheu.js +101 -125
  20. package/dist/cjs/utils/sheu.js.map +1 -1
  21. package/dist/esm/modules/auth/auth.router.js +8 -82
  22. package/dist/esm/modules/auth/auth.router.js.map +1 -1
  23. package/dist/esm/modules/base/utils/helpers/base.router.helpers.js +9 -93
  24. package/dist/esm/modules/base/utils/helpers/base.router.helpers.js.map +1 -1
  25. package/dist/esm/modules/error-handler/utils/catch-async.js.map +1 -1
  26. package/dist/esm/modules/file-upload/file-upload.router.js +6 -19
  27. package/dist/esm/modules/file-upload/file-upload.router.js.map +1 -1
  28. package/dist/esm/modules/file-upload/utils/helpers/file-upload.helpers.js +6 -0
  29. package/dist/esm/modules/file-upload/utils/helpers/file-upload.helpers.js.map +1 -1
  30. package/dist/esm/server.js +1 -1
  31. package/dist/esm/server.js.map +1 -1
  32. package/dist/esm/utils/cli/dev.js +5 -5
  33. package/dist/esm/utils/cli/dev.js.map +1 -1
  34. package/dist/esm/utils/cli/utils/cli.helpers.js +1 -1
  35. package/dist/esm/utils/features/api.features.js +9 -3
  36. package/dist/esm/utils/features/api.features.js.map +1 -1
  37. package/dist/esm/utils/helpers/routers.helpers.js +16 -0
  38. package/dist/esm/utils/helpers/routers.helpers.js.map +1 -0
  39. package/dist/esm/utils/sheu.js +101 -125
  40. package/dist/esm/utils/sheu.js.map +1 -1
  41. package/dist/types/modules/error-handler/utils/catch-async.d.ts +1 -0
  42. package/dist/types/modules/file-upload/utils/helpers/file-upload.helpers.d.ts +2 -1
  43. package/dist/types/utils/features/api.features.d.ts +1 -0
  44. package/dist/types/utils/helpers/routers.helpers.d.ts +2 -0
  45. package/dist/types/utils/sheu.d.ts +66 -21
  46. package/package.json +1 -1
@@ -1,25 +1,70 @@
1
1
  declare class Sheu {
2
- codes: string[];
3
- constructor();
4
- _apply(text: string): string;
5
- _chain(): Sheu;
6
- red(text?: string): string | Sheu;
7
- blue(text?: string): string | Sheu;
8
- green(text?: string): string | Sheu;
9
- yellow(text?: string): string | Sheu;
10
- cyan(text?: string): string | Sheu;
11
- magenta(text?: string): string | Sheu;
12
- white(text?: string): string | Sheu;
13
- black(text?: string): string | Sheu;
14
- gray(text?: string): string | Sheu;
15
- orange(text?: string): string | Sheu;
16
- bold(text?: string): string | Sheu;
17
- apply(text: string): string;
18
- info(message?: string): string;
19
- error(message?: string): string;
20
- ready(message?: string): string;
21
- done(message?: string): string;
22
- warn(message?: string): void;
2
+ private getTimestamp;
3
+ private formatText;
4
+ private getColorCode;
5
+ red(text: string, options?: {
6
+ timestamp?: boolean | string;
7
+ bold?: boolean;
8
+ }): string;
9
+ blue(text: string, options?: {
10
+ timestamp?: boolean | string;
11
+ bold?: boolean;
12
+ }): string;
13
+ green(text: string, options?: {
14
+ timestamp?: boolean | string;
15
+ bold?: boolean;
16
+ }): string;
17
+ yellow(text: string, options?: {
18
+ timestamp?: boolean | string;
19
+ bold?: boolean;
20
+ }): string;
21
+ cyan(text: string, options?: {
22
+ timestamp?: boolean | string;
23
+ bold?: boolean;
24
+ }): string;
25
+ magenta(text: string, options?: {
26
+ timestamp?: boolean | string;
27
+ bold?: boolean;
28
+ }): string;
29
+ white(text: string, options?: {
30
+ timestamp?: boolean | string;
31
+ bold?: boolean;
32
+ }): string;
33
+ black(text: string, options?: {
34
+ timestamp?: boolean | string;
35
+ bold?: boolean;
36
+ }): string;
37
+ gray(text: string, options?: {
38
+ timestamp?: boolean | string;
39
+ bold?: boolean;
40
+ }): string;
41
+ orange(text: string, options?: {
42
+ timestamp?: boolean | string;
43
+ bold?: boolean;
44
+ }): string;
45
+ bold(text: string, options?: {
46
+ timestamp?: boolean | string;
47
+ }): string;
48
+ info(message: string, options?: {
49
+ timestamp?: boolean | string;
50
+ bold?: boolean;
51
+ }): string;
52
+ error(message: string, options?: {
53
+ timestamp?: boolean | string;
54
+ bold?: boolean;
55
+ }): string;
56
+ ready(message: string, options?: {
57
+ timestamp?: boolean | string;
58
+ bold?: boolean;
59
+ }): string;
60
+ done(message: string, options?: {
61
+ timestamp?: boolean | string;
62
+ bold?: boolean;
63
+ }): string;
64
+ warn(message: string, options?: {
65
+ timestamp?: boolean | string;
66
+ bold?: boolean;
67
+ }): string;
23
68
  }
24
69
  declare const sheu: Sheu;
25
70
  export default sheu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkos",
3
- "version": "1.2.30-test",
3
+ "version": "1.2.31-test",
4
4
  "description": "The Express & Prisma Framework For RESTful API",
5
5
  "main": "dist/cjs/exports/index.js",
6
6
  "module": "dist/esm/exports/index.js",