Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996427
page.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
589 B
Referenced Files
None
Subscribers
None
page.ts
View Options
import
{
Collection
,
FieldTypes
,
Policies
}
from
"sealious"
;
import
{
CRUDRoles
}
from
"../policy-types/roles.js"
;
export
default
class
Page
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
([
"page"
],
{
show
:
new
Policies
.
Public
()
});
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Dec 24, 14:03 (10 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556688
Default Alt Text
page.ts (589 B)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment