Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7188014
types.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
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
Tue, Jul 8, 07:50 (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
807665
Default Alt Text
types.ts (1 KB)
Attached To
Mode
rCOS Cosealious
Attached
Detach File
Event Timeline
Log In to Comment