diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/feeds/feed-format.enum.ts | 5 | ||||
-rw-r--r-- | shared/models/feeds/index.ts | 1 | ||||
-rw-r--r-- | shared/models/index.ts | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/feeds/feed-format.enum.ts b/shared/models/feeds/feed-format.enum.ts new file mode 100644 index 000000000..f3173a781 --- /dev/null +++ b/shared/models/feeds/feed-format.enum.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export enum FeedFormat { | ||
2 | RSS = 'xml', | ||
3 | ATOM = 'atom', | ||
4 | JSON = 'json' | ||
5 | } | ||
diff --git a/shared/models/feeds/index.ts b/shared/models/feeds/index.ts new file mode 100644 index 000000000..d56c8458c --- /dev/null +++ b/shared/models/feeds/index.ts | |||
@@ -0,0 +1 @@ | |||
export * from './feed-format.enum' | |||
diff --git a/shared/models/index.ts b/shared/models/index.ts index ae3a44777..95bc402d6 100644 --- a/shared/models/index.ts +++ b/shared/models/index.ts | |||
@@ -2,6 +2,7 @@ export * from './actors' | |||
2 | export * from './activitypub' | 2 | export * from './activitypub' |
3 | export * from './users' | 3 | export * from './users' |
4 | export * from './videos' | 4 | export * from './videos' |
5 | export * from './feeds' | ||
5 | export * from './server/job.model' | 6 | export * from './server/job.model' |
6 | export * from './oauth-client-local.model' | 7 | export * from './oauth-client-local.model' |
7 | export * from './result-list.model' | 8 | export * from './result-list.model' |