@haneinfo/metadata-schema 1.1.2 → 1.1.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"meta.controller.d.ts","sourceRoot":"","sources":["../src/meta.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAM9D,qBAEa,cAAc;IACQ,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAG1E,MAAM,IAAI,UAAU;CAGrB"}
1
+ {"version":3,"file":"meta.controller.d.ts","sourceRoot":"","sources":["../src/meta.controller.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAM9D,qBAEa,cAAc;IACQ,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAM1E,MAAM,IAAI,UAAU;CAGrB"}
@@ -24,6 +24,8 @@ let MetaController = class MetaController {
24
24
  constructor(metaService) {
25
25
  this.metaService = metaService;
26
26
  }
27
+ // Declares the scope for the API-key scope catalog (m2m-api-key reads the 'scopes' metadata key), so
28
+ // metadata:read can be issued. Written as plain metadata to keep this package free of an m2m runtime import.
27
29
  schema() {
28
30
  return this.metaService.buildMeta();
29
31
  }
@@ -31,6 +33,7 @@ let MetaController = class MetaController {
31
33
  exports.MetaController = MetaController;
32
34
  __decorate([
33
35
  (0, common_1.Get)('schema'),
36
+ (0, common_1.SetMetadata)('scopes', ['metadata:read']),
34
37
  __metadata("design:type", Function),
35
38
  __metadata("design:paramtypes", []),
36
39
  __metadata("design:returntype", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"meta.controller.js","sourceRoot":"","sources":["../src/meta.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iEAA+D;AAC/D,2CAAoE;AACpE,iDAA8D;A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cAAc,CAU1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haneinfo/metadata-schema",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@haneinfo/common": "0.3.4",
28
- "@haneinfo/plugin-api": "1.4.0",
29
- "@haneinfo/plugin-host-nest": "2.0.0"
28
+ "@haneinfo/plugin-host-nest": "2.1.0",
29
+ "@haneinfo/plugin-api": "1.5.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@haneinfo/plugin-host-nest": "^2.0.0",
@@ -43,8 +43,8 @@
43
43
  "@types/node": "^24.13.0",
44
44
  "typescript": "^5.9.3",
45
45
  "vitest": "^4.1.11",
46
- "@haneinfo/plugin-testkit": "2.2.0",
47
- "@haneinfo/m2m-api-key": "8.0.4"
46
+ "@haneinfo/plugin-testkit": "2.3.0",
47
+ "@haneinfo/m2m-api-key": "8.1.2"
48
48
  },
49
49
  "license": "UNLICENSED",
50
50
  "publishConfig": {