@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
11 lines • 567 B
JavaScript
import { DiscordConfig as DiscordCredentialsSchema } from "../../core/discord/config.js";
import { orderedTimes, timeRangeOrderError, timeRangeShape } from "../../core/time_config.js";
/**
* A Discord mount: the CLI's credentials plus the mount's time scope. The CLI
* keeps the credentials schema, so installing it with start_time/end_time
* is refused rather than accepted and never applied.
*/
export const DiscordConfig = DiscordCredentialsSchema.extend({
...timeRangeShape,
}).refine(orderedTimes, timeRangeOrderError);
//# sourceMappingURL=config.js.map