Add .gitignore to exclude all node packages and lock files
This commit is contained in:
Generated
Vendored
+34
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.isAudioStructure = void 0;
|
||||
const isAudioStructure = (structure) => {
|
||||
if (structure.type === 'mp3') {
|
||||
return true;
|
||||
}
|
||||
if (structure.type === 'wav') {
|
||||
return true;
|
||||
}
|
||||
if (structure.type === 'aac') {
|
||||
return true;
|
||||
}
|
||||
if (structure.type === 'flac') {
|
||||
return true;
|
||||
}
|
||||
if (structure.type === 'iso-base-media') {
|
||||
return false;
|
||||
}
|
||||
if (structure.type === 'matroska') {
|
||||
return false;
|
||||
}
|
||||
if (structure.type === 'transport-stream') {
|
||||
return false;
|
||||
}
|
||||
if (structure.type === 'riff') {
|
||||
return false;
|
||||
}
|
||||
if (structure.type === 'm3u') {
|
||||
return false;
|
||||
}
|
||||
throw new Error(`Unhandled structure type: ${structure}`);
|
||||
};
|
||||
exports.isAudioStructure = isAudioStructure;
|
||||
Reference in New Issue
Block a user