cabloy 5.1.15 → 5.1.19

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 (196) hide show
  1. package/{vona/.github/workflows/actions-cov-pg.yml → .github/workflows/vona-cov-pg.yml} +7 -9
  2. package/{vona/.github/workflows/project-test.yml → .github/workflows/vona-test-crud.yml} +12 -12
  3. package/{vona/.github/workflows/actions-test-mysql.yml → .github/workflows/vona-test-mysql.yml} +6 -3
  4. package/{vona/.github/workflows/actions-test-pg.yml → .github/workflows/vona-test-pg.yml} +6 -3
  5. package/{vona/.github/workflows/actions-test-sqlite3.yml → .github/workflows/vona-test-sqlite3.yml} +6 -3
  6. package/{vona/.github/workflows/actions-tsc.yml → .github/workflows/vona-tsc.yml} +6 -4
  7. package/.github/workflows/zova-ui.yml +39 -0
  8. package/.gitignore +0 -0
  9. package/CHANGELOG.md +8 -0
  10. package/LICENSE +0 -0
  11. package/package.json +26 -26
  12. package/scripts/init.ts +29 -6
  13. package/scripts/upgrade.ts +5 -5
  14. package/vona/README.md +0 -0
  15. package/vona/README.zh-CN.md +0 -0
  16. package/vona/docker-compose-original/docker-compose.original.yml +51 -0
  17. package/vona/env/.env.prod.docker +4 -1
  18. package/vona/packages-cli/cabloy-cli/LICENSE +0 -0
  19. package/vona/packages-cli/cabloy-cli/README.md +0 -0
  20. package/vona/packages-cli/cabloy-cli/package.json +1 -1
  21. package/vona/packages-cli/cabloy-cli/src/start.ts +7 -10
  22. package/vona/packages-cli/cabloy-cli/src/utils.ts +8 -0
  23. package/vona/packages-cli/cli/LICENSE +0 -0
  24. package/vona/packages-cli/cli/README.md +0 -0
  25. package/vona/packages-cli/cli/package.json +2 -1
  26. package/vona/packages-cli/cli/src/bin/vona.ts +15 -4
  27. package/vona/packages-cli/cli-set-api/LICENSE +0 -0
  28. package/vona/packages-cli/cli-set-api/README.md +0 -0
  29. package/vona/packages-cli/cli-set-api/cli/templates/create/module/boilerplate/_package.json +0 -0
  30. package/vona/packages-cli/cli-set-api/cli/templates/create/module/boilerplate/src/index.ts_ +0 -0
  31. package/vona/packages-cli/cli-set-api/cli/templates/create/suite/modules/.gitkeep +0 -0
  32. package/vona/packages-cli/cli-set-api/package.json +1 -1
  33. package/vona/packages-cli/cli-set-api/src/lib/bean/cli.bin.test.ts +10 -1
  34. package/vona/packages-utils/babel-plugin-vona-bean-module/README.md +0 -0
  35. package/vona/packages-utils/babel-plugin-vona-bean-module/package.json +0 -0
  36. package/vona/packages-utils/cascade-extend/LICENSE +0 -0
  37. package/vona/packages-utils/cascade-extend/README.md +0 -0
  38. package/vona/packages-utils/cascade-extend/package.json +0 -0
  39. package/vona/packages-utils/compose/README.md +0 -0
  40. package/vona/packages-utils/compose/package.json +0 -0
  41. package/vona/packages-utils/deps/README.md +0 -0
  42. package/vona/packages-utils/deps/package.json +0 -0
  43. package/vona/packages-utils/dotenv/README.md +0 -0
  44. package/vona/packages-utils/dotenv/package.json +0 -0
  45. package/vona/packages-utils/extend/README.md +0 -0
  46. package/vona/packages-utils/extend/package.json +0 -0
  47. package/vona/packages-utils/json5/README.md +0 -0
  48. package/vona/packages-utils/json5/package.json +0 -0
  49. package/vona/packages-utils/localeutil/README.md +0 -0
  50. package/vona/packages-utils/localeutil/package.json +0 -0
  51. package/vona/packages-utils/module-glob/README.md +0 -0
  52. package/vona/packages-utils/module-glob/package.json +0 -0
  53. package/vona/packages-utils/module-info-pro/README.md +0 -0
  54. package/vona/packages-utils/module-info-pro/package.json +0 -0
  55. package/vona/packages-utils/password-hash-salt/LICENSE +0 -0
  56. package/vona/packages-utils/password-hash-salt/README.md +0 -0
  57. package/vona/packages-utils/password-hash-salt/package.json +0 -0
  58. package/vona/packages-utils/process-helper/README.md +0 -0
  59. package/vona/packages-utils/process-helper/package.json +0 -0
  60. package/vona/packages-utils/socket/package.json +0 -0
  61. package/vona/packages-utils/table-identity/LICENSE +0 -0
  62. package/vona/packages-utils/table-identity/README.md +0 -0
  63. package/vona/packages-utils/table-identity/package.json +0 -0
  64. package/vona/packages-utils/utils/README.md +0 -0
  65. package/vona/packages-utils/utils/package.json +0 -0
  66. package/vona/packages-utils/zod-errors-custom/package.json +0 -0
  67. package/vona/packages-utils/zod-openapi/package.json +0 -0
  68. package/vona/packages-utils/zod-query/package.json +0 -0
  69. package/vona/packages-vona/vona/LICENSE +0 -0
  70. package/vona/packages-vona/vona/README.md +0 -0
  71. package/vona/packages-vona/vona/README.zh-CN.md +0 -0
  72. package/vona/packages-vona/vona/package.json +1 -1
  73. package/vona/packages-vona/vona-core/package.json +0 -0
  74. package/vona/packages-vona/vona-core/src/index.ts +0 -0
  75. package/vona/packages-vona/vona-core/src/lib/bean/resource/error/errorClass.ts +0 -0
  76. package/vona/packages-vona/vona-core/src/lib/bean/resource/error/errorInternal.ts +0 -0
  77. package/vona/packages-vona/vona-core/src/lib/core/context.ts +0 -0
  78. package/vona/packages-vona/vona-core/src/lib/core/meta.ts +0 -0
  79. package/vona/packages-vona/vona-core/src/lib/locale/zh-cn.ts +0 -0
  80. package/vona/packages-vona/vona-core/src/lib/module/config.ts +0 -0
  81. package/vona/packages-vona/vona-core/src/lib/module/constant.ts +0 -0
  82. package/vona/packages-vona/vona-core/src/lib/module/errors.ts +0 -0
  83. package/vona/packages-vona/vona-core/src/lib/module/loader.ts +0 -0
  84. package/vona/packages-vona/vona-core/src/lib/module/locales.ts +0 -0
  85. package/vona/packages-vona/vona-core/src/lib/module/module.ts +0 -0
  86. package/vona/packages-vona/vona-core/src/lib/utils/util.ts +0 -0
  87. package/vona/packages-vona/vona-mock/README.md +0 -0
  88. package/vona/packages-vona/vona-mock/package.json +0 -0
  89. package/vona/packages-vona/vona-shared/LICENSE +0 -0
  90. package/vona/packages-vona/vona-shared/package.json +0 -0
  91. package/vona/pnpm-lock.yaml +9 -0
  92. package/vona/scripts/release.sh +0 -0
  93. package/vona/src/suite-vendor/a-auth/modules/a-auth/src/lib/strategyMock.ts +0 -0
  94. package/vona/src/suite-vendor/a-cabloy/modules/a-status/package.json +0 -0
  95. package/vona/src/suite-vendor/a-cabloy/modules/a-status/src/model/status.ts +0 -0
  96. package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
  97. package/vona/src/suite-vendor/a-vona/modules/a-instance/package.json +0 -0
  98. package/vona/src/suite-vendor/a-vona/modules/a-instance/src/index.ts +0 -0
  99. package/vona/src/suite-vendor/a-vona/modules/a-version/package.json +0 -0
  100. package/vona/src/suite-vendor/a-vona/modules/a-version/src/config/errors.ts +0 -0
  101. package/vona/src/suite-vendor/a-vona/modules/a-version/src/config/locale/zh-cn.ts +0 -0
  102. package/vona/src/suite-vendor/a-vona/modules/a-version/src/index.ts +0 -0
  103. package/vona/src/suite-vendor/a-vona/modules/test-vona/package.json +1 -1
  104. package/vona/src/suite-vendor/a-vona/modules/test-vona/test/mail.test.ts +1 -1
  105. package/vona/src/suite-vendor/a-vona/package.json +1 -1
  106. package/zova/packages-cli/cli/LICENSE +0 -0
  107. package/zova/packages-cli/cli/README.md +0 -0
  108. package/zova/packages-cli/cli/package.json +3 -3
  109. package/zova/packages-cli/cli-set-front/LICENSE +0 -0
  110. package/zova/packages-cli/cli-set-front/README.md +0 -0
  111. package/zova/packages-cli/cli-set-front/cli/templates/create/module/boilerplate/_package.json +0 -0
  112. package/zova/packages-cli/cli-set-front/cli/templates/create/module/boilerplate/src/index.ts_ +0 -0
  113. package/zova/packages-cli/cli-set-front/cli/templates/create/suite/modules/.gitkeep +0 -0
  114. package/zova/packages-cli/cli-set-front/package.json +2 -2
  115. package/zova/packages-utils/babel-plugin-zova-bean-module/LICENSE +0 -0
  116. package/zova/packages-utils/babel-plugin-zova-bean-module/README.md +0 -0
  117. package/zova/packages-utils/babel-plugin-zova-bean-module/package.json +0 -0
  118. package/zova/packages-utils/babel-plugin-zova-bean-use/LICENSE +0 -0
  119. package/zova/packages-utils/babel-plugin-zova-bean-use/README.md +0 -0
  120. package/zova/packages-utils/babel-plugin-zova-bean-use/package.json +0 -0
  121. package/zova/packages-utils/babel-plugin-zova-behavior/LICENSE +0 -0
  122. package/zova/packages-utils/babel-plugin-zova-behavior/README.md +0 -0
  123. package/zova/packages-utils/babel-plugin-zova-behavior/package.json +0 -0
  124. package/zova/packages-utils/babel-plugin-zova-component/LICENSE +0 -0
  125. package/zova/packages-utils/babel-plugin-zova-component/README.md +0 -0
  126. package/zova/packages-utils/babel-plugin-zova-component/package.json +0 -0
  127. package/zova/packages-utils/logger/LICENSE +0 -0
  128. package/zova/packages-utils/logger/README.md +0 -0
  129. package/zova/packages-utils/logger/package.json +0 -0
  130. package/zova/packages-utils/mutate-on-copy/LICENSE +0 -0
  131. package/zova/packages-utils/mutate-on-copy/README.md +0 -0
  132. package/zova/packages-utils/mutate-on-copy/package.json +0 -0
  133. package/zova/packages-utils/quasar-app-extension-zova/LICENSE +0 -0
  134. package/zova/packages-utils/word-utils/LICENSE +0 -0
  135. package/zova/packages-utils/word-utils/README.md +0 -0
  136. package/zova/packages-utils/word-utils/package.json +0 -0
  137. package/zova/packages-utils/zova-jsx/LICENSE +0 -0
  138. package/zova/packages-utils/zova-jsx/package.json +0 -0
  139. package/zova/packages-utils/zova-openapi/LICENSE +0 -0
  140. package/zova/packages-utils/zova-openapi/package.json +0 -0
  141. package/zova/packages-utils/zova-vite/LICENSE +0 -0
  142. package/zova/packages-utils/zova-vite/README.md +0 -0
  143. package/zova/packages-utils/zova-vite/package.json +0 -0
  144. package/zova/packages-zova/zova/LICENSE +0 -0
  145. package/zova/packages-zova/zova/package.json +2 -2
  146. package/zova/packages-zova/zova-core/LICENSE +0 -0
  147. package/zova/packages-zova/zova-core/README.md +0 -0
  148. package/zova/packages-zova/zova-core/package.json +0 -0
  149. package/zova/packages-zova/zova-core/src/bean/resource/error/errorClass.ts +0 -0
  150. package/zova/packages-zova/zova-core/src/bean/resource/error/errorInternal.ts +0 -0
  151. package/zova/pnpm-lock.yaml +14 -14
  152. package/zova/scripts/release.sh +0 -0
  153. package/zova/src/suite/a-home/modules/home-index/package.json +0 -0
  154. package/zova/src/suite/a-home/modules/home-index/src/routes.ts +0 -0
  155. package/zova/src/suite-vendor/a-cabloy/LICENSE +0 -0
  156. package/zova/src/suite-vendor/a-cabloy/modules/rest-resource/LICENSE +0 -0
  157. package/zova/src/suite-vendor/a-zova/LICENSE +0 -0
  158. package/zova/src/suite-vendor/a-zova/modules/a-api/LICENSE +0 -0
  159. package/zova/src/suite-vendor/a-zova/modules/a-app/LICENSE +0 -0
  160. package/zova/src/suite-vendor/a-zova/modules/a-bean/LICENSE +0 -0
  161. package/zova/src/suite-vendor/a-zova/modules/a-behavior/LICENSE +0 -0
  162. package/zova/src/suite-vendor/a-zova/modules/a-behaviors/LICENSE +0 -0
  163. package/zova/src/suite-vendor/a-zova/modules/a-boundary/LICENSE +0 -0
  164. package/zova/src/suite-vendor/a-zova/modules/a-command/LICENSE +0 -0
  165. package/zova/src/suite-vendor/a-zova/modules/a-fetch/LICENSE +0 -0
  166. package/zova/src/suite-vendor/a-zova/modules/a-form/LICENSE +0 -0
  167. package/zova/src/suite-vendor/a-zova/modules/a-icon/LICENSE +0 -0
  168. package/zova/src/suite-vendor/a-zova/modules/a-interceptor/LICENSE +0 -0
  169. package/zova/src/suite-vendor/a-zova/modules/a-logger/LICENSE +0 -0
  170. package/zova/src/suite-vendor/a-zova/modules/a-meta/LICENSE +0 -0
  171. package/zova/src/suite-vendor/a-zova/modules/a-model/LICENSE +0 -0
  172. package/zova/src/suite-vendor/a-zova/modules/a-openapi/LICENSE +0 -0
  173. package/zova/src/suite-vendor/a-zova/modules/a-router/LICENSE +0 -0
  174. package/zova/src/suite-vendor/a-zova/modules/a-routerstack/LICENSE +0 -0
  175. package/zova/src/suite-vendor/a-zova/modules/a-routertabs/LICENSE +0 -0
  176. package/zova/src/suite-vendor/a-zova/modules/a-ssr/LICENSE +0 -0
  177. package/zova/src/suite-vendor/a-zova/modules/a-ssrhmr/LICENSE +0 -0
  178. package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/LICENSE +0 -0
  179. package/zova/src/suite-vendor/a-zova/modules/a-style/LICENSE +0 -0
  180. package/zova/src/suite-vendor/a-zova/modules/a-table/LICENSE +0 -0
  181. package/zova/src/suite-vendor/a-zova/modules/a-zod/LICENSE +0 -0
  182. package/zova/src/suite-vendor/a-zova/modules/a-zova/LICENSE +0 -0
  183. package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +2 -2
  184. package/zova/src/suite-vendor/a-zova/package.json +2 -2
  185. package/vona/.github/workflows/docs-deploy.yml +0 -70
  186. package/vona/.vscode/extensions.json +0 -4
  187. package/vona/.vscode/settings.json +0 -52
  188. package/vona/.vscode/vona.code-snippets +0 -207
  189. package/vona/docker-compose.original.yml +0 -88
  190. package/zova/.github/workflows/actions-dev.yml +0 -24
  191. package/zova/.github/workflows/actions-ui.yml +0 -45
  192. package/zova/.github/workflows/deploy.yml +0 -72
  193. package/zova/.vscode/extensions.json +0 -9
  194. package/zova/.vscode/settings.json +0 -44
  195. package/zova/.vscode/zova.code-snippets +0 -227
  196. /package/vona/{docker-compose-dockerfile-app → docker-compose-original/docker-compose-dockerfile-app} +0 -0
