very-express 0.10.2 → 0.11.0
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.
Potentially problematic release.
This version of very-express might be problematic. Click here for more details.
- package/.tmp/_body.txt +1 -0
- package/.tmp/_idx.txt +1 -0
- package/.tmp/_token.txt +1 -0
- package/.tmp/check-a/app/.vex/meta.json +216 -0
- package/.tmp/check-a/app/Dockerfile +20 -0
- package/.tmp/check-a/app/README.md +39 -0
- package/.tmp/check-a/app/public/css/style.css +8 -0
- package/.tmp/check-a/app/public/js/deleteaccount.js +80 -0
- package/.tmp/check-a/app/public/js/login.js +59 -0
- package/.tmp/check-a/app/public/js/logincallback.js +19 -0
- package/.tmp/check-a/app/public/js/mytokens.js +11 -0
- package/.tmp/check-a/app/public/js/refreshtokens.js +23 -0
- package/.tmp/check-a/app/scripts/build.js +39 -0
- package/.tmp/check-a/app/scripts/oacg-fix.js +83 -0
- package/.tmp/check-a/app/tsconfig.json +30 -0
- package/.tmp/check-a/schemas/Project.json +41 -0
- package/.tmp/check-a/schemas/Session.json +49 -0
- package/.tmp/check-a/schemas/UserAuthProfiles.json +54 -0
- package/.tmp/check-a/vex.config.json +26 -0
- package/.tmp/check-b/app/.env +41 -0
- package/.tmp/check-b/app/.vex/meta.json +219 -0
- package/.tmp/check-b/app/Dockerfile +20 -0
- package/.tmp/check-b/app/README.md +39 -0
- package/.tmp/check-b/app/package.json +51 -0
- package/.tmp/check-b/app/public/css/style.css +8 -0
- package/.tmp/check-b/app/public/js/deleteaccount.js +80 -0
- package/.tmp/check-b/app/public/js/login.js +59 -0
- package/.tmp/check-b/app/public/js/logincallback.js +19 -0
- package/.tmp/check-b/app/public/js/mytokens.js +11 -0
- package/.tmp/check-b/app/public/js/refreshtokens.js +23 -0
- package/.tmp/check-b/app/scripts/build.js +39 -0
- package/.tmp/check-b/app/scripts/oacg-fix.js +83 -0
- package/.tmp/check-b/app/tsconfig.json +30 -0
- package/.tmp/check-b/app/tsoa.json +32 -0
- package/.tmp/check-b/schemas/Project.json +41 -0
- package/.tmp/check-b/vex.config.json +30 -0
- package/.tmp/check-c/app/.env +41 -0
- package/.tmp/check-c/app/.vex/meta.json +231 -0
- package/.tmp/check-c/app/Dockerfile +20 -0
- package/.tmp/check-c/app/README.md +39 -0
- package/.tmp/check-c/app/package.json +51 -0
- package/.tmp/check-c/app/public/css/style.css +8 -0
- package/.tmp/check-c/app/public/js/deleteaccount.js +80 -0
- package/.tmp/check-c/app/public/js/login.js +59 -0
- package/.tmp/check-c/app/public/js/logincallback.js +19 -0
- package/.tmp/check-c/app/public/js/mytokens.js +11 -0
- package/.tmp/check-c/app/public/js/refreshtokens.js +23 -0
- package/.tmp/check-c/app/scripts/build.js +39 -0
- package/.tmp/check-c/app/scripts/oacg-fix.js +83 -0
- package/.tmp/check-c/app/tsconfig.json +30 -0
- package/.tmp/check-c/app/tsoa.json +32 -0
- package/.tmp/check-c/schemas/Project.json +41 -0
- package/.tmp/check-c/schemas/User.json +81 -0
- package/.tmp/check-c/vex.config.json +30 -0
- package/.tmp/demo-project/vex.config.json +43 -0
- package/.tmp/demo-project2/vex.config.json +43 -0
- package/.tmp/demo-schemas/Client.json +65 -0
- package/.tmp/demo-schemas/FnbOrder.json +33 -0
- package/.tmp/demo-schemas/Job.json +86 -0
- package/.tmp/demo-schemas/KernelEvent.json +29 -0
- package/.tmp/demo-schemas/Package.json +77 -0
- package/.tmp/demo-schemas/Session.json +49 -0
- package/.tmp/demo-schemas/Tenant.json +22 -0
- package/.tmp/demo-schemas/User.json +81 -0
- package/.tmp/demo-schemas/UserAuthProfiles.json +54 -0
- package/.tmp/demo-schemas/UserContact.json +76 -0
- package/.tmp/demo-schemas/UserRole.json +40 -0
- package/.tmp/demo-schemas/UserTenant.json +39 -0
- package/.tmp/demo-schemas2/Client.json +65 -0
- package/.tmp/demo-schemas2/FnbOrder.json +33 -0
- package/.tmp/demo-schemas2/Job.json +86 -0
- package/.tmp/demo-schemas2/KernelEvent.json +29 -0
- package/.tmp/demo-schemas2/Package.json +77 -0
- package/.tmp/demo-schemas2/Session.json +49 -0
- package/.tmp/demo-schemas2/Tenant.json +22 -0
- package/.tmp/demo-schemas2/User.json +81 -0
- package/.tmp/demo-schemas2/UserAuthProfiles.json +54 -0
- package/.tmp/demo-schemas2/UserContact.json +76 -0
- package/.tmp/demo-schemas2/UserRole.json +40 -0
- package/.tmp/demo-schemas2/UserTenant.json +39 -0
- package/.tmp/e2e-db.url +1 -0
- package/.tmp/nouser/out/.env +41 -0
- package/.tmp/nouser/out/.vex/meta.json +323 -0
- package/.tmp/nouser/out/Dockerfile +20 -0
- package/.tmp/nouser/out/README.md +39 -0
- package/.tmp/nouser/out/package.json +51 -0
- package/.tmp/nouser/out/public/css/style.css +8 -0
- package/.tmp/nouser/out/public/js/deleteaccount.js +80 -0
- package/.tmp/nouser/out/public/js/login.js +59 -0
- package/.tmp/nouser/out/public/js/logincallback.js +19 -0
- package/.tmp/nouser/out/public/js/mytokens.js +11 -0
- package/.tmp/nouser/out/public/js/refreshtokens.js +23 -0
- package/.tmp/nouser/out/scripts/build.js +39 -0
- package/.tmp/nouser/out/scripts/oacg-fix.js +83 -0
- package/.tmp/nouser/out/tsconfig.json +30 -0
- package/.tmp/nouser/out/tsoa.json +32 -0
- package/.tmp/nouser/schemas/Project.json +41 -0
- package/.tmp/nouser/schemas/Session.json +49 -0
- package/.tmp/nouser/schemas/User.json +81 -0
- package/.tmp/nouser/schemas/UserAuthProfiles.json +54 -0
- package/.tmp/nouser/schemas/UserTenant.json +39 -0
- package/.tmp/nouser/vex.config.json +34 -0
- package/.tmp/npm-test-after-fix.log +217 -0
- package/.tmp/npm-test-final.log +165 -0
- package/.tmp/npm-test-final2.log +163 -0
- package/.tmp/npm-test-recheck.log +192 -0
- package/.tmp/npm-test-update.log +164 -0
- package/.tmp/npm-test.log +166 -0
- package/.tmp/output-build-after-fix.log +8 -0
- package/.tmp/output-build-baseline.log +8 -0
- package/.tmp/output-build-canonical.log +8 -0
- package/.tmp/output-build-final2.log +8 -0
- package/.tmp/output-build-reapply.log +8 -0
- package/.tmp/output-build.log +8 -0
- package/.tmp/output.env.bak +34 -0
- package/.tmp/probe_body.txt +1 -0
- package/.tmp/provision-e2e-db.js +41 -0
- package/.tmp/retry-nodestroy.log +18 -0
- package/.tmp/retry-recovery-final2.log +8 -0
- package/.tmp/retry-recovery-reapply.log +8 -0
- package/.tmp/retry-recovery.js +38 -0
- package/.tmp/run-e2e-single.js +21 -0
- package/.tmp/run-e2e.js +18 -0
- package/.tmp/verify-noauth/app/.env +41 -0
- package/.tmp/verify-noauth/app/.vex/meta.json +333 -0
- package/.tmp/verify-noauth/app/Dockerfile +20 -0
- package/.tmp/verify-noauth/app/README.md +39 -0
- package/.tmp/verify-noauth/app/package.json +51 -0
- package/.tmp/verify-noauth/app/public/css/style.css +8 -0
- package/.tmp/verify-noauth/app/public/js/deleteaccount.js +80 -0
- package/.tmp/verify-noauth/app/public/js/login.js +59 -0
- package/.tmp/verify-noauth/app/public/js/logincallback.js +19 -0
- package/.tmp/verify-noauth/app/public/js/mytokens.js +11 -0
- package/.tmp/verify-noauth/app/public/js/refreshtokens.js +23 -0
- package/.tmp/verify-noauth/app/scripts/build.js +39 -0
- package/.tmp/verify-noauth/app/scripts/oacg-fix.js +83 -0
- package/.tmp/verify-noauth/app/tsconfig.json +30 -0
- package/.tmp/verify-noauth/app/tsoa.json +32 -0
- package/.tmp/verify-noauth/schemas/Project.json +41 -0
- package/.tmp/verify-noauth/schemas/Session.json +49 -0
- package/.tmp/verify-noauth/schemas/User.json +81 -0
- package/.tmp/verify-noauth/schemas/UserAuthProfiles.json +54 -0
- package/.tmp/verify-noauth/schemas/UserTenant.json +39 -0
- package/.tmp/verify-noauth/vex.config.json +33 -0
- package/.tmp/verify-noauth-rbac/app/.env +41 -0
- package/.tmp/verify-noauth-rbac/app/.vex/meta.json +273 -0
- package/.tmp/verify-noauth-rbac/app/Dockerfile +20 -0
- package/.tmp/verify-noauth-rbac/app/README.md +39 -0
- package/.tmp/verify-noauth-rbac/app/package.json +51 -0
- package/.tmp/verify-noauth-rbac/app/public/css/style.css +8 -0
- package/.tmp/verify-noauth-rbac/app/public/js/deleteaccount.js +80 -0
- package/.tmp/verify-noauth-rbac/app/public/js/login.js +59 -0
- package/.tmp/verify-noauth-rbac/app/public/js/logincallback.js +19 -0
- package/.tmp/verify-noauth-rbac/app/public/js/mytokens.js +11 -0
- package/.tmp/verify-noauth-rbac/app/public/js/refreshtokens.js +23 -0
- package/.tmp/verify-noauth-rbac/app/scripts/build.js +39 -0
- package/.tmp/verify-noauth-rbac/app/scripts/oacg-fix.js +83 -0
- package/.tmp/verify-noauth-rbac/app/tsconfig.json +30 -0
- package/.tmp/verify-noauth-rbac/app/tsoa.json +32 -0
- package/.tmp/verify-noauth-rbac/schemas/Project.json +41 -0
- package/.tmp/verify-noauth-rbac/schemas/User.json +81 -0
- package/.tmp/verify-noauth-rbac/schemas/UserRole.json +38 -0
- package/.tmp/verify-noauth-rbac/vex.config.json +36 -0
- package/.tmp/verify.sh +103 -0
- package/.tmp/verify2.sh +103 -0
- package/.tmp/vex-gen-after-fix.log +221 -0
- package/.tmp/vex-gen-baseline.log +221 -0
- package/.tmp/vex-gen-canonical.log +221 -0
- package/.tmp/vex-gen-final.log +220 -0
- package/.tmp/vex-gen-final2.log +221 -0
- package/.tmp/vex-gen-reapply.log +221 -0
- package/.tmp/vex-gen.log +220 -0
- package/.tmp/vex-run-after-fix.log +3 -0
- package/.tmp/vex-run-baseline.log +11 -0
- package/.tmp/vex-run-before-fix.log +11 -0
- package/.tmp/vex-run-canonical.log +3 -0
- package/.tmp/vex-run-final2.log +3 -0
- package/.tmp/vex-run.log +3 -0
- package/.tmp/vo/app/.env +41 -0
- package/.tmp/vo/app/.vex/meta.json +231 -0
- package/.tmp/vo/app/Dockerfile +20 -0
- package/.tmp/vo/app/README.md +39 -0
- package/.tmp/vo/app/package.json +51 -0
- package/.tmp/vo/app/public/css/style.css +8 -0
- package/.tmp/vo/app/public/js/deleteaccount.js +80 -0
- package/.tmp/vo/app/public/js/login.js +59 -0
- package/.tmp/vo/app/public/js/logincallback.js +19 -0
- package/.tmp/vo/app/public/js/mytokens.js +11 -0
- package/.tmp/vo/app/public/js/refreshtokens.js +23 -0
- package/.tmp/vo/app/scripts/build.js +39 -0
- package/.tmp/vo/app/scripts/oacg-fix.js +83 -0
- package/.tmp/vo/app/tsconfig.json +30 -0
- package/.tmp/vo/app/tsoa.json +32 -0
- package/.tmp/vo/schemas/Project.json +41 -0
- package/.tmp/vo/vex.config.json +33 -0
- package/.tmp/vo-bad1/app/.env +41 -0
- package/.tmp/vo-bad1/app/.vex/meta.json +237 -0
- package/.tmp/vo-bad1/app/Dockerfile +20 -0
- package/.tmp/vo-bad1/app/README.md +39 -0
- package/.tmp/vo-bad1/app/package.json +51 -0
- package/.tmp/vo-bad1/app/public/css/style.css +8 -0
- package/.tmp/vo-bad1/app/public/js/deleteaccount.js +80 -0
- package/.tmp/vo-bad1/app/public/js/login.js +59 -0
- package/.tmp/vo-bad1/app/public/js/logincallback.js +19 -0
- package/.tmp/vo-bad1/app/public/js/mytokens.js +11 -0
- package/.tmp/vo-bad1/app/public/js/refreshtokens.js +23 -0
- package/.tmp/vo-bad1/app/scripts/build.js +39 -0
- package/.tmp/vo-bad1/app/scripts/oacg-fix.js +83 -0
- package/.tmp/vo-bad1/app/tsconfig.json +30 -0
- package/.tmp/vo-bad1/app/tsoa.json +32 -0
- package/.tmp/vo-bad1/schemas/Project.json +41 -0
- package/.tmp/vo-bad1/vex.config.json +33 -0
- package/.tmp/vo-bad2/app/.env +41 -0
- package/.tmp/vo-bad2/app/.vex/meta.json +237 -0
- package/.tmp/vo-bad2/app/Dockerfile +20 -0
- package/.tmp/vo-bad2/app/README.md +39 -0
- package/.tmp/vo-bad2/app/package.json +51 -0
- package/.tmp/vo-bad2/app/public/css/style.css +8 -0
- package/.tmp/vo-bad2/app/public/js/deleteaccount.js +80 -0
- package/.tmp/vo-bad2/app/public/js/login.js +59 -0
- package/.tmp/vo-bad2/app/public/js/logincallback.js +19 -0
- package/.tmp/vo-bad2/app/public/js/mytokens.js +11 -0
- package/.tmp/vo-bad2/app/public/js/refreshtokens.js +23 -0
- package/.tmp/vo-bad2/app/scripts/build.js +39 -0
- package/.tmp/vo-bad2/app/scripts/oacg-fix.js +83 -0
- package/.tmp/vo-bad2/app/tsconfig.json +30 -0
- package/.tmp/vo-bad2/app/tsoa.json +32 -0
- package/.tmp/vo-bad2/schemas/Project.json +41 -0
- package/.tmp/vo-bad2/vex.config.json +39 -0
- package/.tmp/vo-bad3/app/.env +41 -0
- package/.tmp/vo-bad3/app/.vex/meta.json +237 -0
- package/.tmp/vo-bad3/app/Dockerfile +20 -0
- package/.tmp/vo-bad3/app/README.md +39 -0
- package/.tmp/vo-bad3/app/package.json +51 -0
- package/.tmp/vo-bad3/app/public/css/style.css +8 -0
- package/.tmp/vo-bad3/app/public/js/deleteaccount.js +80 -0
- package/.tmp/vo-bad3/app/public/js/login.js +59 -0
- package/.tmp/vo-bad3/app/public/js/logincallback.js +19 -0
- package/.tmp/vo-bad3/app/public/js/mytokens.js +11 -0
- package/.tmp/vo-bad3/app/public/js/refreshtokens.js +23 -0
- package/.tmp/vo-bad3/app/scripts/build.js +39 -0
- package/.tmp/vo-bad3/app/scripts/oacg-fix.js +83 -0
- package/.tmp/vo-bad3/app/tsconfig.json +30 -0
- package/.tmp/vo-bad3/app/tsoa.json +32 -0
- package/.tmp/vo-bad3/schemas/Project.json +41 -0
- package/.tmp/vo-bad3/vex.config.json +33 -0
- package/dist/index.js +1156 -698
- package/dist/templates/_middlewares/UserContext.ts +1 -1
- package/dist/templates/_routes/FirebaseAuthUI.gen.ts +2 -2
- package/dist/templates/_routes/{LoginUI.ts → StarterUI.ts} +122 -8
- package/dist/templates/_utils/hash.ts +9 -4
- package/dist/templates/tenantJsonSchema/Tenant.json +22 -0
- package/docs/appGenerated/auth.md +50 -0
- package/docs/architecture/databaseTargets.md +23 -2
- package/docs/architecture/templates.md +7 -0
- package/docs/features/accountDeletion.md +5 -4
- package/docs/features/auditFields.md +2 -2
- package/docs/features/tenantIsolation.md +108 -15
- package/docs/releaseNote/v0-10-3.md +61 -0
- package/docs/releaseNote/v0-10-4.md +102 -0
- package/docs/releaseNote/v0-11-0.md +82 -0
- package/docs/vexJsonSchema.md +34 -1
- package/package.json +1 -1
- package/vex.config.json +6 -1
- package/dist/templates/_services/VexDbConnector.ts +0 -188
- package/dist/templates/_tenant/TenantScopeContext.ts +0 -56
package/.tmp/vex-gen.log
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
[35m
|
|
2
|
+
========== veryExpress CLI (vex) Start ==========
|
|
3
|
+
[0m
|
|
4
|
+
[34m[PROCESSING][0m validate vex.config.json
|
|
5
|
+
[36m[INFO][0m vex.config : "vex.config.json" No changes
|
|
6
|
+
Migration: last generated version: 0.10.6
|
|
7
|
+
[36m[INFO][0m Migration: no pending migrations.
|
|
8
|
+
[34m[PROCESSING][0m generate with config [
|
|
9
|
+
{
|
|
10
|
+
jsonSchemaDir: '/home/justin/Documents/VeryExpress/.tmp/demo-schemas',
|
|
11
|
+
rootDir: '/home/justin/Documents/VeryExpress/output',
|
|
12
|
+
srcDir: '/home/justin/Documents/VeryExpress/output/src',
|
|
13
|
+
openapiDir: '/home/justin/Documents/VeryExpress/output/src/openapi',
|
|
14
|
+
sysDir: '/home/justin/Documents/VeryExpress/output/src/system',
|
|
15
|
+
app: {
|
|
16
|
+
enableSwagger: true,
|
|
17
|
+
useUserSchema: true,
|
|
18
|
+
useObjectID: true,
|
|
19
|
+
allowApiCreateUpdate_id: false,
|
|
20
|
+
useStatefulRedisAuth: false,
|
|
21
|
+
showSoftDeleted: false
|
|
22
|
+
},
|
|
23
|
+
auth: {
|
|
24
|
+
localAuth: true,
|
|
25
|
+
useHttpOnlyCookieToken: true,
|
|
26
|
+
deleteAccount: true,
|
|
27
|
+
firebase: true,
|
|
28
|
+
oauthProviders: [Object],
|
|
29
|
+
verifyOnly: false
|
|
30
|
+
},
|
|
31
|
+
useRBAC: { roles: [Array], default: 'admin' },
|
|
32
|
+
tenant: { enable: true, IsolationMode: 'single' },
|
|
33
|
+
generator: { commitBeforeGenerate: false, disableVersionLabel: false },
|
|
34
|
+
dbType: 'sql'
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_controllers/_ControllerFactory.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/_ControllerFactory.gen.ts" No changes
|
|
38
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_middlewares/Authentication.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/Authentication.gen.ts" No changes
|
|
39
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_middlewares/JoinWhitelistMiddleware.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/JoinWhitelistMiddleware.gen.ts" No changes
|
|
40
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_middlewares/UserContext.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/UserContext.gen.ts" No changes
|
|
41
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_middlewares/tsoaAuthentication.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/tsoaAuthentication.gen.ts" No changes
|
|
42
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_routes/FirebaseAuthUI.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_routes/FirebaseAuthUI.gen.ts"
|
|
43
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_routes/StarterUI.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_routes/StarterUI.gen.ts" No changes
|
|
44
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_routes/oauth/OAuthRouteFactory.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_routes/oauth/OAuthRouteFactory.gen.ts" No changes
|
|
45
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/MongooseRepositoryAdapter.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/MongooseRepositoryAdapter.gen.ts" No changes
|
|
46
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/TypeOrmRepositoryAdapter.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/TypeOrmRepositoryAdapter.gen.ts" No changes
|
|
47
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/VexDb.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/VexDb.gen.ts" No changes
|
|
48
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/VexSystem.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/VexSystem.gen.ts" No changes
|
|
49
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/auth/JWTKeyStore.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/auth/JWTKeyStore.gen.ts" No changes
|
|
50
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/auth/JWTService.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/auth/JWTService.gen.ts" No changes
|
|
51
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/oauth/OAuthProfileMap.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/oauth/OAuthProfileMap.gen.ts" No changes
|
|
52
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_services/oauth/OAuthStrategyService.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_services/oauth/OAuthStrategyService.gen.ts" No changes
|
|
53
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/auth.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/auth.gen.ts" No changes
|
|
54
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexRepository.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexRepository.gen.ts"
|
|
55
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexRequest.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexRequest.gen.ts"
|
|
56
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexResErr.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexResErr.gen.ts"
|
|
57
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexResOk.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexResOk.gen.ts"
|
|
58
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexResponse.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/vex/VexResponse.gen.ts"
|
|
59
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_types/vex/index.ts : "/home/justin/Documents/VeryExpress/output/src/system/_types/vex/index.ts" No changes
|
|
60
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_utils/hash.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_utils/hash.gen.ts" No changes
|
|
61
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_utils/index.ts : "/home/justin/Documents/VeryExpress/output/src/system/_utils/index.ts" No changes
|
|
62
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_utils/logger.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_utils/logger.gen.ts" No changes
|
|
63
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_utils/processTimer.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_utils/processTimer.gen.ts" No changes
|
|
64
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_utils/response.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_utils/response.gen.ts" No changes
|
|
65
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_utils/validator.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_utils/validator.gen.ts" No changes
|
|
66
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/Dockerfile"
|
|
67
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/README.md"
|
|
68
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/public/css/style.css"
|
|
69
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/public/js/deleteaccount.js"
|
|
70
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/public/js/login.js"
|
|
71
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/public/js/logincallback.js"
|
|
72
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/public/js/mytokens.js"
|
|
73
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/public/js/refreshtokens.js"
|
|
74
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/scripts/build.js"
|
|
75
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/scripts/oacg-fix.js"
|
|
76
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/output/tsconfig.json"
|
|
77
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/.tmp/demo-schemas/Session.json : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Session.json"
|
|
78
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/.tmp/demo-schemas/User.json : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/User.json"
|
|
79
|
+
[32m[WRITING][0m FILE : /home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserAuthProfiles.json : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserAuthProfiles.json"
|
|
80
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/output/src/system/_roles/_RoleFactory.gen.ts : "/home/justin/Documents/VeryExpress/output/src/system/_roles/_RoleFactory.gen.ts" No changes
|
|
81
|
+
[36m[INFO][0m FILE : /home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserRole.json : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserRole.json" No changes
|
|
82
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Tenant.json"
|
|
83
|
+
[36m[INFO][0m FILE : AVOID OVERWRITE, skip "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserTenant.json"
|
|
84
|
+
[34m[PROCESSING][0m UserSchmea
|
|
85
|
+
[32m[WRITING][0m UserSchmea : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/User.json"
|
|
86
|
+
[34m[PROCESSING][0m Json Schema Formatting: update role definitions UserRole.role enum -> [visitor, member, admin]
|
|
87
|
+
[36m[INFO][0m Role Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserRole.json" No changes
|
|
88
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Client.json" No changes
|
|
89
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/FnbOrder.json" No changes
|
|
90
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Job.json" No changes
|
|
91
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/KernelEvent.json" No changes
|
|
92
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Package.json" No changes
|
|
93
|
+
[32m[WRITING][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Session.json"
|
|
94
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/Tenant.json" No changes
|
|
95
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/User.json" No changes
|
|
96
|
+
[32m[WRITING][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserAuthProfiles.json"
|
|
97
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserContact.json" No changes
|
|
98
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserRole.json" No changes
|
|
99
|
+
[36m[INFO][0m Json Schema Formatting : "/home/justin/Documents/VeryExpress/.tmp/demo-schemas/UserTenant.json" No changes
|
|
100
|
+
[34m[PROCESSING][0m Role Setting File : visitor
|
|
101
|
+
[36m[INFO][0m Role Setting File : /home/justin/Documents/VeryExpress/output/src/roles/visitor.json : "/home/justin/Documents/VeryExpress/output/src/roles/visitor.json" No changes
|
|
102
|
+
[34m[PROCESSING][0m Role Setting File : member
|
|
103
|
+
[36m[INFO][0m Role Setting File : /home/justin/Documents/VeryExpress/output/src/roles/member.json : "/home/justin/Documents/VeryExpress/output/src/roles/member.json" No changes
|
|
104
|
+
[34m[PROCESSING][0m Role Setting File : admin
|
|
105
|
+
[36m[INFO][0m Role Setting File : /home/justin/Documents/VeryExpress/output/src/roles/admin.json : "/home/justin/Documents/VeryExpress/output/src/roles/admin.json" No changes
|
|
106
|
+
[34m[PROCESSING][0m RBAC Class : visitor
|
|
107
|
+
[36m[INFO][0m RBAC Role : "/home/justin/Documents/VeryExpress/output/src/system/_roles/visitor.gen.ts" No changes
|
|
108
|
+
[34m[PROCESSING][0m RBAC Class : member
|
|
109
|
+
[36m[INFO][0m RBAC Role : "/home/justin/Documents/VeryExpress/output/src/system/_roles/member.gen.ts" No changes
|
|
110
|
+
[34m[PROCESSING][0m RBAC Class : admin
|
|
111
|
+
[36m[INFO][0m RBAC Role : "/home/justin/Documents/VeryExpress/output/src/system/_roles/admin.gen.ts" No changes
|
|
112
|
+
[36m[INFO][0m RBAC Index : "/home/justin/Documents/VeryExpress/output/src/system/_roles/index.ts" No changes
|
|
113
|
+
[34m[PROCESSING][0m RBAC Middleware
|
|
114
|
+
[36m[INFO][0m RBAC Middleware : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/RoleBaseAccessControl.gen.ts" No changes
|
|
115
|
+
[34m[PROCESSING][0m Types : SchemaName
|
|
116
|
+
[36m[INFO][0m SchemaName : "/home/justin/Documents/VeryExpress/output/src/system/_types/SchemaName.gen.ts" No changes
|
|
117
|
+
[34m[PROCESSING][0m VexDbConnector
|
|
118
|
+
[36m[INFO][0m VexDbConnector : "/home/justin/Documents/VeryExpress/output/src/system/_services/VexDbConnector.gen.ts" No changes
|
|
119
|
+
[34m[PROCESSING][0m Type : Client > /home/justin/Documents/VeryExpress/output/src/system/_types/Client.gen.ts
|
|
120
|
+
[34m[PROCESSING][0m Type : FnbOrder > /home/justin/Documents/VeryExpress/output/src/system/_types/FnbOrder.gen.ts
|
|
121
|
+
[34m[PROCESSING][0m Type : Job > /home/justin/Documents/VeryExpress/output/src/system/_types/Job.gen.ts
|
|
122
|
+
[34m[PROCESSING][0m Type : KernelEvent > /home/justin/Documents/VeryExpress/output/src/system/_types/KernelEvent.gen.ts
|
|
123
|
+
[34m[PROCESSING][0m Type : Package > /home/justin/Documents/VeryExpress/output/src/system/_types/Package.gen.ts
|
|
124
|
+
[34m[PROCESSING][0m Type : Session > /home/justin/Documents/VeryExpress/output/src/system/_types/Session.gen.ts
|
|
125
|
+
[34m[PROCESSING][0m Type : Tenant > /home/justin/Documents/VeryExpress/output/src/system/_types/Tenant.gen.ts
|
|
126
|
+
[34m[PROCESSING][0m Type : User > /home/justin/Documents/VeryExpress/output/src/system/_types/User.gen.ts
|
|
127
|
+
[34m[PROCESSING][0m Type : UserAuthProfiles > /home/justin/Documents/VeryExpress/output/src/system/_types/UserAuthProfiles.gen.ts
|
|
128
|
+
[34m[PROCESSING][0m Type : UserContact > /home/justin/Documents/VeryExpress/output/src/system/_types/UserContact.gen.ts
|
|
129
|
+
[34m[PROCESSING][0m Type : UserRole > /home/justin/Documents/VeryExpress/output/src/system/_types/UserRole.gen.ts
|
|
130
|
+
[34m[PROCESSING][0m Type : UserTenant > /home/justin/Documents/VeryExpress/output/src/system/_types/UserTenant.gen.ts
|
|
131
|
+
[32m[WRITING][0m Client : "/home/justin/Documents/VeryExpress/output/src/system/_types/Client.gen.ts"
|
|
132
|
+
[36m[INFO][0m FnbOrder : "/home/justin/Documents/VeryExpress/output/src/system/_types/FnbOrder.gen.ts" No changes
|
|
133
|
+
[32m[WRITING][0m Job : "/home/justin/Documents/VeryExpress/output/src/system/_types/Job.gen.ts"
|
|
134
|
+
[36m[INFO][0m KernelEvent : "/home/justin/Documents/VeryExpress/output/src/system/_types/KernelEvent.gen.ts" No changes
|
|
135
|
+
[32m[WRITING][0m Package : "/home/justin/Documents/VeryExpress/output/src/system/_types/Package.gen.ts"
|
|
136
|
+
[36m[INFO][0m Session : "/home/justin/Documents/VeryExpress/output/src/system/_types/Session.gen.ts" No changes
|
|
137
|
+
[36m[INFO][0m Tenant : "/home/justin/Documents/VeryExpress/output/src/system/_types/Tenant.gen.ts" No changes
|
|
138
|
+
[32m[WRITING][0m User : "/home/justin/Documents/VeryExpress/output/src/system/_types/User.gen.ts"
|
|
139
|
+
[36m[INFO][0m UserAuthProfiles : "/home/justin/Documents/VeryExpress/output/src/system/_types/UserAuthProfiles.gen.ts" No changes
|
|
140
|
+
[32m[WRITING][0m UserContact : "/home/justin/Documents/VeryExpress/output/src/system/_types/UserContact.gen.ts"
|
|
141
|
+
[36m[INFO][0m UserRole : "/home/justin/Documents/VeryExpress/output/src/system/_types/UserRole.gen.ts" No changes
|
|
142
|
+
[36m[INFO][0m UserTenant : "/home/justin/Documents/VeryExpress/output/src/system/_types/UserTenant.gen.ts" No changes
|
|
143
|
+
[34m[PROCESSING][0m TypeORM Entity : Client
|
|
144
|
+
[32m[WRITING][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/ClientModel.gen.ts"
|
|
145
|
+
[34m[PROCESSING][0m TypeORM Entity : FnbOrder
|
|
146
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/FnbOrderModel.gen.ts" No changes
|
|
147
|
+
[34m[PROCESSING][0m TypeORM Entity : Job
|
|
148
|
+
[32m[WRITING][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/JobModel.gen.ts"
|
|
149
|
+
[34m[PROCESSING][0m TypeORM Entity : KernelEvent
|
|
150
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/KernelEventModel.gen.ts" No changes
|
|
151
|
+
[34m[PROCESSING][0m TypeORM Entity : Package
|
|
152
|
+
[32m[WRITING][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/PackageModel.gen.ts"
|
|
153
|
+
[34m[PROCESSING][0m TypeORM Entity : Session
|
|
154
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/SessionModel.gen.ts" No changes
|
|
155
|
+
[34m[PROCESSING][0m TypeORM Entity : Tenant
|
|
156
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/TenantModel.gen.ts" No changes
|
|
157
|
+
[34m[PROCESSING][0m TypeORM Entity : User
|
|
158
|
+
[32m[WRITING][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/UserModel.gen.ts"
|
|
159
|
+
[34m[PROCESSING][0m TypeORM Entity : UserAuthProfiles
|
|
160
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/UserAuthProfilesModel.gen.ts" No changes
|
|
161
|
+
[34m[PROCESSING][0m TypeORM Entity : UserContact
|
|
162
|
+
[32m[WRITING][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/UserContactModel.gen.ts"
|
|
163
|
+
[34m[PROCESSING][0m TypeORM Entity : UserRole
|
|
164
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/UserRoleModel.gen.ts" No changes
|
|
165
|
+
[34m[PROCESSING][0m TypeORM Entity : UserTenant
|
|
166
|
+
[36m[INFO][0m TypeORM Entity : "/home/justin/Documents/VeryExpress/output/src/system/_models/UserTenantModel.gen.ts" No changes
|
|
167
|
+
[34m[PROCESSING][0m Controller : Client
|
|
168
|
+
[32m[WRITING][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/ClientController.gen.ts"
|
|
169
|
+
[34m[PROCESSING][0m Controller : FnbOrder
|
|
170
|
+
[36m[INFO][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/FnbOrderController.gen.ts" No changes
|
|
171
|
+
[34m[PROCESSING][0m Controller : Job
|
|
172
|
+
[32m[WRITING][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/JobController.gen.ts"
|
|
173
|
+
[34m[PROCESSING][0m Controller : KernelEvent
|
|
174
|
+
[36m[INFO][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/KernelEventController.gen.ts" No changes
|
|
175
|
+
[34m[PROCESSING][0m Controller : Package
|
|
176
|
+
[32m[WRITING][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/PackageController.gen.ts"
|
|
177
|
+
[34m[PROCESSING][0m Controller : User
|
|
178
|
+
[36m[INFO][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/UserController.gen.ts" No changes
|
|
179
|
+
[34m[PROCESSING][0m Controller : UserContact
|
|
180
|
+
[32m[WRITING][0m Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/UserContactController.gen.ts"
|
|
181
|
+
[34m[PROCESSING][0m JoinWhitelist Registry
|
|
182
|
+
[32m[WRITING][0m JoinWhitelist Registry : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/JoinWhitelistRegistry.gen.ts"
|
|
183
|
+
[34m[PROCESSING][0m Data Isolation Registry
|
|
184
|
+
[32m[WRITING][0m Data Isolation Registry : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/DataIsolationRegistry.gen.ts"
|
|
185
|
+
[34m[PROCESSING][0m Vex Field Registry
|
|
186
|
+
[32m[WRITING][0m Vex Field Registry : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/VexFieldRegistry.gen.ts"
|
|
187
|
+
[36m[INFO][0m Tenant Scope Context : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/TenantScopeContext.gen.ts" No changes
|
|
188
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
189
|
+
[36m[INFO][0m Tenant Scope Middleware : "/home/justin/Documents/VeryExpress/output/src/system/_middlewares/TenantScope.gen.ts" No changes
|
|
190
|
+
[34m[PROCESSING][0m Tenant Service
|
|
191
|
+
[36m[INFO][0m Tenant Service : "/home/justin/Documents/VeryExpress/output/src/system/_services/TenantService.gen.ts" No changes
|
|
192
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
193
|
+
[36m[INFO][0m Tenant Controller : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/TenantController.gen.ts" No changes
|
|
194
|
+
[34m[PROCESSING][0m Account State Guard
|
|
195
|
+
[36m[INFO][0m Account State Guard : "/home/justin/Documents/VeryExpress/output/src/system/_services/auth/AccountStateGuard.gen.ts" No changes
|
|
196
|
+
[34m[PROCESSING][0m Account Deletion Service
|
|
197
|
+
[36m[INFO][0m Account Deletion Service : "/home/justin/Documents/VeryExpress/output/src/system/_services/account/AccountDeletionService.gen.ts" No changes
|
|
198
|
+
[34m[PROCESSING][0m Firebase Auth : enabled (default role: admin)
|
|
199
|
+
[36m[INFO][0m Firebase Admin : "/home/justin/Documents/VeryExpress/output/src/system/_services/auth/FirebaseAdmin.gen.ts" No changes
|
|
200
|
+
[36m[INFO][0m Firebase Auth Service : "/home/justin/Documents/VeryExpress/output/src/system/_services/auth/FirebaseAuthService.gen.ts" No changes
|
|
201
|
+
[32m[WRITING][0m Firebase Auth UI : "/home/justin/Documents/VeryExpress/output/src/system/_routes/FirebaseAuthUI.gen.ts"
|
|
202
|
+
[34m[PROCESSING][0m Route
|
|
203
|
+
[36m[INFO][0m Route AuthController : "/home/justin/Documents/VeryExpress/output/src/system/_controllers/AuthController.gen.ts" No changes
|
|
204
|
+
[36m[INFO][0m Route Swagger : "/home/justin/Documents/VeryExpress/output/src/system/_routes/SwaggerRouter.gen.ts" No changes
|
|
205
|
+
[36m[INFO][0m Server : "/home/justin/Documents/VeryExpress/output/src/server.ts" No changes
|
|
206
|
+
[36m[INFO][0m Build Scripts : "/home/justin/Documents/VeryExpress/output/scripts/build.js" No changes
|
|
207
|
+
[34m[PROCESSING][0m Project Settings : /home/justin/Documents/VeryExpress/output/package.json
|
|
208
|
+
[34m[PROCESSING][0m package.json : scripts synced from template
|
|
209
|
+
[36m[INFO][0m Project Settings : /home/justin/Documents/VeryExpress/output/package.json : "/home/justin/Documents/VeryExpress/output/package.json" No changes
|
|
210
|
+
[34m[PROCESSING][0m Project Settings : /home/justin/Documents/VeryExpress/output/.env
|
|
211
|
+
[36m[INFO][0m Project Settings : /home/justin/Documents/VeryExpress/output/.env : "/home/justin/Documents/VeryExpress/output/.env" No changes
|
|
212
|
+
[36m[INFO][0m tsoa config : "/home/justin/Documents/VeryExpress/output/tsoa.json" No changes
|
|
213
|
+
next step:
|
|
214
|
+
cd /home/justin/Documents/VeryExpress/output
|
|
215
|
+
npm install
|
|
216
|
+
npm run dev
|
|
217
|
+
|
|
218
|
+
[35m
|
|
219
|
+
========== veryExpress CLI (vex) Complete ==========
|
|
220
|
+
[0m
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[36m[INFO][0m 11/29/2026, 8:34:54 AM - [SQL] Connecting to SQL DB (TypeORM)...
|
|
2
|
+
[32m[OK][0m 11/29/2026, 8:34:54 AM - Server is running on : http://localhost:3000
|
|
3
|
+
[41m[ERROR][0m 11/29/2026, 8:34:54 AM - [SQL] Failed to initialize TypeORM, retrying in 10s TypeError: Object.keys is not iterable
|
|
4
|
+
at /home/justin/Documents/VeryExpress/output/dist/system/_services/VexDbConnector.gen.js:94:79
|
|
5
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
6
|
+
[41m[ERROR][0m 11/29/2026, 8:35:04 AM - [SQL] Failed to initialize TypeORM, retrying in 10s CannotConnectAlreadyConnectedError: Cannot create a "default" connection because connection to the database already established.
|
|
7
|
+
at DataSource.initialize (/home/justin/Documents/VeryExpress/output/node_modules/typeorm/data-source/DataSource.js:135:19)
|
|
8
|
+
at connectWithRetry (/home/justin/Documents/VeryExpress/output/dist/system/_services/VexDbConnector.gen.js:90:16)
|
|
9
|
+
at Timeout._onTimeout (/home/justin/Documents/VeryExpress/output/dist/system/_services/VexDbConnector.gen.js:109:34)
|
|
10
|
+
at listOnTimeout (node:internal/timers:685:17)
|
|
11
|
+
at process.processTimers (node:internal/timers:618:7)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[36m[INFO][0m 11/29/2026, 8:34:54 AM - [SQL] Connecting to SQL DB (TypeORM)...
|
|
2
|
+
[32m[OK][0m 11/29/2026, 8:34:54 AM - Server is running on : http://localhost:3000
|
|
3
|
+
[41m[ERROR][0m 11/29/2026, 8:34:54 AM - [SQL] Failed to initialize TypeORM, retrying in 10s TypeError: Object.keys is not iterable
|
|
4
|
+
at /home/justin/Documents/VeryExpress/output/dist/system/_services/VexDbConnector.gen.js:94:79
|
|
5
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
6
|
+
[41m[ERROR][0m 11/29/2026, 8:35:04 AM - [SQL] Failed to initialize TypeORM, retrying in 10s CannotConnectAlreadyConnectedError: Cannot create a "default" connection because connection to the database already established.
|
|
7
|
+
at DataSource.initialize (/home/justin/Documents/VeryExpress/output/node_modules/typeorm/data-source/DataSource.js:135:19)
|
|
8
|
+
at connectWithRetry (/home/justin/Documents/VeryExpress/output/dist/system/_services/VexDbConnector.gen.js:90:16)
|
|
9
|
+
at Timeout._onTimeout (/home/justin/Documents/VeryExpress/output/dist/system/_services/VexDbConnector.gen.js:109:34)
|
|
10
|
+
at listOnTimeout (node:internal/timers:685:17)
|
|
11
|
+
at process.processTimers (node:internal/timers:618:7)
|
package/.tmp/vex-run.log
ADDED
package/.tmp/vo/app/.env
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
APP_HOST=http://localhost
|
|
2
|
+
APP_PORT=3000
|
|
3
|
+
MONGODB_URI=mongodb://localhost:27017/veryExpressDB
|
|
4
|
+
SQL_URI=postgresql://username:password@localhost:5432/mydatabase
|
|
5
|
+
SQL_CA=""
|
|
6
|
+
SQL_INSECURE_TLS=true
|
|
7
|
+
SQL_SYNCHRONIZE=true
|
|
8
|
+
|
|
9
|
+
LOGIN_SUCCESS_REDIRECT_PATH=/logincallback
|
|
10
|
+
LOGIN_FAILED_REDIRECT_PATH=/logincallback
|
|
11
|
+
|
|
12
|
+
# OAUTH
|
|
13
|
+
OAUTH_GOOGLE_CLIENTID=
|
|
14
|
+
OAUTH_GOOGLE_CLIENTSECRET=
|
|
15
|
+
OAUTH_GITHUB_CLIENTID=
|
|
16
|
+
OAUTH_GITHUB_CLIENTSECRET=
|
|
17
|
+
# OAUTH_MICROSOFT_CLIENTID=
|
|
18
|
+
# OAUTH_MICROSOFT_CLIENTSECRET=
|
|
19
|
+
# OAUTH_APPLE_CLIENTID=
|
|
20
|
+
# OAUTH_APPLE_CLIENTSECRET=
|
|
21
|
+
|
|
22
|
+
# FIREBASE (auth.firebase in vex.config.json) — see docs/appGenerated/auth.md
|
|
23
|
+
# Server credential: firebase-admin verifies ID tokens, so the project's service account is required.
|
|
24
|
+
# The JSON itself, as one value — generate it in the Firebase console:
|
|
25
|
+
# Project settings > Service accounts > Generate new private key.
|
|
26
|
+
FIREBASE_SERVICE_ACCOUNT_JSON=
|
|
27
|
+
# Browser config: Firebase's *public* web app values, served to the login page by design. There is no
|
|
28
|
+
# secret among them, and no appId — Firebase Auth does not read one.
|
|
29
|
+
FIREBASE_WEB_API_KEY=
|
|
30
|
+
FIREBASE_WEB_AUTH_DOMAIN=
|
|
31
|
+
FIREBASE_WEB_PROJECT_ID=
|
|
32
|
+
# Optional: which sign-in methods the login page renders a button for, comma separated. Defaults to
|
|
33
|
+
# google. The server accepts any provider it knows regardless of this list.
|
|
34
|
+
# FIREBASE_PROVIDERS=google
|
|
35
|
+
|
|
36
|
+
# JWT token
|
|
37
|
+
ACCESS_TOKEN_EXPIRE_TIME='1h'
|
|
38
|
+
REFRESH_TOKEN_EXPIRE_TIME='24h'
|
|
39
|
+
SESSION_COOKIE_SECRET='my-session-cookie-secret'
|
|
40
|
+
JWT_ALGORITHM='HS256'
|
|
41
|
+
JWT_SECRET0='my-secret-key0'
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lastGeneratedVersion": "0.10.3",
|
|
3
|
+
"files": {
|
|
4
|
+
"src": {
|
|
5
|
+
"system": {
|
|
6
|
+
"_controllers": {
|
|
7
|
+
"_ControllerFactory.gen.ts": {
|
|
8
|
+
"lastWriteVersion": "0.10.3",
|
|
9
|
+
"allowOverwrite": true
|
|
10
|
+
},
|
|
11
|
+
"ProjectController.gen.ts": {
|
|
12
|
+
"lastWriteVersion": "0.10.3",
|
|
13
|
+
"allowOverwrite": true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"_middlewares": {
|
|
17
|
+
"JoinWhitelistMiddleware.gen.ts": {
|
|
18
|
+
"lastWriteVersion": "0.10.3",
|
|
19
|
+
"allowOverwrite": true
|
|
20
|
+
},
|
|
21
|
+
"UserContext.gen.ts": {
|
|
22
|
+
"lastWriteVersion": "0.10.3",
|
|
23
|
+
"allowOverwrite": true
|
|
24
|
+
},
|
|
25
|
+
"tsoaAuthentication.gen.ts": {
|
|
26
|
+
"lastWriteVersion": "0.10.3",
|
|
27
|
+
"allowOverwrite": true
|
|
28
|
+
},
|
|
29
|
+
"JoinWhitelistRegistry.gen.ts": {
|
|
30
|
+
"lastWriteVersion": "0.10.3",
|
|
31
|
+
"allowOverwrite": true
|
|
32
|
+
},
|
|
33
|
+
"DataIsolationRegistry.gen.ts": {
|
|
34
|
+
"lastWriteVersion": "0.10.3",
|
|
35
|
+
"allowOverwrite": true
|
|
36
|
+
},
|
|
37
|
+
"VexFieldRegistry.gen.ts": {
|
|
38
|
+
"lastWriteVersion": "0.10.3",
|
|
39
|
+
"allowOverwrite": true
|
|
40
|
+
},
|
|
41
|
+
"TenantScopeContext.gen.ts": {
|
|
42
|
+
"lastWriteVersion": "0.10.3",
|
|
43
|
+
"allowOverwrite": true
|
|
44
|
+
},
|
|
45
|
+
"TenantScope.gen.ts": {
|
|
46
|
+
"lastWriteVersion": "0.10.3",
|
|
47
|
+
"allowOverwrite": true
|
|
48
|
+
},
|
|
49
|
+
"Authentication.gen.ts": {
|
|
50
|
+
"lastWriteVersion": "0.10.3",
|
|
51
|
+
"allowOverwrite": true
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"_services": {
|
|
55
|
+
"MongooseRepositoryAdapter.gen.ts": {
|
|
56
|
+
"lastWriteVersion": "0.10.3",
|
|
57
|
+
"allowOverwrite": true
|
|
58
|
+
},
|
|
59
|
+
"TypeOrmRepositoryAdapter.gen.ts": {
|
|
60
|
+
"lastWriteVersion": "0.10.3",
|
|
61
|
+
"allowOverwrite": true
|
|
62
|
+
},
|
|
63
|
+
"VexDb.gen.ts": {
|
|
64
|
+
"lastWriteVersion": "0.10.3",
|
|
65
|
+
"allowOverwrite": true
|
|
66
|
+
},
|
|
67
|
+
"VexDbConnector.gen.ts": {
|
|
68
|
+
"lastWriteVersion": "0.10.3",
|
|
69
|
+
"allowOverwrite": true
|
|
70
|
+
},
|
|
71
|
+
"VexSystem.gen.ts": {
|
|
72
|
+
"lastWriteVersion": "0.10.3",
|
|
73
|
+
"allowOverwrite": true
|
|
74
|
+
},
|
|
75
|
+
"auth": {
|
|
76
|
+
"JWTKeyStore.gen.ts": {
|
|
77
|
+
"lastWriteVersion": "0.10.3",
|
|
78
|
+
"allowOverwrite": true
|
|
79
|
+
},
|
|
80
|
+
"JWTService.gen.ts": {
|
|
81
|
+
"lastWriteVersion": "0.10.3",
|
|
82
|
+
"allowOverwrite": true
|
|
83
|
+
},
|
|
84
|
+
"AccountStateGuard.gen.ts": {
|
|
85
|
+
"lastWriteVersion": "0.10.3",
|
|
86
|
+
"allowOverwrite": true
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"_types": {
|
|
91
|
+
"vex": {
|
|
92
|
+
"VexRepository.gen.ts": {
|
|
93
|
+
"lastWriteVersion": "0.10.3",
|
|
94
|
+
"allowOverwrite": true
|
|
95
|
+
},
|
|
96
|
+
"VexRequest.gen.ts": {
|
|
97
|
+
"lastWriteVersion": "0.10.3",
|
|
98
|
+
"allowOverwrite": true
|
|
99
|
+
},
|
|
100
|
+
"VexResErr.gen.ts": {
|
|
101
|
+
"lastWriteVersion": "0.10.3",
|
|
102
|
+
"allowOverwrite": true
|
|
103
|
+
},
|
|
104
|
+
"VexResOk.gen.ts": {
|
|
105
|
+
"lastWriteVersion": "0.10.3",
|
|
106
|
+
"allowOverwrite": true
|
|
107
|
+
},
|
|
108
|
+
"VexResponse.gen.ts": {
|
|
109
|
+
"lastWriteVersion": "0.10.3",
|
|
110
|
+
"allowOverwrite": true
|
|
111
|
+
},
|
|
112
|
+
"index.ts": {
|
|
113
|
+
"lastWriteVersion": "0.10.3",
|
|
114
|
+
"allowOverwrite": true
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"Project.gen.ts": {
|
|
118
|
+
"lastWriteVersion": "0.10.3",
|
|
119
|
+
"allowOverwrite": true
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"_utils": {
|
|
123
|
+
"hash.gen.ts": {
|
|
124
|
+
"lastWriteVersion": "0.10.3",
|
|
125
|
+
"allowOverwrite": true
|
|
126
|
+
},
|
|
127
|
+
"index.ts": {
|
|
128
|
+
"lastWriteVersion": "0.10.3",
|
|
129
|
+
"allowOverwrite": true
|
|
130
|
+
},
|
|
131
|
+
"logger.gen.ts": {
|
|
132
|
+
"lastWriteVersion": "0.10.3",
|
|
133
|
+
"allowOverwrite": true
|
|
134
|
+
},
|
|
135
|
+
"processTimer.gen.ts": {
|
|
136
|
+
"lastWriteVersion": "0.10.3",
|
|
137
|
+
"allowOverwrite": true
|
|
138
|
+
},
|
|
139
|
+
"response.gen.ts": {
|
|
140
|
+
"lastWriteVersion": "0.10.3",
|
|
141
|
+
"allowOverwrite": true
|
|
142
|
+
},
|
|
143
|
+
"validator.gen.ts": {
|
|
144
|
+
"lastWriteVersion": "0.10.3",
|
|
145
|
+
"allowOverwrite": true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"_models": {
|
|
149
|
+
"ProjectModel.gen.ts": {
|
|
150
|
+
"lastWriteVersion": "0.10.3",
|
|
151
|
+
"allowOverwrite": true
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"_routes": {
|
|
155
|
+
"SwaggerRouter.gen.ts": {
|
|
156
|
+
"lastWriteVersion": "0.10.3",
|
|
157
|
+
"allowOverwrite": true
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"server.ts": {
|
|
162
|
+
"lastWriteVersion": "0.10.3",
|
|
163
|
+
"allowOverwrite": true
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"Dockerfile": {
|
|
167
|
+
"lastWriteVersion": "0.10.3",
|
|
168
|
+
"allowOverwrite": true
|
|
169
|
+
},
|
|
170
|
+
"README.md": {
|
|
171
|
+
"lastWriteVersion": "0.10.3",
|
|
172
|
+
"allowOverwrite": true
|
|
173
|
+
},
|
|
174
|
+
"public": {
|
|
175
|
+
"css": {
|
|
176
|
+
"style.css": {
|
|
177
|
+
"lastWriteVersion": "0.10.3",
|
|
178
|
+
"allowOverwrite": true
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"js": {
|
|
182
|
+
"deleteaccount.js": {
|
|
183
|
+
"lastWriteVersion": "0.10.3",
|
|
184
|
+
"allowOverwrite": true
|
|
185
|
+
},
|
|
186
|
+
"login.js": {
|
|
187
|
+
"lastWriteVersion": "0.10.3",
|
|
188
|
+
"allowOverwrite": true
|
|
189
|
+
},
|
|
190
|
+
"logincallback.js": {
|
|
191
|
+
"lastWriteVersion": "0.10.3",
|
|
192
|
+
"allowOverwrite": true
|
|
193
|
+
},
|
|
194
|
+
"mytokens.js": {
|
|
195
|
+
"lastWriteVersion": "0.10.3",
|
|
196
|
+
"allowOverwrite": true
|
|
197
|
+
},
|
|
198
|
+
"refreshtokens.js": {
|
|
199
|
+
"lastWriteVersion": "0.10.3",
|
|
200
|
+
"allowOverwrite": true
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"scripts": {
|
|
205
|
+
"build.js": {
|
|
206
|
+
"lastWriteVersion": "0.10.3",
|
|
207
|
+
"allowOverwrite": true
|
|
208
|
+
},
|
|
209
|
+
"oacg-fix.js": {
|
|
210
|
+
"lastWriteVersion": "0.10.3",
|
|
211
|
+
"allowOverwrite": true
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"tsconfig.json": {
|
|
215
|
+
"lastWriteVersion": "0.10.3",
|
|
216
|
+
"allowOverwrite": true
|
|
217
|
+
},
|
|
218
|
+
"package.json": {
|
|
219
|
+
"lastWriteVersion": "0.10.3",
|
|
220
|
+
"allowOverwrite": true
|
|
221
|
+
},
|
|
222
|
+
".env": {
|
|
223
|
+
"lastWriteVersion": "0.10.3",
|
|
224
|
+
"allowOverwrite": true
|
|
225
|
+
},
|
|
226
|
+
"tsoa.json": {
|
|
227
|
+
"lastWriteVersion": "0.10.3",
|
|
228
|
+
"allowOverwrite": true
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Use the official Node.js image as the base image
|
|
2
|
+
FROM node:14
|
|
3
|
+
|
|
4
|
+
# Set the working directory inside the container
|
|
5
|
+
WORKDIR /app
|
|
6
|
+
|
|
7
|
+
# Copy package.json and package-lock.json to the working directory
|
|
8
|
+
COPY package*.json ./
|
|
9
|
+
|
|
10
|
+
# Install dependencies
|
|
11
|
+
RUN npm install
|
|
12
|
+
|
|
13
|
+
# Copy only the /dist directory to the working directory
|
|
14
|
+
COPY dist ./dist
|
|
15
|
+
|
|
16
|
+
# Expose the port the app runs on
|
|
17
|
+
EXPOSE 3000
|
|
18
|
+
|
|
19
|
+
# Define the command to run the application
|
|
20
|
+
CMD ["npm", "start"]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# This app is generated by [VeryExpress](https://github.com/Justin26l/VeryExpress)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
# Quick Start
|
|
5
|
+
1. install `very-express` from npm
|
|
6
|
+
`npm install -g very-express` or `npm update -g very-express`
|
|
7
|
+
|
|
8
|
+
2. check configuration file [vex.config.json](./vex.config.json) under project root directory and keep it updated (re-generate the app with very-express).
|
|
9
|
+
`vex`
|
|
10
|
+
|
|
11
|
+
3. we should have a express typescript app.
|
|
12
|
+
```
|
|
13
|
+
├── src/
|
|
14
|
+
│ └── openapi
|
|
15
|
+
│ └── roles (role based access control settings)
|
|
16
|
+
│ └── system (very express generated app)
|
|
17
|
+
├── package.json
|
|
18
|
+
├── tsconfig.json
|
|
19
|
+
├── vex.config.json
|
|
20
|
+
├── .env
|
|
21
|
+
└── ...
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
4. start the generated express app.
|
|
25
|
+
```
|
|
26
|
+
npm i
|
|
27
|
+
npm build
|
|
28
|
+
npm run start
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
5. start the app in docker.
|
|
32
|
+
```
|
|
33
|
+
npm run docker-build
|
|
34
|
+
npm run docker-start
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
# Resource
|
|
38
|
+
- [Documents](https://github.com/Justin26l/VeryExpress/blob/main/README.md)
|
|
39
|
+
- [VeryExpress Discord](https://discord.gg/PZGMzDp7)
|