Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7112999
pages.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
591 B
Referenced Files
None
Subscribers
None
pages.ts
View Options
import
{
Collection
,
FieldTypes
,
Policies
}
from
"sealious"
;
import
{
CRUDRoles
}
from
"../policy-types/roles.js"
;
export
default
class
Pages
extends
Collection
{
fields
=
{
url
:
new
FieldTypes
.
Text
().
setRequired
(
true
),
content
:
new
FieldTypes
.
JDD
().
setRequired
(
true
),
domain
:
new
FieldTypes
.
Text
(),
title
:
new
FieldTypes
.
Text
(),
heading
:
new
FieldTypes
.
Text
(),
description
:
new
FieldTypes
.
Text
(),
imageForMetadata
:
new
FieldTypes
.
Image
().
setRequired
(
true
),
hideNavigation
:
new
FieldTypes
.
Boolean
(),
};
policies
=
CRUDRoles
([
"pages"
],
{
show
:
new
Policies
.
Public
()
});
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jul 4, 08:32 (5 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
799858
Default Alt Text
pages.ts (591 B)
Attached To
Mode
rPLAY Sealious playground
Attached
Detach File
Event Timeline
Log In to Comment