diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-24 18:13:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-24 18:13:11 +0900 |
| commit | fcc6a65e08e502fb11e9603aabfa237dd82d4b25 (patch) | |
| tree | c53279a8e00ec6da552a8d3ed5f534d972a7511f /src/server/api/endpoints/drive/stream.ts | |
| parent | ハイフンに統一 (diff) | |
| download | sharkey-fcc6a65e08e502fb11e9603aabfa237dd82d4b25.tar.gz sharkey-fcc6a65e08e502fb11e9603aabfa237dd82d4b25.tar.bz2 sharkey-fcc6a65e08e502fb11e9603aabfa237dd82d4b25.zip | |
Improve doc
Diffstat (limited to 'src/server/api/endpoints/drive/stream.ts')
| -rw-r--r-- | src/server/api/endpoints/drive/stream.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/server/api/endpoints/drive/stream.ts b/src/server/api/endpoints/drive/stream.ts index f6586a8523..916482be4d 100644 --- a/src/server/api/endpoints/drive/stream.ts +++ b/src/server/api/endpoints/drive/stream.ts @@ -29,7 +29,14 @@ export const meta = { type: { validator: $.optional.str.match(/^[a-zA-Z\/\-\*]+$/) } - } + }, + + res: { + type: 'array', + items: { + type: 'DriveFile', + }, + }, }; export default define(meta, async (ps, user) => { |