@aeriajs/types 0.0.129 → 0.0.131

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/config.d.ts CHANGED
@@ -50,3 +50,6 @@ export type ApiConfig = {
50
50
  tokenUserProperties?: (keyof CollectionItem<'user'>)[];
51
51
  errorHandler?: <TError>(context: RouteContext, error: TError) => unknown | Promise<unknown>;
52
52
  };
53
+ export type StaticConfig = {
54
+ outDir?: string;
55
+ };
package/dist/context.d.ts CHANGED
@@ -38,6 +38,8 @@ export type ContextOptions = {
38
38
  token?: Token;
39
39
  inherited?: boolean;
40
40
  calledFunction?: string;
41
+ request?: GenericRequest;
42
+ response?: GenericResponse;
41
43
  };
42
44
  export type RouteContext<TAccessCondition extends AccessCondition = false> = {
43
45
  collections: IndepthCollections;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/types",
3
- "version": "0.0.129",
3
+ "version": "0.0.131",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",