nucleus-core-ts 0.9.705 → 0.9.707
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -11
- package/dist/src/Client/Proxy/authz.d.ts +74 -0
- package/dist/src/Client/Proxy/authz.js +202 -0
- package/dist/src/Client/Proxy/authz.test.d.ts +1 -0
- package/dist/src/Client/Proxy/authz.test.js +235 -0
- package/dist/src/Client/Proxy/httpProxy.js +96 -11
- package/dist/src/Client/Proxy/types.d.ts +40 -0
- package/dist/src/ElysiaPlugin/routes/authorization/discovery.test.d.ts +1 -0
- package/dist/src/ElysiaPlugin/routes/authorization/index.d.ts +50 -0
- package/dist/src/ElysiaPlugin/routes/domain/hostnames.d.ts +4 -2
- package/dist/src/ElysiaPlugin/routes/domain/hostnames.test.d.ts +1 -0
- package/dist/src/ElysiaPlugin/routes/payment/marketplace/authz.test.d.ts +1 -0
- package/dist/src/ElysiaPlugin/routes/payment/marketplace/types.d.ts +9 -0
- package/dist/src/ElysiaPlugin/routes/pubsub/daprAuth.test.d.ts +1 -0
- package/dist/src/ElysiaPlugin/routes/pubsub/types.d.ts +8 -0
- package/dist/src/ElysiaPlugin/routes/storage/cdn.test.d.ts +1 -0
- package/dist/src/ElysiaPlugin/utils.d.ts +5 -0
- package/dist/src/Services/Authorization/EndpointDiscovery/discovery.test.d.ts +1 -0
- package/dist/src/Services/Authorization/EndpointDiscovery/index.d.ts +68 -0
- package/dist/src/Services/Authorization/EndpointDiscovery/seed.d.ts +60 -0
- package/dist/src/Services/Authorization/EndpointDiscovery/seed.test.d.ts +1 -0
- package/dist/src/Services/Authorization/types.d.ts +6 -0
- package/dist/src/Services/OAuth/providers/microsoft.d.ts +17 -0
- package/dist/src/Services/OAuth/providers/microsoft.test.d.ts +1 -0
- package/dist/src/Services/Tenant/TenantRegistry.d.ts +1 -1
- package/dist/src/Services/Tenant/helpers.d.ts +9 -1
- package/dist/src/Services/Tenant/isTrustedSource.test.d.ts +1 -0
- package/dist/src/types.d.ts +49 -0
- package/package.json +113 -113
package/package.json
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
2
|
+
"name": "nucleus-core-ts",
|
|
3
|
+
"version": "0.9.707",
|
|
4
|
+
"description": "Production-ready, enterprise-grade TypeScript framework for building multi-tenant APIs",
|
|
5
|
+
"author": "Hidayet Can Özcan <hidayetcan@gmail.com>",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"backend",
|
|
9
|
+
"framework",
|
|
10
|
+
"elysia",
|
|
11
|
+
"drizzle",
|
|
12
|
+
"typescript"
|
|
13
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
"bin",
|
|
16
|
+
"dist",
|
|
17
|
+
"schemas",
|
|
18
|
+
"scripts",
|
|
19
|
+
"infra/templates",
|
|
20
|
+
"infra/scripts/generate-project.ts",
|
|
21
|
+
"src/system.tables.json",
|
|
22
|
+
"public",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"module": "dist/index.js",
|
|
26
|
+
"type": "module",
|
|
27
|
+
"types": "dist/index.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"import": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./client": {
|
|
34
|
+
"types": "./dist/client.d.ts",
|
|
35
|
+
"import": "./dist/client.js"
|
|
36
|
+
},
|
|
37
|
+
"./fe": {
|
|
38
|
+
"types": "./dist/fe/index.d.ts",
|
|
39
|
+
"import": "./dist/fe/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./fe/auth": {
|
|
42
|
+
"types": "./dist/fe/components/AuthGuard/index.d.ts",
|
|
43
|
+
"import": "./dist/fe/components/AuthGuard/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./proxy": {
|
|
46
|
+
"types": "./dist/src/Client/Proxy/index.d.ts",
|
|
47
|
+
"import": "./dist/src/Client/Proxy/index.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"test": "bun test src",
|
|
52
|
+
"build": "bun run scripts/build.ts",
|
|
53
|
+
"build:quick": "bun run build:js && bun run build:types",
|
|
54
|
+
"build:js": "bun build ./index.ts ./client.ts ./fe/index.ts ./src/Client/Proxy/index.ts --outdir=dist --target=bun --format=esm --splitting --minify --external react --external react-dom --external gsap --external @gsap/react --external h-state --external three --external @react-three/fiber --external elysia --external drizzle-orm --external drizzle-kit --external ioredis --external googleapis --external @dapr/dapr --external pg --external @xyflow/react --external @xyflow/system --external @azure/communication-email --external @azure/identity --external stripe",
|
|
55
|
+
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist --skipLibCheck",
|
|
56
|
+
"version:patch": "bun run scripts/version.ts patch",
|
|
57
|
+
"version:minor": "bun run scripts/version.ts minor",
|
|
58
|
+
"version:major": "bun run scripts/version.ts major",
|
|
59
|
+
"publish:npm": "bun run scripts/publish.ts",
|
|
60
|
+
"publish:dry": "bun run scripts/publish.ts --dry-run",
|
|
61
|
+
"release": "bun run version:patch && bun run publish:npm",
|
|
62
|
+
"release:minor": "bun run version:minor && bun run publish:npm",
|
|
63
|
+
"release:major": "bun run version:major && bun run publish:npm",
|
|
64
|
+
"generate:schemas": "bun run scripts/generate-types-schema.ts",
|
|
65
|
+
"lint": "biome check . --write",
|
|
66
|
+
"lint:fix": "biome check --config-path ./biome.json --write",
|
|
67
|
+
"prepublishOnly": "echo 'Use: bun run publish:npm'"
|
|
68
|
+
},
|
|
69
|
+
"bin": {
|
|
70
|
+
"nucleus-core-ts": "./bin/cli.ts",
|
|
71
|
+
"nucleus": "./bin/cli.ts",
|
|
72
|
+
"nucleus-generate": "./bin/cli.ts"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@react-three/fiber": "latest",
|
|
76
|
+
"@types/bun": "latest",
|
|
77
|
+
"@types/pg": "latest",
|
|
78
|
+
"@types/react": "latest",
|
|
79
|
+
"@types/react-dom": "latest",
|
|
80
|
+
"@types/three": "latest",
|
|
81
|
+
"bun-plugin-tailwind": "latest",
|
|
82
|
+
"drizzle-kit": "latest",
|
|
83
|
+
"javascript-obfuscator": "latest",
|
|
84
|
+
"lucide-react": "latest",
|
|
85
|
+
"three": "latest"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"typescript": "latest",
|
|
89
|
+
"elysia": "latest",
|
|
90
|
+
"@dapr/dapr": "latest",
|
|
91
|
+
"react": "latest",
|
|
92
|
+
"react-dom": "latest",
|
|
93
|
+
"pg": "latest",
|
|
94
|
+
"tailwindcss": "latest",
|
|
95
|
+
"tailwind-merge": "latest",
|
|
96
|
+
"clsx": "latest"
|
|
97
|
+
},
|
|
98
|
+
"dependencies": {
|
|
99
|
+
"@elysiajs/static": "latest",
|
|
100
|
+
"@elysiajs/swagger": "latest",
|
|
101
|
+
"@gsap/react": "latest",
|
|
102
|
+
"@simplewebauthn/server": "^13.3.0",
|
|
103
|
+
"@xyflow/react": "latest",
|
|
104
|
+
"drizzle-orm": "latest",
|
|
105
|
+
"googleapis": "latest",
|
|
106
|
+
"gsap": "latest",
|
|
107
|
+
"h-state": "latest",
|
|
108
|
+
"ioredis": "latest",
|
|
109
|
+
"reflect-metadata": "^0.2.2"
|
|
110
|
+
},
|
|
111
|
+
"optionalDependencies": {
|
|
112
|
+
"@azure/communication-email": "latest",
|
|
113
|
+
"stripe": "latest"
|
|
114
|
+
}
|
|
115
115
|
}
|