@imbricate/core 3.28.0 → 3.29.0
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/database/schema.d.ts +2 -0
- package/package.json +1 -1
package/database/schema.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @namespace Database
|
|
4
4
|
* @description Schema
|
|
5
5
|
*/
|
|
6
|
+
import { ImbricatePropertyVariant } from "../property/definition";
|
|
6
7
|
import { IMBRICATE_PROPERTY_TYPE } from "../property/type";
|
|
7
8
|
export type ImbricateDatabaseSchemaProperty<T extends IMBRICATE_PROPERTY_TYPE> = {
|
|
8
9
|
readonly propertyIdentifier: string;
|
|
@@ -41,6 +42,7 @@ export type ImbricateDatabaseSchemaPropertyOptions<T extends IMBRICATE_PROPERTY_
|
|
|
41
42
|
export type ImbricateDatabaseSchemaPropertyForCreation<T extends IMBRICATE_PROPERTY_TYPE> = {
|
|
42
43
|
readonly propertyName: string;
|
|
43
44
|
readonly propertyType: T;
|
|
45
|
+
readonly propertyVariant: ImbricatePropertyVariant;
|
|
44
46
|
readonly propertyOptions: ImbricateDatabaseSchemaPropertyOptions<T>;
|
|
45
47
|
readonly isPrimaryKey?: boolean;
|
|
46
48
|
};
|