Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996629
redirects.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
436 B
Referenced Files
None
Subscribers
None
redirects.ts
View Options
import
{
Collection
,
FieldTypes
,
Policies
}
from
"sealious"
;
import
{
CRUDRoles
,
Roles
}
from
"../policy-types/roles.js"
;
export
default
class
Redirects
extends
Collection
{
fields
=
{
from_url
:
new
FieldTypes
.
Text
().
setRequired
(
true
),
to_url
:
new
FieldTypes
.
Text
().
setRequired
(
true
),
type
:
new
FieldTypes
.
Enum
([
"301"
,
"302"
]).
setRequired
(
true
),
};
policies
=
CRUDRoles
([
"quick-filters"
],
{
show
:
new
Policies
.
Public
()
});
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Dec 24, 14:06 (50 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556471
Default Alt Text
redirects.ts (436 B)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment