Documentation / @expofp/schema / OptionsSchema
Variable: OptionsSchema
ts
const OptionsSchema: ZodObject<{
allowConsent: ZodOptional<ZodBoolean>;
consent: ZodOptional<ZodEnum<{
ask: "ask";
denied: "denied";
granted: "granted";
}>>;
disableRuntimeAlerts: ZodOptional<ZodBoolean>;
ignoreQuery: ZodOptional<ZodBoolean>;
maplibre: ZodOptional<ZodObject<{
offline: ZodOptional<ZodBoolean>;
style: ZodOptional<ZodAny>;
styleUrl: ZodOptional<ZodString>;
}, $loose>>;
noOverlay: ZodOptional<ZodBoolean>;
offHistory: ZodOptional<ZodBoolean>;
previewMode: ZodOptional<ZodBoolean>;
viewerMode: ZodOptional<ZodBoolean>;
}, $strip>;Caller-supplied overrides — the config fields a host may set when embedding the floor plan (load(manifest, options)). Deliberately EXPLICIT (a pick, not ConfigSchema.partial()): the expo data proper — booths, exhibitors, branding, feature flags — comes from the manifest / data.js, so loadConfig parses the options layer and strips anything outside this set. allowConsent is the deprecated alias for consent.