@edifice.io/config-nest-api 0.0.0-stage → 0.1.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.
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/index.umd.cjs +1 -0
- package/dist/nats/types.d.ts +17 -0
- package/dist/nats/types.d.ts.map +1 -0
- package/package.json +52 -3
- package/README.md +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(n){typeof define=="function"&&define.amd?define(n):n()})(function(){"use strict"});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface AuthLocationConfig {
|
|
2
|
+
callbackParam?: string;
|
|
3
|
+
host?: string;
|
|
4
|
+
loginUri?: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Empty placeholder for future parameters.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetRedirectConfigRequest {
|
|
10
|
+
}
|
|
11
|
+
export interface RedirectConfigResponse {
|
|
12
|
+
allowedHosts?: string[];
|
|
13
|
+
authLocations?: AuthLocationConfig[];
|
|
14
|
+
callbackParam?: string;
|
|
15
|
+
loginUri?: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/nats/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;CACxC;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/config-nest-api",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Clients to interact with config-nats-service",
|
|
5
|
+
"private": false,
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [],
|
|
10
|
+
"author": "Edifice",
|
|
11
|
+
"license": "AGPL-3.0",
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": "22"
|
|
14
|
+
},
|
|
15
|
+
"engineStrict": true,
|
|
16
|
+
"type": "module",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"require": "./dist/index.umd.cjs",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"main": "dist/index.umd.cjs",
|
|
25
|
+
"module": "dist/index.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"husky": "9.0.11",
|
|
32
|
+
"prettier": "3.2.5",
|
|
33
|
+
"semantic-release": "23.0.2",
|
|
34
|
+
"typescript": "5.2.2",
|
|
35
|
+
"vite": "5.1.4",
|
|
36
|
+
"vite-plugin-dts": "4.3.0",
|
|
37
|
+
"rxjs": "7.8.1",
|
|
38
|
+
"@nestjs/common": "11.0.20",
|
|
39
|
+
"@nestjs/microservices": "11.0.20"
|
|
40
|
+
},
|
|
41
|
+
"lint-staged": {
|
|
42
|
+
"*.{js,ts,jsx,tsx,json,css,md}": "pnpm format"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"dev": "vite",
|
|
46
|
+
"build": "tsc && vite build",
|
|
47
|
+
"build:types": "tsc --build",
|
|
48
|
+
"preview": "vite preview",
|
|
49
|
+
"clean": "rm -Rf dist",
|
|
50
|
+
"format": "pnpm run format:write && pnpm run format:check",
|
|
51
|
+
"format:check": "npx prettier --check \"src/**/*.ts\"",
|
|
52
|
+
"format:write": "npx prettier --write \"src/**/*.ts\"",
|
|
53
|
+
"pre-commit": "pnpm run format"
|
|
54
|
+
}
|
|
6
55
|
}
|
package/README.md
DELETED