Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22406230
types.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
types.ts
View Options
type
AttachmentsResponse
=
{
[
id
:
string
]
:
SealiousItem
;
};
export
type
Comparator
=
">="
|
"<="
|
"from"
|
"to"
;
export
type
ComplexFilterParam
<
FieldType
>
=
{
[
key
in
Comparator
]
?:
FieldType
};
export
type
SingleResourceParams
<
ItemFields
>
=
{
filter
?:
{
[
field
in
keyof
ItemFields
]
?:
|
ItemFields
[
field
]
|
ComplexFilterParam
<
ItemFields
[
field
]
>
;
};
attachments
?:
{
[
field
in
keyof
ItemFields
]
?:
true
};
sort
?:
any
;
};
export
interface
SealiousItem
{
_metadata
:
{
collection
:
string
;
collection_name
:
string
;
created_context
:
{};
};
calculated_fields
:
{};
id
:
string
;
attachments
:
AttachmentsResponse
;
}
export
interface
SealiousSingleResourceResponse
<
Fields
>
{
item
:
Fields
&
SealiousItem
;
attachments
:
{
[
id
:
string
]
:
SealiousItem
};
fieldsWithAttachments
:
{};
}
export
type
SealiousUserRoleItem
=
SealiousItem
&
{
role
:
string
;
user
:
string
;
};
export
type
SealiousCollectionResponse
<
T
extends
SealiousItem
=
SealiousItem
>
=
{
items
:
T
[];
attachments
:
AttachmentsResponse
;
fieldsWithAttachments
:
{};
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 27, 20:14 (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1229314
Default Alt Text
types.ts (1 KB)
Attached To
Mode
rCOS Cosealious
Attached
Detach File
Event Timeline