@@ -1,227 +0,0 @@
1
- /**
2
- * supported code snippets as follows:
3
- * __init__ __dispose__
4
- **/
5
- {
6
- "__init__": {
7
- "scope": "typescript,typescriptreact",
8
- "prefix": "init",
9
- "body": ["protected async __init__() {", " $0", "}"],
10
- "description": "__init__",
11
- },
12
- "__dispose__": {
13
- "scope": "typescript,typescriptreact",
14
- "prefix": "dispose",
15
- "body": ["protected __dispose__() {", " $0", "}"],
16
- "description": "__dispose__",
17
- },
18
- "aop.__init__": {
19
- "scope": "typescript,typescriptreact",
20
- "prefix": "aopinit",
21
- "body": [
22
- "protected __init__: AopActionInit<ClassSome> = async (_args, next, _receiver) => {",
23
- " await next();",
24
- " $0",
25
- "}"
26
- ],
27
- "description": "aop.__init__"
28
- },
29
- "aop.__dispose__": {
30
- "scope": "typescript,typescriptreact",
31
- "prefix": "aopdispose",
32
- "body": [
33
- "protected __dispose__: AopActionDispose<ClassSome> = (_args, next, _receiver) => {",
34
- " $0",
35
- " next();",
36
- "}"
37
- ],
38
- "description": "aop.__dispose__"
39
- },
40
- "aop.__get__": {
41
- "scope": "typescript,typescriptreact",
42
- "prefix": "aopget",
43
- "body": [
44
- "protected __get__: AopActionGet<ClassSome> = (_prop, next, _receiver) => {",
45
- " const value = next();",
46
- " return value;",
47
- "}"
48
- ],
49
- "description": "aop.__get__"
50
- },
51
- "aop.__set__": {
52
- "scope": "typescript,typescriptreact",
53
- "prefix": "aopset",
54
- "body": [
55
- "protected __set__: AopActionSet<ClassSome> = (_prop, value, next, _receiver) => {",
56
- " return next(value);",
57
- "}"
58
- ],
59
- "description": "aop.__set__"
60
- },
61
- "aop.__method__": {
62
- "scope": "typescript,typescriptreact",
63
- "prefix": "aopmethod",
64
- "body": [
65
- "protected __method__: AopActionMethod<ClassSome> = (_method, _args, next, _receiver) => {",
66
- " $0",
67
- " return next();",
68
- "}"
69
- ],
70
- "description": "aop.__method__"
71
- },
72
- "aop.getter": {
73
- "scope": "typescript,typescriptreact",
74
- "prefix": "aopgetter",
75
- "body": [
76
- "protected __get_xxx__: AopActionGetter<ClassSome, 'xxx'> = function (next, _receiver) {",
77
- " const value = next();",
78
- " return value;",
79
- "}"
80
- ],
81
- "description": "aop.getter"
82
- },
83
- "aop.setter": {
84
- "scope": "typescript,typescriptreact",
85
- "prefix": "aopsetter",
86
- "body": [
87
- "protected __set_xxx__: AopActionSetter<ClassSome, 'xxx'> = function (value, next, _receiver) {",
88
- " return next(value);",
89
- "}"
90
- ],
91
- "description": "aop.setter"
92
- },
93
- "aop.action": {
94
- "scope": "typescript,typescriptreact",
95
- "prefix": "aopaction",
96
- "body": [
97
- "action: AopAction<ClassSome, 'action'> = async (_args, next, _receiver) => {",
98
- " $0",
99
- " return await next();",
100
- "}"
101
- ],
102
- "description": "aop.action"
103
- },
104
- "aop.actionsync": {
105
- "scope": "typescript,typescriptreact",
106
- "prefix": "aopactionsync",
107
- "body": [
108
- "action: AopAction<ClassSome, 'action'> = (_args, next, _receiver) => {",
109
- " $0",
110
- " return next();",
111
- "}"
112
- ],
113
- "description": "aop.actionsync"
114
- },
115
- "aop.actionrender": {
116
- "scope": "typescript,typescriptreact",
117
- "prefix": "aopactionrender",
118
- "body": [
119
- "protected render: AopActionRender<ClassSome> = (_args, next, _receiver) => {",
120
- " const result = next();",
121
- " return result;",
122
- "}"
123
- ],
124
- "description": "aop.actionrender"
125
- },
126
- "aopmethod.get": {
127
- "scope": "typescript,typescriptreact",
128
- "prefix": "aopmethodget",
129
- "body": [
130
- "get(_options: IDecoratorAopMethodOptions, next: NextSync, _receiver: any, _prop: string) {",
131
- " return next();",
132
- "}"
133
- ],
134
- "description": "aopmethod.get"
135
- },
136
- "aopmethod.set": {
137
- "scope": "typescript,typescriptreact",
138
- "prefix": "aopmethodset",
139
- "body": [
140
- "set(_options: IDecoratorAopMethodOptions, value: any, next: NextSync, _receiver: any, _prop: string): boolean {",
141
- " return next(value);",
142
- "}"
143
- ],
144
- "description": "aopmethod.set"
145
- },
146
- "aopmagic.get": {
147
- "scope": "typescript,typescriptreact",
148
- "prefix": "aopmagicget",
149
- "body": [
150
- "protected __get__(prop: string) {",
151
- " $0",
152
- "}"
153
- ],
154
- "description": "aopmagic.get"
155
- },
156
- "aopmagic.set": {
157
- "scope": "typescript,typescriptreact",
158
- "prefix": "aopmagicset",
159
- "body": [
160
- "protected __set__(prop: string, value: any): boolean {",
161
- " $0",
162
- " return false;",
163
- "}"
164
- ],
165
- "description": "aopmagic.set"
166
- },
167
- "record.flavor": {
168
- "scope": "typescript,typescriptreact",
169
- "prefix": "recordflavor",
170
- "body": [
171
- "declare module '@cabloy/module-info' {",
172
- " export interface ZovaMetaFlavorExtend {",
173
- " $0: never;",
174
- " }",
175
- "}"
176
- ],
177
- "description": "record.flavor"
178
- },
179
- "record.appmode": {
180
- "scope": "typescript,typescriptreact",
181
- "prefix": "recordappmode",
182
- "body": [
183
- "declare module '@cabloy/module-info' {",
184
- " export interface ZovaMetaAppModeExtend {",
185
- " $0: never;",
186
- " }",
187
- "}"
188
- ],
189
- "description": "record.appmode"
190
- },
191
- "record.loggerclient": {
192
- "scope": "typescript,typescriptreact",
193
- "prefix": "recordloggerclient",
194
- "body": [
195
- "declare module 'zova' {",
196
- " export interface ILoggerClientRecord {",
197
- " $0: never;",
198
- " }",
199
- "}"
200
- ],
201
- "description": "record.loggerclient"
202
- },
203
- "record.loggerchild": {
204
- "scope": "typescript,typescriptreact",
205
- "prefix": "recordloggerchild",
206
- "body": [
207
- "declare module 'zova' {",
208
- " export interface ILoggerChildRecord {",
209
- " $0: never;",
210
- " }",
211
- "}"
212
- ],
213
- "description": "record.loggerchild"
214
- },
215
- "record.locale": {
216
- "scope": "typescript,typescriptreact",
217
- "prefix": "recordlocale",
218
- "body": [
219
- "declare module 'zova' {",
220
- " export interface ILocaleRecord {",
221
- " $0: never;",
222
- " }",
223
- "}"
224
- ],
225
- "description": "record.locale"
226
- },
227
- }