diff options
author | Chocobozzz <me@florianbigard.com> | 2023-08-17 08:59:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-08-17 08:59:21 +0200 |
commit | c380e3928517eb5311b38cf257816642617d7a33 (patch) | |
tree | 2ea9b70ebca16b5d109bcce98fe7f944dad89319 /packages/models/src/feeds | |
parent | a8ca6190fb462bf6eb5685cfc1d8ae444164a487 (diff) | |
parent | 3a4992633ee62d5edfbb484d9c6bcb3cf158489d (diff) | |
download | PeerTube-c380e3928517eb5311b38cf257816642617d7a33.tar.gz PeerTube-c380e3928517eb5311b38cf257816642617d7a33.tar.zst PeerTube-c380e3928517eb5311b38cf257816642617d7a33.zip |
Merge branch 'feature/esm-and-nx' into develop
Diffstat (limited to 'packages/models/src/feeds')
-rw-r--r-- | packages/models/src/feeds/feed-format.enum.ts | 7 | ||||
-rw-r--r-- | packages/models/src/feeds/index.ts | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/packages/models/src/feeds/feed-format.enum.ts b/packages/models/src/feeds/feed-format.enum.ts new file mode 100644 index 000000000..71f2f6c15 --- /dev/null +++ b/packages/models/src/feeds/feed-format.enum.ts | |||
@@ -0,0 +1,7 @@ | |||
1 | export const FeedFormat = { | ||
2 | RSS: 'xml', | ||
3 | ATOM: 'atom', | ||
4 | JSON: 'json' | ||
5 | } as const | ||
6 | |||
7 | export type FeedFormatType = typeof FeedFormat[keyof typeof FeedFormat] | ||
diff --git a/packages/models/src/feeds/index.ts b/packages/models/src/feeds/index.ts new file mode 100644 index 000000000..1eda1d6c3 --- /dev/null +++ b/packages/models/src/feeds/index.ts | |||
@@ -0,0 +1 @@ | |||
export * from './feed-format.enum.js' | |||