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
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
|
|
2
|
+
> very-express@0.10.6 test
|
|
3
|
+
> npm run compile && vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> very-express@0.10.6 compile
|
|
7
|
+
> node ./scripts/build.js && node ./scripts/copyTsTemplates.js
|
|
8
|
+
|
|
9
|
+
[33mThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m
|
|
10
|
+
|
|
11
|
+
RUN v2.1.9 /home/justin/Documents/VeryExpress
|
|
12
|
+
|
|
13
|
+
↓ test/e2e/tenantSingle.test.ts (11 tests | 11 skipped)
|
|
14
|
+
↓ test/e2e/contract.test.ts (16 tests | 16 skipped)
|
|
15
|
+
↓ test/e2e/tenant.test.ts (11 tests | 11 skipped)
|
|
16
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > renders one button per configured provider, with the label substituted
|
|
17
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
18
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
19
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
20
|
+
|
|
21
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > renders no button for a provider name the wiring cannot start, and says so
|
|
22
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
23
|
+
- TEST_FIREBASE_PROVIDERS names "twitter", which this login page cannot start (known: google, github)
|
|
24
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
25
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
26
|
+
|
|
27
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > inlines the carrier and the glue, and tags no SDK script of its own
|
|
28
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
29
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
30
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
31
|
+
|
|
32
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > carries the SDK base URL and the env-derived public config to the glue
|
|
33
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
34
|
+
- not set in .env or process.env: TEST_FIREBASE_AUTH_DOMAIN
|
|
35
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
36
|
+
|
|
37
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > reports a missing variable, naming it in the message the browser shows
|
|
38
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
39
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_AUTH_DOMAIN
|
|
40
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
41
|
+
|
|
42
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > allows gstatic, the token endpoints and the auth window, and keeps the page's own nonce
|
|
43
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
44
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT
|
|
45
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
46
|
+
|
|
47
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > keeps window.opener alive for the popup, overriding helmet's default
|
|
48
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
49
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
50
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
51
|
+
|
|
52
|
+
✓ test/unit/starterUI.test.ts (15 tests) 6ms
|
|
53
|
+
✓ test/unit/isolation.test.ts (16 tests) 12ms
|
|
54
|
+
✓ test/unit/tenantSingle.test.ts (16 tests) 27ms
|
|
55
|
+
stdout | test/unit/tenantSingle.test.ts > Tenant endpoints across modes > emits create in single and option, and nothing in preSelect
|
|
56
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
57
|
+
[32m[WRITING][0m Tenant Controller : "/tmp/vex-tenant-ctrl-single-4ZH6xJ/controllers/TenantController.gen.ts"
|
|
58
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
59
|
+
[32m[WRITING][0m Tenant Types : "/tmp/vex-tenant-ctrl-option-IeoQgN/types/TenantList.gen.ts"
|
|
60
|
+
[32m[WRITING][0m Tenant Controller : "/tmp/vex-tenant-ctrl-option-IeoQgN/controllers/TenantController.gen.ts"
|
|
61
|
+
|
|
62
|
+
✓ test/unit/deleteAccountPage.test.ts (6 tests) 12ms
|
|
63
|
+
↓ test/e2e/compile.test.ts (13 tests | 13 skipped)
|
|
64
|
+
✓ test/unit/firebaseAuth.test.ts (17 tests) 5ms
|
|
65
|
+
↓ test/e2e/transaction.test.ts (4 tests | 4 skipped)
|
|
66
|
+
✓ test/unit/softDelete.test.ts (12 tests) 5ms
|
|
67
|
+
↓ test/e2e/tenantHeader.test.ts (5 tests | 5 skipped)
|
|
68
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — preSelect emits the header path only > takes no token and names only header errors
|
|
69
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-wUNs3q/TenantScopeContext.gen.ts"
|
|
70
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
71
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-wUNs3q/TenantScope.gen.ts"
|
|
72
|
+
|
|
73
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — preSelect emits the header path only > keeps the shared UUID check
|
|
74
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-QM2xow/TenantScopeContext.gen.ts"
|
|
75
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
76
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-QM2xow/TenantScope.gen.ts"
|
|
77
|
+
|
|
78
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — option emits claim plus guest header > takes both sources and names every error
|
|
79
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-option-ZGTqVf/TenantScopeContext.gen.ts"
|
|
80
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
81
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-option-ZGTqVf/TenantScope.gen.ts"
|
|
82
|
+
|
|
83
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — single emits the claim path only > takes no header argument
|
|
84
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-3Ltvid/TenantScopeContext.gen.ts"
|
|
85
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
86
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-3Ltvid/TenantScope.gen.ts"
|
|
87
|
+
|
|
88
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — single never reads the tenant header > has no header constant, no header read, no requested tenant
|
|
89
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-fwrLfh/TenantScopeContext.gen.ts"
|
|
90
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
91
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-fwrLfh/TenantScope.gen.ts"
|
|
92
|
+
|
|
93
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — single never reads the tenant header > keeps the claim errors only
|
|
94
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-mf9hHk/TenantScopeContext.gen.ts"
|
|
95
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
96
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-mf9hHk/TenantScope.gen.ts"
|
|
97
|
+
|
|
98
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > option reads the header as the guest fallback
|
|
99
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-option-E6jDsm/TenantScopeContext.gen.ts"
|
|
100
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
101
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-option-E6jDsm/TenantScope.gen.ts"
|
|
102
|
+
|
|
103
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > preSelect requires the header and reads no token
|
|
104
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-GqEe09/TenantScopeContext.gen.ts"
|
|
105
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
106
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-GqEe09/TenantScope.gen.ts"
|
|
107
|
+
|
|
108
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > applies tenant.scope to every mode
|
|
109
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-vXAXeo/TenantScopeContext.gen.ts"
|
|
110
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
111
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-vXAXeo/TenantScope.gen.ts"
|
|
112
|
+
|
|
113
|
+
✓ test/unit/tenantScopeContext.test.ts (9 tests) 6ms
|
|
114
|
+
✓ test/unit/userContext.test.ts (11 tests) 10ms
|
|
115
|
+
✓ test/unit/schemaName.test.ts (16 tests) 4ms
|
|
116
|
+
✓ test/unit/auditFields.test.ts (5 tests) 3ms
|
|
117
|
+
stdout | test/unit/configOptions.test.ts > isShowSoftDeleted > is true only when explicitly true
|
|
118
|
+
[33m[WARN][0m app.showSoftDeleted is ON — soft-deleted rows are visible to every query, are writable again through the ordinary CRUD path, and the account-state guard in Authentication.middleware will keep rejecting tombstones. Unset app.showSoftDeleted to restore the default (hidden).
|
|
119
|
+
|
|
120
|
+
✓ test/unit/configOptions.test.ts (16 tests) 4ms
|
|
121
|
+
✓ test/unit/accountStateGuard.test.ts (5 tests) 3ms
|
|
122
|
+
✓ test/unit/verifyOnly.test.ts (9 tests) 4ms
|
|
123
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > moves the old flat fields under restApi and drops them
|
|
124
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
125
|
+
|
|
126
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > respects an already-migrated restApi block
|
|
127
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
128
|
+
|
|
129
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > maps apiSkipRoute to an empty methods list
|
|
130
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
131
|
+
|
|
132
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > is idempotent — a second run changes nothing
|
|
133
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
134
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
135
|
+
|
|
136
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > leaves a schema with no x-documentConfig untouched
|
|
137
|
+
[36m[INFO][0m Migration v0.6.14-alpha: skip Legacy.json (no old fields)
|
|
138
|
+
|
|
139
|
+
✓ test/unit/migration.test.ts (5 tests) 4ms
|
|
140
|
+
✓ test/unit/authDocuments.test.ts (5 tests) 2ms
|
|
141
|
+
❯ test/golden.test.ts (18 tests | 1 failed) 5390ms
|
|
142
|
+
✓ golden output > generates the expected tree for "mongo-auth-rbac" 323ms
|
|
143
|
+
✓ golden output > generates the expected tree for "sql-auth-delete-account-off" 313ms
|
|
144
|
+
✓ golden output > generates the expected tree for "sql-auth-firebase" 321ms
|
|
145
|
+
✓ golden output > generates the expected tree for "sql-auth-firebase-only" 326ms
|
|
146
|
+
✓ golden output > generates the expected tree for "sql-auth-oauth-rbac" 323ms
|
|
147
|
+
✓ golden output > generates the expected tree for "sql-binary" 323ms
|
|
148
|
+
✓ golden output > generates the expected tree for "sql-delete-tables" 330ms
|
|
149
|
+
✓ golden output > generates the expected tree for "sql-noauth" 308ms
|
|
150
|
+
✓ golden output > generates the expected tree for "sql-norbac" 310ms
|
|
151
|
+
✓ golden output > generates the expected tree for "sql-noswagger" 319ms
|
|
152
|
+
× golden output > generates the expected tree for "sql-schema-specified" 305ms
|
|
153
|
+
→ first difference at file ===== out/src/system/_services/VexDbConnector.gen.ts =====, line 2143
|
|
154
|
+
golden: " .catch(async (err) => {"
|
|
155
|
+
actual: " .catch((err) => {"
|
|
156
|
+
golden lines: 2916, actual lines: 2915
|
|
157
|
+
|
|
158
|
+
actual dump: /tmp/vex-golden-GPelu6/actual.golden.txt
|
|
159
|
+
inspect: diff /tmp/vex-golden-GPelu6/actual.golden.txt test/golden/sql-schema-specified.txt
|
|
160
|
+
regenerate: npm run test:update
|
|
161
|
+
✓ golden output > generates the expected tree for "sql-tenant" 328ms
|
|
162
|
+
✓ golden output > generates the expected tree for "sql-tenant-delete-account" 325ms
|
|
163
|
+
✓ golden output > generates the expected tree for "sql-tenant-header" 304ms
|
|
164
|
+
✓ golden output > generates the expected tree for "sql-tenant-single" 326ms
|
|
165
|
+
✓ test/unit/template.test.ts (6 tests) 2ms
|
|
166
|
+
|
|
167
|
+
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
|
|
168
|
+
|
|
169
|
+
FAIL test/golden.test.ts > golden output > generates the expected tree for "sql-schema-specified"
|
|
170
|
+
AssertionError: first difference at file ===== out/src/system/_services/VexDbConnector.gen.ts =====, line 2143
|
|
171
|
+
golden: " .catch(async (err) => {"
|
|
172
|
+
actual: " .catch((err) => {"
|
|
173
|
+
golden lines: 2916, actual lines: 2915
|
|
174
|
+
|
|
175
|
+
actual dump: /tmp/vex-golden-GPelu6/actual.golden.txt
|
|
176
|
+
inspect: diff /tmp/vex-golden-GPelu6/actual.golden.txt test/golden/sql-schema-specified.txt
|
|
177
|
+
regenerate: npm run test:update
|
|
178
|
+
❯ test/golden.test.ts:73:24
|
|
179
|
+
71| fs.writeFileSync(artifact, actual, "utf8");
|
|
180
|
+
72|
|
|
181
|
+
73| expect.fail(
|
|
182
|
+
| ^
|
|
183
|
+
74| `${describeFirstDiff(actual, expected)}\n\n` +
|
|
184
|
+
75| ` actual dump: ${artifact}\n` +
|
|
185
|
+
|
|
186
|
+
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯
|
|
187
|
+
|
|
188
|
+
Test Files 1 failed | 16 passed | 6 skipped (23)
|
|
189
|
+
Tests 1 failed | 186 passed | 60 skipped (247)
|
|
190
|
+
Start at 08:41:02
|
|
191
|
+
Duration 8.40s (transform 218ms, setup 0ms, collect 407ms, tests 5.50s, environment 3ms, prepare 747ms)
|
|
192
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
|
|
2
|
+
> very-express@0.10.6 test:update
|
|
3
|
+
> npm run compile && UPDATE_GOLDEN=1 vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> very-express@0.10.6 compile
|
|
7
|
+
> node ./scripts/build.js && node ./scripts/copyTsTemplates.js
|
|
8
|
+
|
|
9
|
+
[33mThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m
|
|
10
|
+
|
|
11
|
+
RUN v2.1.9 /home/justin/Documents/VeryExpress
|
|
12
|
+
|
|
13
|
+
↓ test/e2e/tenantSingle.test.ts (11 tests | 11 skipped)
|
|
14
|
+
↓ test/e2e/contract.test.ts (16 tests | 16 skipped)
|
|
15
|
+
↓ test/e2e/tenant.test.ts (11 tests | 11 skipped)
|
|
16
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > renders one button per configured provider, with the label substituted
|
|
17
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
18
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
19
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
20
|
+
|
|
21
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > renders no button for a provider name the wiring cannot start, and says so
|
|
22
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
23
|
+
- TEST_FIREBASE_PROVIDERS names "twitter", which this login page cannot start (known: google, github)
|
|
24
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
25
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
26
|
+
|
|
27
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > inlines the carrier and the glue, and tags no SDK script of its own
|
|
28
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
29
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
30
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
31
|
+
|
|
32
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > carries the SDK base URL and the env-derived public config to the glue
|
|
33
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
34
|
+
- not set in .env or process.env: TEST_FIREBASE_AUTH_DOMAIN
|
|
35
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
36
|
+
|
|
37
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > reports a missing variable, naming it in the message the browser shows
|
|
38
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
39
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_AUTH_DOMAIN
|
|
40
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
41
|
+
|
|
42
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > allows gstatic, the token endpoints and the auth window, and keeps the page's own nonce
|
|
43
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
44
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT
|
|
45
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
46
|
+
|
|
47
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > keeps window.opener alive for the popup, overriding helmet's default
|
|
48
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
49
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
50
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
51
|
+
|
|
52
|
+
✓ test/unit/starterUI.test.ts (15 tests) 7ms
|
|
53
|
+
✓ test/unit/isolation.test.ts (16 tests) 12ms
|
|
54
|
+
stdout | test/unit/tenantSingle.test.ts > Tenant endpoints across modes > emits create in single and option, and nothing in preSelect
|
|
55
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
56
|
+
[32m[WRITING][0m Tenant Controller : "/tmp/vex-tenant-ctrl-single-tCOiiB/controllers/TenantController.gen.ts"
|
|
57
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
58
|
+
[32m[WRITING][0m Tenant Types : "/tmp/vex-tenant-ctrl-option-14kJTf/types/TenantList.gen.ts"
|
|
59
|
+
[32m[WRITING][0m Tenant Controller : "/tmp/vex-tenant-ctrl-option-14kJTf/controllers/TenantController.gen.ts"
|
|
60
|
+
|
|
61
|
+
✓ test/unit/tenantSingle.test.ts (16 tests) 27ms
|
|
62
|
+
✓ test/unit/deleteAccountPage.test.ts (6 tests) 12ms
|
|
63
|
+
↓ test/e2e/compile.test.ts (13 tests | 13 skipped)
|
|
64
|
+
✓ test/unit/firebaseAuth.test.ts (17 tests) 5ms
|
|
65
|
+
↓ test/e2e/transaction.test.ts (4 tests | 4 skipped)
|
|
66
|
+
✓ test/unit/softDelete.test.ts (12 tests) 5ms
|
|
67
|
+
↓ test/e2e/tenantHeader.test.ts (5 tests | 5 skipped)
|
|
68
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — preSelect emits the header path only > takes no token and names only header errors
|
|
69
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-FBD8YH/TenantScopeContext.gen.ts"
|
|
70
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
71
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-FBD8YH/TenantScope.gen.ts"
|
|
72
|
+
|
|
73
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — preSelect emits the header path only > keeps the shared UUID check
|
|
74
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-zKG314/TenantScopeContext.gen.ts"
|
|
75
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
76
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-zKG314/TenantScope.gen.ts"
|
|
77
|
+
|
|
78
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — option emits claim plus guest header > takes both sources and names every error
|
|
79
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-option-dSeQjl/TenantScopeContext.gen.ts"
|
|
80
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
81
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-option-dSeQjl/TenantScope.gen.ts"
|
|
82
|
+
|
|
83
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — single emits the claim path only > takes no header argument
|
|
84
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-zY8iAo/TenantScopeContext.gen.ts"
|
|
85
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
86
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-zY8iAo/TenantScope.gen.ts"
|
|
87
|
+
|
|
88
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — single never reads the tenant header > has no header constant, no header read, no requested tenant
|
|
89
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-E8Sqlb/TenantScopeContext.gen.ts"
|
|
90
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
91
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-E8Sqlb/TenantScope.gen.ts"
|
|
92
|
+
|
|
93
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — single never reads the tenant header > keeps the claim errors only
|
|
94
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-KMstUd/TenantScopeContext.gen.ts"
|
|
95
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
96
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-KMstUd/TenantScope.gen.ts"
|
|
97
|
+
|
|
98
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > option reads the header as the guest fallback
|
|
99
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-option-hGI31D/TenantScopeContext.gen.ts"
|
|
100
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
101
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-option-hGI31D/TenantScope.gen.ts"
|
|
102
|
+
|
|
103
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > preSelect requires the header and reads no token
|
|
104
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-iNFJxf/TenantScopeContext.gen.ts"
|
|
105
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
106
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-iNFJxf/TenantScope.gen.ts"
|
|
107
|
+
|
|
108
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > applies tenant.scope to every mode
|
|
109
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-dwg7VL/TenantScopeContext.gen.ts"
|
|
110
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
111
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-dwg7VL/TenantScope.gen.ts"
|
|
112
|
+
|
|
113
|
+
✓ test/unit/tenantScopeContext.test.ts (9 tests) 7ms
|
|
114
|
+
✓ test/unit/userContext.test.ts (11 tests) 12ms
|
|
115
|
+
✓ test/unit/schemaName.test.ts (16 tests) 4ms
|
|
116
|
+
✓ test/unit/auditFields.test.ts (5 tests) 4ms
|
|
117
|
+
stdout | test/unit/configOptions.test.ts > isShowSoftDeleted > is true only when explicitly true
|
|
118
|
+
[33m[WARN][0m app.showSoftDeleted is ON — soft-deleted rows are visible to every query, are writable again through the ordinary CRUD path, and the account-state guard in Authentication.middleware will keep rejecting tombstones. Unset app.showSoftDeleted to restore the default (hidden).
|
|
119
|
+
|
|
120
|
+
✓ test/unit/configOptions.test.ts (16 tests) 4ms
|
|
121
|
+
✓ test/unit/accountStateGuard.test.ts (5 tests) 3ms
|
|
122
|
+
✓ test/unit/verifyOnly.test.ts (9 tests) 4ms
|
|
123
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > moves the old flat fields under restApi and drops them
|
|
124
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
125
|
+
|
|
126
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > respects an already-migrated restApi block
|
|
127
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
128
|
+
|
|
129
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > maps apiSkipRoute to an empty methods list
|
|
130
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
131
|
+
|
|
132
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > is idempotent — a second run changes nothing
|
|
133
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
134
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
135
|
+
|
|
136
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > leaves a schema with no x-documentConfig untouched
|
|
137
|
+
[36m[INFO][0m Migration v0.6.14-alpha: skip Legacy.json (no old fields)
|
|
138
|
+
|
|
139
|
+
✓ test/unit/migration.test.ts (5 tests) 4ms
|
|
140
|
+
✓ test/unit/authDocuments.test.ts (5 tests) 2ms
|
|
141
|
+
✓ test/golden.test.ts (18 tests) 5494ms
|
|
142
|
+
✓ golden output > generates the expected tree for "mongo-auth-rbac" 339ms
|
|
143
|
+
✓ golden output > generates the expected tree for "sql-auth-delete-account-off" 331ms
|
|
144
|
+
✓ golden output > generates the expected tree for "sql-auth-firebase" 327ms
|
|
145
|
+
✓ golden output > generates the expected tree for "sql-auth-firebase-only" 327ms
|
|
146
|
+
✓ golden output > generates the expected tree for "sql-auth-oauth-rbac" 332ms
|
|
147
|
+
✓ golden output > generates the expected tree for "sql-binary" 325ms
|
|
148
|
+
✓ golden output > generates the expected tree for "sql-delete-tables" 322ms
|
|
149
|
+
✓ golden output > generates the expected tree for "sql-noauth" 308ms
|
|
150
|
+
✓ golden output > generates the expected tree for "sql-norbac" 318ms
|
|
151
|
+
✓ golden output > generates the expected tree for "sql-noswagger" 317ms
|
|
152
|
+
✓ golden output > generates the expected tree for "sql-schema-specified" 306ms
|
|
153
|
+
✓ golden output > generates the expected tree for "sql-tenant" 332ms
|
|
154
|
+
✓ golden output > generates the expected tree for "sql-tenant-delete-account" 335ms
|
|
155
|
+
✓ golden output > generates the expected tree for "sql-tenant-header" 309ms
|
|
156
|
+
✓ golden output > generates the expected tree for "sql-tenant-single" 347ms
|
|
157
|
+
✓ golden output > generates the expected tree for "sql-verify-only" 313ms
|
|
158
|
+
✓ test/unit/template.test.ts (6 tests) 2ms
|
|
159
|
+
|
|
160
|
+
Test Files 17 passed | 6 skipped (23)
|
|
161
|
+
Tests 187 passed | 60 skipped (247)
|
|
162
|
+
Start at 08:36:13
|
|
163
|
+
Duration 8.62s (transform 232ms, setup 0ms, collect 421ms, tests 5.61s, environment 3ms, prepare 774ms)
|
|
164
|
+
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
|
|
2
|
+
> very-express@0.10.6 test
|
|
3
|
+
> npm run compile && vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> very-express@0.10.6 compile
|
|
7
|
+
> node ./scripts/build.js && node ./scripts/copyTsTemplates.js
|
|
8
|
+
|
|
9
|
+
[33mThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m
|
|
10
|
+
|
|
11
|
+
RUN v2.1.9 /home/justin/Documents/VeryExpress
|
|
12
|
+
|
|
13
|
+
↓ test/e2e/tenantSingle.test.ts (11 tests | 11 skipped)
|
|
14
|
+
↓ test/e2e/contract.test.ts (16 tests | 16 skipped)
|
|
15
|
+
↓ test/e2e/tenant.test.ts (11 tests | 11 skipped)
|
|
16
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > renders one button per configured provider, with the label substituted
|
|
17
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
18
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
19
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
20
|
+
|
|
21
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > renders no button for a provider name the wiring cannot start, and says so
|
|
22
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
23
|
+
- TEST_FIREBASE_PROVIDERS names "twitter", which this login page cannot start (known: google, github)
|
|
24
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
25
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
26
|
+
|
|
27
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > inlines the carrier and the glue, and tags no SDK script of its own
|
|
28
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
29
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
30
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
31
|
+
|
|
32
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > carries the SDK base URL and the env-derived public config to the glue
|
|
33
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
34
|
+
- not set in .env or process.env: TEST_FIREBASE_AUTH_DOMAIN
|
|
35
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
36
|
+
|
|
37
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > reports a missing variable, naming it in the message the browser shows
|
|
38
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
39
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_AUTH_DOMAIN
|
|
40
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
41
|
+
|
|
42
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > allows gstatic, the token endpoints and the auth window, and keeps the page's own nonce
|
|
43
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
44
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT
|
|
45
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
46
|
+
|
|
47
|
+
stderr | test/unit/starterUI.test.ts > StarterUI — login page, Firebase wiring > keeps window.opener alive for the popup, overriding helmet's default
|
|
48
|
+
[vex] auth.firebase is enabled but its public browser config is not usable:
|
|
49
|
+
- not set in .env or process.env: TEST_FIREBASE_API_KEY, TEST_FIREBASE_PROJECT, TEST_FIREBASE_AUTH_DOMAIN
|
|
50
|
+
If a value is already in .env, restart the server — .env is read once at startup.
|
|
51
|
+
|
|
52
|
+
✓ test/unit/starterUI.test.ts (15 tests) 10ms
|
|
53
|
+
✓ test/unit/isolation.test.ts (16 tests) 9ms
|
|
54
|
+
stdout | test/unit/tenantSingle.test.ts > Tenant endpoints across modes > emits create in single and option, and nothing in preSelect
|
|
55
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
56
|
+
[32m[WRITING][0m Tenant Controller : "/tmp/vex-tenant-ctrl-single-zWp3yV/controllers/TenantController.gen.ts"
|
|
57
|
+
[34m[PROCESSING][0m Tenant Controller
|
|
58
|
+
[32m[WRITING][0m Tenant Types : "/tmp/vex-tenant-ctrl-option-rlkrri/types/TenantList.gen.ts"
|
|
59
|
+
[32m[WRITING][0m Tenant Controller : "/tmp/vex-tenant-ctrl-option-rlkrri/controllers/TenantController.gen.ts"
|
|
60
|
+
|
|
61
|
+
✓ test/unit/tenantSingle.test.ts (16 tests) 35ms
|
|
62
|
+
✓ test/unit/deleteAccountPage.test.ts (6 tests) 15ms
|
|
63
|
+
↓ test/e2e/compile.test.ts (13 tests | 13 skipped)
|
|
64
|
+
✓ test/unit/firebaseAuth.test.ts (17 tests) 5ms
|
|
65
|
+
↓ test/e2e/transaction.test.ts (4 tests | 4 skipped)
|
|
66
|
+
✓ test/unit/softDelete.test.ts (12 tests) 7ms
|
|
67
|
+
↓ test/e2e/tenantHeader.test.ts (5 tests | 5 skipped)
|
|
68
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — preSelect emits the header path only > takes no token and names only header errors
|
|
69
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-4Bh5Pi/TenantScopeContext.gen.ts"
|
|
70
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
71
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-4Bh5Pi/TenantScope.gen.ts"
|
|
72
|
+
|
|
73
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — preSelect emits the header path only > keeps the shared UUID check
|
|
74
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-Rgzyi6/TenantScopeContext.gen.ts"
|
|
75
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
76
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-Rgzyi6/TenantScope.gen.ts"
|
|
77
|
+
|
|
78
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — option emits claim plus guest header > takes both sources and names every error
|
|
79
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-option-nJHfVS/TenantScopeContext.gen.ts"
|
|
80
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
81
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-option-nJHfVS/TenantScope.gen.ts"
|
|
82
|
+
|
|
83
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScopeContext — single emits the claim path only > takes no header argument
|
|
84
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-pCa6EM/TenantScopeContext.gen.ts"
|
|
85
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
86
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-pCa6EM/TenantScope.gen.ts"
|
|
87
|
+
|
|
88
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — single never reads the tenant header > has no header constant, no header read, no requested tenant
|
|
89
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-4tqgJC/TenantScopeContext.gen.ts"
|
|
90
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
91
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-4tqgJC/TenantScope.gen.ts"
|
|
92
|
+
|
|
93
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — single never reads the tenant header > keeps the claim errors only
|
|
94
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-2XAmWI/TenantScopeContext.gen.ts"
|
|
95
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
96
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-2XAmWI/TenantScope.gen.ts"
|
|
97
|
+
|
|
98
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > option reads the header as the guest fallback
|
|
99
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-option-U5XnaP/TenantScopeContext.gen.ts"
|
|
100
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
101
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-option-U5XnaP/TenantScope.gen.ts"
|
|
102
|
+
|
|
103
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > preSelect requires the header and reads no token
|
|
104
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-preSelect-aCmPLM/TenantScopeContext.gen.ts"
|
|
105
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
106
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-preSelect-aCmPLM/TenantScope.gen.ts"
|
|
107
|
+
|
|
108
|
+
stdout | test/unit/tenantScopeContext.test.ts > TenantScope — option and preSelect keep their header path > applies tenant.scope to every mode
|
|
109
|
+
[32m[WRITING][0m Tenant Scope Context : "/tmp/vex-tenant-single-XGXMNJ/TenantScopeContext.gen.ts"
|
|
110
|
+
[34m[PROCESSING][0m Tenant Scope Middleware
|
|
111
|
+
[32m[WRITING][0m Tenant Scope Middleware : "/tmp/vex-tenant-single-XGXMNJ/TenantScope.gen.ts"
|
|
112
|
+
|
|
113
|
+
✓ test/unit/tenantScopeContext.test.ts (9 tests) 8ms
|
|
114
|
+
✓ test/unit/userContext.test.ts (11 tests) 11ms
|
|
115
|
+
✓ test/unit/auditFields.test.ts (5 tests) 4ms
|
|
116
|
+
stdout | test/unit/configOptions.test.ts > isShowSoftDeleted > is true only when explicitly true
|
|
117
|
+
[33m[WARN][0m app.showSoftDeleted is ON — soft-deleted rows are visible to every query, are writable again through the ordinary CRUD path, and the account-state guard in Authentication.middleware will keep rejecting tombstones. Unset app.showSoftDeleted to restore the default (hidden).
|
|
118
|
+
|
|
119
|
+
✓ test/unit/configOptions.test.ts (16 tests) 4ms
|
|
120
|
+
✓ test/unit/accountStateGuard.test.ts (5 tests) 3ms
|
|
121
|
+
✓ test/unit/schemaName.test.ts (13 tests) 4ms
|
|
122
|
+
✓ test/unit/verifyOnly.test.ts (9 tests) 6ms
|
|
123
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > moves the old flat fields under restApi and drops them
|
|
124
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
125
|
+
|
|
126
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > respects an already-migrated restApi block
|
|
127
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
128
|
+
|
|
129
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > maps apiSkipRoute to an empty methods list
|
|
130
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
131
|
+
|
|
132
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > is idempotent — a second run changes nothing
|
|
133
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
134
|
+
[32m[WRITING][0m Migration v0.6.14-alpha: migrated Legacy.json
|
|
135
|
+
|
|
136
|
+
stdout | test/unit/migration.test.ts > migration v0.6.14-alpha: migrateSchemaFile > leaves a schema with no x-documentConfig untouched
|
|
137
|
+
[36m[INFO][0m Migration v0.6.14-alpha: skip Legacy.json (no old fields)
|
|
138
|
+
|
|
139
|
+
✓ test/unit/migration.test.ts (5 tests) 4ms
|
|
140
|
+
✓ test/unit/authDocuments.test.ts (5 tests) 3ms
|
|
141
|
+
✓ test/golden.test.ts (18 tests) 6110ms
|
|
142
|
+
✓ golden output > generates the expected tree for "mongo-auth-rbac" 367ms
|
|
143
|
+
✓ golden output > generates the expected tree for "sql-auth-delete-account-off" 360ms
|
|
144
|
+
✓ golden output > generates the expected tree for "sql-auth-firebase" 359ms
|
|
145
|
+
✓ golden output > generates the expected tree for "sql-auth-firebase-only" 358ms
|
|
146
|
+
✓ golden output > generates the expected tree for "sql-auth-oauth-rbac" 356ms
|
|
147
|
+
✓ golden output > generates the expected tree for "sql-binary" 350ms
|
|
148
|
+
✓ golden output > generates the expected tree for "sql-delete-tables" 388ms
|
|
149
|
+
✓ golden output > generates the expected tree for "sql-noauth" 351ms
|
|
150
|
+
✓ golden output > generates the expected tree for "sql-norbac" 353ms
|
|
151
|
+
✓ golden output > generates the expected tree for "sql-noswagger" 374ms
|
|
152
|
+
✓ golden output > generates the expected tree for "sql-schema-specified" 353ms
|
|
153
|
+
✓ golden output > generates the expected tree for "sql-tenant" 368ms
|
|
154
|
+
✓ golden output > generates the expected tree for "sql-tenant-delete-account" 372ms
|
|
155
|
+
✓ golden output > generates the expected tree for "sql-tenant-header" 349ms
|
|
156
|
+
✓ golden output > generates the expected tree for "sql-tenant-header-nouser" 333ms
|
|
157
|
+
✓ golden output > generates the expected tree for "sql-tenant-single" 371ms
|
|
158
|
+
✓ golden output > generates the expected tree for "sql-verify-only" 336ms
|
|
159
|
+
✓ test/unit/template.test.ts (6 tests) 3ms
|
|
160
|
+
|
|
161
|
+
Test Files 17 passed | 6 skipped (23)
|
|
162
|
+
Tests 184 passed | 60 skipped (244)
|
|
163
|
+
Start at 05:35:44
|
|
164
|
+
Duration 9.77s (transform 320ms, setup 0ms, collect 554ms, tests 6.24s, environment 3ms, prepare 867ms)
|
|
165
|
+
|
|
166
|
+
EXIT=0
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
APP_HOST=http://localhost
|
|
2
|
+
APP_PORT=3000
|
|
3
|
+
# MONGODB_URI=mongodb://localhost:27017/veryExpressDB
|
|
4
|
+
SQL_URI=postgresql://veryexpress:7PP8BWWFMGeRsyWn@43.128.111.169:5432/veryexpress
|
|
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
|
+
# JWT token
|
|
23
|
+
ACCESS_TOKEN_EXPIRE_TIME='1h'
|
|
24
|
+
REFRESH_TOKEN_EXPIRE_TIME='24h'
|
|
25
|
+
SESSION_COOKIE_SECRET='my-session-cookie-secret'
|
|
26
|
+
JWT_ALGORITHM='HS256'
|
|
27
|
+
JWT_SECRET0='my-secret-key0'
|
|
28
|
+
|
|
29
|
+
# Firebase
|
|
30
|
+
FIREBASE_SERVICE_ACCOUNT_JSON={"type": "service_account","project_id": "renomaster-c36d6","private_key_id": "ed13ef9f068ee4d89d5f1d339b43536d3cfdaea3","private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDFz9J/+Qe8+E+2\nXF7fvNA+mj2FV4WIljQjipX6kX9K2yGxIJAjFqs/4Bf4kKlEVvXQUxtKGy/yTrkx\nM6Ch7F4OZ6oxsXA0XvzN9vVqi3A4Dq28h3U8gRHZaU6y1GyDbbIOMhZaRKKyAaBa\n49EixvnGm7zbRybgbgqT4/y1TR1HGFkiXWvlNcKqqCaS3UzrsC2JrAc+X6ld7p+s\n4UovLLgcOMw9NLGI0eTY7AZqClO9z/ciMu1Ui6pUN0KRrHIDjweteuLFSWaBdK8M\nLeNmJmuVZTAr8ProFqc23UhwWlsAI80zdxxaGzIN3mujMDBnlniuNFkD1oBBiEis\n8w+iadkLAgMBAAECggEABnzX2/xXNXzZq9wJ/R0hD1W012gnKCo5jB1vxBoOqm4g\nTQsuXLzR4ZkAOWg1MrThtwVr5tlztNTB3HCsv744j36sCgboo3g47BdBteElceyn\nCO53QikIZIwuNN/bQGMbNeJDzWmJJsX/dBca/kVKFZgLJ6KE6eW7LMuwAKyGgic4\nSphAvlTt4JV8wrSV60Iv6lRVrE0BKnV3JbptV9r2FNymO319XtyoeNr4eJreWNaS\nYU7lnEfnanfceMF6ft88a6C+Fn8eE+ogMTEd2UQmQ4kL/0863siO6OBc2tID+Pyu\nLmIHsedrfa5r8aAWhH+vf767EV0QF7xO6HJbUaogIQKBgQD6UTsVMEg0l8bVAmVZ\ng0GlyPC1pbCIOId5Z1OCvfHDHP87lFE577dADp81R0HO9ElteB3BU2XIZCS/SFus\nIb2btDOWNZKv/7+R8XAEn8J0r1AwJRwua8chirNPacXbGE4NY0tWQ4cwV6vt8am9\nUr9PCR7DVcLcBY7iuyDLpyn7KQKBgQDKTXH6Li2bTQsVCbCI4buACOlTW7m98o53\nQS5Eq1l9EN3uSnUK74jF0n/WqkNi08LLSVs68GU/IgLIFmoCciq64tncmDapWcRp\n/TgDLKXVHIrdNOV8T8z9UVM/df1IUafF6fCWjrzhJqOulmZ6s7tLD6K9/jvCJxnJ\nA+BQOrYtEwKBgAlEHIXKRcH8pFWaQxovK6zxZUe0HHbOcOVjl8nNMjfgyOnxsZgN\ncaEjaW1Vd/ArRtSQj7lqVug2HM4f5ZTXoucyon46+XUeaH8EivsA1vfuzW8a0JI/\nVx28vqp/5d0YZztDo7RLx6NYe3rRaVEi0QYh9kuQzyfJ5OIrvykKxRkRAoGAOfb6\nw25bzvXCSSLfnDjhmovzHtlXXR+UxoK8mRxnpbghfteCtcFwdQ4dZwqeCEEYvVql\nczvSJsa9+UrC0TSZHbdGKTjL4LZB2wSc+fvfADMPbtZrMrVCzQpySeqqyf/rjH+9\nWcZIRFLn72xUrK+26IjwXnPr93NwpfIgYZyQ+lUCgYEA06mFMeJVE7N2mpFIBguo\nHqxv9Pij8Tr0ipRbL+wCP30K/r/VtmXyVknueg1+xzOzFS5w1vuOeWu8DnHG9PwZ\nzhzZ8HYF9Svp0Hq7/xMktByaPRtKrcVEMAD9iawvTlP3JjYT12ekyFujpe6aQaHX\n0eLr4V8Jy9RZ02P9ISYzfQU=\n-----END PRIVATE KEY-----\n","client_email": "firebase-adminsdk-fbsvc@renomaster-c36d6.iam.gserviceaccount.com","client_id": "115188267936117794021","auth_uri": "https://accounts.google.com/o/oauth2/auth","token_uri": "https://oauth2.googleapis.com/token","auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs","client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-fbsvc%40renomaster-c36d6.iam.gserviceaccount.com","universe_domain": "googleapis.com"}
|
|
31
|
+
FIREBASE_WEB_API_KEY=AIzaSyB-BFEFL1SFQgh_fVDhgza7MEuTPrBCAKw
|
|
32
|
+
FIREBASE_WEB_AUTH_DOMAIN=renomaster-c36d6.firebaseapp.com
|
|
33
|
+
FIREBASE_WEB_PROJECT_ID=renomaster-c36d6
|
|
34
|
+
FIREBASE_PROVIDERS=google,github,apple
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ret_code":"err_permission","ret_msg":"Missing X-Auth-Index header","elapse":0}
|