Skip to content

Commit

Permalink
Add Log Format
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 15, 2024
1 parent 50fb587 commit 90d51aa
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 149 deletions.
4 changes: 2 additions & 2 deletions api/lib/api/mission-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export const MissionLog = Type.Object({
dtg: Type.Optional(Type.String()),
created: Type.String(),
contentHashes: Type.Array(Type.Unknown()),
keywords: Type.Array(Type.Unknown())
keywords: Type.Array(Type.String())
});

export const CreateMissionLog = Type.Object({
content: Type.String(),
creatorUid: Type.String(),
contentHashes: Type.Optional(Type.Array(Type.Unknown())),
keywords: Type.Optional(Type.Array(Type.Unknown()))
keywords: Type.Optional(Type.Array(Type.String()))
});

export const UpdateMissionLog = Type.Composite([ CreateMissionLog, Type.Object({
Expand Down
102 changes: 51 additions & 51 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 90d51aa

Please sign in to comment.