Skip to content

Commit

Permalink
Return $metadata resource as odata + openapi spec
Browse files Browse the repository at this point in the history
Returning odata and openapi specs in json format.
Specs are scoped to the request permissions.
Different users (roles) will receive different metadata endpoints
and resources.

Change-type: minor
Signed-off-by: Harald Fischer <[email protected]>
Signed-off-by: fisehara <[email protected]>
  • Loading branch information
fisehara committed Nov 8, 2022
1 parent 28840cb commit 5d1f441
Show file tree
Hide file tree
Showing 13 changed files with 1,013 additions and 143 deletions.
20 changes: 20 additions & 0 deletions .versionbot/CHANGELOG.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
- commits:
- subject: Fixing issue reported by tsc 4.8.2
hash: 57b05baa09718525b4e0e85c99b2c6c8c5b387ae
body: >
Inferenced type of check could be I & null

when I is not set in the overload.


tsc 4.8 https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to
footer:
Change-type: patch
change-type: patch
Signed-off-by: Harald Fischer <[email protected]>
signed-off-by: Harald Fischer <[email protected]>
author: Harald Fischer
nested: []
version: 14.49.2
title: "'Fixing issue reported by tsc 4.8.2'"
date: 2022-08-26T11:33:52.884Z
- commits:
- subject: Lazily define read-only hook args to avoid doing so unnecessarily
hash: 56eef2eb82ab4f0b2aa436e8b126d0013df7a790
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

# v14.49.2
## (2022-08-26)

* Fixing issue reported by tsc 4.8.2 [Harald Fischer]

# v14.49.1
## (2022-08-08)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.49.1
14.49.2
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balena/pinejs",
"version": "14.49.1",
"version": "14.49.2",
"main": "out/server-glue/module",
"repository": "[email protected]:balena-io/pinejs.git",
"license": "Apache-2.0",
Expand All @@ -27,7 +27,9 @@
"compose:postgres": "docker-compose -f docker-compose.test.yml up -d postgres",
"compose:build": "docker-compose -f docker-compose.test.yml build",
"compose:down": "docker-compose -f docker-compose.test.yml down",
"prettify": "balena-lint -e js -e ts --fix src build typings Gruntfile.ts"
"prettify": "balena-lint -e js -e ts --fix src build typings Gruntfile.ts",
"serve-openapi": "redoc-cli serve --ssr ./example-openapi.json",
"build-openapi": "redoc-cli build ./example-openapi.json"
},
"dependencies": {
"@balena/abstract-sql-compiler": "^7.20.0",
Expand Down Expand Up @@ -61,6 +63,7 @@
"express-session": "^1.17.3",
"lodash": "^4.17.21",
"memoizee": "^0.4.15",
"odata-openapi": "^0.18.1",
"pinejs-client-core": "^6.10.2",
"randomstring": "^1.2.2",
"typed-error": "^3.2.1"
Expand Down Expand Up @@ -91,6 +94,7 @@
"load-grunt-tasks": "^5.1.0",
"mocha": "^9.2.2",
"raw-loader": "^4.0.2",
"redoc-cli": "^0.13.18",
"require-npm4-to-publish": "^1.0.0",
"supertest": "^6.2.4",
"terser-webpack-plugin": "^5.3.3",
Expand Down Expand Up @@ -144,6 +148,6 @@
"recursive": true
},
"versionist": {
"publishedAt": "2022-08-08T12:02:26.211Z"
"publishedAt": "2022-08-26T11:33:53.323Z"
}
}
Loading

0 comments on commit 5d1f441

Please sign in to comment.