@kravc/dos 1.11.2 → 1.11.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kravc/dos",
3
- "version": "1.11.2",
3
+ "version": "1.11.4",
4
4
  "description": "Convention-based, easy-to-use library for building API-driven serverless services.",
5
5
  "keywords": [
6
6
  "Service",
package/src/index.d.ts CHANGED
@@ -174,14 +174,18 @@ 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 {
181
+ constructor(context: Context);
182
+
181
183
  public context: Context;
182
184
  static get query(): SchemaAttributes | null;
183
185
  static get mutation(): Schema | SchemaAttributes | null;
184
186
  static get output(): Schema | SchemaAttributes | null;
187
+
188
+ exec(parameters: Record<string, unknown>): Promise<Record<string, unknown>>;
185
189
  }
186
190
 
187
191
  export declare function Read(