@restura/core 1.4.0 → 1.5.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 -1
- package/dist/index.js +293 -241
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -984,6 +984,7 @@ declare class ResturaEngine {
|
|
|
984
984
|
private responseValidator;
|
|
985
985
|
private authenticationHandler;
|
|
986
986
|
private customTypeValidation;
|
|
987
|
+
private standardTypeValidation;
|
|
987
988
|
private psqlConnectionPool;
|
|
988
989
|
private psqlEngine;
|
|
989
990
|
/**
|
|
@@ -992,7 +993,7 @@ declare class ResturaEngine {
|
|
|
992
993
|
* @param app - The Express application instance to initialize with Restura.
|
|
993
994
|
* @returns A promise that resolves when the initialization is complete.
|
|
994
995
|
*/
|
|
995
|
-
init(app: express.
|
|
996
|
+
init(app: express.Express, authenticationHandler: AuthenticateHandler, psqlConnectionPool: PsqlPool): Promise<void>;
|
|
996
997
|
/**
|
|
997
998
|
* Determines if a given endpoint is public based on the HTTP method and full URL. This
|
|
998
999
|
* is determined on whether the endpoint in the schema has no roles or scopes assigned to it.
|