namirasoft-node 1.1.10 → 1.1.11
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/BaseController.d.ts
CHANGED
|
@@ -24,11 +24,9 @@ export declare abstract class BaseController<D extends BaseDatabase, State, Prop
|
|
|
24
24
|
abstract getLogger(): ILogger;
|
|
25
25
|
abstract getInfo(): {
|
|
26
26
|
method: HTTPMethod;
|
|
27
|
-
name: string;
|
|
28
27
|
path: string;
|
|
29
28
|
tag: string;
|
|
30
29
|
summary: string;
|
|
31
|
-
desciption: string;
|
|
32
30
|
};
|
|
33
31
|
abstract getBodySchema(): SchemaLike | null;
|
|
34
32
|
abstract getQuerySchema(): SchemaLike | null;
|
package/package.json
CHANGED
package/src/BaseController.ts
CHANGED
|
@@ -32,7 +32,7 @@ export abstract class BaseController<D extends BaseDatabase, State, Props>
|
|
|
32
32
|
abstract getAnomaly(): AnomalyDetector | null;
|
|
33
33
|
abstract getDatabase(): D;
|
|
34
34
|
abstract getLogger(): ILogger;
|
|
35
|
-
abstract getInfo(): { method: HTTPMethod,
|
|
35
|
+
abstract getInfo(): { method: HTTPMethod, path: string, tag: string, summary: string };
|
|
36
36
|
abstract getBodySchema(): SchemaLike | null;
|
|
37
37
|
abstract getQuerySchema(): SchemaLike | null;
|
|
38
38
|
abstract getState(): Promise<State>;
|