@kravc/dos 1.11.1 → 1.11.3

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.d.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kravc/dos",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "description": "Convention-based, easy-to-use library for building API-driven serverless services.",
5
5
  "keywords": [
6
6
  "Service",
@@ -25,7 +25,7 @@
25
25
  "author": "Alexander Kravets <a@kra.vc>",
26
26
  "license": "ISC",
27
27
  "dependencies": {
28
- "@kravc/schema": "^2.7.3",
28
+ "@kravc/schema": "^2.7.4",
29
29
  "cookie": "^1.0.1",
30
30
  "js-yaml": "^4.1.0",
31
31
  "jsonwebtoken": "^9.0.2",
package/src/index.d.ts CHANGED
@@ -174,7 +174,7 @@ export declare class SystemAuthorization {
174
174
  }): Record<string, any>
175
175
  };
176
176
 
177
- type ComponentConstructor = new (...args: any[]) => any;
177
+ export type ComponentConstructor = new (...args: any[]) => any;
178
178
  type OperationConstructor = new (...args: any[]) => any;
179
179
 
180
180
  export declare class Operation {
@@ -182,6 +182,8 @@ export declare class Operation {
182
182
  static get query(): SchemaAttributes | null;
183
183
  static get mutation(): Schema | SchemaAttributes | null;
184
184
  static get output(): Schema | SchemaAttributes | null;
185
+
186
+ exec(parameters: Record<string, unknown>): Promise<Record<string, unknown>>;
185
187
  }
186
188
 
187
189
  export declare function Read(