reelsort 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +203 -175
- package/dist/index.d.mts +16 -9
- package/dist/index.d.ts +16 -9
- package/dist/index.js +125 -104
- package/dist/index.mjs +119 -100
- package/package.json +2 -4
package/dist/index.d.mts
CHANGED
|
@@ -5,13 +5,18 @@ interface CleanOptions {
|
|
|
5
5
|
}
|
|
6
6
|
declare const clean: ({ dryRun, olderThan }: CleanOptions) => Promise<void>;
|
|
7
7
|
|
|
8
|
-
interface
|
|
9
|
-
|
|
10
|
-
value: string;
|
|
8
|
+
interface SourceAddOptions {
|
|
9
|
+
dir: string;
|
|
11
10
|
}
|
|
12
|
-
interface
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
interface SourceRemoveOptions {
|
|
12
|
+
dir: string;
|
|
13
|
+
}
|
|
14
|
+
interface DestAddOptions {
|
|
15
|
+
type: string;
|
|
16
|
+
dir: string;
|
|
17
|
+
}
|
|
18
|
+
interface DestRemoveOptions {
|
|
19
|
+
type: string;
|
|
15
20
|
}
|
|
16
21
|
interface ConfigSetOptions {
|
|
17
22
|
key: string;
|
|
@@ -21,8 +26,10 @@ interface ConfigSetOptions {
|
|
|
21
26
|
interface ConfigShowOptions {
|
|
22
27
|
[key: string]: unknown;
|
|
23
28
|
}
|
|
24
|
-
declare const
|
|
25
|
-
declare const
|
|
29
|
+
declare const sourceAdd: ({ dir }: SourceAddOptions) => Promise<void>;
|
|
30
|
+
declare const sourceRemove: ({ dir }: SourceRemoveOptions) => Promise<void>;
|
|
31
|
+
declare const destAdd: ({ type, dir }: DestAddOptions) => Promise<void>;
|
|
32
|
+
declare const destRemove: ({ type }: DestRemoveOptions) => Promise<void>;
|
|
26
33
|
declare const configSet: ({ key, subkey, value }: ConfigSetOptions) => Promise<void>;
|
|
27
34
|
declare const configShow: () => Promise<void>;
|
|
28
35
|
|
|
@@ -212,4 +219,4 @@ var videoExtensions = [
|
|
|
212
219
|
"yuv"
|
|
213
220
|
];
|
|
214
221
|
|
|
215
|
-
export { type CleanOptions, type
|
|
222
|
+
export { type CleanOptions, type ConfigSetOptions, type ConfigShowOptions, DEFAULT_EPISODE_FORMAT, DEFAULT_MOVIE_FORMAT, DEFAULT_SEASON_FORMAT, type DestAddOptions, type DestRemoveOptions, type DifferencesOptions, type HistoryOptions, type ImportMode, type ImportRecord, type ListOptions, type MediaInfoRecord, type ParsedMediaName, type ProbeOptions, type Quality, type ReelSortConfig, type RenameOptions, type RenameRecord, type RenameSession, type ResetOptions, type ScanOptions, type SourceAddOptions, type SourceRemoveOptions, type WatchOptions, clean, configSet, configShow, deleteImport, deleteSession, destAdd, destRemove, detectEdition, differences, formatEpisode, formatMovieName, formatSeasonFolder, getCleanableImports, getConfig, getHistory, getImportByDest, getLastSession, getMediaInfo, history, list, normalizeCodec, normalizeResolution, parseDownloadName, parseQuality, probe, recordImport, recordRename, rename, reset, saveConfig, scan, sourceAdd, sourceRemove, _default as titleCase, undo, upsertMediaInfo, videoExtensions, watch };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,13 +5,18 @@ interface CleanOptions {
|
|
|
5
5
|
}
|
|
6
6
|
declare const clean: ({ dryRun, olderThan }: CleanOptions) => Promise<void>;
|
|
7
7
|
|
|
8
|
-
interface
|
|
9
|
-
|
|
10
|
-
value: string;
|
|
8
|
+
interface SourceAddOptions {
|
|
9
|
+
dir: string;
|
|
11
10
|
}
|
|
12
|
-
interface
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
interface SourceRemoveOptions {
|
|
12
|
+
dir: string;
|
|
13
|
+
}
|
|
14
|
+
interface DestAddOptions {
|
|
15
|
+
type: string;
|
|
16
|
+
dir: string;
|
|
17
|
+
}
|
|
18
|
+
interface DestRemoveOptions {
|
|
19
|
+
type: string;
|
|
15
20
|
}
|
|
16
21
|
interface ConfigSetOptions {
|
|
17
22
|
key: string;
|
|
@@ -21,8 +26,10 @@ interface ConfigSetOptions {
|
|
|
21
26
|
interface ConfigShowOptions {
|
|
22
27
|
[key: string]: unknown;
|
|
23
28
|
}
|
|
24
|
-
declare const
|
|
25
|
-
declare const
|
|
29
|
+
declare const sourceAdd: ({ dir }: SourceAddOptions) => Promise<void>;
|
|
30
|
+
declare const sourceRemove: ({ dir }: SourceRemoveOptions) => Promise<void>;
|
|
31
|
+
declare const destAdd: ({ type, dir }: DestAddOptions) => Promise<void>;
|
|
32
|
+
declare const destRemove: ({ type }: DestRemoveOptions) => Promise<void>;
|
|
26
33
|
declare const configSet: ({ key, subkey, value }: ConfigSetOptions) => Promise<void>;
|
|
27
34
|
declare const configShow: () => Promise<void>;
|
|
28
35
|
|
|
@@ -212,4 +219,4 @@ var videoExtensions = [
|
|
|
212
219
|
"yuv"
|
|
213
220
|
];
|
|
214
221
|
|
|
215
|
-
export { type CleanOptions, type
|
|
222
|
+
export { type CleanOptions, type ConfigSetOptions, type ConfigShowOptions, DEFAULT_EPISODE_FORMAT, DEFAULT_MOVIE_FORMAT, DEFAULT_SEASON_FORMAT, type DestAddOptions, type DestRemoveOptions, type DifferencesOptions, type HistoryOptions, type ImportMode, type ImportRecord, type ListOptions, type MediaInfoRecord, type ParsedMediaName, type ProbeOptions, type Quality, type ReelSortConfig, type RenameOptions, type RenameRecord, type RenameSession, type ResetOptions, type ScanOptions, type SourceAddOptions, type SourceRemoveOptions, type WatchOptions, clean, configSet, configShow, deleteImport, deleteSession, destAdd, destRemove, detectEdition, differences, formatEpisode, formatMovieName, formatSeasonFolder, getCleanableImports, getConfig, getHistory, getImportByDest, getLastSession, getMediaInfo, history, list, normalizeCodec, normalizeResolution, parseDownloadName, parseQuality, probe, recordImport, recordRename, rename, reset, saveConfig, scan, sourceAdd, sourceRemove, _default as titleCase, undo, upsertMediaInfo, videoExtensions, watch };
|