chore: INput config to remove the transformer

This commit is contained in:
BluJ
2023-04-18 13:38:43 -06:00
parent af1f9b22bd
commit 397401e259
12 changed files with 211 additions and 318 deletions

View File

@@ -1,17 +1,8 @@
import { PackagePropertyString } from "../types";
export class PropertyString<X extends PackagePropertyString> {
private constructor(readonly data: X) {}
static of(value: {
description?: string;
value: string;
/** Let's the ui make this copyable button */
copyable?: boolean;
/** Let the ui create a qr for this field */
qr?: boolean;
/** Hiding the value unless toggled off for field */
masked?: boolean;
}) {
export class PropertyString {
private constructor(readonly data: PackagePropertyString) {}
static of(value: Omit<PackagePropertyString, "type" | "watch">) {
return new PropertyString({
...value,
type: "string",