decord/source/modules/user_profile/experiments/BioMaxLengthExperiment.tsx

23 lines
1 KiB
TypeScript
Raw Normal View History

// Module ID: 8291
// Function ID: 8292
// Name: BioMaxLengthExperiment
// Dependencies: [1074, 1434, 2]
2026-08-11 06:20:06 +00:00
// Exports: getBioMaxLength, useBioMaxLength
// Module 8291 (BioMaxLengthExperiment)
import Constants from "Constants" /* 1074 */;
import ApexExperiment from "ApexExperiment" /* 1434 */;
import size from "module_2" /* 2 */;
2026-08-11 06:20:06 +00:00
({ BIO_MAX_LENGTH, BIO_MAX_LENGTH_INCREASED } = Constants);
const obj = { name: "2026-08-user-bio-max-length", kind: "user", defaultConfig: { maxLength: BIO_MAX_LENGTH }, variations: { 0: { maxLength: BIO_MAX_LENGTH }, 1: { maxLength: BIO_MAX_LENGTH_INCREASED } } };
let closure_0 = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/user_profile/experiments/BioMaxLengthExperiment.tsx");
2026-08-11 06:20:06 +00:00
export const useBioMaxLength = function useBioMaxLength(location) {
return closure_0.useConfig({ location: location.location }).maxLength;
};
export const getBioMaxLength = function getBioMaxLength(location) {
return closure_0.getConfig({ location: location.location }).maxLength;
};