tshex-cli 1.0.16 → 1.0.18
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.
- package/README.es.md +1449 -0
- package/README.md +1449 -0
- package/build/main.js +11 -38
- package/package.json +8 -10
- package/source/main.ts +11 -44
- package/templates/ctx/example-ports.ts +5 -0
- package/templates/lib/shared/application/data-sources.ts +102 -0
- package/templates/lib/shared/application/http.ts +28 -40
- package/templates/lib/shared/application/loggers.ts +6 -30
- package/templates/lib/shared/application/validations.ts +10 -0
- package/readme.md +0 -229
- package/templates/ctx/index.ts +0 -0
- package/templates/lib/shared/application/databases.ts +0 -81
- package/templates/react-project/core/context/adapters/api/.gitkeep +0 -0
- package/templates/react-project/core/context/adapters/hooks/.gitkeep +0 -0
- package/templates/react-project/core/context/adapters/schemas/.gitkeep +0 -0
- package/templates/react-project/core/context/application/.gitkeep +0 -0
- package/templates/react-project/core/context/domain/.gitkeep +0 -0
- package/templates/react-project/core/context/languages/.gitkeep +0 -0
- package/templates/react-project/core/shared/adapters/i18n/.gitkeep +0 -0
- package/templates/react-project/dom-client/context/Example.tsx +0 -11
- package/templates/react-project/dom-client/context/assets/.gitkeep +0 -0
- package/templates/react-project/dom-client/context/styles/.gitkeep +0 -0
- package/templates/react-project/dom-server/context/Example.tsx +0 -11
- package/templates/react-project/dom-server/context/assets/.gitkeep +0 -0
- package/templates/react-project/dom-server/context/styles/.gitkeep +0 -0
- package/templates/react-project/index.d.ts +0 -1
- package/templates/react-project/native/context/Example.tsx +0 -11
- package/templates/react-project/native/context/assets/.gitkeep +0 -0
- package/templates/react-project/native/context/styles/.gitkeep +0 -0
- package/templates/react-project/tests/core/.gitkeep +0 -0
- package/templates/react-project/tests/dom-client/.gitkeep +0 -0
- package/templates/react-project/tests/dom-server/.gitkeep +0 -0
- package/templates/react-project/tests/native/.gitkeep +0 -0
- /package/templates/{react-context → ctx-react}/adapters/api/.gitkeep +0 -0
- /package/templates/{react-context → ctx-react}/adapters/hooks/.gitkeep +0 -0
- /package/templates/{react-context → ctx-react}/adapters/schemas/.gitkeep +0 -0
- /package/templates/{react-context → ctx-react}/application/.gitkeep +0 -0
- /package/templates/{react-context → ctx-react}/domain/.gitkeep +0 -0
- /package/templates/{react-context → ctx-react}/languages/.gitkeep +0 -0
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
// Libraries
|
|
2
|
-
|
|
3
|
-
// Same Layer
|
|
4
|
-
|
|
5
|
-
// Lower Layers
|
|
6
|
-
|
|
7
|
-
// Types
|
|
8
|
-
|
|
9
|
-
// Constants
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @description
|
|
13
|
-
*/
|
|
14
|
-
export abstract class DataManager {
|
|
15
|
-
[property: string]: unknown
|
|
16
|
-
|
|
17
|
-
// Public Attributes
|
|
18
|
-
|
|
19
|
-
// Protected Attributes
|
|
20
|
-
|
|
21
|
-
// Private Attributes
|
|
22
|
-
|
|
23
|
-
// Public Static Attributes
|
|
24
|
-
|
|
25
|
-
// Protected Static Attributes
|
|
26
|
-
|
|
27
|
-
// Private Static Attributes
|
|
28
|
-
|
|
29
|
-
// Constructor, Getters, Setters
|
|
30
|
-
|
|
31
|
-
// Public Methods
|
|
32
|
-
|
|
33
|
-
public abstract connect(...args: unknown[]): Promise<unknown>
|
|
34
|
-
|
|
35
|
-
public abstract disconnect(): Promise<unknown>
|
|
36
|
-
|
|
37
|
-
// Protected Methods
|
|
38
|
-
|
|
39
|
-
// Private Methods
|
|
40
|
-
|
|
41
|
-
// Public Static Methods
|
|
42
|
-
|
|
43
|
-
// Protected Static Methods
|
|
44
|
-
|
|
45
|
-
// Private Static Methods
|
|
46
|
-
} //:: class
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @description Represents a data source.
|
|
50
|
-
*/
|
|
51
|
-
export abstract class Repository<Manager extends DataManager> {
|
|
52
|
-
[property: string]: unknown
|
|
53
|
-
|
|
54
|
-
// Public Attributes
|
|
55
|
-
|
|
56
|
-
// Protected Attributes
|
|
57
|
-
|
|
58
|
-
// Private Attributes
|
|
59
|
-
|
|
60
|
-
// Public Static Attributes
|
|
61
|
-
|
|
62
|
-
// Protected Static Attributes
|
|
63
|
-
|
|
64
|
-
// Private Static Attributes
|
|
65
|
-
|
|
66
|
-
// Constructor, Getters, Setters
|
|
67
|
-
|
|
68
|
-
public constructor(public readonly manager: Manager) {}
|
|
69
|
-
|
|
70
|
-
// Public Methods
|
|
71
|
-
|
|
72
|
-
// Protected Methods
|
|
73
|
-
|
|
74
|
-
// Private Methods
|
|
75
|
-
|
|
76
|
-
// Public Static Methods
|
|
77
|
-
|
|
78
|
-
// Protected Static Methods
|
|
79
|
-
|
|
80
|
-
// Private Static Methods
|
|
81
|
-
} //:: class
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
type Generic<T=unknown> = Record<string, T>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|