Skip to content

Commit

Permalink
rename to tsx and remove required
Browse files Browse the repository at this point in the history
  • Loading branch information
leifriksheim committed Dec 15, 2023
1 parent 9fc427c commit eb3b9d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
subjectCollection,
subjectFlag,
} from "@coasys/ad4m";
import Message from "../message";

const { BODY, END_DATE, IMAGE, START_DATE, TITLE, URL, ENTRY_TYPE } = community;
const { FILE_STORAGE_LANGUAGE } = languages;
Expand All @@ -23,7 +24,6 @@ export class Post {
@subjectProperty({
through: TITLE,
writable: true,
required: true,
resolveLanguage: "literal",
})
title: string;
Expand Down Expand Up @@ -51,7 +51,7 @@ export class Post {
@subjectCollection({
through: "ad4m://has_child",
where: {
condition: `subject_class("Message", Class), instance(Class, Target)`,
isInstance: Message,
},
})
comments: string[] = [];
Expand Down

0 comments on commit eb3b9d2

Please sign in to comment.