@payfit/unity-components
Version:
20 lines (19 loc) • 331 B
JavaScript
//#region src/adapters/standardSchemaAdapter.ts
var e = class {
constructor(e) {
this.standardSchema = e;
}
getField(e) {
try {
return this.standardSchema ? {
isOptional: !1,
type: "unknown",
shape: void 0
} : null;
} catch {
return null;
}
}
};
//#endregion
export { e as StandardSchemaAdapter };