Redo folder structure

This commit is contained in:
mrjvs
2023-12-29 17:05:01 +01:00
parent 030b512c43
commit 2d68d443ec
26 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
# `ProviderControls.listSources`
List all source scrapers that applicable for the target.
They are sorted by rank, highest first
## Example
```ts
const sourceScrapers = providers.listSources();
// Guaranteed to only return type: 'source'
```
## Type
```ts
function listSources(): MetaOutput[];
type MetaOutput = {
type: 'embed' | 'source';
id: string;
rank: number;
name: string;
mediaTypes?: Array<MediaTypes>;
};
```