@aeriajs/types 0.0.83 → 0.0.84

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.
@@ -1,7 +1,7 @@
1
1
  import type { PhosphorIcon } from '@phosphor-icons/core';
2
2
  import type { ObjectId } from 'mongodb';
3
3
  import type { Condition } from './condition.js';
4
- import type { Context } from './context.js';
4
+ import type { RouteContext } from './context.js';
5
5
  export type PropertyArrayElement = 'checkbox' | 'radio' | 'select';
6
6
  export type PropertyInputType = 'text' | 'email' | 'password' | 'search' | 'time' | 'month';
7
7
  export type PropertyInputElement = 'input' | 'textarea';
@@ -97,7 +97,7 @@ export type ArrayOfRefs = Omit<ArrayProperty, 'items'> & {
97
97
  export type GetterProperty = {
98
98
  getter: (document: unknown & {
99
99
  _id: ObjectId;
100
- }, context: Context) => unknown;
100
+ }, context: RouteContext) => unknown;
101
101
  requires?: string[];
102
102
  };
103
103
  export type ConstProperty = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/types",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",