@luminix/core 0.0.1-beta.6 → 0.0.1-beta.8
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/types/Model.d.ts +16 -0
- package/package.json +1 -1
package/dist/types/Model.d.ts
CHANGED
|
@@ -107,6 +107,21 @@ export interface ModelTableColumnDefinition {
|
|
|
107
107
|
sortable?: boolean;
|
|
108
108
|
}
|
|
109
109
|
export interface ModelSchemaAttributes {
|
|
110
|
+
attributes: {
|
|
111
|
+
appended: true | null;
|
|
112
|
+
cast: string | null;
|
|
113
|
+
default: string | null;
|
|
114
|
+
fillable: boolean;
|
|
115
|
+
hidden: boolean;
|
|
116
|
+
increments: boolean;
|
|
117
|
+
name: string;
|
|
118
|
+
nullable: boolean;
|
|
119
|
+
phpType: string | null;
|
|
120
|
+
primary: boolean;
|
|
121
|
+
type: string | null;
|
|
122
|
+
unique: boolean;
|
|
123
|
+
virtual: boolean;
|
|
124
|
+
}[];
|
|
110
125
|
displayName: {
|
|
111
126
|
singular: string;
|
|
112
127
|
plural: string;
|
|
@@ -117,6 +132,7 @@ export interface ModelSchemaAttributes {
|
|
|
117
132
|
primaryKey: string;
|
|
118
133
|
timestamps: boolean;
|
|
119
134
|
labeledBy: string;
|
|
135
|
+
[key: string]: any;
|
|
120
136
|
}
|
|
121
137
|
export interface RelationMetaData {
|
|
122
138
|
model: string;
|