UNPKG
@konnec/vue-eloquent-v2
Version:
latest (0.0.3)
0.0.3
0.0.2
An interface for Vue and Laravel Eloquent through API
vue-eloquent.netlify.app
cimd/vue-eloquent-v2
@konnec/vue-eloquent-v2
/
dist
/
src
/
model
/
Model.d.ts
12 lines
(11 loc)
•
306 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
default
abstract
class
Model
<
T
> {
protected
factory
(
model: T
):
void
;
protected
casts
():
{ created_at:
string
; updated_at:
string
; deleted_at:
string
; };
private
hasCast;
private
getCast;
protected
castTo
(
cast:
string
, key:
string
,
value
: any
): any
; }