deploy: v0.12 fix 存档key名

This commit is contained in:
2026-06-24 03:09:02 +00:00
parent 7a08d49fe3
commit e0a5281119
58743 changed files with 7297269 additions and 39505 deletions
+18
View File
@@ -0,0 +1,18 @@
import { buildSchedulerFor } from './_internals/helpers/BuildSchedulerFor.js';
import { SchedulerArbitrary } from './_internals/SchedulerArbitrary.js';
export function scheduler(constraints) {
const { act = (f) => f() } = constraints || {};
return new SchedulerArbitrary(act);
}
function schedulerFor(customOrderingOrConstraints, constraintsOrUndefined) {
const { act = (f) => f() } = Array.isArray(customOrderingOrConstraints)
? constraintsOrUndefined || {}
: customOrderingOrConstraints || {};
if (Array.isArray(customOrderingOrConstraints)) {
return buildSchedulerFor(act, customOrderingOrConstraints);
}
return function (_strs, ...ordering) {
return buildSchedulerFor(act, ordering);
};
}
export { schedulerFor };