-
Notifications
You must be signed in to change notification settings - Fork 9
Resource.nucleus
Sebastien Filion edited this page Jun 14, 2018
·
2 revisions
Kind: global class
Creates a Nucleus Resource.
Param | Type | Default | Description |
---|---|---|---|
resourceType | String |
Undefined |
|
{Object | resourceStructure | ||
resourceAttributes | Object |
||
resourceMeta | Object |
||
authorUserID | String |
Example
const $resource = new NucleusResource();
Generates an attribute proxy, it will ensure that any property gets stringify as JSON.
Kind: static method of NucleusResource
Param | Type |
---|---|
object | Object |
Kind: global typedef
Properties
Name | Type |
---|---|
ID | String |
meta | Object |
meta.createdISOTime | String |
[meta.modifiedISOTime] | String |
[meta.originUserID] | String |
Creates a Nucleus Resource.
Param | Type | Default | Description |
---|---|---|---|
resourceType | String |
Undefined |
|
{Object | resourceStructure | ||
resourceAttributes | Object |
||
resourceMeta | Object |
||
authorUserID | String |
Example
const $resource = new NucleusResource();
Generates an attribute proxy, it will ensure that any property gets stringify as JSON.
Kind: static method of NucleusResource
Param | Type |
---|---|
object | Object |