init commit
This commit is contained in:
30
remotion/node_modules/@remotion/renderer/dist/options/ask-ai.js
generated
vendored
Normal file
30
remotion/node_modules/@remotion/renderer/dist/options/ask-ai.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.askAIOption = void 0;
|
||||
const jsx_runtime_1 = require("react/jsx-runtime");
|
||||
let askAIEnabled = true;
|
||||
const cliFlag = 'disable-ask-ai';
|
||||
exports.askAIOption = {
|
||||
name: 'Disable or Enable the Ask AI option',
|
||||
cliFlag,
|
||||
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "If the Cmd + I shortcut of the Ask AI modal conflicts with your Studio, you can disable it using this." })),
|
||||
ssrName: null,
|
||||
docLink: 'https://www.remotion.dev/docs/config#setaskaienabled',
|
||||
type: false,
|
||||
getValue: ({ commandLine }) => {
|
||||
if (commandLine[cliFlag] !== undefined) {
|
||||
askAIEnabled = false;
|
||||
return {
|
||||
value: askAIEnabled,
|
||||
source: 'cli',
|
||||
};
|
||||
}
|
||||
return {
|
||||
value: askAIEnabled,
|
||||
source: 'config',
|
||||
};
|
||||
},
|
||||
setConfig(value) {
|
||||
askAIEnabled = value;
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user