You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
import { Collection, FieldTypes, Policies } from "sealious";
|
|
import TheApp from "../app";
|
|
const { Ipsum } = require("ipsum");
|
|
|
|
export default class Posts extends Collection {
|
|
fields = {
|
|
title: new FieldTypes.Text(),
|
|
description: new FieldTypes.Text(),
|
|
};
|
|
defaultPolicy = new Policies.Public();
|
|
}
|