Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996614
responses.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
615 B
Referenced Files
None
Subscribers
None
responses.js
View Options
"use strict"
;
const
SealiousResponses
=
{};
SealiousResponses
.
NewSession
=
function
(
session_id
)
{
this
.
status
=
"success"
;
this
.
message
=
"Logged in!"
;
Object
.
defineProperty
(
this
,
"metadata"
,
{
value
:
{
session_id
:
session_id
},
});
this
.
data
=
{};
};
SealiousResponses
.
ResourceCreated
=
function
(
resource_representation
)
{
for
(
const
i
in
resource_representation
)
{
this
[
i
]
=
resource_representation
[
i
];
}
};
SealiousResponses
.
CollectionResponse
=
require
(
"./collection-response.js"
);
SealiousResponses
.
SingleItemResponse
=
require
(
"./single-item-response.js"
);
module
.
exports
=
SealiousResponses
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 14:06 (41 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557342
Default Alt Text
responses.js (615 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment