@aeriajs/types 0.0.87 → 0.0.88

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
@@ -24,10 +24,10 @@ export type ApiConfig = {
24
24
  logSuccessfulAuthentications?: boolean;
25
25
  authenticationRateLimiting?: RateLimitingParams | null;
26
26
  allowSignup?: boolean;
27
- signupDefaults?: Partial<{
28
- roles: string[];
29
- active: boolean;
30
- }>;
27
+ signupDefaults?: {
28
+ roles?: string[];
29
+ active?: boolean;
30
+ };
31
31
  paginationLimit?: number;
32
32
  exposeFunctionsByDefault?: boolean | 'unauthenticated';
33
33
  };
package/dist/context.d.ts CHANGED
@@ -54,7 +54,6 @@ export type RouteContext<TAcceptedRole extends AcceptedRole = null> = {
54
54
  }>>;
55
55
  config: ApiConfig;
56
56
  inherited: boolean;
57
- calledFunction: string;
58
57
  };
59
58
  export type CollectionContext<TDescription extends Description, TFunctions = Collection['functions']> = {
60
59
  description: TDescription;
@@ -63,6 +62,7 @@ export type CollectionContext<TDescription extends Description, TFunctions = Col
63
62
  description: TDescription;
64
63
  functions: TFunctions;
65
64
  }> : IndepthCollection<any>;
65
+ calledFunction?: string;
66
66
  };
67
67
  export type Context<TDescription extends Description = Description, TFunctions = Collection['functions']> = RouteContext & CollectionContext<TDescription, TFunctions>;
68
68
  export type StrictContext<TAcceptedRole extends AcceptedRole = null, TDescription extends Description = any, TFunctions = Collection['functions']> = RouteContext<TAcceptedRole> & CollectionContext<TDescription, TFunctions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/types",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",