Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
74d8d3a
Create TimelineEntryFollow.yaml
AllieJonsson Dec 1, 2024
71fbb1f
Create TimelineEntryTeamJoin
AllieJonsson Dec 1, 2024
d49976d
Create TimelineEntryTeamCreate.yaml
AllieJonsson Dec 1, 2024
92ebfe7
Create TimelineEntryForumPost.yaml
AllieJonsson Dec 1, 2024
e4c6098
Create TimelineEntryBlogPost.yaml
AllieJonsson Dec 1, 2024
5c1d1bc
Create TimelineEntryUblogPost.yaml
AllieJonsson Dec 1, 2024
6013f9b
Create TimelineEntryTourJoin.yaml
AllieJonsson Dec 1, 2024
5957a9e
Create TimelineEntryGameEnd.yaml
AllieJonsson Dec 1, 2024
4a3a889
Create TimelineEntrySimul.yaml
AllieJonsson Dec 1, 2024
10de24a
Create TimelineEntryStudyLike.yaml
AllieJonsson Dec 1, 2024
b1a59ed
Create TimelineEntryPlanStart.yaml
AllieJonsson Dec 1, 2024
2c3de7d
Create TimelineEntryPlanRenew.yaml
AllieJonsson Dec 1, 2024
5d6a88d
Update TimelineEntryBlogPost.yaml
AllieJonsson Dec 1, 2024
00ec891
Update TimelineEntryFollow.yaml
AllieJonsson Dec 1, 2024
fdd4ee6
Update TimelineEntryForumPost.yaml
AllieJonsson Dec 1, 2024
4d677e2
Update TimelineEntryGameEnd.yaml
AllieJonsson Dec 1, 2024
234e4ff
Update TimelineEntryPlanStart.yaml
AllieJonsson Dec 1, 2024
e368937
Update TimelineEntrySimul.yaml
AllieJonsson Dec 1, 2024
599811c
Update TimelineEntryStudyLike.yaml
AllieJonsson Dec 1, 2024
c30c496
Update TimelineEntryTeamCreate.yaml
AllieJonsson Dec 1, 2024
a79057a
Rename TimelineEntryTeamJoin to TimelineEntryTeamJoin.yaml
AllieJonsson Dec 1, 2024
4e41e55
Update TimelineEntryTourJoin.yaml
AllieJonsson Dec 1, 2024
e5cefa4
Update TimelineEntryUblogPost.yaml
AllieJonsson Dec 1, 2024
000bde6
Create TimelineEntryUblogLike.yaml
AllieJonsson Dec 1, 2024
d7f7744
Create TimelineEntryStreamStart.yaml
AllieJonsson Dec 1, 2024
c468f20
Update Timeline.yaml
AllieJonsson Dec 1, 2024
2dca48a
Rename TimelineEntryUblogLike.yaml to TimelineEntryUblogPostLike.yaml
AllieJonsson Dec 1, 2024
35b3d04
Update Timeline.yaml
AllieJonsson Dec 1, 2024
96426e4
Update TimelineEntryFollow.yaml
AllieJonsson Dec 1, 2024
3813b2c
Update TimelineEntryTeamJoin.yaml
AllieJonsson Dec 1, 2024
49fe4b9
Update TimelineEntryFollow.yaml
AllieJonsson Dec 1, 2024
8a0835c
Update TimelineEntryTeamJoin.yaml
AllieJonsson Dec 1, 2024
f848c65
Update TimelineEntryUblogPostLike.yaml
AllieJonsson Dec 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
371 changes: 33 additions & 338 deletions doc/specs/schemas/Timeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,346 +4,38 @@ properties:
type: array
items:
anyOf:
- type: object
properties:
type:
type: string
enum:
- follow
date:
type: number
data:
type: object
properties:
u1:
type: string
u2:
type: string
required:
- u1
- u2
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- team-join
date:
type: number
data:
type: object
properties:
userId:
type: string
teamId:
type: string
required:
- userId
- teamId
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- team-create
date:
type: number
data:
type: object
properties:
userId:
type: string
teamId:
type: string
required:
- userId
- teamId
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- forum-post
date:
type: number
data:
type: object
properties:
userId:
type: string
topicId:
type: string
topicName:
type: string
postId:
type: string
required:
- userId
- topicId
- topicName
- postId
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- blog-post
date:
type: number
data:
type: object
properties:
id:
type: string
slug:
type: string
title:
type: string
required:
- id
- slug
- title
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- ublog-post
date:
type: number
data:
type: object
properties:
userId:
type: string
id:
type: string
slug:
type: string
title:
type: string
required:
- userId
- id
- slug
- title
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- tour-join
date:
type: number
data:
type: object
properties:
userId:
type: string
tourId:
type: string
tourName:
type: string
required:
- userId
- tourId
- tourName
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- game-end
date:
type: number
data:
type: object
properties:
fullId:
type: string
opponent:
type: string
win:
type: boolean
perf:
$ref: './PerfType.yaml'
required:
- fullId
- opponent
- win
- perf
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- simul-create
- simul-join
date:
type: number
data:
type: object
properties:
userId:
type: string
simulId:
type: string
simulName:
type: string
required:
- userId
- simulId
- simulName
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- study-like
date:
type: number
data:
type: object
properties:
userId:
type: string
studyId:
type: string
studyName:
type: string
required:
- userId
- studyId
- studyName
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- plan-start
date:
type: number
data:
type: object
properties:
userId:
type: string
required:
- userId
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- plan-renew
date:
type: number
data:
type: object
properties:
userId:
type: string
months:
type: number
required:
- userId
- months
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- ublog-post-like
date:
type: number
data:
type: object
properties:
userId:
type: string
id:
type: string
title:
type: string
required:
- userId
- id
- title
required:
- type
- date
- data
- type: object
properties:
type:
type: string
enum:
- stream-start
date:
type: number
data:
type: object
properties:
id:
type: string
name:
type: string
required:
- id
required:
- type
- date
- data
- $ref: './TimelineEntryFollow.yaml'
- $ref: './TimelineEntryTeamJoin.yaml'
- $ref: './TimelineEntryTeamCreate.yaml'
- $ref: './TimelineEntryForumPost.yaml'
- $ref: './TimelineEntryBlogPost.yaml'
- $ref: './TimelineEntryUblogPost.yaml'
- $ref: './TimelineEntryTourJoin.yaml'
- $ref: './TimelineEntryGameEnd.yaml'
- $ref: './TimelineEntrySimul.yaml'
- $ref: './TimelineEntryStudyLike.yaml'
- $ref: './TimelineEntryPlanStart.yaml'
- $ref: './TimelineEntryPlanRenew.yaml'
- $ref: './TimelineEntryUblogPostLike.yaml'
- $ref: './TimelineEntryStreamStart.yaml'
discriminator:
propertyName: type
mapping:
follow: './TimelineEntryFollow.yaml'
team-join: './TimelineEntryTeamJoin.yaml'
team-create: './TimelineEntryTeamCreate.yaml'
forum-post: './TimelineEntryForumPost.yaml'
blog-post: './TimelineEntryBlogPost.yaml'
ublog-post: './TimelineEntryUblogPost.yaml'
tour-join: './TimelineEntryTourJoin.yaml'
game-end: './TimelineEntryGameEnd.yaml'
simul-create: './TimelineEntrySimul.yaml'
simul-join: './TimelineEntrySimul.yaml'
study-like: './TimelineEntryStudyLike.yaml'
plan-start: './TimelineEntryPlanStart.yaml'
plan-renew: './TimelineEntryPlanRenew.yaml'
ublog-post-like: './TimelineEntryUblogPostLike.yaml'
stream-start: './TimelineEntryStreamStart.yaml'
users:
type: object
additionalProperties:
Expand All @@ -360,6 +52,9 @@ properties:
required:
- id
- name
required:
- entries
- users
example:
{
'entries':
Expand Down
Loading