@punks/backend-entity-manager 0.0.481 → 0.0.482
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.
|
@@ -3,6 +3,7 @@ export type EntityVersioningOptions = {
|
|
|
3
3
|
};
|
|
4
4
|
export interface EntityProps {
|
|
5
5
|
name: string;
|
|
6
|
+
description?: string;
|
|
6
7
|
versioning?: EntityVersioningOptions;
|
|
7
8
|
}
|
|
8
9
|
export declare const WpEntity: (name: string, props?: Omit<EntityProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1467,6 +1467,7 @@ type EntityVersioningOptions = {
|
|
|
1467
1467
|
};
|
|
1468
1468
|
interface EntityProps {
|
|
1469
1469
|
name: string;
|
|
1470
|
+
description?: string;
|
|
1470
1471
|
versioning?: EntityVersioningOptions;
|
|
1471
1472
|
}
|
|
1472
1473
|
declare const WpEntity: (name: string, props?: Omit<EntityProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|