@tstdl/base 0.91.0-beta4 → 0.91.0-beta5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.91.0-beta4",
3
+ "version": "0.91.0-beta5",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,9 +1,10 @@
1
1
  import type { EmptyObject, Merge } from 'type-fest';
2
2
  import type { JsonPath } from '../../json-path/json-path.js';
3
- import type { AbstractConstructor, OneOrMany, PartialProperty, Record, SimplifyObject, Type, TypedOmit } from '../../types.js';
3
+ import type { AbstractConstructor, OneOrMany, PartialProperty, Record as RecordType, SimplifyObject, Type, TypedOmit } from '../../types.js';
4
4
  import { type SchemaPropertyDecoratorOptions } from '../decorators/index.js';
5
5
  import type { SchemaPropertyDecorator } from '../decorators/types.js';
6
6
  import { Schema, type SchemaTestable, type SchemaTestOptions, type SchemaTestResult } from '../schema.js';
7
+ export type Record<K extends PropertyKey = PropertyKey, V = any> = RecordType<K, V>;
7
8
  export type ObjectSchemaFactoryFunction<T> = (data: T) => T;
8
9
  export type ObjectSchemaFactory<T> = {
9
10
  type: Type<T>;