@vnodes/ctc
Preparing search index...
AddressController
Class AddressController
Hierarchy
BaseAddressController
AddressController
Index
Constructors
constructor
Properties
service
Methods
create
One
delete
One
By
Id
find
Many
find
One
By
Id
update
One
By
Id
Constructors
constructor
new
AddressController
(
service
:
AddressService
)
:
AddressController
Parameters
service
:
AddressService
Returns
AddressController
Properties
Protected
Readonly
service
service
:
BaseAddressService
Methods
create
One
createOne
(
data
:
AddressCreateInput
,
)
:
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
,
>
Parameters
data
:
AddressCreateInput
Returns
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
,
>
delete
One
By
Id
deleteOneById
(
id
:
string
,
)
:
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
,
>
Parameters
id
:
string
Returns
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
,
>
find
Many
findMany
(
query
:
QueryMany
,
)
:
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
[]
,
>
Parameters
query
:
QueryMany
Returns
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
[]
,
>
find
One
By
Id
findOneById
(
id
:
string
,
)
:
Promise
<
|
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
|
null
,
>
Parameters
id
:
string
Returns
Promise
<
|
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
|
null
,
>
update
One
By
Id
updateOneById
(
id
:
string
,
data
:
AddressUpdateInput
,
)
:
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
,
>
Parameters
id
:
string
data
:
AddressUpdateInput
Returns
Promise
<
{
city
:
string
;
contactType
:
ContactType
;
country
:
string
|
null
;
createdAt
:
Date
;
deletedAt
:
Date
|
null
;
id
:
number
;
notes
:
string
|
null
;
profileId
:
number
|
null
;
province
:
string
|
null
;
state
:
string
|
null
;
street
:
string
;
unit
:
string
|
null
;
updatedAt
:
Date
;
zip
:
string
|
null
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
service
Methods
create
One
delete
One
By
Id
find
Many
find
One
By
Id
update
One
By
Id
@vnodes/ctc
Loading...