Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10352626
shared.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
shared.ts
View Options
import
{
Controls
,
Fields
}
from
"@sealcode/sealgen"
;
import
{
Pages
}
from
"../../../collections/collections.js"
;
import
{
imageRouter
}
from
"../../../image-router.js"
;
import
{
TheFileManager
}
from
"../../../file-manager.js"
;
export
const
PagesFormFields
=
<
const
>
{
url
:
new
Fields
.
CollectionField
(
Pages
.
fields
.
url
.
required
,
Pages
.
fields
.
url
),
domain
:
new
Fields
.
CollectionField
(
Pages
.
fields
.
domain
.
required
,
Pages
.
fields
.
domain
),
title
:
new
Fields
.
CollectionField
(
Pages
.
fields
.
title
.
required
,
Pages
.
fields
.
title
),
heading
:
new
Fields
.
CollectionField
(
Pages
.
fields
.
heading
.
required
,
Pages
.
fields
.
heading
),
description
:
new
Fields
.
CollectionField
(
Pages
.
fields
.
description
.
required
,
Pages
.
fields
.
description
),
imageForMetadata
:
new
Fields
.
File
(
false
,
TheFileManager
),
hideNavigation
:
new
Fields
.
Boolean
(
Pages
.
fields
.
hideNavigation
.
required
),
};
export
const
PagesFormControls
=
[
new
Controls
.
SimpleInput
(
PagesFormFields
.
url
,
{
label
:
"url"
}),
new
Controls
.
SimpleInput
(
PagesFormFields
.
domain
,
{
label
:
"domain"
}),
new
Controls
.
SimpleInput
(
PagesFormFields
.
title
,
{
label
:
"title"
}),
new
Controls
.
SimpleInput
(
PagesFormFields
.
heading
,
{
label
:
"heading"
}),
new
Controls
.
SimpleInput
(
PagesFormFields
.
description
,
{
label
:
"description"
}),
new
Controls
.
Photo
(
PagesFormFields
.
imageForMetadata
,
imageRouter
,
{
label
:
"imageForMetadata"
,
}),
new
Controls
.
Checkbox
(
PagesFormFields
.
hideNavigation
,
{
label
:
"hideNavigation"
}),
];
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sun, Nov 2, 17:31 (14 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1030461
Default Alt Text
shared.ts (1 KB)
Attached To
Mode
rAPROXY Assetproxy
Attached
Detach File
Event Timeline
Log In to Comment